📄 unapprovedusers.tpl
字号:
{strip}
<script type="text/javascript">
/* <![CDATA[ */
{literal}
function confdel(form,errmsg){
for(i=0;i < form.length;i++){
if(form.elements[i].type=='checkbox' && form.elements[i].checked == true){
selected = true;
break;
}else
selected = false;
}
if(!selected) {
alert(errmsg);
return false;
}else{
form.submit();
return true;
}
}
{/literal}
/* ]]> */
</script>
<form name="frmGroupSection" action="unapprovedusers.php" method="post" onsubmit="javascript: return confdel(this,'{lang mkey='admin_js_error_msgs' skey=1}');">
{assign var="page_hdr01_text" value="{lang mkey='unapproved_user'}"}
{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=$data|@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 != ''}
<tr>
<td colspan="8"><span class="errors">{mylang mkey='errormsgs' skey=$errid}</span></td>
</tr>
<tr><td colspan="8"> </td></tr>
{/if}
<tr class="table_head">
<th>{lang mkey='col_head_srno'}</th>
<th><input type="checkbox" name="chkall" value="" onclick="checkAll(this.form,'txtchk[]',this.checked)" /></th>
<th><a href="?sort={lang mkey='col_head_username' escape='url'}&type={$sort_type}">{lang mkey='col_head_username'}</a></th>
<th><a href="?sort={lang mkey='col_head_firstname' escape=url'}&type={$sort_type}">{lang mkey='col_head_name'}</a></th>
<th><a href="?sort={lang mkey='col_head_register_at' escape='url'}&type={$sort_type}">{lang mkey='col_head_register_at'}</a></th>
<th><a href="?sort={lang mkey='col_head_gender' escape='url'}&type={$sort_type}">{lang mkey='col_head_gender'}</a></th>
<th><a href="?sort={lang mkey='col_head_email' escape='url'}&type={$sort_type}">{lang mkey='col_head_email'}</a></th>
<th>{lang mkey='action'}</th>
</tr>
{if $error == 1}
<tr>
<td colspan="8">{lang mkey='no_record_found'}</td>
</tr>
{else}
{assign var="mcount" value="0"}
{foreach item=item key=key from=$data}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td>{$mcount}</td>
<td><input type="checkbox" name="txtchk[]" value="{$item.id}" /></td>
<td>{$item.username}</td>
<td>{$item.firstname|stripslashes} {$item.lastname|stripslashes}</td>
<td>{$item.regdate|date_format:$lang.DATE_FORMAT}</td>
<td>{mylang mkey='signup_gender_values' skey=$item.gender}</td>
<td>{$item.email}</td>
<td ><a href="javascript:popUpScrollWindow('showprofile.php?{if $config.seo_username=='Y'}username={$item.username}{else}id={$item.id}{/if}','top',650,600)">{lang mkey='review'}</a></td>
</tr>
{/foreach}
{/if}
<tr>
<td> </td>
<td colspan="7"><img src="images/arrow_ltr.png" alt="" />{lang mkey='with_selected'}
{foreach key=key item=item1 from=$lang.status_act}
{if $item.status != $key and $item1 != 'Pending'}
<input type="submit" class="formbutton" value="{$item1}" name="groupaction" />
{/if}
{/foreach}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</center>
</form>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -