session_start(); if (!isset($_SESSION['uid'])) { header('Location'); } include('config.php'); include('functions.php'); include('classes/quests_class.php'); if ($_GET['end_qst_now']) { echo $q->endq((int)$_GET['end_qst_now'], 'end', $user); } if ($_GET['end_qst']) { echo $q->winqst((int)$_GET['end_qst'], $user); } $qsee = ''; $qx = 0; ?>