Location: PHPKode > projects > phpServerAdmin > phpserveradmin/pptpd/templates/frame.php
<?php
  // No direct access
  if ( _PPTPD ) die("Cannot access this directly!");
?><HTML>
<HEAD>
<TITLE>PPTP Server</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"><?php if ( $_COOKIE['refresh'] == "on" && $pptpd['GET']['mod']=="main" ) echo "<META HTTP-EQUIV='Refresh' CONTENT='15; url='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."'>"; ?>
<LINK href="/favicon.ico" rel="SHORTCUT ICON">
<SCRIPT src="serveradmin_scripts.js"></SCRIPT>
<!-- IE style -->
<LINK href="serveradmin.css" type=text/css rel=stylesheet>
<script language=javascript type='text/javascript'>

function showdiv(ID)
{
  var divs = document.getElementsByTagName('div');
  for(i=0;i<divs.length;i++)
  {
    if(divs[i].id.match(ID))
    {//if they are 'see' divs
      if (document.getElementById) // DOM3 = IE5, NS6
        divs[i].style.visibility="visible";// show/hide
      else
        if (document.layers) // Netscape 4
          document.layers[divs[i]].display = 'visible';
        else // IE 4
          document.all.divs[i].visibility = 'visible';
    }
    else
    {
      if (document.getElementById)
        divs[i].style.visibility="hidden";
      else
        if (document.layers) // Netscape 4
          document.divs[i].visibility = 'hidden';
        else // IE 4
          document.all.divs[i].visibility = 'hidden';
    }
  }
}
</script>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" <?php
if ( $popupclose )
  echo "onload='javascript:opener.window.location.reload();self.close();'>";
else
{

?>
></BODY><TABLE cellSpacing=0 cellPadding=0 width="100%" border='0'>
    <TR>
      <TD width="5%" height=5><IMG height=1 alt=" " hspace=7 src="images/clear.gif" width=1></TD>
      <TD width="90%"><IMG height=1 alt=" " hspace=270 src="images/clear.gif" width=1><BR></TD>
      <TD width="5%"><IMG height=1 alt=" " hspace=7 src="images/clear.gif" width=1></TD>
    </TR>
    <TR vAlign=top>
      <TD width=20 noWrap><BR></TD>
      <TD><?php
    // Load up TEMPLATE screen
    if ( file_exists(TEMPLATES."/".$pptpd['GET']['mod'].".php") )
      include(TEMPLATES."/".$pptpd['GET']['mod'].'.php');

    if ( $pptpd['GET']['mod'] == "plugins" )
      do_hook("maintable_plugin_action_frame","");

    ?></TD>
      <TD></TD>
    </TR>
    <TR vAlign=top>
      <TD height="19" noWrap>&nbsp;</TD>
      <TD><?php echo $config['footer'];?></TD>
      <TD>&nbsp;</TD>
    </TR>
</TABLE>
<?php
}
?>
</BODY>
</HTML>
Return current item: phpServerAdmin