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

📄 pcdsee.php

📁 这是一个用c++builder编写的照片管理系统比较实用
💻 PHP
字号:
<? require("config.php"); 
if (empty($id)) exit;
if (empty($albumid)) exit;
if (!isset($picid)) exit;
if (!file_exists("user/$id/$albumid/piclist.php")) exit;
$pic_list=file("user/$id/$albumid/piclist.php");
$count=count($pic_list)-1;
if ($picid>$count || $picid<0) exit;
$detail=explode("|",$pic_list[$picid]);
$filename=$detail[0];
$info=$detail[1];
$user_list=file("user/$user_file");
$count=count($user_list)-1;
for ($i=0; $i<=$count; $i++) {
  $user_detail=explode("|",$user_list[$i]);
if ($user_detail[0]==$id) {$username=$user_detail[1];
  $useremail=$user_detail[2];
  $userpicno=$user_detail[3];
  break;
  }
}
$album_list=file("user/$id/albumlist.php");
$count=count($album_list);
for ($j=0; $j<$count; $j++) {
  $album_detail=explode("|",$album_list[$j]);
  if ($album_detail[0]==$albumid) {
  $albumname=$album_detail[1];
  $albumpic=$album_detail[3];
  $albumhit=$album_detail[2];
  break;
  }
}
?>
<html>
<head>
<title>风事画馆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script type="text/javascript">
function openScript(url, width, height) {
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );
}
</script>
<LINK href="style.css" type=text/css rel=stylesheet>
</head>

<body bgcolor="<? echo $bg_color; ?>">
<table width="700" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr> 
    <td width="206" align="center"><img src="images/pcd.jpg" width="200" height="60"></td>
    <td width="489" align="center"><? echo $advertise_html; ?></td>
  </tr>
</table>
<br>
<table width="450" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr align="center"> 
    <td><b><? echo $pcd_title; ?></b></td>
  </tr>
</table>
<table width="500" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr align="right"> 
    <td><a href="<? echo "upload.php?id=$id&albumid=$albumid"; ?>"><img src="images/pic.gif" width="16" height="16" border=0>添加新图片</a>
    <a href="mailto:<? echo $useremail; ?>"><img src="images/email.gif" width="16" height="16" border=0>Mail图片主人</a>
    <a href="<? echo "pcdel.php?id=$id&albumid=$albumid&picid=$filename"; ?>"><img src="images/recycle.gif" width=16 height=16 border=0>删除该图片</a>
    </td>
  </tr>
  <tr align="left"> 
    <td> 
<? echo "你的位置: 
<a href=\"$site_index\">网站首页</a> &gt;
<a href=\"pcd.php\">风事画馆</a> &gt;
<a href=\"pcdlist.php?id=$id\">{$username}的空间</a> &gt;
<a href=\"pcdview.php?id=$id&albumid=$albumid\">$albumname</a> &gt;
$filename
"; ?>   </td>
  </tr>
</table>
<table width="1" border="0" cellspacing="1" cellpadding="1" align="center" bgcolor="#CCCCFF">
  <tr>
    <td><? echo "<img src=\"user/$id/$albumid/$filename\">"; ?></td>
  </tr>
  <tr>
  <td align="center"><? echo "$info"; ?></td>
  </tr>
</table>
<br>
<center>
<input type="button" onclick="location.href='<? echo "pcdview.php?id=$id&albumid=$albumid"; ?>'" value="返回" name="backhome" style="font-family: 新细明体, 宋体, Arial; font-size: 9pt; height:20px;background-color:#ffffff; border:1 solid black" onMouseOver ="this.style.backgroundColor='#FFC864'" onMouseOut ="this.style.backgroundColor='#ffffff'">
</center>
<br>
<table width="75%" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr align="center"> 
    <td>&copy;2001 <a href="mailto:clock123@163.net">旅行</a> <a href="http://fengshi.yes8.com">风事<br>
      为你写的程序</a> </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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