Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] 资讯模板修改问题

[复制链接]
syh863718 发表于 2009-11-4 19:58:56 | 显示全部楼层 |阅读模式
本帖最后由 syh863718 于 2009-11-7 00:29 编辑

SupeSite7.0正式版中综合首页里的站内搜索和调查,怎么添加到资讯首页模板上?
回复

使用道具 举报

 楼主| syh863718 发表于 2009-11-5 09:46:06 | 显示全部楼层
怎么回事,没人回答?
回复

使用道具 举报

lidq.jingwu 发表于 2009-11-5 10:04:51 | 显示全部楼层
直接综合首页的站内搜索与调查代码复制过去就可以用的。
回复

使用道具 举报

 楼主| syh863718 发表于 2009-11-5 10:54:48 | 显示全部楼层
具体复制哪些,我复制过去后,网页就乱了。
回复

使用道具 举报

lidq.jingwu 发表于 2009-11-5 14:25:31 | 显示全部楼层
  1.                 <div class="search_bar margin_bot0">
  2.                         <h3>站内搜索</h3>
  3.                         <div class="search_content">
  4.                                 <form action="{S_URL}/batch.search.php" method="post">
  5.                                 <input type="text" class="input_tx" size="23" name="searchkey" value="$searchkey" /> <input type="submit" class="input_search" name="authorsearchbtn" value="搜索" />
  6.                                 <div class="search_catalog">
  7.                                         <!--{if empty($searchname)}-->
  8.                                         <!--{eval $searchname = 'subject'}-->
  9.                                         <!--{/if}-->
  10.                                         <input id="title" name="searchname" type="radio" value="subject" <!--{if $searchname == 'subject'}-->checked="checked" <!--{/if}-->/><label for="title">标题</label>
  11.                                         <input id="content" name="searchname" type="radio" value="message" <!--{if $searchname == 'message'}-->checked="checked" <!--{/if}-->/><label for="content">内容</label>
  12.                                         <input id="author" name="searchname" type="radio" value="author" <!--{if $searchname == 'author'}-->checked="checked" <!--{/if}-->/><label for="author">作者</label>
  13.                                         <!--{if !empty($channels['menus']['bbs'])}-->
  14.                                         <a class="search_bbs" title="搜索论坛" href="$bbsurl/search.php" target="_blank">搜索论坛</a>
  15.                                         <!--{/if}-->
  16.                                         <input type="hidden" value="news" name="type">
  17.                                         <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
  18.                                 </div>
  19.                                 </form>
  20.                         </div>
  21.                 </div><!--站内搜索-->
复制代码
复制下面的代码。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-16 03:10 , Processed in 0.145208 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表