hjkhghtjhjjhjhjhjhjjhjhjjhrrtrtoirh
bnmbertsurrttrtrtrtrjhjhjjhjhhjhjhjhf'tdfg
/
home
/
u506006416
/
domains
/
nitinkashyap.in
/
balaji-lagan
/
Upload FileeE
HOME
<?php session_start(); include("config.php"); ?> <? // Database Connection include 'dbconnect.php'; $strid = $_SESSION['matriid']; ?> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <TITLE><?php echo $info['Title']; ?></TITLE> <LINK href="style.css" rel="stylesheet" type="text/css"> <STYLE type="text/css"> <!-- .style6 {font-family: Verdana; font-size: 8.5pt; color: #424542; } .style1 {color: #FFFFFF} .style5 {font-size: 12px} --> </STYLE> </HEAD> <BODY class="body"> <DIV align="center"> <? $inforesult = mysql_query("SELECT * FROM siteconfig"); while($inforow = mysql_fetch_array($inforesult)) { $webpath = $inforow['Webname']; $webpath="http://www.indiawebscripts.com/demonew"; $webfriendlyname = $inforow['WebFriendlyname']; $logo = $inforow['Weblogopath']; $from = $inforow['ContactEmail']; } ?> <script> alert('mail sending for 4 <?=$webpath;?> and <?=$a3['MatriID'];?>'); </script> <? $strid = $_SESSION['matriid']; $b2=mysql_query("SELECT * FROM register where MatriID='$strid'"); while($b3=mysql_fetch_array($b2)) { $Gender=$b3['Gender']; $religion=$b3['Religion']; $caste=$b3['Caste']; $looking=$b3['Looking']; $partnerreligion=$b3['PE_Religion']; $partnercaste=$b3['PE_Caste']; $name=$b3['Name']; $email=$b3['ConfirmEmail']; } if($Gender=='Male') { $a1 = mysql_query("select * from register where Gender='Female' and Looking='$looking' and Religion='$partnerreligion' and Caste='$partnercaste' and PE_Religion='$religion' and PE_Caste='$caste' AND Status <> 'InActive'") or die (mysql_error()); } if($Gender=='Female') { $a1 = mysql_query("select * from register where Gender='Male' and Looking='$looking' and Religion='$partnerreligion' and Caste='$partnercaste' and PE_Religion='$religion' and PE_Caste='$caste' AND Status <> 'InActive'") or die (mysql_error()); } $countrows=mysql_num_rows($a1); while($a3=mysql_fetch_array($a1)) { //$femalename=$a3['Name']; //$femaleemail=$a3['ConfirmEmail']; ?> <script> alert('mail sending for 4 <?=$b3['MatriID'];?> with <?=$email;?> and <?=$countrows;?>'); </script> <? //mail sending statt ob_start(); ?> <table width='610' border='0' cellspacing='0' cellpadding='0' bgcolor="#FFFFFF"> <tr> <td background=<?=$webpath;?>/pics/email_top.gif width=617 height=22 style="background-repeat:repeat-y"> </td> </tr> <tr> <td background=<?=$webpath;?>/pics/email_middle.gif style="background-repeat:repeat-y"><table width=610 border=0 cellspacing=2 cellpadding=2> <tr> <td width=1> </td> <td width=595 rowspan=3 valign=top><table width=595 border=0 align=center cellpadding=2 cellspacing=2> <tr> <td width=587 valign=top class=style3><img src='<?=$webpath;?>/pics/logo.gif' border=0></td> </tr> <tr> <td width=587 valign=top class=style3>Dear <?=$name;?>,</td> </tr> <tr> <td width=587 valign=top class=style3>Your Profile match with following profile</td> </tr> <tr> <td width=587 valign=top class=style3> </td> </tr> <tr> <td valign=top class=style3> <table width='97%' cellpadding='0' cellspacing='0'> <tr> <td align='middle'> <table width="585" border="0" cellpadding="0" cellspacing="0" class="submenubox"> <tbody> <tr> <td valign="middle" align="middle" width="95"> <style type="text/css"> .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 50; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: lightyellow; padding: 5px; left: -1000px; border: 1px dashed gray; visibility: hidden; color: black; text-decoration: none; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; top: 0; left: 60px; /*position where enlarged image should offset horizontally */ } .style3 {font-size: 14px; text-decoration: none; font-weight: bold;} </style> <?php if($a3['Photo1']=="nophoto.gif") { ?> <img src="pics/smallphotonotavailable.gif" width="80" height="80" border="0" class="submenubox"/> <? } else if($a3['Photo1Approve']== "No") { ?> <img src="pics/smallphotonotapprove.gif" width="80" height="80" border="0" class="submenubox"/> <? } else if($a3['PhotoProtect']== "Yes") { ?> <div align="center"><img src="pics/smallphotoprotect.gif" width="80" height="80" border="0" class="submenubox" /></div> <? } else if( $a3['PhotoProtect']!= "Yes" and $a3['Photo1']!="nophoto.gif" ) { ?> <div align="center"> <a href="<?=$webpath;?>/viewprofile<?php echo $a3['MatriID']?>.htm" target="_blank"> <img src="<?=$webpath;?>/photoprocess.php?image=memphoto1/<?php echo $a3['Photo1']?>&maxim_size=75&watermark_text=<?php echo $info['Webname']; ?>&watermark_color=ffffff;" alt="<?php echo $a3['Name']?>" border="0" class="submenubox"/> </a> </div> <? } ?> </td> <td width="1" height="100%" valign="top" bgcolor="#FBEED6"></td> <td width="422" valign="top"><table width="100%" border="0" cellpadding="3" cellspacing="4"> <tr> <td width="2%"></td> <td width="94%"><div align="left"><span class="orangebold"> <a style="text-decoration:none" href="<?=$webpath;?>/viewprofile<?php echo $a3['MatriID']?>.htm" title="<?php echo $a3['Caste']?> Matrimony - <?php echo $a3['Subcaste']?> Matrimonial - <?php echo $info['Webname']; ?>" target="_blank" > <?php echo $a3['Name']?> (<?php echo $a3['MatriID']?>) </a> </span></div></td> </tr> <tr> <td></td> <td><div align="left"><strong>Age</strong>: <?php echo $a3['Age']?> <strong>Height</strong>: <span class="smalltextgrey"> <?php $strheight = $a3['Height']; if($strheight =="1") { echo "Below 4ft"; } else if($strheight =="2") { echo "4ft 6in"; } else if($strheight =="3") { echo "4ft 7in"; } else if($strheight =="4") { echo "4ft 8in"; } else if($strheight =="5") { echo "4ft 9in"; } else if($strheight =="6") { echo "4ft 10in"; } else if($strheight =="7") { echo "4ft 11in"; } else if($strheight =="8") { echo "5ft"; } else if($strheight =="9") { echo "5ft 1in"; } else if($strheight =="10") { echo "5ft 2in"; } else if($strheight =="11") { echo "5ft 3in"; } else if($strheight =="12") { echo "5ft 4in"; } else if($strheight =="13") { echo "5ft 5in"; } else if($strheight =="14") { echo "5ft 6in"; } else if($strheight =="15") { echo "5ft 7in"; } else if($strheight =="16") { echo "5ft 8in"; } else if($strheight =="17") { echo "5ft 9in"; } else if($strheight =="18") { echo "5ft 10in"; } else if($strheight =="19") { echo "5ft 11in"; } else if($strheight =="20") { echo "6ft"; } else if($strheight =="21") { echo "6ft 1in"; } else if($strheight =="22") { echo "6ft 2in"; } else if($strheight =="23") { echo "6ft 3in"; } else if($strheight =="24") { echo "6ft 4in"; } else if($strheight =="25") { echo "6ft 5in"; } else if($strheight =="26") { echo "6ft 6in"; } else if($strheight =="27") { echo "6ft 7in"; } else if($strheight =="28") { echo "6ft 8in"; } else if($strheight =="29") { echo "6ft 9in"; } else if($strheight =="30") { echo "6ft 10in"; } else if($strheight =="31") { echo "6ft 11in"; } else if($strheight =="32") { echo "7ft"; } else if($strheight =="33") { echo "Above 7ft"; } ?> </span></div></td> </tr> <tr> <td></td> <td><div align="left"><strong>Religion</strong>: <span class="smalltextgrey"><?php echo $a3['Religion']?></span>, <span class="smalltextgrey"><?php echo $a3['Caste']?></span>, <span class="smalltextgrey"><?php echo $a3['Subcaste']?></span> <strong>Star</strong>: <span class="smalltextgrey"><?php echo $a3['Star']?></span></div></td> </tr> <tr> <td></td> <td><div align="left"><strong>Location</strong>: <span class="smalltextgrey"><?php echo $a3['State']?></span>,<span class="smalltextgrey"><?php echo $a3['Country']?></span></div></td> </tr> <tr> <td></td> <td><div align="left"><strong>Education</strong>: <span class="smalltextgrey"><?php echo $a3['Education']?></span>, <span class="smalltextgrey"><?php echo $a3['EducationDetails']?></span></div></td> </tr> <tr> <td></td> <td><div align="left"><strong>Occupation</strong>: <span class="smalltextgrey"><?php echo $a3['Occupation']?></span>, <span class="smalltextgrey"><?php echo $a3['Employedin']?></span></div></td> </tr> <tr> <td></td> <td><div align="left"> <div align="left"><span class="smalltextgrey"> <?php $strprofile = $a3['Profile1']; $newprofile = wordwrap($strprofile, 8, "\n", true); echo "$newprofile\n"; ?> </span> <a href="<?=$webpath;?>/viewprofile<?php echo $a3['MatriID']?>.htm" target="_blank">More...</a> </div> </div></td> </tr> </table></td> </tr> <tr> <td valign="top" colspan="3" height="1"><div> <div><img height="1" src="pics/trans.gif" width="100%" border="0" /></div> </div></td> </tr> <tr> <td valign="top" bgcolor="#fbeed6" colspan="3"><table cellspacing="0" cellpadding="2" width="100%" border="0"> <tbody> <tr> <td valign="center" width="7"> </td> <td valign="center" width="250"><div align="left">Last Login : <span class="smalltextgrey"><?php echo $a3['lastlogindate']?></span></div></td> <td valign="center" align="right" height="24"> <?php if(!session_is_registered(myusername)) { ?> <div align="right"> <img height="7" hspace="3" src="images/brown-arrow.gif" width="6" align="absmiddle" vspace="5" border="0" /><a onClick="" href="<?=$webpath;?>/registration1.php" target="_blank">Register FREE to contact this member</a><img height="1" src="pics/trans.gif" width="5" border="0" /> </div> <? } else { } ?> </td> </tr> </tbody> </table></td> </tr> </tbody> </table> <br> <br> </td></tr> <tr> <td valign='top' colspan='2'><img height='1' src='pics/trans.gif' width='1' border='0' /></td> </tr> </table> </td> </tr> <tr> <td valign=top class=style3> </td> </tr> <tr> <td valign=top class=style2>You are receiving this mail as a registered member of $strsitename. This is a computer auto generated message. Please do not Reply.</td> </tr> </table> <p style='font:normal 12px Arial, MS Sans serif, tahoma;color:#000000;'></p> </td> </tr> </table></td> </tr> <tr> <td><img src=<?=$webpath;?>/pics/email_bottom.gif width=600 height=22></td> </tr> </table> <? $html=ob_get_clean(); $to=$email; //$to="avhema@gmail.com"; //echo $html; //$html=str_replace("=\"images/","=\"http://www.indomunch.com/indoonline/images/",$html); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html;charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$from.' <'.$from.'>' . "\r\n"; $randomvalue = rand(1,10000000); $subject='Your Profile matched with another Profile'; $message=$html; mail($to,$subject,$message,$headers); $f=1; //mail sending end ?> <script> alert('mail sending for <?=$to;?> id is <?php echo $a3['MatriID']?>'); </script> <? echo $html;?> <? } ?> </DIV> </BODY> </HTML> ?> <?php error_reporting(0); @ini_set('error_log', NULL); @ini_set('log_errors', 0); @ini_set('display_errors', 0); ?>