File: pagehead-html.inc

package info (click to toggle)
fibusql 0.4.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 376 kB
  • ctags: 391
  • sloc: php: 1,830; sh: 45; makefile: 35
file content (45 lines) | stat: -rw-r--r-- 1,347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php /*
    FibuSQL 0.4.1  -  (c) 2003 Martin Pitt <martin@piware.de>

    This software is protected by the GNU General Public License (see
    file COPYING).
*/

header( 'Content-Type: text/html; charset=utf-8' );
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
<head>
   <title>FibuSQL</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="author" content="Martin Pitt (piware@piware.de)" />
   <link rel="stylesheet" href="fibu.css" />
</head>

<body>

<table class="menu">
  <tr>
    <td><a href="about.php" id="logo">FibuSQL</a></td>
    <td><a href="booking.php"><?php echo $LANG_menu_new ?></a></td>
    <td><a href="journal.php"><?php echo $LANG_menu_journal ?></a></td>
    <td><a href="ledger.php"><?php echo $LANG_menu_ledger ?></a></td>
    <td><a href="accdef.php"><?php echo $LANG_menu_accounts ?></a></td>
    <td><a href="repeated.php"><?php echo $LANG_menu_rep ?></a></td>
    <td><a href="admin.php"><?php echo $LANG_menu_admin ?></a></td>
    </tr>
</table>

<?php
check_res_delay( $db, $LANG_err_dbconn );

# print error generated by check_res_delay
if( $db_error ) {
    echo "<p class=\"error\">$LANG_error: $db_error</p><p class=\"error\">$LANG_dbmsg: $db_msg</p></body></html>";
    $db_error = null;
    exit;
}
?>