{strip}
<script type="text/javascript" src="javascript/cascade.js"></script>
<script type="text/javascript" src="javascript/pwd_strength.js"></script>

<script type="text/javascript">
/* <![CDATA[ */

function validateme(form)
{ldelim}
	var tz=form.txttimezone.value;
	var tos_ok = form.accept_tos.checked;

	ErrorCount=0;
	ErrorMsg = new Array();
	/* log details */
	{if $config.spam_code_length > 0}
		CheckFieldString("noblank",form.spam_code,"{lang mkey='errormsgs' skey='120'}");
	{/if}
	CheckFieldString("noblank",form.txtusername,"{lang mkey='signup_js_errors' skey='username_noblank'}");
	CheckFieldString("noblank",form.txtpassword,"{lang mkey='signup_js_errors' skey='password_noblank'}");

	/*log details*/
	
	CheckFieldString("full",form.txtpassword,"{lang mkey='signup_js_errors' skey='password_charset'}");

	CheckFieldString("noblank",form.txtpassword2,"{lang mkey='signup_js_errors' skey='con_password_noblank'}");
	/*profile*/
	CheckFieldString("noblank",form.txtemail,"{lang mkey='signup_js_errors' skey='email_noblank'}");
	CheckFieldString("email",form.txtemail,"{lang mkey='signup_js_errors' skey='email_notvalid'}");
	{ if $config.accept_profpic_signup == 'Y' && $config.accept_profpic_signup_must == 'Y' }
		CheckFieldString("noblank",form.txtimage,"{lang mkey='signup_js_errors' skey='profpic_noblank'}");
	{/if}

	{ if $config.accept_firstname == 'Y' || $config.accept_firstname == '1' }
		{if $config.firstname_mandatory == "Y"}
			CheckFieldString("noblank",form.txtfirstname,"{lang mkey='signup_js_errors' skey='firstname_noblank'}");
		{/if}
		
	{/if}
	{ if $config.accept_lastname == 'Y' || $config.accept_lastname == '1' }
		{if $config.lastname_mandatory == "Y"}
			CheckFieldString("noblank",form.txtlastname,"{lang mkey='signup_js_errors' skey='lastname_noblank'}");
		{/if}
		
	{/if}
	{ if $config.accept_about_me == 'Y' || $config.accept_about_me == '1' }
		{if $config.about_me_mandatory == "Y"}
			CheckFieldString("noblank",form.about_me,"{lang mkey='signup_js_errors' skey='about_me_noblank'}");
		{/if}
	{/if}

	{ if $config.accept_country == 'Y' || $config.accept_country == '1' }
		{if $config.country_mandatory }
			CheckFieldString("noblank",form.txtfrom,"{lang mkey='signup_js_errors' skey='country_noblank'}");
		{/if}
		{ if ($config.accept_state == 'Y' || $config.accept_state == '1') && $config.state_mandatory eq 'Y' }
			CheckFieldString("noblank",form.txtstateprovince,"{lang mkey='signup_js_errors' skey='stateprovince_noblank'}");
		{/if}
		{ if ($config.accept_county == 'Y' || $config.accept_county == '1') }
			{if $config.county_mandatory eq 'Y' }
			CheckFieldString("noblank",form.txtcounty,"{lang mkey='signup_js_errors' skey='county_noblank'}");
			{/if}
		{/if}
		{ if ($config.accept_city == 'Y' || $config.accept_city == '1') }
			{if $config.city_mandatory eq 'Y' }
			CheckFieldString("noblank",form.txtcity,"{lang mkey='signup_js_errors' skey='city_noblank'}");
			{/if}
		{/if}
		{ if ($config.accept_zipcode == 'Y' || $config.accept_zipcode == '1')}
			{if $config.zipcode_mandatory eq 'Y' }
			CheckFieldString("noblank",form.txtzip,"{lang mkey='signup_js_errors' skey='zip_noblank'}");
			{/if}
		{/if}
	{/if}

	if( form.txtpassword.value.length >= {$config.min_pass_len} && form.txtpassword.value.length <= {$config.max_pass_len}){ldelim}
		if ( form.txtpassword.value != form.txtpassword2.value ){ldelim}
			ErrorCount++;
				ErrorMsg[ErrorCount] = "{lang mkey='signup_js_errors' skey='password_nomatch'}"  ;
		{rdelim}
	{rdelim}else{ldelim}
		ErrorCount++;
		ErrorMsg[ErrorCount] = "{lang mkey='signup_js_errors' skey='password_outrange'} {lang mkey='Between'} "+"{$config.min_pass_len} - {$config.max_pass_len} {lang mkey='characters'}" ;
	{rdelim}
	{if $config.accept_timezone == 'Y' || $config.accept_timezone == '1'}
	if (tz == '-25' ) {ldelim}
		ErrorCount++;
		ErrorMsg[ErrorCount]="{lang mkey='signup_js_errors' skey='timezone_noblank'}";
	{rdelim}
	{/if}
	if (tos_ok != true) {ldelim}
		ErrorCount++;
		ErrorMsg[ErrorCount]="{lang mkey='tos_must'}";
	{rdelim}

	/* concat all error messages into one string */
	result="";
	if( ErrorCount > 0)
	{ldelim}
		result = "------------- 发生下列错误 ----------"+ String.fromCharCode(13)+ String.fromCharCode(10);
		for( c in ErrorMsg)
			result += ErrorMsg[c]+ String.fromCharCode(13)+ String.fromCharCode(10)+ String.fromCharCode(10);
		alert(result);
		return false;
	{rdelim}
	return true;
{rdelim}
/* ]]> */
function display_couple_details(fld) {ldelim}
	if (fld.value == 'C' || fld == 'C' || fld.value == 'G' || fld == 'G') {ldelim}
		var ret = '<table border=0 cellspacing=0 cellpadding=0 width="100%"><td valign="top" colspan="2"><b>{lang mkey="couple_usernames_hlp"}<//b><//td><//tr><tr><td height="3"><//td><//tr><tr><td valign="top" width="33.5%">{lang mkey="couple_usernames"}:<font color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}<//font><//td><td valign="top" width="66.5%"><input type="text" class="textinput" size="30" name="couple_usernames" value="{$smarty.session.couple_usernames}" /><//td><//tr><//table>';
	{rdelim} else {ldelim}
		var ret = '<input type="hidden" name="couple_usernames" value="" />';
	{rdelim}
	document.getElementById('couple_info').innerHTML = ret;
{rdelim}
</script>

{assign var="page_hdr01_text" value="{lang mkey='signup'}"}
{assign var="page_title" value="{lang mkey='signup'}"}
{include file="page_hdr01.tpl"}
<div class="module_detail_inside"  style="vertical-align:top; padding-left:6px;" >
	<div class="line_outer" style="padding-left: 2px;">
	{if $smarty.get.errid != ''}
		{include file="display_error.tpl"}
	{/if}
	<form name="frmSignup" id="frmSignup" method="post"  enctype="multipart/form-data" action="savesignup.php" onsubmit="javascript: return validateme(this);">
		<div style="padding-top: 10px; padding-bottom: 10px;">
			<font class="required_info">{$smarty.const.REQUIRED_INFO}</font> {lang mkey='required_info_indication'}
			<br />
		</div>
		<div >
			{assign var="page_hdr02_text" value="{lang mkey='signup_subtitle_login'}"}
			{include file="page_hdr02.tpl"}
			<div class="module_detail_inside" style="padding-left: 4px;">
			<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
				<tr>
					<td height="2" width="33%">{lang mkey='signup_username'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td height="2" width="67%"> <input class="textinput" maxlength="{$config.max_username_len}" name="txtusername" size="25" value="{$smarty.session.username}" />&nbsp;
					({$config.min_username_len}{lang mkey='to'}{$config.max_username_len}&nbsp;{lang mkey='characters'})
					</td>
				</tr>
				<tr>
					<td>{lang mkey='signup_password'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td> <input  type="password" class="textinput" name="txtpassword"  maxlength="{$config.max_pass_len}" size="25" value="{$password}"  onkeyup="runPassword(this.value, 'txtpassword');"/>&nbsp;({$config.min_pass_len}{lang mkey='to'}{$config.max_pass_len}&nbsp;{lang mkey='characters'})
					</td>
				</tr>
				<tr>
					<td>{lang mkey='signup_confirm_password'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td> <input class="textinput" type="password"  name="txtpassword2" maxlength="{$config.max_pass_len}" size="25" value="{$password2}" />
					</td>
				</tr>
				<tr>
					<td valign="top">{lang mkey='pwd_strength'}:</td>
					<td width="67%">
						<div style="width:100%;">
							<div id="txtpassword_bar"class="password_bar">
							</div>
							<div id="txtpassword_text" class="password_text">
							</div>
						</div>
					</td>
				</tr>

			</table>
			</div>
		</div>
		<br />
		<div >
			{assign var="page_hdr02_text" value="{lang mkey='signup_subtitle_profile'}"}
			{include file="page_hdr02.tpl"}
			<div class="module_detail_inside" style="padding-left: 4px;">
			<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
			{if $config.accept_firstname == 'Y' or $config.accept_firstname == '1'}
				<tr>
					<td width="33%">{lang mkey='signup_firstname'}
					{if $config.firstname_mandatory == 'Y' or $config.firstname_mandatory == '1'}
						<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					{/if}
					</td>
					<td width="67%"><input class="textinput" maxlength="50" name="txtfirstname" value="{$smarty.session.firstname}" /></td>
				</tr>
			{/if}
			{if $config.accept_lastname == 'Y' or $config.accept_lastname == '1'}
				<tr>
					<td>{lang mkey='signup_lastname'}
					{if $config.lastname_mandatory == 'Y' or $config.lastname_mandatory == '1'}
						<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					{/if}
					</td>
					<td> <input class="textinput" maxlength="50" name="txtlastname" value="{$smarty.session.lastname}" /> </td>
				</tr>
			{/if}
				<tr>
					<td>{lang mkey='signup_email'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td> <input class="textinput" maxlength="255" name="txtemail" size="40" value="{$smarty.session.email}" />
					</td>
				</tr>
				<tr>
					<td>{lang mkey='signup_gender'}:
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					</td>
					<td> <select class="select" style="width: 80px;" name="txtgender" onchange="javascript: display_couple_details(this);">
					{html_options options=$lang.signup_gender_values selected=$smarty.session.gender}
					</select>&nbsp;
					{if $config.accept_lookgender == 'Y' or $config.accept_lookgender == '1'}
						{lang mkey='looking_for_a'}&nbsp;
						<select class="select" style="width: 100px;" name="txtlookgender">
						{if $smarty.session.lookgender == ''}
						{html_options options=$lang.signup_gender_look selected='F'}
						{else}
						{html_options options=$lang.signup_gender_look selected=$smarty.session.lookgender }
						{/if}
						</select>
					{else}
						<input type="hidden" value="A" name="txtlookgender" />
					{/if}
					</td>
				</tr>
				<tr >
					<td colspan="2" id="couple_info"><input name="couple_usernames" type=hidden value="" />
					</td>
				</tr>
				{if $config.accept_lookage == 'Y' or $config.accept_lookage == '1'}
				<tr>
					<td>{lang mkey='signup_pref_age_range'}:
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td> <select class="select" style="width: 50px" name="txtlookagestart">
					{html_options values=$lang.start_agerange output=$lang.start_agerange selected=$smarty.session.txtlookagestart}
					</select>{lang mkey='to'}<select class="select" style="width: 50px" name="txtlookageend">
					{html_options values=$lang.end_agerange output=$lang.end_agerange selected=$smarty.session.txtlookageend}
					</select>&nbsp;
					{lang mkey='signup_year_old'}. </td>
				</tr>
				{/if}
				<tr>
					<td>{lang mkey='signup_birthday'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font></td>
					<td>
					{html_select_date_translated prefix="txtbirth" start_year=$config.start_year end_year=$config.end_year month_value_format="%m" time=$selectedtime}
					</td>
				</tr>
 <tr>
					<td width="33%">
						{lang mkey='signup_height'}
					</td>
					<td width="67%">
						<select class="select" style="width: 175px;" name="txtheight"  id="txtheight" onChange="javascript: this.form.chgcntry.value='1'; cascadeCountryL(this.value,'txtlookstateprovince');" >
<option value="0">{lang mkey='tell_later'}</option>
<option value="152">4' 7" (140 公分) 以下</option>
<option value="79141">4' 8" (141 公分)</option>
<option value="153">4' 8" (142 公分)</option>
<option value="79143">4' 9" (143 公分)</option>
<option value="79144">4' 9" (144 公分)</option>
<option value="154">4' 9" (145 公分)</option>
<option value="79146">4' 10" (146 公分)</option>
<option value="155">4' 10" (147 公分)</option>
<option value="79148">4' 11" (148 公分)</option>
<option value="79149">4' 11" (149 公分)</option>
<option value="156">4' 11" (150 公分)</option>
<option value="79151">5' 0" (151 公分)</option>
<option value="157">5' 0" (152 公分)</option>
<option value="79153">5' 1" (153 公分)</option>
<option value="79154">5' 1" (154 公分)</option>
<option value="158">5' 1" (155 公分)</option>
<option value="79156">5' 2" (156 公分)</option>
<option value="160">5' 2" (157 公分)</option>
<option value="79158">5' 3" (158 公分)</option>
<option value="79159">5' 3" (159 公分)</option>
<option value="161">5' 3" (160 公分)</option>
<option value="79161">5' 4" (161 公分)</option>
<option value="162">5' 4" (162 公分)</option>
<option value="79163">5' 5" (163 公分)</option>
<option value="79164">5' 5" (164 公分)</option>
<option value="163">5' 5" (165 公分)</option>
<option value="79166">5' 6" (166 公分)</option>
<option value="164">5' 6" (167 公分)</option>
<option value="79168">5' 7" (168 公分)</option>
<option value="79169">5' 7" (169 公分)</option>
<option value="165">5' 7" (170 公分)</option>
<option value="79171">5' 8" (171 公分)</option>
<option value="79172">5' 8" (172 公分)</option>
<option value="166">5' 8" (173 公分)</option>
<option value="79174">5' 9" (174 公分)</option>
<option value="167">5' 9" (175 公分)</option>
<option value="79176">5' 10" (176 公分)</option>
<option value="79177">5' 10" (177 公分)</option>
<option value="168">5' 10" (178 公分)</option>
<option value="79179">5' 11" (179 公分)</option>
<option value="169">5' 11" (180 公分)</option>
<option value="79181">6' 0" (181 公分)</option>
<option value="79182">6' 0" (182 公分)</option>
<option value="170">6' 0" (183 公分)</option>
<option value="79184">6' 1" (184 公分)</option>
<option value="171">6' 1" (185 公分)</option>
<option value="79186">6' 2" (186 公分)</option>
<option value="79187">6' 2" (187 公分)</option>
<option value="172">6' 2" (188 公分)</option>
<option value="79189">6' 3" (189 公分)</option>
<option value="173">6' 3" (190 公分)</option>
<option value="79191">6' 4" (191 公分)</option>
<option value="79192">6' 4" (192 公分)</option>
<option value="174">6' 4" (193 公分)</option>
<option value="79194">6' 5" (194 公分)</option>
<option value="79195">6' 5" (195 公分)</option>
<option value="175">6' 5" (196 公分)</option>
<option value="79197">6' 6" (197 公分)</option>
<option value="176">6' 6" (198 公分)</option>
<option value="79199">6' 7" (199 公分)</option>
<option value="79200">6' 7" (200 公分)</option>
<option value="177">6' 7" (201 公分)</option>
<option value="79202">6' 8" (202 公分)</option>
<option value="178">6' 8" (203 公分)</option>
<option value="79204">6' 9" (204 公分)</option>
<option value="79205">6' 9" (205 公分)</option>
<option value="179">6' 9" (206 公分)</option>
<option value="180">6' 10" (208 公分)</option>
<option value="181">6' 11" (211 公分)</option>
<option value="182">7' 0" (213 公分)</option>
<option value="183">7' 1" (216 公分)</option>
<option value="184">7' 2" (218 公分)</option>
<option value="185">7' 3" (221 公分)</option>
<option value="186">7' 4" (224 公分)</option>
<option value="187">7' 5" (226 公分)</option>
<option value="188">7' 6" (229 公分)</option>
<option value="189">7' 7" (231 公分)</option>
<option value="190">7' 8" (234 公分)</option>
<option value="191">7' 9" (236 公分)</option>
<option value="192">7' 10" (239 公分) 以上</option>
						</select>
					</td>
				</tr>   
                
 <tr>
					<td width="33%">
						{lang mkey='signup_weight'}
					</td>
					<td width="67%">
						<select class="select" style="width: 175px;" name="txtweight"  id="txtweight" onChange="javascript: this.form.chgcntry.value='1'; cascadeCountryL(this.value,'txtlookstateprovince');" >
<option value="0">{lang mkey='tell_later'}</option>
<option value="243">78 磅 (35.4 公斤) 以下</option>
<option value="244">78 磅 (35.4 公斤)</option>
<option value="245">79 磅 (35.8 公斤)</option>
<option value="246">80 磅 (36.3 公斤)</option>
<option value="247">81 磅 (36.7 公斤)</option>
<option value="248">82 磅 (37.2 公斤)</option>
<option value="249">83 磅 (37.6 公斤)</option>
<option value="250">84 磅 (38.1 公斤)</option>
<option value="251">85 磅 (38.6 公斤)</option>
<option value="252">86 磅 (39 公斤)</option>
<option value="253">87 磅 (39.5 公斤)</option>
<option value="254">88 磅 (39.9 公斤)</option>
<option value="255">89 磅 (40.4 公斤)</option>
<option value="256">90 磅 (40.8 公斤)</option>
<option value="257">91 磅 (41.3 公斤)</option>
<option value="258">92 磅 (41.7 公斤)</option>
<option value="259">93 磅 (42.2 公斤)</option>
<option value="260">94 磅 (42.6 公斤)</option>
<option value="261">95 磅 (43.1 公斤)</option>
<option value="262">96 磅 (43.5 公斤)</option>
<option value="263">97 磅 (44 公斤)</option>
<option value="264">98 磅 (44.5 公斤)</option>
<option value="265">99 磅 (44.9 公斤)</option>
<option value="266">100 磅 (45.4 公斤)</option>
<option value="267">101 磅 (45.8 公斤)</option>
<option value="268">102 磅 (46.3 公斤)</option>
<option value="269">103 磅 (46.7 公斤)</option>
<option value="270">104 磅 (47.2 公斤)</option>
<option value="271">105 磅 (47.6 公斤)</option>
<option value="272">106 磅 (48.1 公斤)</option>
<option value="273">107 磅 (48.5 公斤)</option>
<option value="274">108 磅 (49 公斤)</option>
<option value="275">109 磅 (49.4 公斤)</option>
<option value="276">110 磅 (49.9 公斤)</option>
<option value="277">111 磅 (50.3 公斤)</option>
<option value="278">112 磅 (50.8 公斤)</option>
<option value="279">113 磅 (51.3 公斤)</option>
<option value="280">114 磅 (51.7 公斤)</option>
<option value="281">115 磅 (52.2 公斤)</option>
<option value="282">116 磅 (52.6 公斤)</option>
<option value="283">117 磅 (53.1 公斤)</option>
<option value="284">118 磅 (53.5 公斤)</option>
<option value="285">119 磅 (54 公斤)</option>
<option value="286">120 磅 (54.4 公斤)</option>
<option value="287">121 磅 (54.9 公斤)</option>
<option value="288">122 磅 (55.3 公斤)</option>
<option value="289">123 磅 (55.8 公斤)</option>
<option value="290">124 磅 (56.2 公斤)</option>
<option value="291">125 磅 (56.7 公斤)</option>
<option value="292">126 磅 (57.2 公斤)</option>
<option value="293">127 磅 (57.6 公斤)</option>
<option value="294">128 磅 (58.1 公斤)</option>
<option value="295">129 磅 (58.5 公斤)</option>
<option value="296">130 磅 (59 公斤)</option>
<option value="297">131 磅 (59.4 公斤)</option>
<option value="298">132 磅 (59.9 公斤)</option>
<option value="299">133 磅 (60.3 公斤)</option>
<option value="300">134 磅 (60.8 公斤)</option>
<option value="301">135 磅 (61.2 公斤)</option>
<option value="302">136 磅 (61.7 公斤)</option>
<option value="303">137 磅 (62.1 公斤)</option>
<option value="304">138 磅 (62.6 公斤)</option>
<option value="305">139 磅 (63.1 公斤)</option>
<option value="306">140 磅 (63.5 公斤)</option>
<option value="307">141 磅 (64 公斤)</option>
<option value="308">142 磅 (64.4 公斤)</option>
<option value="309">143 磅 (64.9 公斤)</option>
<option value="310">144 磅 (65.3 公斤)</option>
<option value="311">145 磅 (65.8 公斤)</option>
<option value="312">146 磅 (66.2 公斤)</option>
<option value="313">147 磅 (66.7 公斤)</option>
<option value="314">148 磅 (67.1 公斤)</option>
<option value="315">149 磅 (67.6 公斤)</option>
<option value="316">150 磅 (68 公斤)</option>
<option value="317">151 磅 (68.5 公斤)</option>
<option value="318">152 磅 (68.9 公斤)</option>
<option value="319">153 磅 (69.4 公斤)</option>
<option value="320">154 磅 (69.9 公斤)</option>
<option value="321">155 磅 (70.3 公斤)</option>
<option value="322">156 磅 (70.8 公斤)</option>
<option value="323">157 磅 (71.2 公斤)</option>
<option value="324">158 磅 (71.7 公斤)</option>
<option value="325">159 磅 (72.1 公斤)</option>
<option value="326">160 磅 (72.6 公斤)</option>
<option value="327">161 磅 (73 公斤)</option>
<option value="328">162 磅 (73.5 公斤)</option>
<option value="329">163 磅 (73.9 公斤)</option>
<option value="330">164 磅 (74.4 公斤)</option>
<option value="331">165 磅 (74.8 公斤)</option>
<option value="332">166 磅 (75.3 公斤)</option>
<option value="333">167 磅 (75.8 公斤)</option>
<option value="334">168 磅 (76.2 公斤)</option>
<option value="335">169 磅 (76.7 公斤)</option>
<option value="336">170 磅 (77.1 公斤)</option>
<option value="337">171 磅 (77.6 公斤)</option>
<option value="338">172 磅 (78 公斤)</option>
<option value="339">173 磅 (78.5 公斤)</option>
<option value="340">174 磅 (78.9 公斤)</option>
<option value="341">175 磅 (79.4 公斤)</option>
<option value="342">176 磅 (79.8 公斤)</option>
<option value="343">177 磅 (80.3 公斤)</option>
<option value="344">178 磅 (80.7 公斤)</option>
<option value="345">179 磅 (81.2 公斤)</option>
<option value="346">180 磅 (81.6 公斤)</option>
<option value="347">181 磅 (82.1 公斤)</option>
<option value="348">182 磅 (82.6 公斤)</option>
<option value="349">183 磅 (83 公斤)</option>
<option value="350">184 磅 (83.5 公斤)</option>
<option value="351">185 磅 (83.9 公斤)</option>
<option value="352">186 磅 (84.4 公斤)</option>
<option value="353">187 磅 (84.8 公斤)</option>
<option value="354">188 磅 (85.3 公斤)</option>
<option value="355">189 磅 (85.7 公斤)</option>
<option value="356">190 磅 (86.2 公斤)</option>
<option value="357">191 磅 (86.6 公斤)</option>
<option value="358">192 磅 (87.1 公斤)</option>
<option value="359">193 磅 (87.5 公斤)</option>
<option value="360">194 磅 (88 公斤)</option>
<option value="361">195 磅 (88.5 公斤)</option>
<option value="362">196 磅 (88.9 公斤)</option>
<option value="363">197 磅 (89.4 公斤)</option>
<option value="364">198 磅 (89.8 公斤)</option>
<option value="365">199 磅 (90.3 公斤)</option>
<option value="366">200 磅 (90.7 公斤)</option>
<option value="10111">201 磅 (91.2 公斤)</option>
<option value="10112">202 磅 (91.6 公斤)</option>
<option value="10113">203 磅 (92.1 公斤)</option>
<option value="10114">204 磅 (92.5 公斤)</option>
<option value="10115">205 磅 (93 公斤)</option>
<option value="10116">206 磅 (93.4 公斤)</option>
<option value="10117">207 磅 (93.9 公斤)</option>
<option value="10118">208 磅 (94.3 公斤)</option>
<option value="10119">209 磅 (94.8 公斤)</option>
<option value="10120">210 磅 (95.2 公斤)</option>
<option value="10121">211 磅 (95.7 公斤)</option>
<option value="10122">212 磅 (96.1 公斤)</option>
<option value="10123">213 磅 (96.6 公斤)</option>
<option value="10124">214 磅 (97 公斤)</option>
<option value="10125">215 磅 (97.5 公斤)</option>
<option value="10126">216 磅 (97.9 公斤)</option>
<option value="10127">217 磅 (98.3 公斤)</option>
<option value="10128">218 磅 (98.8 公斤)</option>
<option value="10129">219 磅 (99.2 公斤)</option>
<option value="10130">220 磅 (99.7 公斤)</option>
<option value="10131">221 磅 (100.2 公斤)</option>
<option value="10132">222 磅 (100.6 公斤)</option>
<option value="10133">223 磅 (101 公斤)</option>
<option value="10134">224 磅 (101.5 公斤)</option>
<option value="10135">225 磅 (101.9 公斤)</option>
<option value="10136">226 磅 (102.3 公斤)</option>
<option value="10137">227 磅 (102.8 公斤)</option>
<option value="10138">228 磅 (103.2 公斤)</option>
<option value="10139">229 磅 (103.7 公斤)</option>
<option value="10140">230 磅 (104.1 公斤)</option>
<option value="10141">231 磅 (104,6 公斤)</option>
<option value="10142">232 磅 (105 公斤)</option>
<option value="10143">233 磅 (105.5 公斤)</option>
<option value="10144">234 磅 (105.9 公斤)</option>
<option value="10145">235 磅 (106.4 公斤)</option>
<option value="10146">236 磅 (106.8 公斤)</option>
<option value="10147">237 磅 (107.3 公斤)</option>
<option value="10148">238 磅 (107.7 公斤)</option>
<option value="10149">239 磅 (108.2 公斤)</option>
<option value="10150">240 磅 (108.6 公斤)</option>
<option value="10151">241 磅 (109.1 公斤)</option>
<option value="10152">242 磅 (109.5 公斤)</option>
<option value="10153">243 磅 (110 公斤)</option>
<option value="10154">244 磅 (110.4 公斤)</option>
<option value="10155">245 磅 (110.9 公斤)</option>
<option value="10156">246 磅 (111.3 公斤)</option>
<option value="10157">247 磅 (111.8 公斤)</option>
<option value="10158">248 磅 (112.2 公斤)</option>
<option value="10159">249 磅 (112.7 公斤)</option>
<option value="10160">250 磅 (113.1 公斤)</option>
<option value="10161">251 磅 (113,6 公斤)</option>
<option value="10162">252 磅 (114 公斤)</option>
<option value="10163">253 磅 (114.5 公斤)</option>
<option value="10164">254 磅 (114.9 公斤)</option>
<option value="10165">255 磅 (115.3 公斤)</option>
<option value="10166">256 磅 (115.8 公斤)</option>
<option value="10167">257 磅 (116.2 公斤)</option>
<option value="10168">258 磅 (116.7 公斤)</option>
<option value="10169">259 磅 (117.1 公斤)</option>
<option value="10170">260 磅 (117.6 公斤)</option>
<option value="10171">261 磅 (118 公斤)</option>
<option value="10172">262 磅 (118.5 公斤)</option>
<option value="10173">263 磅 (118.9 公斤)</option>
<option value="10174">264 磅 (119.4 公斤)</option>
<option value="10175">265 磅 (119.8 公斤)</option>
<option value="10176">266 磅 (120.3 公斤)</option>
<option value="10177">267 磅 (120.7 公斤)</option>
<option value="10178">268 磅 (121.1 公斤)</option>
<option value="10179">269 磅 (121.6 公斤)</option>
<option value="10180">270 磅 (122 公斤)</option>
<option value="10181">271 磅 (122.5 公斤)</option>
<option value="10182">272 磅 (122.9 公斤)</option>
<option value="10183">273 磅 (123.3 公斤)</option>
<option value="10184">274 磅 (123.8 公斤)</option>
<option value="10185">275 磅 (124.2 公斤)</option>
<option value="10186">276 磅 (124.7 公斤)</option>
<option value="10187">277 磅 (125.1 公斤)</option>
<option value="10188">278 磅 (125.5 公斤)</option>
<option value="10189">279 磅 (126 公斤)</option>
<option value="10190">280 磅 (126.4 公斤)</option>
<option value="10191">281 磅 (126.9 公斤)</option>
<option value="10192">282 磅 (127.3 公斤)</option>
<option value="10193">283 磅 (127.8 公斤)</option>
<option value="10194">284 磅 (128.2 公斤)</option>
<option value="10195">285 磅 (128.7 公斤)</option>
<option value="10196">286 磅 (129.1 公斤)</option>
<option value="10197">287 磅 (129.6 公斤)</option>
<option value="10198">288 磅 (130 公斤)</option>
<option value="10199">289 磅 (130.5 公斤)</option>
<option value="10200">290 磅 (130.9 公斤)</option>
<option value="10201">291 磅 (131.3 公斤)</option>
<option value="10202">292 磅 (131.8 公斤)</option>
<option value="10203">293 磅 (132.2 公斤)</option>
<option value="10204">294 磅 (132.7 公斤)</option>
<option value="10205">295 磅 (133.1 公斤)</option>
<option value="10206">296 磅 (133.6 公斤)</option>
<option value="10207">297 磅 (134 公斤)</option>
<option value="10208">298 磅 (134.5 公斤)</option>
<option value="10209">299 磅 (134.9 公斤)</option>
<option value="10210">300 磅 (135.3 公斤)</option>
<option value="10211">301 磅 (135.8 公斤)</option>
<option value="10212">302 磅 (136.2 公斤)</option>
<option value="10213">303 磅 (136.7 公斤)</option>
<option value="10214">304 磅 (137.1 公斤)</option>
<option value="10215">305 磅 (137.6 公斤)</option>
<option value="10216">306 磅 (138 公斤)</option>
<option value="10217">307 磅 (138.5 公斤)</option>
<option value="10218">308 磅 (138.9 公斤)</option>
<option value="10219">309 磅 (139.4 公斤)</option>
<option value="10220">310 磅 (139.8 公斤)</option>
<option value="10221">311 磅 (140.3 公斤)</option>
<option value="10222">312 磅 (140.7 公斤)</option>
<option value="10223">313 磅 (141.1 公斤)</option>
<option value="10224">314 磅 (141.6 公斤)</option>
<option value="10225">315 磅 (142 公斤)</option>
<option value="10226">316 磅 (142.5 公斤)</option>
<option value="10227">317 磅 (142.9 公斤)</option>
<option value="10228">318 磅 (143.4 公斤)</option>
<option value="10229">319 磅 (143.8 公斤)</option>
<option value="10230">320 磅 (144.3 公斤)</option>
<option value="10231">321 磅 (144.7 公斤)</option>
<option value="10232">322 磅 (145.2 公斤)</option>
<option value="10233">323 磅 (145.6 公斤)</option>
<option value="10234">324 磅 (146.1 公斤)</option>
<option value="10235">325 磅 (146.6 公斤)</option>
<option value="10236">326 磅 (147 公斤)</option>
<option value="10237">327 磅 (147.5 公斤)</option>
<option value="10238">328 磅 (147.9 公斤)</option>
<option value="10239">329 磅 (148.4 公斤)</option>
<option value="10240">330 磅 (148.8 公斤)</option>
<option value="10241">331 磅 (149.3 公斤)</option>
<option value="10242">332 磅 (149.7 公斤)</option>
<option value="10243">333 磅 (150.2 公斤)</option>
<option value="10244">334 磅 (150.6 公斤)</option>
<option value="10245">335 磅 (151.1 公斤)</option>
<option value="10246">336 磅 (151.6 公斤)</option>
<option value="10247">337 磅 (152 公斤)</option>
<option value="10248">338 磅 (152.5 公斤)</option>
<option value="10249">339 磅 (152.9 公斤)</option>
<option value="10250">340 磅 (153.3 公斤)</option>
<option value="10251">341 磅 (153.8 公斤)</option>
<option value="10252">342 磅 (154.2 公斤)</option>
<option value="10253">343 磅 (154.7 公斤)</option>
<option value="10254">344 磅 (155.1 公斤)</option>
<option value="10255">345 磅 (155.6 公斤)</option>
<option value="10256">346 磅 (156 公斤)</option>
<option value="10257">347 磅 (156.5 公斤)</option>
<option value="10258">348 磅 (156.9 公斤)</option>
<option value="10259">349 磅 (157.4 公斤)</option>
<option value="10260">350 磅 (157.8 公斤)</option>
<option value="10261">350 磅 (157.8 公斤) 以上</option>
						</select>
					</td>
				</tr>                
			</table>
			</div>
		</div>
		{if $config.accept_lookage != 'Y' and $config.accept_lookage != '1'}
			<input type="hidden" name="txtlookagestart" value="{$smarty.session.txtlookagestart}" />
			<input type="hidden" name="txtlookageend" value="{$smarty.session.txtlookageend}" />
		{/if}
		{if $config.accept_country != '1' and $config.accept_country != 'Y'}
			<input type="hidden" name="txttimezone" value="{$smarty.session.timezone}" />
		{/if}
		<br />
		{if $config.accept_country == '1' or $config.accept_country == 'Y'}
			{if $config.accept_timezone != '1' and $config.accept_timezone != 'Y'}
				<input type="hidden" name="txttimezone" value="{$smarty.session.timezone}" />
			{/if}
		<div >
			{assign var="page_hdr02_text" value="{lang mkey='signup_subtitle_address'}"}
			{include file="page_hdr02.tpl"}
			<div class="module_detail_inside" style="padding-left: 4px;">
			<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" id="tbl2">
			{if $config.accept_timezone == '1' or $config.accept_timezone == 'Y'}
				<tr>
					<td>
						{lang mkey='timezone'}
						{if $config.timezone_mandatory == 'Y' or $config.timezone_mandatory == '1'}
							<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
						{/if}
					</td>
					<td>

						<select class="select" style="width: 315px;" name="txttimezone">
						{html_options options=$lang.tz selected=$smarty.session.timezone}
						</select>
					</td>
				</tr>
			{/if}
			{if $config.accept_country != 'Y' and $config.accept_country != '1'}
				<input name="txtfrom" type="hidden" value="AA" />
				<input name="txtstateprovince" type="hidden" value="AA" />
				<input name="txtcounty" type="hidden" value="AA" />
				<input name="txtcity" type="hidden" value="AA" />
				<input name="txtzip" type="hidden" value="AA" />
			{else }
				<tr>
					<td width="33%">{lang mkey='signup_country'}
					{if $config.country_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					{/if}
					 </td>
						<td width="67%"><select class="select" style="width: 175px;" name="txtfrom" id="txtfrom"  {if $config.accept_state == 'Y' or $config.accept_state == '1'}onchange="javascript:  cascadeCountry(this.value);"{elseif $config.accept_county == 'Y' or $config.accept_county == '1'}onchange="javascript:  cascadeState('AA', this.value);"{elseif $config.accept_city =='Y' or $config.accept_city =='1'}onchange="javascript:  cascadeCounty('AA',this.value,'AA');"{elseif $config.accept_zipcode =='Y' or $config.accept_zipcode == '1'} onchange="javascript:  cascadeCity('AA',this.value,'AA','AA');" {/if} >{if $config.country_mandatory != 'N'}<option value="">{lang mkey='select_country'}</option>{/if}
						{html_options options=$lang.countries selected=$address.from}
						</select>
						{if $config.accept_state != '1' && $config.accept_state != 'Y'}
							<input name="txtstateprovince" type="hidden" value="AA" />
						{/if}
						{if $config.accept_county != '1' && $config.accept_county != 'Y'}
							<input name="txtcounty" type="hidden" value="AA" />
						{/if}
						{if $config.accept_city != '1' && $config.accept_city != 'Y'}
							<input name="txtcity" type="hidden" value="AA" />
						{/if}
						{if $config.accept_zipcode != '1' && $config.accept_zipcode != 'Y'}
							<input name="txtzip" type="hidden" value="AA" />
						{/if}
					</td>
				</tr>
					{if $config.accept_state == '1' or $config.accept_state == 'Y'}
				<tr>
					<td width="172">
					{lang mkey='signup_state_province'}{if $config.state_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
						{/if}
					</td>
					<td width="344" id="txtstateprovince">
						{ if $lang.states|@count > 0}
					<select class="select" style="width: 175px" name="txtstateprovince" {if $config.accept_county == 'Y' or $config.accept_county == '1'}onchange="javascript:  cascadeState(this.value, this.form.txtfrom.value);"{elseif $config.accept_city =='Y' or $config.accept_city =='1'}onchange="javascript:  cascadeCounty('AA',this.form.txtfrom.value, this.value);"{elseif $config.accept_zipcode =='Y' or $config.accept_zipcode == '1'} onchange="javascript:  cascadeCity('AA', this.form.txtfrom.value, this.value, 'AA');" {/if}><option value="">{lang mkey='select_state'}</option>
					{html_options options=$lang.states selected=$address.stateprovince}
					</select>
						{ else }
					<input name="txtstateprovince" type="text" class="textinput" size="30" maxlength="100" value="{if $address.stateprovince != 'AA'}{$address.stateprovince}{/if}" />
						{ /if}
					</td>
				</tr>
					{/if}
					{if $config.accept_county == '1' or $config.accept_county == 'Y'}
				<tr>
					<td width="172">{lang mkey='manage_counties'}:{if $config.county_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
							{/if}
					</td>
					<td width="344" id="txtcounty">
							{ if $lang.counties|@count > 0}
					<select class="select" style="width: 175px" name="txtcounty" {if $config.accept_city =='Y' or $config.accept_city =='1'}onchange="javascript:  cascadeCounty(this.value,this.form.txtfrom.value, this.form.txtstateprovince.value);"{elseif $config.accept_zipcode =='Y' or $config.accept_zipcode == '1'} onchange="javascript:  cascadeCity('AA', this.form.txtfrom.value, this.form.txtstateprovince.value, this.value);" {/if} >
					{html_options options=$lang.counties selected=$address.countycode}
					</select>
							{ else }
					<input name="txtcounty" type="text" class="textinput" size="30" maxlength="100" value="{if $address.countycode != 'AA'}{$address.countycode}{/if}" />
						{ /if}
					</td>
				</tr>
						{/if}
						{if $config.accept_city == '1' or $config.accept_city == 'Y'}
				<tr>
					<td>
						{lang mkey='signup_city'}{if $config.city_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
								{/if}
					</td>
					<td id="txtcity">
							{ if $lang.cities|@count > 0}
					<select class="select" style="width: 175px" name="txtcity"  {if $config.accept_zipcode =='Y' or $config.accept_zipcode == '1'} {if $config.accept_county =='1' or $config.accept_county =='Y'} onchange="javascript: cascadeCity(this.value, this.form.txtfrom.value, this.form.txtstateprovince.value, this.form.txtcounty.value);"{else}onchange="javascript:  cascadeCity(this.value, this.form.txtfrom.value, this.form.txtstateprovince.value, 'AA');" {/if}{/if} >
					{html_options options=$lang.cities selected=$address.citycode}
					</select>
							{ else }
					<input name="txtcity" type="text" class="textinput" size="30" maxlength="100" value="{if $address.citycode != 'AA'}{$address.citycode}{/if}" />
							{ /if}
					</td>
				</tr>
						{/if}
						{if $config.accept_zipcode == '1' or $config.accept_zipcode == 'Y'}
				<tr>
					<td>
						{lang mkey='signup_zip'}{if $config.zipcode_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
								{/if}
					</td>
					<td id="txtzip">
							{ if $lang.zipcodes|@count > 0}
					<select class="select" style="width: 175px" name="txtzip">
					{html_options options=$lang.zipcodes selected=$address.zip}
					</select>
							{ else }
					<input name="txtzip" type="text" class="textinput" size="30" maxlength="100" value="{if $address.zip!='AA'}{$address.zip}{/if}" />
							{ /if}
					</td>
				</tr>
						{/if}
						{if $config.accept_address_line1 == '1' or $config.accept_address_line1 == 'Y'}
				<tr>
					<td>
						{lang mkey='signup_address1'}
					</td>
					<td>
						<input class="textinput" maxlength="255" name="txtaddress1" size="40" value="{$smarty.session.address1}" />
					</td>
				</tr>
							{if $config.accept_address_line2 == '1' or $config.accept_address_line2 == 'Y'}
				<tr>
					<td height="22">
						{lang mkey='signup_address2'}
					</td>
					<td height="22">
						<input class="textinput" maxlength="255" name="txtaddress2" size="40" value="{$smarty.session.address2}" />
					</td>
				</tr>
							{/if}
						{/if}
			{/if}
			</table>
			</div>
		</div>
		<br />
		{/if}
		{if $config.accept_lookcountry == '1' or $config.accept_lookcountry == 'Y' or $config.accept_allow_viewonline == '1' or $config.accept_allow_viewonline == 'Y'}
			{if ($config.accept_lookcountry == 'Y' or $config.accept_lookcountry == '1') and ($config.accept_country == 'Y' or $config.accept_country == '1')}
			{assign var="page_hdr02_text" value="{lang mkey='signup_subtitle_preference'}"}
			{include file="page_hdr02.tpl"}
			<div class="module_detail_inside" style="padding-left: 4px;">
			<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" id="tbl">
				<tr>
					<td colspan="2"><b>{lang mkey='signup_where_should_we_look'}</b></td>
				</tr>
				<tr>
					<td width="33%">
						{lang mkey='signup_country'}
						{if $config.lookcountry_mandatory == 'Y'}
						<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
						{/if}
					</td>
					<td width="67%">
						<select class="select" style="width: 175px;" name="txtlookfrom"  id="txtlookfrom" {if ($config.accept_state == 'Y' or $config.accept_state == '1') and ($config.accept_lookstate == 'Y' or $config.accept_lookstate == '1') } onChange="cascadeCountryL(this.value);"{elseif  ($config.accept_county == 'Y' or $config.accept_county == '1') and ($config.accept_lookcounty == 'Y' or $config.accept_lookcounty == '1')} onChange="cascadeStateL('AA', this.value);"{elseif  ($config.accept_city == 'Y' or $config.accept_city == '1') and ($config.accept_lookcity == 'Y' or $config.accept_lookcity == '1')} onChange="cascadeCountyL('AA', this.value, 'AA');"{elseif  ($config.accept_zipcode == 'Y' or $config.accept_zipcode == '1') and ($config.accept_lookzipcode == 'Y' or $config.accept_lookzipcode == '1')} onChange="cascadeCityL('AA', this.value,'AA','AA');"{/if}>
						{html_options options=$lang.allcountries selected=$smarty.session.lookfrom}
						</select>
						{if $config.accept_state != '1' && $config.accept_state != 'Y' && $config.accept_lookstate != 'Y' or $config.accept_lookstate != '1'}
							<input name="txtlookstateprovince" type="hidden" value="AA" />
						{/if}
						{if $config.accept_county != '1' && $config.accept_county != 'Y' && $config.accept_lookcounty != 'Y' or $config.accept_lookcounty != '1'}
							<input name="txtlookcounty" type="hidden" value="AA" />
						{/if}
						{if $config.accept_city != '1' && $config.accept_city != 'Y' && $config.accept_lookcity != 'Y' or $config.accept_lookcity != '1'}
							<input name="txtlookcity" type="hidden" value="AA" />
						{/if}
						{if $config.accept_zipcode != '1' && $config.accept_zipcode != 'Y' && $config.accept_lookzipcode != '1' && $config.lookaccept_zipcode != 'Y'}
							<input name="txtlookzip" type="hidden" value="AA" />
						{/if}
					</td>
				</tr>
				{if ($config.accept_lookstate == 'Y' or $config.accept_lookstate == '1') and ($config.accept_state == '1' or $config.accept_state == 'Y' ) }
				<tr>
					<td width="33%">{lang mkey='signup_state_province'}</td>
					<td width="67%" id="txtlookstateprovince">
					{ if $lang.lookstates|@count > 0 }
					<select class="select" style="width: 175px" name="txtlookstateprovince" {if ($config.accept_county == '1' or $config.accept_county == 'Y') and ($config.accept_lookcounty == '1' or $config.accept_lookcounty == 'Y')}onchange="javascript: cascadeStateL(this.value,this.form.txtlookfrom.value);" {elseif  ($config.accept_city == 'Y' or $config.accept_city == '1') and ($config.accept_lookcity == 'Y' or $config.accept_lookcity == '1')} onChange="cascadeCountyL('AA', this.form.txtlookfrom.value, this.value);"{elseif  ($config.accept_zipcode == 'Y' or $config.accept_zipcode == '1') and ($config.accept_lookzipcode == 'Y' or $config.accept_lookzipcode == '1')} onChange="cascadeCityL('AA', this.form.txtlookfrom.value,this.value,'AA');"{/if} >
					{html_options options=$lang.lookstates selected=$address.lookstateprovince}
					</select>
					{else}
					<input type="text" class="textinput" name="txtlookstateprovince" value="{if $address.lookstateprovince!='AA'}{$address.lookstateprovince}{/if}" size="30" maxlength="200" />
					{/if}
					</td>
				</tr>
				{/if}
				{if ($config.accept_lookcounty == 'Y' or $config.accept_lookcounty == '1') and ($config.accept_county == '1' or $config.accept_county == 'Y') }
				<tr>
					<td width="33%">{lang mkey='manage_counties'}:
					</td>
					<td  width="67%" id="txtlookcounty">
						{ if $lang.lookcounties|@count > 0}
					<select class="select" style="width: 175px" name="txtlookcounty" {if  ($config.accept_city == 'Y' or $config.accept_city == '1') and ($config.accept_lookcity == 'Y' or $config.accept_lookcity == '1')} onChange="cascadeCountyL(this.value, this.form.txtlookfrom.value, this.form.txtlookstateprovince.value);"{elseif  ($config.accept_zipcode == 'Y' or $config.accept_zipcode == '1') and ($config.accept_lookzipcode == 'Y' or $config.accept_lookzipcode == '1')} onChange="cascadeCityL('AA', this.form.txtlookfrom.value, this.form.txtlookstateprovince.value, this.value);"{/if}   >
					{html_options options=$lang.lookcounties selected=$address.lookcountycode}
					</select>
						{ else }
					<input name="txtlookcounty" type="text" class="textinput" size="30" maxlength="100" value="{if $address.lookcountycode !='AA'}{$address.lookcountycode}{/if}" />
						{ /if}
					</td>
				</tr>
				{/if}
				{if ($config.accept_lookcity == '1' or $config.accept_lookcity == 'Y') and ($config.accept_city == '1' or $config.accept_city == 'Y' ) }
				<tr>
					<td  width="33%">
						{lang mkey='signup_city'}
					</td>
					<td  width="67%" id="txtlookcity">
						{ if $lang.lookcities|@count > 0}
					<select class="select" style="width: 175px" name="txtlookcity" {if  ($config.accept_zipcode == 'Y' or $config.accept_zipcode == '1') and ($config.accept_lookzipcode == 'Y' or $config.accept_lookzipcode == '1')}{if  ($config.accept_county == 'Y' or $config.accept_county == '1') and ($config.accept_lookcounty == 'Y' or $config.accept_lookcounty == '1')} onChange="cascadeCityL(this.value, this.form.txtlookfrom.value, this.form.txtlookstateprovince.value, this.form.txtlookcounty.value);"{else} onChange="cascadeCityL(this.value, this.form.txtlookfrom.value, this.form.txtlookstateprovince.value, 'AA');"{/if}{/if} >
					{html_options options=$lang.lookcities selected=$address.lookcitycode}
					</select>
						{ else }
					<input name="txtlookcity" type="text" class="textinput" size="30" maxlength="100" value="{if $address.lookcitycode!='AA'}{$address.lookcitycode}{/if}" />
						{ /if}
					</td>
				</tr>
				{/if}
				{if ($config.accept_lookzipcode == '1' or $config.accept_lookzipcode == 'Y') and ($config.accept_zipcode == '1' or $config.accept_zipcode == 'Y') }
				<tr>
					<td  width="33%">
						{lang mkey='signup_zip'}
					</td>
					<td  width="67%" id="txtlookzip">
						{ if $lang.lookzipcodes|@count > 0}
					<select class="select" style="width: 175px" name="txtlookzip">
					{html_options options=$lang.lookzipcodes selected=$address.lookzip}
					</select>
						{ else }
					<input name="txtlookzip" type="text" class="textinput" size="15" maxlength="100" value="{if $address.lookzip!='AA'}{$address.lookzip}{/if}" />
						{ /if}
					</td>
				</tr>
					{/if}
				<tr>
					<td colspan="2">
				<div id="zipsavailable">
					{ if $zipsavailable > 0 }
				<table border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}"  width="100%">
				<tr >
					<td width="33%">
						{lang mkey='search_within'}:
					</td>
					<td width="67%" valign="top">
					<table width="100%" cellpadding=0 border=0 cellspacing=0><tr>
					<td valign="middle" width="15">
					<input name="lookradius" value="{$smarty.session.lookradius}" type="text" class="textinput" size="5" maxlength="10" />
					</td>
					<td valign="middle" width="7">
					<input type=radio name="radiustype" value="miles" {if $smarty.session.radiustype == 'miles'} checked{/if} />
					</td>
					<td width="15" valign="middle">
					{lang mkey='miles'}
					</td>
					<td width="7" valign="middle"><input type=radio name="radiustype" value="kms" {if $smarty.session.radiustype == 'kms'} checked{/if} />
					</td>
					<td valign="middle" width="20">{lang mkey='kms'}</td>
					<td  valign="middle">&nbsp;{lang mkey='of_zip_code'}
					</td>
					</tr>
					</table>
					</td>
					</tr>
				</table>
				{/if}
				</div>
				</td>
			</tr>
			</table>
			</div>
			{/if}
		{/if}
		{if $config.accept_allow_viewonline == 'Y' or $config.accept_allow_viewonline == '1' }
		<table border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="100%">
			<tr>
				<td width="33%">{lang mkey='signup_view_online'}
				{if $config.allow_viewonline_mandatory == 'Y' or $config.allow_viewonline_mandatory == '1'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
				{/if}
				</td>
				<td align="left"><input class="radio" type="radio" {if $config.default_allow_viewonline=='Y' or $config.default_allow_viewonline=='1'}checked{/if} value="1"  name="txtviewonline" />
				{lang mkey='yes'}&nbsp;
				<input class="radio" type="radio" value="0" {if $config.default_allow_viewonline=='N' or $config.default_allow_viewonline=='0'}checked{/if}
				name="txtviewonline" />
				{lang mkey='no'} </td>
			</tr>
		</table>
		{/if}
		{if $config.accept_about_me == '1' or $config.accept_about_me == 'Y' }
		<table width="100%" border="0" cellpadding="0" cellspacing="0" >
			<tr><td height="4"></td></tr>
			<tr>
				<td width="195" valign="top" style="padding-right:3px;">
					<b>{lang mkey='about_me'}:</b>{if $config.about_me_mandatory == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					{/if}
					<br />{lang mkey='about_me_hlp'}
				</td>
				<td valign="top" >
					<textarea class="textinput" name="about_me" cols="45" rows="6">
					{$smarty.session.about_me|stripslashes }
					</textarea>
				</td>
			</tr>
		</table>
		{/if}
		{if $config.accept_profpic_signup == 'Y'}
		<table width="100%" border="0" cellpadding="0" cellspacing="0" >
			<tr><td height="4"></td></tr>
			<tr>
				<td width="195" valign="top" style="padding-right:3px;">
					{lang mkey='signup_picture'}:{if $config.accept_profpic_signup_must == 'Y'}
					<font class="required_info">{$smarty.const.REQUIRED_INFO}</font>
					{/if}
				</td>
				<td valign="top" >
					<input type="file" name="txtimage" />
				</td>
			</tr>
			<tr><td height="2"></td></tr>
		</table>
		{/if}
		{if $promocnt > 0}
{* PROMO CODE START *}
		<div >
			{assign var="page_hdr02_text" value="{lang mkey='Promotions'}"}
			{include file="page_hdr02.tpl"}
			<div class="module_detail_inside" style="padding-left: 4px;">
			<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" >
				<tr align="center">
					<td colspan="2" width="100%" ><b>{lang mkey='have_promo'}</b></td>
				</tr>
				<tr>
					<td  valign="middle" colspan="2">
						{lang mkey='enter_promo'}: &nbsp;
						<input name="promocode" type="text" class="textinput" size="10" maxlength="10" value="{$smarty.session.promocode}" />
					</td>
				</tr>
			</table>
			</div>
		</div>
{* PROMO CODE END *}
		{/if}
		<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<td width="8" valign="middle">
					<input type="checkbox" name="accept_tos" value='1' {if $smarty.session.accept_tos == '1'}CHECKED{/if} />
				</td>
				<td valign="middle">
					{lang mkey='accept_tos'}
				</td>
			</tr>
		</table>
		{if $config.spam_code_length > 0}
			<table width="100%" border="0" cellpadding="0" cellspacing="0" >
				<tr><td height="4"></td></tr>
				<tr>
					<td valign="bottom" height="40">
						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr><td colspan="3" height="4"></td></tr>
							<tr>
								<td colspan="3" ><br /><b>{lang mkey="security_code_txt"}</b><br /><br /></td>
							</tr>
							<tr>
								<td width="195">
									{lang mkey='enter_spamcode'}:&nbsp;
								</td>
								<td valign="middle" width="15">
									<input type="text" class="textinput" name="spam_code" id="spam_code" value="" />
								</td>
								<td valign="middle" style="padding-left: 5px;" nowrap  >
									<img src="captcha/SecurityImage.php"  alt="Security Code" id="spam_code_img" name="spam_code_img" />
									&nbsp;&nbsp;
									<a href="javascript:reloadCaptcha();" ><img src="captcha/images/arrow_refresh.gif" alt="刷新验证码" border="0" /></a>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			 </table>
		{/if}
		 <br />
		<center>
		{if $config.accept_allow_viewonline != '1' or $config.accept_allow_viewonline != 'Y'}
			<input type="hidden" name="txtviewonline" value="{if $config.default_allow_viewonline=='Y' or $config.default_allow_viewonline=='1'}1{else}0{/if}" />
		{/if}
		<input type="submit" class="formbutton" value="{lang mkey='submit'}" />&nbsp;<input type="reset" class="formbutton" value="{lang mkey='reset'}" />
		</center>
    </form>
	</div>
</div>
<div style="clear:both;"></div>
<script type="text/javascript">
display_couple_details("{$smarty.session.gender}");
</script>
{/strip}
