public design update

This commit is contained in:
Christoph Haas 2012-07-17 19:00:55 +00:00
parent deedc80284
commit 8d2ab70bdf
6 changed files with 24 additions and 13 deletions

View File

@ -48,7 +48,7 @@
}
echo "<br />
<table width=\"90%\" align=\"center\">
<table width=\"100%\" align=\"center\">
<tr>
<td>
<form action=\"".$PHP_SELF."\" method=\"post\">
@ -91,7 +91,7 @@
// OREDER BY id DESC is order result by descending
$result=mysql_query($sql);
echo "<table width=\"90%\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#CCCCCC\">
echo "<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#CCCCCC\">
<tr>
<td width=\"6%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>#</strong></td>
<td width=\"58%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>Topic</strong></td>

View File

@ -44,7 +44,7 @@ if (($_SESSION["user_admin"]=="1" && $rows["r_adminonly"] == "1") ||
{
echo "<table align=center><tr><td><b>Answer successfully created!</b></td></tr></table>";
}
echo "<table width=\"800\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\">
echo "<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\">
<tr>
<td valgin=top height=\"100%\">
<table style=\"width: 100%; height: 100%;\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bordercolor=\"1\">

View File

@ -76,7 +76,7 @@ function Potenz($sent_sum)
$sql = "SELECT * FROM $table ORDER BY $by $sort;";
$result = mysql_query($sql);
echo "<table border=1>";
echo "<table style=\"border=1px solid;\">";
if($table=='connections')
{
echo "<tr><td>Start Time</td><td>Stop Time</td><td>Client IP</td><td>Download

View File

@ -1,5 +1,9 @@
<?php
echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br>
echo "
<!-- MAIN -->
<div id=\"main\">
<div class=\"wrapper\">
<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br>
<h2>Current User Information:</h2><br>
<table>
@ -167,5 +171,6 @@ echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!<
</table>
<input type=\"submit\" value=\"Change\">
</form>
</div>
</div>
<!-- END CONTENT BEGINN ################################################################################# -->";

View File

@ -4,17 +4,17 @@ if (!defined ("LOCAL_SECURITY_KEY"))
include($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php");
// Change: your company name
$config['Company_Name'] = 'SchulVPN';
$config['Company_Name'] = 'SprinterVPN';
$config['Company_Logo'] = '/Image/OpenVPN-small.gif';
// Change: your company home page
$config['URL_Home_Page'] = 'http://10.10.63.60/index.php';
$config['AUTH_REALM'] = $config['Company_Name'] .' OpenVPN Web GUI v.0.3.2';
$config['URL_Home_Page'] = 'http://vpn.sprinternet.at/index.php';
$config['AUTH_REALM'] = $config['Company_Name'] .' Web GUI v.1.0.0';
// What files to include into ZIP
$config['Download']['ZIP']['.pem'] = true;
$config['Download']['ZIP']['.key'] = true;
$config['Download']['ZIP']['.csr'] = false;
// All the following files should be placed into downloads folder
$config['Download']['ZIP']['Others'] = array ('readme.txt','ca.crt', 'schulvpn.ovpn', 'certinstall.sh');
$config['Download']['ZIP']['Others'] = array ('readme.txt','ca.crt', 'sprintervpn.ovpn', 'certinstall.sh');
//$config['Download']['ZIP']['Others'] = array ('readme.txt', 'install.cmd', 'tls-auth.key');
// If there are no plugins
@ -58,9 +58,9 @@ $config['openssl']['default']['expiration'] = 3560;
$config['openssl']['default']['countryName'] = 'AT';
$config['openssl']['default']['stateOrProvinceName'] = 'Tirol';
$config['openssl']['default']['localityName'] = 'Innsbruck';
$config['openssl']['default']['organizationName'] = 'HTL';
$config['openssl']['default']['organizationName'] = 'Sprinternet';
$config['openssl']['default']['organizationalUnitName'] = '';
$config['openssl']['default']['commonName'] = '';
$config['openssl']['default']['emailAddress'] = 'vpn@students.htlinn.ac.at';
$config['openssl']['default']['emailAddress'] = 'vpn@sprinternet.at';
?>

View File

@ -46,6 +46,9 @@ switch($uebergabe)
case 0:
echo "
<!-- MAIN -->
<div id=\"main\">
<div class=\"wrapper\">
<table>
<tr>
<td><h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br></td>
@ -286,7 +289,10 @@ echo "<br>
Current IP: ".getenv("REMOTE_ADDR")."<br>
<form action=\"".$moduleurl."&uebergabe=2\" method=\"post\">
<input type=\"submit\" value=\"Change Userinformation\">
</form>";
</form>
</div>
</div>";
break;
case 2: