ȫļԴƷ-----For Dz6.0.0ʽ
ð汾Discuz6.0.0
ԣ UTF-8
ߣTomore

ģ޸ģdiscuz.htm forumdisplay.htm
װףһЩѶ
֧֣http://www.winu.cn
    ʾhttp://www.winu.cn/search_index.php?keywords=%E6%BA%90%E7%A0%81&type=1

ص㣺
 DZ̳ٶһȽ⣬ZendFrameworkЧĻ漼
ٶ⣬ͬʱUTF-8 ķִ⣬Ӧõִ̳


˳ʺȽٵ̳ҲûбҪװģ飬ھ10ϵ̳Ƽʹ

˱ΪǼӸӾָл
ͬʱӭҼĽ׸ҡ


վ£

վƣԴ̳
վַhttp://www.winu.cn
վ飺ṩԴ뿪ĵؼأ࿪ԺͿ߼
LOGOַhttp://www.winu.cn/images/Beijing2008/logo.gif
 




ҪPHP 5.2 ͬʱ PHP  cbd Ȩ

windows

 ;extension=php_dba.dll  ȡǰ ;

linux 
 ʱ 
 '--enable-dba' '--with-cdb' 



װ

һ ѹеļѹ

	create_index.php	
	search_index.php	ǰ̨
	search			 ZendFramework-1.0.0Ѿ޸ģӦUTF-8 ַָ 
	---dict			Ϊֵ⣬һֵ䣬ӣӺҪ.cdb ļ
	include
	---cache.class.php	ɻ


ڶ search/data Ŀ¼д





޸ģ


 discuz.htm
<!--{if !empty($google) && ($google & 1)}-->

֮
	<div style="float:left">
		<form method="get" action="search_index.php">
		<input type="text" name="keywords" value="$keywords" />
		<select name="type">
  		<option  value="1"  ></option>
  		<option  value="2">⼰</option>
		</select> 
		<button type="submit" style="height:30px">ȫļ</button>
		</form>
	</div>

forumdisplay.htm
<div id="headsearch">

֮

		<div style="width:400px;float:left;height:30px">
		<form method="get" action="search_index.php">
		<input type="text" name="keywords" value="$keywords" />
		<select name="type">
  		<option  value="1"  ></option>
  		<option  value="2" <!--{if $type=2}--> selected <!--{/if}-->>⼰</option>
		</select> 
		<button type="submit" style="height:30px">ȫļ</button>
		</form>
		</div>

ĲDiscuz! 6.0.0 ̨һƻ create_index.php ÿִУµӼȫ
