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

📄 search.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: search.tpl.html 253 2009-03-11 03:05:27Z along $
#
#	Copyright (C) 2008-2009 PHPDisk Team. All Rights Reserved.
#
##
 ?>
<title><?=$lang['search_file_title']?> - <?=$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 if($action =='index' || $action =='search'){ ?>
<div class="share_box">
<div class="l">
<div class="search_box">
<form action="<?=urr("index","")?>" method="get" onSubmit="dosearch(this);">
<input type="hidden" name="item" value="search">
<input type="hidden" name="action" value="search">
<ul>
<li>&nbsp;</li>
<li><img src="images/search_icon.gif" width="22" height="22" align="absmiddle"><input type="text" name="word" size="10" value="<?=$word?>" />&nbsp;<input type="submit" value="<?=$lang['search']?>"></li>
<li><span class="txtgray">Tips:<?=$lang['search_tips_public']?></span></li>
<li>&nbsp;</li>
<li>&nbsp;</li>
<li><a href="<?=urr("index","item=public&action=index")?>"><img src="images/p_upload.gif" align="absmiddle" border="0"><?=$lang['public_upload']?></a></li>
</ul>
</form>
</div>
</div>
<div class="r">
<?php if(count($files_array) >0){ ?>
<table width="100%" cellpadding="4" cellspacing="2" border="0">
<tr>
	<td width="60%" class="bold"><?=$lang['file_name']?></td>
	<td width="100" class="bold" align="center"><?=$lang['file_time']?></td>
	<td class="bold" align="center"><?=$lang['file_downs']?> / <?=$lang['file_views']?></td>
</tr>
<?php 
	foreach($files_array as $k => $v){
 ?>
<tr onMouseOver="this.className='alt_bg';" onMouseOut="this.className='';">
	<td><a href="<?=urr("downfile","action=public&file_id={$v['file_id']}&file_key={$v['file_key']}")?>" title="<?=$lang['download']?>"><?=file_icon($v['file_extension'])?></a>&nbsp;
	<?php if($v['is_image']){ ?>
	<a href="<?=urr("viewfile","action=public&file_id={$v['file_id']}&file_key={$v['file_key']}")?>" id="m_<?=$k?>" onMouseOver="show_thumb('<?=$v['file_id']?>','public');show_menu('m_<?=$k?>','div_<?=$k?>','show','right');" onMouseOut="show_menu('m_<?=$k?>','div_<?=$k?>','hide','right')" target="_blank" title="<?=$v['file_name_all']?> <?=$v['file_size']?>"><?=$v['file_name']?></a><br />
<div id="div_<?=$k?>" class="menu_thumb"><img id="thb_<?=$v['file_id']?>" src="<?=$tpl_dir?>/images/ajax_loading.gif" /></div>
	<?php }else{ ?>
	<a href="<?=urr("viewfile","action=public&file_id={$v['file_id']}&file_key={$v['file_key']}")?>" target="_blank" title="<?=$v['file_name_all']?> <?=$v['file_size']?>"><?=$v['file_name']?></a>
	<?php } ?>
	</td>
	<td align="center" class="txtgray"><?=$v['file_time']?></td>
	<td align="center"><span class="txtblue"><?=$v['file_downs']?></span> / <span class="txtgreen"><?=$v['file_views']?></span></td>
</tr>
<?php 
	}
	unset($files_array);
}else{
 ?>
<tr>
	<td colspan="6"><?=$lang['file_not_found']?></td>
</tr>	
<?php 
}
 ?>
<tr>
	<td colspan="6"><?=$page_nav?></td>
</tr>	
</table>
</div>
</div>
<div class="clear"></div>
<script language="javascript">
function dosearch(o){
	if(o.word.value.strtrim().length <1){
		o.word.focus();
		return false;
	}
}
</script>
<?php } ?>

⌨️ 快捷键说明

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