Location: PHPKode > projects > QuickTicket > quickticket/quickticket/install/qti_setup.php
<?php

// QuickTicket 1.9.0.3 build:20081001

session_start();
$strAppl = 'QuickTicket 1.9';
$strLang = 'en';
if ( !isset($_SESSION['boardmail']) ) $_SESSION['boardmail']='';
if ( !isset($_SESSION['qti_setup_lang']) ) $_SESSION['qti_setup_lang']='en';

$arrLangs = array();
$arrLangs['en'] = 'English';
if ( file_exists('qti_lang_fr.php') ) $arrLangs['fr'] = 'Fran&ccedil;ais';
if ( file_exists('qti_lang_nl.php') ) $arrLangs['nl'] = 'Nederlands';
if ( file_exists('qti_lang_it.php') ) $arrLangs['it'] = 'Italiano';
if ( file_exists('qti_lang_es.php') ) $arrLangs['es'] = 'Espa&ntilde;ol';
if ( file_exists('qti_lang_de.php') ) $arrLangs['de'] = 'Deutsche';
if ( file_exists('qti_lang_pt.php') ) $arrLangs['pt'] = 'Portuguese';

// --------
// Html start
// --------

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en">

<head>
<title>',$strAppl,'</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="qti_setup.css"/>
</head>
';

echo '
<body>

<!-- PAGE CONTROL -->
<div class="div_page">
<table class="ta_page" width="450" cellspacing="0" style="margin:5px">
<tr class="tr_page">
<td class="td_page">
<!-- PAGE CONTROL -->
';

echo '
<!-- HEADER BANNER -->
<div class="div_btop">
<div class="div_btop_in">
<img src="qti_logo.gif" width="175" height="50" style="border-width:0" alt="QuickTicket" title="QuickTicket"/>
</div>
</div>
<!-- END HEADER BANNER -->
';

echo '
<!-- BODY MAIN -->
<table width="100%" cellspacing="0" style="border:1px solid #AAAAAA">
<tr class="tr_body">
<td class="td_body" style="padding:5px">
<!-- BODY MAIN -->
';

echo '<h1>',$strAppl,'</h1>';
echo '<h2>Language ?</h2>';
echo '
<form method="get" action="qti_setup_1.php">
<select name="language" size="1">';
foreach ($arrLangs as $strKey => $strLang)
{
echo '<option value="',$strKey,'"',($_SESSION['qti_setup_lang']==$strKey ? ' selected="selected"' : ''),'>',$strLang,'</option>';
}
echo '</select>
<input type="submit" name="ok" value="Ok"/>
</form>
';

// --------
// HTML END
// --------

echo '
<!-- END BODY MAIN -->
</td>
</tr>
</table>
<!-- END BODY MAIN -->

<div class="div_footer_copy">
<span class="p_footer_copy">powered by <a href="http://www.qt-cute.org" class="a_footer_copy">QT-cute</a></span>
</div>

<!-- END PAGE CONTROL -->
</td>
</tr>
</table>
</div>
<!-- END PAGE CONTROL -->

</body>
</html>';

?>

Return current item: QuickTicket