<!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=<tpl> $NCharset </tpl>" />
<link href="<tpl> $template_dir </tpl>/member/css/layout.css" rel="stylesheet" type="text/css" />
<tpl> include file ='../head.config.html'</tpl>
<tpl>include file ='../../../js/validate/member_shop.add.html'</tpl>
</head><body>
<tpl>include file ='../header.html'</tpl>
<div id="container761"> 
  <div class="own_member_main"> 
<tpl>include file ='own_menu.html'</tpl>
  <div class="member_right">
  <div class="new_main_left">
		<div class="new_main_left1">
		<h1 class="new_text">	<tpl> $langShopIIsSale </tpl> >> <tpl> $langShopFreeSetUpShop </tpl></h1>
        <i></i> </div>
		<b></b>
	  </div>
		<div id="own_main_rightop">
		  <caption class="fontgreen">
        <tpl> $langShopOpenSay </tpl>
        </caption>
		</div>
		<div id="own_main_rightop_line" style="margin-top:-3px;">
	  <b class="b4"></b>
	  <b class="b3"></b>
	  <b class="b2"></b>
	  <b class="b1"></b>
	  </div>
    <div class="nav_top"></div>
    <form id="addnews" action="own_shop.php?action=save" method="post">
      <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#DEEBEF" class="table_thC6ECF8_tdF6F6F6" style="margin-top:10px">
        <tr>
          <th width="150" height="35" align="right" bgcolor="#F5F9FA"><strong>
            <tpl> $langShoploginName </tpl>
            ：</strong></th>
          <td height="35" bgcolor="#FCFEFE">　
            <tpl> $smarty.session.s_login.name </tpl></td>
        </tr>
        <tr>
          <th width="150" height="35" align="right" bgcolor="#F5F9FA"><strong>
            <tpl> $langShopName </tpl>
            ：</strong></th>
          <td height="35" bgcolor="#FCFEFE">　
            <input type="text" name="txtShopName" id="txtShopName"/>
          <div style="padding-left:10px"><tpl> $langShopNameInfo </tpl></div></td>
        </tr>
        <tr>
          <th width="150" height="35" align="right" bgcolor="#F5F9FA"><strong>
            <tpl> $langShopClass </tpl>
            ：</strong></th>
          <td height="35" bgcolor="#FCFEFE">　
            <select name="slcShopClass">
		  		<tpl> foreach from=$shop_select_category item=one </tpl>
					<option value="<tpl> $one.class_id </tpl>"><tpl> $one.class_name </tpl></option>
					<tpl> foreach from=$one.child item=two </tpl>
						<option value="<tpl> $two.class_id </tpl>">&nbsp;&nbsp;&nbsp;<tpl> $two.class_name </tpl></option>
					<tpl> /foreach </tpl>
				<tpl> /foreach </tpl>
		  	</select>		  </td>
        </tr>
        <tr>
        	<td width="150" height="35" align="right" bgcolor="#F5F9FA"><strong><b>
       	        <tpl> $langShopArea </tpl>
            ：</strong></td>
        	<td bgcolor="#FCFEFE">　
				<input type="hidden" name="area_id" id="area_id" />
        		<select id="c1" class="searchformselect" name="c1" style="width: 120px">
					<option valus="" selected></option>
					<tpl> foreach item = parent from = $area_array </tpl>
					<option <tpl> if $sel_area[0].area_id eq $parent.area_id </tpl>selected="selected"<tpl> /if  </tpl> value="<tpl>$parent.area_id</tpl>||<tpl>$parent.is_parent</tpl>"><tpl> $parent.area_name </tpl></option>
					<tpl> /foreach </tpl>
				</select>
				<select class="searchformselect" id="c2" style="width: 120px" name="c2">
					<option valus="<tpl> $sel_area[1].area_id </tpl>" selected><tpl> $sel_area[1].area_name </tpl></option>
				</select>
				<select class="searchformselect" id="c3" style="width: 120px" name="c3">
					<option valus="<tpl> $sel_area[2].area_id </tpl>" selected><tpl> $sel_area[2].area_name </tpl></option>
				</select>
				<select class="searchformselect" id="c4" style="width: 120px" name="c4">
					<option valus="<tpl> $sel_area[3].area_id </tpl>" selected><tpl> $sel_area[3].area_name </tpl></option>
				</select>
				<label style="display:none" for="area_id" class="wrong" metaDone="true" generated="true"></label>
            </td>
        </tr>
        <tr>
          <th width="150" height="35" align="right" bgcolor="#F5F9FA"><strong>
            <tpl> $langShopIntro </tpl>
            ：</strong></th>
          <td height="35" bgcolor="#FCFEFE">    
<div id="fcks" style="padding-left:10px">
<tpl>php</tpl>
include("../classes/resource/fckeditor/fckeditor.php") ;
$oFCKeditor = new FCKeditor('txtShopIntro') ;
$oFCKeditor->BasePath	= '../classes/resource/fckeditor/' ;
$oFCKeditor->ToolbarSet = 'Simple';
$oFCKeditor->Width	= 385 ;
$oFCKeditor->Height	= 220 ;
$oFCKeditor->Value		= '' ;
$oFCKeditor->Create() ;
<tpl>/php</tpl>
</div>			
			</td>
        </tr>
        <tr>
          <th width="150" height="35" bgcolor="#F5F9FA"></th>
          <td height="35" bgcolor="#FCFEFE">　
            <input name="chkShopRule" type="checkbox" id="chkShopRule" onclick="changeSubmit();" value="1" />
          <tpl> $langShopAgreeAndComply </tpl></td>
        </tr>
		<tr>
          <th width="150" height="35" align="right" bgcolor="#F5F9FA"><strong>
            <tpl> $langShopAgree </tpl>：</strong></th>
          <td height="35" bgcolor="#FCFEFE">
		  　<div style="width:90%; padding-left:10px">
            <tpl> include file='../../../html/shop_agreement.html' </tpl>
			</div>
			</td>
        </tr>
        <tr>
          <th height="35" colspan="2" align="center" valign="middle" bgcolor="#FFFFFF">
	
		  <input type="submit" disabled="disabled" class="new_anniu" name="submit" id="submit" value="<tpl> $langCsubmit </tpl>" /></th>
          </tr>
      </table>
    </form>
  </div><tpl> include file ='../../../html/footer.html' </tpl>
</div>
</div>
</body>
</html>