everything is installed, but when i go to allow quizes that are submitted, my admin keeps asking me to log in over and over again! I thought this was fixed, and also when making changes to the admin_quiz.php there are two instances of the same code when searching.
This is when i am integrating it with the Quiz
two instances of this one
Code:
$DB->query("insert into ".TABLE_PREFIX."quiz
(q_name,q_state,q_perms,q_start,q_end,q_autoend,q_timelimit,q_viewanswer,q_desc,q_forcat,q_image)
values
('{$q_name}',{$q_state},'{$Perms}',".time().",{$End_Time},{$q_autoend},{$q_timelimit},{$q_viewanswer},'{$q_desc}',$q_forcat,'{$q_image}')");
and also this one
Code:
$DB->query("update ".TABLE_PREFIX."quiz
set q_name='{$q_name}',q_state={$q_state},q_perms='{$Perms}',q_end={$End_Time},q_autoend={$q_autoend},q_timelimit={$q_timelimit},q_viewanswer={$q_viewanswer},q_desc='{$q_desc}',q_forcat=$q_forcat,q_image='{$q_image}'
where qid='{$quiz['qid']}'");