📄 approve_snaps.tpl
字号:
{strip}
{assign var="page_hdr01_text" value="{lang mkey='snaps_require_approval'}"}
{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%">
{assign var="ct" value=$user_pics|@count}
{assign var="page_hdr02_text" value="{lang mkey='total_profiles_found'} "|cat:$ct}
{include file="admin/admin_page_hdr02.tpl"}
<table class=table cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="100%" border=0>
<tbody>
{if $errid ne ''}
<tr><td colspan="5"><span class="errors">{mylang mkey='errormsgs' skey=$errid}</span></td></tr>
{/if}
<tr class="table_head">
<th width=3%>{lang mkey='col_head_srno'}</th>
<th width=40%>{lang mkey='userdetails'}</th>
<th width=25%>{lang mkey='pict'}</th>
<th width=25%>{lang mkey='tnail'}</th>
<th width=7%>{lang mkey='action'}</th>
</tr>
{if $user_pics|@count <= 0 }
<tr>
<td colspan="5"> {lang mkey='no_record_found'}</td>
</tr>
{else}
{assign var="mcount" value="0"}
{foreach item=item key=key from=$user_pics}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td>{$mcount}</td>
<td align=left valign=middle>
<table width=100% cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border=0>
<tr>
<td width=40%>{lang mkey='username'}</td>
<td align=left width=60%>{if $config.enable_mod_rewrite == 'Y'}
<a href="javascript:popUpScrollWindow('{if $config.seo_username == 'Y'}{$item.username}{else}{$item.userid}.htm{/if}','top',650,600)">
{else}
<a href="javascript:popUpScrollWindow('showprofile.php?{if $config.seo_username == 'Y'}username={$item.username}{else}id={$item.userid}{/if}','top',650,600)">
{/if}
{$item.username}</a></td>
</tr>
<tr>
<td width=40%>{lang mkey='name'}</td>
<td align=left width=60%>{$item.fullname|stripslashes}</td>
</tr>
<tr>
<td width=40%>{lang mkey='picture'}:</td>
<td align=left width=60%>{$item.picno}</td>
</tr>
{if $item.album_name != ''}
<tr>
<td width="40%">{lang mkey='album_hdr'}:</td>
<td align=left width="60%">{$item.album_name}</td>
</tr>
{/if}
</table>
</td>
<td>
<img src="getsnap.php?id={$item.userid}&picid={$item.picno}&typ=pic&width=100&height=100" alt=""/>
</td>
<td >
<img src="getsnap.php?id={$item.userid}&picid={$item.picno}&typ=tn" alt=""/>
</td>
<td >
<form name=frm{$item.userid}_{$item.picno} action="approve_snaps.php" method=post>
<input type=hidden name=id value="{$item.id}" />
<input type=submit name=action class="formbutton" value="{lang mkey='Approve'}" /><br />
<input type=submit name=action class="formbutton" value="{lang mkey='reject'}" />
</form>
</td>
</tr>
{/foreach}
{/if}
</tbody>
</table>
</TD>
</TR>
</TABLE>
</CENTER>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -