2013-04-18 14:11:06 +00:00
|
|
|
<?php
|
|
|
|
ob_start();
|
|
|
|
function tpl_header($title='Full-Text RSS Admin Area') {
|
2014-05-15 20:49:16 +00:00
|
|
|
global $admin_page;
|
2013-04-18 14:11:06 +00:00
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><?php echo $title; ?></title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
|
|
<link rel="stylesheet" href="../css/bootstrap.min.css" type="text/css" media="screen" />
|
|
|
|
<script type="text/javascript" src="../js/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="../js/bootstrap-tooltip.js"></script>
|
|
|
|
<script type="text/javascript" src="../js/bootstrap-popover.js"></script>
|
|
|
|
<script type="text/javascript" src="../js/bootstrap-tab.js"></script>
|
2014-05-15 20:49:16 +00:00
|
|
|
<script type="text/javascript" src="codemirror/codemirror.js"></script>
|
|
|
|
<script type="text/javascript" src="codemirror/properties.js"></script>
|
|
|
|
<link rel="stylesheet" href="codemirror/codemirror.css" />
|
2013-04-18 14:11:06 +00:00
|
|
|
<style>
|
|
|
|
html, body { background-color: #eee; }
|
|
|
|
body { margin: 0; line-height: 1.4em; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }
|
|
|
|
label, input, select, textarea { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }
|
|
|
|
.actions { padding-left: 220px; }
|
|
|
|
.popover .inner { width: 200px; }
|
|
|
|
#main-container { width: 800px; padding-bottom: 60px; }
|
|
|
|
.page-header { padding-bottom: 0; }
|
2014-05-15 20:49:16 +00:00
|
|
|
.CodeMirror {border: 1px solid black; font-size:13px}
|
|
|
|
.cm-def {color: green !important;}
|
|
|
|
.cm-quote {color: #000 !important;}
|
|
|
|
.CodeMirror-scroll { height: auto; overflow: visible; }
|
2013-04-18 14:11:06 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container" id="main-container">
|
|
|
|
<div class="navbar">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
|
|
|
<a class="brand" href="../">Full-Text RSS</a>
|
|
|
|
<ul class="nav">
|
2014-05-15 20:49:16 +00:00
|
|
|
<li <?php if (@$admin_page == 'update') echo 'class="active"'; ?>><a href="update.php">Update patterns</a></li>
|
|
|
|
<li <?php if (@$admin_page == 'edit-pattern') echo 'class="active"'; ?>><a href="edit-pattern.php">Edit patterns</a></li>
|
2014-09-15 20:24:06 +00:00
|
|
|
<li <?php if (@$admin_page == 'apc') echo 'class="active"'; ?>><a href="apc.php?OB=2">APC</a></li>
|
2013-04-18 14:11:06 +00:00
|
|
|
<li><a href="index.php?logout">Logout</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="page-header"><h1><?php echo $title; ?></h1></div>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
|
|
|
|
function tpl_footer() {
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div> <!-- close container -->
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
|
|
|
|
register_shutdown_function('tpl_footer');
|