Location: PHPKode > projects > Nukequiz > html/root/nq_installer/default.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	 */
/*****************************************************************/
//Language Definitions You May Want To Edit
define("_NQ_INSTALLNOTICE","Important Notice - Please Read Before Installing");
define("_NQ_DONOTREMOVEFILESYET","Do Not Remove Your Old Nukequiz Module Yet!!");
define("_NQ_DONOTREMOVEQUIZZFILESYET","Do Not Remove Your Old Quizz Module Yet!!");
define("_NQ_INSTALLMSG1","<center><font class='title'>&raquo;&nbsp;&raquo;&nbsp;If Fresh Install Of Nukequiz Please Select The First Time Install&nbsp;&laquo;&nbsp;&laquo;</font></center>");
define("_NQ_INSTALLMSG2","<center><font class='title'>&raquo;&nbsp;&raquo;&nbsp;If Upgrading From Versions 1.2.0 To 2.5.0 Of Nukequiz&nbsp;&laquo;&nbsp;&laquo;</font></b></center><br><b>1.</b>&nbsp;Select The Correct <b>Export Questions From Your Installed Version</b><br><b>2.</b>&nbsp;Once Completed Select The <b>First Time Install</b>");
define("_NQ_INSTALLMSG3","<center><font class='title'>&raquo;&nbsp;&raquo;&nbsp;If Upgrading From Any Versions Of Quizz (by xbee)&nbsp;&laquo;&nbsp;&laquo;</font></b></center><br><b>1.</b>&nbsp;Select The <b>Export Questions From Quiz 1.2.0 &raquo;&nbsp;&raquo; 1.4.0a Tables</b><br><b>2.</b>&nbsp;Once Completed Please Select The <b>First Time Install</b>");
define("_NQ_INSTALL","<font class='title'>With This Installer You Can Install Tables, Un-Install Tables And Export Quizzes From Previous Versions Of Nukequiz & The Xbee Quizz Module</font></b>");
define("_NQ_WARN","<br>Please Select The Correct Option From The Menu Before Pressing Start<br>BackUp All Your Tables / Database Before Starting");
define("_NQ_START","Start Now");
define("_NQ_DELETEMSG","Once You Have Finished With This Installer, <b>DELETE IT FROM</b> Your Server!!");
define("_NQ_SELECTANOPTION","Select An Option!");
define("_NQ_EXPORTOPTIONS","&nbsp;&raquo;&nbsp;&raquo;&nbsp;Export Options&nbsp;&raquo;&nbsp;&raquo;");
define("_NQ_UPGRADEOPTIONS","&nbsp;&raquo;&nbsp;&raquo;&nbsp;Upgrade Options&nbsp;&raquo;&nbsp;&raquo;");
define("_NQ_REMOVEOPTION","&nbsp;&raquo;&nbsp;&raquo;&nbsp;Remove Option&nbsp;&raquo;&nbsp;&raquo;");
define("_NQ_INSTALLOPTION","&nbsp;&raquo;&nbsp;&raquo;&nbsp;Install Option&nbsp;&raquo;&nbsp;&raquo;");
//////////////////////////////////////////////////////Do Not Edit Below
global $qid, $prefix, $db, $nukeurl, $module_name;
$pagetitle = "&copy;&nbsp;Nukequiz Installer";
@include("header.php");
OpenTable();
echo "<center><br><font class='title'>"._NQ_INSTALLNOTICE."</font><br><br>";
if (file_exists("modules/$module_name")){
echo "<blink><b>"._NQ_DONOTREMOVEFILESYET."</b></blink>";
}
if (file_exists("modules/Quizz")){
echo "<blink><b>"._NQ_DONOTREMOVEQUIZZFILESYET."</b></blink>";
}
echo "<br><br></center>";
echo "<center><table width='90%' cellpadding='2' cellspacing='2'><tr><td style='padding:4px;border:1px dotted #CC0000;'>"._NQ_INSTALLMSG1."<br></td></tr></table></center>";
echo "<center><table width='90%' cellpadding='2' cellspacing='2'><tr><td style='padding:4px;border:1px dotted #CC0000;'>"._NQ_INSTALLMSG2."<br></td></tr></table></center>";
echo "<center><table width='90%' cellpadding='2' cellspacing='2'><tr><td style='padding:4px;border:1px dotted #CC0000;'>"._NQ_INSTALLMSG3."<br></td></tr></table></center>";
echo "<br>";
CloseTable();
OpenTable();
echo "<center><table cellpadding='4' cellspacing='4'><tr><td align='center' colspan='2'>";
echo "<b>$pagetitle</td></tr><tr>";
echo "<form action='".$_SERVER['PHP_SELF']."' method='post'>";
echo "<tr><td align='center'>"._NQ_INSTALL."</td></tr>";
echo "<tr><td align='center'>"._NQ_WARN."</td></tr>";
echo "<tr><td align='center'><select name='op'>";
echo "<option value='' selected>"._NQ_SELECTANOPTION."</option>";
echo "<option value='' style='font-weight: Bold;'>"._NQ_INSTALLOPTION."</option>";
echo "<option value='install' >First Time Install</option>";
echo "<option value='' style='font-weight: Bold;'>"._NQ_UPGRADEOPTIONS."</option>";
echo "<option value='up300-310' >Upgrade 3.0.0 to 3.1.0 tables</option>";
echo "<option value='' style='font-weight: Bold;'>"._NQ_EXPORTOPTIONS."</option>";
echo "<option value='export120-150' >Export Questions From Nukequiz 1.0.2 &raquo;&nbsp;&raquo; 1.5.0 Tables</option>";
echo "<option value='export150-250' >Export Questions From Nukequiz 1.5.0 &raquo;&nbsp;&raquo; 2.5.0 Tables</option>";
echo "<option value='exportquizz' >Export Questions From All Quizz Tables</option>";
echo "<option value='' style='font-weight: Bold;'>"._NQ_REMOVEOPTION."</option>";
echo "<option value='remove'>Remove Nukequiz!</option>";
echo "</select><br><br><input type='submit' value='"._NQ_START."'></td></tr>";
echo "<tr><td align='center'>"._NQ_DELETEMSG."</td></tr>";
echo "</form>";
echo "</table><br></center>";
CloseTable();
@include("footer.php");
?>
Return current item: Nukequiz