POST TIME:2021-05-23 02:15
				
{dede:arclist orderby=pubdate titlelen='26′ row='10′} 
[field:global runphp='yes' name=autoindex] 
$a="<div id='a'>"; 
$b="<div id='b'>"; 
if ((@me%2)==0) @me=$a; 
else @me=$b; 
[/field:global] 
<ul> 
<li>[field:title/]</li> 
</ul> 
</div> 
{/dede:arclist}
			 | 
		
				
<form action="{dede:global name='cfg_phpurl'/}/search.php" name="formsearch"> 
<input type="hidden" name="kwtype" value="1″ /> 
<input name="keyword" id="keyword" type="text" /> 
<select name="searchtype" id="searchtype"> 
<option value="titlekeyword" selected>智能模糊搜索</option> 
<option value="title">仅搜索标题</option> 
</select> 
<input type="image" src="{dede:field name='templeturl'/}/images/topsearch_submit.gif" /> 
</form>
			 | 
		
				
{dede:field name='title'/}-{dede:field name='position' runphp='yes'} 
$tc="-"; //分隔符 
$tw=$GLOBALS['cfg_list_symbol']; //调用位置分隔符 
@me=html2text(@me); //去除html标签 
$tf=split($tw,@me); //分解成数组 
for($ta=(count($tf)-2);$ta>=1;$ta–){ //循环赋值给$tk 
$tk.=trim($tf[$ta]).$tc; 
} 
			 | 
		
				
if(!empty(@me)){ 
$kws = explode(' ',@me); 
@me = ""; 
foreach($kws as $k){ 
@me .= "<a href=http://dede97.com/'/tag.php?/$k/'>$k</a> "; 
} 
@me= str_replace('+', ' ',trim(@me)); 
} 
{/dede:field}
			 | 
		
