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

📄 downdisp.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
字号:
<?php
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
 $updataquery="UPDATE download SET browsehit=browsehit+1 WHERE id=".$id." LIMIT 1";
 @mysql_query($updataquery)or die("error!");
 $query=mysql_query('select * from download where id='.$id,$conn);
 $array=mysql_fetch_array($query);
if(!$array){
?>
<script language=vbscript>
alert ("对不起!你要的公告没有找到")
window.history.back()
</script>
<?php
exit();
}
?>
<html>
<head> 
<SCRIPT LANGUAGE="JavaScript">
 <!--
 function showfile(vid) {
   window.open('downfile.php?id='+vid,'refile','resizable=1,scrollbars=1,width=200,height=200');
 }
 function download(vid,ext) {
   window.open('down.php?id='+vid+'&filename='+ext,'download','resizable=1,scrollbars=1,width=320,height=245');
 }
 function openw(url,n,w,h) {
   window.open(url,n,'resizable=1,scrollbars=1,width='+w+',height='+h)
 }
 function confirmdel(url) {
   if (confirm('确定要删除这个文件么?')) {
     top.location=url;
   }
 }
 function checksubmit() {
   if (form1.s.value=='') {
     form1.s.focus();
     return false;
   }
 }
 function high(which2){
 theobject=which2
 highlighting=setInterval("highlightit(theobject)",50)
 }
 function low(which2){
 clearInterval(highlighting)
 which2.filters.alpha.opacity=60
 }
 function highlightit(cur2){
 if (cur2.filters.alpha.opacity<100)
 cur2.filters.alpha.opacity+=10
 else if (window.highlighting)
 clearInterval(highlighting)
 }
 //-->
 </script>
<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["softname"]; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#dcf6ce"  text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<div align="center">::集中营下载::<br>
  <br>
</div>
<table width="400" border="1" cellspacing="2" cellpadding="0" align="center" bordercolorlight="#009900" bordercolordark="#009900">
  <tr> 
    <td width="74" bgcolor="#FFCC00">软件名称:</td>
    <td colspan="3" bgcolor="#83d160"> 
      <?php echo $array["softname"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">软件大小:</td>
    <td width="102"> 
      <?php echo $array["size"]; ?>
    </td>
    <td width="64" bgcolor="#FFCC00">软件语言:</td>
    <td width="108"> 
      <?php echo $array["language"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">软件类型:</td>
    <td width="102" bgcolor="#83d160"> 
      <?php echo $array["softtype"]; ?>
    </td>
    <td width="64" bgcolor="#FFCC00">运行平台:</td>
    <td width="108" bgcolor="#83d160"> 
      <?php echo $array["platform"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">浏览次数:</td>
    <td width="102"> 
      <?php echo $array["browsehit"]; ?>
    </td>
    <td width="64" bgcolor="#FFCC00">下载次数:</td>
    <td width="108"> 
      <?php echo $array["downhit"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">作者E-MAIL:</td>
    <td colspan="3" bgcolor="#83d160"> 
      <?php echo $array["email"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">相关网址:</td>
    <td colspan="3"> 
      <?php echo $array["httpurl"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">上传日期:</td>
    <td width="102" bgcolor="#83d160"> 
      <?php echo $array["date"]; ?>
    </td>
    <td width="64" bgcolor="#FFCC00">评定等级:</td>
    <td width="108" bgcolor="#83d160"> 
      <?php echo $array["level"]; ?>
    </td>
  </tr>
  <tr> 
    <td width="74" bgcolor="#FFCC00">软件介绍:</td>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr> 
    <td colspan="4" height="100">&nbsp;&nbsp; 
      <?php echo zlstr($array["memo"]); ?>
    </td>
  </tr>
  <tr> 
    <td colspan="4" bgcolor="#83d160"> 
      <?php echo '<a href="javascript:showfile('.$array["id"].')">按此进入下载页面</a>';?>
    </td>
  </tr>
  <tr> 
    <td colspan="4"><font color="#FF0000">*</font> 推荐使用网络蚂蚁或网际快车下载本站软件。 <br>
      <font color="#FF0000">*</font> 如果您发现该软件不能下载,请发信通知 管理员,谢谢! <br>
      <font color="#FF0000">*</font> 如果您制作了好的软件希望能与大家分享,我们愿意和您一起宣传!请联系我们。 <br>
      <font color="#FF0000">*</font> 如果您链接本站本地软件,请注明来自41197集中营,谢谢您的支持! </td>
  </tr>
</table>
<p align="center"><a href="javascript:window.close()">关闭窗口</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

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