<?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;}
    .title_span{display: block; height: 22px; overflow: hidden;}
     .cat_img{ width: 16px;}
     .t2{line-height: 25px; height: 25px; overflow: hidden;}
     .gen_ul{float: left; height: 269px; width: 33%;}
     .gen_ul li{height: auto; clear: both; line-height: 23px; border-bottom: 1px dotted silver;}
     .li_img img{padding: 2px; border: 1px solid silver; width:230px; height:200px}
    #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;"> <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>
<br />
    <!--{if $Hook_Cat_Top}-->
    <div id="Hook_Cat_Top">
        {$Hook_Cat_Top}
    </div>
    <!--{/if}-->
    <div class="left_ul">
        <!--{loop $loop_list $key $val}-->
        <ul class="gen_ul">
        <li class="li_img" style="border-bottom: none;"><a href="{$val[thread_link]}"><img src="{$val[path]}" /></a></li>
        <li>
            <span class="title_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>
            </span>
            <span class="p3">{$val[user_name]} / {$val[thread_date]} 查阅: {$val[thread_view]}</span>
        </li>
        </ul>
        <!--{/loop}-->
        
        <!--{if empty($loop_list) === true}-->
        <ul>
        <li>　栏目中暂时无任何信息</li>
        </ul>
        <!--{/if}-->
    </div>
    <br />
    <div style="overflow: hidden; margin-right: 12px; padding: 3px; background-color: #E8F2F4; clear: both;">
        <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}