public design update
This commit is contained in:
parent
deedc80284
commit
8d2ab70bdf
@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "<br />
|
echo "<br />
|
||||||
<table width=\"90%\" align=\"center\">
|
<table width=\"100%\" align=\"center\">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<form action=\"".$PHP_SELF."\" method=\"post\">
|
<form action=\"".$PHP_SELF."\" method=\"post\">
|
||||||
@ -91,7 +91,7 @@
|
|||||||
// OREDER BY id DESC is order result by descending
|
// OREDER BY id DESC is order result by descending
|
||||||
$result=mysql_query($sql);
|
$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>
|
<tr>
|
||||||
<td width=\"6%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>#</strong></td>
|
<td width=\"6%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>#</strong></td>
|
||||||
<td width=\"58%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>Topic</strong></td>
|
<td width=\"58%\" align=\"center\" bgcolor=\"#E6E6E6\"><strong>Topic</strong></td>
|
||||||
|
@ -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 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>
|
<tr>
|
||||||
<td valgin=top height=\"100%\">
|
<td valgin=top height=\"100%\">
|
||||||
<table style=\"width: 100%; height: 100%;\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bordercolor=\"1\">
|
<table style=\"width: 100%; height: 100%;\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bordercolor=\"1\">
|
||||||
|
@ -76,7 +76,7 @@ function Potenz($sent_sum)
|
|||||||
$sql = "SELECT * FROM $table ORDER BY $by $sort;";
|
$sql = "SELECT * FROM $table ORDER BY $by $sort;";
|
||||||
$result = mysql_query($sql);
|
$result = mysql_query($sql);
|
||||||
|
|
||||||
echo "<table border=1>";
|
echo "<table style=\"border=1px solid;\">";
|
||||||
if($table=='connections')
|
if($table=='connections')
|
||||||
{
|
{
|
||||||
echo "<tr><td>Start Time</td><td>Stop Time</td><td>Client IP</td><td>Download
|
echo "<tr><td>Start Time</td><td>Stop Time</td><td>Client IP</td><td>Download
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
<?php
|
<?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>
|
<h2>Current User Information:</h2><br>
|
||||||
<table>
|
<table>
|
||||||
@ -167,5 +171,6 @@ echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!<
|
|||||||
</table>
|
</table>
|
||||||
<input type=\"submit\" value=\"Change\">
|
<input type=\"submit\" value=\"Change\">
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- END CONTENT BEGINN ################################################################################# -->";
|
<!-- END CONTENT BEGINN ################################################################################# -->";
|
||||||
|
@ -4,17 +4,17 @@ if (!defined ("LOCAL_SECURITY_KEY"))
|
|||||||
include($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php");
|
include($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php");
|
||||||
|
|
||||||
// Change: your company name
|
// Change: your company name
|
||||||
$config['Company_Name'] = 'SchulVPN';
|
$config['Company_Name'] = 'SprinterVPN';
|
||||||
$config['Company_Logo'] = '/Image/OpenVPN-small.gif';
|
$config['Company_Logo'] = '/Image/OpenVPN-small.gif';
|
||||||
// Change: your company home page
|
// Change: your company home page
|
||||||
$config['URL_Home_Page'] = 'http://10.10.63.60/index.php';
|
$config['URL_Home_Page'] = 'http://vpn.sprinternet.at/index.php';
|
||||||
$config['AUTH_REALM'] = $config['Company_Name'] .' OpenVPN Web GUI v.0.3.2';
|
$config['AUTH_REALM'] = $config['Company_Name'] .' Web GUI v.1.0.0';
|
||||||
// What files to include into ZIP
|
// What files to include into ZIP
|
||||||
$config['Download']['ZIP']['.pem'] = true;
|
$config['Download']['ZIP']['.pem'] = true;
|
||||||
$config['Download']['ZIP']['.key'] = true;
|
$config['Download']['ZIP']['.key'] = true;
|
||||||
$config['Download']['ZIP']['.csr'] = false;
|
$config['Download']['ZIP']['.csr'] = false;
|
||||||
// All the following files should be placed into downloads folder
|
// 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');
|
//$config['Download']['ZIP']['Others'] = array ('readme.txt', 'install.cmd', 'tls-auth.key');
|
||||||
|
|
||||||
// If there are no plugins
|
// If there are no plugins
|
||||||
@ -58,9 +58,9 @@ $config['openssl']['default']['expiration'] = 3560;
|
|||||||
$config['openssl']['default']['countryName'] = 'AT';
|
$config['openssl']['default']['countryName'] = 'AT';
|
||||||
$config['openssl']['default']['stateOrProvinceName'] = 'Tirol';
|
$config['openssl']['default']['stateOrProvinceName'] = 'Tirol';
|
||||||
$config['openssl']['default']['localityName'] = 'Innsbruck';
|
$config['openssl']['default']['localityName'] = 'Innsbruck';
|
||||||
$config['openssl']['default']['organizationName'] = 'HTL';
|
$config['openssl']['default']['organizationName'] = 'Sprinternet';
|
||||||
$config['openssl']['default']['organizationalUnitName'] = '';
|
$config['openssl']['default']['organizationalUnitName'] = '';
|
||||||
$config['openssl']['default']['commonName'] = '';
|
$config['openssl']['default']['commonName'] = '';
|
||||||
$config['openssl']['default']['emailAddress'] = 'vpn@students.htlinn.ac.at';
|
$config['openssl']['default']['emailAddress'] = 'vpn@sprinternet.at';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -46,6 +46,9 @@ switch($uebergabe)
|
|||||||
case 0:
|
case 0:
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
|
<!-- MAIN -->
|
||||||
|
<div id=\"main\">
|
||||||
|
<div class=\"wrapper\">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br></td>
|
<td><h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br></td>
|
||||||
@ -286,7 +289,10 @@ echo "<br>
|
|||||||
Current IP: ".getenv("REMOTE_ADDR")."<br>
|
Current IP: ".getenv("REMOTE_ADDR")."<br>
|
||||||
<form action=\"".$moduleurl."&uebergabe=2\" method=\"post\">
|
<form action=\"".$moduleurl."&uebergabe=2\" method=\"post\">
|
||||||
<input type=\"submit\" value=\"Change Userinformation\">
|
<input type=\"submit\" value=\"Change Userinformation\">
|
||||||
</form>";
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user