} else { ?> <!-- Postion 1: View All Button --> <div class="btn-group" role="group" aria-label="..."> <a class="btn btn-default" href="<?php echo $base_url; ?> index.php?section=admin&go=contacts&action=add"><span class="fa fa-plus-circle"></span> Add a Contact</a> </div><!-- ./button group --> <?php } ?> </div> <?php if (get_contact_count() > 0) { if ($action == "default") { ?> <script type="text/javascript" language="javascript"> $(document).ready(function() { $('#sortable').dataTable( { "bPaginate" : true, "sPaginationType" : "full_numbers", "bLengthChange" : true, "iDisplayLength" : <?php echo round($_SESSION['prefsRecordPaging']); ?> , "sDom": 'rtp', "bStateSave" : false, "aaSorting": [[0,'asc']],
<tr> <td class="dataLabel">Contact Email:</td> <td class="data"><input name="contactEmail" type="text" class="submit" size="50" maxlength="255" value="<?php echo $_SESSION['brewerEmail']; ?> "></td> <td class="data"><span class="required">Required</span></td> </tr> <tr> <td colspan="3"><em>*You will be able to enter more contact names after set up via the Administration area.</em></td> </tr> </table> <input type="hidden" name="contactPosition" value="Competition Coordinator" /> <?php } if ($section != "step4" && get_contact_count() == 0) { ?> <div class="error">Contact information for your competition has not been set up yet. Would you like to <a href="<?php echo $base_url; ?> index.php?section=admin&go=contacts">add a contact</a>?</div> <?php } ?> <h3>General</h3> <table> <tr> <td class="dataLabel">Competition Name:</td> <td class="data"><input name="contestName" type="text" class="submit" size="50" maxlength="255" value="<?php if ($section != "step4") { echo $row_contest_info['contestName'];
$header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; etc., etc., etc. * ---------------- END Rebuild Info --------------------- */ include DB . 'dropoff.db.php'; include DB . 'contacts.db.php'; include DB . 'judging_locations.db.php'; include DB . 'styles.db.php'; include DB . 'entry_info.db.php'; $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' />"; $contact_count = get_contact_count(); $primary_page_info = ""; $header1_1 = ""; $page_info1 = ""; $header1_2 = ""; $page_info2 = ""; $header1_3 = ""; $page_info3 = ""; $header1_4 = ""; $page_info4 = ""; $header1_5 = ""; $page_info5 = ""; $header1_6 = ""; $page_info6 = ""; $header1_7 = ""; $page_info7 = "";