<? include("header.php");
error_reporting(0);
include (".include/db-connect.php");

if(isset($_REQUEST['edit']))
 {
	$content=$_REQUEST['shiippingcaost'];
    $upd_qur="UPDATE `picture` SET `image`='$content' WHERE `id`='9'";
    $exce=mysql_query($upd_qur);
    ?><script>window.location="shipping_cost.php?ed=suc";</script><? 
}
 ?>
 <?php 
 $sel=mysql_query("select * from `picture` where `id`='9'");
 $array=mysql_fetch_array($sel);
  
 ?>
 <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="" /> EDIT SHIPPING COST</h1>
    </div>
    <div class="content">
      <div class="overview" style="width:47%;">
       <form method="post" enctype="multipart/form-data">
       <table cellpadding="8">
       <? if($_REQUEST['ed']=='suc'){?>
       <tr><td colspan="2" style="font-size:20px;color:#090;">Shipping Cost Updated Successfully.</td></tr>
       <? } ?>
       <tr>
       <td style="font-size:16px;font-weight:bold;">Shipping Cost (Per Qty)</td>
       <td><input type="text" name="shiippingcaost" value="<? echo $array['image']; ?>" style="font-size:20px;border:1px groove #000;width:300px;height:30px;border-radius:3px;" required/></td>
       </tr>
       <tr>
       <td>&nbsp;</td>
       <td><input type="submit" name="edit" value="Update" style="width:90px;height:30px;background:#0C3;font-size:18px;border:1px groove #090;cursor:pointer;border-radius:4px;" /></td>
       </tr>
       </table>
       </form>
      
      
    </div>
  </div>
</div> 
</div>
<?  include("footer.php"); ?>