Monkey Albino

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/

/home/bdapparelinfo/www/bjmea-1463dbf457e80c13-admin/add_manage2.php

<?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"> &nbsp; </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="add_list.php" style="text-decoration:none; "><span class="style9">New  Listing </span></a> </td>
            <td width="101">&nbsp;</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 add_list where active='0'");
		$i=1;  
		$us=$_POST['key'];
        $sql="select * from add_list where  active='0' and cat_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 colspan="3" class="admin_body_box_top" headers="35"> 
		
		<strong>  Search Result <span class="search_result_count"><?php echo "$check"; ?></span> Items Found! 
		
		<?php
		if($check == 0)
		{
		$error = 1;
		echo "Sorry no Poems List 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="add_manage2.php" method="post">
  <tr>
    <td width="14%" height="37">&nbsp;</td>
    <td width="45%" align="right" class="search_text_font"> Search by Categories Name &nbsp;</td>
    <td width="41%"><select name="key">  
	  <option value="0"> Select Product</option>
	  			 <?php 
					$SQL = "select * from categories_list ORDER BY `title` ASC";
					$query = mysql_query($SQL);	 				
					while ($result = mysql_fetch_array($query))
					{
						?>
	  <option value="<?php echo $result['id'];?> "> <?php echo $result['title'];?> </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="38" align="center" bgcolor="#7da8d3"><span class="style4 style4">#</span></td>
    <td width="81" align="center" bgcolor="#7da8d3" ><strong>image</strong></td>
    <td width="141" align="center" bgcolor="#7da8d3" ><strong>Categories Name</strong></td>
    <td width="230" align="center" bgcolor="#7da8d3" ><strong>Company  Name </strong></td> 
    <td width="254" align="center" bgcolor="#7da8d3" ><strong>Company Description </strong></td> 
    <td width="128" align="center" bgcolor="#7da8d3" >Action</td>
  </tr>
  
   <?php
    	

		   while($row=mysql_fetch_array($ssql))
		   {$id =$row['id'];
		   $image_name =$row['image_name'];
		   $Cat_Name  =$row['cat_name'];
		   $Company_Name =$row['company_name'];
		   $Des =$row['des'];
		   
			if($i%2!=0)
		  {


  
  ?><tr bgcolor="#ccdef2" >
	 
		<?php
		 } 
		?> 
    <td align="center"><?=$i++;?></td>
    <td align="center"><a href="upload/<?php echo $image_name;?>"><img src="upload/<?php echo $image_name;?>" width="50" height="50" /></a></td>
    <td align="center"><?php
					$SQL2 = "select * from categories_list where id='$Cat_Name'";
					$query2 = mysql_query($SQL2);	 				
					$result2 = mysql_fetch_array($query2)
					?>
					 <?php echo $result2['title'];?></td>
    <td align="center"><?php echo $Company_Name;?></td> 
    <td align="center">  <?php echo $Des;?>  </td> 
    <td align="center"><a href="unblock_post.php?id=<?=$id?>" title="Approve This post"> Approve </a> 
	<a href="add_list_edit.php?id=<?=$id?>" title="Edit This">
	<img src="images/application_edit.png" height="32" width="32" border="0" /></a><a href="del_add_list.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>
  <?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;">&nbsp;</td>
  </tr>
</table>

</body>
</html>