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_list_edit.php

<?php require_once("check_session.php");?>
<?php require_once("config.php");
$config_obj = new database_config();
$config_obj->database_connect();
$id =$_REQUEST['id'];
$q=mysql_query("Select * from add_list where id='$id' ");
$row=mysql_fetch_array($q);

  $image_name=$row['image_name'];
  $Cat_Name  =$row['cat_name'];
  $Company_Name =$row['company_name'];
  $Email =$row['email'];
  $Title =$row['title'];
  $Des =$row['des'];
  $Add_Positions =$row['add_positions'];
?>
<!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 type="text/css" href="css/jquery.cleditor.css" rel="stylesheet" />
	
	<script type='text/javascript' src='js/jquery-1.4.2.min.js'></script>	<!-- jquery library -->
	<script type='text/javascript' src='js/jquery-ui-1.8.5.custom.min.js'></script> <!-- jquery UI -->
	<script type='text/javascript' src='js/cufon-yui.js'></script> <!-- Cufon font replacement -->
	<script type='text/javascript' src='js/ColaborateLight_400.font.js'></script> <!-- the Colaborate Light font -->
	<script type='text/javascript' src='js/easyTooltip.js'></script> <!-- element tooltips -->
	<script type='text/javascript' src='js/jquery.tablesorter.min.js'></script> <!-- tablesorter -->
	
	<!--[if IE 8]>
		<script type='text/javascript' src='js/excanvas.js'></script>
		<link rel="stylesheet" href="css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
 
	<!--[if IE 7]>
		<script type='text/javascript' src='js/excanvas.js'></script>
		<link rel="stylesheet" href="css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
	
	<script type='text/javascript' src='js/visualize.jQuery.js'></script> <!-- visualize plugin for graphs / statistics -->
	<script type='text/javascript' src='js/iphone-style-checkboxes.js'></script> <!-- iphone like checkboxes -->
	<script type='text/javascript' src='js/jquery.cleditor.min.js'></script> <!-- wysiwyg editor -->

	<script type='text/javascript' src='js/custom.js'></script> <!-- the "make them work" script -->
	

	
<!--=============================teaxtarea table===========================-->

<link rel="stylesheet"  type="text/css" href="css/style.css" />

<link rel="stylesheet"  type="text/css" href="style.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"> &nbsp; </div>
		<table width="940" 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 style41"><strong>Home </strong></span></a></td>
            <td width="172" align="center"><a href="poems_manage.php" style="text-decoration:none; "><span class="style9 style41"><strong><span class="section_text">Add</span> List  Manage</strong></span></a> </td>-->
            <td width="100%" align="center"><h1>Edit Add</h1></td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td colspan="3"><img src="images/main_body_01.jpg" width="986" height="35" /></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" >
		<form action="add_list_editsubmit.php?id=<?=$id?>&id1=<?=$image_name?>" method="post" enctype="multipart/form-data">
		<table width="709" align="center" cellpadding="2" cellspacing="1" style="border:dotted 1px; vertical-align:middle">
		

  <tr> 
    
    <td colspan="3" align="center"><span class="error_success_msg"><?php

								if(isset($_GET['ErrorMessage']))

								{
							?>
									<?php echo $_GET['ErrorMessage']; ?>
							<?php

								}

							?></span></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Categories Name </td>
    <td align="center">&nbsp;</td>
    <td><label> 
      <select name="cat_name"  class="admin_form_field_text">	
	  				<?php
					$SQL2 = "select * from categories_list where id='$Cat_Name'";
					$query2 = mysql_query($SQL2);	 				
					$result2 = mysql_fetch_array($query2)
					?>  
	 <option value="<?php echo $result2['id'];?> " selected="selected"> <?php echo $result2['title'];?> </option>
     <option value="0">Select Categories  </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>
    </label></td>
  </tr> 
  <tr>
    <td align="right" class="section_text">Add Positions</td>
    <td align="center">&nbsp;</td>
    <td><select name="add_position"  class="admin_form_field_text">  
	
	 <option value="<?php echo $Add_Positions ;?> " selected="selected"> <?php echo $Add_Positions ;?> </option>
	  <option value="0">---- Select Positions ----</option>
	  <option value="Home Slide"> Home Slide  </option>
	  <option value="Prime Member"> Prime Member  </option>
	  <option value="Golden Member"> Golden Member  </option>
	  <option value="Right Bar Add"> Right Bar Add  </option>
	   
	  <option value="Footer Add"> Footer Add  </option>
	  <option value="None"> None </option>
						
	</select></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Company Name</td>
    <td align="center">&nbsp;</td>
    <td><input name="company_name" type="text" class="admin_form_field_text" id="company_name" value="<?php echo $Company_Name;?>"/></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Contact Email</td>
    <td align="center">&nbsp;</td>
    <td><input name="email" type="text" class="admin_form_field_text" id="title" value="<?php echo $Email;?>" /></td>
  </tr>
  <tr>
    <td width="143" align="right" valign="bottom" class="section_text">Image</td>
    <td width="10" align="center" valign="bottom" ><strong>:</strong></td>
    <td width="538"><input name="image" type="file" class="input2" id="name" /> 
	<a href="upload/<?php echo $image_name;?>" target="_blank"> <img src="upload/<?php echo $image_name;?>" width="50" height="50" /></a> </td>
  </tr>
  <tr>
    <td align="right" class="section_text">Title</td>
    <td align="center">&nbsp;</td>
    <td><input name="title" type="text" class="admin_form_field_text" id="title" value="<?php echo $Title;?>"/></td>
  </tr> <tr>
    <td align="right" class="section_text">Address</td>
    <td align="center">&nbsp;</td>
    <td><input name="address" type="text" class="admin_form_field_text" value="<?php echo $row['Address']?>" id="address" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">City</td>
    <td align="center">&nbsp;</td>
    <td><input name="city" type="text" class="admin_form_field_text" value="<?php echo $row['City']?>" id="city" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Country</td>
    <td align="center">&nbsp;</td>
    <td><input name="country" type="text" class="admin_form_field_text" value="<?php echo $row['Country']?>" id="country" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Telephone</td>
    <td align="center">&nbsp;</td>
    <td><input name="telephone" type="text" class="admin_form_field_text" value="<?php echo $row['Telephone']?>" id="telephone" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Fax</td>
    <td align="center">&nbsp;</td>
    <td><input name="fax" type="text" class="admin_form_field_text" value="<?php echo $row['Fax']?>" id="fax" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Website</td>
    <td align="center">&nbsp;</td>
    <td><input name="website" type="text" class="admin_form_field_text" value="<?php echo $row['Website']?>" id="website" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Contact Person</td>
    <td align="center">&nbsp;</td>
    <td><input name="contact_person" type="text" class="admin_form_field_text" value="<?php echo $row['Contact_Person']?>" id="contact_person" /></td>
  </tr>
   <tr>
    <td align="right" class="section_text">Description</td>
    <td align="center"><strong>:</strong></td>
    <td>&nbsp;  </td>
  </tr> 
   <tr>  
    <td colspan="3"><label>
      <textarea name="des" class="editor" id="des"><?php echo $Des;?></textarea>
      </label></td>
  </tr> 
  <tr>
    <td align="right" class="section_text">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td><input id="submit" type="submit" name="create"  value="Update"/> <input  type="reset" value="Reset"/></td>
  </tr>
  <tr>
    <td colspan="6" align="right" class="section_text">&nbsp;</td>
  </tr>
</table>
		</form></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>