<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
<title>登记店铺 - 会员中心 - <?php echo $cfg_webname; ?></title>
<link href="<?php echo $cfg_cmspath; ?>/statics/css/index.css" rel="stylesheet" type="text/css" />
<link href="templets/style/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="templets/js/j.js"></script>
<script language='javascript' src="templets/js/main.js"></script>
<script type="text/javascript" src="templets/js/inputAutoClear.js"></script>
<script type="text/javascript" src="templets/js/load.js"></script>
<script type="text/javascript" src="templets/js/leftmenu.js"></script>
<script type="text/javascript" src="templets/js/checkSubmit.js"></script>
<script>
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
</head>
<body>
<?php
   alltemp("header_member.htm");
?>
<div id="content" class="w960 clearfix">
  <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  <div class="setting_box fl">
    <div class="settings_title"><b>登记店铺</b></div>
     <form name="addcontent" action="shangjia_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
          <input type="hidden" name="dopost" value="save" />
        <div class="postForm">
          <p>
            <label>信息标题：</label>
            <input name="title" type="text" id="title" value="请输入信息标题" maxlength="100" class="intxt" onfocus="inputAutoClear(this)"/>
          </p>
        
           <?php
              if($cInfos['dfcid']>0) {
              	echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />";
              }else{
            ?>
          <p>
            <label>发布栏目：</label>
            <?php
				$typeOptions = GetOptionList(0,$channelid);
				echo "<select name='typeid' size='1'>\r\n";
				echo "<option value='0' selected>请选择栏目...</option>\r\n";
				echo $typeOptions;
				echo "</select>";
			?>
                <span style="color:#F00">*</span>(不能选择带颜色的分类)
         </p>
      	    <?php
           		 }
            ?>
                      <p>
  <label>网站类型：</label><input type="radio" checked="" value="淘宝店" class="np" name="sjtype">淘宝店
<input type="radio" value="拍拍店" class="np" name="sjtype">拍拍店
<input type="radio" value="独立网站" class="np" name="sjtype">独立网站

</p>
<p>
  <label>网站地址：</label><input type="text" class="intxt" value="http://"  id="shopurl" name="shopurl" onfocus="inputAutoClear(this)"> &nbsp;(网址前加：http://)
</p>
<p>
  <label>主营项目：</label><select style="width:150px" name="xiangmu"><option value="男女服装">男女服装</option>
<option value="鞋包">鞋包</option>
<option value="配饰">配饰</option>
<option value="母婴用品">母婴用品</option>
<option value="美容美体">美容美体</option>
<option value="数码家电">数码家电</option>
<option value="家居建材">家居建材</option>
<option value="美食特产">美食特产</option>
<option value="个性创意">个性创意</option>
<option value="书籍文化">书籍文化</option>
<option value="汽车用品">汽车用品</option>
<option value="其它">其它</option>
</select>

</p>
<p>
  <label>佣金形式：</label><input type="radio" checked="" value="按成交付费" class="np" name="paytype">按成交付费
<input type="radio" value="按点击付费" class="np" name="paytype">按点击付费
<input type="radio" value="包月广告" class="np" name="paytype">包月广告

</p> 
<p><label>网站介绍：</label><textarea class="intxt" name="body"></textarea></p>
          <?php
 				 if($safe_faq_send == 1){
                $faqkey = array_rand($safefaqs);
          ?>
     		<?php 
     		}
      		if(preg_match("/3/",$safe_gdopen)){
      	   ?>
         <p>
            <label>验证码：</label>
            <input class="intxt" name="vdcode" type="text" id="vdcode" size="10" style='width:50px;text-transform:uppercase;' />
           <img id="vdimgck" src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /><a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a>
         </p> 
          <?php }?> 
<p>
             <button type="submit" style="margin-left:105px;" class="btn">提交</button>
             <button onclick="location.reload();" type="reset" style="margin-left:5px;" class="btn">重置</button>
      </p>
    </div>
  </form>
    <!--主操作区域 -->
  </div>
</div>
<?php
   alltemp("footer.htm");
?>
</body>
</html>