<?php defined('PHPNEW_STATIC_TPL') === false && exit(URL_HOST);?>
<style type="text/css">
    .ptitle{height: 30px; line-height: 30px; font-weight: bolder; font-size: 13px; color: #353939;}
    .thread_date{font-size:12px; margin-left: 8px; font-weight: normal;}
    .ptitle a:hover{ color: #FF8040;}
    table{line-height: 2em; border-collapse: collapse; margin-bottom: 20px;}
    table td{ border-bottom: 1px dotted $c1; height: 30px; line-height: 30px; text-align: center;}
    table th{ border-bottom: 2px solid $c1; color: $c1; font-weight: bolder; text-align: center;}
    .hig td{background-color: #F4EED9;}
    .ts_{$ts}:link{color: red; font-weight: bolder;}
</style>
<table style="font-size: 12px; width: 100%;">
    <tr>
        <th style=" width: 50%;">标题</th>
         <th>用户名</th>
          <th>附件</th>
           <th>时间</th>
            <th>操作</th>
    </tr>
    <tr>
    <td colspan="5" style="text-align: left; background-color: white;">
        <div style="overflow: hidden;">
            <span style="float: left; display: block; background-color: #EFF8E9; color: teal;">　<a href="./index.php?user=enlist&ts=1.html" class="ts_1">我的回复</a> / <a href="./index.php?user=enlist&ts=0.html" class="ts_0">我的主题</a></span>
            <!--{if $ts == 0}-->
            <form style="float: left;" method="get" action="./index.php" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="user" value="enlist" />
            <input type="hidden" name="ts" value="{$ts}" />
            　关键字: <input type="text" name="search" value="{$search}" /> <input type="submit" value=" 搜 索 " />
            </form>
            <!--{/if}-->
        </div>
    </td>
    </tr>
    <!--{loop $thread_array $val}-->
    {eval $t++}
    <tr {if $t % 2 == 0} class="hig"{/if}>
        <td>
        <!--{if $ts == 0}-->
        　[<a href="{$val[fidlink]}" style="color: blue;">{$val[c_name]}</a>] - <a href="{$val[link]}" target="_blank" style="{$val[css]}">{$val[thread_title]}</a>
        <!--{else}-->
            <textarea style="width: 90%;">{$val[thread_title]}</textarea>
        <!--{/if}-->
        <!--{if $val[thread_state]}-->
            <img src="./Static/Images/stamp/{$val[thread_state]}.gif" style="vertical-align: middle;" />
        <!--{/if}--></td>
         <td>{$val[user_name]}</td>
          <td>{$val[thread_attch]}</td>
           <td><span style="{$val[user_admin]}">{$val[thread_date]}</span></td>
            <td> <a href="{$val[link]}" target="_blank">查看</a> / <a href="./index.php?user=dele&{$val[thread_id]}.html" title="删除二个小时内的信息">删除</a></td>
    </tr>
    <!--{/loop}-->
    <tr>
    <td colspan="5" style="text-align: left;">
    {$page_list}<br />
        <div style="margin-left: 8px; line-height: normal;">*信息仅支持删除二个小时以内的.</div>
    </td>
    </tr>
</table>