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

📄 showsimpsh.tpl

📁 太烦了
💻 TPL
字号:
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
	<tr>
		<td class="module_detail" width="100%">
			{assign var="page_hdr01_text" value="{lang mkey='search_results'}"}
			{include file="page_hdr01.tpl"}

			<table class="table" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" border="0" width="100%">
			<tbody>
				{if $error == 1 }
					<tr>
						<td colspan="2">{lang mkey='no_record_found'}</td>
					</tr>
				{else}
					<tr><td height="4"></td></tr>
					<tr><td colspan="2">&nbsp;{lang mkey='total_profiles_found'}&nbsp;{$totalrecs}</td></tr>
					<tr>
						<td >
            <form action="" method="post">
							&nbsp;{lang mkey='sort_by'}&nbsp;
							<select name="sort_by">
								<option value="username" {if $sort_by eq 'username'} selected="selected" {/if}>{lang mkey='username_without_colon'}</option>
								<option value="age" {if $sort_by eq 'age'}selected{/if}> {lang mkey='age'} </option>
								<option value="logintime" {if $sort_by eq 'logintime'}selected{/if}>{lang mkey='logintime'}</option>
								<option value="online" {if $sort_by eq 'online'}selected{/if}>{lang mkey='online'}</option>
								<option value="level" {if $sort_by eq 'level'}selected{/if}>{lang mkey='membership_hdr'}</option>
							</select>&nbsp;
							<select name="sort_order">
								{html_options options=$lang.sort_types selected=$sort_order}
							</select>&nbsp;&nbsp;&nbsp;
							{lang mkey='results_per_page'}&nbsp;
							<select name="results_per_page">
								{html_options options=$lang.search_results_per_page selected=$psize}
							</select>
							&nbsp;<input type="submit" class="formbutton" value="{lang mkey='show'}" />
							{foreach from=$querystring key=key item=item}
								<input type="hidden" name="{$key}" value="{$item}" />
							{/foreach}
            </form>
						</td>
					</tr>
					<tr><td colspan="2" >&nbsp;{lang mkey='showing'}&nbsp;{$start+1}{lang mkey='to'}{assign var="totl" value=$data|@count}{$start+$totl}
						</td>
					</tr>
					<tr>
						<td align="left">
							<table border="0" width="100%">
							{assign var="ccount" value="0"}
							{foreach item=item key=key from=$data}
								{if $item.id > 0}
								{if $ccount==0}
									<tr>
								{/if}
									<td align="left" width="50%">{include file="userresultviewsmall.tpl"}</td>
								{if $ccount==1}
									</tr>
								{/if}
								{math equation="$ccount+1" assign="ccount"}
								{math equation="$ccount%2" assign="ccount"}
								{/if}
							{/foreach}
							</table>
						</td>
					</tr>
				{/if}
			</tbody>
			</table>
      {if $pages neq ""}
			<table align="center" border="0" cellpadding="0" cellspacing="0" >
				<tbody>
					<tr>
						{if $prev != "" }
						<td>
							<a href="?page={$prev}&amp;sort_by={$sort_by}&amp;sort_order={$sort_order}
							{foreach from=$querystring key=key item=val}
								&amp;{$key}={$val}
							{/foreach}
							" >&lt;-- {lang mkey='previous'}</a>&nbsp;&nbsp;
      </td>
      {/if}
						{if $cpage != "" && $pages != "" }
      <td>
							{lang mkey='pageno'} {$cpage} {lang mkey='of'} {$pages}
      </td>
      {/if}
						{if $next != "" }
						<td >
							&nbsp;&nbsp;<a href="?page={$next}&amp;sort_by={$sort_by}&amp;sort_order={$sort_order}{foreach from=$querystring key=key item=val}
								&amp;{$key}={$val}
							{/foreach}
							">{lang mkey='next'} --&gt;</a>
						</td>
						{/if}
					</tr>
				</tbody>
			</table>
      {/if}
		</td>
	</tr>
</table>
{/strip}

⌨️ 快捷键说明

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