<?php session_start();  //Developed by ITechScripts?>
>
<style type="text/css">
<!--
.style1 {
	color: #666666;
	font-weight: bold;
}
.style3 {color: #666666; font-size: 11px; font-family:Arial, Helvetica, sans-serif}
-->
</style>
 <?
 require 'include/configurations.php'; // ITECHBIDS Configuration File 
 require 'include/header.php'; 
  if($_POST[acc_modify])
  {
$contact_name=$_POST[contact_name];
$acc_title=$_POST[acc_title];
$bank_name=$_POST[bank_name];
$swift_code=$_POST[swift_code];
$acc_number=$_POST[acc_number];
$country=$_POST[country];
$Other=$_POST[Other];


 $up_sql="update offline_payments set contact_name='$contact_name',acc_title='$acc_title',bank_name='$bank_name',swift_code='$swift_code',acc_number='$acc_number',country='$country', Other='$Other' where type='1'";
 $res=mysql_query($up_sql);

 
 }
 ?>
<table border="0" align="center" cellpadding="5" cellspacing="2" width="100%" >
<tr><td>
<table align="center" width="100%" height="35" class="ft" heught=25">
<tr><td align="center"><a href="settings.php?page=gen" id="link3">General Settings</a></td>
<td align="center"><a href="settings.php?page=pay" id="link3"> Payment Settings</a></td> 
<td align="center"><a href="settings.php?page=auction" id="link3">Auction Settings</a></td>
<td align="center"><a href="settings.php?page=bid" id="link3">Bid Settings</a></td>
<td align="center"><a href="settings.php?page=ask" id="link3">Contact Seller Settings</a></td>
</tr>


</table><br><br>
<form action="offline.php" method="post" name="frm12">
<table border="0" align="center" cellpadding="5" cellspacing="2" width="70%" class="ft">
<tr class="ct" height="25">
<td colspan="2"><b>Fee Settings</b></td>
</tr>
<?
$auction_query="select * from offline_payments where type='1'";
$table=mysql_query($auction_query);
$ret=mysql_fetch_array($table);
$contact_name=$ret['contact_name'];
$acc_title=$ret['acc_title'];
$bank_name=$ret['bank_name'];
$swift_code=$ret['swift_code'];
$acc_number=$ret['acc_number'];
$country=$ret['country'];
$Other=$ret['Other'];

	

?>
<tr >
      <td>Contact Name</td> 
                      <td> <input type="text" class="bluetext"name="contact_name" value="<?= $contact_name ?>"> </td>
</tr>
<tr >
      <td>Account Title</td> 
                      <td> <input type="text" class="bluetext"name="acc_title" value="<?= $acc_title ?>"></td>
</tr>
<tr >
      <td>Bank Name</td> 
                      <td> <input type="text" class="bluetext"name="bank_name" value="<?= $bank_name ?>"> </td>
</tr>
<tr >
      <td>Swift Code</td> 
                      <td> <input type="text" class="bluetext"name="swift_code" value="<?= $swift_code ?>"> </td>
</tr>
<tr >
      <td>Account Number</td> 
                      <td> <input type="text" class="bluetext"name="acc_number" value="<?= $acc_number ?>"></td>
</tr>
<tr >
      <td>Country</td> 
                      <td> <input type="text" class="bluetext"name="country" value="<?= $country ?>"></td>
</tr>
<tr >
      <td>Other Information</td> 
                      <td> <textarea name="Other"><?= $Other ?></textarea></td>
</tr>

<tr  ><td align="center" colspan="2">
<input type="submit" class="button"   value=" Modify " name="acc_modify" ></td>
</tr>
</table>
</form>
<br>
<?
 require 'include/footer.php'; 
?>