adminblog.tpl

来自「太烦了」· TPL 代码 · 共 43 行

TPL
43
字号
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
   <tr>
      <td width="100%" valign="top">

			{assign var="leftcolumn_item_hdr_text" value="{lang mkey='admin_blog'}"}
			{include file="leftcolumn_item_hdr.tpl"}
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
               <td width="6">&nbsp;</td>
               <td width="100%" class="leftside_detail">

                  <table width="100%" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
                    <tr >
                      <th width="15%">{lang mkey='blog_date_posted_hdr'}</th>
                      <th width="75%">{lang mkey='blog_title_hdr'}</th>
                    </tr>
                    {foreach item=item key=key from=$adminblog}
						{cycle values="oddrow,evenrow" assign="class"}
                    <tr >
                      <td width="15%" class="{$class}">{$item.date_posted|date_format:$lang.DATE_FORMAT}</td>
                      <td width="75%" class="{$class}"><a href="viewblog.php?id={$item.id}">{$item.short_title|stripslashes|strip_tags}</a></td>
                    </tr>
                    {/foreach}
                    {if $userblog|@count > 0}
                    {foreach item=item key=key from=$userblog}
						{cycle values="oddrow,evenrow" assign="class"}
                    <tr class="{$class}">
                      <td width="15%" class="{$class}" >{$item.date_posted|date_format:$lang.DATE_FORMAT}</td>
                      <td width="75%" class="{$class}"> <a href="viewblog.php?id={$item.id}">{$item.short_title|stripslashes|strip_tags}</a></td>
                    </tr>
                    {/foreach}
					{/if}
                  </table>

               </td>
            </tr>
         </table>
      </td>
   </tr>
</table>
{/strip}

⌨️ 快捷键说明

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