<?php defined('PHPNEW_STATIC_TPL') === false && exit(URL_HOST);?>
{template header}
<style type="text/css">
    img{vertical-align: middle;}
    #main_left{float: left; width: 724px; margin-left: 10px; overflow: hidden; background-position: right; background: white url('./App/default_tpl/source/boxbg.jpg') repeat-y; background-position: right;}
    .left_ul li{ clear: both; overflow: hidden; height: auto; margin-bottom: 3px; border-bottom: 1px dotted silver;}
    .left_ul li img {vertical-align: middle;}
    .p1,.p2,.p3,.p4{float: left; display: block;}
    .p1{width: 90px; height: 90px; text-align: center; border: 1px solid silver;}
    .left_saleimg{margin-top: 5px; width: 80px; height: 80px;border: 1px solid silver;}
    .p2{width: 356px; line-height: 1.5em; color: gray; overflow: hidden;}
    .p2 a:link{color: #3366CC; font-size: 14px; font-weight: 500;}
    .p2 span{margin-left: 12px; display: block; margin-top: 12px; overflow: hidden;}
    .p3{width: 100px; line-height: 2em; padding-top: 6px; overflow: hidden;}
    .p4{width: 140px; overflow: hidden; text-align: right;}
    .p4 img{margin-top: 8px;}
     .cat_img{width: 16px;}
     .t2{line-height: 25px; height: 25px; overflow: hidden;}
    #main_right{float: right; width: 226px; _width: 216px; overflow: hidden;}
    #main_right h3{ border-bottom: 1px solid #FF8040; height: 30px; color: #FF8040; line-height: 30px; padding-left: 3px; font-weight: bolder;}
    #main_right ul{margin-bottom: 3px;}
    #main_right .Hook{line-height: 22px;}
    #main_right .rli{line-height: 30px; border-bottom: 1px dotted #CCD6DD;}
    .cat_header_ico{margin-left: 8px; vertical-align: middle;}
    .search{padding: 4px; border: 1px solid silver;}
</style>
<div id="main_left">
<div style="line-height: 28px; height: 28px; border-bottom: 1px solid silver; margin-bottom: 3px;"> <a href="./index.php">首页</a> &raquo; <a href="{GET_URL}" title="{$cat}">{$cat}</a>
{if USER_ADMIN} &raquo; <a href="./index.php?admincp=edit&C{$default_parem[3]}.html" style="color: #FF8040;" title="{$cat}">新主题</a>{elseif USER_UID}
&raquo; <a href="./index.php?user=newthread&{$default_parem[3]}.html" style="color: #FF8040;" title="{$cat}">投稿</a>
{/if}
</div>
    <!--{if $Hook_Cat_Top}-->
    <div id="Hook_Cat_Top">
        {$Hook_Cat_Top}
    </div>
    <!--{/if}-->
    <ul class="left_ul">
        <!--{loop $loop_list $key $val}-->
            <!--{if $val[thread_state_top] == 0 && $topid == 1}-->
                {eval $topid = 0}
                <li style=" background-color: #E1EEE8; height: 10px; line-height: 10px; margin: 0; padding: 0;"> </li>
            <!--{/if}-->
        <li>
            <span class="p1">
                <a href="{$val[thread_link]}"><img class="left_saleimg" src="{$val[path]}" /></a>
            </span>
            <span class="p2">
                <span>
                <a href="{$val[thread_rss]}" title="Rss订阅" target="_blank"><img src="./App/default_tpl/source/1326167764_001_33.gif" class="cat_img" /></a> <a href="{$val[thread_link]}" title="主题: {$val[thread_title2]}{LF}作者: {$val[user_name]}"{if $val[css]} style="{$val[css]}"{/if}>{$val[thread_title]}</a>
                
                <!--{if $val[thread_state]}-->
                    <img src="./Static/Images/stamp/{$val[thread_state]}.gif" style="vertical-align: middle;" />
                <!--{/if}-->
                <br />
                上架时间: {$val[thread_date]} / 操作员: {$val[user_name]}<br />
                展示量: {$val[thread_view]} <a href="{$val[thread_link]}"><img src="{DIR_IMAGES}det.gif" /></a>
                 </span>
            </span>
            <span class="p3">
            原价: <del style="color: gray;">￥{$val[los_pay]}</del><br />
            现价: <span style="color: #FF8000; font-weight: 800;">￥{$val[th_pay]}</span>
            </span>
            <span class="p4">
                <a href="{$val[th_url]}" target="_blank"><img src="{DIR_IMAGES}buy.gif" /></a>
            </span>
        </li>
        <!--{/loop}-->
        
        <!--{if empty($loop_list) === true}-->
        <li>　栏目中暂时无任何信息</li>
        <!--{/if}-->
    </ul>
    <br />
    <div style="overflow: hidden; margin-right: 12px; padding: 3px; background-color: #E8F2F4;">
        <div style=" float: left; width: 400px; overflow: hidden;">{$page_list}</div>
        <div style=" float: right; width: 300px; overflow: hidden; text-align: right; line-height: 23px; height: 23px;">
        
        <select onchange="js_header(this.value);">
            <!--{loop $cat_array $key $val}-->
                <!--{if $key == $default_parem[3]}-->
                <option value="{$val[link]}" selected="selected">{$val[c_name]}</option>
                <!--{else}-->
                <option value="{$val[link]}">{$val[c_name]}</option>
                <!--{/if}-->
            <!--{/loop}-->
        </select>
         </div>
    </div>
     <br />
    <!--{if $Hook_Cat_Bottom}-->
    <div id="Hook_Cat_Bottom">
        {$Hook_Cat_Bottom}
    </div>
    <!--{/if}-->
</div>

<div id="main_right">
    <!--{if $Hook_Cat_Right_1}-->
    <ul id="Hook_Cat_Right_1">
        <li class="Hook">{$Hook_Cat_Right_1}</li>
    </ul>
    <!--{/if}-->
    <!--{if $cat_array[$default_parem[3]][c_tags]}-->
    <ul>
        <h3>栏目描述: </h3>
        <li style="line-height: 20px; padding: 8px; background-color: #FAE7CB; border-bottom: 1px solid silver;">
         {$cat_array[$default_parem[3]][c_tags]}
        </li>
    </ul>
    <!--{/if}-->
    <!--{if $Hook_Cat_Right_2}-->
    <ul id="Hook_Cat_Right_2">
        <li class="Hook">{$Hook_Cat_Right_2}</li>
    </ul>
    <!--{/if}-->
        <div class="cat_div">
            <div style="float: left; width: 48%; overflow: hidden;">
                <div class="cat_diva" style="width: 80%; background-color: #0080FF;"><a href="./">首页</a></div>
                <div class="cat_divb" style="width: 20%;"><a href="./index.php?main=rss&index.html" target="_blank"><img style="_margin-top: 12px;" src="./App/default_tpl/source/1326165048_rss.png" /></a></div>
            </div>
            <div style="float: right; width: 48%; overflow: hidden;">
                <div class="cat_diva" style="width: 80%; background-color: #5181FD;"><a href="./index.php?main=filing.html">归档</a></div>
                <div class="cat_divb" style="width: 20%;"><a href="./index.php?main=filing.html" target="_blank"><img style="_margin-top: 12px;" src="./App/default_tpl/source/1326165048_rss.png" /></a></div>
            </div>
        </div>
        <div class="cat_div">
            <div class="cat_diva" style="width: 80%;"><input accept="accept" class="search" type="text" value="" /></div>
            <div class="cat_divb" style="width: 20%; cursor: pointer;" onclick="js_search();"><img style="_margin-top: 12px;" src="./App/default_tpl/source/search.gif" /></div>
        </div>
        <!--{loop $cat_array $key $val}-->
        <div class="cat_div">
            <div class="cat_diva"><a href="{$val[link]}">{$val[c_name]}</a></div>
            <div class="cat_divb"><a href="{$val[rss_link]}" target="_blank"><img style="_margin-top: 12px;" src="./App/default_tpl/source/1326165048_rss.png" /></a></div>
        </div>
        <!--{/loop}-->
    <div style=" clear: both;"> </div>
    
    <!--{if $Hook_Cat_Right_3}-->
    <ul id="Hook_Cat_Right_3">
        <li class="Hook">{$Hook_Cat_Right_3}</li>
    </ul>
    <!--{/if}-->
    <!--{if $new_list}-->
    <ul>
        <h3>最新主题: </h3>
        <!--{loop $new_list $val}-->
        <li class="rli"><a style="margin-left: 8px;" href="{$val[thread_link]}">{$val[thread_title]}</a> ({$val[thread_view]})</li>
        <!--{/loop}-->
    </ul>
    <!--{/if}-->
    <!--{if $Hook_Cat_Right_4}-->
    <ul id="Hook_Cat_Right_4">
        <li class="Hook">{$Hook_Cat_Right_4}</li>
    </ul>
    <!--{/if}-->
    <!--{if $history_array}-->
    <ul>
        <h3>浏览历史: </h3>
        <!--{loop $history_array $val}-->
        <li class="rli"><img class="cat_header_ico" src="./App/default_tpl/source/1326941555_clock-history.png" /> <a href="{$val[l]}">{$val[t]}</a></li>
        <!--{/loop}-->
    </ul>
    <!--{/if}-->
    <!--{if $Hook_Cat_Right_5}-->
    <ul id="Hook_Cat_Right_5">
        <li class="Hook">{$Hook_Cat_Right_5}</li>
    </ul>
    <!--{/if}-->
</div>
{template footer}