点赞
<p>
<span class="diggit">
<a href="JavaScript:makeRequest('[!--news.url--]e/public/digg/?classid=[!--classid--]&id=[!--id--]&dotop=1&doajax=1&ajaxarea=diggnum','EchoReturnedText','GET','');"> 很赞哦! </a>(<b id="diggnum"><script type="text/javascript" src="[!--news.url--]e/public/ViewClick/?classid=[!--classid--]&id=[!--id--]&down=5"></script></b>)
</span>
</p>
点赞功能要配合 ajax.js 才能生效,添加在</head>前
<script type="text/javascript" src="[!--news.url--]skin/jxhx/js/ajax.js"></script>
相关链接:
搜索
样式1:
今夕何夕主题搜索样式
<!-- 搜索 -->
<div class="searchbox">
<div class="search">
<form action="[!--news.url--]e/search/index.php" method="post" name="searchform" id="searchform" target=_blank>
<input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
<input name="show" value="title" type="hidden">
<input name="tempid" value="1" type="hidden">
<input name="tbname" value="news" type="hidden">
<input name="Submit" class="input_submit" value="搜索" type="submit">
</form>
</div>
<div class="searchclose"></div>
</div>
样式二:
DUX 大前端主题 搜索样式
<!-- DG-DUX 搜索 -->
<div class="site-search">
<div class="container">
<form action="[!--news.url--]e/search/index.php" method="post" name="searchform" id="searchform" class="site-search-form" target=_blank>
<input name="keyboard" id="keyboard" class="search-input" placeholder="输入关键字" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text"> //class="search-input" 为样式,可根据情况调整
<input name="show" value="title" type="hidden">
<input name="tempid" value="1" type="hidden">
<input name="tbname" value="news" type="hidden">
<button class="search-btn" type="submit"><i class="fa fa-search"></i></button> //此行为按钮样式
</form>
</div>
</div>
拓展阅读:
这是评论测试
飞歌导航东方红烦得很
这是新的一条评论
未来一年,中国的移动支付市场会是什么样?