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/ 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 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"><?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="172" align="center"><a href="main_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['key']; $sql="select * from main_content where company_id LIKE '$us%' or company_id LIKE '%$us%' or company_id='$us' or company_id 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="main_content_manage2.php" method="post"> <tr> <td width="8%" height="37"> </td> <td width="92%" align="right" colspan="2" class="search_text_font"> Search by Pages Name <select name="key"> <?php require_once 'main_content_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 main_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) { } ?> <?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>