⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edituser.tpl

📁 太烦了
💻 TPL
📖 第 1 页 / 共 3 页
字号:
											<td width="100%">
												<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" id="tbl">
											{if ( $config.accept_lookcountry == '1' or $config.accept_lookcountry == 'Y') and ($config.accept_country == '1' or $config.accept_country == 'Y' )}
													<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 color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}</font>
														{/if}
														</td>
														<td width="67%">
								                            <select class="select" style="width: 175px;" name="txtlookfrom"  onchange="javascript: cascadeCountryL(this.value);" >
															{html_options options=$lang.lookcountries selected=$user.lookcountry}
															</select>
														</td>
													</tr>
												{if $config.accept_lookstate != '1' and $config.accept_lookstate != 'Y' }
													<input name="txtlookstateprovince" type="hidden" value="{$user.lookstate_province|stripslashes}" />
													<input name="txtlookcounty" type="hidden" value="{$user.lookcounty|stripslashes}"/>
													<input name="txtlookcity" type="hidden" value="{$user.lookcity|stripslashes}"/>
													<input name="txtlookzip" type="hidden" value="{$user.lookzip|stripslashes}"/>
												{/if}
												{if $config.accept_lookstate == '1' or $config.accept_lookstate == 'Y' }
													<tr>
														<td width="172">{lang mkey='signup_state_province'}
														</td>
														<td width="344" id="txtlookstateprovince">
													{ if $lang.lookstates|@count > 0 }
													<select class="select" style="width: 175px" name="txtlookstateprovince" onchange="javascript: cascadeStateL(this.value,this.form.txtlookfrom.value);" >
														{html_options options=$lang.lookstates selected=$user.lookstate_province}
														</select>
													{else}
														<input name="txtlookstateprovince" value="{$user.lookstate_province|stripslashes}" size="30" maxlength="200"/>
													{/if}
														</td>
													</tr>
													{if $config.accept_lookcounty != '1' and $config.accept_lookcounty != 'Y' }
														<input name="txtlookcounty" type="hidden" value="{$user.lookcounty|stripslashes}"/>
													{/if}
													{if $config.accept_lookcounty == '1' or $config.accept_lookcounty == 'Y' }
													<tr>
														<td width="172">{lang mkey='manage_counties'}:
														</td>
														<td width="344" id="txtlookcounty">
													{ if $lang.lookcounties|@count > 0}
														<select class="select" style="width: 175px" name="txtlookcounty"  onchange="javascript: cascadeCountyL(this.value,this.form.txtlookstateprovince.value,this.form.txtlookfrom.value);" >
														{html_options options=$lang.lookcounties selected=$user.lookcounty}
														</select>
													{ else }
														<input name="txtlookcounty" type="text" size="30" maxlength="100" value="{$user.lookcounty|stripslashes}"/>
													{ /if}
														</td>
													</tr>
													{/if}
													{if $config.accept_lookcity != '1' and $config.accept_lookcity != 'Y' }
														<input name="txtlookcity" type="hidden" value="{$user.lookcity|stripslashes}"/>
													{/if}
													{if $config.accept_lookcity == '1' or $config.accept_lookcity == 'Y' }
													<tr>
														<td >
															{lang mkey='signup_city'}
														</td>
														<td id="txtlookcity">
													{ if $lang.lookcities|@count > 0}
														<select class="select" style="width: 175px" name="txtlookcity" onchange="javascript: cascadeCityL(this.value,this.form.txtlookcounty.value,this.form.txtlookstateprovince.value,this.form.txtlookfrom.value);" >
														{html_options options=$lang.lookcities selected=$user.lookcity}
														</select>
													{ else }
														<input name="txtlookcity" type="text" size="30" maxlength="100" value="{$user.lookcity|stripslashes}"/>
													{ /if}
														</td>
													</tr>
													{/if}
													{if $config.accept_lookzipcode != '1' and $config.accept_lookzipcode != 'Y' }
														<input name="txtlookzip" type="hidden" value="{$user.lookzip|stripslashes}"/>
													{/if}
													{if $config.accept_lookzipcode == '1' or $config.accept_lookzipcode == 'Y' }
													<tr>
														<td>
															{lang mkey='signup_zip'}
														</td>
														<td id="txtlookzip">
													{ if $lang.lookzipcodes|@count > 0}
														<select class="select" style="width: 175px" name="txtlookzip">
														{html_options options=$lang.lookzipcodes selected=$user.lookzip}
														</select>
													{ else }
														<input name="txtlookzip" type="text" size="30" maxlength="100" value="{$user.lookzip|stripslashes}"/>
													{ /if}
														</td>
													</tr>
{* Zip code *}
											</table>
											<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 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>
{* Zip code end *}
													{/if}
											<table border=0 cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="100%">

												{/if}
											{/if}
													{if $config.accept_allow_viewonline == 'Y' or $config.accept_allow_viewonline == '1' }
													<tr>
														<td width="33%">{lang mkey='signup_view_online'}
														{if $config.allow_viewonline_mandatory == 'Y' or $config.allow_viewonline_mandatory == '1'}
															<font color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}</font>
														{/if}
														</td>
														<td align="left" valign="middle">
														<table border=0 cellspacing=0 cellpadding=0>
														<tr>
														<td valign="middle" width="6"><input class="radio" type="radio" {if $user.allow_viewonline=='1'}checked {/if} value="1"  name="txtviewonline" />
														</td>
														<td width="20" valign="middle">
														{lang mkey='yes'}
														</td>
														<td valign="middle" width="6">
														<input class="radio" type="radio" value="0" {if $user.allow_viewonline=='0'}checked {/if}
														name="txtviewonline" />
														</td>
														<td width="20" valign="middle">
														{lang mkey='no'} </td>
														</tr>
														</table>
														</td>
													</tr>
													{/if}
												</table>
											</td>
										</tr>
									</table>

								</td>
							</tr>
						</table>
						<br />
						{/if}
						{if $config.accept_about_me == '1' or $config.accept_about_me == 'Y' }
						<table>
							<tr><td height="4"></td></tr>
							<tr>
								<td valign="top">
									<table border=0 cellspacing=2 cellpadding=0 width="100%">
										<tr>
											<td width="180" valign="top">
												<b>{lang mkey='about_me'}:</b>{if $config.about_me_mandatory == 'Y'}
												<font color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}</font>
												{/if}
												<br />{lang mkey='about_me_hlp'}
											</td>
											<td valign="top" >
												<textarea class="input" name="about_me" cols="45" rows="6">
												{$user.about_me|stripslashes}
												</textarea>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						{/if}
						<br />
						<center>
						<input type="submit" class="formbutton" value='{lang mkey='submit'}'/> <input type="reset" class="formbutton" value="{lang mkey='reset'}"/>
						</center>
					</td>
				</tr>
			</table>
      </form>
		</td>
	</tr>
</table>
<br />
<script type="text/javascript">
display_couple_details("{$user.gender}");
</script>
{/strip}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -