gonggao.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
 include("header.php");
?>
<table width="950" height="438" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td  height="438" valign="top" bgcolor="#FFFFFF"><br>
      <table width="700" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#054175" class="navbg" height="30"><div align="left">&nbsp;&nbsp;<font color="#FFFFFF">本站公告</font></div></td>
      </tr>
    </table>
      <?php
	   $sql=mysql_query("select count(*) as total from gonggao",$conn);
	   $info=mysql_fetch_array($sql);
	   $total=$info[total];
	   if($total==0)
	   {
	     echo "本站暂无公告!";
	   }
	   else
	   {
	   ?>
      <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="296" height="30"><div align="center">公告主题</font></div></td>
          <td width="136"><div align="center">发布时间</div></td>
        </tr>
        <?php


	       $pagesize=20;
		   if ($total<=$pagesize){
		      $pagecount=1;
			}
			if(($total%$pagesize)!=0){
			   $pagecount=intval($total/$pagesize)+1;

			}else{
			   $pagecount=$total/$pagesize;

			}
			if(($_GET[page])==""){
			    $page=1;

			}else{
			    $page=intval($_GET[page]);

			}

             $sql1=mysql_query("select * from gonggao order by time desc limit ".($page-1)*$pagesize.",$pagesize ",$conn);
             while($info1=mysql_fetch_array($sql1))
		     {
		  ?>
        <tr>
          <td height="20"><div align="left">-<a href="showgg.php?id=<?php echo $info1[id];?>"><?php echo $info1[title];?></a></div></td>
          <td height="20"><div align="center"><?php echo $info1[time];?></div></td>
        </tr>
        <?php
	    }

后面还有 13 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。