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

📄 photo.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
📖 第 1 页 / 共 2 页
字号:
  </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">
      <br>
<?php
if($recordcount!=0){
?>
      <form action=albumadmin.php method=GET>
<!--#############################################-->
<?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);
  $outsize=$classbcarray["size"]/1024;
  $imagefile="../upload/photo/".$classbcarray["filename"];
  $sizeinfo=GetImageSize($imagefile);
  if($sizeinfo[2]==1)$pclass="GIF";
  if($sizeinfo[2]==2)$pclass="JPG";
  if($sizeinfo[2]==3)$pclass="PNG";
?>
      <table border="0" cellpadding="0" cellspacing="0" width="525">
        <!-- fwtable fwsrc="无标题" fwbase="photo.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr>
          <td><img src="images/spacer.gif" width="60" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="8" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="150" 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="191" 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="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="5" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="55" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
        </tr>
        <tr>
          <td rowspan="8"><img name="photo_left" src="images/photo_left.gif" width="60" height="141" border="0"></td>
          <td colspan="8"><img name="photo_top" src="images/photo_top.gif" width="410" height="2" border="0"></td>
          <td rowspan="8"><img name="photo_right" src="images/photo_right.gif" width="55" height="141" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="2" border="0"></td>
        </tr>
        <tr>
          <td colspan="8" bgcolor="#83d160"><?php echo $classbcarray["title"];?></td>
          <td><img src="images/spacer.gif" width="1" height="25" border="0"></td>
        </tr>
        <tr>
          <td rowspan="4"><img name="photo_box_left" src="images/photo_box_left.gif" width="8" height="106" border="0"></td>
          <td><img name="photo_box_top" src="images/photo_box_top.gif" width="150" height="2" border="0"></td>
          <td rowspan="4"><img name="photo_box_right" src="images/photo_box_right.gif" width="6" height="106" border="0"></td>
          <td rowspan="2" colspan="5" bgcolor="#83d160">编号:<?php echo $rowi+1;?>&nbsp;类型:<?php echo $classbcarray["type"];?><br>
            文件:<?php  printf( '%3.2fKB,%dX%d,%s',$outsize,$sizeinfo[0],$sizeinfo[1],$pclass);?><br>
            来源:<?php echo $classbcarray["photofrom"];?><br>
            时间:<?php echo $classbcarray["datetime"];?></td>
          <td><img src="images/spacer.gif" width="1" height="2" border="0"></td>
        </tr>
        <tr>
          <td rowspan="2" bgcolor="#83d160"><?php echo '<a href="javascript:dispphoto('.$classbcarray["id"].','.$userid.')"><img src="../upload/pvpic/pv'.$classbcarray["filename"].'" width="150" height="100" border="0"></a>';?></td>
          <td><img src="images/spacer.gif" width="1" height="82" border="0"></td>
        </tr>
        <tr>
          <td rowspan="3" bgcolor="#83d160">上载:<?php echo $classbcarray["uploadman"];?>&nbsp;点击次数:<?php echo $classbcarray["hit"];?></td>
          <td rowspan="2"><?php echo '<a href=albumadmin.php?op=delete&id='.$classbcarray["id"].'&userid='.$userid.'>';?><img name="photo_delete" src="images/photo_delete.gif" width="22" height="22" border="0" title="删除"></a></td>
          <td rowspan="3" bgcolor="#83d160"><img src="images/spacer.gif" width="6" height="27" border="0"></td>
          <td rowspan="2"><?php echo '<a href="javascript:dispphoto('.$classbcarray["id"].','.$userid.')">';?><img name="photo_view" src="images/photo_view.gif" width="22" height="22" border="0" title="查看"></a></td>
          <td rowspan="3" bgcolor="#83d160"><img src="images/spacer.gif" width="5" height="27" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="18" border="0"></td>
        </tr>
        <tr>
          <td><img name="photo_box_bottom" src="images/photo_box_bottom.gif" width="150" height="4" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="4" border="0"></td>
        </tr>
        <tr>
          <td rowspan="2" colspan="3"><img name="photo_bottom" src="images/photo_bottom.gif" width="164" height="8" border="0"></td>
          <td bgcolor="#83d160"><img src="images/spacer.gif" width="22" height="5" border="0"></td>
          <td bgcolor="#83d160"><img src="images/spacer.gif" width="22" height="5" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
        </tr>
        <tr>
          <td colspan="5"><img name="photo_bottom2" src="images/photo_bottom2.gif" width="246" height="3" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="3" border="0"></td>
        </tr>
        <?php
	echo "</table><br>";
	$rowi = $rowi+1;
		}
	}
        echo '<input type=hidden name="userid" value='.$userid.'>';   ?>   
      </form>
<!--############## </table>###############################-->
      <form name="form1" method="post" action="albumadmin.php">
        <table width="525" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="21"><a href="#top"><img name="GotoTop" src="images/upgrade.gif" width="16" height="16" border="0" title="回到顶部"></a></td>
            <td width="479">
              <div align="right"><?php echo $pageinfo.'['.$firstimage.'] ['.$pimage.'] ['.$nimage.'] ['.$lastimage.'] 转到:';?>
                <input type="text" name="page" size="2" maxlength="3">
                页 </div>
            </td>
          </tr>
        </table>
      </form>
 <?php
 }else{
 echo "<br><br><center>对不起,没有数据供查看!!</center>";
 }
 ?>
      

    <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 + -