
<table width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr bgcolor="#FFFFFF">
    <td><table width="100%" border="0" cellspacing="1" cellpadding="0" class="from_table">
      <tr>
        <th> 　
          <tpl> $langComplaintMutualityBaby </tpl>： </th>
        <td  colspan="2" align="left" valign="middle"><a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $complaint_array.p_code </tpl>" target="_blank">
          <tpl> $complaint_array.p_name </tpl>
        </a> </td>
		<td></td>
		<td></td>
		<td></td>

      </tr>
	  <tr>
	   <th> 　
          <tpl> $langComplaintHuman </tpl>： </th>
        <td width="120" align="left" valign="middle"><a href="<tpl> $site_url </tpl>/store/userinfo.php?userid=<tpl> $complaint_array.member_id </tpl>" target="_blank">
          <tpl> $complaint_array.login_name </tpl>
        </a> </td>
        <th > 　
          <tpl> $langComplaintBy </tpl>： </th>
        <td width="100" align="left" valign="middle"><a href="<tpl> $site_url </tpl>/store/userinfo.php?userid=<tpl> $complaint_array.c_r_member_id </tpl>" target="_blank">
          <tpl> $complaint_array.c_r_login_name </tpl>
        </a></td>
	<td></td>
		<td></td>
		<td></td>
	  </tr>
      <tr>
        <th  > 　
          <tpl> $langComplaintType </tpl>： </th>
        <td height="30" colspan="5" align="left" valign="middle">
			<tpl> assign var = 'c_r_type' value = $complaint_array.c_r_type </tpl>
			<tpl> assign var = 'hand_type' value = $complaint_report_type[$c_r_type] </tpl>
			<tpl> $hand_type </tpl>
		</td>
      </tr>
      <tr>
        <th>　
          <tpl> $langComplaintNum </tpl>：</th>
        <td height="30" align="left" valign="middle"><tpl> $complaint_array.complaint_report_id </tpl></td>
        <th>　
          <tpl> $langComplaintTime </tpl>：</th>
        <td height="30" align="left" valign="middle"><tpl> $complaint_array.c_r_add_time|default:"$langCNot" </tpl></td>
        <th valign="middle">　
          <tpl> $langComplaintEndTime </tpl>：</th>
        <td height="30" align="left" valign="middle"><tpl> $complaint_array.c_r_end_time|default:"$langCNot" </tpl></td>
      </tr>
      <tr>
        <th>　<tpl> $langComplaintOperatorEstate </tpl>： </th>
        <td width="400" align="left">
			<tpl> assign var = 'c_r_handling' value = $complaint_array.c_r_handling_state </tpl>
			<tpl> assign var = 'hand_type' value = $baseconfig_handling[$c_r_handling] </tpl>
			<tpl> $hand_type </tpl>		</td>
			<td></td>
		<td></td>
		<td></td>
       	<td></td>
      </tr>
	  <tr>
	   <th><tpl> $langComplaintOperatorResult </tpl>： </th>
        <td height="30" align="left" valign="middle"><tpl> $complaint_array.c_r_result|default:"$langCNot" </tpl></td>
        <td height="30" colspan="2"  valign="middle">
          <tpl> if $complaint_array.c_r_handling_state neq 3 </tpl>
              <tpl> if $complaint_array.c_r_handling_state eq 0 </tpl>
              	<a href="javascript:;" onclick="ShowDiv='result_content';getPageContent('complaint.manage.php?action=handling&complaint_report=<tpl> $complaint_report </tpl>&complaint_report_id=<tpl> $complaint_array.complaint_report_id </tpl>');"><tpl> $langComplaintPrincipiumAuditing </tpl></a>
              <tpl> else </tpl>
              	<a href="javascript:;" onclick="ShowDiv='result_content';getPageContent('complaint.manage.php?action=handling&complaint_report=<tpl> $complaint_report </tpl>&complaint_report_id=<tpl> $complaint_array.complaint_report_id </tpl>');"><tpl> $langComplaintGoOperator </tpl></a>
              <tpl> /if </tpl>
          <tpl> else </tpl>
          	 <tpl> $langComplaintEndOperator </tpl>
          <tpl> /if </tpl>
        </td>
		<td></td>
		<td></td>
	  </tr>
    </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0"  style="margin-top:20px" class="from_table">
    <!-- <tr bgcolor="#FFFFFF">
      <td  bgcolor="#DBE6DE">　<tpl> $langComplaintContent </tpl>：</td>
      <td width="87%" bgcolor="#F7FFF7">　</td>
    </tr> -->
	<tpl> if $complaint_array.c_r_evidence neq ''</tpl>
		<tr>
		  <th  height="30"  valign="middle">　
	      <tpl> $langCompProof </tpl>：</th>
		  <td width="570" height="30" align="left">　
	      <tpl> $complaint_array.c_r_evidence </tpl></td>
		</tr>
	<tpl> /if </tpl>
	<tpl> if $complaint_array.c_r_pic neq ''</tpl>
		<tr>
		  <th  height="70"  valign="middle">　
	      <tpl> $langComplaintMutualityImage </tpl>：</th>
		  <td width="570" align="left">　<a href="<tpl> $site_url </tpl>/<tpl> $complaint_array.c_r_pic </tpl>" target="_blank"><img src="<tpl> $site_url </tpl>/<tpl> $complaint_array.c_r_pic </tpl>" width="50" height="50" border="0" /></a></td>
		</tr>
	<tpl> /if </tpl>
	<tpl> if $complaint_array.c_r_pic_two neq ''</tpl>
		<tr>
		  <th  height="66"  valign="middle">　
	      <tpl> $langComplaintMutualityImage </tpl>：</th>
		  <td width="570" align="left">　<a href="<tpl> $site_url </tpl>/<tpl> $complaint_array.c_r_pic_two </tpl>" target="_blank"><img src="<tpl> $site_url </tpl>/<tpl> $complaint_array.c_r_pic_two </tpl>" width="50" height="50" border="0" /></a></td>
		</tr>
	<tpl> /if </tpl>
</table>
  
  <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-top:20px" class="from_table">
    <tr>
      <th width="120" height="30" align="left" ><tpl> $langComplaintByExplainContent </tpl>：</th>
      <td width="560" align="left">&nbsp;</td>
    </tr>
	<tr>
      <td width="120" height="30"> </td>
      <td width="560" height="30" align="left"><tpl> $complaint_array.c_r_answer|default:"$langCNot" </tpl></td>
	</tr>
  </table>
  
  <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-top:20px" class="from_table">
    <tr>
      <th  height="30">　
      <tpl> $langComplaintMessageInfo </tpl>：</th>
      <td width="570" align="left">　
        <tpl> if $complaint_array.c_r_handling_state neq 3 </tpl>
        <a href="javascript:;" onclick="ShowDiv='result_content';getPageContent('complaint.manage.php?action=add_msg&complaint_report=<tpl> $complaint_report </tpl>&complaint_report_id=<tpl> $complaint_array.complaint_report_id </tpl>');"><tpl> $langComplaintMessage </tpl></a>
      <tpl> /if </tpl></td>
    </tr>
	<tr bgcolor="#FFFFFF">	
			<tpl> section name=loop loop=$msg_array </tpl>
			  <th  bgcolor="#FFFFFF">　
      <tpl> $langComplaintServerMessage </tpl>：</th>
			  <td width="570" align="left" style="padding-top:10px">　
			    <tpl> $msg_array[loop].r_c_content </tpl>
			    <div align="right" style="padding-right:20px; padding-bottom:10px"><tpl> $msg_array[loop].r_c_msg_add </tpl>
      </div></td>
	</tr>
			<tpl> /section </tpl>
	<tr bgcolor="#FFFFFF">
		<td height="30" align="right" style="padding-right:20px"></td>
	    <td height="30" align="right" style="padding-right:20px"> <span class="btn_left" style="float:left">
<input id="butt_list" type="button" value="<tpl> $langComplaintReturnList </tpl>" style="margin-bottom:10px" class="btn_submit" />
</span><tpl> $page_list </tpl></td>
	</tr>
</table>
<script>
$(document).ready(function() {
//焦点样式
$('#message').css('display','none');
    $('input[@type="text"],input[@type="password"],textarea').focus(function() { $(this).addClass('input_onFocus') }).blur(function() { $(this).removeClass('input_onFocus') });
	//返回列表
	$("#butt_list").click(function(){
		ShowDiv = "result_content";
		getPageContent('complaint.manage.php?action=ajax_list&class=<tpl> $complaint_report </tpl>');
	});
});
</script>