<? include("header.php");

error_reporting(0);

$menuid=$_REQUEST['id'];

include (".include/db-connect.php");

if(isset($_REQUEST['edit']))
 {
	$content=$_REQUEST['CKEditor1'];
		
    $upd_qur="UPDATE ".$MENU." SET content='$content' WHERE id='$menuid'";

    $exce=mysql_query($upd_qur);
		                   
    header("location:about.php?ed=suc&&id=$menuid"); 
}
 ?>
 <?php 
 $sel="select * from ".$MENU." where id=$menuid";
 $run=mysql_query($sel);
 $array=mysql_fetch_array($run);
$cnt=$array['content'];

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

  
<div id="content">
  <div class="breadcrumb">
       <!-- <a href="http://amarasudhan.com/admin/index.php?route=common/home&amp;token=b735cc089ec2d51abb9a8e1901f501fb">Home</a>-->
      </div>
              <div class="box">
    <div class="heading">
      <h1><img src="view/image/home.png" alt="" /> Dashboard > <? echo $array['menu'] ?>  Logo</h1>
    </div>
    <div class="content">
      <div class="overview" style="width:30%; margin-left:400px;">
        <div class="dashboard-heading"><? echo $array['menu'] ?> Logo</div>
        <div class="dashboard-content">
          <table>             
                     
      <tr><td width="192">Logo</td><td width="96"><a href="edit_logo.php?id=1" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
      <!-- <tr><td>Image 1</td><td><a href="edit_logo.php?id=2" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
       <tr><td>Image 2</td><td><a href="edit_logo.php?id=3" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
       <tr><td>Image 3</td><td><a href="edit_logo.php?id=4" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
       <tr><td>Image 4</td><td><a href="edit_logo.php?id=5" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr> -->
       <tr><td>Slide 1</td><td><a href="edit_logo.php?id=6" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
       <tr><td>Slide 2</td><td><a href="edit_logo.php?id=7" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr> 
       <tr><td>Slide 3</td><td><a href="edit_logo.php?id=8" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>
       <tr><td>Email and Mobile no.</td><td><a href="mob_mail.php" title="Edit"><img src="images/edit.jpg" width="30" height="25"></a></td></tr>  
       
							
   </table>
        </div>
      </div>
      
      
    </div>
  </div>
</div>
<!--[if IE]>
<script type="text/javascript" src="view/javascript/jquery/flot/excanvas.js"></script>
<![endif]--> 
<script type="text/javascript" src="view/javascript/jquery/flot/jquery.flot.js"></script> 
<script type="text/javascript"><!--
function getSalesChart(range) {
	$.ajax({
		type: 'get',
		url: 'index.php?route=common/home/chart&token=b735cc089ec2d51abb9a8e1901f501fb&range=' + range,
		dataType: 'json',
		async: false,
		success: function(json) {
			var option = {	
				shadowSize: 0,
				lines: { 
					show: true,
					fill: true,
					lineWidth: 1
				},
				grid: {
					backgroundColor: '#FFFFFF'
				},	
				xaxis: {
            		ticks: json.xaxis
				}
			}

			$.plot($('#report'), [json.order, json.customer], option);
		}
	});
}

getSalesChart($('#range').val());
//--></script> 
</div>
<?  include("footer.php"); ?>