vpnmanager 1.0.0
@ -31,6 +31,8 @@ $SITE_MODULES_FOOTER[0]="Contact Us#Contact";
|
||||
$SITE_MODULES_FOOTER[1]="Termes of Use#TermesOfUse";
|
||||
$SITE_MODULES_FOOTER[2]="Privacy Statement#Privacy";
|
||||
|
||||
// Define the webroot
|
||||
$SITE_WEBROOT="/";
|
||||
//##############################################################################
|
||||
//Do not change the values below!
|
||||
|
||||
|
237
Site/header.php
@ -15,7 +15,7 @@ else
|
||||
{
|
||||
if(strpos($moduleurl, "?") == 0)
|
||||
{
|
||||
$moduleurl = $_SERVER["REQUEST_URI"]."?site=1";
|
||||
$moduleurl = $_SERVER["REQUEST_URI"] . "?site=1";
|
||||
}
|
||||
if($_SERVER["REQUEST_URI"] == "/" || is_null($_SERVER["REQUEST_URI"]))
|
||||
{
|
||||
@ -25,52 +25,157 @@ else
|
||||
|
||||
include($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php");
|
||||
|
||||
$tpl_root = $SITE_WEBROOT . "Themes/" . $SITE_THEME . "/";
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
|
||||
<head>
|
||||
<script language="JavaScript1.2" type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
function Mailto(mail,nameli,nachnameli,domainli,landli)
|
||||
{
|
||||
var mimimail;
|
||||
if(mail == "ab231cb) {
|
||||
mimimail = "mailto:" + nameli + "." + nachnameli + "\@" + domainli + "." + landli;
|
||||
}
|
||||
mail.href = mimimail;
|
||||
return (1);
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
<!--
|
||||
Designed by Christoph Haas
|
||||
-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
||||
<title><?php echo $SITE_TITLE; ?> - <?php echo $SITE_SUBTITLE; ?></title>
|
||||
<script type="text/javascript" src="/Site/script.js"></script>
|
||||
<link rel="stylesheet" href="/Themes/<?php echo $SITE_THEME;?>.css" type="text/css" media="screen" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta name="keywords" content="SprinterVPN, VPN, IPsec, OpenVPN, tunnel, secure" />
|
||||
<meta name="rights" content="© sprinternet.at" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="description" content="SprinterVPN VPN Services" />
|
||||
|
||||
<title><?php echo $SITE_TITLE; ?> - <?php echo $SITE_SUBTITLE; ?></title>
|
||||
|
||||
<script type="text/javascript">
|
||||
var templateroot = "<?php echo $tpl_root ?>";
|
||||
</script>
|
||||
|
||||
<link rel="icon" href="<?php echo $tpl_root ?>img/favicon.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="<?php echo $tpl_root ?>img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link rel="stylesheet" media="all" href="<?php echo $tpl_root ?>css/style.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<!-- Adding "maximum-scale=1" fixes the Mobile Safari auto-zoom bug: http://filamentgroup.com/examples/iosScaleBug/ -->
|
||||
|
||||
<!-- JS -->
|
||||
<script src="<?php echo $tpl_root ?>js/jquery-1.6.4.min.js"></script>
|
||||
<script src="<?php echo $tpl_root ?>js/css3-mediaqueries.js"></script>
|
||||
<script src="<?php echo $tpl_root ?>js/custom.js"></script>
|
||||
<script src="<?php echo $tpl_root ?>js/tabs.js"></script>
|
||||
|
||||
<!-- superfish -->
|
||||
<link rel="stylesheet" media="screen" href="<?php echo $tpl_root ?>css/superfish.css" />
|
||||
<script src="<?php echo $tpl_root ?>js/superfish-1.4.8/js/hoverIntent.js"></script>
|
||||
<script src="<?php echo $tpl_root ?>js/superfish-1.4.8/js/superfish.js"></script>
|
||||
<script src="<?php echo $tpl_root ?>js/superfish-1.4.8/js/supersubs.js"></script>
|
||||
<!-- ENDS superfish -->
|
||||
|
||||
<!-- prettyPhoto -->
|
||||
<script src="<?php echo $tpl_root ?>js/prettyPhoto/js/jquery.prettyPhoto.js"></script>
|
||||
<link rel="stylesheet" href="<?php echo $tpl_root ?>js/prettyPhoto/css/prettyPhoto.css" media="screen" />
|
||||
<!-- ENDS prettyPhoto -->
|
||||
|
||||
<!-- poshytip -->
|
||||
<link rel="stylesheet" href="<?php echo $tpl_root ?>js/poshytip-1.1/src/tip-twitter/tip-twitter.css" />
|
||||
<link rel="stylesheet" href="<?php echo $tpl_root ?>js/poshytip-1.1/src/tip-yellowsimple/tip-yellowsimple.css" />
|
||||
<script src="<?php echo $tpl_root ?>js/poshytip-1.1/src/jquery.poshytip.min.js"></script>
|
||||
<!-- ENDS poshytip -->
|
||||
|
||||
<!-- GOOGLE FONTS -->
|
||||
<link rel="stylesheet" media="all" href="<?php echo $tpl_root ?>css/fonts.css"/>
|
||||
|
||||
<!-- Flex Slider -->
|
||||
<link rel="stylesheet" href="<?php echo $tpl_root ?>css/flexslider.css" >
|
||||
<script src="<?php echo $tpl_root ?>js/jquery.flexslider-min.js"></script>
|
||||
<!-- ENDS Flex Slider -->
|
||||
|
||||
<!-- Less framework -->
|
||||
<link rel="stylesheet" media="all" href="<?php echo $tpl_root ?>css/lessframework.css"/>
|
||||
|
||||
<!-- modernizr -->
|
||||
<script src="<?php echo $tpl_root ?>js/modernizr.js"></script>
|
||||
|
||||
<!-- SKIN -->
|
||||
<link rel="stylesheet" media="all" href="<?php echo $tpl_root ?>css/skin.css"/>
|
||||
|
||||
<!-- MAIN -->
|
||||
<link rel="stylesheet" media="all" href="<?php echo $tpl_root ?>css/main.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="art-page-background-simple-gradient">
|
||||
</div>
|
||||
<div id="art-main">
|
||||
<div class="art-Sheet">
|
||||
<div class="art-Sheet-tl"></div>
|
||||
<div class="art-Sheet-tr"></div>
|
||||
<div class="art-Sheet-bl"></div>
|
||||
<div class="art-Sheet-br"></div>
|
||||
<div class="art-Sheet-tc"></div>
|
||||
<div class="art-Sheet-bc"></div>
|
||||
<div class="art-Sheet-cl"></div>
|
||||
<div class="art-Sheet-cr"></div>
|
||||
<div class="art-Sheet-cc"></div>
|
||||
<div class="art-Sheet-body">
|
||||
<div class="art-Header">
|
||||
<div class="art-Header-jpeg"></div>
|
||||
<?php
|
||||
|
||||
<body lang="en">
|
||||
<script>
|
||||
document.body.className += ' js-enabled';
|
||||
</script>
|
||||
<div id="noscript">
|
||||
<div class="center jstext">YOU HAVE TO ENABLE JAVASCRIPT TO USE THIS PAGE!</div>
|
||||
</div>
|
||||
|
||||
<header class="clearfix">
|
||||
|
||||
<div class="wrapper clearfix">
|
||||
|
||||
<a title="Startpage" href="index.php" id="logo"><img src="<?php echo $tpl_root ?>img/logo.png" alt="SprinterSVN"></a>
|
||||
<h1 class="yc-headline"><?php echo $SITE_TITLE; ?> - <?php echo $SITE_SUBTITLE; ?></h1>
|
||||
<nav>
|
||||
<ul id="nav" class="sf-menu">
|
||||
<li><a href="http://www.sprinternet.at/">HOME</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a title="Webmail" href="https://www.sprinternet.at/webapp">WEBMAIL</a>
|
||||
<ul>
|
||||
<li><a title="Webaccess" href="https://www.sprinternet.at/webaccess">Webaccess</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a title="Cloud" href="https://www.sprinternet.at/owncloud">CLOUD</a></li>
|
||||
<li><a title="Yuco" href="http://yuco.sprinternet.at/">YUCO</a></li>
|
||||
<li><a title="Blog" href="http://blog.sprinternet.at">BLOG</a></li>
|
||||
<li><a title="Wiki" href="http://www.sprinternet.at/wiki/doku.php?do=login">WIKI</a></li>
|
||||
<li><a title="SVN" href="http://svn.sprinternet.at">SVN</a></li>
|
||||
<li>
|
||||
<a title="Impressum" target="_blank" href="http://blog.sprinternet.at/impressum/">IMPRESSUM</a>
|
||||
<ul>
|
||||
<li><a title="Terms of Service" target="_blank" href="http://blog.sprinternet.at/terms-of-service/">TERMS OF SERVICE</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
$moduleid = 0;
|
||||
foreach ($SITE_MODULES as $modul) {
|
||||
$moduleid++;
|
||||
$cut = strpos($modul, "#");
|
||||
$modtitle = substr($modul,0,$cut);
|
||||
echo "
|
||||
<li>
|
||||
<a title=\"" . $modtitle . "\" href=\"/index.php?site=" . $moduleid . "&uebergabe=0&uebergabe2=0&uebergabe3=0&uebergabe4=0\"";
|
||||
if($moduleurl == "/index.php?site=" . $moduleid)
|
||||
echo " class=active>";
|
||||
else
|
||||
echo ">";
|
||||
echo $modtitle . "
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
if(isset($_SESSION["user_admin"]) && $_SESSION["user_admin"] == "1") {
|
||||
echo "<li><a title=\"Adminarea\" href=\"Admin/index.php\">";
|
||||
echo "ADMIN";
|
||||
echo "</a>";
|
||||
echo "</li>";
|
||||
}
|
||||
|
||||
if (isset ($_SESSION["user_id"])) {
|
||||
echo "<li><a title=\"Logout\"href=\"Site/logout.php\">";
|
||||
echo "LOGOUT";
|
||||
echo "</a>";
|
||||
echo "</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<div id="combo-holder"></div>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<?php /*
|
||||
if(!isset($_SESSION["user_id"]))
|
||||
{
|
||||
echo "<form action=\"Site/login.php\" method=\"post\">
|
||||
@ -86,60 +191,6 @@ echo "
|
||||
<input type=\"submit\" value=\"Login\"/>
|
||||
</form>";
|
||||
}
|
||||
?>
|
||||
<div class="art-Logo">
|
||||
<h1 id="name-text" class="art-Logo-name"><a href="index.php"><?php echo $SITE_TITLE; ?></a></h1>
|
||||
<div id="slogan-text" class="art-Logo-text"><?php echo $SITE_SUBTITLE; ?>
|
||||
<font color="#8B0000"><b> <marquee> <?php echo $SITE_INFO; ?></marquee></b></font>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="art-nav">
|
||||
<div class="l"></div>
|
||||
<div class="r"></div>
|
||||
<ul class="art-menu">
|
||||
<?php
|
||||
$moduleid = 0;
|
||||
foreach ($SITE_MODULES as $modul)
|
||||
{
|
||||
$moduleid++;
|
||||
$cut = strpos($modul, "#");
|
||||
$modtitle = substr($modul,0,$cut);
|
||||
echo "
|
||||
<li>
|
||||
<a href=\"/index.php?site=".$moduleid."&uebergabe=0&uebergabe2=0&uebergabe3=0&uebergabe4=0\"";
|
||||
if($moduleurl == "/index.php?site=".$moduleid)
|
||||
echo " class=active>";
|
||||
else
|
||||
echo ">";
|
||||
echo " <span class=\"l\"></span>
|
||||
<span class=\"r\"></span>
|
||||
<span class=\"t\">".$modtitle."</span>
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
|
||||
if(isset($_SESSION["user_admin"]) && $_SESSION["user_admin"] == "1")
|
||||
{
|
||||
echo "<li><a href=\"Admin/index.php\">";
|
||||
echo "<span class=\"l\"></span><span class=\"r\">";
|
||||
echo "</span><span class=\"t\">Administration</span>";
|
||||
echo "</a>";
|
||||
echo "</li>";
|
||||
}
|
||||
|
||||
if (isset ($_SESSION["user_id"]))
|
||||
{
|
||||
echo "<li><a href=\"Site/logout.php\">";
|
||||
echo "<span class=\"l\"></span><span class=\"r\">";
|
||||
echo "</span><span class=\"t\">Logout</span>";
|
||||
echo "</a>";
|
||||
echo "</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
*/?>
|
||||
|
||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
||||
|
1456
Themes/default.css
Before Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 27 KiB |
1457
Themes/winter.css
Before Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 81 B |
@ -14,7 +14,7 @@ echo "INSTALLING...<br>";
|
||||
|
||||
// Aufbau der Datenbankverbindung
|
||||
@$y = mysql_connect($_REQUEST["dbserv"],$_REQUEST["dbuser"],$_REQUEST["dbpwd"]);
|
||||
$sql = 'CREATE DATABASE ' . $_REQUEST["dbname"];
|
||||
$sql = 'CREATE DATABASE IF NOT EXISTS ' . $_REQUEST["dbname"];
|
||||
if (mysql_query($sql, $y))
|
||||
{
|
||||
echo "Datenbank erfolgreich angelegt! [<b><font color=lime>OK</b></font>]<br>\n";
|
||||
|