<html>
<head>
<title>Dream4Dev FTPSearch (FTP 搜索引擎)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
function GetCookieVal (offset) {var endstr=document.cookie.indexOf (";",offset);if (endstr==-1) endstr=document.cookie.length;return unescape(document.cookie.substring(offset, endstr));}
function GetCookie (name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i = 0;while (i<clen){var j=i+alen;if (document.cookie.substring(i,j)==arg) return GetCookieVal (j);i = document.cookie.indexOf(" ",i)+1;if (i==0) break;} return null;}
function DeleteCookie (name) {var exp=new Date(); exp.setTime (exp.getTime()-1); var cval=GetCookie (name); document.cookie=name+"="+cval+"; expires="+exp.toGMTString();}
function SetCookie(name, value) {var argv = SetCookie.arguments; var argc = SetCookie.arguments.length;	var expires = argc > 2 ? argv[2] : null; var path = argc > 3 ? argv[3] : null; var domain = argc > 4 ? argv[4] : null; var secure = argc > 5 ? argv[5] : false; document.cookie = name + "=" + escape (value) + (expires == null ? "" : ("; expires=" + expires.toGMTString())) + (path == null ? "" : ("; path=" + path)) + (domain == null ? "" : ("; domain=" + domain)) + (secure == true ? "; secure" : ""); }
function GetOption() {
var coFolder=GetCookie("folder");
if (coFolder) {document.search.folder.checked = coFolder == "true" ? true : false;}
var coEmptyFolder=GetCookie("emptyfolder");
if (coEmptyFolder) {document.search.emptyfolder.checked = coEmptyFolder == "true" ? true : false;}
var coFile=GetCookie("file");
if (coFile) {document.search.file.checked = coFile == "true" ? true : false;}
}
function SetOption() {
var expdate = new Date();
expdate.setTime (expdate.getTime() + 365 * (24 * 60 * 60 * 1000)); //+365 day
SetCookie("folder", document.search.folder.checked, expdate, "/");
SetCookie("emptyfolder", document.search.emptyfolder.checked, expdate, "/");
SetCookie("file", document.search.file.checked, expdate, "/");
}
</script>
<style type="text/css">
<!--
.normal12 {font-size: 12px;}
.blue {font-size: 12px; font-weight: bold; color: #0000FF;}
.banner {font-size: 12px; color: #990099;}
.floder {font-size: 12px; color: #008000;}
.file {margin-left: 12px; font-size: 12px;}
.site {font-size: 12px; font-weight: bold; color: #000000; background:#CEDBFF;}
.row1 {background: #E3E3E3; cursor: hand;}
.row2 {background: #EEEEEE; cursor: hand;}
.row {background: #E7EBFF; cursor: hand;}
-->
</style>
</head>
<body bgColor=#EEEEEE topmargin=8 leftmargin=8>
<div align="center" class="blue">Dream4Dev FTPSearch (FTP 搜索引擎)</div><br>
<table width="99%" border="0" cellpadding="2" cellspacing="0" class="normal12"><tr>
<form name="search" action="/" method="post" class="normal12" onsubmit="SetOption();"><td align=center>
<input name="pageno" type="hidden" value="0">
搜索内容：
<input name="key" type="text" maxlength="100" size=50 class="normal12" value="">
<input type="submit" name="Submit" value="搜索" class="normal12">
<br>搜索范围：<input type="checkbox" name="folder" value="yes" class="normal12" checked>目录
(<input type="checkbox" name="emptyfolder" value="yes" class="normal12">包括空目录)
<input type="checkbox" name="file" value="yes" class="normal12">文件
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(多个关键字用空格隔开)</td></form></tr></table>
<script language="javascript">GetOption();</script>
<hr width="100%" size="1">
<!--Result-->
<div align="center" class="normal12">
FTP Search v2.0.&nbsp;&nbsp;Unregistered.&nbsp;&nbsp;Powered By <a href="http://www.dream4dev.com" class="blue" target="_blank"><b>Dream4Dev</b></a>
<br><a href="http://www.dream4dev.com/intro-SU.html" class="banner" target="_blank">ServUPlus(Serv-U与论坛挂钩插件)</a>
&nbsp;&nbsp;<a href="http://www.dream4dev.com/intro-FTPSearch.html" class="banner" target="_blank">FTPSearch(FTP 搜索引擎)</a>
</div>
</body>
</html>
