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

📄 buddybanlist.tpl

📁 太烦了
💻 TPL
字号:
{strip}
{assign var="page_hdr01_text" value=$listname}

{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="page_hdr02_text" value="{lang mkey='total_profiles_found'} "|cat:$listcount}
			{include file="page_hdr02.tpl"}
      <form name="buddybanFrm" action="buddybanlist.php" method="post">
	      <input type="hidden" name="act" value="{$act}" />
			<table class="table" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="550" border="0">
			<tbody>
		{ if $errid ne '' }
				<tr>
					<td colspan="4"><font class="errors">{mylang mkey='errormsgs' skey=$errid}</font></td>
				</tr>
				<tr><td colspan="4">&nbsp;</td></tr>
		{ /if }
		{if $error == 1 }
				<tr>
					<td colspan="4">{lang mkey='no_record_found'}</td>
				</tr>
				<tr><td colspan="4">&nbsp;</td></tr>
		{else}
			{ if $list }
				<tr class="table_head">
					<th width="5%"><input type="checkbox" name="chkall" value="" onclick="checkAll(this.form,'txtcheck[]',this.checked)" /></th >
					<th width="5%">{lang mkey='col_head_srno'}</th>
					<th width="35%">{lang mkey='username_hdr'}</th>
					<th width="30%">{lang mkey='col_head_sendtime'} </th>
					<th width="25%">{lang mkey='action'}</th>
				</tr>
				{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%" >
						<input type="checkbox" name="txtcheck[]" value="{$item.lisid}" /></td>
					<td width="5%">{$mcount}</td>
					<td width="35%">
					{if $config.enable_mod_rewrite == 'Y'}
						<a href="javascript:popUpScrollWindow2('{$docroot}{if $config.seo_username == 'Y'}{$item.ref_username}{else}{$item.userid}.htm{/if}','top',650,600)">
					{else}
						<a href="javascript:popUpScrollWindow2('{$docroot}showprofile.php?{if $config.seo_username == 'Y'}username={$item.ref_username}{else}id={$item.userid}{/if}','top',650,600)">
					{/if}
						{$item.ref_username}</a></td>
					<td width="30%">{$item.act_date|date_format:$lang.DATE_FORMAT}</td>
					<td width="25%"><a onclick="javascript:window.location='buddybanlist.php?id={$item.lisid}&amp;act={$act}&amp;remove=1';"><input name="rem" value="{lang mkey='Remove'}" type="button" class="formbutton" /></a>
					</td>
				</tr>
				{/foreach}
				<tr>
					<td colspan="4" align="left">
						<img src="images/arrow_ltr.png" alt="" />{lang mkey='with_selected'}&nbsp;
						<input type="submit" class="formbutton" value="{lang mkey='delete_selected'}" name="groupaction" />
					</td>
				</tr>
			{ else }
				<tr>
					<td colspan="3">{lang mkey='no_record_found'}</td>
				</tr>
			{/if}
		{/if}
			</tbody>
			</table>
     </form>
		</td>
	</tr>
</table>
</center>
{/strip}

⌨️ 快捷键说明

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