📄 listviewswinks.tpl
字号:
{strip}
{assign var="page_hdr01_text" value=$listname|cat:" "|cat:"{lang mkey="since"} "|cat:$viewswinks_since}
{include file="page_hdr01.tpl"}
<br />
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="ct" value=$list|@count}
{assign var="page_hdr02_text" value="{lang mkey='total_profiles_found'} "|cat:$ct}
{include file="page_hdr02.tpl"}
<table class="table" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="100%" border="0">
<tbody>
{if $errid ne ''}
<tr><td colspan="3"><font class="errors">{mylang mkey='errormsgs' skey=$errid}</font></td></tr>
<tr><td colspan="3"> </td></tr>
{/if}
{if $list|@count eq 0 }
<tr>
<td colspan="3">{lang mkey='no_record_found'}</td>
</tr>
{else}
<form name="listviewwinksFrm" action="listviewswinks.php" method="post">
<input type="hidden" name="id" value="" />
<input type="hidden" name="remove" value="" />
<input type="hidden" name="act" value="{$act}" />
<tr class="table_head">
<th ><input type="checkbox" name="chkall" value="" onclick="checkAll(this.form,'txtcheck[]',this.checked)"/></th >
<th >{lang mkey='col_head_srno'}</th>
<th >{lang mkey='username_hdr'}</th>
<th >{lang mkey='col_head_sendtime'}</th>
<th >{lang mkey='action'}</th>
</tr>
<input type="hidden" name="act" value="{$act}"/>
{assign var="mcount" value="0"}
{foreach item=item key=key from=$list}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td width="5%" align="center">
<input type="checkbox" name="txtcheck[]" value="{$item.id}"/></td>
<td width="5%">{$mcount}</td>
<td width="50%">
{if $config.enable_mod_rewrite == 'Y'}
<a href="javascript:popUpScrollWindow2('{$docroot}{if $config.seo_username == 'Y'}{$item.username}{else}{$item.ref_userid}.htm{/if}','top',650,600)">
{else}
<a href="javascript:popUpScrollWindow2('{$docroot}showprofile.php?{if $config.seo_username == 'Y'}username={$item.username}{else}id={$item.ref_userid}{/if}','top',650,600)">
{/if}
{$item.username}</a>
</td>
<td width="30%">{$item.act_time|date_format:$lang.DATE_FORMAT}</td>
<td width="10%">
<input name="rem" value="{lang mkey='Remove'}" type="button" class="formbutton" onClick="document.forms['listviewwinksFrm'].id.value={$item.id};document.forms['listviewwinksFrm'].remove.value='1';document.forms['listviewwinksFrm'].submit(); " />
</td>
</tr>
{/foreach}
<tr>
<td colspan="4" align="left">
<img src="images/arrow_ltr.png" alt="" />{lang mkey='with_selected'}
<input type="submit" class="formbutton" value="{lang mkey='delete_selected'}" name="groupaction"/>
</td>
</tr>
</form>
{/if}
</tbody>
</table>
</td>
</tr>
</table>
</center>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -