/** * Last updated $Date: 2007-03-09 13:02:59 +0000 (Fri, 09 Mar 2007) $ * by $Author: andybrock $ * * This file is $Revision: 326 $ * $HeadURL: https://svn.sf.net/svnroot/camranbss/camra/nbss/version2/history/index.php $ **/ $title = 'Drinking History'; $access = array('reviewer', 'superreviewer', 'admin', 'sysadmin'); include '../includes/base.php'; include DOCROOT . '/skin/header.php'; $show = isset($_REQUEST['show']) ? $_REQUEST['show'] : 10; $start = isset($_REQUEST['start']) ? $_REQUEST['start'] : ''; $stop = isset($_REQUEST['stop']) ? $_REQUEST['stop'] : ''; $reviewer_id = $user['id']; $results = lastSubmissions($show, $reviewer_id, $start, $stop); ?> <form method="post" action="<?php echo $config->get('web', 'root'); ?> /history/" id="resultform"> Show: <select name="show"> <option value="0"<?php if ($show == 0) { print ' selected="selected"'; } ?> >All </option> <option value="3"<?php if ($show == 3) { print ' selected="selected"';
* * This file is $Revision: 326 $ * $HeadURL: https://svn.sf.net/svnroot/camranbss/camra/nbss/version2/index.php $ **/ $title = 'Scoring'; $access = array('reviewer', 'superreviewer', 'admin', 'sysadmin'); include 'includes/base.php'; include DOCROOT . '/skin/header.php'; if (!Session::get('welcomed')) { print '<h2 class="welcome glow">Welcome back ' . $user['firstname'] . ' ' . $user['lastname'] . '</h2>'; print '<p>Your last login was on ' . gmdate('D, d-M-Y, \\a\\t H:i', strtotime($user['lastlogin'])) . ' GMT</p>'; Session::set('welcomed', true); } else { print '<h2>North Herts CAMRA Beer Scoring</h2>'; } $lastentries = lastSubmissions(3, $user['id']); ?> <p class="homehead">To enter another review <a class="btnConfirm" href="<?php echo $config->get('web', 'root'); ?> /enter/">Click Here</a></p> <table> <caption>Your last 3 entries are:</caption> <thead> <tr> <th scope="col">Date</th> <th scope="col">Town</th> <th scope="col">Pub</th> <th scope="col">Beer</th> </tr> </thead>