-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreleases.php
45 lines (30 loc) · 1.17 KB
/
releases.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
ini_set("error_log", "./logs/BeerErrors.log");
include('./php/class.bufferapp.php' );
include('./php/header.php' );
include('./php/kc_class.php');
echo "\n</head>\n<body>\n";
$cur_page = '.' . htmlspecialchars($_SERVER["PHP_SELF"]);
$debugger = ((!isset($_GET['debug'])) ? 'N' : htmlspecialchars($_GET['debug']));
$pageDetails = new kcbeerclass($debugger);
$pageDetails->menu_bar("New Releases", "Recently released and/or coming soon beers.", $cur_page);
?>
<div class="container" id="main">
<div class="row">
<div class="col-sm-8 col-md-8 blog-main" >
<?php
echo "\n";
$jsonOut = './json/beerTraderNewsArticles.json';
$pageDetails->pagesOutput($jsonOut, 50, 30);
?>
</div><!-- /.blog-main -->
<div class="col-sm-4 col-md-4 blog-sidebar">
<div class="sidebar-module sidebar-module-inset" style="background-color:#ffffff;">
</div>
</div><!-- /.sidebar-module sidebar-module-inset -->
</div><!-- /.blog-sidebar -->
</div><!-- /.row -->
</div>
<?php
$pageDetails->page_footer();
?>