0) { $moduleurl = substr($moduleurl,0,$urlcut); } else { if(strpos($moduleurl, "?") == 0) { $moduleurl = $_SERVER["REQUEST_URI"]."?site=1"; } } $url = $moduleurl; include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php"); $status = $_REQUEST["uebergabe"]; ?>

Settings

Settings saved successfully!"; break; case 2: echo "Domain ACL saved successfully!"; break; case 3: echo "Blocked Client ACL saved successfully!"; break; case 4: echo "Allowed Client ACL saved successfully!"; break; default: break; } echo "

"; if(db_getconfval("withmail")=="1") { echo" "; } echo" "; if(db_getconfval("withsquid")=="1") { echo" "; } echo"
Sitename:
Sitesubname
Siteinfo (Header Marquee)
Theme:
OpenVPN Config Directory (WITHOUT ending /):
OpenVPN Config File Name:
OpenVPN Key Directory (WITHOUT ending /):
OpenVPN Additional Download Directory (e.g. for client.ovpn, ca.crt, readme ...) (WITHOUT ending /):
Download Directory (for Explorer, WITHOUT ending /):
Enable Mail Support:
SMTP Server:
SMTP User:
SMTP Password:
SMTP Sender Mail-Address:
Enable Squid Repair:
Enable Squid Support:
SQUID Config Directory (WITHOUT ending /):
SQUID Config File Name:
SQUID Dynamic Directory (WIHTOUT ending /):
"; if(db_getconfval("withsquid")=="1") { echo"

Squid Domain ACL (blocked Domains):


"; echo "

Squid Client ACL (blocked Clients):


"; echo "

Squid Client ACL (allowed Clients):


"; if ($_REQUEST["submit"] == "Speichern") { $fp = fopen(db_getconfval("sqdir")."/denied_domains.acl","w"); $data =$_REQUEST["inhalt"]; $data = str_replace("\r","",$data); exec("touch /var/vpn/squid_restart"); fputs($fp,$data); fclose($fp); echo ""; } if ($_REQUEST["submitc"] == "Speichern") { $fp = fopen(db_getconfval("sqdir")."/denied_clients.acl","w"); $data =$_REQUEST["inhaltc"]; $data = str_replace("\r","",$data); exec("touch /var/vpn/squid_restart"); fputs($fp,$data); fclose($fp); echo ""; } if ($_REQUEST["submita"] == "Speichern") { $fp = fopen(db_getconfval("sqdir")."/allowed_clients.acl","w"); $data =$_REQUEST["inhalta"]; $data = str_replace("\r","",$data); exec("touch /var/vpn/squid_restart"); fputs($fp,$data); fclose($fp); echo ""; } } ?>