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

📄 list.php

📁 除过搜索外
💻 PHP
字号:
<?phpinclude_once("config.php");$query = $_SERVER['PHP_SELF'];$query =explode("list.php/",$query);$query = explode("/",$query[1]);$typename = $query[1];$canshu = $query[0];$canshu = explode("_",$canshu);$canshunum = count($canshu);if($canshunum < 3){	$lid = $canshu[0];	$count = 30;	$start = 0;}else {	$lid = $canshu[0];	$count = $canshu[1];	$start = $canshu[2];}$result = judge_type_name($typename);$list_name = $result["id"];$list_title = "$list_name[$lid] - $result[name]";include_once("header.php");if(!file_exists("data/list/page/$lid.php")){get_list_page($lid);}include_once("data/list/page/$lid.php");?><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">  <tr>     <td width="70%" height="393" valign="top" class="Main">       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="guide">        <tr>           <td><a href='<?=$webroot?>' class='guide_menu'>&gt;首页</a> -&gt; <a  href='method.php/<?=$typename?>' class='guide_menu'><?=$result["name"]?></a> -&gt; <a  href='list.php/<?=$lid?>/<?=$typename?>' class='guide_menu'><?=$list_name["$lid"]?></a></td>        </tr>      </table>      <div id="AutoRows">               </div><SCRIPT LANGUAGE="JavaScript"><!--autoTable("AutoRows");//--></SCRIPT>      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable"  style="clear:both;display:">        <tr>           <td class="head">             <h3 class="L"></h3>            <span class="TAG">文章列表</span>             <h3 class="R"></h3>          </td>        </tr>        <tr>           <td class="middle">             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="listarticle">                            <?php              if(!file_exists("data/list/data/$lid"."_".$count."_".$start.".txt")){get_alllist($lid,$count,$start);}              include_once("data/list/data/$lid"."_".$count."_".$start.".txt");              ?>                          </table>            <div class="page">            <?php            if($start == 0)            {            	$now = 1;            }            else             {            	$now = ceil($start/$count);            }            for($i=0;$i<$total_page;$i++)            {            	$j = $i + 1;            	if($j == $total_page)            	break;            	$start = $j * $count;            	if($now == $j)            	{            		echo "<A href=list.php/$lid";            		echo "_$count"."_".$start;            		echo "/$typename> <font color=red>$j</font> </a>";            	}            	else             	{            		echo "<A href=list.php/$lid";            		echo "_$count"."_".$start;            		echo "/$typename> $j </a>";            	}            }            ?>            </div>          </td>        </tr>        <tr>           <td class="foot">             <h3 class="L"></h3>            <h3 class="R"></h3>          </td>        </tr>      </table>    </td>    <td width="30%" height="393" valign="top" class="Side" align="right">       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable" id="sonSortName">        <tr>           <td class="head" height="19">             <h3 class="L"></h3>            <span class="TAG">近期热点</span>             <h3 class="R"></h3>          </td>        </tr>        <tr>           <td class="middle" align="left">            <ul>		  	<?php             if(!file_exists("data/13jqrd.txt")){get_jqrd(13);}            include_once("data/13jqrd.txt");            ?></ul>          </td>        </tr>        <tr>           <td class="foot">             <h3 class="L"></h3>            <h3 class="R"></h3>          </td>        </tr>      </table>      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">        <tr>           <td class="head" height="19">             <h3 class="L"></h3>            <span class="TAG">今日热点</span>             <h3 class="R"></h3>          </td>        </tr>        <tr>           <td class="middle" align="left">             <ul>		  	<?php             if(!file_exists("data/13jrrd.txt")){get_jrrd(13);}            include_once("data/13jrrd.txt");            ?></ul>          </td>        </tr>        <tr>           <td class="foot">             <h3 class="L"></h3>            <h3 class="R"></h3>          </td>        </tr>      </table>      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">        <tr>           <td class="head">             <h3 class="L"></h3>            <span class="TAG">昨日热点</span>             <h3 class="R"></h3>          </td>        </tr>        <tr>           <td class="middle" valign="top" align="left">            <ul>		  	<?php             if(!file_exists("data/13zrrd.txt")){get_zrrd(13);}            include_once("data/13zrrd.txt");            ?></ul>          </td>        </tr>        <tr>           <td class="foot">             <h3 class="L"></h3>            <h3 class="R"></h3>          </td>        </tr>      </table>    </td>  </tr></table></td>  </tr></table><?phpinclude_once("footer.html");?>

⌨️ 快捷键说明

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