{include file="header.tpl" title=$lang['服务单详情'] hostname=$c['网站名称']}


        <div class="wrapper">
<div class="container-fluid">

<div class="row">
<div class="col-12">
<div class="page-title-box">
<!-- <div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">UBold</a></li>
<li class="breadcrumb-item"><a href="javascript: void(0);">Pages</a></li>
<li class="breadcrumb-item active">Starter</li>
</ol>
</div>-->
<h4 class="page-title">预览工单</h4>
</div>
</div>
</div>

<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
  

              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top">
				  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="40">
					  <table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="1197">{$lang['工单标题']}： {$t['主题']}</td>
                          <td width="615" style="padding-right:5px;"><div align="right" class="STYLE6">状态:{$lang[$t['状态']]}</div></td>
                        </tr>
                        <tr>
                          <td width="1197">{$lang['提交时间']}： {$t['提交时间']}</td>
                          <td width="615" style="padding-right:5px;"><div align="right" class="STYLE6">{$lang['最后时间']}: {$t['最后时间']}</div></td>
                        </tr>
                      </table>
					  </td>
                    </tr>
                    <tr>
                      <td height="1" valign="top" bgcolor="#e0e0e0"></td>
                    </tr>
                  </table>
				  </td>
                </tr>
				{foreach from=$tks item=tk}
				{if $tk['回复类型']=='1'}
                <tr>
                  <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="30">{$tk['名字']} (ID: {$tk['用户id']})<span style="float:right;margin-right:15px;">{$tk['时间']}</span></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="12"><table width="99%" height="12" border="0" cellpadding="0" cellspacing="0" background="{$templatedir}/img/e34.jpg">
                            <tr>
                              <td width="59" height="12"><img src="{$templatedir}/img/32.jpg" width="59" height="12" /></td>
                              <td width="95%" height="12"></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td valign="top"><table width="99%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CFE5C1">
                            <tr>
                              <td valign="top" bgcolor="#FEFFFA"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" style=" border-bottom: #cfe5c1 solid 1px; border-left: #cfe5c1 solid 1px; border-right:#cfe5c1 solid 1px;">
                                <tr>
                                  <td height="100" valign="top" style="padding-left:3px; padding-top:3px;"><table width="99%" height="64" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" >
                                        <tr>
                                          <td height="100" colspan="4" valign="top" style="padding-left:3px; padding-top:3px;">
                                          {$tk['信息']}
                                          </td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </table></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                        
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
				{/if}
				{if $tk['回复类型']=='2'}
                <tr>
                  <td valign="top">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="30"><span><font color="red">{$tk['名字']} </font></span><span style="float:right;margin-right:15px;">{$tk['时间']}</span></td>
                      </tr>
                      <tr>
                        <td>
						<table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="12">
							  <table width="99%" height="12" border="0" cellpadding="0" cellspacing="0" background="{$templatedir}/img/c2.jpg">
                                  <tr>
                                    <td width="59" height="12"><img src="{$templatedir}/img/c1.jpg" width="49" height="12" /></td>
                                    <td width="95%" height="12"></td>
                                  </tr>
                              </table>
							  </td>
                            </tr>
                            <tr>
                              <td valign="top">
							  <table width="99%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CFE5C1">
                                  <tr>
                                    <td valign="top" bgcolor="#fcfaff">
									<table width="100%"  border="0" cellpadding="0" cellspacing="0" style=" border-bottom: #d6c2e5 solid 1px; border-left: #d6c2e5 solid 1px; border-right:#d6c2e5 solid 1px;">
                                        <tr>
                                          <td height="100" valign="top" style="padding-left:3px; padding-top:3px;">
										  <table width="99%" height="64" border="0" align="center" cellpadding="0" cellspacing="0">
                                              <tr>
                                                <td>
												 <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                  <tr>
                                                    <td height="80" valign="top" style="padding-top:5px;">
													{$tk['信息']}
                                                    </td>
                                                  </tr>
												 </table>
												</td>
                                              </tr>
                                          </table>
										  </td>
                                        </tr>
                                    </table>
									</td>
                                  </tr>
                              </table>
							  </td>
                            </tr>
                        </table>
						</td>
                      </tr>
                  </table>
				  </td>
                </tr>
				{/if}
				{/foreach}
                <tr>
                  <td valign="top">
				  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                   <tr>
                          <td height="36" class="wtzt">{$lang['工单回复']}</td>
				   </tr>
                    <tr>
                      <td valign="top">
					  <table width="99%" border="0" cellpadding="0" cellspacing="1">
                          <tr><form class="form-horizontal" method="post">
                            <td bgcolor="#FEFFFA">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td height="80"> <textarea name="reply" id="reply" cols="45" rows="5" style="resize: none; border:#CCCCCC  solid 1px;width:98%; height:100px; font-size:12px;"></textarea></td>
                              </tr>
                              <tr>
                                <td><input class="btn" type="submit" value="{$lang['回复']}" /></td>
                              </tr>
                            </table>
							</td></form>
                          </tr>
                      </table>
					  </td>
                    </tr>
                  </table>
				  </td>
                </tr>
	      </table>
	</div>
</div><p></div><p></div><p>
{include file="footer.tpl"}