| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | <?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('search', 'header'); ?>	<!-- <div class="clr sr_body sr_list">    	<div class="sr_main">            <div class="brd1s"></div>            <div class="wrap sr_lists">                <div class="c wrap">                	<ul class="wrap">						<?php $n=1; if(is_array($data)) foreach($data AS $i => $r) { ?>						<li class="tw">                               <?php if($r['thumb']) { ?> <a href="<?php echo $r['url'];?>"><img src="<?php echo thumb($r['thumb'],197,136);?>" alt=""></a><?php } ?>                                <div class="tw_right">                                    <p class="tw_title h3"><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></p>                                    <p class="tw_content h5">                                        <?php echo $r['description'];?>                                    </p>                                    <p class="tw_time ">                                        <?php echo format::date($r[inputtime], 1);?>                                    </p>                                </div>                            </li>						<?php $n++;}unset($n); ?>						<?php if(empty($data)) { ?>未找到结果<?php } ?>                    </ul>                    <div id="pages" class="text-c mg_t20"><?php echo $pages;?></div>					<?php if($setting['relationenble']) { ?>					<div class="wrap sgch"><strong>相关搜索:</strong>					<?php $n=1; if(is_array($relation)) foreach($relation AS $k => $v) { ?>					<a href="?m=search&c=index&a=init&typeid=<?php echo $typeid;?>&siteid=<?php echo $siteid;?>&q=<?php echo $v['keyword'];?>"><?php echo $v['keyword'];?></a> 					<?php $n++;}unset($n); ?>					</div>					<?php } ?>                </div>            </div>      </div>  </div> -->  <div class="ui_div1">    <div class="i_con">     <div class="n_box3">         <dl class="fl n_box2_con">            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=36a4ea7ed030ba03bbb9ff1b0d78f942&sql=select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_news++where+title+like+++%27%25%24q%25%27++++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_picture+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_banner+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_product+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_gsgs+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_dp+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_service+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_recruit+where+title+like+%27%25%24q%25%27+++%0D%0A++++++++++++UNION+ALL++select++title%2Curl%2Cthumb%2Cdescription%2Cinputtime++from+v9_about+where+title+like+%27%25%24q%25%27&num=2000&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$pagesize = 2000;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$r = $get_db->sql_query("SELECT COUNT(*) as count FROM (select  title,url,thumb,description,inputtime  from v9_news  where title like   '%$q%'                UNION ALL  select  title,url,thumb,description,inputtime  from v9_picture where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_banner where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_product where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_gsgs where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_dp where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_service where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_recruit where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_about where title like '%$q%') T");$s = $get_db->fetch_next();$pages=pages($s['count'], $page, $pagesize, $urlrule);$r = $get_db->sql_query("select  title,url,thumb,description,inputtime  from v9_news  where title like   '%$q%'                UNION ALL  select  title,url,thumb,description,inputtime  from v9_picture where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_banner where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_product where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_gsgs where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_dp where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_service where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_recruit where title like '%$q%'               UNION ALL  select  title,url,thumb,description,inputtime  from v9_about where title like '%$q%' LIMIT $offset,$pagesize");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?>                    <?php if($data == "") { ?>                    未搜索到结果!                    <?php } else { ?>                      <?php $n=1;if(is_array($data)) foreach($data AS $v) { ?>                     <dd>                        <a href="<?php echo $v['url'];?>" class="div Amplification">                          <div class="fl a_img"><img src="<?php echo $v['thumb'];?>"></div>                          <div class="fr a_img_r">                            <div class="s1 fl"><?php echo $v['title'];?></div>                            <div class="fl s2">                              <?php echo $v['description'];?>                            </div>                            <div class="fl s3"><span><?php echo date('Y-m-d',time($v[inputtime]));?></span></div>                            <div class="clearboth"></div>                          </div>                          <div class="clearboth"></div>                        </a>                     </dd>                    <?php $n++;}unset($n); ?>                    <?php } ?>                    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>            <?php $n=1; if(is_array($data)) foreach($data AS $i => $r) { ?>                   <?php $n++;}unset($n); ?>         <?php if(empty($data)) { ?>未找到结果<?php } ?>        </dl>       <div class="clearboth"></div>    <div class="n_box1_pages">         <?php echo $pc_pages;?>       </div>     </div>  </div></div><script type="text/javascript" src="<?php echo JS_PATH;?>search_history.js"></script><?php if($setting['suggestenable']) { ?><script type="text/javascript" src="<?php echo JS_PATH;?>jquery.suggest.js"></script><script type="text/javascript" src="<?php echo JS_PATH;?>search_suggest.js"></script><?php } ?><?php include template('search', 'footer'); ?>
 |