$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;
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'); ?> </td> </tr> <?php if (!empty($_SESSION['contestEntryFeePassword']) && !empty($_SESSION['contestEntryFeePasswordNum'])) { ?> <tr> <td class="dataLabel">Participants Who Redeemed Discount:</td> <td class="data"><?php $a = explode("^", total_discount()); echo $a[0]; ?> </td> <td class="dataLabel">Total Discounted Entries:</td> <td class="data"><?php
$page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Participants</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=participants\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View all participants\">" . get_participant_count('default') . "</a></span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Participants with Entries</strong>"; $page_info100 .= "<span class=\"pull-right\">" . $row_with_entries['count'] . "</span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Available Judges</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=participants&filter=judges\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View available judges\">" . get_participant_count('judge') . "</a></span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Available Stewards</strong>"; $page_info100 .= "<span class=\"pull-right\"><a href=\"" . $base_url . "index.php?section=admin&go=participants&filter=stewards\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"View available stewards\">" . get_participant_count('steward') . "</a></span>"; $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Entry Window</strong>"; if ($entry_window_open == 1) { $page_info100 .= "<span class=\"pull-right text-success\"><span class=\"fa fa-check\"></span> Open</span>"; } else { $page_info100 .= "<span class=\"pull-right text-danger\"><span class=\"fa fa-times\"></span> Closed</span>"; } $page_info100 .= "</div>"; $page_info100 .= "<div class=\"bcoem-sidebar-panel\">"; $page_info100 .= "<strong class=\"text-info\">Drop-Off Window</strong>"; if ($dropoff_window_open == 1) { $page_info100 .= "<span class=\"pull-right text-success\"><span class=\"fa fa-check\"></span> Open</span>"; } else { $page_info100 .= "<span class=\"pull-right text-danger\"><span class=\"fa fa-times\"></span> Closed</span>";
etc., etc., etc. * ---------------- 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'];
$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;