⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sign.asp

📁 Simple涂乌板2
💻 ASP
字号:
<!-- #include file="inc/conn.asp" -->
<!-- #include file="inc/config.asp" -->
<!-- #include file="inc/function.asp" -->
<%
tbname="record"

Dim name,image_src,ID,mode
name=trim(SafeRequest("name"))
image=SafeRequest("image")
ID=SafeRequest("ID")
mode=SafeRequest("mode")

If (Not IsNumeric(image)) Then
Response.Redirect "message.asp?action=rewrite&message=你没有选择头像,请选择"
End If
If name="" Then
Response.Redirect "message.asp?action=rewrite&message=你没有填写名字,请填写"
End If

If mode="3" or mode="4" or mode="5" or mode="6" Then
sql="select name,note,themeNO,themeName from "&tbname&" where ID="&ID
set rs=GetRS(mdbname,tbname,sql)
rsrow=rs.GetRows
End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- #include file="inc/head.html" -->
	<body>
		<div id="body" align="center">
			<div id="sign-body">
				<div id="sign">
					<div class="title">
					</div>
					<div class="frame-top"></div>
					<div class="frame-body">
						<table border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="frame-left"></td>
								<td class="name">
									<div class="name-image">
										<img src="<% =ImageSrc(image) %>" height="70">
									</div>
									<span class="name-text">
										<% =name %>
									</span>
								</td>
								<td class="frame-main">
										<div class="note">
											<div class="note-text" style="max-height: 600px;">
								<form action="process_add.asp" method="post" name="form2">
												<div class="note-text-input">
													<fieldset class="input-fieldset">
														<legend align="center"><span class="input-legend">Mood & Tone</span></legend>
														<div class="note-text-input-text">
															<span id="input-text">Face</span>
															<input type="text" name="face" readonly id="input-frame" value=choose... maxlength="10" onclick="changemenu('face-tip');">
															<span class="input-tip" id="face-tip" style="display: none"> * 在下面选择你的表情</span>
														</div>
														<div class="note-text-input-text">
<% For n=1 to 10 %>
															<span class="input-image-face">
																<a class="face">
																	<img src="images/face/little/f<% =n %>.gif" alt="" border="0" onclick="document.form2.face.value=<% =n %>;">
																</a>
															</span>
<% Next %>
														</div>
															<div class="note-text-input-text">
																<span id="input-text">Mood</span>
																<input type="text" name="mood" id="input-frame" maxlength="9" onclick="changemenu('mood-tip');">
																<span class="input-tip" id="mood-tip" style="display: none"> * 你的语气或心情</span>
															</div>
													</fieldset>
													<fieldset class="input-fieldset">
														<legend align="center">
															<span class="input-legend">
<% If mode="3" then %>
															Release a new theme in Block "<% =rsrow(0,0) %>"
<% ElseIf mode="4" then %>
															Reply <% =rsrow(0,0) %>
<% ElseIf mode="5" then %>
															Quote words of <% =rsrow(0,0) %>
<% ElseIf mode="6" then %>
															Reply theme "<% =rsrow(3,0) %>"
<% ElseIf mode="0" then %>
															Leave Word
<% End If %>																
															</span>
														</legend>
														<div class="note-text-input-text">
															<span id="input-text">Weather</span>
															<input type="text" name="weather" readonly id="input-frame" value=choose...  maxlength="10" onclick="changemenu('weather-tip');">
															<span class="input-tip" id="weather-tip" style="display: none"> * 在下面选择天气情况</span>
														</div>
														<div class="note-text-input-text">
<% For n=1 to 12 %>
															<span class="input-image-weather">
																<a class="face">
																	<img src="images/weather/weather_<% =n %>.gif" alt="" border="0" onclick="document.form2.weather.value=<% =n %>;">
																</a>
															</span>
<% Next %>
														</div>
<% If mode="3" then %>
															<div class="note-text-input-text">
																<span id="input-text">Theme</span>
																<input type="text" name="theme" value="" id="input-frame" maxlength="30" class="input-text-addr">
															</div>
<% ElseIf mode="5" then %>
															<div class="note-text-input-text">
																<span id="input-text">
																	Quote
																</span>
																<textarea name="quote" id="input-frame" class="input-quote-textare" rows="3" cols="71"><% =rsrow(1,0) %></textarea>
															</div>
<% End If %>
															<div class="note-text-input-text">
																<span id="input-text">
																	Note
																	<br>
																	<a href="#" class="textare-3x" onclick="document.form2.note.className='input-text-textare3x'">3X</a>
																</span>
																<textarea name="note" id="input-frame" class="input-text-textare" rows="4" cols="71" onclick="changemenu('fieldsetDiv1');legend_detail.innerHTML='Detail';"></textarea>
															</div>
													</fieldset>
													<fieldset class="input-fieldset">
														<legend align="center">
															<span class="input-legend" id="legend_detail" onclick="changemenu('fieldsetDiv1');this.innerHTML='Detail'">
																Show Detail
															</span>
														</legend>
														<div id="fieldsetDiv1" style="display: none">
															<div class="note-text-input-text">
																<span id="input-text">Q Q</span>
																<input type="text" name="qq" id="input-frame" maxlength="9">
																<input type="text" name="email" id="input-frame-rightflow" maxlength="50">
																<span id="input-text-rightflow">Email</span>
															</div>
															<div class="note-text-input-text">
																<span id="input-text">Site</span>
																<input type="text" name="homepage" id="input-frame" maxlength="50">
																<input type="text" name="phone" id="input-frame-rightflow" maxlength="20">
																<span id="input-text-rightflow">Phone</span>
															</div>
															<div class="note-text-input-text">
																<span id="input-text">Link</span>
																<input type="text" name="webtype" readonly id="input-frame" value="" maxlength="10" onclick="document.getElementById('linktip').style.display='block'">
																<span class="input-image-link">
																	<img src="images/icon/b2.gif" alt="" height="18" border="0" onclick="document.form2.webtype.value='jpg';form2.webaddr.disabled = false">
																	<img src="images/icon/t6.gif" alt="" height="18" border="0" onclick="document.form2.webtype.value='mp3';form2.webaddr.disabled = false">
																	<img src="images/icon/b11.gif" alt="" height="18" border="0" onclick="document.form2.webtype.value='wmv';form2.webaddr.disabled = false">
																	<img src="images/icon/t5.gif" alt="" height="18" border="0" onclick="document.form2.webtype.value='swf';form2.webaddr.disabled = false">
																	<img src="images/icon/b7.gif" alt="" height="18" border="0" onclick="document.form2.webtype.value='rar';form2.webaddr.disabled = false">
																	<span class="themebar-text"><a href="#" style="text-decoration: underline; position: relative; bottom: 4px;" onclick="javascript:window.open ('./upload.asp','a','width=640,height=200,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');">Upload File</a></span>
																</span>
															</div>
															<div class="note-text-input-text">
																<span id="input-text">Addr</span>
																<input type="text" name="webaddr" value="" disabled id="input-frame" maxlength="200" class="input-text-addr">
															</div>
															<span class="input-tip" id="linktip" style="display: none">* 当你需要发多媒体帖(如图片,音乐,Flash),Link是你的多媒体类型,请在右边的图标上选择;Addr是它的链接地址,链接地址务必要填写准确。你可以单击右边的[Upload File]进行文件上传。</span>
														</div>
													</fieldset>
												</div>
											</div>
										</div>
											<div class="info">
												<input type="button" class="button-next" value="< Go Back" onclick="javascript:history.back()">
												<input type="reset" class="button-next" value="Clear">
												<input type="submit" class="button-next" name="" value="Finish >">
												<span id="sign-copyright">... Simple2 Sign-Form by MSS ...</span>
											</div>
										</div>
										<input type="hidden" name="name" value="<% =name %>">
										<input type="hidden" name="image" value=<% =image %>>
										<input type="hidden" name="ID" value=<% =ID %>>
										<input type="hidden" name="mode" value="<% =mode %>">
								</form>
								</td>
								<td class="frame-right"></td>
							</tr>
						</table>
					</div>
					<div class="frame-bottom"></div>
				</div>
			</div>
		</div>
		<iframe src="inc/refresh.html" frameborder="0" scrolling="no" height="0" width="0"></iframe>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -