vpnmanager 1.0.0 new theme
This commit is contained in:
parent
4df36dc230
commit
ade99491b0
@ -4,55 +4,44 @@ $urlcut = strpos($moduleurl, "&");
|
|||||||
$moduleurl = substr($moduleurl,0,$urlcut);
|
$moduleurl = substr($moduleurl,0,$urlcut);
|
||||||
if (!isset ($_SESSION["user_admin"]) || $_SESSION["user_admin"] != "1")
|
if (!isset ($_SESSION["user_admin"]) || $_SESSION["user_admin"] != "1")
|
||||||
{
|
{
|
||||||
echo "<font color=red><h2><b>Not authenticated!<b></h2></font>
|
echo "<!-- MAIN -->
|
||||||
<form action=\"/Site/login.php\" method=\"post\">
|
<div id=\"main\">
|
||||||
<br \>
|
<div class=\"wrapper\">
|
||||||
<b> You need to be Admin to view this area!</b>
|
<h2><font color=red><b>Not authenticated!</b></font></h2>
|
||||||
<br />
|
<br />
|
||||||
|
<p>Admin rights required!</p>
|
||||||
|
<br />
|
||||||
|
<form action=\"/Site/login.php\" method=\"post\">
|
||||||
<br />
|
<br />
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Username:</td>
|
<td>Username:</td>
|
||||||
<td><input type=\"text\" name=\"name\" size=\"20\"><td>
|
<td><input type=\"text\" name=\"name\" size=\"20\"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Passwort:</td>
|
<td>Passwort:</td>
|
||||||
<td><input type=\"password\" name=\"pwd\" size=\"20\"></td>
|
<td><input type=\"password\" name=\"pwd\" size=\"20\"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type=\"hidden\" name=\"path\" size=\"50\" value=\"".$moduleurl."\"></td>
|
<td><input type=\"hidden\" name=\"path\" size=\"50\" value=\"".$moduleurl."\"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<input type=\"submit\" value=\"Login\">
|
<input type=\"submit\" value=\"Login\"/>
|
||||||
</form>
|
</form>
|
||||||
<div class=\"cleared\"></div><div class=\"art-Footer\">
|
|
||||||
<div class=\"art-Footer-inner\">
|
|
||||||
<div class=\"art-Footer-text\">
|
|
||||||
<p> ";
|
|
||||||
$moduleid = 0;
|
|
||||||
foreach ($SITE_MODULES_FOOTER as $modul)
|
|
||||||
{
|
|
||||||
$moduleid++;
|
|
||||||
$cut = strpos($modul, "#");
|
|
||||||
$modtitle = substr($modul,0,$cut);
|
|
||||||
echo "| <a href=\"/index.php?bsite=".$moduleid."\">".$modtitle."</a> | ";
|
|
||||||
|
|
||||||
}
|
|
||||||
echo"
|
|
||||||
<br />
|
|
||||||
Copyright © 2009-2010 Christoph Haas . All Rights Reserved.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=\"art-Footer-background\"></div>
|
<footer>
|
||||||
|
<div class=\"wrapper\">
|
||||||
|
<div class=\"footer-bottom\">
|
||||||
|
<div class=\"left\">Powered by <a title=\"sprinternet.at startpage\" href=\"http://www.sprinternet.at\" >sprinternet.at</a> | vpnmanager version " . db_getconfval("version") . ".</div>
|
||||||
|
<div class=\"right\">
|
||||||
|
<ul id=\"social-bar\">
|
||||||
|
<li><a href=\"mailto:antispam.org\" onClick=\"Mailto('ab231cb','vpn','','sprinternet','at');\" title=\"Report a bug\" class=\"poshytip\"><img src=\"" . $tpl_root . "img/social/bug.png\" alt=\"Bugreport\" /></a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=\"cleared\"></div>
|
</footer>
|
||||||
<p class=\"art-page-footer\">VPNManagement Version "; echo db_getconfval("version"); echo "</p>
|
|
||||||
</div>
|
|
||||||
<div style=\"text-align: center; font-size: 0.75em;\"></div></body>
|
|
||||||
</html>
|
|
||||||
";
|
";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,11 @@ $moduleurl = substr($moduleurl,0,$urlcut);
|
|||||||
|
|
||||||
if (!isset ($_SESSION["user_id"]))
|
if (!isset ($_SESSION["user_id"]))
|
||||||
{
|
{
|
||||||
echo "<h2><font color=red><b>Not authenticated!</b></font></h2>
|
echo "
|
||||||
|
<!-- MAIN -->
|
||||||
|
<div id=\"main\">
|
||||||
|
<div class=\"wrapper\">
|
||||||
|
<h2><font color=red><b>Not authenticated!</b></font></h2>
|
||||||
<form action=\"/Site/login.php\" method=\"post\">
|
<form action=\"/Site/login.php\" method=\"post\">
|
||||||
<br />
|
<br />
|
||||||
<table>
|
<table>
|
||||||
@ -23,34 +27,20 @@ echo "<h2><font color=red><b>Not authenticated!</b></font></h2>
|
|||||||
</table>
|
</table>
|
||||||
<input type=\"submit\" value=\"Login\"/>
|
<input type=\"submit\" value=\"Login\"/>
|
||||||
</form>
|
</form>
|
||||||
<div class=\"cleared\"></div><div class=\"art-Footer\">
|
|
||||||
<div class=\"art-Footer-inner\">
|
|
||||||
<div class=\"art-Footer-text\">
|
|
||||||
<p> ";
|
|
||||||
$moduleid = 0;
|
|
||||||
foreach ($SITE_MODULES_FOOTER as $modul)
|
|
||||||
{
|
|
||||||
$moduleid++;
|
|
||||||
$cut = strpos($modul, "#");
|
|
||||||
$modtitle = substr($modul,0,$cut);
|
|
||||||
echo "| <a href=\"/index.php?bsite=".$moduleid."\">".$modtitle."</a> | ";
|
|
||||||
|
|
||||||
}
|
|
||||||
echo"
|
|
||||||
<br />
|
|
||||||
Copyright © 2009-2010 Christoph Haas . All Rights Reserved.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=\"art-Footer-background\"></div>
|
<footer>
|
||||||
|
<div class=\"wrapper\">
|
||||||
|
<div class=\"footer-bottom\">
|
||||||
|
<div class=\"left\">Powered by <a title=\"sprinternet.at startpage\" href=\"http://www.sprinternet.at\" >sprinternet.at</a> | vpnmanager version " . db_getconfval("version") . ".</div>
|
||||||
|
<div class=\"right\">
|
||||||
|
<ul id=\"social-bar\">
|
||||||
|
<li><a href=\"mailto:antispam.org\" onClick=\"Mailto('ab231cb','vpn','','sprinternet','at');\" title=\"Report a bug\" class=\"poshytip\"><img src=\"" . $tpl_root . "img/social/bug.png\" alt=\"Bugreport\" /></a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=\"cleared\"></div>
|
</footer>
|
||||||
<p class=\"art-page-footer\">VPNManagement Version "; echo db_getconfval("version"); echo "</p>
|
|
||||||
</div>
|
|
||||||
<div style=\"text-align: center; font-size: 0.75em;\"></div></body>
|
|
||||||
</html>
|
|
||||||
";
|
";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user