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/ www/ bjmea-1463dbf457e80c13-admin/ |
|
<?php require_once("check_session.php");?> <!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=iso-8859-1" /> <title>.:Admin Panel:.</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> <style type="text/css"> <!-- .style9 {color: #000066; font-weight: bold; } --> </style> </head> <body onload="MM_preloadImages('images/acc_over.jpg','images/cus_over.jpg','images/ticket_over.jpg')"> <table width="35%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="text"> <?php include 'admin_header.php';?> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="images/button.jpg" width="986" height="29"> <?php include 'admin_menu.php';?> <div class="menu_border"> </div> <table width="421" border="0"> <tr> <td width="134" align="center" style="border-right:#000066 1px solid"><a href="admin.php" style="text-decoration:none; "><span class="style9">Home </span></a></td> <td width="223" align="center"><a href="add_categories.php" style="text-decoration:none; "><span class="style9">Add New Categories </span></a> </td> <td width="50"> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td> <?php require_once("config.php"); $config_obj = new database_config(); $config_obj->database_connect(); $q=mysql_query("Select * from categories_list ORDER BY `title` ASC"); $i=1; $us=$_POST['key']; //$sql="select * from categories_list where title LIKE '$us%' or title LIKE '%$us%' or title='$us' or title LIKE '%$us' ORDER BY `title` ASC"; $sql="select * from categories_list where title LIKE '$us%' ORDER BY `title` ASC"; $ssql = mysql_query($sql); $check = mysql_num_rows($ssql); $error = 0; ?> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td colspan="3" class="admin_body_box_top" headers="35"> <strong> Search Result <span class="search_result_count"><?php echo "$check"; ?></span> Items Found! For <span class="search_result_count"> ⇒ <?php echo "$us"; ?></span> <?php if($check == 0) { $error = 1; echo "Sorry no BookList available that you mentioned.Try a new Search... "; } else { ?> </strong> </td> </tr> <tr> <td width="41" valign="top" style="background:url(images/bar.jpg) repeat-y;"><img src="images/main_body_02.jpg" width="24" height="181" align="top" /></td> <td width="919" valign="middle" style="background:url(images/main_body_03.jpg) repeat-x; background-color:#dee4f0" > <table width="100%" border="0"> <form action="categories_manage.php" method="post"> <tr> <td width="44%" height="37"> </td> <td width="32%" align="right" class="search_text_font"> Search By Letters </td> <td width="24%"><select name="key"> <option value="0"> Select Product</option> <option value="A"> A </option> <option value="B"> B </option> <option value="C"> C </option> <option value="D"> D </option> <option value="E"> E </option> <option value="F"> F </option> <option value="G"> G </option> <option value="H"> H </option> <option value="I"> I </option> <option value="J"> J </option> <option value="K"> K </option> <option value="L"> L </option> <option value="M"> M </option> <option value="N"> N </option> <option value="O"> O </option> <option value="P"> P </option> <option value="Q"> Q </option> <option value="R"> R </option> <option value="S"> S </option> <option value="T"> T </option> <option value="U"> U </option> <option value="V"> V </option> <option value="W"> W </option> <option value="X"> X </option> <option value="Y"> Y </option> <option value="Z"> Z </option> </select> <input type="submit" value="Go" class="search_go_button"></td> </tr> </form> </table> <table width="905" align="center" cellpadding="2" cellspacing="1" style="border: solid 1px #064f99; vertical-align:middle"> <tr> <td width="32" align="center" bgcolor="#7da8d3"><span class="style4 style4">#</span></td> <!--<td width="69" align="center" bgcolor="#7da8d3" ><strong>image</strong></td>--> <td width="121" align="center" bgcolor="#7da8d3" ><strong>Place Type</strong></td> <td width="228" align="center" bgcolor="#7da8d3" ><strong>Cetagories Name </strong></td> <td width="68" align="center" bgcolor="#7da8d3" >Action</td> </tr> <?php while($row=mysql_fetch_array($ssql)) {$id =$row['id']; $image_name=$row['image_name']; $Pages_name =$row['content_pages_name']; $Title =$row['title']; if($i%2!=0) { ?><tr bgcolor="#ccdef2" > <?php } ?> <td align="center" ><?=$i++;?></td> <!--<td align="center"><img src="upload/<?php //echo $image_name;?>" width="50" height="50" /></td>--> <td align="center"><?php echo $Pages_name;?></td> <td align="left" style=" padding-left:20px;"><?php echo $Title;?></td> <td align="center"><a href="categories_list_edit.php?id=<?=$id?>" title="Edit This"> Edit</a> <a href="del_categories_list.php?id=<?=$id?>" onclick="return confirm('Are you sure you wat to delete?');" title="Delete This"> Delet</a></td> </tr> <?php } } ?> <tr> <td colspan="8" align="center"><div class="pagination" align="center"><?=$pagination?></div></td> </tr> </table></td> <td width="26" valign="top" style="background:url(images/bar1.jpg) repeat-y;"><img src="images/main_body_04.jpg" width="26" height="181" /></td> </tr> <tr> <td colspan="3"><img src="images/main_body_05.jpg" width="986" height="32" /></td> </tr> </table></td> </tr> <tr> <td width="1000" height="156" align="center" style="background:url(images/bg1.jpg) repeat-x;"> </td> </tr> </table> </body> </html>