Code: Select all
<?
include('inc/config.inc.php');
include('inc/header.inc.php');
if ($_SERVER['REQUEST_METHOD']=='POST')
{
$notall = 0;
$mailto = "mail2arunprakash14@gmail.com ";
$subject = "MyPerfectAds info request";
$mail=$_POST['mail'];
$first=$_POST['first'];
$last=$_POST['last'];
$phone=$_POST['phone'];
$fax=$_POST['fax'];
$country=$_POST['country'];
$account=$_POST['account'];
$url=$_POST['url'];
$path=$_POST['button2'];
$content=$_POST['content'];
$message = "Mail: ".$mail."\n";
$message .= "First Name: ".$first."\n";
$message .= "Last Name: ".$last."\n";
$message .= "Phone: ".$phone."\n";
$message .= "Fax: ".$fax."\n";
$message .= "Country: ".$country."\n";
$message .= "Account Type:".$account."/n";
$message .= "URL:".$url."/n";
$message .= "Path:".$path."/n";
$message .= "Contents:".$content."/n";
if ($mail && $first && $last && $phone && $fax && $country && $account && $url && $path && $content)
{
mail($mailto,$subject,$message);
echo "the request was successfully submitted";
}
else
{
$notall = 1;
}
}
?>
<html>
<head>
<style type="text/css">
.style1 {background-color:#6699FF}
.style2 {color: #CC0000}
.style3 {color: #CC3333}
.style4 {
color: #000000;
font-weight: bold;
font-family:"Times New Roman", Times, serif;
font-size:16px
}
.style5 {font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:13px}
.style6 {font-family:Verdana, Arial, Helvetica, sans-serif ;
font-size:15px; font-weight:normal}
.style9 {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;}
.style7{font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:inherit; font-weight:550;}
.style8 {font-family:Verdana, Arial, Helvetica, sans-serif ; font-size:20px; font-weight:normal}
.style10 {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:inherit; font-weight:550;}
</style>
<title>MyPerfecetAds</title>
</head>
<body >
<form action="#" method="post" enctype="multipart/form-data" name="frm" onSubmit="return validate();" >
<table width="992" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="">
</td>
</tr>
</table>
<table width="770" hspace="15" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#FFFFFF" colspan="3"><p style="color:#006699" align= "left"><span class="style8">Welcome to customer support center </span></p>
<p style = "color:#990000"align= "left" class="style6" ><b> Important note for MyPerfectAds members: </b></p>
<span class="style5">
<p> If you are already a MyPerfectAds publisher, advertiser or referral, please login to your MyPerfectAds account and click "Support" to get immediate and prioritized access to our support center.</p>
</span> <span class="style5">
<p>If you are not a MyPerfectAds member, please fill in the information below to open a support ticket: </p>
</span> </td>
</tr>
<tr>
<td class="style1" colspan="3" ><span class=" style7"> <strong> Contact Information </strong> </span> </td>
</tr>
<tr>
<td colspan="3"><p> <span class="style9">(If you have an existing customer service account, please </span> <a href="http://dev.myperfectads.com/register.php"><strong> <font size="4"> Login </font> </strong> </a> )</p>
<p>(<span class="style2">*</span>) <font size=" 3" style="font-weight:lighter" >Required</font></p></td>
</tr>
<tr >
<td width="235" style="font-size:16px"><span class="style3" >* <span class="style4"><strong>Email address:</strong> </span></span></td>
<td width="234" bordercolor="#FFFFFF"><span class="style4"> <strong> First Name:</strong></span></td>
<td width="201" ><strong>Last Name:</strong></td>
</tr>
<tr>
<td width="235" ><input type="text" name="mail" value="" width="200" style="background-color:#FFFF99"/></td>
<td width="234" ><input type="text" name="first" value="" width="200" style="background-color:#FFFF99" /></td>
<td width="201"><input type="text" name="last" value="" width="200" style="background-color:#FFFF99" />
</td>
</tr>
<tr>
<td width="235" ><strong>Phone:</strong> </td>
<td width="234" bordercolor="#FFFFFF"><span class="style4"><strong>Fax:</strong></span> </td>
<td width="201" ><strong>Country </strong> </td>
</tr>
<tr>
<td width="235" height="42" valign="baseline"><input type="text" name="phone" value="" width ="200" style="background-color:#FFFF99"/>
</td>
<td width="234" valign="baseline" ><input type="text" name="fax" value="" width ="200" style="background-color:#FFFF99" />
</td>
<td width="201" valign= "baseline"><select name="country" id ="country">
<option value="" >Select</option>
<option value= "afghan">afghan</option>
<option value="bangladesh">bangladesh</option>
<option value= "india">india</option>
<option value="pakistan">pakistan</option>
</select>
</td>
</tr>
<tr>
<td class=" style1" colspan="3"><span class=" style7"><strong> Inquiry Information </strong> </span> </td>
</tr>
<tr>
<td colspan="3 " valign="baseline" class="style5"> Account
<select name ="account" id ="acc" style ="border-color:#000000">
<option value="" > select</option>
<option value="Adverstier">Adverstier</option>
<option value="Publisher">Publisher</option>
<option value="referral">Referral</option>
</select>
<small>account type</small><br />
<hr />
</td>
</tr>
<tr>
<td height="36" colspan="3" class="style5"> (<span class="style2">*</span>)Site Url
<input type="text"value="http://" name="url" id="url" size="35"/></td>
<hr />
</tr>
<tr>
<td height="22" class=" style1" valign= "baseline" colspan="3"><span class=" style7"><strong> Insert File </strong> </span> </td>
</tr>
<tr>
<td colspan="3"> <br />
<input name="button2" type="file" value="browse" />
<br />
<hr/>
</td>
</tr>
<tr>
<td class=" style1" colspan="3" ><span class="style10"> <strong> Inquiry Content </strong> </span></td>
</tr>
<br/>
<tr>
<td> </td>
</tr>
<tr>
<td colspan="3"valign="top" height="100%" align="left" ><textarea rows="9" cols="80" name="content"></textarea></td>
</tr>
<tr>
<td colspan="3" align="center"><input name="submit" type="submit" value="click here to sumbit form" />
</td>
</tr>
</table>
</form>
</body>
<?
include('inc/footer.inc.php');
?>
</html>