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

📄 extract.tpl.php

📁 创建虚拟磁盘。用户可以创建磁盘
💻 PHP
字号:
<?php 
// This is PHPDISK auto-generated file. Do NOT modify me.

if(!defined('IN_PHPDISK'))
	exit('[PHPDisk] Access Denied');
?>
<?php 
##
#	Project: PHPDisk
#	This is NOT a freeware, use is subject to license terms.
#
#	Site: http://www.phpdisk.com
#
#	$Id: extract.tpl.php 224 2009-03-06 16:34:43Z along $
#
#	Copyright (C) 2008-2009 PHPDisk Team. All Rights Reserved.
#
##
 ?>
<title><?=$lang['extract_file']?> - <?=$settings['site_title']?> - Powered by PHPDisk Team</title>
<script type="text/javascript" src="includes/js/prototype.js"></script>
<script type="text/javascript" src="includes/js/common.js"></script>
<link href="<?=$tpl_dir?>/images/index.css" rel="stylesheet" type="text/css" />
</head>

<body>
<?php require_once template('front_top',TPL_NAME);  ?>
<?php require_once template('circle_box_header',TPL_NAME);  ?>
<div class="cboxcontent">
<h1><?=$lang['extract_file']?></h1>
<div class="extract_box">
<form name="user_from" action="<?=urr("index","")?>" method="post" onSubmit="return chkform(this);">
<input type="hidden" name="item" value="extract" />
<input type="hidden" name="action" value="file_extract" />
<input type="hidden" name="task" value="file_extract" />
<input type="hidden" name="formhash" value="<?=$formhash?>" />
<?=$lang['extract_text']?>:&nbsp;<input type="text" name="extract_code" value="" maxlength="16" />&nbsp;<input type="submit" value="<?=$lang['btn_extract']?>" />
</form>
</div>
<br>
<?php 
if(count($sysmsg)>0){
	for($i=0;$i<count($sysmsg);$i++){
 ?>
<li><span>*</span> <?=$sysmsg[$i]?></li>
<?php 
	}
}
unset($sysmsg);
 ?>
<?php 
if(count($extract_array) >0){
 ?>
<div class="extract_div">
<?=$lang['total_extract_file']?>: <span class="txtred"><?=count($extract_array);?></span> <?=$lang['piece']?>
</div>
<?php 
	foreach($extract_array as $k => $v){
 ?>
<div class="extract_div">
<div class="l"><?=($k+1)?>. <a href="<?=urr("downfile","file_id={$v['file_id']}&file_key={$v['file_key']}")?>" title="<?=$lang['download']?>"><?=file_icon($v['file_extension'])?></a>&nbsp;<a href="<?=urr("viewfile","file_id={$v['file_id']}&file_key={$v['file_key']}")?>" title="[ID:<?=$v['file_id']?>]<?=$v['file_description']?>" target="_blank"><?=$v['file_name']?></a></div>
<div class="r"><?=$v['file_size']?>/<span title="<?=$v['file_time']?>"><?=$v['file_time_short']?></span></div>
</div>
<div class="clear"></div>

<?php 
	}
	unset($extract_array);
}
 ?>
<script language="JavaScript" type="text/javascript">
document.user_from.extract_code.focus();
function chkform(o){
	if(o.extract_code.value.strtrim().length <8 || o.extract_code.value.strtrim().legnth >16){
		alert("<?=$lang['js_extract_code']?>");
		o.extract_code.focus();
		return false;
	}
}
</script>
<p>&nbsp;</p></div>
<?php require_once template('circle_box_footer',TPL_NAME);  ?>

⌨️ 快捷键说明

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