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

📄 class.tpl.php

📁 一个文章管理系统,很不错的,php语言开发,运行平台:windows和linux
💻 PHP
字号:
<?php
if( !defined('ISELOOK') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?><!--<?php
print <<<EOT
--><div class="out">
<TABLE cellSpacing=0 cellPadding=0 width=800 align=center bgColor=#ffffff 
border=0>
  <TR> 
    <TD vAlign=top width=171 background=images/sort/left_bg.gif> 
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TR> 
          <TD colSpan=2><IMG height=50 src="images/sort/left_top.gif" 
            width=171></TD>
        </TR>
        <TR> 
          <TD vAlign=top align=middle width=162 bgColor=#cfe57b> 
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TR> 
                <TD vAlign=top class="ListNavBg" colSpan=2 
                height=89> 
                  <TABLE height=89 cellSpacing=0 cellPadding=0 width="100%" 
                  border=0>
                    <TR> 
                      <TD width=70 rowSpan=2></TD>
                      <TD height=12></TD>
                    </TR>
                    <TR> 
                      <TD valign="top" >{$child}</TD>
                    </TR>
                  </TABLE>
                </TD>
              </TR>
              <TR> 
                <TD noWrap width=65></TD>
                <TD vAlign=top width="100%"></TD>
              </TR>
            </TABLE>
          </TD>
          <TD align=middle width=9 bgColor=#ffffff></TD>
        </TR>
        <TR> 
          <TD align=middle colSpan=2><IMG height=19 
            src="images/sort/left_bottom.gif" width=171></TD>
        </TR>
        <TR></TR>
      </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TR> 
          <TD colSpan=2 height=11></TD>
        </TR>
        <TR> 
          <TD width=10 rowSpan=3></TD>
          <TD><IMG height=23 src="images/sort/left_hot.gif" width=107></TD>
        </TR>
        <TR> 
          <TD height="3"></TD>
        </TR>
        <TR> 
          <TD>{$class_hot_article}</TD>
        </TR>
      </TABLE>
      <br>
    </TD>
    <TD vAlign=top align=middle width=629> 
      <table cellspacing=0 cellpadding=0 width="100%">
        <tr> 
          <td valign=bottom align=middle height=3 colspan="3"></td>
        </tr>
        <tr> 
          <td width="9"></td>
          <td height=20><img src="images/sort/nav_ball.gif" width="13" height="13" align="absmiddle">&nbsp;{$nav_path}</td>
          <td width="9"></td>
        </tr>
        <tr> 
          <td valign=bottom align=middle background="images/index/top_line1.gif " height=1 colspan="3"></td>
        </tr>
      </table>
      <br>
<!--
EOT;
if ($_DCACHE['all_classes'][$c_id]['c_child']>0) {
print <<<EOT
-->
      <table cellspacing=0 cellpadding=0 width=580 border=0>
        <tr> 
          <td width="580" height="73" background="images/sort/sort_title.gif"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="73">
              <tr> 
                <td colspan="3" height="20"></td>
              </tr>
              <tr> 
                <td width="180">&nbsp;</td>
                <td align="center"><span class="px_20sort">{$title}</span><span class="px_14sortsmall"> -- {$lang['tpl_str1']}</span></td>
                <td width="70">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="3" height="20"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td align=middle background=images/sort/newbook_bg.gif>
		  <br>
<!--
EOT;
		if( !empty($c_list) && is_array($c_list) ){
			foreach( $c_list as $curr_c_list ){	
				print <<<EOT
-->
            <table cellspacing=1 cellpadding=0 width=520 bgcolor=#8e8b50 border=0>
              <tr> 
                <td align=middle bgcolor=#ffffff> 
                  <table cellspacing=8 cellpadding=0 width=520 border=0>
                    <tr> 
                      <td valign=center width="10"></td>
                      <td valign=center> 
                        <table width="450" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td> 
                              <table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/sort/sort_title_bg.gif" height="32">
                                <tr> 
                                  <td> 
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="32">
                                      <tr> 
                                        <td class="px_14" style="text-indent:40px;">
											{$curr_c_list['c_name']}
                                        </td>
                                        <td width="68">&nbsp;&nbsp;
											<a href="{$curr_c_list['link']}" target="{$curr_c_list['target']}" title="{$lang['tpl_str3']}"><img src="images/index/title_more.gif" width="48" height="17" border=0></a>
                                        </td>
                                      </tr>
                                    </table>
                                  </td>
                                </tr>
                              </table>
                              <table width="100%" border="0" cellspacing="0" cellpadding="0" height="0">
                                <tr> 
                                  <td></td>
                                </tr>
                              </table>
                              <table width="100%" border="0" cellpadding="3" cellspacing="0">
                                <tr> 
                                  <td width="100%"> 
                                    <p>
									{$curr_c_list['list_article']}
                                     </p>
                                    </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                        <table width="450" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td  background="images/index/contents_dotline.gif" height="5"></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <br>
<!--
EOT;
			}
		}
	$lang['tpl_str2']=str_replace('{$child}',$_DCACHE['all_classes'][$c_id]['c_child'],$lang['tpl_str2']);
print <<<EOT
-->
          </td>
        </tr>
        <tr> 
          <td align=center background=images/sort/newbook_bot.gif 
    height=29>{$lang['tpl_str2']}</td>
        </tr>
      </table>
<!--
EOT;
}else{
	$pagination='';
	if ($_DCACHE['all_classes'][$c_id]['c_r_amount']>0) {
		$pagination=pagelist($_DCACHE['all_classes'][$c_id]['c_r_amount'],$settings['s_page_size'],$page,"class.php?c_id={$c_id}",'',1000,$_DCACHE['all_classes'][$c_id]['c_r_amount'],$lang['sys_page_str2']);
	}
	print <<<EOT
-->
<table cellspacing=0 cellpadding=0 width=580 border=0>
        <tr> 
          <td width="580" height="73" background="images/sort/sort_title.gif"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="73">
              <tr> 
                <td colspan="3" height="20"></td>
              </tr>
              <tr> 
                <td width="180">&nbsp;</td>
                <td align="center"><span class="px_20sort">{$title}</span><span class="px_14sortsmall"> -- {$lang['tpl_str4']}</span></td>
                <td width="70">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="3" height="20"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td align=middle background=images/sort/newbook_bg.gif><br>
            <table cellspacing=1 cellpadding=0 width=520 bgcolor=#8e8b50 
            border=0>
              <tr> 
                <td align=middle bgcolor=#ffffff> 
                  <table cellspacing=8 cellpadding=0 width=520 border=0>
                    <tr> 
                      <td valign=center width="10"></td>
                      <td>
					  {$class_list_titles}
					  </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <br>
          </td>
        </tr>
        <tr> 
          <td align="center" background="images/sort/newbook_bot.gif" height="29">
			<form action="class.php?c_id={$c_id}" method="post" name="PageForm" style="margin:0;">
			  $pagination
			</form>					  
		  </td>
        </tr>
      </table>
<!--
EOT;
}
print <<<EOT
-->
<br>
<div style="width:92%;background-color:#F7F3F7;">
	<form method="post" name="search" target="_self" action="search.php" style="margin:0">
	<select name="stype">
	<option value="0" selected>{$lang['sys_search_str4']}</option><option value="1">{$lang['sys_search_str5']}</option><option value="2">{$lang['sys_search_str6']}</option>
	</select>&nbsp;
	<select name="classid">
	{$class_option}
	</select>&nbsp;
	<input type="text" name="keyword" size="18" maxlength="40" value="{$lang['sys_search_str7']}"  onMouseOver="this.focus()" onFocus="this.select()" onClick="if(this.value==this.defaultValue)this.value=''">&nbsp;
	<input type="image" src="images/go.gif" border="0" align="absmiddle">
	</form>
</div>
<br>
</TD>
  </TR>
</TABLE>
</div>
<!--
EOT;
print <<<EOT
-->
<div class="out">
<table cellspacing=0 cellpadding=0 width=800 border=0 align="center">
  <tr> 
    <td bgcolor="#94b252" height=30 align="center"><font color="#ffffff">{$settings['s_copyright_1']}</font><img height=19 
            src="images/sort/email.gif" width=17 align=absMiddle><a href="mailto:{$settings['s_admin_email']}?subject={$about}" title="{$lang['sys_send_email']}"><font 
            color="#ffffff">{$lang['sys_contact_us']}</font></a></td>
  </tr>
  <tr> 
    <td valign=bottom align=middle background=images/sort/bg.gif 
          height=1></td>
  </tr>
</table>
</div>
<!--
EOT;
?>-->

⌨️ 快捷键说明

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