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/edit_content - Copy.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 pages_content where id='$id' ");
$row=mysql_fetch_array($q);
  $id =$row['id'];
  
  $description   =$row['description'];
 $title =$row['title'];
 $Image =$row['image'];
 $Image_Bannar =$row['image_bannar'];
 $Image_Bannar_Top =$row['image_bannar_top'];
 $pages_name =$row['content_pages_name'];
 $img_align =$row['images_align'];
   ?>
<!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="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="content_manage.php" style="text-decoration:none; "><span class="style9 style41"><strong>Content Manage </strong></span></a> </td>-->
            <td width="100%" align="center"><h1> Edit Content </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="editcontent_submit.php?id=<?=$id?>&id1=<?=$image?>" method="post" enctype="multipart/form-data">
		<table width="90%" align="center" cellpadding="2" cellspacing="1" style="border:dotted 1px; vertical-align:middle">
		
	
  <tr>
    <td align="right" class="section_text"> Content Pages</td>
    <td align="center">&nbsp;</td>
    <td><label>
      <select class="admin_form_field_text" name="pages_name">
	  <option value="<?php echo $pages_name;?>"> <?php echo $pages_name;?></option>
	  <option value="0"> Select Pages</option>
	  <option value="Home Pages"> Home Pages</option>    
	  <option value="Company Info"> Company Info</option>  
	  <option value="Product List"> Product List</option>   
	  <option value="Contact Details"> Contact Details</option>    	 	   
	  </select>
    </label></td>
  </tr>
  <tr>
    <td align="right" class="section_text"> Company Name</td>
    <td align="center">&nbsp;</td>
    <td><label>
       <select class="admin_form_field_text" name="company_name">
	  <option value="0"> Select Company</option> 
	 			  <?php 
					require_once 'config.php';
					$config_obj = new database_config();
					$config_obj->database_connect();
					$SQL = "select * from add_list ORDER BY `company_name` ASC";
					$query = mysql_query($SQL);	 				
					while ($result = mysql_fetch_array($query))
					{
						?>
	  <option value="<?php echo $result['id'];?>"> <?php echo $result['company_name'];?></option>  
	  			 <?php
						}
						?>   	 	   
	  </select>
    </label></td>
  </tr>
  
  <tr>
    <td width="122" align="right" class="section_text">Title</td>
    <td width="5" align="center">&nbsp;</td>
    <td width="682"><label>
      <input name="title" type="text" id="title" class="admin_form_field_text" value="<?php echo $title;?>" />
    </label></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Description</td>
    <td align="center"><strong>:</strong></td>
    <td> </td>
  </tr>
  <tr> 
    <td colspan="3"><label>
      <textarea name="des" id="des" class="editor"><?php echo $description;?></textarea>
      </label></td>
  </tr>
  <tr>
    <td height="119" align="right" valign="bottom" class="section_text">Image</td>
    <td align="center" valign="bottom"><strong>:</strong></td>
    <td><input name="image" type="file" class="input2" id="name" />
	Images Align - <select class="" name="img_align">
					  <option value="0"> Select Align</option>
					  <option value="<?php echo $img_align;?>" selected="selected"> <?php echo $img_align;?></option>
					  <option value="Left"> Left</option>
					  <option value="None"> None</option>
					  <option value="Right"> Right</option>
				  </select>
				  <a href="upload/<?php echo $Image;?>" target="_blank"> <img src="upload/<?php echo $Image;?>" width="100" height="90" /> </a> 
	</td>
    </tr>
  <tr>
    <td align="right" class="section_text" valign="bottom">Bannar Image</td>
    <td align="center" valign="bottom"><strong>:</strong></td>
    <td><input name="image_bannar" type="file" class="input2" id="image_bannar" />
	<a href="upload/<?php echo $Image_Bannar;?>" target="_blank"> <img src="upload/<?php echo $Image_Bannar;?>" width="322" height="90" /> </a>  </td>
    </tr> 
  <tr>
    <td align="right" class="section_text">Top Bannar Image</td>
    <td align="center"><strong>:</strong></td>
    <td><input name="top_bannar_image" type="file" class="input2" id="top_bannar_image" /> 
    <span class="imag_bannar_text">(985px * 125px) </span> <a href="upload/<?php echo $Image_Bannar_Top;?>" target="_blank"> <img src="upload/<?php echo $Image_Bannar_Top;?>" width="322" height="90" /> </a>  </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="Updae"/></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>