<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="fa">
<title>ارسال به دوستان</title>
<style>
<!--
body { font-family: Tahoma; font-size: 8pt;
}
p { direction:ltr; font-size: 9pt; margin:3; line-height: 130% }
a { text-decoration: none; font-size: 9pt }
br { margin-top: 1; margin-bottom: 1 }
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #003860;
}
.style7 {
color: #464646;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
a:link {
color: #003860;
text-decoration: none;
}
a:visited {
color: #FF6600;
text-decoration: none;
}
a:hover {
color: #FF6600;
text-decoration: underline;
}
a:active {
color: #FF8047;
text-decoration: none;
}
}
-->
</style>
<script language="JavaScript1.2">
var testresults
function checkemail(email){
var str= email
var filter=/^.+@.+\..{2,3}$/
if (filter.test(str)) {
if (document.f.yourname.value !="")
testresults=true
else {
alert("لطفا نام خود را وارد كنيد");
testresults=false
}
}
else{
alert("لطفا آدرس پستي را وارد کنيد")
testresults=false
}
return testresults;
}
</script>
</head>
<body>
<?
$friendemail=$_POST['friendemail'];
$youremail=$_POST['youremail'];
$message=$_POST['message'];
$link=$_POST['link'];
$titel=$_POST['titel'];
$entry=$_POST['body'];
mail("$friendemail", "e-card from your friend",
"<html dir=\"ltr\"><style>
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #003860;
}
.style7 {
color: #464646;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
a:link {
color: #003860;
text-decoration: none;
}
a:visited {
color: #FF6600;
text-decoration: none;
}
a:hover {
color: #FF6600;
text-decoration: underline;
}
a:active {
color: #FF8047;
text-decoration: none;
}
</style>
<body>
<TABLE WIDTH=510 BORDER=0 align='center' CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<a href='http://mysite.com/clip_player.php?id=$row[swf_id]' target='_blank'><IMG SRC='http://mysite.com/images/ecard_01.gif' ALT='' WIDTH=162 HEIGHT=66 border='0'></a></TD>
<TD>
<a href='http://mysite.com/clip_player.php?id=$row[swf_id]' target='_blank'><IMG SRC='http://mysite.com/images/ecard_02.gif' ALT='' WIDTH=307 HEIGHT=66 border='0'></a></TD>
<TD>
<IMG SRC='http://mysite.com/images/ecard_03.gif' WIDTH=41 HEIGHT=66 ALT=''></TD>
</TR>
<TR>
<TD>
<IMG SRC='http://mysite.com/images/ecard_04.gif' WIDTH=162 HEIGHT=18 ALT=''></TD>
<TD align='left' background='images/ecard_05.gif'><table width='100%' border='0' align='left' cellpadding='0' cellspacing='0'>
<tr>
<th width='23%' bgcolor='#FFFFFF' class='style7' scope='row'>Frome:</th>
<th width='77%' bgcolor='#D5E9FD' scope='row'><span class='style1'>$youremail</span></th>
</tr>
</table></TD>
<TD>
<IMG SRC='http://mysite.com/images/ecard_06.gif' WIDTH=41 HEIGHT=18 ></TD>
</TR>
<TR>
<TD valign='bottom'>
<IMG SRC='http://mysite.com/images/ecard_07.gif' WIDTH=162 HEIGHT=165 ALT=''></TD>
<TD valign='top'><table width='100%' height='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th scope='row'><table width='99%' border='0' align='center' cellpadding='2' cellspacing='0'>
<tr>
<td align='center'><table width='20' border='0' cellspacing='0' cellpadding='1'>
<tr>
<div>$entry</div>
</tr>
</table></td>
</tr>
<tr>
<td><table width='25%' border='0' align='center' cellpadding='1' cellspacing='0'>
<tr>
<th bgcolor='#003860' scope='row'><table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th bgcolor='#FFFFFF' scope='row'><span class='style1'><strong><a href='$link' target='_blank'>$titel</a></strong></span></th>
</tr>
</table></th>
</tr>
</table></td>
</tr>
</table></th>
</tr>
<tr>
<th align='left' valign='top' class='style5' scope='row'><div class='style7'>
<p>$message </p>
</div> </th>
</tr>
</table></TD>
<TD valign='bottom'>
<IMG SRC='http://mysite.com/images/ecard_09.gif' WIDTH=41 HEIGHT=165 ALT=''></TD>
</TR>
<TR valign='top'>
<TD COLSPAN=3>
<IMG SRC='http://mysite.com/images/ecard_10.gif' WIDTH=510 HEIGHT=34 ALT=''></TD>
</TR>
</TABLE>
</body></html>",
"MIME-Version: 1.0\n".
"From: $youremail\n".
"Content-type: text/html; charset=utf-8");
?>
<table width="345" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color: #F7F7F7; border: 1 dotted #35689b">
<tr>
<td dir="rtl" width="341">
<p> :: با تشكر از شما دوست عزيز،
<p> Ecard زير براي دوستتان به آدرس:
<p><? echo "$friendemail"; ?><p>ارسال گرديد.
<p></td>
</tr>
</table>
<p align="center"><font size=1><font color='#808080'>Please set your Encoding to <b>utf-8 (unicode)</b></font></font><font color='#808080'> </font>
</body>
</html>