mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Clean up page headers
This commit is contained in:
parent
2db9e7ec6a
commit
4fee252b31
10
bans.php
10
bans.php
@ -1,15 +1,7 @@
|
|||||||
<?php require './includes/page.php'; ?>
|
<?php require './includes/page.php'; ?>
|
||||||
<title>Tempbans - <?php echo $name; ?></title>
|
<title>Tempbans - <?php echo $name; ?></title>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<?php print_page_header("Bans"); ?>
|
||||||
<div class="col-lg-12">
|
|
||||||
<h1 class="page-header">Bans</h1>
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li><a href="index.php">Home</a></li>
|
|
||||||
<li class="active">Bans</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<!-- Ban check form -->
|
<!-- Ban check form -->
|
||||||
<form onsubmit="captureForm(event);" class="form-inline">
|
<form onsubmit="captureForm(event);" class="form-inline">
|
||||||
|
@ -77,6 +77,16 @@ function clean($text) {
|
|||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function print_page_header($title) {
|
||||||
|
echo('
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<h1 class="page-header">' . $title . '</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
');
|
||||||
|
}
|
||||||
|
|
||||||
function print_table_headers($headers) {
|
function print_table_headers($headers) {
|
||||||
echo("<thead><tr>");
|
echo("<thead><tr>");
|
||||||
foreach ($headers as $header) {
|
foreach ($headers as $header) {
|
||||||
|
10
mutes.php
10
mutes.php
@ -1,15 +1,7 @@
|
|||||||
<?php require './includes/page.php'; ?>
|
<?php require './includes/page.php'; ?>
|
||||||
<title>TempMutes - <?php echo $name; ?></title>
|
<title>TempMutes - <?php echo $name; ?></title>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<?php print_page_header("Mutes"); ?>
|
||||||
<div class="col-lg-12">
|
|
||||||
<h1 class="page-header">Mutes</h1>
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li><a href="index.php">Home</a></li>
|
|
||||||
<li class="active">Mutes</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row" style="margin-bottom:60px;">
|
<div class="row" style="margin-bottom:60px;">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<table class="table table-hover table-bordered table-condensed">
|
<table class="table table-hover table-bordered table-condensed">
|
||||||
|
10
warnings.php
10
warnings.php
@ -1,15 +1,7 @@
|
|||||||
<?php require './includes/page.php'; ?>
|
<?php require './includes/page.php'; ?>
|
||||||
<title>Warnings - <?php echo $name; ?></title>
|
<title>Warnings - <?php echo $name; ?></title>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<?php print_page_header("Warnings"); ?>
|
||||||
<div class="col-lg-12">
|
|
||||||
<h1 class="page-header">Warnings</h1>
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li><a href="index.php">Home</a></li>
|
|
||||||
<li class="active">Warnings</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row" style="margin-bottom:60px;">
|
<div class="row" style="margin-bottom:60px;">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<table class="table table-hover table-bordered table-condensed">
|
<table class="table table-hover table-bordered table-condensed">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user