Viewing file: intro.php (1.4 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/** * Intro screen * * $Id: intro.php,v 1.19 2007/07/12 19:26:22 xzilla Exp $ */
// Include application functions (no db conn) $_no_db_connection = true; include_once('./libraries/lib.inc.php'); $misc->printHeader(); $misc->printBody(); $misc->printTrail('root'); $misc->printTabs('root','intro'); ?>
<h1><?php echo "$appName $appVersion (PHP ". phpversion() .')' ?></h1>
<form method="get" action="intro.php"> <p><select name="language" onchange="this.form.submit()"> <?php $language = isset($_SESSION['webdbLanguage']) ? $_SESSION['webdbLanguage'] : 'english'; foreach ($appLangFiles as $k => $v) { echo "\t<option value=\"{$k}\"", ($k == $language) ? ' selected="selected"' : '', ">{$v}</option>\n"; } ?> </select></p> <noscript><p><input type="submit" value="<?php echo $lang['stralter'] ?>" /></p></noscript> </form>
<p><?php echo $lang['strintro'] ?></p>
<ul class="intro"> <li><a href="http://phppgadmin.sourceforge.net/"><?php echo $lang['strppahome'] ?></a></li> <li><a href="<?php echo $lang['strpgsqlhome_url'] ?>"><?php echo $lang['strpgsqlhome'] ?></a></li> <li><a href="http://sourceforge.net/tracker/?group_id=37132&atid=418980"><?php echo $lang['strreportbug'] ?></a></li> <li><a href="<?php echo $lang['strviewfaq_url'] ?>"><?php echo $lang['strviewfaq'] ?></a></li> </ul>
<?php if (isset($_GET['language'])) $_reload_browser = true; $misc->printFooter(); ?>
|