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
/ home1/ bdapparelinfo/ britanniabd.com/ admin2015/ |
|
<?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 href="style.css" rel="stylesheet" type="text/css"/> </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"><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="172" align="center"><a href="content.php" style="text-decoration:none; "><span class="style9">New Content Insert</span></a> </td> <td width="101"> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td> <?php require_once("config.php"); $config_obj = new database_config(); $config_obj->database_connect(); $i=1; $us=$_POST['pages_name']; $sql="select * from pages_content where content_pages_name LIKE '$us%' or content_pages_name LIKE '%$us%' or content_pages_name='$us' or content_pages_name LIKE '%$us'"; $ssql = mysql_query($sql); $check = mysql_num_rows($ssql); $error = 0; ?> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td height="35" colspan="3" style="background: url(images/main_body_01.jpg) no-repeat; padding-left:50px; padding-top:10px;"> <strong> Search Result <span class="search_result_count"><?php echo "$check"; ?></span> Items Found! <?php if($check == 0) { $error = 1; echo "Sorry no products 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="content_manage.php" method="post"> <tr> <td colspan="2" align="right" class="search_text_font"> Search by Pages Name </td> <td width="54%"><select class="admin_form_field_text" name="pages_name"> <option value="0"> Select Pages</option> <?php require_once "all_option.php";?> </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="119" align="center" bgcolor="#7da8d3"><span class="style4 style4">#</span></td> <td width="101" align="center" bgcolor="#7da8d3" ><strong>Image</strong></td> <td align="center" bgcolor="#7da8d3" colspan="2"><strong>Title</strong></td> <td width="72" align="center" bgcolor="#7da8d3" ><strong>Action</strong></td> </tr> <?php //$q=mysql_query("Select * from pages_content "); while($row=mysql_fetch_array($ssql)) {$id =$row['id']; $description =$row['description']; $title =$row['title']; $pages_name =$row['content_pages_name']; $image =$row['image']; if($i%2!=0) { ?> <tr bgcolor="#ccdef2" > <?php } ?> <td align="center" >(<?=$i++;?>) <strong><?php echo $pages_name;?></strong></td> <td align="center"><a href="upload/<?php echo $image;?>" target="_blank"><img src="upload/<?php echo $image;?>" width="100" height="90" /></td> <td align="center" colspan="2"><?php echo $title;?></td> <td align="center" rowspan="2"><a href="edit_content.php?id=<?=$id?>" title="Edit This"> <img src="images/application_edit.png" height="32" width="32" border="0" /></a> <a href="del_content.php?id=<?=$id?>" onclick="return confirm('Are you sure you wat to delete?');" title="Delete This"> <img src="images/bin.png" border="0" /></a></td> </tr> <tr bgcolor="#ccdef2"> <td colspan="4" align="center" style=" text-align:justify;"><h3>Details</h3><?php echo $description;?> </td> </tr> <?php } } ?> <tr> <td colspan="7" 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>