📄 head.php
字号:
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>MyVPN: COMMUNITY with OpenVPN</title>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
<link href="images/favicon.png" type="image/png" rel="icon" />
<meta name="generator" content="hand" />
<meta name="Author" content="Federico Briata" />
<meta name="KeyWords" content="OpenVPN, VPN, Community, Dynamic, IP, Address, Download, Config" />
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
<!--
function show_filebox() {
document.forms[0].elements['file_key'].style.visibility="visible";
}
function hide_filebox() {
document.forms[0].elements['file_key'].style.visibility="hidden";
}
function Uwaga() {
alert('Everyone will see and can join to your community!');
}
function Hide_all(){
document.getElementById('divA').style.display = 'none';
document.getElementById('divC').style.display = 'none';
}
function Show() {
Hide_all();
if(document.getElementById('choice1').checked){
document.getElementById('divA').style.display = 'block';
}else if(document.getElementById('choice2').checked){
document.getElementById('divC').style.display = 'block';
}
}
function change(radio, element){
if(radio.checked){
Hide_all();
document.getElementById(element).style.display = 'block';
return true;
}
return false;
}
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
//]]>
//-->
</script>
</head>
<body>
<div id="container">
<div id="login">
<?
$pag = $_GET["pag"];
if (isset($user_name) && isset($pass) && ($valid_user==1)) { ?>
<img border="0" src="images/user.gif" width="16" height="16" align="middle"> <?echo $user_name?> | <a href="index.php?pag=logout">LogOut</a>
<?
}
// if ($PHPSESSID) echo "PHPSESSID=$PHPSESSID&";
?>
</div>
<div id="header">
<h1></h1>
<h2><a title="OpenVPN HOME PAGE" target="_blank" href="http://openvpn.net/">
<font face="Arial">With OpenVPN</font></a></h2>
<h3> </h3>
<ul>
<li><a href="index.php?pag=vpn" title="VPN">VPN</a></li>
<li><a href="index.php?pag=vpncomm" title="VPN Community">VPN Community</a></li>
<li><a href="index.php?pag=home" title="Start">Start</a></li>
</ul>
</div>
<!-- chiusura #header-->
<div id="mbody">
<?
if ($pag!='vpn' && $pag!='vpncomm') {
?>
<div id="side">
<ul id="nav">
<?
if ((!isset($user_name)) || (!isset($pass)) || ($valid_user==0)) {
?>
<li<? if ($pag=='commfree') echo" class=\"selected\""?>><a href="index.php?pag=commfree"><strong>Free Comunity</strong></a></li>
<li<? if ($pag=='myaccount') echo" class=\"selected\""?>><a href="index.php?pag=myaccount"><strong>LogIn</strong></a></li>
<li<? if ($pag=='useradd') echo" class=\"selected\""?>><a href="index.php?pag=useradd"><strong>Account Register</strong></a></li>
<li<? if ($pag=='demo') echo" class=\"selected\""?>><a href="index.php?pag=demo"><strong>Demo VPN Config</strong></a></li>
<?
}
else {
?>
<li<? if ((!$pag)||($pag=='home')) echo" class=\"selected\""?>><a href="index.php?pag=home"><strong>Home</strong></a></li>
<li<? if ($pag=='commfree') echo" class=\"selected\""?>><a href="index.php?pag=commfree"><strong>Pubblic Community</strong></a></li>
<li<? if ($pag=='myaccount') echo" class=\"selected\""?>><a href="index.php?pag=myaccount"><strong>My Community</strong></a></li>
<li<? if ($pag=='commadd') echo" class=\"selected\""?>><a href="index.php?pag=commadd"><strong>Make new VPN Community</strong></a></li>
<?
}
?>
</ul>
</div>
<!-- chiusura #side-->
<?php
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -