<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<%
'*****************************************
'* 软件名称 乐彼网上开店软件(56770 EShop)
'* 软件开发 http://www.56770.com
'* 版权所有 http://www.56770.com
'* 文件名称 Admin_left.asp
'* 最后更新 2013-03-01 by 56770.kingdge
'*****************************************
include "lang/"& LangFilePath &"/lang_menu.inc"
include "lang/"& LangFilePath &"/lang_sys.inc"
CurrentId = checknum(request("id"),0)
PluginId = checknum(request("PluginId"),0)
CurrentUrl = ""
LB_Head()
%>
<link href="images/vertical/left.css" type="text/css" rel="stylesheet">
<script>
function cleanDefault(id) {	
		document.getElementById(id).value = "";
		document.getElementById(id).style.color="#000000";
	}
var i = 1;
function searchselect () {
	if (i % 2 == 0) {
		hiddenmenu();
	} else {
		showmenu();
	}
	i=i+1;
}
function choose(items) {
	switch (items) {
		case 1:
			document.getElementById("searchall").value="<%=Lang_sys(107)%>";
			document.getElementById("SearchType").value="admin_product_list.asp?keyword=";
			break;
		case 2:
			document.getElementById("searchall").value="<%=Lang_sys(108)%>";
			document.getElementById("SearchType").value="admin_orders.asp?s_order_number=";
			break;
		case 3:
			document.getElementById("searchall").value="<%=Lang_sys(109)%>";
			document.getElementById("SearchType").value="admin_user.asp?user_id=";
			break;
	}
	hiddenmenu();
	i = i+1;
}
function showmenu() {
		document.getElementById("searchmenu").style.display="block";
	}
	
function hiddenmenu() {
		document.getElementById("searchmenu").style.display="none";
	}
function Indexsearch() {
		parent.frmright.location.href=document.getElementById("SearchType").value+document.getElementById("searchall").value;
	}	

</script>
<TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
  <TBODY>
  <TR>
    <TD vAlign="top">
	<div style="width:139px;margin:0 0 0 11px">
		    <table border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><span id="searchmenu">
		  <ul class="smenu">
		  <li><a href="#" onClick="choose(1)"><%=Lang_sys(107)%></a></li>
		  <li><a href="#" onClick="choose(2)"><%=Lang_sys(108)%></a></li>
		  <li><a href="#" onClick="choose(3)"><%=Lang_sys(109)%></a></li>
		  </ul>
		  </span>
		  <div id="way"><span id="wayicon" onClick="searchselect();"></span></div>
		  <input name="SearchType" id="SearchType" type="hidden" value="admin_product_list.asp?keyword=">
          <input name="SearchName" id="searchall" type="text" value="<%=Lang_sys(107)%>" style="width:116px;height:20px;border:1px solid #A7A6AA;font-size:12px;line-height:20px" onFocus="javascript:cleanDefault('searchall');"></td><td><img src="images/search_icon.gif" style="cursor:pointer;" align="middle" onClick="Indexsearch();"></td>
              </tr>
            </table>
	 </div>
      <TABLE class="alpha">
        <TBODY>
        <TR>
          <TD class="left_menu" id="menubar" vAlign="top">
		  <UL id="parentmenu"><script language="javascript" type="text/javascript">ShowMenu(<%=CurrentId%>,'<%=CurrentUrl%>','<%=PluginId %>','frmright');</script></UL>
		  </TD>
		</TR>
		</TBODY>
	 </TABLE>
  </TD>
 </TR>
</TBODY>
</TABLE>
</BODY>
</HTML>