A popup form which allows your visitors to send a referral link from your site. It features admin notification and HTML output.
1.Upload myemail.php and set.php to the root of your web server.
(eg: yourdomain.com/set.php and yourdomain.com/myemail.php)
2.Put the following code on your web page.(PopUp Window)
<SCRIPT LANGUAGE="JavaScript">
function popupWin() {
text = "<center><font face='Verdana' color='#4863A0' font-size='14px' weight='bold'> \n<br>";
text += "<title>Send This Link</title>\n";
text += "<form name='myform' action='/set.php' method='POST'>\n";
text += "<h4>Send This Link</h4><br><br>\n";
text += "Friends Name<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name ='zname' size='25'><br>\n";
text += "Your Friend's Email Address<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'to' size='25'><br>\n";
text += "Your Name<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name ='name' size='25'><br>\n";
text += "Your Email Address<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'my' size='25'><br>\n";
text += "Your Message<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'msg' size='25'><br>\n";
text += "<br><INPUT TYPE='SUBMIT' VALUE='Submit' STYLE= 'font syze: 12px; color: #FFFFFF; border-color:#000000; border-width:1px; background-color: #9999CC'>\n";
text += "<INPUT TYPE='RESET' VALUE='Reset' STYLE= 'font syze: 12px; color: #FFFFFF; border-color:#000000; border-width:1px; background-color: #9999CC'>\n";
text += "<br><br><br><br><br><br><br><hr></form>\n";
newWindow = window.open('','newWin','width=500,height=490');
newWindow.document.write(text);
}
</script>
<a href= "javascript: void (0)"; onClick=popupWin();><b>Send This Link</b></a>Download: Forum Users