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

📄 index.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once("inc/conn.php");
include_once("inc/auth.php");

$PAGE_SIZE=10;
?>

<html>
<head>
<title>图片浏览</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body class="bodycolor" topmargin="5">

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/picture.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 图片浏览</span><br>
    </td>
    </tr>
</table>

<br>

<?
$query = "SELECT * from PICTURE";
$cursor= exequery($connection,$query);
$PIC_COUNT=0;

while($ROW=mysql_fetch_array($cursor))
{
   $PIC_COUNT++;

   $PIC_ID=$ROW["PIC_ID"];
   $PIC_NAME=$ROW["PIC_NAME"];

   $PIC_NAME=str_replace("<","&lt",$PIC_NAME);
   $PIC_NAME=str_replace(">","&gt",$PIC_NAME);
   $PIC_NAME=stripslashes($PIC_NAME);

   if($PIC_COUNT==1)
   {
?>

<table border="0" cellspacing="1" width="500" class="small" bgcolor="#000000" cellpadding="3" align="center">
 <tr class="TableHeader">
     <td nowrap align="center">图片目录标题</td>
 </tr>
<?
   }

   if($PIC_COUNT%2==1)
      $TableLine="TableLine1";
   else
      $TableLine="TableLine2";
?>
   <tr class="<?=$TableLine?>">
     <td nowrap align="center"><a href="picture.php?PIC_ID=<?=$PIC_ID?>"><img src="/images/disk_share.gif" border="0"><br><?=$PIC_NAME?></a></td>
 </tr>
<?
}//while

if($PIC_COUNT>0)
{
?>
 </table>
<?
}
else
   Message("","无图片目录");
?>

</table>

</body>
</html>

⌨️ 快捷键说明

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