Projekt

Obecné

Profil

Stáhnout (1.48 KB) Statistiky
| Větev: | Tag: | Revize:
1
<?php
2

    
3
	/**
4
	 * Intro screen
5
	 *
6
	 * $Id: intro.php,v 1.15 2005/05/02 15:47:24 chriskl Exp $
7
	 */
8

    
9
	// Include application functions (no db conn)
10
	$_no_db_connection = true;
11
	include_once('./libraries/lib.inc.php');
12
	
13
	$misc->printHeader();
14
	$misc->printBody();
15
	
16
	$misc->printTrail('root');
17
	$misc->printTabs('root','intro');
18
?>
19

    
20
<h1><?php echo "$appName $appVersion (PHP ". phpversion() .')' ?></h1>
21

    
22
<form method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
23
 <label>
24
  <select name="language" onchange="this.form.submit()">
25
<?php
26
	$language = isset($_SESSION['webdbLanguage']) ? $_SESSION['webdbLanguage'] : 'english';
27
	foreach ($appLangFiles as $k => $v) {
28
		echo "<option value=\"{$k}\"",
29
			($k == $language) ? ' selected="selected"' : '',
30
			">{$v}</option>\n";
31
	}
32
?>
33
  </select>
34
  <noscript><input type="submit" value="<?php echo $lang['stralter'] ?>" /></noscript>
35
 </label>
36
</form>
37

    
38
<p><?php echo $lang['strintro'] ?></p>
39

    
40
<ul class="intro">
41
<li><a href="http://phppgadmin.sourceforge.net/" target="_top"><?php echo $lang['strppahome'] ?></a></li>
42
<li><a href="<?php echo $lang['strpgsqlhome_url'] ?>" target="_top"><?php echo $lang['strpgsqlhome'] ?></a></li>
43
<li><a href="http://sourceforge.net/tracker/?group_id=37132&amp;atid=418980" target="_top"><?php echo $lang['strreportbug'] ?></a></li>
44
<li><a href="<?php echo $lang['strviewfaq_url'] ?>" target="_top"><?php echo $lang['strviewfaq'] ?></a></li>
45
</ul>
46

    
47
<?php
48
	if (isset($_GET['language'])) $_reload_browser = true;
49
	$misc->printFooter();
50
?>
(28-28/53)