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

📄 dispmeet.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
字号:
<?php
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
 $updataquery="UPDATE meet SET hit=hit+1 WHERE id=".$id." LIMIT 1";
 @mysql_query($updataquery)or die("error!");
 $query=mysql_query('select * from meet where id='.$id,$conn);
 $array=mysql_fetch_array($query);
if(!$array){
?>
<script language=vbscript>
alert ("对不起!聚会没有找到")
window.history.back()
</script>
<?php
exit();
}
?>
<html>
<head>
<style type="text/css">
<!--
td{font-size:12px;line-height:17px;}
a:active {text-decoration: none;}
a:link {text-decoration: none;}
a:hover{text-decoration: underline;}
a:visited {text-decoration: none;}
BODY{font-size:12px;line-height:17px;SCROLLBAR-FACE-COLOR: #83d160; SCROLLBAR-HIGHLIGHT-COLOR: #CCFF00; SCROLLBAR-SHADOW-COLOR: #CCFF00; SCROLLBAR-3DLIGHT-COLOR: #009900; SCROLLBAR-ARROW-COLOR:  #006600; SCROLLBAR-TRACK-COLOR: ##99FF00; SCROLLBAR-DARKSHADOW-COLOR: #009900; }
-->
</style>
<title>::查看聚会::<?php echo $array["title"]; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#dcf6ce"  text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<br>
<table width="346" border="1" cellspacing="2" cellpadding="0" height="245" align="center" bordercolorlight="#009900" bordercolordark="#009900">
  <tr> 
    <td height="20" width="65" bgcolor="#FFCC00">聚会时间:</td>
    <td height="20" colspan="3" bgcolor="#83d160"> 
      <?php echo $array["meetdt"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="65" height="20" bgcolor="#FFCC00">聚会城市:</td>
    <td colspan="3" height="20"> 
      <?php echo $array["address"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="65" height="19" bgcolor="#FFCC00">标题:</td>
    <td colspan="3" height="19" bgcolor="#83d160"> 
      <?php echo $array["title"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="65" height="21" bgcolor="#FFCC00">详细内容:</td>
    <td colspan="3" height="21"> 
      <div align="right">点击: 
        <?php echo $array["hit"]; ?>
        次</div>
    </td>
  </tr>
  <tr> 
    <td colspan="4" height="106" valign="top">&nbsp;&nbsp; 
      <?php echo zlstr($array["memo"]); ?>
    </td>
  </tr>
  <tr> 
    <td width="65" height="20" bgcolor="#FFCC00">发起人</td>
    <td width="96" height="20"> 
      <?php echo $array["initiator"]; ?>
    </td>
    <td width="61" height="20" bgcolor="#FFCC00">发布日期:</td>
    <td width="104" height="20"> 
      <?php echo $array["pubdate"]; ?>
    </td>
  </tr>
</table>
<p align="center">*如果要参加聚会,请联系发起人。<br>
  <br>
<p align="center"><a href="javascript:window.close()">关闭窗口</a></p>
</body>
</html>

⌨️ 快捷键说明

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