<tr id="tieude"> <td class="height_row" colspan="5" > <strong>Sửa Menu</strong></td> </tr> <tr> <td width="18%" class="height_row"><div align="right">Tên nhóm</div></td> <td width="31%" class="height_row"> <input name="category" type="text" maxlength="100" class="input_text" value="<?php echo $row['category']; ?> "/> </td> <td width="15%" class="height_row">Thuộc nhóm</td> <td width="38%" class="height_row"> <select name="parent" class="input_text" > <option value="0">Không thuộc nhóm nào</option> <?php CategoryParent($row['parent'], menu_product); ?> </select></td> </tr> <tr> <td class="height_row"><div align="right">Số TT</div></td> <td colspan="3" class="height_row"> <select name="order" class="input_text" > <?php order(1, 100, $row['stt']); ?> </select> </td> </tr> <tr> <td> </td> <td colspan="3"><label>
<td width="529" ><input name="title" type="text" class="Contact_text" id="title" value="<?php echo $row['title']; ?> " ></td> </tr> <tr> <td><div align="left"><strong> <?php echo $require; ?> Chuyên mục: </strong></div></td> <td> <select name="categories" class="Contact_text" id="categories" onChange="getCity('getmodel.php?categories='+this.value)"> <option value="0">--- Chọn chuyên mục ---</option> <?php CategoryParent($row['categories'], menu_product); ?> </select></td> </tr> <tr> <td colspan="2"> <div id="modeldiv"><table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="143" nowrap="nowrap"><div align="left"><strong> <?php echo $require; ?> Nhu cầu: </strong></div></td> <td width="541"> <select name="needs" class="Contact_text" id="needs"> <option value="0">--- Chọn nhu cầu ---</option>
<br /> <?php if (!$_GET['Edit'] and !$_GET['AddNews']) { ?> <form method="post" action=""> <table width="750" bgcolor="#FFFFFF" border="0" cellspacing="2" cellpadding="2" align="center" style="border:#cccccc 1px solid"> <tr height="22px"> <td><select name="select" class="input_text" onchange="change_page(this.value);"> <option value="">---Tất cả---</option> <?php CategoryParent($_GET['category'], menu_product); ?> </select></td> <td width="59%" > <input type="button" onClick="location.href='index.php?site=<?php echo $_GET['site']; ?> &AddNews=true'" value="Thêm sản phẩm" /> </td> </tr> </table> </form>
echo $_POST['title']; ?> " ></td> </tr> <tr> <td><div align="left"> <?php echo $require; ?> <strong> Chuyên mục: </strong></div></td> <td><span class="height_row"> <select name="categories" class="Contact_text" id="categories" onChange="getCity('getmodel.php?categories='+this.value)"> <option value="0">--- Chọn chuyên mục ---</option> <?php CategoryParent($_POST['categories'], menu_product); ?> </select> </span></td> </tr> <tr> <td colspan="2"> <div id="modeldiv"><table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="143" nowrap="nowrap"><div align="left"><strong> Nhu cầu: </strong></div></td> <td width="538"><select name="needs" disabled="disabled" class="Contact_text" id="needs"> <option value="0">--- Chọn nhu cầu ---</option> </select></td> </tr> <tr> <td><div align="left"><strong> Chủng loại: </strong></div></td>
<br /> <form method="post" action=""> <table width="750" bgcolor="#FFFFFF" border="0" cellspacing="2" cellpadding="2" align="center" style="border:#cccccc 1px solid"> <tr height="22px"> <td><select name="select" class="input_text" onchange="change_page(this.value);"> <option value="">---Tất cả---</option> <?php CategoryParent($_GET['category'], menu_anh); ?> </select></td> <td width="59%" > <input type="button" onClick="location.href='index.php?site=<?php echo $_GET['site']; ?> &category=<?php echo $_GET['category']; ?> &AddNews=true'" value="Thêm ẢNH" /> </td> </tr>
<tr id="tieude"> <td class="height_row" colspan="5" > <strong>Sửa Menu ẢNH</strong></td> </tr> <tr> <td width="18%" class="height_row"><div align="right">Tên nhóm</div></td> <td width="31%" class="height_row"> <input name="category" type="text" maxlength="100" class="input_text" value="<?php echo $row['category']; ?> "/> </td> <td width="15%" class="height_row">Thuộc nhóm</td> <td width="38%" class="height_row"> <select name="parent" class="input_text" > <option value="0">Không thuộc nhóm nào</option> <?php CategoryParent($row['parent'], menu_anh); ?> </select></td> </tr> <tr> <td class="height_row"><div align="right">Số TT</div></td> <td colspan="3" class="height_row"> <select name="order" class="input_text" > <?php order(1, 100, $row['stt']); ?> </select> </td> </tr> <tr > <td height="27"><div align="right"> Hình ảnh: </div> </td>