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

📄 inviteadmin.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
📖 第 1 页 / 共 2 页
字号:
            <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 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" width="55">
            <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" width="65">
            <div align="center">发布时间</div>
          </td>
          <td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="60" background="images/huang_bg.gif">
            <div align="center">是否阅读</div>
          </td>
          <td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="32" 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"><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="65"></td>
          <td background="images/h_dot.gif" height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="60"><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="32"></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);
                $classbcarray["readed"]?$readflag='已读':$readflag='<font color="#FF0000">未读</font>';		
		?>
        <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 bgcolor="#dcf6ce"><?php echo '<a href="javascript:dispinv('.$classbcarray["id"].','.$userid.')">'.$classbcarray["whys"].'</a>';?></td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td bgcolor="#dcf6ce" width="55">
            <div align="center"><?php echo $classbcarray["username"];?></div>
          </td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td bgcolor="#dcf6ce" width="65">
            <div align="center"><?php echo $classbcarray["senddate"];?></div>
          </td>
          <td width="1" bgcolor="#dcf6ce" background="images/lines.gif"></td>
          <td width="60" bgcolor="#dcf6ce">
            <div align="center"><?php echo $readflag;?></div>
          </td>
          <td width="1" bgcolor="#dcf6ce" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="32" bgcolor="#dcf6ce">
            <div align="center"><?php echo '<a href=inviteadmin.php?op=delete&id='.$classbcarray["id"].'&userid='.$userid.'>';?><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="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"><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="55"><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="65"></td>
          <td background="images/h_dot.gif" height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="60"><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="32"></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 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>
     <?php echo '<input type=hidden name="userid" value='.$userid.'>';   ?>   
      </form>
 <?php
 }else{
 echo "<center>对不起,没有数据供查看!!</center>";
 }
 ?>
    </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 + -