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

📄 voteadmin.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
📖 第 1 页 / 共 3 页
字号:
  <tr>
   <td colspan="3"><img name="right_r4_c2" src="images/right_r4_c2.gif" width="22" height="60" border="0"></td>
   <td><img name="right_r4_c5" src="images/right_r4_c5.gif" width="38" height="60" border="0"></td>
   <td colspan="6" bgcolor="#dcf6ce"><img src="images/ad.gif" width="500" height="60" border="0"></td>
   <td colspan="2"><img name="right_r4_c12" src="images/right_r4_c12.gif" width="35" height="60" border="0"></td>
   <td><img name="right_r4_c14" src="images/right_r4_c14.gif" width="15" height="60" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="60" border="0"></td>
  </tr>
  <tr>
   <td colspan="3"><img name="right_r5_c2" src="images/right_r5_c2.gif" width="22" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c5" src="images/right_r5_c5.gif" width="175" height="19" border="0"></td>
   <td><img name="right_r5_c8" src="images/right_r5_c8.gif" width="96" height="19" border="0"></td>
   <td><img name="right_r5_c9" src="images/right_r5_c9.gif" width="87" height="19" border="0"></td>
   <td><img name="right_r5_c10" src="images/right_r5_c10.gif" width="115" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c11" src="images/right_r5_c11.gif" width="100" height="19" border="0"></td>
   <td><img name="right_r5_c14" src="images/right_r5_c14.gif" width="15" height="19" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
  </tr>
  <tr>
   <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
    <td rowspan="2" background="images/box2.gif"><img name="right_r6_c3" src="images/right_r6_c3.gif" width="5" height="302" border="0"></td>
    <td rowspan="2" colspan="9" bgcolor="#dcf6ce" valign="top" align="center"> 
<?php
if($recordcount!=0){
?>
      <form action=<?php echo $PHP_SELF;?> method=GET>
      <table border="0" cellpadding="0" cellspacing="0" width="567" name="list_top">
        <!-- fwtable fwsrc="无标题" fwbase="list.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr> 
          <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="22" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="9" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="109" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="23" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="171" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="27" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="13" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="4" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="24" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="9" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
        </tr>
        <tr> 
          <td colspan="29" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="567" height="9" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="9" border="0"></td>
        </tr>
        <tr> 
          <td bgcolor="#dcf6ce" width="5"></td>
          <td colspan="7"><img name="list_r2_c2" src="images/list_r2_c2.gif" width="152" height="5" border="0"></td>
          <td colspan="2" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="194" height="5" border="0"></td>
          <td rowspan="3" colspan="18"><?php echo $pageinfo;?></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 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="26" background="images/huang_bg.gif"> 
      <div align="center">id</div>
    </td>
    <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="269" 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="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 = ($page-1)*$pagesize;
		for($i=0;$i<$pagesize;$i++){
		if($rowi>($recordcount-1)){
		//echo "</table>";
		}
		else{
		mysql_data_seek($classbcquery,$rowi);
		$classbcarray=mysql_fetch_array($classbcquery);
		$delstr='<a href='.$PHP_SELF.'?op=delete&flag=on&pollsid='.$classbcarray["pollid"].'>';
?>
  <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="26" 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="269" bgcolor="#dcf6ce"><?php echo '<a href="javascript:disppub('.$classbcarray["pollid"].')">'.$classbcarray["polltitle"].'</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 $classbcarray["pollsdate"];?></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 $delstr;?><img src="images/delete.gif" width="16" height="16" border="0" title="删除" alt="删除"></a></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> 

⌨️ 快捷键说明

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