<?PHP
include "../inc/protect.php";
if ($_GET[page] != install) 
        @include "../db/mysql.php";
if ($_GET[override] == 1) $con = "";
?>

<HTML lang="en">

<head>

<meta charset="utf-8">

<title>Webify Setup</title>

<link href="http://<?php echo "$_SERVER[HTTP_HOST]/webifycore"; ?>/style/admin.css" rel="stylesheet">

</head>

<body>

<table width="950" border="0" cellspacing="0" cellpadding="0" align="center">

<tr>

<td> <img style="float: left; margin-right: 10px; margin-bottom: 10px;" src="../images/Webify.png" border="0" width="128" height="128"></td>

<td width="100%">

<h1>Webify App Setup</h1>

<?PHP if (!$con && empty($_GET[qun])) { ?>

<a href="index.php?page=easyinstall" class="romebutton">Easy Installation</a> <a href="index.php?page=standardinstall" class="romebutton">Standard Installation</a>

<?PHP } ?>

</td>

</table>

<div class="boxadmin" style="position:relative; width:950px; z-index:1 display:table-cell; vertical-align:top; margin-bottom: 50px;"> 

<?PHP
//....................................
if (empty($_GET[page]))
        $_GET[page] = easyinstall;

if ($con)
        $_GET[page] = addapp;

        include "$_GET[page].php";
//....................................
?>

</div>

</body>

</html>
