<?php
	include_once("check_login.php");
	include_once("include/config.php");
	if($hm_arr = get_product_type()){
		$op_str = "";
		foreach ($hm_arr as $key => $val)
			$op_str .= "<option value=\"$val[0]\">$val[1]</option>\n\r";
	}
?>
<!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>添加产品</title>
<script language = "javascript" src="include/jquery.min.js" type="text/javascript"></script>
<script language = "javaScript" src = "include/di_qu.js" type="text/javascript"></script>
<style type="text/css"></style>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>

<body>
<div class="head_menu"><a href="set_img_site.php">产品列表</a><span class="head_menu_on"><a href="set_product_new.php">添加产品</a></span><a href="set_product_type.php">产品分类</a><a href="set_img_more.php">更多产品图片</a><a href="set_img_upload.php">图片上传</a></div>
<div class="set_main_out">
  <form id="form1" name="form1" method="post" action="set_site_do.php?action=pwd">
    <div class="set_main">
      <ul>
        <li style="width:140px;">产品大类:</li>
        <li style="width:638px;">
          <select name="select_big" id="select_big" onchange="show_small_type()">
            <?php echo $op_str; ?>>
          </select>
          <span style="font-size: 12px; color: #999"> 请选择产品大类</span> </li>
        <li style="width:140px;">产品小类:</li>
        <li style="width:638px;"><span id="floading"></span> <span style="font-size: 12px; color: #999"> 请选择产品小类</span> </li>
        <li style="width:140px;">原密码:</li>
        <li style="width:638px;">
          <input name="admin_old_pwd" type="password" id="admin_old_pwd" size="50" maxlength="20" style="background-color:#FFDFE0;" />
          <span style="color:#999; font-size:12px;"> 原来的管理密码(必填)</span></li>
        <li style="width:140px;">新密码:</li>
        <li style="width:638px;">
          <input name="admin_pwd1" type="password" id="admin_pwd1" size="50" maxlength="20" />
          <span style="color:#999; font-size:12px;"> 您的密码(至少5位字符20字)[不改留空]</span></li>
        <li style="width:140px;">密码确认:</li>
        <li style="width:638px;">
          <input name="admin_pwd2" type="password" id="admin_pwd2" size="50" maxlength="20" />
          <span style="color:#999; font-size:12px;">请再确认一次上面输入的密码(20字)[不改留空]</span></li>
        <li style="width:789px; text-indent:0px; text-align:center;">
          <input type="submit" name="button" id="button" value="  提 交  " />
        </li>
      </ul>
    </div>
  </form>
</div>
</body>
</html>