Location: PHPKode > projects > Nukequiz > html/modules/Nukequiz/public/NQPFriendSend.php
<?php
/*****************************************************************/
/* Nukequiz (tm)    v 3.1.0                                		 */
/* By: Kissoftware (hide@address.com)      		     */
/* http://www.kissoftware.org.uk                           		 */
/* http://www.kissoftware.co.uk                       		     */
/* Copyright © 2003-2008 by Kissoftware         				 */
/* See Docs For Information & Credits                 			 */
/* For More information Visit Forums Or The Online Help Manual	 */
/*****************************************************************/
include('header.php');
logoheader();
$formatdate = $nq_config['dateformat'];
$emailtemplate = $nq_config['templates'];
$date = date($formatdate,$date);
$r = $db->sql_query("SELECT title FROM ".$prefix."_nquiz_quiz WHERE qid='$fqid'");
list($title) = $db->sql_fetchrow($r);
$subject = ""._NQ_CHECKTHISOUT." @ $sitename";
$from  = "FROM:$flogname<$femail>\nContent-Type: text/html; charset=iso-8859-1\r\n";
include_once("modules/$module_name/templates/$emailtemplate/t_4.php");
mail($fmail, $subject, $emailbody, $from);
OpenTable();
echo "<br><center><b>"._NQ_REQUESTACTIONED."</b><br><br>"._NQ_EMAILSENTTO."&nbsp;:&nbsp;$fmail<br><br><b>"._NQ_PLEASEREDIRECTWAIT."</b><br><br></center>";
CloseTable();
echo "<meta http-equiv='Refresh' content='5'; URL='http://$nukeurl/modules/$module_name/modules.php?name=$module_name'>";
include('footer.php');
?>
Return current item: Nukequiz