<?
	include("head.php");
	include("../include/db.inc.php");
	include("../include/pager.php");	
	$db1=new db;
    $db1->open();mysql_query("SET NAMES 'utf8'");

if($_SESSION['uname']=='' || $_SESSION['pwd']=='')
		{
			header("location:login.php");
		}

if(isset($_POST['sub_faq']))
{
	if(mysql_num_rows(mysql_query("select id from tbl_footer where id='1'"))!=0)
	{
	$ins="UPDATE `tbl_footer` SET `contact_buyer` = '".$_POST['contact_buyer']."' WHERE `tbl_footer`.`id` =1";
	$qu=mysql_query($ins);
	}
	else
	{
	echo mysql_query("insert into tbl_footer set id=1,contact_buyer ='".$_POST['contact_buyer']."'");	
	}
}
$st="select id,contact_buyer from tbl_footer where id = 1";
$qt=mysql_query($st);
$rt=mysql_fetch_array($qt);
?>
<!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=utf-8" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="Isociety is a site like iSociety, its an exact clone of iSociety for those who want to run their own social networking site, photos, friends, groups, events, bulletin, networks, messages, pokes and much more. find and make your friends here" />
<meta name="Keywords" content="Penny Auction, Auction, Bid, Mega Cheap prices, Sale,  for Penny Auction, Cheap Deals, Great Bargains, Win Consoles, Cameras, TV, LCD, Plasma TV, Scooters, and even Cars for mega cheap prices, <?=_TITLE1_?>, Brand new , disocunt of" />
<meta name="rating" content="General"/>
<meta name="copyright" content="Copyright (c) 2008 by money-auctions.com" />
<meta name="classification" content="auction, bidding, unique bid, ecommerce platform, real time shopping"/>
<meta name="coverage" content="Worldwide"/>
<meta name="title" content="<?=_TITLE1_?> | An online real time Ecommerce Auction Platform"/>
<meta name="page-topic" content="products, services, technology, business, Internet, Web, friends, photos, networks, connections, events, groups, relations"/>
<meta name="audience" content="all, experts, advanced, professionals, business, youth, children, ladies, females, males"/>
<meta name="reply-to" content="helpdesk@money-auctions.com"/>

<meta name="author" content="Info-Tech Ltd. | We simplify web 2.0"/>
<title>Money-Auctions Administion Console</title>
<link href="index.css" rel="stylesheet" type="text/css" />

<style>
.a1{color:#000000}
a:hover {text-decoration: none; color:#000000}
.style3 {
	font-family: "Times New Roman", Times, serif;
	font-size: 24px;
	font-style: italic;
	color: #FFFFFF;
}
</style>

<link rel="shortcut icon" href="<?=_BASEURL_?>/favicon.ico" /></head>

<script language="javascript" type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
	tinyMCE.init({
		mode : "textareas",
		theme : "advanced",
		plugins : "spellchecker,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable",
		theme_advanced_buttons1_add_before : "save,newdocument,separator",
		theme_advanced_buttons1_add : "fontselect,fontsizeselect",
		theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
		theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
		theme_advanced_buttons3_add_before : "tablecontrols,separator",
		theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_path_location : "bottom",
		content_css : "/example_data/example_full.css",
	    plugin_insertdate_dateFormat : "%Y-%m-%d",
	    plugin_insertdate_timeFormat : "%H:%M:%S",
		extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		external_link_list_url : "example_data/example_link_list.js",
		external_image_list_url : "example_data/example_image_list.js",
		flash_external_list_url : "example_data/example_flash_list.js",
		file_browser_callback : "mcFileManager.filebrowserCallBack",
		theme_advanced_resize_horizontal : false,
		theme_advanced_resizing : true,
		apply_source_formatting : true,
		spellchecker_languages : "+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv"
	});
</script>

<body bgcolor="#ffffff">
<div class="admin_wrapper">
<div class="logo_show"><? include("minorlogout.php");?></div>
<div style="float:left; width:200px">
<div class="topg_links_show"><? include("left.php");	?></div>
<div class="top_links_show"><? include("belowleft1.php");	?></div></div>
<div style="float:left; width:800px">
<div class="maximum"><br />

<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::header starts:::::::::::::::::::::::::::::::::::::::::::::::::::::-->

<table width="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse; border-color:#ffffff">
  <tr>
    <td><? //include("header.php");?></td>
  </tr>
</table>

<!-- ImageReady Slices (apanel.psd) -->

<div style="margin-top:5px">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" style="border-collapse:collapse; border-color:#ffffff">
  <tr height="417">
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::left starts:::::::::::::::::::::::::::::::::::::::::::::::::::::-->   
    
<td width="85%" bgcolor="#FFFFFF" valign="top">
	
		  <!-- Main Contents here -->
		 <!--Start Main Body--> 
		
		<table width="100%%" border="0" cellspacing="2" cellpadding="0">
       
          <tr>
            <td colspan="2">
            
               
                <table width="856" height="134" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="77">&nbsp;</td>
    <td width="773">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
<form name="addfrm" method="post" action="" >
<input type="hidden" name="content_id" value="<?=$rt['id']?>" />
<table width="60%" border="0">
  <tr>
  	<th colspan="2">!!Contact Buyer!!</th>
  </tr>
   <tr>
    <td>Text</td>
    <td><textarea type="text" name="contact_buyer" style="width:620px; height:320px"><?=$rt['contact_buyer']?></textarea></td>
  </tr>
 
 <tr>
 	<td colspan="2">
	<input type="submit" name="sub_faq" value="Submit">
	</td>
 </tr>
 
</table></form>
</td>
  </tr>
</table>

            </td>
          </tr>
     
        </table>

	  <!--End Main Body-->
		</td>
  </tr>
</table>
</div>


<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::center ends:::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::footer starts:::::::::::::::::::::::::::::::::::::::::::::::::::::-->

</div></div>
<div class="bottom_links_show"><? include("footer.php");	?></div>
</div>
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::footer ends:::::::::::::::::::::::::::::::::::::::::::::::::::::-->

</body>
</html>



