<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>预订管理 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript" src="{#$base_weburl#}/js/common.js"></script>
<script language="javascript">
	function pageEnter()
	{
	   var  Url = ""
	   var UrlkeyWord = document.getElementById("keywordhedden").value;
	   if(UrlkeyWord !=''){
	     Url += "&keyword="+UrlkeyWord;
	   }
	   
	   var Urlsort = document.getElementById("prs_idhedden").value;
	   if(Urlsort !=''){
	     Url += "&prs_id="+Urlsort;
	   }   
	    return Url;
	}

	//跳转页面
	function getToPage(pageNum)
	{
		//alert('');
	   var pageNum = pageNum;
	   urlValue  = location.pathname;
	   urlValue += "?load=book&act=infolist&pageNum="+pageNum;
	   if(typeof(pageEnter)=="function")
	   {  
		   urlValue += pageEnter();
	   }
	   window.location = urlValue;
	}
</script>
</head>
<body>
<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">预订管理<input type="hidden" name="webroot_url"   id="webroot_url" value="{#$employee_weburl#}"  /></td>
    <td>&nbsp;</td>
     <td align="right"><a href="http://help.gv32.com/type_book.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>
<div class="list">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">

<tr>
<th>{#if $listval eq 'boo_id'#}<a href="javascript:addOrderBy('boo_id','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}序号</a>{#else#}<a href="javascript:addOrderBy('boo_id','DESC')" >序号</a>{#/if#}</th>
<th>{#if $listval eq 'boo_name'#}<a href="javascript:addOrderBy('boo_name','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}联系人</a>{#else#}<a href="javascript:addOrderBy('boo_name','DESC')" >联系人</a>{#/if#}</th>
<th>{#if $listval eq 'boo_phone'#}<a href="javascript:addOrderBy('boo_phone','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}电话</a>{#else#}<a href="javascript:addOrderBy('boo_phone','DESC')" >电话</a>{#/if#}</th>
<th>{#if $listval eq 'boo_email'#}<a href="javascript:addOrderBy('boo_email','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}邮箱</a>{#else#}<a href="javascript:addOrderBy('boo_email','DESC')" >邮箱</a>{#/if#}</th>
<th>{#if $listval eq 'boo_product'#}<a href="javascript:addOrderBy('boo_product','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}商品</a>{#else#}<a href="javascript:addOrderBy('boo_product','DESC')" >商品</a>{#/if#}</th>
<th>{#if $listval eq 'boo_addtime'#}<a href="javascript:addOrderBy('boo_addtime','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}提交时间</a>{#else#}<a href="javascript:addOrderBy('boo_addtime','DESC')" >提交时间</a>{#/if#}</th>
<th>{#if $listval eq 'boo_enabled'#}<a href="javascript:addOrderBy('boo_enabled','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}状态</a>{#else#}<a href="javascript:addOrderBy('boo_enabled','DESC')" >状态</a>{#/if#}</th>
<th>{#if $listval eq 'boo_status'#}<a href="javascript:addOrderBy('boo_status','{#$listhtml#}')" >{#if $listhtml eq 'DESC'#}↑{#else#}↓{#/if#}进度</a>{#else#}<a href="javascript:addOrderBy('boo_status','DESC')" >状态</a>{#/if#}</th>
<th>操作</th>
</tr>
{#foreach item=item from=$info#}
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdcenter" ><input  type="checkbox"   name="radobj[]"  id="radobj[]" value="{#$item.boo_id#}" /><strong>{#$item.boo_id#}</strong></td>
<td class="keykey">{#$item.boo_name#}</td>
<td class="keykey">{#$item.boo_phone#}</td>
<td class="keykey">{#$item.boo_email#}</td>
<td class="keykey"><strong>{#$item.boo_product#}</strong></td>
<td class="keykey"><strong>{#$item.boo_addtime|date_format:"%Y-%m-%d %H:%M:%S"#}</strong></td>
<td class="tdcenter">{#$_LANG.bd_enabledArray[$item.boo_enabled]#}</td>
<td class="tdcenter">{#$_LANG.statusArray[$item.boo_status]#}</td>
<td class="tdcenter"><a href="{#$employee_weburl#}/index.php?load=book&act=info&id={#$item.boo_id#}" >修改</a> <a href="{#$employee_weburl#}/index.php?load=book&act=del&id={#$item.boo_id#}"  onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除</a> </td>
</tr>
{#/foreach#}

<tr>
<td colspan="9"  class="tdd"><input  type="checkbox"   name="radobjall" id="radobjall"  alt="全选"  onclick="selectAll(this,'radobj')" >&nbsp;<input name="delall" id="delall" type="button"  value="批量删除" onclick="arrayDel('radobj','book')" />&nbsp;<input name="delall" id="delall" type="button"  value="批量显示" onclick="arrayShow('radobj','book')" />&nbsp;<input name="delall" id="delall" type="button"  value="批量隐藏" onclick="arrayHide('radobj','book')" />&nbsp;<input type="button" name="addnew" id="addnew" value="添加预订" onclick="window.location='{#$employee_weburl#}/index.php?load=book&act=add'"  />&nbsp;<input name="keywordhedden" id="keywordhedden" value="{#$keywordval#}"   type="hidden" /><input type="hidden" name="prs_idhedden" id="prs_idhedden" value="{#$prs_idval#}"  /></td>
</tr>
<tr>
<td colspan="9"  class="tdd">{#$PageStr#}</td>
</tr>
</table>

</div>
</td></tr>
<tr><td></td></tr>
</table>



</body>
</html>