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

📄 showflash.php

📁 学校网站源码http://您的网址/admin/admin_login.asp 默认登录用户:admin 默认登录密码:admin
💻 PHP
字号:
<?php


include( "../../config.inc.php" );
include( "../../includes/SysGlobal.php" );
include( "../language/".$aLan."_".$charset.".php" );
include( "../../includes/version.php" );
include( "../../includes/pro.php" );
include( "../func/adm.inc.php" );
include( "../func/db.inc.php" );
needauth( 0 );
error_reporting( E_ERROR | E_WARNING | E_PARSE );
echo "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=";
echo $charset;
echo "\">\r\n<link rel=stylesheet type=text/css href=style.css>\r\n<title>";
echo $strHtmlFlash;
echo "</title>\r\n\r\n";
echo "<S";
echo "CRIPT>\r\nfunction cm(nn){\r\n\tif (confirm(\"";
echo $strDeleteConfirm;
echo "\")){\r\n\t\twindow.location='showflash.php?step=del&ifile='+nn;\r\n\t}\r\n}\r\n\r\nfunction flash_file (file,width,height) {\r\n\twindow.returnValue = file + \"*\" + width + \"*\" + height;\r\n\twindow.close();\r\n}\r\n</SCRIPT>\r\n</head>\r\n\r\n<body leftmargin=\"0\" topmargin=\"5\">\r\n<center>\r\n<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" bgcolor=\"#ffffff\">\r\n  <tr>\r\n";
$imagefold = "../../pic/swf/";
$step = $_REQUEST['step'];
if ( $step == "del" )
{
	$ifile = $_GET['ifile'];
	if ( $ifile != "." && $ifile != ".." && $ifile != "_notes" && !is_dir( $ifile ) )
	{
		if ( file_exists( $imagefold.$ifile ) )
		{
			unlink( $imagefold.$ifile );
			echo "<script>parent.location.reload()</script>";
		}
	}
	else
	{
		echo "<script>alert('".$strHtmlFlashDelNotice."')</script>";
	}
}
$handle = opendir( $imagefold );
$kk = 1;
$tt = 0;
while ( $flash_file = readdir( $handle ) )
{
	$nowfile = $imagefold.$flash_file;
	$flash_size = @getimagesize( $nowfile );
	if ( $flash_file != "." && $flash_file != ".." && $flash_file != "_notes" && !strstr( $flash_file, "/" ) && !is_dir( $nowfile ) )
	{
		echo "    <td bgcolor=\"#ffffff\" style=\"border: 1px solid #f0f0f0;\">\r\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\r\n        <tr> \r\n          <td><OBJECT \r\n            codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 \r\n            height=110 width=110 \r\n            classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>\r\n              <PARAM NAME=\"movie\" VALUE=\"";
		echo $nowfile;
		echo "\">\r\n              <PARAM NAME=\"quality\" VALUE=\"high\">\r\n              <embed src=\"";
		echo $nowfile;
		echo "\" \r\n            quality=\"high\" \r\n            pluginspage=\"http://www.macromedia.com/go/getflashplayer\" \r\n            type=\"application/x-shockwave-flash\" width=\"110\" \r\n            height=\"110\"></embed></OBJECT></td>\r\n        </tr>\r\n\t\t<tr>\r\n\t\t<td width=\"110\" style=\"font-size:10px\" align=center>\r\n\t\t\t";
		echo $flash_file;
		echo "\t\t</td>\r\n\t\t</tr>\r\n        <tr> \r\n          <td height=\"22\" align=\"center\" valign=\"bottom\"> \r\n            <input type=\"button\" name=\"Submit\" value=\"";
		echo $strHtmlImageLibSelit;
		echo "\" onClick=\"flash_file ('";
		echo str_replace( "../../", $SiteUrl, $nowfile );
		echo "','";
		echo $flash_size[0];
		echo "','";
		echo $flash_size[1];
		echo "')\">&nbsp;<input type=\"button\" name=\"Submit2\" value=\"";
		echo $strDelete;
		echo "\"  onClick=\"cm('";
		echo $flash_file;
		echo "')\"> </td>\r\n        </tr>\r\n      </table> \r\n    </td>\r\n\t\t";
		if ( 5 <= $kk )
		{
			echo "</tr>";
			$kk = 0;
		}
		$kk++;
		$tt++;
	}
}
echo "  </tr>\r\n</table>\r\n</center>\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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