<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo SYS_CHARSET ?>" />
<title><?php echo $channeltitles ?> _<?php echo $sys_title ?></title>
<meta name="keywords" content="<?php echo $channeltitles ?>" />
<meta name="description" content="<?php echo $channeltitles ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo SYS_FRONT_STYLE_PATH?>style/shop.css" />
<base target="_self" />
</head>

<body>
<?php include("inc_topbar.tpl.html"); ?>
<div id="wrap">
<!--Content, Left, Right, Middle, Outer, Advertisement--> 
<!--Header-->
<div id="header">
<?php 
include("inc_pagetitle.tpl.html"); 
include("inc_mainmenu.tpl.html"); 
include("inc_submenu.tpl.html"); 
include("inc_navigation.tpl.html"); 
?>
</div>
<!--/Header-->

<!--Content-->

<!--C1 layout-->
<div class="contentR">
<!--C1-R layout-->	
<div class="sideR">
<!-- SubChannel -->
<!-- /SubChannel -->
<div id="hotview" class="sideblock">
<h3><?php echo $layout_title_array['hotview'] ?></h3>
<div style="height: 203px;">
<ul class="msgtitlelist" >
<?php
$hotview_array=getLayoutn('hotview');
foreach($hotview_array as $row){
?>
<li><a href='article.php?id=<?php echo $row['id'] ?>' target='_self'><?php echo $row['title'] ?></a></li>
<?php
}?>
</ul>
</div>
</div>

</div>
<!--/C1-R layout-->	

<!--C1-L layout-->
<div class="mainarea">
	
<div id="list" class="category">

<div id="listtitle">
		<div class="i"><input type="submit" class="sub" value="比较"/></div>
		<div class="d">物品名称/卖家</div>
		
		<div class="t"><a id="lasttime" href="#" onclick="sortdata(event,'fsop','3');" class="down">剩余时间</a></div>
		<div class="l">
			<select name="" id="locCity" onchange="chgsel('prvcity','locCity')">
			<option id="loc33" value="" selected="selected">所在地</option>

            <option id="loc32" value="37|37">珠江三角洲</option>
            <option id="loc34" value="36|36">江浙沪</option>
            <option id="loc1" value="2|21">北京</option>
            <option id="loc2" value="25|298">上海</option>
            <option id="loc3" value="1|1">合肥</option>
            <option id="loc4" value="1|400">杭州</option>

            <option id="loc5" value="6|51">广州</option>
            <option id="loc6" value="6|68">深圳</option>
            <option id="loc7" value="16|188">南京</option>
            <option id="loc8" value="14|157">武汉</option>
            <option id="loc9" value="30|355">天津</option>
            <option id="loc10" value="13|154">香港</option>

            <option id="loc11" value="28|325">成都</option>
            <option id="loc12" value="11|121">哈尔滨</option>
            <option id="loc13" value="3|22">重庆</option>
            <option id="loc14" value="34|413">宁波</option>
            <option id="loc15" value="16|205">无锡</option>
            <option id="loc16" value="24|278">济南</option>

            <option id="loc17" value="16|201">苏州</option>
            <option id="loc18" value="34|424">温州</option>
            <option id="loc19" value="24|289">青岛</option>
            <option id="loc20" value="19|238">沈阳</option>
            <option id="loc21" value="4|23">福州</option>
            <option id="loc22" value="27|314">西安</option>

            <option id="loc23" value="15|174">长沙</option>
            <option id="loc24" value="7|78">南宁</option>
            <option id="loc25" value="17|214">南昌</option>
            <option id="loc26" value="12|135">郑州</option>
            <option id="loc27" value="4|35">厦门</option>
            <option id="loc28" value="19|242">大连</option>

            <option id="loc29" value="16|190">常州</option>
            <option id="loc30" value="10|106">石家庄</option>
            <option id="loc31" value="6|55">东莞</option>
            <option id="loc35" value="">所有地区</option>
			</select>
		</div>
		<div class="f">运费</div>

		<div class="v">
		
	<a id="price" href="#" onclick="sortdata(event,'fsop','6');" class="">价格</a>	
		</div>
	</div>
	
<h3><strong></strong></h3>
<?php
if(isset($channel_array['id'])): 
$list_article_array=getLayoutPages('list','id='.$channel_array['id']);
?>
<ul class="items">
<?php
foreach($list_article_array['list'] as $row){
$issuetime = getDateTimeMk_MD($row['issuetime']);
$picurl_mini ="images/none_pic.gif";
$picurl = "images/none_pic.gif";
if(!isset($row['fileurl'])) $row['fileurl'] = '';
if($row['fileurl']!='' && $row['type']==5)
{
	$fileurl_ary = explode('|', $row['fileurl']);
	$picurl_mini = $fileurl_ary[0];
	$picurl = $fileurl_ary[1];
}

?>
<li>
    <div class="i">
        <input name="IDs" type="checkbox" value="<?php echo $row['id'] ?>" />
        <a title="<?php echo $row['title'] ?>" href="article.php?id=<?php echo $row['id'] ?>" target="_blank">
        <img src="<?php echo $picurl_mini ?>" alt="<?php echo $row['title'] ?>" title="<?php echo $row['title'] ?>" />
        </a>
     </div>
     <div class="d">
         <h5><a title="<?php echo $row['title'] ?>" href="article.php?id=<?php echo $row['id'] ?>" target="_blank"><?php echo $row['title'] ?> </a></h5>
         <p>卖家: <a href="#" target="_blank"></a></p>
    </div>
    <div class="t">12小时
    </div>
    <div class="l">上海</div>
    <div class="f">
         <p>ems:30.00</p>
         <p>快邮 60.00</p>
    </div>
    <div class="v">
         <p class="n"><span>一口价</span><?php echo $row['price'] ?></p>
    </div>
</li>
<?php } ?>
</ul>

<div class="pages">
<?php echo $list_article_array['page'] ?>
</div>
<?php endif; ?>
</div>
</div>
<!--/C1-L layout-->
</div>
<!--/C1 layout-->

<!--/Content -->

<?php include("inc_footer.tpl.html"); ?>
</div>

</body>
</html>
