{assign var="page_title" value=#customer_service_center#}
{include file="header.html"}
<style type="text/css">
@import url({$theme_img_path}general.css);
@import url({$theme_img_path}widgets.css);
@import url({$theme_img_path}effect.css);
</style>
<script src="static/scripts/jquery.tools.js"></script>
	<div class="tips"><span>{$position}</span>{lang customer_service_center}</div>
	<div class="blank6"></div>  
	<div class="content clearfix">
	  <div class="main_left_w750">
		 <div class="service_center_txt">
             <div class="intro">
             <span>{lang focus_user_service}</span><em>{lang service_for_your_internet}</em>
             </div>
             <div class="title">{lang customer_service}</div>
         </div>
		 <ul class="tabs2 title_mouse">
		  <li><a href="javascript:;"><span>{lang latest_new}{lang answers}</span></a></li>
		  <li><a href="javascript:;"><span>{lang latest_new}{lang problems}</span></a></li>
	</ul>
		<div class="panes box_bord">
			<div class="customer_service">
			   <table>
				  <tr>
					<th>{lang problems}</th>
					<th>{lang status}</th>
					<th>{lang submit_time}</th>
					<th>{lang reply_time}</th>
				  </tr>
                  {foreach from=$AnsweredService name=AnsweredService item=item2}
				  <tr>
					<td><div class="title"><span>[<a href="index.php?do=service&action=lists&typeid={$item2.type_id}">{$item2.typename}</a>]</span><a href="index.php?do=service&action=detail&id={$item2.id}">{$item2.title}</a></div></td>
					<td>{if $item2.revert_content}<span class="answer">{lang answered}</span>{else}{lang no_answer}{/if}</td>
					<td><span{if $item2.revert_content} class="answer"{/if}>{$item2.submitdate}</span></td>
					<td><span{if $item2.revert_content} class="answer"{/if}>{$item2.revertdate}</span></td>
				  </tr>
                  {/foreach}
			  </table>
			</div>
			<div class="customer_service" style="display: none;">
			   <table>
				  <tr>
					<th>{lang problems}</th>
					<th>{lang status}</th>
					<th>{lang submit_time}</th>
					<th>{lang reply_time}</th>
				  </tr>
                  {foreach from=$LatestService name=LatestService item=item1}
				  <tr>
					<td><div class="title"><span>[<a href="index.php?do=service&action=lists&typeid={$item1.type_id}">{$item1.typename}</a>]</span><a href="index.php?do=service&action=detail&id={$item1.id}">{$item1.title}</a></div></td>
					<td>{if $item1.revert_content}<span class="answer">{lang answered}</span>{else}{lang no_answer}{/if}</td>
					<td><span{if $item1.revert_content} class="answer"{/if}>{$item1.submitdate}</span></td>
					<td><span{if $item1.revert_content} class="answer"{/if}>{$item1.revertdate}</span></td>
				  </tr>
                  {/foreach}
			  </table>
			</div>
	   </div>
	   {literal}
		<script>
        $(function() {
            $("ul.tabs2").tabs("div.panes > div");
        });
        </script>    
	   {/literal}
		<div class="blank6"></div>
		<div class="guest_book">
		  <div class="blank6"></div> 
		      
			  {if $Errors}{$Errors}{/if}
          		<form action="index.php" name="service_frm" id="ServiceFrm" method="post">
					<input type="hidden" name="do" value="service">
					<input type="hidden" name="action" value="post">
					<input type="hidden" name="formhash" value="{$formhash}">
					<input type="hidden" name="save_service" value="save_service">
			  <div class="title_bar_s1">
			  <div class="feedback">{lang service_type}{html_radios options=$ServiceTypes checked=1 name="service[type_id]"}</div>  
			  </div>
			  <div class="guest_book_content bord_top_none">
			   <ul>
				 <li><span>{lang the_title}</span><input name="service[title]" type="text" value="{$item.title}" /></li>
				 <li><span>{lang your_name}</span><input name="service[nick_name]" type="text" /></li>
				 <li><span>{lang your_email}</span><input name="service[email]" type="text" value="{$item.email}" /></li>
				 <li><span>{lang added_content}</span><textarea name="service[content]" cols="60" rows="5">{$item.content}</textarea></li>
				 <li><span>&nbsp;</span><input name="" type="submit" value="{lang submit}" class="btn_submit_w45"/></li>
			   </ul>
			  
			  </div> 
 
	  </div>
	  </div>
	  <div class="main_right_w200">
		  <div class="corner_box">
			<div class="title_bar_s1">
		   <h2>{lang latest_tips}</h2>
		   </div>
			 <div class="new_tips bord_top_none">
			<ul>
				{feed row="10"}
				  <li>{$item.url}</li>
				{/feed}
			</ul>
		   </div>
	    </div>
		<div class="blank6"></div>
		<div class="corner_box">
		  <div class="title_bar_s1">
		  <h2>{lang warm_reminder}</h2>
		</div>
		  <div class="new_tips bord_top_none">
		   <p>{lang reply_submit_issue}</p>    
			<p><h2>{lang contact_us}</h2><br />
			{lang service_hotline}{$service_tel}<br /></p>
			<p class="break">{lang email}<a href="mailto:{$service_email}">{$service_email}</a></p>
		</div>
		<div class="blank6"></div>
		<div class="corner_box">
		  <div class="title_bar_s1">
		  <h2>{lang service_client}</h2>
		</div>
		    <div class="new_tips bord_top_none">
		   <p><a href="index.php?do=service&action=client">{lang click_and_preview}{lang service_client}</a></p>
		</div>
	   </div>
	  </div>
	</div>
    </div>

{include file="footer.html"}