<?

	ob_start();

	session_start();

	if($_SESSION['lang']=='')

    {

	  $_SESSION['lang'] = "en";

    }	

	include 'languages/lang_common_'.$_SESSION['lang'].'.php';

	include 'languages/lang_feedback_'.$_SESSION['lang'].'.php';

	include("include/db.inc.php");



		include("include/bit_functions.inc.php");

		include("include/mail.php");

 		$db1=new db;

   $db1->open();

  mysql_query("SET NAMES 'utf8'"); 

   $currency_symbol_new=symbol_currency();

			

		 $uid=$_SESSION['uid'];

		 	if($_POST['submit']){

		     feedback_email($uid,$_POST['feedback_prefix'],$_POST['information'],$_POST['tel_number']);

			

			header("Location:"._BASEURL_."/feedback.php?auction=$uid");

			

	}



		if(isset($_POST['auction'])){

 

            $to=_ADMIN_MAIL_;

	$rec=mysql_fetch_array(mysql_query("select feedback_mail from admin_mail")); 

		    $from=get_fieldval(id,email,user,$uid);

		    $subject=$feedpre;

		    $headers="MIME-Version: 1.0\r\n";

            $headers.="Content-type: text/html;charset=ISO-8859-9\n";

	        $headers.=""._FROM1_." ".$from."\r\n";

	        $headers.="To: ".$to."\r\n";

	        $headers.="Date: ".date("r")."\r\n";

	        $headers.="Subject: ".$subject."\r\n";

		 $message="<html>

					<body>

					<center>

					<div style='width:500px'>

					<div style='height:20px; padding:10px; color:#FFFFFF; background-color:#910000; font-size:20px;font-family: 'lucida grande', tahoma, verdana, arial, sans-serif' align='left'>"._WLCM_TLOOP_."</div>

					<div style='height:5px; background-color:#e88989'></div>

					<div style='padding:10px; border:1px solid #CCCCCC; font-size:12px; color:#333333;font-family: 'lucida grande', tahoma, verdana, arial, sans-serif' align='left'>

					

					  <p>".$subject. " <br/>

					 ".$feed_dec."<br/>".

					"<a href='"._BASEURL_.">Go Back To HomePage</a><br>

					

					".nl2br($rec[0])."

					<br>"._THNK_U_."!<br>"._MOMS_TEAM_."</div>

					</div>

					</center>

					</body>

					</html>";  

			

			@mail($to,$subject,$message,$headers);

			header("Location:"._BASEURL_."/feedback.php?auction=$uid");

			

  

  }

?>

<!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>

<base href="<?=_BASEURL_?>/" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta content="Money auctions brings you a good posibility to win CASH MONEY." />

<meta name="Description" content="Money Auctions brings you the posibility to win Good amounts of money in a easy way,to a much smaller price than the real one.Up to 99% Cheaper.Make money at home,Real money." />

<meta name="Keywords" content="Penny Auction, Auction, Bid, Mega Cheap prices, Sale,  for Penny Auction, Cheap Deals, Great Bargains, Win Money, Cameras, TV, LCD, Plasma TV, Scooters, and even Cars for mega cheap prices,Money,Live auctions, 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="Money Auctions | 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="support@money-auctions.com"/>

<meta name="author" content="Info-Tech Ltd. | We simplify web 2.0"/>

<title><?=_TITLE_?>Get Support on Everything in less then 24 hours</title>



<link href="<?=_BASEURLCSSNEW_?>/index.css" rel="stylesheet" type="text/css" />

<link href="<?=_BASEURLCSSNEW_?>/index_sec.css" rel="stylesheet" type="text/css" />

<link href="<?=_BASEURLCSSNEW_?>/contact.css" rel="stylesheet" type="text/css" />

<!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(<?=_BASEURLCSSNEW_?>/ie6.css?0:102290); /* ]]> */</style><![endif]-->

<!--[if gte IE 7]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(<?=_BASEURLCSSNEW_?>/ie7.css?0:99961); /* ]]> */</style><![endif]-->

<script src="include/validation.js"></script>

<script language="javascript" type="text/javascript">

function number(){

var number=trim(document.form.tel_number.value);

	if(!is_number(number) && document.form.tel_number.value !='')

	{

		alert("Please enter telephone number in numeric value");

		document.form.tel_number.focus();

		return false;

	}

	var feedback_prefix=trim(document.form.feedback_prefix.value);

	if(is_empty(feedback_prefix))

	{

		alert("Please enter subject");

		document.form.feedback_prefix.focus();

		return false;

	}

	var information=trim(document.form.information.value);

	if(is_empty(information) || document.form.information.value.length >=500)

	{

		alert("Please enter information");

		document.form.information.focus();

		return false;

	}

	

	

	}



	</script>

<style type="text/css">

<!--

.style1 {color: #666666}

-->

</style>

</head>

<body>

<div id="container">

  <? include("header.php");?>

<div  align="left" class="clb" >

     

		

		<? if($_GET['auction']=='')

		{		

		$sel=mysql_query("select id,first_name,last_name,email from user where id='".$_SESSION['uid']."'");

		$myrow=mysql_fetch_array($sel);

		?>

		<div class="sfl w25" >

        <div id="yellow_form">

		 <div class="yellow_top_st">		   <div class="yellow_top_ct tac"><img src="<?=_BASEURLMEDIA_?>/contactus_contactus.gif" alt="CONTACT US" /></div>

		   <div class="yellow_top_en"></div></div>



           <div class="boringcont allp10px">

		    <span class="normaltextredbold11_profile">Powered by Money Auctions</span>

             <p>9322 - 3rd Avenue<br />

              Ste. 433<br />

              Brooklyn, New York 11209</p>

             <p>US<br />

              (Toll Free)1-800-620-4041</p>

             <p>(Tel) 718-559-6905<br />

              (Fax) 718-559-6902</p>

			  <p><a href="faq_buyers.php">Need Help</a></p></div>

              

               <div class="shadow"><div class="tft1"><div class="tft2"></div><div class="tft3"></div></div></div>

              

		   </div>

          

           

           

           </div>

		   <div class="sfl w500">

	

    <div id="green_form">

    	   

		   <div class="green_top_st"> <div class="green_top_ct tac"><img src="<?=_BASEURLMEDIA_?>/contactus_contact.gif" alt="CONTACT US" /></div>

		   <div class="green_top_en"></div></div>

		  

		  

          

          

           <div class="boringcon">

		<form method="post" action="" name="form" onsubmit="return number();">

     

		

           <div class="normaltextblackbold13 sfl w125px tm10px lm10px" ><strong><?=_TO_?></strong></div>

            <div class="normaltextgreenbold13 sfl tm10px" style="width:300px">

            <select>

            <option>info@money-auctions.com</option>

            <option>contact@money-auctions.com</option>

           

            </select>

           </div>

        

		   <div class="normaltextblackbold13 sfl w125px tm20px lm10px"><strong><?=_EMAILADD_?></strong></div>

            <div class="normaltextbluebold13 sfl tm20px" style="width:300px"><input type="text" name="email" class="inputtextsupport"  value="<?=$myrow['email'];?>" /></div>

         

            <div class="normaltextblackbold13 sfl w125px tm20px lm10px" ><strong><?=_USR_NM_?></strong></div>

            

            <div class="normaltextbluebold13 sfl tm20px" style="width:300px"><input type="text" name="uname" class="inputtextsupport"  value="<?=$myrow['first_name'];?>&nbsp;<?=$myrow['last_name'];?>" /></div>

  

<div>

           <span  class="normaltextblackbold13 sfl w125px tm20px lm10px" >Telephone:</span>					</div>

          <div class="normaltextbluebold13 sfl tm20px" style="width:300px"><input type="text" name="tel_number" class="inputtextsupport" style="width:300px" /><br />

            <span class="style1">(example: 123-456-7890  or 07956123456)</span> </div>

		  <div  class="normaltextblackbold13 sfl w125px tm20px lm10px" ><strong><?=_SUB_?></strong>           </div>

            <div  class="normaltextblackbold13 sfl tm20px"><input type="text" name="feedback_prefix" class="inputtextsupport" style="width:300px" /></div>

         

           <div > <strong class="normaltextblackbold13 sfl w125px tm20px lm10px" >Information:</strong></div>

		   <div class="normaltextbluebold13 sfl tm20px" style="width:300px"><textarea name="information"></textarea> 

		  

		   <div class="normaltextitalic10">max 500 character</div><br />

		   </div>

		   

           <div style="width:300px; margin:0px auto;">

          



          <span style="color: rgb(255, 0, 0);"></span><br><br>

           <?  if($uid==''){?>

                          

                         <input type="button" name="submit" class="inputsubmit" onClick="javascript:window.location='<?=_BASEURL_?>/login/index.html'" value=" ">

                         

                          <? } else {?>

                          

          <input type="submit" name="submit" class="inputsubmit" value=" ">

          <? }?>

          <input type="button" name="cancel" class="inputsubmitc" onClick="javascript:window.location='<?=_BASEURL_?>/index.php'" value=" "> 

 	<br />

<br />



        </div>

         

     </form>

     </div>

      <div class="shadow"><div class="tft1"><div class="tft2"></div><div class="tft3"></div></div></div>

     <br />



     </div>

     

		</div>

		 <div class="sfl w22 lm5px">

		  <div id="contact_form">

		<div class="allp10px">

		  <p>Technical:<div>  <a href="mailto:media@money-auctions.com" class="smalla1b">webmaster@money-auctions.com</a></div></p>

             

             <p>Billing:<div> <a href="mailto:accounting@money-auctions.com" class="smalla1b">accounting@money-auctions.com</a></div></p>

            

             <p>Security:<div> <a href="mailto:compliance@money-auctions.com" class="smalla1b">compliance@money-auctions.com</a></div></p>

           

             <p>Customer Service:<div> <a href="mailto:clientservices@money-auctions.com" class="smalla1b">clientservices@money-auctions.com</a></div></p>

            

             <p>Media relations:<div> <a href="mailto:media@money-auctions.com" class="smalla1b">webmaster@money-auctions.com</a></div></p>

           

             <p>All other inquiries:<div><a href="mailto:info@money-auctions.com" class="smalla1b">info@money-auctions.com</a></div></p>

           

		   </div>

		  </div>

		 </div>

	<? }?>

	<? if(isset($_GET['auction'])){?>

<div style="height:250px"><?=_DEAR11_?> <?=get_fieldval(id,uname,user,$_GET['auction']);?>, <br /><br />

 <?=_MANTHANKX_TOUCHH_SON_?><br /><br />

<?=_URDOOBID_TEM_?><br /><br />

 <a href="<?=_BASEURL_?>/index.php"><?=_BAK_HPAGE_?></a><br /><br />&nbsp;</div>

 <? }

 ?>

</div>

<? include("footer.php");?>

</div>

</body>

</html>

