Layout
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@27 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
parent
2b0cbdf707
commit
056a13699e
7 changed files with 43 additions and 12 deletions
9
php/commonfoot.php
Normal file
9
php/commonfoot.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div>
|
||||
<hr/>
|
||||
<a href="start.php"><?php print (_("To start page")); ?></a>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
© 2003 Jan Dittberner
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
7
php/commonhead.php
Normal file
7
php/commonhead.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>GNU-Viech Administration tool</title>
|
||||
<link rel="stylesheet" href="format.css" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
|
@ -30,3 +30,6 @@ db_close($dbh);
|
|||
?>
|
||||
</div>
|
||||
<a href="registerdomain.php"><?php print(_("Add domain")); ?></a>
|
||||
<?php
|
||||
include("commonfoot.php");
|
||||
?>
|
8
php/format.css
Normal file
8
php/format.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
table.userhead {
|
||||
background:#FF8080;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
font-size:8px;
|
||||
}
|
|
@ -3,4 +3,5 @@ require("wantauth.php");
|
|||
require("tools.php");
|
||||
session_start();
|
||||
include("userhead.php");
|
||||
include("commonfoot.php");
|
||||
?>
|
|
@ -22,24 +22,24 @@ if (pg_num_rows($result) == 0) {
|
|||
}
|
||||
pg_close($dbh);
|
||||
|
||||
include("commonhead.php");
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>GNU-Viech Administration tool</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<?php
|
||||
if (! $logged_in) {
|
||||
echo _("You're not known to the system.")."<br/>";
|
||||
echo _("Please go back and try again.");
|
||||
print("<p>" . _("You're not known to the system.") . "<br/>");
|
||||
print(_("Please go back and try again.") . "</p>");
|
||||
} else {
|
||||
include("userhead.php");
|
||||
// echo _("Session with ID: ").session_id()."<br/>";
|
||||
// echo _("UID: ").$_SESSION["userid"]."<br/>";
|
||||
print("<p>");
|
||||
printf(_("You may now see your <a href=\"%s\">Domain list</a>."),
|
||||
"domainlist.php");
|
||||
print("</p>");
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
<?php
|
||||
include("commonfoot.php");
|
||||
?>
|
|
@ -1,5 +1,8 @@
|
|||
<?php
|
||||
include("commonhead.php");
|
||||
?>
|
||||
<div>
|
||||
<table>
|
||||
<table class="userhead">
|
||||
<tr><td>
|
||||
<img src="images/gnu.png" width="45" height="43" alt="small GNU head"/>
|
||||
</td><td>
|
||||
|
|
Loading…
Reference in a new issue