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

📄 advblogmatch.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="95%">
         <tbody>
            {if $error == 1 }
               <tr>
                  <td colspan="2">{lang mkey='no_search_results'}
                  <a href="advsearch.php?sectionid=0&amp;search_mod=1">{lang mkey="modify_curr_search"} {lang mkey="perform_search"}</a><br /><a href="advsearch.php?search_new=1">{lang mkey="start_new_search"} {lang mkey="use_empty_form"}</a><br /></td>
               </tr>
            {else}
               <tr><td colspan="2">{lang mkey='total_blogs_found'}&nbsp;{$totalrecs}</td></tr>
               <tr>
                  <td align="left">
                     { if $blogdata }
                     <table border="0" width="100%">
                        <tr class="table_head">
                           <th width="15%">{$sort_date_posted} </th>
                           <th width="5%">{$sort_creator}</th>
                           <th width="60%">{$sort_blog_title}</th>
                           <th width="5%" align="center">{$sort_blog_views}</th>
                           <th width="5%" align="center">{$sort_blog_ratings}</th>
                        </tr>
                        {assign var="ccount" value="0"}
                        {foreach item=item key=key from=$blogdata}
                        <tr class="{cycle  values="oddrow,evenrow"}">
                           <td>{$item.date_posted|date_format:$lang.DATE_FORMAT}</td>
                           <td>{$item.username}</td>
                           <td>
                              <a href="viewblog.php?id={$item.id}">{$item.short_title}</a></td>
                           <td>{$item.views}</td>
                           <td align="center">{$item.votes} / {$item.num_votes}</td>
                        </tr>
                        {/foreach}
                     </table>
                     {/if}
                  </td>
               </tr>
            {/if}
         </tbody>
         </table>
      {if $pages neq ""}
         <table align="center" border="0" cellpadding="0" cellspacing="0" >
            <tbody>
               <tr>
                  {if $prev != "" }
                  <td>
                     <a href="advsearch.php?advsearch-1&amp;page={$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="advsearch.php?advsearch=1&amp;page={$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 + -