Removed html specific to htaccessbuilder.com
Enabled inclusion of custom html and config.
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/html/bottom-custom.php
|
||||
/html/head-custom.php
|
||||
/config.local.php
|
||||
17
config.php
17
config.php
@@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
$config = array();
|
||||
|
||||
$config['BasePath'] = (@$_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].'/';
|
||||
|
||||
$config['Debug'] = $_SERVER['HTTP_HOST'] == 'dev.htaccessbuilder.com';
|
||||
<?php
|
||||
|
||||
$config = array();
|
||||
|
||||
$config['BasePath'] = (@$_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].'/';
|
||||
|
||||
$config['Debug'] = False;
|
||||
|
||||
if (is_file('config.local.php'))
|
||||
include('config.local.php');
|
||||
@@ -1,26 +1,21 @@
|
||||
<div style="clear: both;"> </div>
|
||||
</div> <!-- / content -->
|
||||
|
||||
|
||||
<?php if (isset($sidebar) && $sidebar == True) include('sidebar.php'); ?>
|
||||
</div><!-- / page-content -->
|
||||
</div><!-- / page-bgbtm -->
|
||||
</div><!-- / page-bgtop -->
|
||||
</div><!-- / page -->
|
||||
</div><!-- / wrapper -->
|
||||
<?php include('footer.php'); ?>
|
||||
|
||||
<div style="clear: both;"> </div>
|
||||
<script type="text/javascript">
|
||||
var uvOptions = {};
|
||||
(function() {
|
||||
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
|
||||
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/3Kr8ahaGdYLcNwpTEtA7fQ.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
GentleBreeze Design by Free CSS Templates
|
||||
<div style="clear: both;"> </div>
|
||||
</div> <!-- / content -->
|
||||
|
||||
|
||||
<?php if (isset($sidebar) && $sidebar == True) include('sidebar.php'); ?>
|
||||
</div><!-- / page-content -->
|
||||
</div><!-- / page-bgbtm -->
|
||||
</div><!-- / page-bgtop -->
|
||||
</div><!-- / page -->
|
||||
</div><!-- / wrapper -->
|
||||
<?php include('footer.php'); ?>
|
||||
<div style="clear: both;"> </div>
|
||||
<?php
|
||||
if (is_file(dirname(__FILE__).'/bottom-custom.php'))
|
||||
include(dirname(__FILE__).'/bottom-custom.php');
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
GentleBreeze Design by Free CSS Templates
|
||||
-->
|
||||
165
html/top.php
165
html/top.php
@@ -1,93 +1,74 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="keywords" content="htaccess, htaccess builder, htaccess generator, apache, apache rewrite, rewrite" />
|
||||
<meta name="description" content="Build htaccess rules for apache 2 easily." />
|
||||
<title>Htaccess Builder</title>
|
||||
<base href="<?php echo System::Config()->BasePath; ?>"/>
|
||||
<link href="Media/style.css" rel="stylesheet" type="text/css"/>
|
||||
<link href='http://fonts.googleapis.com/css?family=Oswald|Arvo|Telex' rel='stylesheet' type='text/css'/>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
if(typeof jQuery == 'undefined'){document.write("<scr"+"ipt src=\"Media/jquery.min.js\" type=\"text/javascript\"><\/scr"+"ipt>");}
|
||||
</script>
|
||||
<?php if (defined('CREATOR')): ?>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
|
||||
<link href="Media/impromptu.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="Media/jquery-impromptu.3.2.min.js" type="text/javascript"></script>
|
||||
<link href="Media/tooltipster-1.2/css/tooltipster.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="Media/tooltipster-1.2/js/jquery.tooltipster.min.js" charset="UTF-8" type="text/javascript"></script>
|
||||
<script src="Media/index.js" type="text/javascript"></script>
|
||||
<script src="Media/rules.js" type="text/javascript"></script>
|
||||
<?php endif; ?>
|
||||
<?php if (System::Config()->Debug): ?>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #700000;
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-32779476-1']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
</script>
|
||||
<?php if (isset($head)) echo $head; ?>
|
||||
</head>
|
||||
<body id="<?php if (isset($pageid)) echo $pageid; ?>">
|
||||
<div id="wrapper">
|
||||
<div id="header-wrapper">
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<h1><a href="#">Htaccess Builder</a></h1>
|
||||
<p>
|
||||
Beta!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu-wrapper">
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li class="page-builder"><a href="">Builder</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div id="donate">
|
||||
Find this useful? <br/>
|
||||
<div>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_s-xclick"/>
|
||||
<input type="hidden" name="hosted_button_id" value="N7V2ZSKNXCGW8"/>
|
||||
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_SM.gif" class="image" border="0" name="submit" alt="£1" title="£1"/>
|
||||
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>-->
|
||||
<?php $class = ''; if (!isset($sidebar) || $sidebar == False) $class = 'class="fullwidth"'?>
|
||||
<div id="page" <?=$class?>>
|
||||
<div id="page-bgtop" <?=$class?>>
|
||||
<div id="page-bgbtm" <?=$class?>>
|
||||
<div id="page-content" <?=$class?>>
|
||||
<?php if (isset($sidebar) && $sidebar == True): ?>
|
||||
<div id="content">
|
||||
<?php else: ?>
|
||||
<div id="content-fullwidth">
|
||||
<?php endif; ?>
|
||||
|
||||
<noscript>
|
||||
<div id="js-notice">
|
||||
Javascript is required to use this website :(
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="keywords" content="htaccess, htaccess builder, htaccess generator, apache, apache rewrite, rewrite" />
|
||||
<meta name="description" content="Build htaccess rules for apache 2 easily." />
|
||||
<title>Htaccess Builder</title>
|
||||
<base href="<?php echo System::Config()->BasePath; ?>"/>
|
||||
<link href="Media/style.css" rel="stylesheet" type="text/css"/>
|
||||
<link href='http://fonts.googleapis.com/css?family=Oswald|Arvo|Telex' rel='stylesheet' type='text/css'/>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
if(typeof jQuery == 'undefined'){document.write("<scr"+"ipt src=\"Media/jquery.min.js\" type=\"text/javascript\"><\/scr"+"ipt>");}
|
||||
</script>
|
||||
<?php if (defined('CREATOR')): ?>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
|
||||
<link href="Media/impromptu.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="Media/jquery-impromptu.3.2.min.js" type="text/javascript"></script>
|
||||
<link href="Media/tooltipster-1.2/css/tooltipster.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="Media/tooltipster-1.2/js/jquery.tooltipster.min.js" charset="UTF-8" type="text/javascript"></script>
|
||||
<script src="Media/index.js" type="text/javascript"></script>
|
||||
<script src="Media/rules.js" type="text/javascript"></script>
|
||||
<?php endif; ?>
|
||||
<?php if (System::Config()->Debug): ?>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #700000;
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if (is_file(dirname(__FILE__).'/head-custom.php'))
|
||||
include(dirname(__FILE__).'/head-custom.php');
|
||||
?>
|
||||
<?php if (isset($head)) echo $head; ?>
|
||||
</head>
|
||||
<body id="<?php if (isset($pageid)) echo $pageid; ?>">
|
||||
<a href="https://github.com/sam159/HtaccessBuilder"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub"></a>
|
||||
<div id="wrapper">
|
||||
<div id="header-wrapper">
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<h1><a href="#">Htaccess Builder</a></h1>
|
||||
<p>
|
||||
Beta!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu-wrapper">
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li class="page-builder"><a href="">Builder</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php $class = ''; if (!isset($sidebar) || $sidebar == False) $class = 'class="fullwidth"'?>
|
||||
<div id="page" <?=$class?>>
|
||||
<div id="page-bgtop" <?=$class?>>
|
||||
<div id="page-bgbtm" <?=$class?>>
|
||||
<div id="page-content" <?=$class?>>
|
||||
<?php if (isset($sidebar) && $sidebar == True): ?>
|
||||
<div id="content">
|
||||
<?php else: ?>
|
||||
<div id="content-fullwidth">
|
||||
<?php endif; ?>
|
||||
|
||||
<noscript>
|
||||
<div id="js-notice">
|
||||
Javascript is required to use this website :(
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<img id="loading" src="Media/Images/loading.gif" alt="[*]" style="display: none;"/>
|
||||
20
thanks.php
20
thanks.php
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
define('INDEX',True);
|
||||
|
||||
require('includer.php');
|
||||
|
||||
include('html/top.php');
|
||||
|
||||
?>
|
||||
<h2>Thanks for the donation!</h2>
|
||||
<p>
|
||||
If you have any ideas or comments please drop me a mail at <a href="mailto:sam@xnet.tk">sam@xnet.tk</a>.
|
||||
</p>
|
||||
<p>
|
||||
Cheers!<br/>
|
||||
Sam
|
||||
</p>
|
||||
<?php
|
||||
|
||||
include('html/bottom.php');
|
||||
Reference in New Issue
Block a user