2yup Drifting Prayer Bottle Everybody do it together (d)

Source: Internet
Author: User
Tags mail
"2yup Drifting Prayer bottle Everybody do Together" (four)


'***************************************************************
The following are all the sub-program sections:
[Description] The applet call is based on the parameter action, which is clearly expressed in the second lecture.

Please put them in place according to the first speaking position and let the page be called when necessary. Put it in a fixed position, then just take out the plan to know in that position, maintenance is easy.

<%
'**************************
' * * * Deputy Program Part * * *
'**************************
%>


<%
"================ pray input and modify interface 1================
Sub Wish ()
' If you are revising to read out the original data and set the action to Saveedit (save changes)
' Otherwise, set the action to save (save the new data)
If UserName <> "" and Action = "editwish" and ID <> "" Then
Name = Rs ("name")
Sex = Rs ("Sex")
Mail = Rs ("Mail")
Purpose = Rs ("Purpose")
Live = Rs ("Live")
Content = Rs ("content")
My_age = Myage (Rs ("Birthday"))
Action = "Saveedit"
Else
Action = "Save"
End If
%>
<div align= "center" >
<center>
<table border= "0" cellpadding= "0" cellspacing= "1" >
<tr><form method= ' post ' action= ' <%=request.servervariables ("URL")%> ' >
<input type= "hidden" name= "Action" value= "<%=Action%>" >
<input type= "hidden" name= "id" value= "<%=id%>" >
&LT;TD align= "Right" > name:</td>
<td><input type= "text" size= "a" maxlength= "a" name= "name"
Value= "<%=name%>" onclick= "javascript:this.value="; > </td>
&LT;TD align= "right" > Sex:</td>
<td><select name= "Sex" size= "1" >
<%if Sex <> "" then%>
<option value= "<%=Sex%>" selected><%=sex%></option>
<%end if%>
<option value= "" >-Please choose-</option>
<option value= "Mr." > Boy </option>
<option value= "Miss" > Girl </option>
</select></td>
</tr>
<tr>
&LT;TD align= "Right" > Mailbox:</td>
<td><input type= "text" size= "Name=" "Mail" value= "<%=mail%>"
onclick= "javascript:this.value= ';" ></td>
&LT;TD align= "Right" > Purpose:</td>
<td><select name= "Purpose" size= "1" >
<% ' Convert English name to Chinese
If purpose <> "" Then
Select Case Purpose
Case "Family"
Chinese_purpose = "Family"
Case "Friend"
Chinese_purpose = "Friend"
Case "Future"
Chinese_purpose = "Future"
Case "Health"
Chinese_purpose = "Health"
Case "Life"
Chinese_purpose = "Life"
Case of "Love"
Chinese_purpose = "Love"
Case "study"
Chinese_purpose = "study"
Case "wealth"
Chinese_purpose = "wealth"
Case "Work"
Chinese_purpose = "Career"
End Select%>
<option value= "<%=purpose%>" selected><%=chinese_purpose%></option>
<%end if%>
<option value= "" >-Please choose-</option>
<option value= "Love" > </option>
<option value= "Study" > Academic </option>
<option value= "Health" > Health </option>
<option value= "Family" > Family </option>
<option value= "Work" > Career </option>
<option value= "Future" > Future </option>
<option value= "Wealth" > Wealth </option>
<option value= "Life" > Living </option>
<option value= "friend" > Friends </option>
</select></td>
</tr>
<tr>
&LT;TD align= "Right" > Age:</td>
<td><input type= "Text"



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.