if (judging_date_return() == 0 && $registration_open == "2") {
    if ($_SESSION['prefsDisplayWinners'] == "Y") {
        if (judging_winner_display($delay)) {
            if (NHC && $prefix == "final_" || !NHC) {
                echo $header1_1;
                include SECTIONS . 'bos.sec.php';
            }
            echo $header1_2;
            if ($_SESSION['prefsWinnerMethod'] == "1") {
                include SECTIONS . 'winners_category.sec.php';
            } elseif ($_SESSION['prefsWinnerMethod'] == "2") {
                include SECTIONS . 'winners_subcategory.sec.php';
            } else {
                include SECTIONS . 'winners.sec.php';
            }
        } else {
            echo $page_info;
        }
    }
} else {
    echo $page_info;
    if ($registration_open == "2" || open_limit($totalRows_entry_count, $row_limits['prefsEntryLimit'], $registration_open)) {
        include 'reg_closed.sec.php';
    } else {
        include 'reg_open.sec.php';
    }
    if ($_SESSION['prefsSponsors'] == "Y") {
        echo $header1_1;
        echo $page_info1;
    }
}
$page_info1 = "";
$header1_2 = "";
$page_info2 = "";
$warning1 .= "<div class='info'>The information here beyond your first name, last name, and club is strictly for record-keeping and contact purposes. A condition of entry into the competition is providing this information. Your name and club may be displayed should one of your entries place, but no other information will be made public.</div>";
$warning2 .= "<div class='closed'>Reminder: You are only allowed to enter one region and once you have registered at a location, you will NOT be able to change it.</div>";
$header1_1 .= "<h2>";
$header1_1 .= "Register ";
if ($section == "admin") {
    if ($go == "judge") {
        $header1_1 .= " a Judge/Steward</h2>";
    } else {
        $header1_1 .= " a Participant";
    }
}
$header1_1 .= "</h2>";
if (($registration_open < 2 || $judge_window_open < 2) && $section != "admin" && !open_limit($totalRows_entry_count, $_SESSION['prefsEntryLimit'], $registration_open)) {
    $page_info1 .= "<p>Entry into this competition is conducted completely online.</p>";
    $page_info1 .= "<ul>";
    if (!NHC) {
        $page_info1 .= "<li>If you have already registered, <a href='" . build_public_url("login", "default", "default", $sef, $base_url) . "'>log in here</a>.</li>";
        $page_info1 .= "<li>To add your entries or indicate that you are willing to judge or steward, you will need to create an account on our system using the fields below.</li>";
    }
    $page_info1 .= "<li>Your email address will be your user name and will be used as a means of information dissemination by the competition staff. Please make sure it is correct. </li>";
    if (!NHC || NHC && $prefix != "final_") {
        $page_info1 .= "<li>Once you have registered, you can proceed through the entry process. </li>";
        $page_info1 .= "<li>Each entry you add will automatically be assigned a number by the system.</li>";
    }
    $page_info1 .= "</ul>";
}
// --------------------------------------------------------------
// Display