<!--{template header}-->
<div class="site-ms">
<div class="site-ms__left" >  
<div class="t_area_out">
<div class="t_area_in">
<p class="cur_title">在线问答</p>
<ul class="consult_list" >
{loop logic('misc')->AskList() $i $value}
<li>
<div>
<a name="id{$value['id']}" id="id{$value['id']}"></a>
<p class="user">
<strong>{$value['username']}</strong>
<span>{eval echo date('Y-m-d',$value['time'])}</span>
</p>
<p class="text">{$value['content']}</p>
<p class="reply"><strong>回复：</strong>{$value['reply']}</p>
</div>
</li>
{/loop}
</ul>
<ul class="paginator pagem product_list_pager">{~page_moyo()}</ul>
<p class="cur_title">我要提问<a name="q_form" id="q_form"></a></p>
{if MEMBER_ID<=0}
<div class="sect">你还没有登录，请 <a href="?mod=account&code=register">注册</a> 或 <a href="?mod=account&code=login">登录</a></div>
{else}
<div class="sect">{MEMBER_NAME}:你已经成功登录，欢迎您发表提问！</div>
{/if}
<div class="sect" >
<form action="{$action}" enctype="multipart/form-data" method="post">
<textarea name="question" rows="5" cols="80" class="f-textarea"></textarea>
<p class="commit" style="_position:relative;margin-top:10px;">
<input type="submit" class="btn btn-primary" name="commit" value="好了，提交">
</p>
</form>
</div>
</div>
</div>   
</div>
<div class="site-ms__right">
{~ui('widget')->load()}
</div>
</div>
<!--{template footer}-->
