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

📄 morenews.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
📖 第 1 页 / 共 2 页
字号:
          <td bgcolor="#dcf6ce" width="5"></td>
          <td rowspan="2"><img name="list_r3_c2" src="images/list_r3_c2.gif" width="6" height="16" border="0"></td>
          <td rowspan="2" colspan="5" bgcolor="#83d160">
            <div align="center"></div>
          </td>
          <td rowspan="2" colspan="2"><img name="list_r3_c8" src="images/list_r3_c8.gif" width="26" height="16" border="0"></td>
          <td rowspan="2" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="171" height="16" border="0"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="11" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td colspan="27"><img name="list_top" src="images/list_top.gif" width="550" height="6" border="0" alt="list_top"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="6" border="0"></td>
        </tr>
      </table>
<!--#############################################-->
<table width="567" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="28" background="images/huang_bg.gif">
      <div align="center"></div>
    </td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="350" background="images/huang_bg.gif">
      <div align="center">标题</div>
    </td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/huang_bg.gif">
      <div align="center">发布人</div>
    </td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="80" background="images/huang_bg.gif">
      <div align="center">日期</div>
    </td>
    <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="12" bgcolor="#dcf6ce"></td>
  </tr>
  <tr>
    <td width="5" bgcolor="#dcf6ce" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="28"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="350"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="80"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="12" bgcolor="#dcf6ce" height="1"></td>
  </tr>
        <!--#############################################-->
        <?php
		$rowi = ($page-1)*$pagesize;
		for($i=0;$i<$pagesize;$i++){
		if($rowi>($recordcount-1)){
		//echo "</table>";
		}
		else{
		mysql_data_seek($query,$rowi);
		$array=mysql_fetch_array($query);
		//printf('<tr><TD width=30 bgcolor=#00FFFF><div align=center>%d</div></TD><TD width=251><a href=dispmore.php?id=%d target=_blank>%s</A></TD><TD width=187>%s</TD><TD width=58><div align=center>%s</div></TD></tr>',$rowi+1,$array["id"],$array["subject"],$array["dw"],$array["date"]);
		?>
  <tr>
    <td width="5" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="28" bgcolor="#dcf6ce"><center><?php echo $rowi+1;?></center></td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="350" bgcolor="#dcf6ce"><a href="javascript:dispnews(<?php echo $array["id"];?>)"><?php echo $array["title"];?></A></td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td bgcolor="#dcf6ce">
      <div align="center"><?php echo $array["publisher"];?></div>
    </td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="80" bgcolor="#dcf6ce">
      <div align="center"><?php echo $array["date"];?></div>
    </td>
    <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="12" bgcolor="#dcf6ce"></td>
  </tr>
  <tr>
    <td width="5" bgcolor="#dcf6ce" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="26"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="269"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/h_dot.gif" height="1" width="80"><img src="images/spacer.gif" width="1" height="1"></td>
    <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="12" bgcolor="#dcf6ce" height="1"></td>
  </tr>
        <?php
	$rowi = $rowi+1;
		}
	}
	echo "</table>";
	////////////////////////////////////////
	?>
<!--############## </table>###############################-->
      <table bgcolor="#dcf6ce" border="0" cellpadding="0" cellspacing="0" width="567" name="list_bottom">
        <!-- fwtable fwsrc="listbm.png" fwbase="listbm.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr>
          <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="5" height="35" border="0"></td>
          <td rowspan="2" colspan="9"><img name="listbm_r1_c2" src="images/listbm_r1_c2.gif" width="455" height="6" border="0"></td>
          <td><img name="listbm_r1_c11" src="images/listbm_r1_c11.gif" width="88" height="1" border="0"></td>
          <td rowspan="5"><img name="listbm_r1_c12" src="images/listbm_r1_c12.gif" width="7" height="26" border="0"></td>
          <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="12" height="35" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
        </tr>
        <tr>
          <td rowspan="3" bgcolor="#83d160"> 转到:
            <input type="text" name="page" size="2" maxlength="3">
            页</td>
          <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
        </tr>
        <tr>
          <td rowspan="4" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="346" height="29" border="0"></td>
          <td rowspan="3"><img name="listbm_r3_c3" src="images/listbm_r3_c3.gif" width="27" height="20" border="0"></td>
          <td><?php echo $firstimage;?></td>
          <td bgcolor="#83d160"><img src="images/spacer.gif" width="6" height="16" border="0"></td>
          <td><?php echo $pimage;?></td>
          <td bgcolor="#83d160"><img src="images/spacer.gif" width="6" height="16" border="0"></td>
          <td><?php echo $nimage;?></td>
          <td bgcolor="#83d160"><img src="images/spacer.gif" width="6" height="16" border="0"></td>
          <td><?php echo $lastimage;?></td>
          <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
        </tr>
        <tr>
          <td rowspan="2" colspan="7"><img name="listbm_r4_c4" src="images/listbm_r4_c4.gif" width="82" height="4" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="3" border="0"></td>
        </tr>
        <tr>
          <td><img name="listbm_r5_c11" src="images/listbm_r5_c11.gif" width="88" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
        </tr>
        <tr>
          <td colspan="10" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="204" height="9" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="9" border="0"></td>
        </tr>
      </table></form>
 <?php
 }else{
 echo "<center>对不起,没有数据供查看!!</center>";
 }
 ?>

      <br>
    </td>
    <td background="images/box2.gif"><img name="box2" src="images/box2.gif" width="5" height="1" border="0"></td>
   <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>
  <tr>
    <td background="images/box2.gif"><img name="right_r7_c13" src="images/right_r7_c13.gif" width="5" height="301" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="301" border="0"></td>
  </tr>
  <tr>
   <td rowspan="3" colspan="4"><img name="right_r8_c3" src="images/right_r8_c3.gif" width="100" height="21" border="0"></td>
   <td colspan="4"><img name="right_r8_c7" src="images/right_r8_c7.gif" width="380" height="3" border="0"></td>
   <td rowspan="3" colspan="3"><img name="right_r8_c11" src="images/right_r8_c11.gif" width="100" height="21" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="3" border="0"></td>
  </tr>
  <tr>
   <td colspan="4" bgcolor="#dcf6ce"><img src="images/copyright.gif" width="380" height="14" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="14" border="0"></td>
  </tr>
  <tr>
   <td colspan="4"><img name="right_r10_c7" src="images/right_r10_c7.gif" width="380" height="4" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="4" border="0"></td>
  </tr>
  <tr>
   <td colspan="11" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="580" height="7" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="7" border="0"></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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