$header1_X = an <h2> header on the page $header2_X = an <h3> subheader on the page $page_infoX = the bulk of the information on the page. $help_page_link = link to the appropriate page on help.brewcompetition.com $print_page_link = the "Print This Page" link $competition_logo = display of the competition's logo $labelX = the various labels in a table or on a form $messageX = various messages to display $print_page_link = "<p><span class='icon'><img src='".$base_url."images/printer.png' border='0' alt='Print' title='Print' /></span><a id='modal_window_link' class='data' href='".$base_url."output/print.php?section=".$section."&action=print' title='Print'>Print This Page</a></p>"; $competition_logo = "<img src='".$base_url."user_images/".$_SESSION['contestLogo']."' width='".$_SESSION['prefsCompLogoSize']."' style='float:right; padding: 5px 0 5px 5px' alt='Competition Logo' title='Competition Logo' />"; Declare all variables empty at the top of the script. Add on later... $warning1 = ""; $primary_page_info = ""; $header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; etc., etc., etc. * ---------------- END Rebuild Info --------------------- */ $header_jc_1 = ""; $page_info_jc_1 = ""; $header_jc_1 .= sprintf("<p class='lead'>Thanks to all who participated in the %s.</p>", $_SESSION['contestName']); $page_info_jc_1 .= sprintf("<p class='lead'><small>There were <strong class='text-success'>%s</strong> entries judged and <strong class='text-success'>%s</strong> registered participants, judges, and stewards.</small></p>", get_entry_count('received'), get_participant_count('default')); echo $header_jc_1; echo $page_info_jc_1;
<?php require '../paths.php'; require CONFIG . 'bootstrap.php'; if (isset($_SESSION['loginUsername']) && $_SESSION['userLevel'] <= 1) { if (NHC) { $base_url = "../"; } if ($filter == "stewards") { $filter = "S"; } else { $filter = "J"; } include DB . 'output_assignments.db.php'; $count = round(get_entry_count('received') / $_SESSION['jPrefsFlightEntries'], 0); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Brew Competition Online Entry and Management - brewcompetition.com</title> <link href="<?php echo $base_url; ?> css/print.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="<?php echo $base_url; ?> js_includes/jquery.js"></script> <script type="text/javascript" src="<?php
<td class="dataLabel"><a href="<?php echo $base_url; ?> index.php?section=admin&go=participants&filter=judges">Available Judges</a>:</td> <td class="data"><?php echo get_participant_count('judge'); ?> </td> </tr> <tr> <td class="dataLabel"><a href="<?php echo $base_url; ?> index.php?section=admin&go=entries&view=paid">Paid, Rec'd & Confirmed Entries</a>:</td> <td class="data"><?php echo get_entry_count("paid-received"); ?> </td> <td class="dataLabel" colspan="2">Entry Counts by: <a href="<?php echo $base_url; ?> index.php?section=admin&go=count_by_style">Style</a> or <a href="<?php echo $base_url; ?> index.php?section=admin&go=count_by_substyle">Sub-Style</a></td> <td class="dataLabel"><a href="<?php echo $base_url; ?> index.php?section=admin&go=participants&filter=stewards">Available Stewards</a>:</td> <td class="data"><?php echo get_participant_count('steward');
<?php $section = "participant_summary"; include DB . 'brewer.db.php'; $total_entries_judged = get_entry_count('received'); if (NHC) { $base_url = "../"; } include LIB . 'output.lib.php'; do { include DB . 'output_participant_summary.db.php'; if ($totalRows_log > 0) { ?> <div class="page-header"> <h1><?php echo $_SESSION['contestName']; ?> Summary for <?php echo $row_brewer['brewerFirstName'] . " " . $row_brewer['brewerLastName']; ?> </h1> </div> <p class="lead">Thank you for entering our competition, <?php echo $row_brewer['brewerFirstName']; ?> . A summary of your entries and their associated scores and places is below.</p> <p class="lead"><small>In all, there were <?php echo $total_entries_judged; ?> entries.</small></p> <!-- Brewer's Entries -->
* ---------------- END Rebuild Info --------------------- */ include DB . 'judging_locations.db.php'; include DB . 'entries.db.php'; $primary_page_info = ""; $header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; // Header $header1_1 .= sprintf("<h2>Thanks and Good Luck To All Who Entered the %s!</h2>", $_SESSION['contestName']); if (NHC) { $page_info1 .= sprintf("<p>There are <strong>%s</strong> registered participants, judges, and stewards.</p>", get_participant_count('default')); } else { $page_info1 .= sprintf("<p>There are <strong>%s</strong> registered entries and <strong>%s</strong> registered participants, judges, and stewards.</p>", get_entry_count('none'), get_participant_count('default')); $page_info1 .= sprintf("<p>There are <strong>%s</strong> received and processed entries (this number will update as entries are picked up from drop-off locations and organized for judging).</p>", get_entry_count('received')); } $header1_2 .= "<h2>Judging Date"; if ($totalRows_judging > 1) { $header1_2 .= "s"; } $header1_2 .= "</h2>"; if ($totalRows_judging == 0) { $page_info2 .= "<p>Competition judging dates are yet to be determined. Please check back later.</p>"; } else { do { $page_info2 .= "<p>"; $page_info2 .= "<strong>" . $row_judging['judgingLocName'] . "</strong>"; if ($row_judging['judgingLocation'] != "") { $page_info2 .= "<br />" . $row_judging['judgingLocation']; }
$page_info100 .= "<div class=\"panel-body\">"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Confirmed Entries</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=entries\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View all entries\">" . $totalRows_log_confirmed . "</a>"; if (!empty($row_limits['prefsEntryLimit'])) { $page_info100 .= " of " . $row_limits['prefsEntryLimit']; } $page_info100 .= "</span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Unconfirmed Entries</strong>"; $page_info100 .= "<span class=\"pull-right\">" . $entries_unconfirmed . "</span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Paid & Received</strong>"; $page_info100 .= "<span class=\"pull-right\">" . get_entry_count("paid-received") . "</span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Entry Counts</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=count_by_style\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View the entry counts broken down by style\">Style</a> <a href=\"" . $base_url . "index.php?section=admin&go=count_by_substyle\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View the entry counts broken down by sub-style\">Sub-Style</a></span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Total Fees</strong>"; $page_info100 .= "<span class=\"pull-right\">" . $currency_symbol . $total_fees . "</span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Total Fees Paid</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=entries&view=paid\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View all paid entries\">" . $currency_symbol . $total_fees_paid . "</a></span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Participants</strong>";
* ---------------- END Rebuild Info --------------------- */ include DB . 'judging_locations.db.php'; include DB . 'entries.db.php'; $primary_page_info = ""; $header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; // Header $header1_1 .= sprintf("<h2>Thanks and Good Luck To All Who Entered the %s!</h2>", $_SESSION['contestName']); if (NHC) { $page_info1 .= sprintf("<p>There are <strong>%s</strong> registered participants, judges, and stewards.</p>", get_participant_count('default')); } else { $page_info1 .= sprintf("<p>There are <strong class=\"text-success\">%s</strong> registered entries and <strong class=\"text-success\">%s</strong> registered participants, judges, and stewards.</p>", get_entry_count('none'), get_participant_count('default')); $page_info1 .= sprintf("<p>As of %s, there are <strong class=\"text-success\">%s</strong> received and processed entries (this number will update as entries are picked up from drop-off locations and organized for judging).</p>", $current_time, get_entry_count('received')); } if ($totalRows_judging > 1) { $header1_2 .= "<h2>Judging Locations/Dates</h2>"; } else { $header1_2 .= "<h2>Judging Location/Date</h2>"; } if ($totalRows_judging == 0) { $page_info2 .= "<p>Competition judging dates are yet to be determined. Please check back later.</p>"; } else { do { $page_info2 .= "<p>"; if ($row_judging['judgingLocName'] != "") { $page_info2 .= "<strong>" . $row_judging['judgingLocName'] . "</strong>"; } if ($row_judging['judgingLocation'] != "") {
$header1_X = an <h2> header on the page $header2_X = an <h3> subheader on the page $page_infoX = the bulk of the information on the page. $help_page_link = link to the appropriate page on help.brewcompetition.com $print_page_link = the "Print This Page" link $competition_logo = display of the competition's logo $labelX = the various labels in a table or on a form $messageX = various messages to display $print_page_link = "<p><span class='icon'><img src='".$base_url."images/printer.png' border='0' alt='Print' title='Print' /></span><a id='modal_window_link' class='data' href='".$base_url."output/print.php?section=".$section."&action=print' title='Print'>Print This Page</a></p>"; $competition_logo = "<img src='".$base_url."user_images/".$_SESSION['contestLogo']."' width='".$_SESSION['prefsCompLogoSize']."' style='float:right; padding: 5px 0 5px 5px' alt='Competition Logo' title='Competition Logo' />"; Declare all variables empty at the top of the script. Add on later... $warning1 = ""; $primary_page_info = ""; $header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; etc., etc., etc. * ---------------- END Rebuild Info --------------------- */ $header1_1 = ""; $page_info1 = ""; $header1_1 .= sprintf("<h2>Thanks To All Who Participated in the %s</h2>", $_SESSION['contestName']); $page_info1 = sprintf("<p>There were <strong>%s</strong> entries judged and <strong>%s</strong> registered participants, judges, and stewards.</p>", get_entry_count('received'), get_participant_count('default')); echo $header1_1; echo $page_info1;