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

📄 post.html

📁 网人分类信息5.0商业版。非常优秀的分类信息系统。比较少见。
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="gb2312">
<meta name=keywords content="{$Meta_Keywords}">
<meta name="description" content="{$Meta_Description}">
<link rel="SHORTCUT ICON" href="{$InstallDir}images/favicon.ico">
<link rel="Bookmark" href="{$InstallDir}images/favicon.ico">
<link type="text/css" rel="stylesheet" href="{$InstallDir}Skins/{$SkinDir}/Style.css">
<Script language="JavaScript" Src="{$InstallDir}Inc/Site.Js"></Script>
<Script language="JavaScript" Src="{$InstallDir}Inc/Menu.Js"></Script>
<title>登记优惠券 - {$ChannelName} - {$SiteTitle}</title>
<script>
function get_Code(){
document.getElementById("imgurl").src='{$InstallDir}inc/{$CodePlan}.asp?'+Math.random()
}

function ClickSubmit() { 
    if(myform.AreaID.value==""){
	alert("请选择所属地区!");
	return false;}
    if(myform.ClassID.value==""){
	alert("请选择所属分类!");
	return false;}
    if(myform.Title.value==""){
	alert("优惠券名称不能为空!");
    myform.Title.focus();
	return false;}
    var objs = document.getElementsByName("AgioType");
    var i = 0;
	var selectedIndex;
    for (i=0; i<objs.length; i++){
        if (objs[i].checked){
            selectedIndex = objs[i].value;
            break;
        }
    }		
    if(selectedIndex==0){
	  if(myform.Agio1.value==""){
	  alert("您选择的折扣类型为折扣券,请填写相应的折扣额!");
      myform.Agio1.focus();
	  return false;}
      if (isNaN(myform.Agio1.value)){
      alert('折扣额只能为小数或数字');
      myform.Agio1.select();
      myform.Agio1.focus();
      return false;
      }
	}else if(selectedIndex==1){
	  if(myform.Agio2.value==""){
	  alert("您选择的折扣类型为抵价券,请填写相应的抵价金额!");
      myform.Agio2.focus();
	  return false;}
      if (isNaN(myform.Agio2.value)){
      alert('抵价金额只能为小数或数字');
      myform.Agio2.select();
      myform.Agio2.focus();
      return false;
      }
	}else{
	  if(myform.Agio3.value==""){
	  alert("您选择的折扣类型为礼品券,请填写相应的礼品券名称!");
      myform.Agio3.focus();
	  return false;}
	}
    if(myform.Begin.value==""){
	alert("请选择优惠券开始时间!");
	PopCalendar.show(document.myform.Begin, "yyyy-mm-dd", null, null, null, "11");
	return false;}
    if(myform.End.value==""){
	alert("请选择优惠券结束时间!");
	PopCalendar.show(document.myform.End, "yyyy-mm-dd", null, null, null, "11");
	return false;}
    if(myform.Pic.value==""){
	alert("请至少上传一幅优惠券相关图片!");
	return false;}
    if ("{$IsIDCode}" == "True" && document.myform.Code.value == ""){
	alert("请输入验证码!");
	return false;}
    myform.submit();
}
</script>
<style>
.Up{float:right;padding:5px;border:1px #cccccc solid;background:#EFEFEF}
.UpFont{font-weight:bold;padding:5px;border:1px #cccccc solid;background:#EFEFEF;text-align:center}
</style>
</head>
<body>
{$My_Hand_优惠券}
<div class=div>
  <div class=SitePath>{$SitePath}</div>
</div>
<div class=div>
<Script language='JavaScript' Src='{$InstallDir}Inc/GetDate.Js'></Script>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center" class=Table>
  <tr><td>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
		<form name="myform" method="post" action="Post.asp">
          <input name="Action" type="hidden" value="Save">
          <input name="ComID" type="hidden" value="{$ComID}">
          <tr><td colspan=2 height=20px></td></tr>
          <tr><td colspan=2 height=30px class=F14 style="border-bottom:1px #cccccc solid"><img src="{$InstallDir}Skins/{$SkinDir}/icon_04.gif" align=absmiddle onClick="show()"> <a><strong>选择分类</strong></a> (必选项)</td></tr>
          <tr> 
            <td> 
              <!--=======================-->
              <table width="100%" border="0" cellspacing="5" cellpadding="0" align="center">
                <tr> 
                  <td width="17%" height=30px align=right><strong>选择地区 <font class=F03>*</font></strong></td>
                  <td class=Remark width="83%"><script language="JavaScript" src="{$InstallDir}Inc/Js/AreaPost.Js"></Script></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>选择分类 <font class=F03>*</font></strong></td>
                  <td><script language="JavaScript" src="{$InstallDir}Inc/Js/CouponPost.Js"></Script></td>
                </tr>
              </table>
              <!--=======================-->
            </td>
          </tr>
          <tr><td height=20></td></tr>
		  
          <tr><td colspan=2 height=30px class=F14 style="border-bottom:1px #cccccc solid"><img src="{$InstallDir}Skins/{$SkinDir}/icon_04.gif" align=absmiddle onClick="show()"> <a><strong>优惠券信息</strong></a> (打 <strong><font class=F03>*</font></strong> 为必填项)</td></tr>
          <tr> 
            <td> 
              <!--=======================-->
              <table width="100%" border="0" cellspacing="5" cellpadding="0" align="center">
                <tr> 
                  <td width="17%" height=30px align=right><strong>优惠券名称 <font class=F03>*</font></strong></td>
                  <td class=Remark width="83%"><input name="Title" type="text" Style="width:400px" maxlength=50></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>详细说明 <font Class=F03>*</font></strong></td>
                  <td class=Remark><textarea name="Content" style='height:100px;width:99%' onKeyUp="textLimitCheck(this,1000);"></textarea></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>折扣类型 <font class=F03>*</font></strong></td>
                  <td><input type="radio" name="AgioType" value=0 checked onclick="agio1.style.display='';agio2.style.display='none';agio3.style.display='none';">折扣券 <input type="radio" name="AgioType" value=1 onclick="agio1.style.display='none';agio2.style.display='';agio3.style.display='none';">抵价券 <input type="radio" name="AgioType" value=2 onclick="agio1.style.display='none';agio2.style.display='none';agio3.style.display='';">礼品券</td>
                </tr>
                <tr id=agio1> 
                  <td height=30px align=right><strong>折扣额 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Agio1" type="text" Style="width:100px" maxlength=10> 折</td>
                </tr>
                <tr id=agio2 style="display:none"> 
                  <td height=30px align=right><strong>抵价金额 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Agio2" type="text" Style="width:100px" maxlength=10> 单位:元</td>
                </tr>
                <tr id=agio3 style="display:none"> 
                  <td height=30px align=right><strong>礼品名称 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Agio3" type="text" Style="width:200px" maxlength=50></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>针对项目</strong></td>
                  <td class=Remark><input name="Item" type="text" Style="width:200px" maxlength=50><br>如:全场项目</td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>使用限制</strong></td>
                  <td class=Remark><input name="Circumscribe" type="text" Style="width:200px" maxlength=50><br>如:特价、酒水、套餐除外</td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>开始时间 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Begin" type="text" Style="width:100px" maxlength=10 readonly onClick='PopCalendar.show(document.myform.Begin, "yyyy-mm-dd", null, null, null, "11");'> <a style='cursor:pointer;' onClick='PopCalendar.show(document.myform.Begin, "yyyy-mm-dd", null, null, null, "11");'><img src='../Images/other/Calendar.gif' border='0' Style='Padding-Top:10px'></a></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>结束时间 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="End" type="text" Style="width:100px" maxlength=10 readonly onClick='PopCalendar.show(document.myform.End, "yyyy-mm-dd", null, null, null, "11");'> <a style='cursor:pointer;' onClick='PopCalendar.show(document.myform.End, "yyyy-mm-dd", null, null, null, "11");'><img src='../Images/other/Calendar.gif' border='0' Style='Padding-Top:10px'></a></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>预定电话</strong></td>
                  <td class=Remark><input name="Tel" type="text" Style="width:200px" maxlength=30></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>地址</strong></td>
                  <td class=Remark><input name="Address" type="text" Style="width:300px" maxlength=50></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>上传文件 <font class=F03>*</font></strong></td>
                  <td><div class="UpInput Remark"><input type="hidden" name="PicList"><select name=Pic onChange=PicReset(this.value)></select><br>以此下拉框中的图片做为默认图片</div>
				  <div class=Upfile><div class=UpFont><a href="javascript:openWithIframe('添加附件','../Plus/UpLoad/Index.asp?Type=9&User=3',350,150);" onclick="PicPreview.style.display=''">添加附件</a></div><div style='width:120px; height:120px; z-index:1;overflow:auto;display:none' class=updiv ID=PicPreview><Img src='{$InstallDir}Skins/{$SkinDir}/nopic.gif'></div></div></td>
                </tr>
                <tr> 
                  <td height=30px align=right><strong>标签</strong></td>
                  <td class=Remark><input name="Tags" type="text" Style="width:300px" maxlength=50><br>多个关键字用英文豆号隔开</td>
                </tr>
                <tr {$IDCode}> 
                  <td height=30px align=right><strong>验证码 <font class=F03>*</font></strong></td>
                  <td><input name=Code size=8 maxlength=6 onfocus="get_Code()"> <img src={$InstallDir}Skins/{$SkinDir}/code.gif id=imgurl align=absmiddle style='cursor:pointer' alt='验证码看不清楚?请点击刷新验证码' onclick="this.src='../inc/{$CodePlan}.asp?'+Math.random()"></td>
                </tr>
              </table>
              <!--=======================-->
            </td>
          </tr>

          <tr> 
            <td colspan=2 height=50px align=center><img src="{$InstallDir}Skins/{$SkinDir}/reg.gif" onClick="ClickSubmit();" style="cursor:pointer"></td>
          </tr>
        </form>
      </table>

  </td></tr>
</table>
</div>
{$My_Bottom}
</body> 
</html> 

⌨️ 快捷键说明

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