Location: PHPKode > projects > Nukequiz > html/root/nqinst.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	 */
/*****************************************************************/
@set_time_limit(800);
@require_once("mainfile.php");
if (is_admin($admin)) {
if(!is_array($admin)) {
$adm = base64_decode($admin);
$adm = explode(":", $adm);
$aname = "$adm[0]";
} else {
$aname = "$admin[0]";
}
}
global $qid, $prefix, $db, $nukeurl, $module_name;
$index = 1;
define('INDEX_FILE', TRUE);
$module_name = "Nukequiz";
$adm_info = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_authors WHERE aid='$aname'"));
if ($adm_info['radminsuper']=='1' OR $adm_info['super_user']=='1') {
$pagename = "&copy;&nbsp;Nukequiz Installer";
switch($op) {
default:@include("nq_installer/default.php");break;
case "remove":@include("nq_installer/remove.php");break;
case "install":@include("nq_installer/install.php");break;
case "export120-150":@include("nq_installer/export120-150.php");break;
case "export150-250":@include("nq_installer/export150-250.php");break;
case "exportquizz":@include("nq_installer/exportquizz.php");break;
case "up300-310":@include("nq_installer/up300-310.php");break;
}
} else {
@include("nq_installer/error.php");
}
?>
Return current item: Nukequiz