setTimeout(\"showNotification('".$note."');\", 1000);
if (getCookie('pref_mute') != 'true') {
setTimeout(\"soundManager.setVolume('achieve', 40);\", 1340);
setTimeout(\"soundManager.play('achieve');\", 1350);
}
";
}
}
function tutorialComplete($userID) {
$sql = "SELECT * FROM `achievements`
WHERE `type` = 32 AND `userID` = '$userID'";
$result = mysql_query($sql);
if (mysql_num_rows($result) >= 1)
return true;
else
return false;
}
?>
Update in progress
Many improvements including Achievements are being added!
During this testing phase, some achievements and unlocks may be removed or re-added for you.
Thank your for your patience! - Also please email me or contact me if you have suggestions or feedback.
if ($_SESSION['accepted'] == 1) {
if (tutorialComplete($userID) == false) {
echo "