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

聯系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 已回 搜索結果頁面,如沒有數據進行跳轉其他頁面如何實現呢 2 0
997383697 免費用戶 2019-07-15 15:45:59 私信
POSCMS版本:3.5.4 #module

搜索結果頁面如沒有數據進行跳轉其他頁面如何實現呢? 沒結果的時候進行跳轉到固定頁面

{if $searchid}

{list action=search module=$dirname id=$searchid total=$sototal page=1 pagesize=1 urlrule=$urlrule}

<div class="article-detail">

<div class="article-title">

<h1>{dr_keyword_highlight($t.title, $keyword)}</h1>

</div>

<div class="entry-meta"><strong>添加時間:</strong><strong>{$t.inputtime}</strong></span> </div>

<div class="article-content-wrapper"> 所在位置:{dr_cat_value("1-news",dr_cat_value("1-news",$t.catid,"pid"),"name")}>{dr_cat_value("1-news",$t.catid,"name")}

<div class="article-content">

<div class="qhd-content"> {$t.xiangqing} </div>

</div>

</div>

<div class="detail-bottom"></div>

</div>

{/list}

{if !$total}

<div class="alert alert-danger"><strong>對不起!</strong> 沒有找到任何記錄 </div>

{/if}

{else}

<div class="alert alert-danger"><strong>對不起!</strong> 沒有找到任何記錄 </div>

{/if}

解決方案
  • <div class="alert alert-danger"><strong>對不起!</strong> 沒有找到任何記錄 </div>

    改成

    <meta http-equiv="refresh" content="0;url=http://qq.com/index.html">