Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ powmax.net/ Wp-Administrator/ |
|
<?php include('modul/cat_query.php');?> <table align="left" border="0" cellpadding="0" cellspacing="0" width="900px"> <tbody><tr> <td valign="top"> <!--end validation--> <table align="left" border="0" cellpadding="0" cellspacing="0" width="900px"> <tbody><tr> <td valign="top"><br><h1 style="color:#2d2d2d;">Menu Management</h1><br></td> </tr> <tr> <td valign="top"> <table class="user-table" style="background-color: rgb(255, 255, 255);" align="center" border="0" cellpadding="0" cellspacing="2" width="895px"> <tbody><tr> <td style="background-color: rgb(229, 229, 229); border-bottom: 1px solid rgb(204, 204, 204); padding-left: 10px; color: rgb(0, 0, 0);" height="30"> <h2><a href="dashboard.php?cid=<?=$Pages;?>"><img src="images/icon-16-user.png" border="0"> View Content</a></h2> </td> </tr> <tr> <td> <form method="post" action="" class="largetype fluidcontrols" id="Formselectvalue" name="frmSample" onsubmit="return smVali();" enctype="multipart/form-data"> <!--add user st--> <table style="margin-left: 50px; margin-top: 30px;" align="left" border="0" cellpadding="0" cellspacing="0" width="800px"> <tbody> <tr> <td height="30" colspan="3" align="center"> <?php if($_GET['msg']=="1") { echo "<b>Data successfully added</b>"; } elseif($_GET['msg']=="3") { echo "<b>Data successfully Updated</b>"; } ?></td> </tr> <tr> <td><strong>Parents Menu:</strong></td> <td colspan="2"> <select class="regi-submit" name="cat_parent_name"> <?php if($Parent_cat){$sql_view_sub_cat=mysql_fetch_array(mysql_query("SELECT * FROM `menu` WHERE `id`='$Parent_cat'"));?> <option value="<?=$sql_view_sub_cat['id'];?>" selected="selected"> <?=$sql_view_sub_cat['cat_name'];?></option> <option value="0"> Select Menu</option> <?php require_once 'all_cat.php';?> <?php }else{?> <option value="0" selected="selected"> Select Menu</option> <?php require_once 'all_cat.php';?> <?php }?> </select> </td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> <tr> <td><strong>Menu Name:</strong></td> <td colspan="2"><input class="regi-submit" name="cat_name" value="<?=$view_sub_cat['cat_name']?>" type="text"> </td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> <tr> <td><strong>Position:</strong></td> <td> <select class="regi-submit" name="cat_position"> <?php if($view_sub_cat['position']){?> <option value="<?php echo $view_sub_cat['position'];?>" selected="selected"> <?php echo $view_sub_cat['position'];?></option> <?php }else{?><option value="0" selected="selected"> Select Position</option><?php }?> <option value="Menu Bar"> Menu Bar</option> <option value="Right Bar"> Right Bar</option> <option value="Home Body"> Home Body</option> <option value="Header Bar"> Header Bar</option> </select></td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> <tr> <td><strong>Serial No:</strong></td> <td> <input type="number" name="sir_no" value="<?=$view_sub_cat['sir_no']?>" required></td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> <tr> <td> </td> <td colspan="2"> <?php if(!$ID){?> <input class="btn btn-primary" name="addcat" value="Add" type="submit"> <?php }else{?> <input name="edit_id" value="<?=$ID;?>" type="hidden"> <input class="btn btn-primary" name="edicat" value="Update" type="submit"> <?php }?></td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> </tbody></table> </form> <!--add user end --> </td> </tr> </tbody></table> </td> </tr> </tbody></table> <script type="text/javascript"> $( function () { twitter.screenNameKeyUp(); $('#user_screen_name').focus(); }); </script> </td> </tr> <tr> <td> </td> </tr> </tbody></table> </td> </tr> <tr> <td class="menu-headerbg"> </td> <td colspan="2"><table style="height: 1px; font-size: 1px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td> </td> </tr> </tbody></table>