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

📄 reply.html

📁 淘客网上商店网站程序 淘客网上商店网站程序 淘客网上商店网站程序
💻 HTML
字号:
{$showhead}
<script language="JavaScript" type="text/javascript" src="{$webdir}Inc/Js/guestbook.js"></script>
<div class="body">
	<div class="guest_left">
		<div class="border_1">
			<div class="left_title">用户登陆</div>
			<div class="left_content">{$showuserlogin}</div>
		</div>
		<div class="border_1">
			<div class="left_title">留言功能</div>
			<div class="left_content">
				<center>
				留言模式:<font color="green">用户模式</font><br />
				发表模式:<font color="green">直接发表</font><br />
				待审留言:<font color="red">{$nopassnum}</font> 条<br />
				【<a href="Write.asp">签写留言</a>】<br />
				【<a href="Index.asp?Action=MyGuest">我的留言</a>】<br />
				【<a href="Index.asp?Action=NoPass">审核留言</a>】<br />
				【<a href="Index.asp">留言首页</a>】	
				</center>
			</div>
		</div>
		<div class="border_1">
			<div class="left_title">留言搜索</div>
			<div class="left_content">
				<form action="Index.asp" method="post" name="SearchForm" id="SearchForm">
					<!-- 显示留言搜索表单 -->
					<input type="text" name="keyword"  size="10" value="关键字" maxlength="50" onFocus="this.select();" />
					<input type="submit" name="Submit"  value="搜索" />
				</form>
			</div>
		</div>
		<div class="border_1">
			<div class="left_title">友情链接</div>
			<div class="left_content">
				<center>
				{$showlinksite(0,3,1,1,2)}
				{$showlinksite(0,8,1,1,3)}
				</center>
			</div>
		</div>
	</div>
	<div class="guest_right">
		<div class="border_1">
			<div class="right_title">回复留言</div>
			<div class="right_content">
<!-- 签写留言Begin -->
<script language="JavaScript" type="text/javascript">
var isshowcode="{$isshowcode}";
function changeimage(value)
{ 
	//document.formwrite.UserFace.value=document.formwrite.Image.value;
	document.formwrite.showuserface.src="{$webdir}images/guestbook/" + value + ".gif";
}
function check()
{
	if(document.formwrite.UserName.value==""){
		alert("姓名不能为空!");
		document.formwrite.UserName.focus();
		return false;
	}
	if(document.formwrite.GuestTitle.value==""){
		alert("留言主题不能为空!");
		document.formwrite.GuestTitle.focus();
		return false;
	}
	if(document.formwrite.GuestContent.value==""){
		alert("留言内容不能为空!");
		document.formwrite.GuestContent.focus();
		return false;
	}
	if(document.formwrite.GuestContent.value.length>1000){
		alert("留言内容最大为1000字节!");
		document.formwrite.GuestContent.focus();
		return false;
	}
	if (isshowcode=="yes")
	{
		if(document.formwrite.Guest_ChkCode.value==""){
			alert("请输入验证码!");
			document.formwrite.Guest_ChkCode.focus();
			return false;
		}
	}
}
</script>
<table width="99%" align="center" cellpadding="1" cellspacing="1" class="border">
	<form action="Reply.asp" method="post" name="formwrite" id="formwrite" onSubmit="return check()">
	<tr class="tdbg"> 
		<td width="20%" align="right">姓名:</td>
		<td width="30%" align="left"><input type="text" name="UserName" maxlength="25" size="30" value="{$username}" {$isdisabled} /> <font color="red">*</font></td>
		<td width="50%" rowspan="3" align="left"><img src="{$webdir}images/guestbook/01.gif" alt="" name="showuserface" width="80" height="90" border="0" id="showuserface"/></td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">邮箱:</td>
		<td align="left"><input type="text" name="UserEmail" maxlength="30" size="30" value="{$useremail}" {$isdisabled} /> <font color="red">*</font></td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">头像:</td>
		<td align="left">
		<select id="UserFace" name="UserFace" onchange="changeimage(this.options[this.selectedIndex].value)">
			<option value="01">01.GIF</option>
			<option value="02">02.GIF</option>
			<option value="03">03.GIF</option>
			<option value="04">04.GIF</option>
			<option value="05">05.GIF</option>
			<option value="06">06.GIF</option>
			<option value="07">07.GIF</option>
			<option value="08">08.GIF</option>
			<option value="09">09.GIF</option>
			<option value="10">10.GIF</option>
			<option value="11">11.GIF</option>
			<option value="12">12.GIF</option>
			<option value="13">13.GIF</option>
			<option value="14">14.GIF</option>
			<option value="15">15.GIF</option>
			<option value="16">16.GIF</option>
			<option value="17">17.GIF</option>
			<option value="18">18.GIF</option>
			<option value="19">19.GIF</option>
			<option value="20">20.GIF</option>
			<option value="21">21.GIF</option>
			<option value="22">22.GIF</option>
			<option value="23">23.GIF</option>
		</select>
		</td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">主题:</td>
		<td align="left" colspan="2"> 
		<input type="text" name="GuestTitle" style="width:80%" maxlength="100" value="{$guesttitle}" disabled />
		<font color="red">*</font></td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">表情:</td>
		<td align="left" colspan="2">
		<input type="radio" name="GuestEmote" value="1" />
		<img src="{$webdir}images/guestbook/face1.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="2" />
		<img src="{$webdir}images/guestbook/face2.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="3" />
		<img src="{$webdir}images/guestbook/face3.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="4" />
		<img src="{$webdir}images/guestbook/face4.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="5" />
		<img src="{$webdir}images/guestbook/face5.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="6" />
		<img src="{$webdir}images/guestbook/face6.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="7" />
		<img src="{$webdir}images/guestbook/face7.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="8" />
		<img src="{$webdir}images/guestbook/face8.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="9" />
		<img src="{$webdir}images/guestbook/face9.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="10" />
		<img src="{$webdir}images/guestbook/face10.gif" width="19" height="19" />
		<br />
		<input type="radio" name="GuestEmote" value="11" />
		<img src="{$webdir}images/guestbook/face11.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="12" />
		<img src="{$webdir}images/guestbook/face12.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="13" />
		<img src="{$webdir}images/guestbook/face13.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="14" />
		<img src="{$webdir}images/guestbook/face14.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="15" />
		<img src="{$webdir}images/guestbook/face15.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="16" />
		<img src="{$webdir}images/guestbook/face16.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="17" />
		<img src="{$webdir}images/guestbook/face17.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="18" />
		<img src="{$webdir}images/guestbook/face18.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="19" />
		<img src="{$webdir}images/guestbook/face19.gif" width="19" height="19" />
		<input type="radio" name="GuestEmote" value="20" />
		<img src="{$webdir}images/guestbook/face20.gif" width="19" height="19" />
		</td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">标签:</td>
		<td align="left" colspan="2">{$showubb}</td>
	</tr>
	<tr class="tdbg"> 
		<td align="right">内容:</td>
		<td align="left" colspan="2"> 
		<textarea name="GuestContent" style="width:80%" rows="8">{$guestcontent}</textarea><br /><font color="#ff0033">注:内容最大限制为1000字节!</font></td>
	</tr>
	<script type="text/javascript">
	if (isshowcode=="yes")
	{
		document.write("<tr class=\"tdbg\"><td align=\"right\">验证码:</td>");
		document.write("<td  align=\"left\" colspan=\"2\"><input type=\"text\" name=\"Guest_ChkCode\" maxlength=\"4\" size=\"8\" value=\"\" />&nbsp;");
		document.write("<img src=\"../Inc/Cl_GetCode.asp?type=Guest_ChkCode\" alt=\"\" />&nbsp;<font color=\"#009900\">*</font> 请输入验证码。</td></tr>");
	}
	</script>
	<tr class="tdbg"> 
		<td colspan="3" align="center">
		<input type="hidden" name="guestid"  value="{$guestid}" />
		<input type="hidden" name="replyid"  value="{$replyid}" />
		<input type="hidden" name="Action"  value="Save{$action}" />
		<input type="submit" name="Submit1" value=" 确 定 " />
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="reset" name="Submit3" value=" 重 填 " />
		</td>
	</tr>
	</form>
</table>
<script language="JavaScript" type="text/javascript">
var currentFace	= "{$userface}";
var currentEmote= "{$guestemote}";
document.formwrite.showuserface.src="{$webdir}images/guestbook/" + currentFace + ".gif";
var obj = document.formwrite.UserFace;
for (i=0;i<obj.length;i++){
	if (obj.options[i].value==currentFace){
	obj.options[i].selected=true;
	break;
	}
}
var obj = document.formwrite.GuestEmote;
for (i=0;i<obj.length;i++){
	if (obj[i].value==currentEmote){
	obj[i].checked=true;
	break;
	}
}
</script>
<!-- 签写留言End -->
			</div>
		</div>
	</div>
</div>
{$showfooter}

⌨️ 快捷键说明

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