<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang setting_global} &raquo; {lang service_center}</p>
</div>
<div id="rightTop"> 
    <h3>{lang service_center}</h3> 
    <ul class="subnav">
		<li><a class="btn1" href="service.php"><span>{lang out_station_submit}</span></a></li>
		<li><a href="service.php?do=client">{lang terms_of_service}</a></li>
    </ul>
</div>
<div class="mrightTop"> 
    <div class="fontr"> 
        <form name="search_frm" action="service.php" id="SearchFrm" method="get">
        <input type="hidden" name="do" value="search" />
             <div>
             {lang types}{lang colon}<select name="type_id">
              <option value="0">{lang pls_select}</option>
              <option value="1">{lang consulting}</option>
              <option value="2">{lang suggestion}</option>
              <option value="3">{lang complaints}</option>
            </select>
				{lang title_keywords} : <input class="queryInput" type="text" name="q" value="{$smarty.get.q}" /> 
                <input type="submit" id="Search" class="formbtn" value="{lang searching}" /> 
            </div> 
        </form> 
    </div> 
    <div class="fontr"></div> 
</div> 
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="service.php" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onClick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang the_title}</label></th>
		  <th>{lang content}</th>
		  <th>{lang types}</th>
		  <th>{lang whether_or}{lang show_it}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item name=adzone}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onClick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><label for="item_{$item.id}">{$item.title}</label></td>
		  <td>{$item.content|truncate:100}</td>
		  <td>{$ServiceTypes[$item.type_id]}</td>
		  <td>{$Status[$item.status]}</td>
		  <td class="handler">
           <ul id="handler_icon">
            <li><a class="btn_delete" href="service.php?id={$item.id}&do=del" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit"  href="service.php?do=edit&id={$item.id}" title="{lang edit}">{lang edit}</a></li>
          </ul> 
		 </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="6">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->