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

📄 allarticles.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='articles'}"}
			{include file="page_hdr01.tpl"}

				<form action="index.php" method="get">
				<input name="page" value="articles" type=hidden />
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr >
						<td >
							<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
								<tr>
									<td >{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'}"  />
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				</form>


				<table width="100%" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border="0">
				{foreach item=row from=$data}
					<tr>
						<td>
							<span class="newshead">{$row.title|stripslashes}</span><br/>
							<span class="newsdate">{$row.dat}</span><br/>
							<span class="newstext">{$row.text|stripslashes}</span>
							{if $config.enable_mod_rewrite == 'Y'}
								<a href='article{$row.articleid}.htm'  >{lang mkey='more'}</a>
							{else}
								<a href='index.php?page=showarticle&amp;articleid={$row.articleid}'  >{lang mkey='more'}</a>
							{/if}
						</td>
					</tr>
					<tr><td height="4"></td></tr>
				{/foreach}
				</table>
      {if $pages neq ""}
			<table align="center" border="0" cellpadding="0" cellspacing="0" >
				<tbody>
					<tr>
						{if $prev != "" }
						<td>
							<a href="index.php?page=articles&amp;pageno={$prev}" >&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="index.php?page=articles&amp;pageno={$next}">{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 + -