ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯(lián)系官方銷售客服

1835022288

028-61286886

投訴 已解決 搜索模板請問header.html我這樣寫是哪里錯(cuò)了嗎? 8 0

搜索模板

請問header.html我這樣寫是哪里錯(cuò)了嗎?(我是對照官方模板寫的,但是提示系統(tǒng)模板文件不存在)
image

header搜索框我是這樣寫的

<form class="search-form" action="/index.php" method="get">

<input type="hidden" name="s" value="news">

<input type="hidden" name="c" value="search">

<input type="text" name="keyword" class="sousuo" value="" placeholder="請輸入想要了解的信息" style="padding-left:10px;"/>

<input type="submit" class="but" value="搜索"/>

</form>

-----------------------------------------------

search.html是這樣

{search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=1 urlrule=$urlrule}

{php $kw=@explode(',', $t.keywords);}

{loop $kw $a}

{if $a}

<li>

<div class="left_news"><a href="{$t.url}" title="{$t.title}" ><img src="{dr_thumb($t.thumb)}"></a></div>

<div class="right_news">

<h2><a href="{$t.url}" title="{$t.title}" >{$t.title}</a><h2>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{dr_strcut($t.description, 80)}</p>

<ul class="left_news_s">

<li><span>{$uid}</span></li>

<li style="float: right;"><span style="color: #727272;">{$inputtime}</span></li>

</ul>

</div>

</li>

{/if}

{/loop}

{/search}

請教一下是哪里寫錯(cuò)了呢?剛學(xué)習(xí)這個(gè)cms,謝謝。

解決方案