<!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="X-UA-Compatible" content="IE=EmulateIE7">
<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 type="text/css" rel="stylesheet" href="{$InstallDir}Skins/{$SkinDir}/Style/Style.css" />
<link type="text/css" rel="stylesheet" href="{$InstallDir}Skins/{$SkinDir}/Style/Company.css" />
<Script language="JavaScript" Src="{$InstallDir}Inc/Site.Js"></Script>
<Script language="JavaScript" Src="{$InstallDir}Inc/Menu.Js"></Script>
<meta name="generator" content="WRMPS {$SystemVersion}" />
<meta name="copyright" content="2004-2010 Wangren Inc." />
<title>登记店铺 - {$ChannelName} - {$SiteTitle}</title>
<script language="JavaScript">
function show(){
    if (document.getElementById("Other").style.display=="none"){
    document.getElementById("Other").style.display = "";
    }else{
    document.getElementById("Other").style.display = "none";
    }
    }
function rCompany(str){
  if(str =="") {
    document.getElementById("AjaxShow").innerHTML = "<font class=F03><strong>请填写店铺名称</strong></font>";
	return false;
  }
  document.getElementById("AjaxShow").innerHTML = "loading...";
  ToAjax("{url:post}","Action=Check&Company="+escape(str))
}
function rAddress(str){
  if(str =="") {
    document.getElementById("Address1").innerHTML = "<font class=F03><strong>请填写店铺详细地址</strong></font>";
	return false;
  }
  document.getElementById("Address1").innerHTML = "店铺详细地址可以用";
}
function rAgio(str){
  if(str =="") {
    document.getElementById("Agio1").innerHTML = "<font class=F03><strong>请填写店铺打折数</strong></font>";
	return false;
  }
  document.getElementById("Agio1").innerHTML = "可以使用";
}
function ClickSubmit(){
  var Msg = "";
  if (document.myform.AreaID.value == ""){
    document.getElementById("AreaID1").innerHTML = "<font class=F03><strong>请选择所属地区</strong></font>";
    Msg = "Err";
  }
  if (document.myform.ClassID.value == ""){
    document.getElementById("ClassID1").innerHTML = "<font class=F03><strong>请选择所属分类</strong></font>";
    Msg = "Err";
  }
  if (document.myform.Company.value == ""){
    document.getElementById("AjaxShow").innerHTML = "<font class=F03><strong>请填写店铺名称</strong></font>";
    Msg = "Err";
  }
  if (document.myform.Address.value == ""){
    document.getElementById("Address1").innerHTML = "<font class=F03><strong>请填写店铺详细地址</strong></font>";
    Msg = "Err";
  }
  if (document.myform.WM_Person.value == ""){
    document.getElementById("Person1").innerHTML = "<font class=F03><strong>请填写企业性质</strong></font>";
    Msg = "Err";
  }
  if (document.myform.WM_People.value == ""){
    document.getElementById("People1").innerHTML = "<font class=F03><strong>请填写企业规模</strong></font>";
    Msg = "Err";
  }
  if (document.myform.WM_Class.value == ""){
    document.getElementById("Class1").innerHTML = "<font class=F03><strong>请填写所属行业</strong></font>";
    Msg = "Err";
  }
  if (document.myform.Agio.value == ""){
    document.getElementById("Agio1").innerHTML = "<font class=F03><strong>请填写店铺打折数</strong></font>";
    Msg = "Err";
  }
  if ("{$IsIDCode}" == "True" && document.myform.Code.value == ""){
    document.getElementById("Code1").innerHTML = "<font class=F03><strong>请输入验证码</strong></font>";
    Msg = "Err";
  }
  if (Msg == ""){
	document.myform.submit();
  }else{
	return false;
  }
}
function get_Code(){
document.getElementById("imgurl").src='{$InstallDir}inc/{$CodePlan}.asp?'+Math.random()
}
</script>
</head>
<body>

{$My_通用_Hand}
<div class=div>
  <div class=SitePath>{$SitePath}</div>
</div>

<table width="780px" 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="{url:post}">
          <input name="Action" type="hidden" value="Save">
          <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> <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%"><script language="JavaScript" src="{$InstallDir}Inc/Js/AreaPost.Js"></Script><span id=AreaID1></span></td>
                </tr>
                <tr id=AreaDBtr style='display:none'>
                  <td height=30px align=right><strong>相关区域　</strong></td>
                  <td class=Remark><span id=AreaDBShow></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>选择分类 <font class=F03>*</font></strong></td>
                  <td class=Remark><script language="JavaScript" src="{$InstallDir}Inc/Js/CompanyPost.Js"></Script><span id=ClassID1></span></td>
                </tr>
             </table>
              <!--=======================-->
            </td>
          </tr>
          <script language="JavaScript">
          function DBOption(t,sid){
            if (t=="AreaID"){
              areadbajax(sid,"",0);
            }else{
              dbajax(2,sid,0);
            }
          }
          </script>
          <tr><td colspan=2 height=30px class=F14 style="border-bottom:1px #cccccc solid"><img src="{$InstallDir}Skins/{$SkinDir}/icon_04.gif" align=absmiddle> <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="Company" type="text" Style="width:200px" maxlength=50 onChange="javascript:rCompany(this.value)"> <span id=AjaxShow></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>详细地址 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Address" type="text" Style="width:300px" maxlength=50 onChange="javascript:rAddress(this.value)"> <span id=Address1></span></td>
                </tr>
				<tr>
                  <td height=30px align=right><strong>企业性质 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="WM_Person" type="text" Style="width:200px" maxlength=50> <span id=Person1></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>企业规模 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="WM_People" type="text" Style="width:200px" maxlength=50> <span id=People1></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>所属行业 <font class=F03>*</font></strong></td>
                  <td class=Remark><input name="WM_Class" type="text" Style="width:200px" maxlength=50> <span id=Class1></span></td>
                </tr>
                <tr id=DBtr style='display:none'>
                  <td height=30px align=right><strong>相关选项　</strong></td>
                  <td class=Remark><span id=DBShow></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>电话 &nbsp;</strong></td>
                  <td class=Remark><input name="Phone" type="text" Style="width:150px" maxlength="50" value=""> <span id=Phone1>请加上区号，多个请用","隔开。</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>手机 &nbsp;</strong></td>
                  <td class=Remark><input name="Mobile" type="text" Style="width:150px" maxlength=50> <span id=Mobile1>多个请用","隔开</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>产品标签 &nbsp;</strong></td>
                  <td class=Remark><input name="Tags" type="text" Style="width:300px" maxlength=50> <span id=Tags1>（用","隔开）</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>打折数 &nbsp;<font class=F03>*</font></strong></td>
                  <td class=Remark><input name="Agio" type="text" Style="width:300px" maxlength=10 onChange="javascript:rAgio(this.value)"> <span id=Agio1>（例如：8折）</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>标注地图 &nbsp;</strong></td>
                  <td class=Remark><input name=Coordinate type=hidden><a href=javascript:ShowDialog("{$Map}",600,400) class=red><img src="{$InstallDir}Skins/{$SkinDir}/icon_qi.gif" align="absmiddle" border="0"><span id=Add>标注地图位置</span></a> 标注后，店铺将定位到电子地图上。</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()"> <span id=Code1></span></td>
                </tr>
              </table>
              <!--=======================-->
            </td>
          </tr>

          <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 onClick="show()" style="cursor:pointer"><strong>补充资料</strong></a></td></tr>
          <tr id=Other>
            <td>
        <!--=======================-->
              <table width="100%" border="0" cellspacing="5" cellpadding="0" align="center">
                <tr>
                  <td height=30px align=right><strong>传真 &nbsp;</strong></td>
                  <td class=Remark><input name="Fax" type="text" Style="width:150px" maxlength="50" value=""> <span id=Fax>请加上区号，多个请用","隔开。</span></td>
                </tr>
                <tr>
                  <td width="17%" height=30px align=right><strong>营业时间 &nbsp;</strong></td>
                  <td width="83%"><input name="BusinessTime" type="radio" value="日常营业">日常营业 <input name="BusinessTime" type="radio" value="午后营业">午后营业 <input name="BusinessTime" type="radio" value="夜店">夜店 <input name="BusinessTime" type="radio" value="24小时营业">24小时营业 <input name="BusinessTime" type="radio" value="不详" checked>不详</td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>可否刷卡 &nbsp;</strong></td>
                  <td><input name="IsCard" type="radio" value="可刷卡">可刷卡 <input name="IsCard" type="radio" value="不能刷卡">不能刷卡 <input name="IsCard" type="radio" value="不详" checked>不详</td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>附近公交车站 &nbsp;</strong></td>
                  <td class=Remark><input name="Depot" type="text" Style="width:300px" maxlength=50> <span id=Depot>（用","隔开）</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>公交线路 &nbsp;</strong></td>
                  <td class=Remark><input name="BusRoute" type="text" Style="width:300px" maxlength=50> <span id=BusRoute>（用","隔开）</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>附近标志物 &nbsp;</strong></td>
                  <td class=Remark><input name="Marker" type="text" Style="width:300px" maxlength=50> <span id=Marker>（用","隔开）</span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>店铺网址 &nbsp;</strong></td>
                  <td class=Remark><input name="Web" type="text" Style="width:200px" maxlength=50> <span id=Web></span></td>
                </tr>
                <tr>
                  <td height=30px align=right><strong>店铺介绍 &nbsp;</strong></td>
                  <td class=Remark><textarea name="Intro" style='height:150px;width:80%' onKeyUp="textLimitCheck(this,1000);"></textarea> <span id=Intro></span></td>
                </tr>
              </table>
        <!--=======================-->
        	</td>
          </tr>

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

  </td></tr>
</table>

{$ScriptCkeck}
{$My_Bottom}

</body>
</html>