Initial Commit

This commit is contained in:
2013-02-08 20:18:32 +00:00
commit eaaf97ef7e
61 changed files with 3375 additions and 0 deletions

30
index.php Normal file
View File

@@ -0,0 +1,30 @@
<?php
define('INDEX',True);
define('CREATOR',True);
require('includer.php');
$rules = new HtRule_List();
if (isset($_GET['addrule']))
{
$rules->AddRule(new HtRule_EnableRewrite());
redirect('');
}
if (isset($_GET['delete']))
{
$file = BASE_PATH.DIRECTORY_SEPARATOR.'Saved'.DIRECTORY_SEPARATOR.$rules->GetID().'.txt';
if (is_file($file) && $rules->GetID())
unlink($file);
$rules->SetID(False);
$rules->ClearRules();
redirect('');
}
$pageid = 'page-builder';
include('html/top.php');
include('html/creator.php');
include('html/bottom.php');