<!--{assign var='menuid' value=''}-->
<!--{assign var='usercpmod' value='yes'}-->
<!--{include file="<!--{$tplpath}-->cp/<!--{$tplpre}-->block_head.tpl"}-->
<body>
<!--{include file="<!--{$tplpath}--><!--{$tplpre}-->block_menu.tpl"}-->
<div id="page-index" class="page">
  <div class="zx">
    <!--{include file="<!--{$tplpath}--><!--{$tplpre}-->block_search.tpl"}-->
	<!--{include file="<!--{$tplpath}-->cp/<!--{$tplpre}-->block_menu.tpl"}-->
	
	<div class="zright">

	  <!--{if $a eq 'run'}--> 
      <div class="topmenu"> 
		<a href="<!--{$ucfile}-->?c=cond" class='now'>修改择友条件</a>
		<a href="<!--{$ucfile}-->?c=match">速配结果</a>
	  </div>
      <div class="tb1 hy">
        <div class="htitle">设置您的择友条件，系统将每日推送速配结果。</div>
         <form name="myform" id="myform" action="<!--{$ucfile}-->?c=cond" method="post" >
		 <input type="hidden" name="a" value="savecond" />
		  <table cellpadding='3' cellspacing='3' border='0' class='tab'>
              <tr>
                <td class='hback_b' width="20%">性 别 </td>
                <td class='hback'>
				<input type='radio' name='gender' id='gender' value='0'<!--{if $cond.gender==0}--> checked<!--{/if}--> />不限，
				<input type='radio' name='gender' id='gender' value='1'<!--{if $cond.gender==1}--> checked<!--{/if}--> />男会员，
				<input type='radio' name='gender' id='gender' value='2'<!--{if $cond.gender==2}--> checked<!--{/if}--> />女会员
				</td>
              </tr>
              <tr>
                <td class='hback_b'>年 龄 </td>
                <td class='hback'>
				<!--{hook mod='age' name='startage' text='不限' value=$cond.startage}--> 到 <!--{hook mod='age' name='endage' text='不限' value=$cond.endage}--> 岁
				</td>
              </tr>
              <tr>
                <td class='hback_b'>身 高 </td>
                <td class='hback'><!--{hook mod='height' name='startheight' text='不限' value=$cond.startheight}--> 到 <!--{hook mod='height' name='endheight' text='不限' value=$cond.endheight}--> 厘米</td>
              </tr>
              <tr>
                <td class='hback_b'>婚 史 </td>
                <td class='hback'><!--{hook mod='var' item='marrystatus' name='marry' type='checkbox' value=$cond.marry}--></td>
              </tr>
              <tr>
                <td class='hback_b'>交友类别</td>
                <td class='hback'><!--{hook mod='lovesort' name='lovesort' type='checkbox' value=$cond.lovesort}--></td>
              </tr>
              <tr>
                <td class='hback_b'>学 历 </td>
                <td class='hback'>
				<!--{hook mod='var' item='education' name='startedu' type='select' text='不限' value=$cond.startedu}--> 到 
				<!--{hook mod='var' item='education' name='endedu' type='select' text='不限' value=$cond.endedu}-->
				</td>
              </tr>
			  <!-- 所在地区 -->
              <tr>
                <td class='hback_b'>所在地区</td>
                <td class='hback'>

				<font color='#999999'>(最多设置5个地区，必须选择二级地区才会生效。)</font>
				<br />
				<!--{area type='dist1' name='province_1' value=$cond.arealist[0].province ajax='1' cname='city_1' cajax='0' text='==不限=='}-->&nbsp;&nbsp;
				<span id="json_city_1">
				<!--{area type='dist2' pvalue=$cond.arealist[0].province cname='city_1' cvalue=$cond.arealist[0].city text='==不限=='}-->
				</span>&nbsp;&nbsp;

				<br />
				<!--{area type='dist1' name='province_2' value=$cond.arealist[1].province ajax='1' cname='city_2' cajax='0' text='==不限=='}-->&nbsp;&nbsp;
				<span id="json_city_2">
				<!--{area type='dist2' pvalue=$cond.arealist[1].province cname='city_2' cvalue=$cond.arealist[1].city text='==不限=='}-->
				</span>&nbsp;&nbsp;

				<br />
				<!--{area type='dist1' name='province_3' value=$cond.arealist[2].province ajax='1' cname='city_3' cajax='0' text='==不限=='}-->&nbsp;&nbsp;
				<span id="json_city_3">
				<!--{area type='dist2' pvalue=$cond.arealist[2].province cname='city_3' cvalue=$cond.arealist[2].city text='==不限=='}-->
				</span>&nbsp;&nbsp;

				<br />
				<!--{area type='dist1' name='province_4' value=$cond.arealist[3].province ajax='1' cname='city_4' cajax='0' text='==不限=='}-->&nbsp;&nbsp;
				<span id="json_city_4">
				<!--{area type='dist2' pvalue=$cond.arealist[3].province cname='city_4' cvalue=$cond.arealist[3].city text='==不限=='}-->
				</span>&nbsp;&nbsp;

				<br />
				<!--{area type='dist1' name='province_5' value=$cond.arealist[4].province ajax='1' cname='city_5' cajax='0' text='==不限=='}-->&nbsp;&nbsp;
				<span id="json_city_5">
				<!--{area type='dist2' pvalue=$cond.arealist[4].province cname='city_5' cvalue=$cond.arealist[4].city text='==不限=='}-->
				</span>&nbsp;&nbsp;

				
				</td>
              </tr>
			  <tr>
				<td class='hback_b'>诚信星级 </td>
				<td class='hback'>
				<!--{hook mod='star' name='star' text='=不限=' value=$cond.star}-->&nbsp;&nbsp;星&nbsp;&nbsp;
				<select name='starup' id='starup'>
				<option value=''></option>
				<option value='1'<!--{if $cond.starup==1}--> selected<!--{/if}-->>以上</option>
				<option value='2'<!--{if $cond.starup==2}--> selected<!--{/if}-->>以下</option>
				</select>
				</td>
			  </tr>
              <tr>
                <td class='hback_b'>有无形象照 </td>
                <td class='hback'>
				<input type='radio' name='avatar' id='avatar' value='1'<!--{if $cond.avatar==1}--> checked<!--{/if}--> />有形象照，
				<input type='radio' name='avatar' id='avatar' value='0'<!--{if $cond.avatar==0}--> checked<!--{/if}--> />不限
				</td>
              </tr>
			  <tr>
				<td class='hback_none'></td>
				<td class='hback_none'>
				<a href="###" class="btn_b2" onclick="javascript:$('#myform').submit();"><span>编辑保存</span></a>
				</td>
			  </tr>
	      </table>
		  </form>
      </div>
	  <!--{/if}-->
	


    </div>
    <div style="clear:both;"></div>
  </div>
  <div style="clear:both;"></div>
</div>
<!--{include file="<!--{$tplpath}--><!--{$tplpre}-->block_footer.tpl"}-->
</body>
</html>