{template "header.html", "/"} <link rel="stylesheet" href="{HOME_THEME_PATH}css/trade.css"> <link href="{HOME_THEME_PATH}css/jy-chushou.css" rel="stylesheet"> {template "nav.html", "/"} <div class="main"> <div class="content"> <p class="title"><span></span><span>船舶出售信息</span>{if $member}<a href="/index.php?s=member&mod=shipsale&c=home&m=add&catid=2">发布出售</a>{else}<a href="javascript:;">请先登录</a>{/if}</p> <div class="top"> <p class="fenlie"><span>船舶分类:</span> <a class="{if !$get.stype}active{/if} type" href="{dr_search_url($params,'stype',NULL)}">不限</a> <a class="{if $get.stype=='干散货船'}active{/if} type" href="{dr_search_url($params,'stype','干散货船')}">干散货船</a> <a class="{if $get.stype=='挖泥船'}active{/if} type" href="{dr_search_url($params,'stype','挖泥船')}">挖泥船</a> <a class="{if $get.stype=='液货船'}active{/if} type" href="{dr_search_url($params,'stype','液货船')}">液货船</a> <a class="{if $get.stype=='冷藏船'}active{/if} type" href="{dr_search_url($params,'stype','冷藏船')}">冷藏船</a> <a class="{if $get.stype=='驳船'}active{/if} type" href="{dr_search_url($params,'stype','驳船')}">驳船</a> <a class="{if $get.stype=='客船'}active{/if} type" href="{dr_search_url($params,'stype','客船')}">客船</a> </p> <p class="fenlie"><span>航 区:</span> <a class="area {if !$get.sarea}active{/if}" href="{dr_search_url($params,'sarea',NULL)}" class="active">不限</a> <a class="area {if $get.sarea=='内河'}active{/if}" href="{dr_search_url($params,'sarea','内河')}">内河</a> <a class="area {if $get.sarea=='长江'}active{/if}" href="{dr_search_url($params,'sarea','长江')}">长江</a> <a class="area {if $get.sarea=='沿海'}active{/if}" href="{dr_search_url($params,'sarea','沿海')}">沿海</a> <a class="area {if $get.sarea=='其它'}active{/if}" href="{dr_search_url($params,'sarea','其它')}">其它</a> </p> <p class="fenlie"><span>船 龄:</span> <a class="sbirth {if !$get.sage} active {/if}" href="{dr_search_url($params,'sage',NULL)}" class="active">不限</a> <a class="sbirth {if $get.sage=='0,5'}active{/if}" href="{dr_search_url($params,'sage','0,5')}">5年内</a> <a class="sbirth {if $get.sage=='6,10'}active{/if}" href="{dr_search_url($params,'sage','6,10')}">5-10年</a> <a class="sbirth {if $get.sage=='11,15'}active{/if}" href="{dr_search_url($params,'sage','11,15')}">10-15年</a> <a class="sbirth {if $get.sage=='16,20'}active{/if}" href="{dr_search_url($params,'sage','16,20')}">16-20年</a> <a class="sbirth {if $get.sage=='20,200'}active{/if}" href="{dr_search_url($params,'sage','20,200')}">20年以上</a> </p> <p class="fenlie"><span>船 级:</span> <a class="sbirth {if !$get.slevel} active {/if}" href="{dr_search_url($params,'slevel',NULL)}" class="active">不限</a> <a class="sbirth {if $get.slevel=='1'}active{/if}" href="{dr_search_url($params,'slevel','1')}">一级</a> <a class="sbirth {if $get.slevel=='2'}active{/if}" href="{dr_search_url($params,'slevel','2')}">二级</a> <a class="sbirth {if $get.slevel=='3'}active{/if}" href="{dr_search_url($params,'slevel','3')}">三级</a> <a class="sbirth {if $get.slevel=='4'}active{/if}" href="{dr_search_url($params,'slevel','4')}">四级</a> <a class="sbirth {if $get.slevel=='5'}active{/if}" href="{dr_search_url($params,'slevel','5')}">五级</a> </p> <p class="zaizhong"> <span class="span1">载重量:</span> <input class="loadf" type="text" value="<?php echo explode(',',$_GET['sload'])[0];?>"><span class="dun">吨</span><span class="zhi1">至</span> <input class="loadt" type="text" value="<?php echo explode(',',$_GET['sload'])[1];?>"><span class="dun">吨</span> <span class="span2">价格区间:</span> <input class="pricef" type="text" value="<?php echo explode(',',$_GET['pricef'])[0];?>"><span class="money">万元</span><span class="zhi">至</span> <input class="pricet" type="text" value="<?php echo explode(',',$_GET['pricef'])[1];?>"><span class="money">万元</span> <a href="javascript:searchLoadPrice()">查询</a> </p> </div> <script> function searchLoadPrice() { var params = {json_encode($params)}; params.s = 'shipsale'; params.c = 'search'; var loadf = $('.loadf').val(); var loadt = $('.loadt').val(); params.sload=loadf+","+loadt; var pricef = $('.pricef').val(); var pricet = $('.pricet').val(); params.pricef=pricef+","+pricet; params.order = {$_GET['order']}; location.href = '/?' + createQueryString(params); } function createQueryString(params) { var str = '' for (var k in params) { str += '&' + encodeURIComponent(k) + '=' + encodeURIComponent(params[k]) } return str.substr(1) } </script> <div class="center"> <p class="fenlie"><span>排序方式:</span> <a href="{dr_search_url($params,'order','inputtime_desc')}" {if $get.order=='inputtime_desc'} class="active"{/if}>最新发布</a> <a href="{dr_search_url($params,'order','pricef_asc')}" {if $get.order=='pricef_asc'} class="active"{/if}>价格从低到高</a> <a href="{dr_search_url($params,'order','pricef_desc')}" {if $get.order=='pricef_desc'} class="active"{/if} >价格从高到底</a> <a href="{dr_search_url($params,'order','sbirth_desc')}" {if $get.order=='sbirth_desc'} class="active"{/if}>建造时间</a> <a href="{dr_search_url($params,'order','sload_desc')}" {if $get.order=='sload_desc'} class="active"{/if}>载重量</a> </p> </div> <div class="bottom"> {if $searchid} {list action=search module=$dirname id=$searchid total=$sototal catid=$catid order=$_GET['order'] page=1 pagesize=10 urlrule=$urlrule} <div class="chuan" style="position:relative;"> <div class="tu"><img src="{if strpos(dr_thumb($t['sphoto'][0]), 'nopic') === FALSE}{dr_thumb($t['sphoto'][0], 260, 170)}{else}{HOME_THEME_PATH}images/trade-index-pic3.jpg{/if}" style="top:-56px;" width="260" height="170"></div> <div class="sanhuo"> <p>{$t.sname}</p> <p class="leixing"><span>类型:{$t.stype}</span><span>容量:{$t.sload}吨</span> <span>船级:{$t.slevel}</span></p> <p class="hangqu leixing"> <span>航区: <b>{$t.sarea}</b> </span> <span>产地:{$t.sflag}</span> <span>建造时间:{dr_date($t.sbirth, 'Y年m月d日')}</span> </p> <p class="hangqu leixing"> <span>发布时间:{dr_date($t._inputtime, 'Y年m月d日')}</span> </p> <p class="biaoqian"> {php $point = strsplit(';',$t.sellpoint);} {loop $point $p} <a href="javascript:;">{$p}</a> {/loop} </p> </div> <div class="money" style="position:absolute;left:800px;top:58px;"> {if (int)$t.pricef!=0} ¥{$t.pricef}万 {else} 面议 {/if} </div> <div class="chakan" style="position:absolute;top:60px;left:1030px;"><a href="{$t.url}">查看详情</a></div> </div> {/list} {/if} {if empty($get.page)} {php $page=1;} {else} {php $page=$get.page;} {/if} <!--上一页--> {if $page > 1} {php $pra = $page-1;} {else} {php $pra=1;} {/if} <!--下一页--> <!--$nums为最大页码--> {if $page==$nums} {php $next = $nums;} {else} {php $next = $page+1;} {/if} {if $nums==1} <div class="inner" style="text-align:center;margin-top:20px;"> <a>共{$nums}页</a> </div> {else} <div class="inner" style="text-align:center;margin-top:20px;"> <a>共{$nums}页</a> <a href="{dr_cururl()}page=1">首页</a> <a href="{dr_cururl()}page={$pra}">上一页</a> <a href="{dr_cururl()}page={$next}">下一页</a> <a href="{dr_cururl()}page={$nums}">尾页</a> </div> {/if}<br /> <br /> <!--<div class="fenye">--> <!-- <a class="a1" href="javascript:">首页</a><a class="a2" href="javascript:" style="margin-left: 20px;">上一页</a>--> <!-- <a href="javascript:" class="a3 active">1</a><a href="javascript:" class="a3">2</a><a href="javascript:" class="a3">3</a>--> <!-- <a href="javascript:" class="a3">4</a><a href="javascript:" class="a3">5</a>--> <!-- <a href="javascript:" class="a2" style="margin-right: 20px;">下一页</a>--> <!-- <a href="javascript:" class="a1" >尾页</a>--> <!--</div>--> </div> </div> </div> <script> var nav = $(".e_nav"); $(nav[3]).addClass("active"); </script> {template "footer.html", "/"}