📄 featured_profile.tpl
字号:
{strip}
{assign var="page_hdr01_text" value="{lang mkey='featured_profiles_hdr'}"}
{include file="admin/admin_page_hdr01.tpl"}
<br />
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{ if $req_action eq 'modify' }
{assign var="page_hdr02_text" value="{lang mkey='mod_featured'}"}
{ else }
{assign var="page_hdr02_text" value="{lang mkey='add_featured'}"}
{/if}
{include file="admin/admin_page_hdr02.tpl"}
<table cellspacing="2" cellpadding="1" width="550" border="0">
<tr>
<td colspan="2">{if $error_msg ne ''}<font color="{lang mkey='admin_error_color'}">{mylang mkey='errormsgs' skey=$error_msg}</font>{/if}</td>
</tr>
<tr>
<td colspan="2" width="100%">
<form name="add_featured" action="featured_profile.php" method="post" onsubmit="javascript: return datefromtovalid( this.elements['startYear'], this.elements['startMonth'], this.elements['startDay'], this.elements['endYear'], this.elements['endMonth'], this.elements['endDay'], '{lang mkey='errormsgs' skey=51}' );">
<input type="hidden" name="userid" value="{$data.userid}" />
<input type="hidden" name="id" value="{$data.id}" />
<input type="hidden" name="step" value="{$data.step}" />
<input type="hidden" name="req_action" value="{$req_action}" />
<input type="hidden" name="bckurl" value="{$data.bckurl}" />
<table width="100%">
<tr>
<td width="25%">{lang mkey='profile_username'}</td>
<td width="75%"><input type="text" name="username" value="{$data.username}" onchange="javascript:this.form.elements['step'].value=1; this.form.submit();" />
{if $data.fullname ne ""}
({$data.fullname|stripslashes})
{/if}
</td>
</tr>
<tr>
<td>{lang mkey='startdate'}</td>
<td>
{html_select_date_translated prefix="start" month_value_format="%m" time=$data.start_date|date_format end_year="+5" }
</td>
</tr>
<tr>
<td>{lang mkey='enddate'}</td>
<td id="enddate_col">
{html_select_date_translated prefix="end" month_value_format="%m" time=$data.end_date|date_format end_year="+5"}
</td>
</tr>
<tr>
<td>{lang mkey='must_show'}: </td>
<td>
<input name="must_show" type="radio" value='1' {if $data.must_show eq '1'}checked="checked"{/if} />Yes
<input name="must_show" type="radio" value='0' {if $data.must_show ne '1'}checked="checked"{/if} />No
</td>
</tr>
<tr><td colspan=2>{lang mkey='featured_profiles_msg01'}</td></tr>
<tr><td height="3"></td></tr>
<tr>
<td>{lang mkey='reqd_exposures'}:</td>
<td>
<input type="text" name="req_exposures" value="{ if $data.req_exposures > 0}{$data.req_exposures}{else}999999999{/if}" />
</td>
</tr>
<tr><td colspan=2>{lang mkey='featured_profiles_msg02'}</td></tr>
<tr><td height="3"></td></tr>
<tr>
<td> </td>
<td>
<input type="submit" class="formbutton" value="{lang mkey='submit'}" />
<input type="reset" class="formbutton" value="{lang mkey='reset'}" />
<input type="submit" name="cancelthis" class="formbutton" value="{lang mkey='cancel'}" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -