$message = ""._WELCOMETO." $sitename!\n\n<br><br>"._YOUUSEDEMAIL." <a href=\"($email)\">($email)</a> "._TOREGISTER." $sitename.\n\n<br>"._TOFINISHUSER."\n\n<br><a href=\"$finishlink\">$finishlink</a>\n\n<br><br><center><b> "._FOLLOWINGMEM."</b>\n\n<br>"._UNICKNAME." $username\n<br>"._UPASSWORD." $pass</center>";
$message = FarsiMail($message);
$subject = ""._ACTIVATIONSUB1."";
$from = "$adminmail";
mail($email, $subject, $message, "MIME-Version: 1.0\r\nContent-type: text/html; charset=utf-8\r\nFrom: $from\nX-Mailer: PHP/" . phpversion());
title("$sitename: "._USERREGLOGIN."");
OpenTable();
echo "<center><b>"._ACCOUNTCREATED."</b><br><br>";
echo ""._YOUAREREGISTERED.""
."<br><br>"
.""._FINISHUSERCONF."<br><br>"
.""._THANKSUSER." $sitename!</center>";
CloseTable();
/* $message = ""._WELCOMETO." $sitename!\n\n<br><br>"._YOUUSEDEMAIL." <a href=\"($email)\">($email)</a> "._TOREGISTER." $sitename.\n\n<br>"._TOFINISHUSER."\n\n<br><a href=\"$finishlink\">$finishlink</a>\n\n<br><br><center><b> "._FOLLOWINGMEM."</b>\n\n<br>"._UNICKNAME." $username\n<br>"._UPASSWORD." $pass</center>";
$message = FarsiMail($message);
$subject = ""._ACTIVATIONSUB1."";
$from = "$adminmail";
mail($email, $subject, $message, "MIME-Version: 1.0\r\nContent-type: text/html; charset=utf-8\r\nFrom: $from\nX-Mailer: PHP/" . phpversion());
title("$sitename: "._USERREGLOGIN."");
OpenTable();
echo "<center><b>"._ACCOUNTCREATED."</b><br><br>";
echo ""._YOUAREREGISTERED.""
."<br><br>"
.""._FINISHUSERCONF."<br><br>"
.""._THANKSUSER." $sitename!</center>";
CloseTable(); */
activate($username, $check_num);