<?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; border-bottom: 1px solid #D8D8D8;}
    .thread_date{font-size:12px; margin-left: 8px; font-weight: normal;}
    .ptitle a:hover{ color: #FF8040;}
    .my_table{line-height: 2em; background-color: white; margin-bottom: 20px;}
    .my_table td{ border-bottom: 1px dotted silver; text-align: left;}
    .my_table th{ border-bottom: 2px solid #FF8040; color: {$c3}; font-weight: bolder; text-align: center;}
    .hig td{background-color: #F4EED9;}
    .titles{color: #0080FF;}
</style>
<script type="text/javascript">
    $(function (){
        $('option[value="$types"]').attr('selected',true);
    })
</script>
<div>
<table class="my_table">
    <tr class="admin_list">
        <th style="width: 50%;">回复信息</th>
         <th>用户名</th>
           <th>时间</th>
            <th>操作</th>
    </tr>
    <tr>
    <td colspan="5" style="text-align: left; background-color: white;">
        <div>
            <form method="get" action="./index.php" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="admincp" value="replays" />
            　关键字: <input type="text" name="search" value="{$search}" />
            <select name="types">
                <option value="thread_title">主题标题</option>
                <option value="thread_uid">用户名</option>
                <option value="thread_state">回复内容</option>
                <option value="thread_update">时间</option>
            </select>
             <input type="submit" value=" 搜 索 " />
            </form>
        </div>
    </td>
    </tr>
    <!--{loop $thread_array $val}-->
    {eval $t++}
    <tr {if $t % 2 ==0} class="hig"{/if}>
        <td style="text-align: left; padding-left: 3px;">
        <span class="titles"><a href="{$val[fidlink]}">[{$val[c_name]}]</a> <a href="{$val[link]}" {if $val[css]} style="{$val[css]}"{/if} target="_blank">{$val[thread_title]}</a></span><br />
        <textarea style="width: 95%; border: 1px solid silver;" onclick="this.style.height='120px'" onmouseout="this.style.height='auto'">{$val[thread_message]}</textarea></td>
         <td style="vertical-align: middle;">{$val[user_name]}</td>
           <td style="vertical-align: middle;"><span style="{$val[user_admin]}">{$val[thread_date]}</span></td>
            <td style="vertical-align: middle;"style="vertical-align: top;"> <a href="{$val[link]}#th_{$val[thread_id]}" target="_blank">查看</a> <br /> <a href="./index.php?admincp=thdele&{$val[thread_id]}.html" onclick="if(confirm('确认要删除此信息?')){return true;}else{return false;}">删除</a> <br /> <a href="./index.php?admincp=stop_user&{$val[thread_uid]}.html" onclick="if(confirm('确认要禁闭此用户? \n操作将删除此用户的所有主题信息')){return true;}else{return false;}" style="color: red;">禁闭</a></td>
    </tr>
    <!--{/loop}-->
    <!--{if !$thread_array}-->
        <tr>
            <td colspan="20" style=" text-align: center;">
                暂时没有任何回复信息!
            </td>
        </tr>
    <!--{/if}-->
    <tr>
    <td colspan="5" style="text-align: left; padding-left: 12px;">
    {$page_list}<br />
    
    说明: <br />
    　提醒: 对于垃圾信息制造者建议使用禁闭功能<br />
    </td>
    </tr>
</table>
</div>