session_start(); ?> $hasValidPasscode = false; if (hasCreds($_SERVER["REMOTE_ADDR"])) { $hasValidPasscode = true; } ?> if ($_SERVER['REQUEST_URI'] == '/about/'): ?> include 'about.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/offices-and-staff/'): ?> include 'offices-and-staff.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/get-connected/'): ?> include 'get-connected.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/whats-new/'): ?> include 'whats-new.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/our-chicago/'): ?> include 'our-chicago.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/please-contact-your-schoen-representative-2/'): ?> include 'please-contact-your-schoen-representative-2.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/kevin-schoen-president/'): ?> include 'salespeople1.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/alicia-hughey/'): ?> include 'salespeople2.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/christopher-finn/'): ?> include 'salespeople5.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/ginny-ptacek/'): ?> include 'salespeople6.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/jessica-whitsett/'): ?> include 'salespeople7.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/deborah-montemayor-office-manager/'): ?> include 'salespeople9.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/sara-mittelsteadt/'): ?> include 'salespeople10.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/david-reilly/'): ?> include 'salespeople11.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/lorraine-norwell/'): ?> include 'salespeople13.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/5/' || $_SERVER['REQUEST_URI'] == '/6/' || $_SERVER['REQUEST_URI'] == '/11/' || $_SERVER['REQUEST_URI'] == '/12/'): ?> include 'peoplelocator.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/5-2/'): ?> include 'territory5.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/6-2/'): ?> include 'territory6.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/11-2/'): ?> include 'territory11.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/12-3/'): ?> include 'territory12.php' ?> elseif ($_SERVER['REQUEST_URI'] == '/advantus/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer37.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/bestar/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer38.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/bush-furniture/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer39.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/charles-leonard/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer40.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/cosco-industries/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer41.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/cra-z-art-larose/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer42.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/edsal-manufacturing/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer43.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/es-robbins/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer44.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/geographics-corporate-ct/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer45.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/house-of-doolittle/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer46.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/hpfi/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer47.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/hsm-of-america/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer48.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/kantek/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer49.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/kent-boogie-board/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer50.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/lathem-time/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer51.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/master-mfg-co-inc/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer52.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/nsa/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer53.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/prima-softalk/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer54.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/staedtler-mars-limited/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer55.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/storex-industries/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer56.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> elseif ($_SERVER['REQUEST_URI'] == '/x-chair/'): ?> if ($hasValidPasscode == true): ?> include 'manufacturer57.php' ?> else: ?> include 'product-lines.php' ?> endif; ?> else: ?> get_header(); ?>