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

📄 show.php

📁 一具非常好的用系统你可照着说明就可以用了
💻 PHP
字号:
<? 
require("inc/config.php");
require("inc/func.php");
if (eregi("[^0-9]",$filename)) {showerror("非法的文件名,或者该文件不存在");exit();}
?>
<html>
<head>
<title><?$fp=@file("date/$filename");		 $fp[0]=str_replace("\n","",$fp[0]);		 $title=$fp[0];		 echo $fp[0];?>——新易设计简单下载系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css">
<style type="text/css">
<!--
body {
	background-color: #52D0BB;
}
.style1 {color: #FF0000}
-->
</style></head>
<?
#写入点击数
$fp=@file("date/index");
$num=count($fp);
for ($i=$num-1;$i>=0;$i--)
{
	$info=explode("│",$fp[$i]);
	if ($info[2]==$filename) { $info[3]++;
	$fp[$i]=implode("│",$info);
	$jointime=$info[4];$author=$info[5];$from=$info[6];$number=$info[3];break;}
}
		$fp1=fopen("date/index","w");
		flock($fp1,3);
		for ($i=0;$i<$num;$i++)
		{
		fputs($fp1,$fp[$i]);
		}
		fclose($fp1);
?>
<body oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false"onmouseup="document.selection.empty()">
<table width="460" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2">
      <div align="left"><font color="#2f4119">欢迎使用<a href="http://siny.ahut.edu.cn/index/" target="_blank">新易设计(Siny Design)</a>简单下载系统 
          </font> <font color="#2f4119"> 
        <MARQUEE 
      style="FILTER: glow(color=#2f4119,strength=2); WIDTH: 100%; COLOR: #52D0BB" 
      scrollAmount=4 
    behavior=alternate>
        </MARQUEE>
           </font></font></div></td> 
  </tr>
  <tr>
    <td width="223"><div align="center">程序名称</div></td> 
    <td width="237"><div align="center"><font color="#2f4119">下载地址</font></div>      </font></td>
  </tr>
  <tr>
    <td><div align="center"><?echo $title;?></div></td>
    <td><div align="center"><a href="<? echo $author;?>" target="_blank" class="style1">点击下载</a> </div></td>
  </tr>
  <tr>
    <td colspan="2"><span class="style1">简介</span><font color="#2f4119">:
        <?

		$article=@file("date/$filename");
		for($i=1;$i<count($article);$i++)
		{
			echo $article[$i]."<br>";
		}
	?>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </font></td>
  </tr>
  <tr>
    <td height="18" colspan="2"><div align="right"><font color="#2f4119">加入时间:<?echo $jointime;?> 下载次数:<?echo $number;?></font><font color="#FFFFFF"></font></div></td> 
  </tr>
</table>

⌨️ 快捷键说明

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