2yup Drifting Prayer Bottle Everybody do it Together (I.)

Source: Internet
Author: User
Tags exit functions header interface modify
February 18, 2003 2:49:48 (1)
'******************'******************************************************
"2yup Drifting Prayer bottle Everyone do together" (i)

I saw the eldest brother Xmxoxo's article very admire, not only admire his professional, more admire him not to retain the dedication and enthusiasm. Well, flattery will not be spoken. I hope the bottle will be based on the boss of "How to start an ASP website design" methods and ideas to complete, there are wrong places to want brothers and sisters, especially the eldest can give corrections and help.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hope you don't forget to come together! A question is brought forward; a rating; a good cheer.
Do not say the bad also don't be lonely, feel want to revise please feel free; need to ask clear, everybody answers,
All of it is expensive to participate, as long as everyone and I think like, we have to do some of these
Activities, learn from each other to help, so that we can become good friends and can really learn things.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(i) Functions and requirements
1 Single user version.
2 passwords, admin names, and the number of display per page are set directly in the page without using the database.
3 users can leave their own content of the prayer and view all the prayer details at will.
4 record the name, age, Region, mailbox, sex, purpose, and content of the wisher.
5 can be displayed in pagination.
6 can search according to different conditions, the search page movement slowed down regularly.
7 has n a small list of times in reverse order to make it easier to see the last prayer.
8 Validate data Using ASP.
9 necessary error prompts.
10 The administrator can modify and delete the content of the prayer, and you can see the ID number.
11 has exit management settings.
12 The administrator clicks the number without clicking.
13 Database using Access
14 The parameters required for customization are:
--------------------------------------------------
Number of display per page, number of sides list, Admin user name, admin password,
Web page name, home page URL, home page name, picture and database file path,
Bottle flow rate when managing or searching
--------------------------------------------------
Additional features: Both sides of the link settings.

(ii) Site database
1. Data table: Wishboard.mdb
2, the single table, the structure is as follows:
[Field name] Type Length Other Description
The Name text 25 does not allow NULL/primary keys the praying person
Sex text 10 does not allow null value sex
Birthday time does not allow null values birthdays
Purpose text 10 does not allow null value purposes
Mail text 100 does not allow null mailboxes
Live text 10 does not allow null-value regions
Content comments do not allow null values
Date time now () time
Hit integral type no decimal clicks
Pass Brin true/allows null-value temporary switches

(iii) document design of the site
1, inc.asp related functions and constants, including open database functions, open Table functions, age conversion and so on.
2, top.htm page header information (because only index.asp apply, so merged in Index.asp)
3, bottom.htm footer information (because only index.asp apply, so merged in Index.asp)
4, index.asp Prayer bottle homepage. Including the display of bottles, admin login, modify parameters.
5, Main.css css file (because only index.asp apply, so merged in Index.asp)
6, Pic folder, save avatar, database and other pictures

File Integration Description:
Since 1, 2, 3, and 5 files are only index.asp applied, they are merged into index.asp with a pair of programs and functions.
The actual files are only:
1, index.asp
2, Pic folder

(iv) page design of the site
Here is a list of the general designs for Index.asp, as follows:

'=======================================================
<%
' Drop setting area
' Parameter Processing Section
Logout () 11
Login2 9
Delwish () 10
%>
<!-CSS-!>
<title><%=pageName%></title>
<body>
<!-js-!>
<%
Top () 13
______________________________________________________
|explain () 12 | Pageset () 5 searchengine () 6| SearchList () 7|
| |___________________________| |
| | Wish () 1 | |
| | Savewish () 2 | |
| | Viewdetail () 4 | |
| |login1 () 8 | |
| Mylinks (L) 15| Viewwish () 3 | Mylinks (R) 15|
|____________|___________________________|_____________|

Bottom () 14
%>
</body>

<%
[Chinese name] [English name] Number
' Pray input and modify interface program wish () 1
' Save the Prayer Assistant Program Savewish () 2
' Show the Prayer Assistant Program Viewwish () ' 3
' View Details Deputy program Viewdetail () 4
' Flip-through Setup pageset () 5
' Pray search for Deputy program SearchEngine () 6
' Last Prayer list Deputy Program SearchList () 7
' Admin Login Interface Program Login1 () 8
' Manage Login Verification Assistant Program Login2 () 9
' Remove supplication delwish () 10
' Exit Management Assistant Program logout () 11
' Explanatory text-explain () 12
' Page header information sub-program top () 13
' Copyright notice Deputy procedure Bottom () 14
' This station connection deputy program Mylinks () 15[has merged to the common function]
' Place a common function equivalent to inc.asp 16
%>
'=======================================================



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.