// Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; // BEGIN ENQUEUE PARENT ACTION // AUTO GENERATED - Do not modify or remove comment markers above or below: if ( !function_exists( 'chld_thm_cfg_locale_css' ) ): function chld_thm_cfg_locale_css( $uri ){ if ( empty( $uri ) && is_rtl() && file_exists( directory() . '/rtl.css' ) ) $uri = get_template_directory_uri() . '/rtl.css';get_template_ return $uri; } endif; add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' ); if ( !function_exists( 'child_theme_configurator_css' ) ): function child_theme_configurator_css() { wp_enqueue_style( 'chld_thm_cfg_child', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( 'astra-theme-css' ) ); } endif; function my_custom_body_id() { // If we're on a page, use the page slug for the ID. if (is_page()) { global $post; return $post->post_name; } // If we're on a single post, use the post type and post name. if (is_single()) { global $post; return $post->post_name; } // If we're on the home page, use a specific ID. if (is_front_page()) { return 'home-page'; } // Add more conditional tags for other types of pages as needed. // ... // Return a default ID if none of the above conditions are met. return 'default-page'; } add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 ); // END ENQUEUE PARENT ACTION function geo_symbol_shortcode($atts) { // Get the current URL $current_url = $_SERVER["REQUEST_URI"]; // Extract the last segment of the URL $url_segments = explode('/', rtrim($current_url, '/')); $last_segment = end($url_segments); // Set the default value for $ID $ID = ''; $VW1 = ''; $VT1 = ''; $home_bottom = ''; $World = 'World'; $Europe = 'Europe'; $Asia = 'Asia'; $Africa = 'Africa'; $Mideast = 'Middle East'; $Northam = 'North America'; $Southam = 'South America'; $Caribbean = 'Caribbean'; $Latam = 'Latin America'; $Oceania = 'Oceania'; $Atlantic = 'Atlantic Ocean'; $Indian = 'Indian Ocean'; $Canada = 'Canada'; $Mexico = 'Mexico'; $USA = 'United States'; $Japan = 'Japan'; $Malaysia = 'Malaysia'; $Australia = 'Australia'; $Symbol = 'Symbols'; $SoS = 'Symbols of State'; $Flag = 'Flags'; $Emblem = 'Emblems'; $Eco = 'Ecosymbols'; $Culture = 'Cultural Symbols'; // Determine the value of $ID based on the last segment of the URL if ($last_segment === '/') { $ID = 'home'; } elseif ($last_segment === 'about') { $ID = 'about'; } elseif ($last_segment === 'books') { $ID = 'books'; } elseif ($last_segment === 'us-symbols') { $ID = 'us-symbols'; } elseif ($last_segment === 'geobops-state-symbols') { $ID = 'geobops-state-symbols'; } elseif ($last_segment === 'my-state-symbols-book') { $ID = 'my-state-symbols-book'; } elseif ($last_segment === 'flag-quest') { $ID = 'flag-quest'; } elseif ($last_segment === 'grading-the-states') { $ID = 'grading-the-states'; } elseif ($last_segment === 'store') { $ID = 'store'; } elseif ($last_segment === 'links') { $ID = 'links'; } elseif ($last_segment === 'site-map') { $ID = 'site-map'; } elseif ($last_segment === 'pagelist-ext') { $ID = 'pagelist-ext'; } elseif ($last_segment === 'subpages') { $ID = 'subpages'; } elseif ($last_segment === 'siblings') { $ID = 'siblings'; } elseif ($last_segment === 'contact') { $ID = 'contact'; } elseif ($last_segment === 'blog') { $ID = 'blog'; } elseif ($last_segment === 'hello-world') { $ID = 'hello-world'; } elseif ($last_segment === 'new-state-symbols-proposals') { $ID = 'new-state-symbols-proposals'; } elseif ($last_segment === 'symbols') { $ID = 'symbols'; } elseif ($last_segment === 'name') { $ID = 'name'; } elseif ($last_segment === 'sos') { $ID = 'sos'; } elseif ($last_segment === 'flag') { $ID = 'flag'; } elseif ($last_segment === 'europe-flags') { $ID = 'europe-flags'; } elseif ($last_segment === 'asia-flags') { $ID = 'asia-flags'; } elseif ($last_segment === 'jpn-flags') { $ID = 'jpn-flags'; } elseif ($last_segment === 'mys-flags') { $ID = 'mys-flags'; } elseif ($last_segment === 'africa-flags') { $ID = 'africa-flags'; } elseif ($last_segment === 'middle-east-flags') { $ID = 'middle-east-flags'; } elseif ($last_segment === 'north-america-flags') { $ID = 'north-america-flags'; } elseif ($last_segment === 'can-flags') { $ID = 'can-flags'; } elseif ($last_segment === 'mex-flags') { $ID = 'mex-flags'; } elseif ($last_segment === 'us-flags') { $ID = 'us-flags'; } elseif ($last_segment === 'south-america-flags') { $ID = 'south-america-flags'; } elseif ($last_segment === 'caribbean-flags') { $ID = 'caribbean-flags'; } elseif ($last_segment === 'latin-america-flags') { $ID = 'latin-america-flags'; } elseif ($last_segment === 'oceania-flags') { $ID = 'oceania-flags'; } elseif ($last_segment === 'aus-flags') { $ID = 'aus-flags'; } elseif ($last_segment === 'atlantic-ocean-flags') { $ID = 'atlantic-ocean-flags'; } elseif ($last_segment === 'indian-ocean-flags') { $ID = 'indian-ocean-flags'; } elseif ($last_segment === 'emblem') { $ID = 'emblem'; } elseif ($last_segment === 'coat-of-arms') { $ID = 'coat-of-arms'; } elseif ($last_segment === 'europe-arms') { $ID = 'europe-arms'; } elseif ($last_segment === 'asia-arms') { $ID = 'asia-arms'; } elseif ($last_segment === 'jpn-arms') { $ID = 'jpn-arms'; } elseif ($last_segment === 'mys-arms') { $ID = 'mys-arms'; } elseif ($last_segment === 'africa-arms') { $ID = 'africa-arms'; } elseif ($last_segment === 'middle-east-arms') { $ID = 'middle-east-arms'; } elseif ($last_segment === 'north-america-arms') { $ID = 'north-america-arms'; } elseif ($last_segment === 'can-arms') { $ID = 'can-arms'; } elseif ($last_segment === 'mex-arms') { $ID = 'mex-arms'; } elseif ($last_segment === 'us-seals') { $ID = 'us-seals'; } elseif ($last_segment === 'us-arms') { $ID = 'us-arms'; } elseif ($last_segment === 'south-america-arms') { $ID = 'south-america-arms'; } elseif ($last_segment === 'caribbean-arms') { $ID = 'caribbean-arms'; } elseif ($last_segment === 'latin-america-arms') { $ID = 'latin-america-arms'; } elseif ($last_segment === 'oceania-arms') { $ID = 'oceania-arms'; } elseif ($last_segment === 'aus-arms') { $ID = 'aus-arms'; } elseif ($last_segment === 'atlantic-ocean-arms') { $ID = 'atlantic-ocean-arms'; } elseif ($last_segment === 'indian-ocean-arms') { $ID = 'indian-ocean-arms'; } elseif ($last_segment === 'motto') { $ID = 'motto'; } elseif ($last_segment === 'song') { $ID = 'song'; } elseif ($last_segment === 'ecosymbol') { $ID = 'ecosymbol'; } elseif ($last_segment === 'plants') { $ID = 'plants'; } elseif ($last_segment === 'flower') { $ID = 'flower'; } elseif ($last_segment === 'tree') { $ID = 'tree'; } elseif ($last_segment === 'fruit') { $ID = 'fruit'; } elseif ($last_segment === 'grass') { $ID = 'grass'; } elseif ($last_segment === 'plantmisc') { $ID = 'plantmisc'; } elseif ($last_segment === 'animals') { $ID = 'animals'; } elseif ($last_segment === 'bird') { $ID = 'bird'; } elseif ($last_segment === 'mammal') { $ID = 'mammal'; } elseif ($last_segment === 'herptile') { $ID = 'herptile'; } elseif ($last_segment === 'reptile') { $ID = 'reptile'; } elseif ($last_segment === 'amphibian') { $ID = 'amphibian'; } elseif ($last_segment === 'fish') { $ID = 'fish'; } elseif ($last_segment === 'insect') { $ID = 'insect'; } elseif ($last_segment === 'shellfish') { $ID = 'shellfish'; } elseif ($last_segment === 'animalmisc') { $ID = 'animalmisc'; } elseif ($last_segment === 'life') { $ID = 'life'; } elseif ($last_segment === 'earth') { $ID = 'earth'; } elseif ($last_segment === 'mineral') { $ID = 'mineral'; } elseif ($last_segment === 'fossil') { $ID = 'fossil'; } elseif ($last_segment === 'soil') { $ID = 'soil'; } elseif ($last_segment === 'nature') { $ID = 'nature'; } elseif ($last_segment === 'culture') { $ID = 'culture'; } elseif ($last_segment === 'local') { $ID = 'local'; } elseif ($last_segment === 'colors') { $ID = 'colors'; } elseif ($last_segment === 'clothing') { $ID = 'clothing'; } elseif ($last_segment === 'food') { $ID = 'food'; } elseif ($last_segment === 'dance') { $ID = 'dance'; } elseif ($last_segment === 'sports') { $ID = 'sports'; } elseif ($last_segment === 'transportation') { $ID = 'transportation'; } elseif ($last_segment === 'people') { $ID = 'people'; } elseif ($last_segment === 'history') { $ID = 'history'; } elseif ($last_segment === 'museum') { $ID = 'museum'; } elseif ($last_segment === 'arts') { $ID = 'arts'; } elseif ($last_segment === 'music') { $ID = 'music'; } elseif ($last_segment === 'politix') { $ID = 'politix'; } elseif ($last_segment === 'misc') { $ID = 'misc'; } elseif ($last_segment === 'numismatics') { $ID = 'numismatics'; } elseif ($last_segment === 'us-quarters') { $ID = 'us-quarters'; } elseif ($last_segment === 'stamps') { $ID = 'stamps'; } elseif ($last_segment === 'license-plates') { $ID = 'license-plates'; } elseif ($last_segment === 'world') { $ID = 'world'; } elseif ($last_segment === 'europe') { $ID = 'europe'; } elseif ($last_segment === 'ala') { $ID = 'ala'; } elseif ($last_segment === 'alb') { $ID = 'alb'; } elseif ($last_segment === 'and') { $ID = 'and'; } elseif ($last_segment === 'aut') { $ID = 'aut'; } elseif ($last_segment === 'blr') { $ID = 'blr'; } elseif ($last_segment === 'bel') { $ID = 'bel'; } elseif ($last_segment === 'bih') { $ID = 'bih'; } elseif ($last_segment === 'bgr') { $ID = 'bgr'; } elseif ($last_segment === 'hrv') { $ID = 'hrv'; } elseif ($last_segment === 'cze') { $ID = 'cze'; } elseif ($last_segment === 'dnk') { $ID = 'dnk'; } elseif ($last_segment === 'est') { $ID = 'est'; } elseif ($last_segment === 'fro') { $ID = 'fro'; } elseif ($last_segment === 'fin') { $ID = 'fin'; } elseif ($last_segment === 'fra') { $ID = 'fra'; } elseif ($last_segment === 'deu') { $ID = 'deu'; } elseif ($last_segment === 'gib') { $ID = 'gib'; } elseif ($last_segment === 'grc') { $ID = 'grc'; } elseif ($last_segment === 'ggy') { $ID = 'ggy'; } elseif ($last_segment === 'hun') { $ID = 'hun'; } elseif ($last_segment === 'irl') { $ID = 'irl'; } elseif ($last_segment === 'imn') { $ID = 'imn'; } elseif ($last_segment === 'ita') { $ID = 'ita'; } elseif ($last_segment === 'jey') { $ID = 'jey'; } elseif ($last_segment === 'lva') { $ID = 'lva'; } elseif ($last_segment === 'lie') { $ID = 'lie'; } elseif ($last_segment === 'ltu') { $ID = 'ltu'; } elseif ($last_segment === 'lux') { $ID = 'lux'; } elseif ($last_segment === 'mlt') { $ID = 'mlt'; } elseif ($last_segment === 'mda') { $ID = 'mda'; } elseif ($last_segment === 'mco') { $ID = 'mco'; } elseif ($last_segment === 'mne') { $ID = 'mne'; } elseif ($last_segment === 'nld') { $ID = 'nld'; } elseif ($last_segment === 'mkd') { $ID = 'mkd'; } elseif ($last_segment === 'nor') { $ID = 'nor'; } elseif ($last_segment === 'pol') { $ID = 'pol'; } elseif ($last_segment === 'prt') { $ID = 'prt'; } elseif ($last_segment === 'rou') { $ID = 'rou'; } elseif ($last_segment === 'rus') { $ID = 'rus'; } elseif ($last_segment === 'smr') { $ID = 'smr'; } elseif ($last_segment === 'srb') { $ID = 'srb'; } elseif ($last_segment === 'svk') { $ID = 'svk'; } elseif ($last_segment === 'svn') { $ID = 'svn'; } elseif ($last_segment === 'esp') { $ID = 'esp'; } elseif ($last_segment === 'swe') { $ID = 'swe'; } elseif ($last_segment === 'che') { $ID = 'che'; } elseif ($last_segment === 'ukr') { $ID = 'ukr'; } elseif ($last_segment === 'gbr') { $ID = 'gbr'; } elseif ($last_segment === 'vat') { $ID = 'vat'; } elseif ($last_segment === 'asia') { $ID = 'asia'; } elseif ($last_segment === 'afg') { $ID = 'afg'; } elseif ($last_segment === 'arm') { $ID = 'arm'; } elseif ($last_segment === 'aze') { $ID = 'aze'; } elseif ($last_segment === 'bgd') { $ID = 'bgd'; } elseif ($last_segment === 'btn') { $ID = 'btn'; } elseif ($last_segment === 'brn') { $ID = 'brn'; } elseif ($last_segment === 'khm') { $ID = 'khm'; } elseif ($last_segment === 'chn') { $ID = 'chn'; } elseif ($last_segment === 'tls') { $ID = 'tls'; } elseif ($last_segment === 'geo') { $ID = 'geo'; } elseif ($last_segment === 'hkg') { $ID = 'hkg'; } elseif ($last_segment === 'ind') { $ID = 'ind'; } elseif ($last_segment === 'idn') { $ID = 'idn'; } elseif ($last_segment === 'irn') { $ID = 'irn'; } elseif ($last_segment === 'jpn') { $ID = 'jpn'; } elseif ($last_segment === 'jp-aic') { $ID = 'jp-aic'; } elseif ($last_segment === 'jp-aki') { $ID = 'jp-aki'; } elseif ($last_segment === 'jp-aom') { $ID = 'jp-aom'; } elseif ($last_segment === 'jp-chi') { $ID = 'jp-chi'; } elseif ($last_segment === 'jp-ehi') { $ID = 'jp-ehi'; } elseif ($last_segment === 'jp-fuk') { $ID = 'jp-fuk'; } elseif ($last_segment === 'jp-fkk') { $ID = 'jp-fkk'; } elseif ($last_segment === 'jp-fks') { $ID = 'jp-fks'; } elseif ($last_segment === 'jp-gif') { $ID = 'jp-gif'; } elseif ($last_segment === 'jp-gun') { $ID = 'jp-gun'; } elseif ($last_segment === 'jp-hir') { $ID = 'jp-hir'; } elseif ($last_segment === 'jp-hok') { $ID = 'jp-hok'; } elseif ($last_segment === 'jp-hyo') { $ID = 'jp-hyo'; } elseif ($last_segment === 'jp-iba') { $ID = 'jp-iba'; } elseif ($last_segment === 'jp-ish') { $ID = 'jp-ish'; } elseif ($last_segment === 'jp-iwa') { $ID = 'jp-iwa'; } elseif ($last_segment === 'jp-kag') { $ID = 'jp-kag'; } elseif ($last_segment === 'jp-kgs') { $ID = 'jp-kgs'; } elseif ($last_segment === 'jp-kan') { $ID = 'jp-kan'; } elseif ($last_segment === 'jp-koc') { $ID = 'jp-koc'; } elseif ($last_segment === 'jp-kum') { $ID = 'jp-kum'; } elseif ($last_segment === 'jp-kyo') { $ID = 'jp-kyo'; } elseif ($last_segment === 'jp-mie') { $ID = 'jp-mie'; } elseif ($last_segment === 'jp-miy') { $ID = 'jp-miy'; } elseif ($last_segment === 'jp-myz') { $ID = 'jp-myz'; } elseif ($last_segment === 'jp-nag') { $ID = 'jp-nag'; } elseif ($last_segment === 'jp-nsk') { $ID = 'jp-nsk'; } elseif ($last_segment === 'jp-nar') { $ID = 'jp-nar'; } elseif ($last_segment === 'jp-nii') { $ID = 'jp-nii'; } elseif ($last_segment === 'jp-oit') { $ID = 'jp-oit'; } elseif ($last_segment === 'jp-oka') { $ID = 'jp-oka'; } elseif ($last_segment === 'jp-oki') { $ID = 'jp-oki'; } elseif ($last_segment === 'jp-osa') { $ID = 'jp-osa'; } elseif ($last_segment === 'jp-sag') { $ID = 'jp-sag'; } elseif ($last_segment === 'jp-sai') { $ID = 'jp-sai'; } elseif ($last_segment === 'jp-shi') { $ID = 'jp-shi'; } elseif ($last_segment === 'jp-shm') { $ID = 'jp-shm'; } elseif ($last_segment === 'jp-shz') { $ID = 'jp-shz'; } elseif ($last_segment === 'jp-toc') { $ID = 'jp-toc'; } elseif ($last_segment === 'jp-tok') { $ID = 'jp-tok'; } elseif ($last_segment === 'jp-tko') { $ID = 'jp-tko'; } elseif ($last_segment === 'jp-tot') { $ID = 'jp-tot'; } elseif ($last_segment === 'jp-toy') { $ID = 'jp-toy'; } elseif ($last_segment === 'jp-wak') { $ID = 'jp-wak'; } elseif ($last_segment === 'jp-yam') { $ID = 'jp-yam'; } elseif ($last_segment === 'jp-ymg') { $ID = 'jp-ymg'; } elseif ($last_segment === 'jp-ymn') { $ID = 'jp-ymn'; } elseif ($last_segment === 'kaz') { $ID = 'kaz'; } elseif ($last_segment === 'kgz') { $ID = 'kgz'; } elseif ($last_segment === 'lao') { $ID = 'lao'; } elseif ($last_segment === 'mac') { $ID = 'mac'; } elseif ($last_segment === 'mys') { $ID = 'mys'; } elseif ($last_segment === 'my-jh') { $ID = 'my-jh'; } elseif ($last_segment === 'my-kh') { $ID = 'my-kh'; } elseif ($last_segment === 'my-kn') { $ID = 'my-kn'; } elseif ($last_segment === 'my-kl') { $ID = 'my-kl'; } elseif ($last_segment === 'my-la') { $ID = 'my-la'; } elseif ($last_segment === 'my-me') { $ID = 'my-me'; } elseif ($last_segment === 'my-ns') { $ID = 'my-ns'; } elseif ($last_segment === 'my-ph') { $ID = 'my-ph'; } elseif ($last_segment === 'my-pg') { $ID = 'my-pg'; } elseif ($last_segment === 'my-pk') { $ID = 'my-pk'; } elseif ($last_segment === 'my-pl') { $ID = 'my-pl'; } elseif ($last_segment === 'my-pj') { $ID = 'my-pj'; } elseif ($last_segment === 'my-sa') { $ID = 'my-sa'; } elseif ($last_segment === 'my-sk') { $ID = 'my-sk'; } elseif ($last_segment === 'my-sl') { $ID = 'my-sl'; } elseif ($last_segment === 'my-te') { $ID = 'my-te'; } elseif ($last_segment === 'mng') { $ID = 'mng'; } elseif ($last_segment === 'mmr') { $ID = 'mmr'; } elseif ($last_segment === 'npl') { $ID = 'npl'; } elseif ($last_segment === 'prk') { $ID = 'prk'; } elseif ($last_segment === 'pak') { $ID = 'pak'; } elseif ($last_segment === 'phl') { $ID = 'phl'; } elseif ($last_segment === 'sgp') { $ID = 'sgp'; } elseif ($last_segment === 'kor') { $ID = 'kor'; } elseif ($last_segment === 'lka') { $ID = 'lka'; } elseif ($last_segment === 'twn') { $ID = 'twn'; } elseif ($last_segment === 'tjk') { $ID = 'tjk'; } elseif ($last_segment === 'tha') { $ID = 'tha'; } elseif ($last_segment === 'tkm') { $ID = 'tkm'; } elseif ($last_segment === 'uzb') { $ID = 'uzb'; } elseif ($last_segment === 'vnm') { $ID = 'vnm'; } elseif ($last_segment === 'africa') { $ID = 'africa'; } elseif ($last_segment === 'dza') { $ID = 'dza'; } elseif ($last_segment === 'ago') { $ID = 'ago'; } elseif ($last_segment === 'ben') { $ID = 'ben'; } elseif ($last_segment === 'bwa') { $ID = 'bwa'; } elseif ($last_segment === 'bfa') { $ID = 'bfa'; } elseif ($last_segment === 'bdi') { $ID = 'bdi'; } elseif ($last_segment === 'cmr') { $ID = 'cmr'; } elseif ($last_segment === 'cpv') { $ID = 'cpv'; } elseif ($last_segment === 'caf') { $ID = 'caf'; } elseif ($last_segment === 'tcd') { $ID = 'tcd'; } elseif ($last_segment === 'cod') { $ID = 'cod'; } elseif ($last_segment === 'cog') { $ID = 'cog'; } elseif ($last_segment === 'dji') { $ID = 'dji'; } elseif ($last_segment === 'egy') { $ID = 'egy'; } elseif ($last_segment === 'gnq') { $ID = 'gnq'; } elseif ($last_segment === 'eri') { $ID = 'eri'; } elseif ($last_segment === 'swz') { $ID = 'swz'; } elseif ($last_segment === 'eth') { $ID = 'eth'; } elseif ($last_segment === 'gab') { $ID = 'gab'; } elseif ($last_segment === 'gmb') { $ID = 'gmb'; } elseif ($last_segment === 'gha') { $ID = 'gha'; } elseif ($last_segment === 'gin') { $ID = 'gin'; } elseif ($last_segment === 'gnb') { $ID = 'gnb'; } elseif ($last_segment === 'civ') { $ID = 'civ'; } elseif ($last_segment === 'ken') { $ID = 'ken'; } elseif ($last_segment === 'lso') { $ID = 'lso'; } elseif ($last_segment === 'lbr') { $ID = 'lbr'; } elseif ($last_segment === 'lby') { $ID = 'lby'; } elseif ($last_segment === 'mwi') { $ID = 'mwi'; } elseif ($last_segment === 'mli') { $ID = 'mli'; } elseif ($last_segment === 'mrt') { $ID = 'mrt'; } elseif ($last_segment === 'mar') { $ID = 'mar'; } elseif ($last_segment === 'moz') { $ID = 'moz'; } elseif ($last_segment === 'nam') { $ID = 'nam'; } elseif ($last_segment === 'ner') { $ID = 'ner'; } elseif ($last_segment === 'nga') { $ID = 'nga'; } elseif ($last_segment === 'rwa') { $ID = 'rwa'; } elseif ($last_segment === 'stp') { $ID = 'stp'; } elseif ($last_segment === 'sen') { $ID = 'sen'; } elseif ($last_segment === 'sle') { $ID = 'sle'; } elseif ($last_segment === 'som') { $ID = 'som'; } elseif ($last_segment === 'zaf') { $ID = 'zaf'; } elseif ($last_segment === 'ssd') { $ID = 'ssd'; } elseif ($last_segment === 'sdn') { $ID = 'sdn'; } elseif ($last_segment === 'tza') { $ID = 'tza'; } elseif ($last_segment === 'tgo') { $ID = 'tgo'; } elseif ($last_segment === 'tun') { $ID = 'tun'; } elseif ($last_segment === 'uga') { $ID = 'uga'; } elseif ($last_segment === 'zmb') { $ID = 'zmb'; } elseif ($last_segment === 'zwe') { $ID = 'zwe'; } elseif ($last_segment === 'middle-east') { $ID = 'middle-east'; } elseif ($last_segment === 'bhr') { $ID = 'bhr'; } elseif ($last_segment === 'cyp') { $ID = 'cyp'; } elseif ($last_segment === 'irq') { $ID = 'irq'; } elseif ($last_segment === 'isr') { $ID = 'isr'; } elseif ($last_segment === 'jor') { $ID = 'jor'; } elseif ($last_segment === 'kwt') { $ID = 'kwt'; } elseif ($last_segment === 'lbn') { $ID = 'lbn'; } elseif ($last_segment === 'omn') { $ID = 'omn'; } elseif ($last_segment === 'pse') { $ID = 'pse'; } elseif ($last_segment === 'qat') { $ID = 'qat'; } elseif ($last_segment === 'sau') { $ID = 'sau'; } elseif ($last_segment === 'syr') { $ID = 'syr'; } elseif ($last_segment === 'tur') { $ID = 'tur'; } elseif ($last_segment === 'are') { $ID = 'are'; } elseif ($last_segment === 'yem') { $ID = 'yem'; } elseif ($last_segment === 'north-america') { $ID = 'north-america'; } elseif ($last_segment === 'blz') { $ID = 'blz'; } elseif ($last_segment === 'can') { $ID = 'can'; } elseif ($last_segment === 'ca-ab') { $ID = 'ca-ab'; } elseif ($last_segment === 'ca-bc') { $ID = 'ca-bc'; } elseif ($last_segment === 'ca-mb') { $ID = 'ca-mb'; } elseif ($last_segment === 'ca-nb') { $ID = 'ca-nb'; } elseif ($last_segment === 'ca-nl') { $ID = 'ca-nl'; } elseif ($last_segment === 'ca-nt') { $ID = 'ca-nt'; } elseif ($last_segment === 'ca-ns') { $ID = 'ca-ns'; } elseif ($last_segment === 'ca-nu') { $ID = 'ca-nu'; } elseif ($last_segment === 'ca-on') { $ID = 'ca-on'; } elseif ($last_segment === 'ca-pe') { $ID = 'ca-pe'; } elseif ($last_segment === 'ca-qc') { $ID = 'ca-qc'; } elseif ($last_segment === 'ca-sk') { $ID = 'ca-sk'; } elseif ($last_segment === 'ca-yt') { $ID = 'ca-yt'; } elseif ($last_segment === 'cri') { $ID = 'cri'; } elseif ($last_segment === 'slv') { $ID = 'slv'; } elseif ($last_segment === 'grl') { $ID = 'grl'; } elseif ($last_segment === 'gtm') { $ID = 'gtm'; } elseif ($last_segment === 'hnd') { $ID = 'hnd'; } elseif ($last_segment === 'mex') { $ID = 'mex'; } elseif ($last_segment === 'mx-agu') { $ID = 'mx-agu'; } elseif ($last_segment === 'mx-bcn') { $ID = 'mx-bcn'; } elseif ($last_segment === 'mx-bcs') { $ID = 'mx-bcs'; } elseif ($last_segment === 'mx-cam') { $ID = 'mx-cam'; } elseif ($last_segment === 'mx-chh') { $ID = 'mx-chh'; } elseif ($last_segment === 'mx-chp') { $ID = 'mx-chp'; } elseif ($last_segment === 'mx-coa') { $ID = 'mx-coa'; } elseif ($last_segment === 'mx-col') { $ID = 'mx-col'; } elseif ($last_segment === 'mx-dif') { $ID = 'mx-dif'; } elseif ($last_segment === 'mx-dur') { $ID = 'mx-dur'; } elseif ($last_segment === 'mx-gua') { $ID = 'mx-gua'; } elseif ($last_segment === 'mx-gro') { $ID = 'mx-gro'; } elseif ($last_segment === 'mx-hid') { $ID = 'mx-hid'; } elseif ($last_segment === 'mx-jal') { $ID = 'mx-jal'; } elseif ($last_segment === 'mx-mex') { $ID = 'mx-mex'; } elseif ($last_segment === 'mx-mic') { $ID = 'mx-mic'; } elseif ($last_segment === 'mx-mor') { $ID = 'mx-mor'; } elseif ($last_segment === 'mx-nay') { $ID = 'mx-nay'; } elseif ($last_segment === 'mx-nle') { $ID = 'mx-nle'; } elseif ($last_segment === 'mx-oax') { $ID = 'mx-oax'; } elseif ($last_segment === 'mx-pue') { $ID = 'mx-pue'; } elseif ($last_segment === 'mx-que') { $ID = 'mx-que'; } elseif ($last_segment === 'mx-roo') { $ID = 'mx-roo'; } elseif ($last_segment === 'mx-slp') { $ID = 'mx-slp'; } elseif ($last_segment === 'mx-sin') { $ID = 'mx-sin'; } elseif ($last_segment === 'mx-son') { $ID = 'mx-son'; } elseif ($last_segment === 'mx-tab') { $ID = 'mx-tab'; } elseif ($last_segment === 'mx-tam') { $ID = 'mx-tam'; } elseif ($last_segment === 'mx-tla') { $ID = 'mx-tla'; } elseif ($last_segment === 'mx-ver') { $ID = 'mx-ver'; } elseif ($last_segment === 'mx-yuc') { $ID = 'mx-yuc'; } elseif ($last_segment === 'mx-zac') { $ID = 'mx-zac'; } elseif ($last_segment === 'nic') { $ID = 'nic'; } elseif ($last_segment === 'pan') { $ID = 'pan'; } elseif ($last_segment === 'spm') { $ID = 'spm'; } elseif ($last_segment === 'usa') { $ID = 'usa'; } elseif ($last_segment === 'state-symbols') { $ID = 'state-symbols'; } elseif ($last_segment === 'al') { $ID = 'al'; } elseif ($last_segment === 'al-sos') { $ID = 'al-sos'; } elseif ($last_segment === 'al-flower') { $ID = 'al-flower'; } elseif ($last_segment === 'al-tree') { $ID = 'al-tree'; } elseif ($last_segment === 'al-fruit') { $ID = 'al-fruit'; } elseif ($last_segment === 'al-plantmisc') { $ID = 'al-plantmisc'; } elseif ($last_segment === 'al-bird') { $ID = 'al-bird'; } elseif ($last_segment === 'al-mammal') { $ID = 'al-mammal'; } elseif ($last_segment === 'al-herptile') { $ID = 'al-herptile'; } elseif ($last_segment === 'al-fish') { $ID = 'al-fish'; } elseif ($last_segment === 'al-insect') { $ID = 'al-insect'; } elseif ($last_segment === 'al-shellfish') { $ID = 'al-shellfish'; } elseif ($last_segment === 'al-earth') { $ID = 'al-earth'; } elseif ($last_segment === 'al-fossil') { $ID = 'al-fossil'; } elseif ($last_segment === 'al-nature') { $ID = 'al-nature'; } elseif ($last_segment === 'al-culture') { $ID = 'al-culture'; } elseif ($last_segment === 'al-arts') { $ID = 'al-arts'; } elseif ($last_segment === 'al-politix') { $ID = 'al-politix'; } elseif ($last_segment === 'ak') { $ID = 'ak'; } elseif ($last_segment === 'ak-sos') { $ID = 'ak-sos'; } elseif ($last_segment === 'ak-flower') { $ID = 'ak-flower'; } elseif ($last_segment === 'ak-tree') { $ID = 'ak-tree'; } elseif ($last_segment === 'ak-fruit') { $ID = 'ak-fruit'; } elseif ($last_segment === 'ak-plantmisc') { $ID = 'ak-plantmisc'; } elseif ($last_segment === 'ak-bird') { $ID = 'ak-bird'; } elseif ($last_segment === 'ak-mammal') { $ID = 'ak-mammal'; } elseif ($last_segment === 'ak-herptile') { $ID = 'ak-herptile'; } elseif ($last_segment === 'ak-fish') { $ID = 'ak-fish'; } elseif ($last_segment === 'ak-insect') { $ID = 'ak-insect'; } elseif ($last_segment === 'ak-shellfish') { $ID = 'ak-shellfish'; } elseif ($last_segment === 'ak-earth') { $ID = 'ak-earth'; } elseif ($last_segment === 'ak-fossil') { $ID = 'ak-fossil'; } elseif ($last_segment === 'ak-nature') { $ID = 'ak-nature'; } elseif ($last_segment === 'ak-culture') { $ID = 'ak-culture'; } elseif ($last_segment === 'ak-arts') { $ID = 'ak-arts'; } elseif ($last_segment === 'ak-politix') { $ID = 'ak-politix'; } elseif ($last_segment === 'az') { $ID = 'az'; } elseif ($last_segment === 'az-sos') { $ID = 'az-sos'; } elseif ($last_segment === 'az-flower') { $ID = 'az-flower'; } elseif ($last_segment === 'az-tree') { $ID = 'az-tree'; } elseif ($last_segment === 'az-fruit') { $ID = 'az-fruit'; } elseif ($last_segment === 'az-plantmisc') { $ID = 'az-plantmisc'; } elseif ($last_segment === 'az-bird') { $ID = 'az-bird'; } elseif ($last_segment === 'az-mammal') { $ID = 'az-mammal'; } elseif ($last_segment === 'az-herptile') { $ID = 'az-herptile'; } elseif ($last_segment === 'az-fish') { $ID = 'az-fish'; } elseif ($last_segment === 'az-insect') { $ID = 'az-insect'; } elseif ($last_segment === 'az-shellfish') { $ID = 'az-shellfish'; } elseif ($last_segment === 'az-earth') { $ID = 'az-earth'; } elseif ($last_segment === 'az-fossil') { $ID = 'az-fossil'; } elseif ($last_segment === 'az-nature') { $ID = 'az-nature'; } elseif ($last_segment === 'az-culture') { $ID = 'az-culture'; } elseif ($last_segment === 'az-arts') { $ID = 'az-arts'; } elseif ($last_segment === 'az-politix') { $ID = 'az-politix'; } elseif ($last_segment === 'ar') { $ID = 'ar'; } elseif ($last_segment === 'ar-sos') { $ID = 'ar-sos'; } elseif ($last_segment === 'ar-flower') { $ID = 'ar-flower'; } elseif ($last_segment === 'ar-tree') { $ID = 'ar-tree'; } elseif ($last_segment === 'ar-fruit') { $ID = 'ar-fruit'; } elseif ($last_segment === 'ar-plantmisc') { $ID = 'ar-plantmisc'; } elseif ($last_segment === 'ar-bird') { $ID = 'ar-bird'; } elseif ($last_segment === 'ar-mammal') { $ID = 'ar-mammal'; } elseif ($last_segment === 'ar-herptile') { $ID = 'ar-herptile'; } elseif ($last_segment === 'ar-fish') { $ID = 'ar-fish'; } elseif ($last_segment === 'ar-insect') { $ID = 'ar-insect'; } elseif ($last_segment === 'ar-shellfish') { $ID = 'ar-shellfish'; } elseif ($last_segment === 'ar-earth') { $ID = 'ar-earth'; } elseif ($last_segment === 'ar-fossil') { $ID = 'ar-fossil'; } elseif ($last_segment === 'ar-nature') { $ID = 'ar-nature'; } elseif ($last_segment === 'ar-culture') { $ID = 'ar-culture'; } elseif ($last_segment === 'ar-arts') { $ID = 'ar-arts'; } elseif ($last_segment === 'ar-politix') { $ID = 'ar-politix'; } elseif ($last_segment === 'ca') { $ID = 'ca'; } elseif ($last_segment === 'ca-sos') { $ID = 'ca-sos'; } elseif ($last_segment === 'ca-flower') { $ID = 'ca-flower'; } elseif ($last_segment === 'ca-tree') { $ID = 'ca-tree'; } elseif ($last_segment === 'ca-grass') { $ID = 'ca-grass'; } elseif ($last_segment === 'ca-fruit') { $ID = 'ca-fruit'; } elseif ($last_segment === 'ca-bird') { $ID = 'ca-bird'; } elseif ($last_segment === 'ca-mammal') { $ID = 'ca-mammal'; } elseif ($last_segment === 'ca-herptile') { $ID = 'ca-herptile'; } elseif ($last_segment === 'ca-fish') { $ID = 'ca-fish'; } elseif ($last_segment === 'ca-insect') { $ID = 'ca-insect'; } elseif ($last_segment === 'ca-life') { $ID = 'ca-life'; } elseif ($last_segment === 'ca-earth') { $ID = 'ca-earth'; } elseif ($last_segment === 'ca-fossil') { $ID = 'ca-fossil'; } elseif ($last_segment === 'ca-nature') { $ID = 'ca-nature'; } elseif ($last_segment === 'ca-culture') { $ID = 'ca-culture'; } elseif ($last_segment === 'ca-arts') { $ID = 'ca-arts'; } elseif ($last_segment === 'ca-politix') { $ID = 'ca-politix'; } elseif ($last_segment === 'co') { $ID = 'co'; } elseif ($last_segment === 'co-sos') { $ID = 'co-sos'; } elseif ($last_segment === 'co-flower') { $ID = 'co-flower'; } elseif ($last_segment === 'co-tree') { $ID = 'co-tree'; } elseif ($last_segment === 'co-grass') { $ID = 'co-grass'; } elseif ($last_segment === 'co-fruit') { $ID = 'co-fruit'; } elseif ($last_segment === 'co-plantmisc') { $ID = 'co-plantmisc'; } elseif ($last_segment === 'co-bird') { $ID = 'co-bird'; } elseif ($last_segment === 'co-mammal') { $ID = 'co-mammal'; } elseif ($last_segment === 'co-herptile') { $ID = 'co-herptile'; } elseif ($last_segment === 'co-fish') { $ID = 'co-fish'; } elseif ($last_segment === 'co-insect') { $ID = 'co-insect'; } elseif ($last_segment === 'co-shellfish') { $ID = 'co-shellfish'; } elseif ($last_segment === 'co-earth') { $ID = 'co-earth'; } elseif ($last_segment === 'co-fossil') { $ID = 'co-fossil'; } elseif ($last_segment === 'co-nature') { $ID = 'co-nature'; } elseif ($last_segment === 'co-culture') { $ID = 'co-culture'; } elseif ($last_segment === 'co-arts') { $ID = 'co-arts'; } elseif ($last_segment === 'co-politix') { $ID = 'co-politix'; } elseif ($last_segment === 'ct') { $ID = 'ct'; } elseif ($last_segment === 'ct-sos') { $ID = 'ct-sos'; } elseif ($last_segment === 'ct-flower') { $ID = 'ct-flower'; } elseif ($last_segment === 'ct-tree') { $ID = 'ct-tree'; } elseif ($last_segment === 'ct-fruit') { $ID = 'ct-fruit'; } elseif ($last_segment === 'ct-plantmisc') { $ID = 'ct-plantmisc'; } elseif ($last_segment === 'ct-bird') { $ID = 'ct-bird'; } elseif ($last_segment === 'ct-mammal') { $ID = 'ct-mammal'; } elseif ($last_segment === 'ct-herptile') { $ID = 'ct-herptile'; } elseif ($last_segment === 'ct-fish') { $ID = 'ct-fish'; } elseif ($last_segment === 'ct-insect') { $ID = 'ct-insect'; } elseif ($last_segment === 'ct-shellfish') { $ID = 'ct-shellfish'; } elseif ($last_segment === 'ct-earth') { $ID = 'ct-earth'; } elseif ($last_segment === 'ct-fossil') { $ID = 'ct-fossil'; } elseif ($last_segment === 'ct-nature') { $ID = 'ct-nature'; } elseif ($last_segment === 'ct-culture') { $ID = 'ct-culture'; } elseif ($last_segment === 'ct-arts') { $ID = 'ct-arts'; } elseif ($last_segment === 'ct-politix') { $ID = 'ct-politix'; } elseif ($last_segment === 'de') { $ID = 'de'; } elseif ($last_segment === 'de-sos') { $ID = 'de-sos'; } elseif ($last_segment === 'de-flower') { $ID = 'de-flower'; } elseif ($last_segment === 'de-tree') { $ID = 'de-tree'; } elseif ($last_segment === 'de-fruit') { $ID = 'de-fruit'; } elseif ($last_segment === 'de-plantmisc') { $ID = 'de-plantmisc'; } elseif ($last_segment === 'de-bird') { $ID = 'de-bird'; } elseif ($last_segment === 'de-mammal') { $ID = 'de-mammal'; } elseif ($last_segment === 'de-herptile') { $ID = 'de-herptile'; } elseif ($last_segment === 'de-fish') { $ID = 'de-fish'; } elseif ($last_segment === 'de-insect') { $ID = 'de-insect'; } elseif ($last_segment === 'de-shellfish') { $ID = 'de-shellfish'; } elseif ($last_segment === 'de-earth') { $ID = 'de-earth'; } elseif ($last_segment === 'de-fossil') { $ID = 'de-fossil'; } elseif ($last_segment === 'de-nature') { $ID = 'de-nature'; } elseif ($last_segment === 'de-culture') { $ID = 'de-culture'; } elseif ($last_segment === 'de-arts') { $ID = 'de-arts'; } elseif ($last_segment === 'de-politix') { $ID = 'de-politix'; } elseif ($last_segment === 'dc') { $ID = 'dc'; } elseif ($last_segment === 'dc-sos') { $ID = 'dc-sos'; } elseif ($last_segment === 'dc-flower') { $ID = 'dc-flower'; } elseif ($last_segment === 'dc-tree') { $ID = 'dc-tree'; } elseif ($last_segment === 'dc-fruit') { $ID = 'dc-fruit'; } elseif ($last_segment === 'dc-plantmisc') { $ID = 'dc-plantmisc'; } elseif ($last_segment === 'dc-bird') { $ID = 'dc-bird'; } elseif ($last_segment === 'dc-mammal') { $ID = 'dc-mammal'; } elseif ($last_segment === 'dc-herptile') { $ID = 'dc-herptile'; } elseif ($last_segment === 'dc-fish') { $ID = 'dc-fish'; } elseif ($last_segment === 'dc-insect') { $ID = 'dc-insect'; } elseif ($last_segment === 'dc-shellfish') { $ID = 'dc-shellfish'; } elseif ($last_segment === 'dc-earth') { $ID = 'dc-earth'; } elseif ($last_segment === 'dc-fossil') { $ID = 'dc-fossil'; } elseif ($last_segment === 'dc-nature') { $ID = 'dc-nature'; } elseif ($last_segment === 'dc-culture') { $ID = 'dc-culture'; } elseif ($last_segment === 'dc-arts') { $ID = 'dc-arts'; } elseif ($last_segment === 'dc-politix') { $ID = 'dc-politix'; } elseif ($last_segment === 'fl') { $ID = 'fl'; } elseif ($last_segment === 'fl-sos') { $ID = 'fl-sos'; } elseif ($last_segment === 'fl-flower') { $ID = 'fl-flower'; } elseif ($last_segment === 'fl-tree') { $ID = 'fl-tree'; } elseif ($last_segment === 'fl-fruit') { $ID = 'fl-fruit'; } elseif ($last_segment === 'fl-plantmisc') { $ID = 'fl-plantmisc'; } elseif ($last_segment === 'fl-bird') { $ID = 'fl-bird'; } elseif ($last_segment === 'fl-mammal') { $ID = 'fl-mammal'; } elseif ($last_segment === 'fl-herptile') { $ID = 'fl-herptile'; } elseif ($last_segment === 'fl-fish') { $ID = 'fl-fish'; } elseif ($last_segment === 'fl-insect') { $ID = 'fl-insect'; } elseif ($last_segment === 'fl-shellfish') { $ID = 'fl-shellfish'; } elseif ($last_segment === 'fl-earth') { $ID = 'fl-earth'; } elseif ($last_segment === 'fl-fossil') { $ID = 'fl-fossil'; } elseif ($last_segment === 'fl-nature') { $ID = 'fl-nature'; } elseif ($last_segment === 'fl-culture') { $ID = 'fl-culture'; } elseif ($last_segment === 'fl-arts') { $ID = 'fl-arts'; } elseif ($last_segment === 'fl-politix') { $ID = 'fl-politix'; } elseif ($last_segment === 'ga') { $ID = 'ga'; } elseif ($last_segment === 'ga-sos') { $ID = 'ga-sos'; } elseif ($last_segment === 'ga-flower') { $ID = 'ga-flower'; } elseif ($last_segment === 'ga-tree') { $ID = 'ga-tree'; } elseif ($last_segment === 'ga-fruit') { $ID = 'ga-fruit'; } elseif ($last_segment === 'ga-plantmisc') { $ID = 'ga-plantmisc'; } elseif ($last_segment === 'ga-bird') { $ID = 'ga-bird'; } elseif ($last_segment === 'ga-mammal') { $ID = 'ga-mammal'; } elseif ($last_segment === 'ga-herptile') { $ID = 'ga-herptile'; } elseif ($last_segment === 'ga-fish') { $ID = 'ga-fish'; } elseif ($last_segment === 'ga-insect') { $ID = 'ga-insect'; } elseif ($last_segment === 'ga-shellfish') { $ID = 'ga-shellfish'; } elseif ($last_segment === 'ga-earth') { $ID = 'ga-earth'; } elseif ($last_segment === 'ga-fossil') { $ID = 'ga-fossil'; } elseif ($last_segment === 'ga-nature') { $ID = 'ga-nature'; } elseif ($last_segment === 'ga-culture') { $ID = 'ga-culture'; } elseif ($last_segment === 'ga-arts') { $ID = 'ga-arts'; } elseif ($last_segment === 'ga-politix') { $ID = 'ga-politix'; } elseif ($last_segment === 'hi') { $ID = 'hi'; } elseif ($last_segment === 'hi-sos') { $ID = 'hi-sos'; } elseif ($last_segment === 'hi-flower') { $ID = 'hi-flower'; } elseif ($last_segment === 'hi-tree') { $ID = 'hi-tree'; } elseif ($last_segment === 'hi-fruit') { $ID = 'hi-fruit'; } elseif ($last_segment === 'hi-plantmisc') { $ID = 'hi-plantmisc'; } elseif ($last_segment === 'hi-bird') { $ID = 'hi-bird'; } elseif ($last_segment === 'hi-mammal') { $ID = 'hi-mammal'; } elseif ($last_segment === 'hi-herptile') { $ID = 'hi-herptile'; } elseif ($last_segment === 'hi-fish') { $ID = 'hi-fish'; } elseif ($last_segment === 'hi-insect') { $ID = 'hi-insect'; } elseif ($last_segment === 'hi-shellfish') { $ID = 'hi-shellfish'; } elseif ($last_segment === 'hi-earth') { $ID = 'hi-earth'; } elseif ($last_segment === 'hi-fossil') { $ID = 'hi-fossil'; } elseif ($last_segment === 'hi-nature') { $ID = 'hi-nature'; } elseif ($last_segment === 'hi-culture') { $ID = 'hi-culture'; } elseif ($last_segment === 'hi-arts') { $ID = 'hi-arts'; } elseif ($last_segment === 'hi-politix') { $ID = 'hi-politix'; } elseif ($last_segment === 'id') { $ID = 'id'; } elseif ($last_segment === 'id-sos') { $ID = 'id-sos'; } elseif ($last_segment === 'id-flower') { $ID = 'id-flower'; } elseif ($last_segment === 'id-tree') { $ID = 'id-tree'; } elseif ($last_segment === 'id-fruit') { $ID = 'id-fruit'; } elseif ($last_segment === 'id-plantmisc') { $ID = 'id-plantmisc'; } elseif ($last_segment === 'id-bird') { $ID = 'id-bird'; } elseif ($last_segment === 'id-mammal') { $ID = 'id-mammal'; } elseif ($last_segment === 'id-herptile') { $ID = 'id-herptile'; } elseif ($last_segment === 'id-fish') { $ID = 'id-fish'; } elseif ($last_segment === 'id-insect') { $ID = 'id-insect'; } elseif ($last_segment === 'id-shellfish') { $ID = 'id-shellfish'; } elseif ($last_segment === 'id-earth') { $ID = 'id-earth'; } elseif ($last_segment === 'id-fossil') { $ID = 'id-fossil'; } elseif ($last_segment === 'id-nature') { $ID = 'id-nature'; } elseif ($last_segment === 'id-culture') { $ID = 'id-culture'; } elseif ($last_segment === 'id-arts') { $ID = 'id-arts'; } elseif ($last_segment === 'id-politix') { $ID = 'id-politix'; } elseif ($last_segment === 'il') { $ID = 'il'; } elseif ($last_segment === 'il-sos') { $ID = 'il-sos'; } elseif ($last_segment === 'il-flower') { $ID = 'il-flower'; } elseif ($last_segment === 'il-tree') { $ID = 'il-tree'; } elseif ($last_segment === 'il-grass') { $ID = 'il-grass'; } elseif ($last_segment === 'il-fruit') { $ID = 'il-fruit'; } elseif ($last_segment === 'il-plantmisc') { $ID = 'il-plantmisc'; } elseif ($last_segment === 'il-bird') { $ID = 'il-bird'; } elseif ($last_segment === 'il-mammal') { $ID = 'il-mammal'; } elseif ($last_segment === 'il-herptile') { $ID = 'il-herptile'; } elseif ($last_segment === 'il-fish') { $ID = 'il-fish'; } elseif ($last_segment === 'il-insect') { $ID = 'il-insect'; } elseif ($last_segment === 'il-life') { $ID = 'il-life'; } elseif ($last_segment === 'il-earth') { $ID = 'il-earth'; } elseif ($last_segment === 'il-fossil') { $ID = 'il-fossil'; } elseif ($last_segment === 'il-nature') { $ID = 'il-nature'; } elseif ($last_segment === 'il-culture') { $ID = 'il-culture'; } elseif ($last_segment === 'il-arts') { $ID = 'il-arts'; } elseif ($last_segment === 'il-politix') { $ID = 'il-politix'; } elseif ($last_segment === 'in') { $ID = 'in'; } elseif ($last_segment === 'in-sos') { $ID = 'in-sos'; } elseif ($last_segment === 'in-flower') { $ID = 'in-flower'; } elseif ($last_segment === 'in-tree') { $ID = 'in-tree'; } elseif ($last_segment === 'in-fruit') { $ID = 'in-fruit'; } elseif ($last_segment === 'in-plantmisc') { $ID = 'in-plantmisc'; } elseif ($last_segment === 'in-bird') { $ID = 'in-bird'; } elseif ($last_segment === 'in-mammal') { $ID = 'in-mammal'; } elseif ($last_segment === 'in-herptile') { $ID = 'in-herptile'; } elseif ($last_segment === 'in-fish') { $ID = 'in-fish'; } elseif ($last_segment === 'in-insect') { $ID = 'in-insect'; } elseif ($last_segment === 'in-shellfish') { $ID = 'in-shellfish'; } elseif ($last_segment === 'in-earth') { $ID = 'in-earth'; } elseif ($last_segment === 'in-fossil') { $ID = 'in-fossil'; } elseif ($last_segment === 'in-nature') { $ID = 'in-nature'; } elseif ($last_segment === 'in-culture') { $ID = 'in-culture'; } elseif ($last_segment === 'in-arts') { $ID = 'in-arts'; } elseif ($last_segment === 'ia') { $ID = 'ia'; } elseif ($last_segment === 'ia-sos') { $ID = 'ia-sos'; } elseif ($last_segment === 'ia-flower') { $ID = 'ia-flower'; } elseif ($last_segment === 'ia-tree') { $ID = 'ia-tree'; } elseif ($last_segment === 'ia-fruit') { $ID = 'ia-fruit'; } elseif ($last_segment === 'ia-plantmisc') { $ID = 'ia-plantmisc'; } elseif ($last_segment === 'ia-bird') { $ID = 'ia-bird'; } elseif ($last_segment === 'ia-mammal') { $ID = 'ia-mammal'; } elseif ($last_segment === 'ia-herptile') { $ID = 'ia-herptile'; } elseif ($last_segment === 'ia-fish') { $ID = 'ia-fish'; } elseif ($last_segment === 'ia-insect') { $ID = 'ia-insect'; } elseif ($last_segment === 'ia-shellfish') { $ID = 'ia-shellfish'; } elseif ($last_segment === 'ia-earth') { $ID = 'ia-earth'; } elseif ($last_segment === 'ia-fossil') { $ID = 'ia-fossil'; } elseif ($last_segment === 'ia-nature') { $ID = 'ia-nature'; } elseif ($last_segment === 'ia-culture') { $ID = 'ia-culture'; } elseif ($last_segment === 'ia-arts') { $ID = 'ia-arts'; } elseif ($last_segment === 'ia-politix') { $ID = 'ia-politix'; } elseif ($last_segment === 'ks') { $ID = 'ks'; } elseif ($last_segment === 'ks-sos') { $ID = 'ks-sos'; } elseif ($last_segment === 'ks-flower') { $ID = 'ks-flower'; } elseif ($last_segment === 'ks-tree') { $ID = 'ks-tree'; } elseif ($last_segment === 'ks-grass') { $ID = 'ks-grass'; } elseif ($last_segment === 'ks-fruit') { $ID = 'ks-fruit'; } elseif ($last_segment === 'ks-bird') { $ID = 'ks-bird'; } elseif ($last_segment === 'ks-mammal') { $ID = 'ks-mammal'; } elseif ($last_segment === 'ks-herptile') { $ID = 'ks-herptile'; } elseif ($last_segment === 'ks-fish') { $ID = 'ks-fish'; } elseif ($last_segment === 'ks-insect') { $ID = 'ks-insect'; } elseif ($last_segment === 'ks-shellfish') { $ID = 'ks-shellfish'; } elseif ($last_segment === 'ks-earth') { $ID = 'ks-earth'; } elseif ($last_segment === 'ks-fossil') { $ID = 'ks-fossil'; } elseif ($last_segment === 'ks-nature') { $ID = 'ks-nature'; } elseif ($last_segment === 'ks-culture') { $ID = 'ks-culture'; } elseif ($last_segment === 'ks-arts') { $ID = 'ks-arts'; } elseif ($last_segment === 'ks-politix') { $ID = 'ks-politix'; } elseif ($last_segment === 'ky') { $ID = 'ky'; } elseif ($last_segment === 'ky-sos') { $ID = 'ky-sos'; } elseif ($last_segment === 'ky-flower') { $ID = 'ky-flower'; } elseif ($last_segment === 'ky-tree') { $ID = 'ky-tree'; } elseif ($last_segment === 'ky-fruit') { $ID = 'ky-fruit'; } elseif ($last_segment === 'ky-plantmisc') { $ID = 'ky-plantmisc'; } elseif ($last_segment === 'ky-bird') { $ID = 'ky-bird'; } elseif ($last_segment === 'ky-mammal') { $ID = 'ky-mammal'; } elseif ($last_segment === 'ky-herptile') { $ID = 'ky-herptile'; } elseif ($last_segment === 'ky-fish') { $ID = 'ky-fish'; } elseif ($last_segment === 'ky-insect') { $ID = 'ky-insect'; } elseif ($last_segment === 'ky-shellfish') { $ID = 'ky-shellfish'; } elseif ($last_segment === 'ky-earth') { $ID = 'ky-earth'; } elseif ($last_segment === 'ky-fossil') { $ID = 'ky-fossil'; } elseif ($last_segment === 'ky-nature') { $ID = 'ky-nature'; } elseif ($last_segment === 'ky-culture') { $ID = 'ky-culture'; } elseif ($last_segment === 'ky-arts') { $ID = 'ky-arts'; } elseif ($last_segment === 'ky-politix') { $ID = 'ky-politix'; } elseif ($last_segment === 'la') { $ID = 'la'; } elseif ($last_segment === 'la-sos') { $ID = 'la-sos'; } elseif ($last_segment === 'la-flower') { $ID = 'la-flower'; } elseif ($last_segment === 'la-tree') { $ID = 'la-tree'; } elseif ($last_segment === 'la-fruit') { $ID = 'la-fruit'; } elseif ($last_segment === 'la-plantmisc') { $ID = 'la-plantmisc'; } elseif ($last_segment === 'la-bird') { $ID = 'la-bird'; } elseif ($last_segment === 'la-mammal') { $ID = 'la-mammal'; } elseif ($last_segment === 'la-herptile') { $ID = 'la-herptile'; } elseif ($last_segment === 'la-fish') { $ID = 'la-fish'; } elseif ($last_segment === 'la-insect') { $ID = 'la-insect'; } elseif ($last_segment === 'la-shellfish') { $ID = 'la-shellfish'; } elseif ($last_segment === 'la-earth') { $ID = 'la-earth'; } elseif ($last_segment === 'la-fossil') { $ID = 'la-fossil'; } elseif ($last_segment === 'la-nature') { $ID = 'la-nature'; } elseif ($last_segment === 'la-culture') { $ID = 'la-culture'; } elseif ($last_segment === 'la-arts') { $ID = 'la-arts'; } elseif ($last_segment === 'la-politix') { $ID = 'la-politix'; } elseif ($last_segment === 'me') { $ID = 'me'; } elseif ($last_segment === 'me-sos') { $ID = 'me-sos'; } elseif ($last_segment === 'me-flower') { $ID = 'me-flower'; } elseif ($last_segment === 'me-tree') { $ID = 'me-tree'; } elseif ($last_segment === 'me-fruit') { $ID = 'me-fruit'; } elseif ($last_segment === 'me-plantmisc') { $ID = 'me-plantmisc'; } elseif ($last_segment === 'me-bird') { $ID = 'me-bird'; } elseif ($last_segment === 'me-mammal') { $ID = 'me-mammal'; } elseif ($last_segment === 'me-herptile') { $ID = 'me-herptile'; } elseif ($last_segment === 'me-fish') { $ID = 'me-fish'; } elseif ($last_segment === 'me-insect') { $ID = 'me-insect'; } elseif ($last_segment === 'me-shellfish') { $ID = 'me-shellfish'; } elseif ($last_segment === 'me-earth') { $ID = 'me-earth'; } elseif ($last_segment === 'me-fossil') { $ID = 'me-fossil'; } elseif ($last_segment === 'me-nature') { $ID = 'me-nature'; } elseif ($last_segment === 'me-culture') { $ID = 'me-culture'; } elseif ($last_segment === 'me-arts') { $ID = 'me-arts'; } elseif ($last_segment === 'me-politix') { $ID = 'me-politix'; } elseif ($last_segment === 'md') { $ID = 'md'; } elseif ($last_segment === 'md-sos') { $ID = 'md-sos'; } elseif ($last_segment === 'md-flower') { $ID = 'md-flower'; } elseif ($last_segment === 'md-tree') { $ID = 'md-tree'; } elseif ($last_segment === 'md-fruit') { $ID = 'md-fruit'; } elseif ($last_segment === 'md-plantmisc') { $ID = 'md-plantmisc'; } elseif ($last_segment === 'md-bird') { $ID = 'md-bird'; } elseif ($last_segment === 'md-mammal') { $ID = 'md-mammal'; } elseif ($last_segment === 'md-herptile') { $ID = 'md-herptile'; } elseif ($last_segment === 'md-fish') { $ID = 'md-fish'; } elseif ($last_segment === 'md-insect') { $ID = 'md-insect'; } elseif ($last_segment === 'md-shellfish') { $ID = 'md-shellfish'; } elseif ($last_segment === 'md-earth') { $ID = 'md-earth'; } elseif ($last_segment === 'md-fossil') { $ID = 'md-fossil'; } elseif ($last_segment === 'md-nature') { $ID = 'md-nature'; } elseif ($last_segment === 'md-culture') { $ID = 'md-culture'; } elseif ($last_segment === 'md-politix') { $ID = 'md-politix'; } elseif ($last_segment === 'ma') { $ID = 'ma'; } elseif ($last_segment === 'ma-sos') { $ID = 'ma-sos'; } elseif ($last_segment === 'ma-flag') { $ID = 'ma-flag'; } elseif ($last_segment === 'ma-flower') { $ID = 'ma-flower'; } elseif ($last_segment === 'ma-tree') { $ID = 'ma-tree'; } elseif ($last_segment === 'ma-fruit') { $ID = 'ma-fruit'; } elseif ($last_segment === 'ma-plantmisc') { $ID = 'ma-plantmisc'; } elseif ($last_segment === 'ma-bird') { $ID = 'ma-bird'; } elseif ($last_segment === 'ma-mammal') { $ID = 'ma-mammal'; } elseif ($last_segment === 'ma-herptile') { $ID = 'ma-herptile'; } elseif ($last_segment === 'ma-fish') { $ID = 'ma-fish'; } elseif ($last_segment === 'ma-insect') { $ID = 'ma-insect'; } elseif ($last_segment === 'ma-shellfish') { $ID = 'ma-shellfish'; } elseif ($last_segment === 'ma-earth') { $ID = 'ma-earth'; } elseif ($last_segment === 'ma-fossil') { $ID = 'ma-fossil'; } elseif ($last_segment === 'ma-nature') { $ID = 'ma-nature'; } elseif ($last_segment === 'ma-culture') { $ID = 'ma-culture'; } elseif ($last_segment === 'ma-arts') { $ID = 'ma-arts'; } elseif ($last_segment === 'ma-politix') { $ID = 'ma-politix'; } elseif ($last_segment === 'mi') { $ID = 'mi'; } elseif ($last_segment === 'mi-sos') { $ID = 'mi-sos'; } elseif ($last_segment === 'mi-flower') { $ID = 'mi-flower'; } elseif ($last_segment === 'mi-tree') { $ID = 'mi-tree'; } elseif ($last_segment === 'mi-fruit') { $ID = 'mi-fruit'; } elseif ($last_segment === 'mi-plantmisc') { $ID = 'mi-plantmisc'; } elseif ($last_segment === 'mi-bird') { $ID = 'mi-bird'; } elseif ($last_segment === 'mi-mammal') { $ID = 'mi-mammal'; } elseif ($last_segment === 'mi-herptile') { $ID = 'mi-herptile'; } elseif ($last_segment === 'mi-fish') { $ID = 'mi-fish'; } elseif ($last_segment === 'mi-insect') { $ID = 'mi-insect'; } elseif ($last_segment === 'mi-shellfish') { $ID = 'mi-shellfish'; } elseif ($last_segment === 'mi-earth') { $ID = 'mi-earth'; } elseif ($last_segment === 'mi-fossil') { $ID = 'mi-fossil'; } elseif ($last_segment === 'mi-nature') { $ID = 'mi-nature'; } elseif ($last_segment === 'mi-culture') { $ID = 'mi-culture'; } elseif ($last_segment === 'mi-arts') { $ID = 'mi-arts'; } elseif ($last_segment === 'mi-politix') { $ID = 'mi-politix'; } elseif ($last_segment === 'mn') { $ID = 'mn'; } elseif ($last_segment === 'mn-sos') { $ID = 'mn-sos'; } elseif ($last_segment === 'mn-flower') { $ID = 'mn-flower'; } elseif ($last_segment === 'mn-tree') { $ID = 'mn-tree'; } elseif ($last_segment === 'mn-fruit') { $ID = 'mn-fruit'; } elseif ($last_segment === 'mn-plantmisc') { $ID = 'mn-plantmisc'; } elseif ($last_segment === 'mn-bird') { $ID = 'mn-bird'; } elseif ($last_segment === 'mn-mammal') { $ID = 'mn-mammal'; } elseif ($last_segment === 'mn-herptile') { $ID = 'mn-herptile'; } elseif ($last_segment === 'mn-fish') { $ID = 'mn-fish'; } elseif ($last_segment === 'mn-insect') { $ID = 'mn-insect'; } elseif ($last_segment === 'mn-life') { $ID = 'mn-life'; } elseif ($last_segment === 'mn-earth') { $ID = 'mn-earth'; } elseif ($last_segment === 'mn-fossil') { $ID = 'mn-fossil'; } elseif ($last_segment === 'mn-nature') { $ID = 'mn-nature'; } elseif ($last_segment === 'mn-culture') { $ID = 'mn-culture'; } elseif ($last_segment === 'mn-arts') { $ID = 'mn-arts'; } elseif ($last_segment === 'mn-politix') { $ID = 'mn-politix'; } elseif ($last_segment === 'ms') { $ID = 'ms'; } elseif ($last_segment === 'ms-sos') { $ID = 'ms-sos'; } elseif ($last_segment === 'ms-flower') { $ID = 'ms-flower'; } elseif ($last_segment === 'ms-tree') { $ID = 'ms-tree'; } elseif ($last_segment === 'ms-fruit') { $ID = 'ms-fruit'; } elseif ($last_segment === 'ms-plantmisc') { $ID = 'ms-plantmisc'; } elseif ($last_segment === 'ms-bird') { $ID = 'ms-bird'; } elseif ($last_segment === 'ms-mammal') { $ID = 'ms-mammal'; } elseif ($last_segment === 'ms-herptile') { $ID = 'ms-herptile'; } elseif ($last_segment === 'ms-fish') { $ID = 'ms-fish'; } elseif ($last_segment === 'ms-insect') { $ID = 'ms-insect'; } elseif ($last_segment === 'ms-shellfish') { $ID = 'ms-shellfish'; } elseif ($last_segment === 'ms-earth') { $ID = 'ms-earth'; } elseif ($last_segment === 'ms-fossil') { $ID = 'ms-fossil'; } elseif ($last_segment === 'ms-nature') { $ID = 'ms-nature'; } elseif ($last_segment === 'ms-culture') { $ID = 'ms-culture'; } elseif ($last_segment === 'ms-arts') { $ID = 'ms-arts'; } elseif ($last_segment === 'ms-politix') { $ID = 'ms-politix'; } elseif ($last_segment === 'mo') { $ID = 'mo'; } elseif ($last_segment === 'mo-sos') { $ID = 'mo-sos'; } elseif ($last_segment === 'mo-flower') { $ID = 'mo-flower'; } elseif ($last_segment === 'mo-tree') { $ID = 'mo-tree'; } elseif ($last_segment === 'mo-fruit') { $ID = 'mo-fruit'; } elseif ($last_segment === 'mo-grass') { $ID = 'mo-grass'; } elseif ($last_segment === 'mo-bird') { $ID = 'mo-bird'; } elseif ($last_segment === 'mo-mammal') { $ID = 'mo-mammal'; } elseif ($last_segment === 'mo-herptile') { $ID = 'mo-herptile'; } elseif ($last_segment === 'mo-fish') { $ID = 'mo-fish'; } elseif ($last_segment === 'mo-insect') { $ID = 'mo-insect'; } elseif ($last_segment === 'mo-shellfish') { $ID = 'mo-shellfish'; } elseif ($last_segment === 'mo-earth') { $ID = 'mo-earth'; } elseif ($last_segment === 'mo-fossil') { $ID = 'mo-fossil'; } elseif ($last_segment === 'mo-nature') { $ID = 'mo-nature'; } elseif ($last_segment === 'mo-culture') { $ID = 'mo-culture'; } elseif ($last_segment === 'mo-arts') { $ID = 'mo-arts'; } elseif ($last_segment === 'mo-politix') { $ID = 'mo-politix'; } elseif ($last_segment === 'mt') { $ID = 'mt'; } elseif ($last_segment === 'mt-sos') { $ID = 'mt-sos'; } elseif ($last_segment === 'mt-flag') { $ID = 'mt-flag'; } elseif ($last_segment === 'mt-flower') { $ID = 'mt-flower'; } elseif ($last_segment === 'mt-tree') { $ID = 'mt-tree'; } elseif ($last_segment === 'mt-grass') { $ID = 'mt-grass'; } elseif ($last_segment === 'mt-fruit') { $ID = 'mt-fruit'; } elseif ($last_segment === 'mt-bird') { $ID = 'mt-bird'; } elseif ($last_segment === 'mt-mammal') { $ID = 'mt-mammal'; } elseif ($last_segment === 'mt-herptile') { $ID = 'mt-herptile'; } elseif ($last_segment === 'mt-fish') { $ID = 'mt-fish'; } elseif ($last_segment === 'mt-insect') { $ID = 'mt-insect'; } elseif ($last_segment === 'mt-shellfish') { $ID = 'mt-shellfish'; } elseif ($last_segment === 'mt-earth') { $ID = 'mt-earth'; } elseif ($last_segment === 'mt-fossil') { $ID = 'mt-fossil'; } elseif ($last_segment === 'mt-nature') { $ID = 'mt-nature'; } elseif ($last_segment === 'mt-culture') { $ID = 'mt-culture'; } elseif ($last_segment === 'mt-arts') { $ID = 'mt-arts'; } elseif ($last_segment === 'mt-politix') { $ID = 'mt-politix'; } elseif ($last_segment === 'ne') { $ID = 'ne'; } elseif ($last_segment === 'ne-sos') { $ID = 'ne-sos'; } elseif ($last_segment === 'ne-flower') { $ID = 'ne-flower'; } elseif ($last_segment === 'ne-tree') { $ID = 'ne-tree'; } elseif ($last_segment === 'ne-grass') { $ID = 'ne-grass'; } elseif ($last_segment === 'ne-fruit') { $ID = 'ne-fruit'; } elseif ($last_segment === 'ne-bird') { $ID = 'ne-bird'; } elseif ($last_segment === 'ne-mammal') { $ID = 'ne-mammal'; } elseif ($last_segment === 'ne-herptile') { $ID = 'ne-herptile'; } elseif ($last_segment === 'ne-fish') { $ID = 'ne-fish'; } elseif ($last_segment === 'ne-insect') { $ID = 'ne-insect'; } elseif ($last_segment === 'ne-shellfish') { $ID = 'ne-shellfish'; } elseif ($last_segment === 'ne-earth') { $ID = 'ne-earth'; } elseif ($last_segment === 'ne-fossil') { $ID = 'ne-fossil'; } elseif ($last_segment === 'ne-nature') { $ID = 'ne-nature'; } elseif ($last_segment === 'ne-culture') { $ID = 'ne-culture'; } elseif ($last_segment === 'ne-arts') { $ID = 'ne-arts'; } elseif ($last_segment === 'ne-politix') { $ID = 'ne-politix'; } elseif ($last_segment === 'nv') { $ID = 'nv'; } elseif ($last_segment === 'nv-sos') { $ID = 'nv-sos'; } elseif ($last_segment === 'nv-flower') { $ID = 'nv-flower'; } elseif ($last_segment === 'nv-tree') { $ID = 'nv-tree'; } elseif ($last_segment === 'nv-grass') { $ID = 'nv-grass'; } elseif ($last_segment === 'nv-fruit') { $ID = 'nv-fruit'; } elseif ($last_segment === 'nv-bird') { $ID = 'nv-bird'; } elseif ($last_segment === 'nv-mammal') { $ID = 'nv-mammal'; } elseif ($last_segment === 'nv-herptile') { $ID = 'nv-herptile'; } elseif ($last_segment === 'nv-fish') { $ID = 'nv-fish'; } elseif ($last_segment === 'nv-insect') { $ID = 'nv-insect'; } elseif ($last_segment === 'nv-shellfish') { $ID = 'nv-shellfish'; } elseif ($last_segment === 'nv-earth') { $ID = 'nv-earth'; } elseif ($last_segment === 'nv-fossil') { $ID = 'nv-fossil'; } elseif ($last_segment === 'nv-nature') { $ID = 'nv-nature'; } elseif ($last_segment === 'nv-culture') { $ID = 'nv-culture'; } elseif ($last_segment === 'nv-arts') { $ID = 'nv-arts'; } elseif ($last_segment === 'nv-politix') { $ID = 'nv-politix'; } elseif ($last_segment === 'nh') { $ID = 'nh'; } elseif ($last_segment === 'nh-sos') { $ID = 'nh-sos'; } elseif ($last_segment === 'nh-flower') { $ID = 'nh-flower'; } elseif ($last_segment === 'nh-tree') { $ID = 'nh-tree'; } elseif ($last_segment === 'nh-fruit') { $ID = 'nh-fruit'; } elseif ($last_segment === 'nh-plantmisc') { $ID = 'nh-plantmisc'; } elseif ($last_segment === 'nh-bird') { $ID = 'nh-bird'; } elseif ($last_segment === 'nh-mammal') { $ID = 'nh-mammal'; } elseif ($last_segment === 'nh-herptile') { $ID = 'nh-herptile'; } elseif ($last_segment === 'nh-fish') { $ID = 'nh-fish'; } elseif ($last_segment === 'nh-insect') { $ID = 'nh-insect'; } elseif ($last_segment === 'nh-animalmisc') { $ID = 'nh-animalmisc'; } elseif ($last_segment === 'nh-earth') { $ID = 'nh-earth'; } elseif ($last_segment === 'nh-fossil') { $ID = 'nh-fossil'; } elseif ($last_segment === 'nh-nature') { $ID = 'nh-nature'; } elseif ($last_segment === 'nh-culture') { $ID = 'nh-culture'; } elseif ($last_segment === 'nh-arts') { $ID = 'nh-arts'; } elseif ($last_segment === 'nh-politix') { $ID = 'nh-politix'; } elseif ($last_segment === 'nj') { $ID = 'nj'; } elseif ($last_segment === 'nj-sos') { $ID = 'nj-sos'; } elseif ($last_segment === 'nj-flower') { $ID = 'nj-flower'; } elseif ($last_segment === 'nj-tree') { $ID = 'nj-tree'; } elseif ($last_segment === 'nj-fruit') { $ID = 'nj-fruit'; } elseif ($last_segment === 'nj-plantmisc') { $ID = 'nj-plantmisc'; } elseif ($last_segment === 'nj-bird') { $ID = 'nj-bird'; } elseif ($last_segment === 'nj-mammal') { $ID = 'nj-mammal'; } elseif ($last_segment === 'nj-herptile') { $ID = 'nj-herptile'; } elseif ($last_segment === 'nj-fish') { $ID = 'nj-fish'; } elseif ($last_segment === 'nj-insect') { $ID = 'nj-insect'; } elseif ($last_segment === 'nj-shellfish') { $ID = 'nj-shellfish'; } elseif ($last_segment === 'nj-earth') { $ID = 'nj-earth'; } elseif ($last_segment === 'nj-fossil') { $ID = 'nj-fossil'; } elseif ($last_segment === 'nj-nature') { $ID = 'nj-nature'; } elseif ($last_segment === 'nj-culture') { $ID = 'nj-culture'; } elseif ($last_segment === 'nj-arts') { $ID = 'nj-arts'; } elseif ($last_segment === 'nj-politix') { $ID = 'nj-politix'; } elseif ($last_segment === 'nm') { $ID = 'nm'; } elseif ($last_segment === 'nm-sos') { $ID = 'nm-sos'; } elseif ($last_segment === 'nm-flower') { $ID = 'nm-flower'; } elseif ($last_segment === 'nm-tree') { $ID = 'nm-tree'; } elseif ($last_segment === 'nm-grass') { $ID = 'nm-grass'; } elseif ($last_segment === 'nm-fruit') { $ID = 'nm-fruit'; } elseif ($last_segment === 'nm-bird') { $ID = 'nm-bird'; } elseif ($last_segment === 'nm-mammal') { $ID = 'nm-mammal'; } elseif ($last_segment === 'nm-herptile') { $ID = 'nm-herptile'; } elseif ($last_segment === 'nm-fish') { $ID = 'nm-fish'; } elseif ($last_segment === 'nm-insect') { $ID = 'nm-insect'; } elseif ($last_segment === 'nm-shellfish') { $ID = 'nm-shellfish'; } elseif ($last_segment === 'nm-earth') { $ID = 'nm-earth'; } elseif ($last_segment === 'nm-fossil') { $ID = 'nm-fossil'; } elseif ($last_segment === 'nm-nature') { $ID = 'nm-nature'; } elseif ($last_segment === 'nm-culture') { $ID = 'nm-culture'; } elseif ($last_segment === 'nm-arts') { $ID = 'nm-arts'; } elseif ($last_segment === 'nm-politix') { $ID = 'nm-politix'; } elseif ($last_segment === 'ny') { $ID = 'ny'; } elseif ($last_segment === 'ny-sos') { $ID = 'ny-sos'; } elseif ($last_segment === 'ny-flower') { $ID = 'ny-flower'; } elseif ($last_segment === 'ny-tree') { $ID = 'ny-tree'; } elseif ($last_segment === 'ny-fruit') { $ID = 'ny-fruit'; } elseif ($last_segment === 'ny-plantmisc') { $ID = 'ny-plantmisc'; } elseif ($last_segment === 'ny-bird') { $ID = 'ny-bird'; } elseif ($last_segment === 'ny-mammal') { $ID = 'ny-mammal'; } elseif ($last_segment === 'ny-herptile') { $ID = 'ny-herptile'; } elseif ($last_segment === 'ny-fish') { $ID = 'ny-fish'; } elseif ($last_segment === 'ny-insect') { $ID = 'ny-insect'; } elseif ($last_segment === 'ny-shellfish') { $ID = 'ny-shellfish'; } elseif ($last_segment === 'ny-earth') { $ID = 'ny-earth'; } elseif ($last_segment === 'ny-fossil') { $ID = 'ny-fossil'; } elseif ($last_segment === 'ny-nature') { $ID = 'ny-nature'; } elseif ($last_segment === 'ny-culture') { $ID = 'ny-culture'; } elseif ($last_segment === 'ny-arts') { $ID = 'ny-arts'; } elseif ($last_segment === 'ny-politix') { $ID = 'ny-politix'; } elseif ($last_segment === 'nc') { $ID = 'nc'; } elseif ($last_segment === 'nc-sos') { $ID = 'nc-sos'; } elseif ($last_segment === 'nc-flower') { $ID = 'nc-flower'; } elseif ($last_segment === 'nc-tree') { $ID = 'nc-tree'; } elseif ($last_segment === 'nc-fruit') { $ID = 'nc-fruit'; } elseif ($last_segment === 'nc-plantmisc') { $ID = 'nc-plantmisc'; } elseif ($last_segment === 'nc-bird') { $ID = 'nc-bird'; } elseif ($last_segment === 'nc-mammal') { $ID = 'nc-mammal'; } elseif ($last_segment === 'nc-herptile') { $ID = 'nc-herptile'; } elseif ($last_segment === 'nc-fish') { $ID = 'nc-fish'; } elseif ($last_segment === 'nc-insect') { $ID = 'nc-insect'; } elseif ($last_segment === 'nc-shellfish') { $ID = 'nc-shellfish'; } elseif ($last_segment === 'nc-earth') { $ID = 'nc-earth'; } elseif ($last_segment === 'nc-fossil') { $ID = 'nc-fossil'; } elseif ($last_segment === 'nc-nature') { $ID = 'nc-nature'; } elseif ($last_segment === 'nc-culture') { $ID = 'nc-culture'; } elseif ($last_segment === 'nc-arts') { $ID = 'nc-arts'; } elseif ($last_segment === 'nc-politix') { $ID = 'nc-politix'; } elseif ($last_segment === 'nd') { $ID = 'nd'; } elseif ($last_segment === 'nd-sos') { $ID = 'nd-sos'; } elseif ($last_segment === 'nd-flower') { $ID = 'nd-flower'; } elseif ($last_segment === 'nd-tree') { $ID = 'nd-tree'; } elseif ($last_segment === 'nd-grass') { $ID = 'nd-grass'; } elseif ($last_segment === 'nd-fruit') { $ID = 'nd-fruit'; } elseif ($last_segment === 'nd-bird') { $ID = 'nd-bird'; } elseif ($last_segment === 'nd-mammal') { $ID = 'nd-mammal'; } elseif ($last_segment === 'nd-herptile') { $ID = 'nd-herptile'; } elseif ($last_segment === 'nd-fish') { $ID = 'nd-fish'; } elseif ($last_segment === 'nd-insect') { $ID = 'nd-insect'; } elseif ($last_segment === 'nd-shellfish') { $ID = 'nd-shellfish'; } elseif ($last_segment === 'nd-earth') { $ID = 'nd-earth'; } elseif ($last_segment === 'nd-fossil') { $ID = 'nd-fossil'; } elseif ($last_segment === 'nd-nature') { $ID = 'nd-nature'; } elseif ($last_segment === 'nd-culture') { $ID = 'nd-culture'; } elseif ($last_segment === 'nd-arts') { $ID = 'nd-arts'; } elseif ($last_segment === 'nd-politix') { $ID = 'nd-politix'; } elseif ($last_segment === 'oh') { $ID = 'oh'; } elseif ($last_segment === 'oh-sos') { $ID = 'oh-sos'; } elseif ($last_segment === 'oh-flower') { $ID = 'oh-flower'; } elseif ($last_segment === 'oh-tree') { $ID = 'oh-tree'; } elseif ($last_segment === 'oh-fruit') { $ID = 'oh-fruit'; } elseif ($last_segment === 'oh-plantmisc') { $ID = 'oh-plantmisc'; } elseif ($last_segment === 'oh-bird') { $ID = 'oh-bird'; } elseif ($last_segment === 'oh-mammal') { $ID = 'oh-mammal'; } elseif ($last_segment === 'oh-herptile') { $ID = 'oh-herptile'; } elseif ($last_segment === 'oh-fish') { $ID = 'oh-fish'; } elseif ($last_segment === 'oh-insect') { $ID = 'oh-insect'; } elseif ($last_segment === 'oh-shellfish') { $ID = 'oh-shellfish'; } elseif ($last_segment === 'oh-earth') { $ID = 'oh-earth'; } elseif ($last_segment === 'oh-fossil') { $ID = 'oh-fossil'; } elseif ($last_segment === 'oh-nature') { $ID = 'oh-nature'; } elseif ($last_segment === 'oh-culture') { $ID = 'oh-culture'; } elseif ($last_segment === 'oh-arts') { $ID = 'oh-arts'; } elseif ($last_segment === 'oh-politix') { $ID = 'oh-politix'; } elseif ($last_segment === 'ok') { $ID = 'ok'; } elseif ($last_segment === 'ok-sos') { $ID = 'ok-sos'; } elseif ($last_segment === 'ok-flower') { $ID = 'ok-flower'; } elseif ($last_segment === 'ok-tree') { $ID = 'ok-tree'; } elseif ($last_segment === 'ok-grass') { $ID = 'ok-grass'; } elseif ($last_segment === 'ok-fruit') { $ID = 'ok-fruit'; } elseif ($last_segment === 'ok-bird') { $ID = 'ok-bird'; } elseif ($last_segment === 'ok-mammal') { $ID = 'ok-mammal'; } elseif ($last_segment === 'ok-herptile') { $ID = 'ok-herptile'; } elseif ($last_segment === 'ok-fish') { $ID = 'ok-fish'; } elseif ($last_segment === 'ok-insect') { $ID = 'ok-insect'; } elseif ($last_segment === 'ok-shellfish') { $ID = 'ok-shellfish'; } elseif ($last_segment === 'ok-earth') { $ID = 'ok-earth'; } elseif ($last_segment === 'ok-fossil') { $ID = 'ok-fossil'; } elseif ($last_segment === 'ok-soil') { $ID = 'ok-soil'; } elseif ($last_segment === 'ok-nature') { $ID = 'ok-nature'; } elseif ($last_segment === 'ok-culture') { $ID = 'ok-culture'; } elseif ($last_segment === 'ok-arts') { $ID = 'ok-arts'; } elseif ($last_segment === 'or') { $ID = 'or'; } elseif ($last_segment === 'or-sos') { $ID = 'or-sos'; } elseif ($last_segment === 'or-flower') { $ID = 'or-flower'; } elseif ($last_segment === 'or-tree') { $ID = 'or-tree'; } elseif ($last_segment === 'or-fruit') { $ID = 'or-fruit'; } elseif ($last_segment === 'or-plantmisc') { $ID = 'or-plantmisc'; } elseif ($last_segment === 'or-bird') { $ID = 'or-bird'; } elseif ($last_segment === 'or-mammal') { $ID = 'or-mammal'; } elseif ($last_segment === 'or-herptile') { $ID = 'or-herptile'; } elseif ($last_segment === 'or-fish') { $ID = 'or-fish'; } elseif ($last_segment === 'or-insect') { $ID = 'or-insect'; } elseif ($last_segment === 'or-shellfish') { $ID = 'or-shellfish'; } elseif ($last_segment === 'or-life') { $ID = 'or-life'; } elseif ($last_segment === 'or-earth') { $ID = 'or-earth'; } elseif ($last_segment === 'or-fossil') { $ID = 'or-fossil'; } elseif ($last_segment === 'or-nature') { $ID = 'or-nature'; } elseif ($last_segment === 'or-culture') { $ID = 'or-culture'; } elseif ($last_segment === 'or-politix') { $ID = 'or-politix'; } elseif ($last_segment === 'pa') { $ID = 'pa'; } elseif ($last_segment === 'pa-sos') { $ID = 'pa-sos'; } elseif ($last_segment === 'pa-flag') { $ID = 'pa-flag'; } elseif ($last_segment === 'pa-flag') { $ID = 'pa-flag'; } elseif ($last_segment === 'pa-flower') { $ID = 'pa-flower'; } elseif ($last_segment === 'pa-tree') { $ID = 'pa-tree'; } elseif ($last_segment === 'pa-fruit') { $ID = 'pa-fruit'; } elseif ($last_segment === 'pa-plantmisc') { $ID = 'pa-plantmisc'; } elseif ($last_segment === 'pa-bird') { $ID = 'pa-bird'; } elseif ($last_segment === 'pa-mammal') { $ID = 'pa-mammal'; } elseif ($last_segment === 'pa-herptile') { $ID = 'pa-herptile'; } elseif ($last_segment === 'pa-fish') { $ID = 'pa-fish'; } elseif ($last_segment === 'pa-insect') { $ID = 'pa-insect'; } elseif ($last_segment === 'pa-shellfish') { $ID = 'pa-shellfish'; } elseif ($last_segment === 'pa-earth') { $ID = 'pa-earth'; } elseif ($last_segment === 'pa-fossil') { $ID = 'pa-fossil'; } elseif ($last_segment === 'pa-nature') { $ID = 'pa-nature'; } elseif ($last_segment === 'pa-culture') { $ID = 'pa-culture'; } elseif ($last_segment === 'pa-arts') { $ID = 'pa-arts'; } elseif ($last_segment === 'pa-politix') { $ID = 'pa-politix'; } elseif ($last_segment === 'ri') { $ID = 'ri'; } elseif ($last_segment === 'ri-sos') { $ID = 'ri-sos'; } elseif ($last_segment === 'ri-flower') { $ID = 'ri-flower'; } elseif ($last_segment === 'ri-tree') { $ID = 'ri-tree'; } elseif ($last_segment === 'ri-fruit') { $ID = 'ri-fruit'; } elseif ($last_segment === 'ri-plantmisc') { $ID = 'ri-plantmisc'; } elseif ($last_segment === 'ri-bird') { $ID = 'ri-bird'; } elseif ($last_segment === 'ri-mammal') { $ID = 'ri-mammal'; } elseif ($last_segment === 'ri-herptile') { $ID = 'ri-herptile'; } elseif ($last_segment === 'ri-fish') { $ID = 'ri-fish'; } elseif ($last_segment === 'ri-insect') { $ID = 'ri-insect'; } elseif ($last_segment === 'ri-shellfish') { $ID = 'ri-shellfish'; } elseif ($last_segment === 'ri-earth') { $ID = 'ri-earth'; } elseif ($last_segment === 'ri-fossil') { $ID = 'ri-fossil'; } elseif ($last_segment === 'ri-nature') { $ID = 'ri-nature'; } elseif ($last_segment === 'ri-culture') { $ID = 'ri-culture'; } elseif ($last_segment === 'ri-arts') { $ID = 'ri-arts'; } elseif ($last_segment === 'ri-politix') { $ID = 'ri-politix'; } elseif ($last_segment === 'sc') { $ID = 'sc'; } elseif ($last_segment === 'sc-sos') { $ID = 'sc-sos'; } elseif ($last_segment === 'sc-flower') { $ID = 'sc-flower'; } elseif ($last_segment === 'sc-tree') { $ID = 'sc-tree'; } elseif ($last_segment === 'sc-grass') { $ID = 'sc-grass'; } elseif ($last_segment === 'sc-fruit') { $ID = 'sc-fruit'; } elseif ($last_segment === 'sc-bird') { $ID = 'sc-bird'; } elseif ($last_segment === 'sc-mammal') { $ID = 'sc-mammal'; } elseif ($last_segment === 'sc-herptile') { $ID = 'sc-herptile'; } elseif ($last_segment === 'sc-fish') { $ID = 'sc-fish'; } elseif ($last_segment === 'sc-insect') { $ID = 'sc-insect'; } elseif ($last_segment === 'sc-shellfish') { $ID = 'sc-shellfish'; } elseif ($last_segment === 'sc-animalmisc') { $ID = 'sc-animalmisc'; } elseif ($last_segment === 'sc-earth') { $ID = 'sc-earth'; } elseif ($last_segment === 'sc-fossil') { $ID = 'sc-fossil'; } elseif ($last_segment === 'sc-nature') { $ID = 'sc-nature'; } elseif ($last_segment === 'sc-culture') { $ID = 'sc-culture'; } elseif ($last_segment === 'sc-arts') { $ID = 'sc-arts'; } elseif ($last_segment === 'sc-politix') { $ID = 'sc-politix'; } elseif ($last_segment === 'sd') { $ID = 'sd'; } elseif ($last_segment === 'sd-sos') { $ID = 'sd-sos'; } elseif ($last_segment === 'sd-flag') { $ID = 'sd-flag'; } elseif ($last_segment === 'sd-flower') { $ID = 'sd-flower'; } elseif ($last_segment === 'sd-tree') { $ID = 'sd-tree'; } elseif ($last_segment === 'sd-grass') { $ID = 'sd-grass'; } elseif ($last_segment === 'sd-fruit') { $ID = 'sd-fruit'; } elseif ($last_segment === 'sd-bird') { $ID = 'sd-bird'; } elseif ($last_segment === 'sd-mammal') { $ID = 'sd-mammal'; } elseif ($last_segment === 'sd-herptile') { $ID = 'sd-herptile'; } elseif ($last_segment === 'sd-fish') { $ID = 'sd-fish'; } elseif ($last_segment === 'sd-insect') { $ID = 'sd-insect'; } elseif ($last_segment === 'sd-shellfish') { $ID = 'sd-shellfish'; } elseif ($last_segment === 'sd-earth') { $ID = 'sd-earth'; } elseif ($last_segment === 'sd-fossil') { $ID = 'sd-fossil'; } elseif ($last_segment === 'sd-nature') { $ID = 'sd-nature'; } elseif ($last_segment === 'sd-culture') { $ID = 'sd-culture'; } elseif ($last_segment === 'sd-arts') { $ID = 'sd-arts'; } elseif ($last_segment === 'sd-politix') { $ID = 'sd-politix'; } elseif ($last_segment === 'tn') { $ID = 'tn'; } elseif ($last_segment === 'tn-sos') { $ID = 'tn-sos'; } elseif ($last_segment === 'tn-flower') { $ID = 'tn-flower'; } elseif ($last_segment === 'tn-tree') { $ID = 'tn-tree'; } elseif ($last_segment === 'tn-fruit') { $ID = 'tn-fruit'; } elseif ($last_segment === 'tn-plantmisc') { $ID = 'tn-plantmisc'; } elseif ($last_segment === 'tn-bird') { $ID = 'tn-bird'; } elseif ($last_segment === 'tn-mammal') { $ID = 'tn-mammal'; } elseif ($last_segment === 'tn-herptile') { $ID = 'tn-herptile'; } elseif ($last_segment === 'tn-fish') { $ID = 'tn-fish'; } elseif ($last_segment === 'tn-insect') { $ID = 'tn-insect'; } elseif ($last_segment === 'tn-shellfish') { $ID = 'tn-shellfish'; } elseif ($last_segment === 'tn-earth') { $ID = 'tn-earth'; } elseif ($last_segment === 'tn-fossil') { $ID = 'tn-fossil'; } elseif ($last_segment === 'tn-nature') { $ID = 'tn-nature'; } elseif ($last_segment === 'tn-culture') { $ID = 'tn-culture'; } elseif ($last_segment === 'tn-arts') { $ID = 'tn-arts'; } elseif ($last_segment === 'tn-politix') { $ID = 'tn-politix'; } elseif ($last_segment === 'tx') { $ID = 'tx'; } elseif ($last_segment === 'tx-sos') { $ID = 'tx-sos'; } elseif ($last_segment === 'tx-flower') { $ID = 'tx-flower'; } elseif ($last_segment === 'tx-tree') { $ID = 'tx-tree'; } elseif ($last_segment === 'tx-grass') { $ID = 'tx-grass'; } elseif ($last_segment === 'tx-fruit') { $ID = 'tx-fruit'; } elseif ($last_segment === 'tx-plantmisc') { $ID = 'tx-plantmisc'; } elseif ($last_segment === 'tx-bird') { $ID = 'tx-bird'; } elseif ($last_segment === 'tx-mammal') { $ID = 'tx-mammal'; } elseif ($last_segment === 'tx-herptile') { $ID = 'tx-herptile'; } elseif ($last_segment === 'tx-fish') { $ID = 'tx-fish'; } elseif ($last_segment === 'tx-insect') { $ID = 'tx-insect'; } elseif ($last_segment === 'tx-shellfish') { $ID = 'tx-shellfish'; } elseif ($last_segment === 'tx-life') { $ID = 'tx-life'; } elseif ($last_segment === 'tx-earth') { $ID = 'tx-earth'; } elseif ($last_segment === 'tx-fossil') { $ID = 'tx-fossil'; } elseif ($last_segment === 'tx-nature') { $ID = 'tx-nature'; } elseif ($last_segment === 'tx-culture') { $ID = 'tx-culture'; } elseif ($last_segment === 'tx-arts') { $ID = 'tx-arts'; } elseif ($last_segment === 'tx-politix') { $ID = 'tx-politix'; } elseif ($last_segment === 'ut') { $ID = 'ut'; } elseif ($last_segment === 'ut-sos') { $ID = 'ut-sos'; } elseif ($last_segment === 'ut-flower') { $ID = 'ut-flower'; } elseif ($last_segment === 'ut-tree') { $ID = 'ut-tree'; } elseif ($last_segment === 'ut-grass') { $ID = 'ut-grass'; } elseif ($last_segment === 'ut-fruit') { $ID = 'ut-fruit'; } elseif ($last_segment === 'ut-bird') { $ID = 'ut-bird'; } elseif ($last_segment === 'ut-mammal') { $ID = 'ut-mammal'; } elseif ($last_segment === 'ut-herptile') { $ID = 'ut-herptile'; } elseif ($last_segment === 'ut-fish') { $ID = 'ut-fish'; } elseif ($last_segment === 'ut-insect') { $ID = 'ut-insect'; } elseif ($last_segment === 'ut-shellfish') { $ID = 'ut-shellfish'; } elseif ($last_segment === 'ut-life') { $ID = 'ut-life'; } elseif ($last_segment === 'ut-earth') { $ID = 'ut-earth'; } elseif ($last_segment === 'ut-fossil') { $ID = 'ut-fossil'; } elseif ($last_segment === 'ut-nature') { $ID = 'ut-nature'; } elseif ($last_segment === 'ut-culture') { $ID = 'ut-culture'; } elseif ($last_segment === 'ut-arts') { $ID = 'ut-arts'; } elseif ($last_segment === 'ut-politix') { $ID = 'ut-politix'; } elseif ($last_segment === 'vt') { $ID = 'vt'; } elseif ($last_segment === 'vt-sos') { $ID = 'vt-sos'; } elseif ($last_segment === 'vt-flower') { $ID = 'vt-flower'; } elseif ($last_segment === 'vt-tree') { $ID = 'vt-tree'; } elseif ($last_segment === 'vt-fruit') { $ID = 'vt-fruit'; } elseif ($last_segment === 'vt-plantmisc') { $ID = 'vt-plantmisc'; } elseif ($last_segment === 'vt-bird') { $ID = 'vt-bird'; } elseif ($last_segment === 'vt-mammal') { $ID = 'vt-mammal'; } elseif ($last_segment === 'vt-herptile') { $ID = 'vt-herptile'; } elseif ($last_segment === 'vt-fish') { $ID = 'vt-fish'; } elseif ($last_segment === 'vt-insect') { $ID = 'vt-insect'; } elseif ($last_segment === 'vt-shellfish') { $ID = 'vt-shellfish'; } elseif ($last_segment === 'vt-earth') { $ID = 'vt-earth'; } elseif ($last_segment === 'vt-fossil') { $ID = 'vt-fossil'; } elseif ($last_segment === 'vt-nature') { $ID = 'vt-nature'; } elseif ($last_segment === 'vt-culture') { $ID = 'vt-culture'; } elseif ($last_segment === 'vt-arts') { $ID = 'vt-arts'; } elseif ($last_segment === 'vt-politix') { $ID = 'vt-politix'; } elseif ($last_segment === 'va') { $ID = 'va'; } elseif ($last_segment === 'va-sos') { $ID = 'va-sos'; } elseif ($last_segment === 'va-flower') { $ID = 'va-flower'; } elseif ($last_segment === 'va-tree') { $ID = 'va-tree'; } elseif ($last_segment === 'va-fruit') { $ID = 'va-fruit'; } elseif ($last_segment === 'va-plantmisc') { $ID = 'va-plantmisc'; } elseif ($last_segment === 'va-bird') { $ID = 'va-bird'; } elseif ($last_segment === 'va-mammal') { $ID = 'va-mammal'; } elseif ($last_segment === 'va-herptile') { $ID = 'va-herptile'; } elseif ($last_segment === 'va-fish') { $ID = 'va-fish'; } elseif ($last_segment === 'va-insect') { $ID = 'va-insect'; } elseif ($last_segment === 'va-shellfish') { $ID = 'va-shellfish'; } elseif ($last_segment === 'va-earth') { $ID = 'va-earth'; } elseif ($last_segment === 'va-fossil') { $ID = 'va-fossil'; } elseif ($last_segment === 'va-nature') { $ID = 'va-nature'; } elseif ($last_segment === 'va-culture') { $ID = 'va-culture'; } elseif ($last_segment === 'va-arts') { $ID = 'va-arts'; } elseif ($last_segment === 'va-politix') { $ID = 'va-politix'; } elseif ($last_segment === 'wa') { $ID = 'wa'; } elseif ($last_segment === 'wa-sos') { $ID = 'wa-sos'; } elseif ($last_segment === 'wa-flag') { $ID = 'wa-flag'; } elseif ($last_segment === 'wa-flower') { $ID = 'wa-flower'; } elseif ($last_segment === 'wa-tree') { $ID = 'wa-tree'; } elseif ($last_segment === 'wa-grass') { $ID = 'wa-grass'; } elseif ($last_segment === 'wa-fruit') { $ID = 'wa-fruit'; } elseif ($last_segment === 'wa-bird') { $ID = 'wa-bird'; } elseif ($last_segment === 'wa-mammal') { $ID = 'wa-mammal'; } elseif ($last_segment === 'wa-herptile') { $ID = 'wa-herptile'; } elseif ($last_segment === 'wa-fish') { $ID = 'wa-fish'; } elseif ($last_segment === 'wa-insect') { $ID = 'wa-insect'; } elseif ($last_segment === 'wa-shellfish') { $ID = 'wa-shellfish'; } elseif ($last_segment === 'wa-earth') { $ID = 'wa-earth'; } elseif ($last_segment === 'wa-fossil') { $ID = 'wa-fossil'; } elseif ($last_segment === 'wa-nature') { $ID = 'wa-nature'; } elseif ($last_segment === 'wa-culture') { $ID = 'wa-culture'; } elseif ($last_segment === 'wa-arts') { $ID = 'wa-arts'; } elseif ($last_segment === 'wa-politix') { $ID = 'wa-politix'; } elseif ($last_segment === 'wv') { $ID = 'wv'; } elseif ($last_segment === 'wv-sos') { $ID = 'wv-sos'; } elseif ($last_segment === 'wv-flower') { $ID = 'wv-flower'; } elseif ($last_segment === 'wv-tree') { $ID = 'wv-tree'; } elseif ($last_segment === 'wv-fruit') { $ID = 'wv-fruit'; } elseif ($last_segment === 'wv-plantmisc') { $ID = 'wv-plantmisc'; } elseif ($last_segment === 'wv-bird') { $ID = 'wv-bird'; } elseif ($last_segment === 'wv-mammal') { $ID = 'wv-mammal'; } elseif ($last_segment === 'wv-herptile') { $ID = 'wv-herptile'; } elseif ($last_segment === 'wv-fish') { $ID = 'wv-fish'; } elseif ($last_segment === 'wv-insect') { $ID = 'wv-insect'; } elseif ($last_segment === 'wv-shellfish') { $ID = 'wv-shellfish'; } elseif ($last_segment === 'wv-earth') { $ID = 'wv-earth'; } elseif ($last_segment === 'wv-fossil') { $ID = 'wv-fossil'; } elseif ($last_segment === 'wv-nature') { $ID = 'wv-nature'; } elseif ($last_segment === 'wv-culture') { $ID = 'wv-culture'; } elseif ($last_segment === 'wv-arts') { $ID = 'wv-arts'; } elseif ($last_segment === 'wv-politix') { $ID = 'wv-politix'; } elseif ($last_segment === 'wi') { $ID = 'wi'; } elseif ($last_segment === 'wi-sos') { $ID = 'wi-sos'; } elseif ($last_segment === 'wi-flower') { $ID = 'wi-flower'; } elseif ($last_segment === 'wi-tree') { $ID = 'wi-tree'; } elseif ($last_segment === 'wi-fruit') { $ID = 'wi-fruit'; } elseif ($last_segment === 'wi-plantmisc') { $ID = 'wi-plantmisc'; } elseif ($last_segment === 'wi-bird') { $ID = 'wi-bird'; } elseif ($last_segment === 'wi-mammal') { $ID = 'wi-mammal'; } elseif ($last_segment === 'wi-herptile') { $ID = 'wi-herptile'; } elseif ($last_segment === 'wi-fish') { $ID = 'wi-fish'; } elseif ($last_segment === 'wi-insect') { $ID = 'wi-insect'; } elseif ($last_segment === 'wi-earth') { $ID = 'wi-earth'; } elseif ($last_segment === 'wi-fossil') { $ID = 'wi-fossil'; } elseif ($last_segment === 'wi-nature') { $ID = 'wi-nature'; } elseif ($last_segment === 'wi-culture') { $ID = 'wi-culture'; } elseif ($last_segment === 'wi-arts') { $ID = 'wi-arts'; } elseif ($last_segment === 'wi-politix') { $ID = 'wi-politix'; } elseif ($last_segment === 'wy') { $ID = 'wy'; } elseif ($last_segment === 'wy-sos') { $ID = 'wy-sos'; } elseif ($last_segment === 'wy-flower') { $ID = 'wy-flower'; } elseif ($last_segment === 'wy-tree') { $ID = 'wy-tree'; } elseif ($last_segment === 'wy-grass') { $ID = 'wy-grass'; } elseif ($last_segment === 'wy-fruit') { $ID = 'wy-fruit'; } elseif ($last_segment === 'wy-plantmisc') { $ID = 'wy-plantmisc'; } elseif ($last_segment === 'wy-bird') { $ID = 'wy-bird'; } elseif ($last_segment === 'wy-mammal') { $ID = 'wy-mammal'; } elseif ($last_segment === 'wy-herptile') { $ID = 'wy-herptile'; } elseif ($last_segment === 'wy-fish') { $ID = 'wy-fish'; } elseif ($last_segment === 'wy-insect') { $ID = 'wy-insect'; } elseif ($last_segment === 'wy-shellfish') { $ID = 'wy-shellfish'; } elseif ($last_segment === 'wy-earth') { $ID = 'wy-earth'; } elseif ($last_segment === 'wy-fossil') { $ID = 'wy-fossil'; } elseif ($last_segment === 'wy-nature') { $ID = 'wy-nature'; } elseif ($last_segment === 'wy-culture') { $ID = 'wy-culture'; } elseif ($last_segment === 'wy-arts') { $ID = 'wy-arts'; } elseif ($last_segment === 'wy-politix') { $ID = 'wy-politix'; } elseif ($last_segment === 'south-america') { $ID = 'south-america'; } elseif ($last_segment === 'arg') { $ID = 'arg'; } elseif ($last_segment === 'bol') { $ID = 'bol'; } elseif ($last_segment === 'bra') { $ID = 'bra'; } elseif ($last_segment === 'chl') { $ID = 'chl'; } elseif ($last_segment === 'col') { $ID = 'col'; } elseif ($last_segment === 'ecu') { $ID = 'ecu'; } elseif ($last_segment === 'guf') { $ID = 'guf'; } elseif ($last_segment === 'guy') { $ID = 'guy'; } elseif ($last_segment === 'pry') { $ID = 'pry'; } elseif ($last_segment === 'per') { $ID = 'per'; } elseif ($last_segment === 'sur') { $ID = 'sur'; } elseif ($last_segment === 'ury') { $ID = 'ury'; } elseif ($last_segment === 'ven') { $ID = 'ven'; } elseif ($last_segment === 'caribbean') { $ID = 'caribbean'; } elseif ($last_segment === 'aia') { $ID = 'aia'; } elseif ($last_segment === 'atg') { $ID = 'atg'; } elseif ($last_segment === 'abw') { $ID = 'abw'; } elseif ($last_segment === 'bhs') { $ID = 'bhs'; } elseif ($last_segment === 'brb') { $ID = 'brb'; } elseif ($last_segment === 'bes') { $ID = 'bes'; } elseif ($last_segment === 'cym') { $ID = 'cym'; } elseif ($last_segment === 'cub') { $ID = 'cub'; } elseif ($last_segment === 'cuw') { $ID = 'cuw'; } elseif ($last_segment === 'dma') { $ID = 'dma'; } elseif ($last_segment === 'dom') { $ID = 'dom'; } elseif ($last_segment === 'grd') { $ID = 'grd'; } elseif ($last_segment === 'glp') { $ID = 'glp'; } elseif ($last_segment === 'hti') { $ID = 'hti'; } elseif ($last_segment === 'jam') { $ID = 'jam'; } elseif ($last_segment === 'mtq') { $ID = 'mtq'; } elseif ($last_segment === 'msr') { $ID = 'msr'; } elseif ($last_segment === 'pri') { $ID = 'pri'; } elseif ($last_segment === 'saba') { $ID = 'saba'; } elseif ($last_segment === 'blm') { $ID = 'blm'; } elseif ($last_segment === 'kna') { $ID = 'kna'; } elseif ($last_segment === 'lca') { $ID = 'lca'; } elseif ($last_segment === 'vct') { $ID = 'vct'; } elseif ($last_segment === 'sineus') { $ID = 'sineus'; } elseif ($last_segment === 'sxm') { $ID = 'sxm'; } elseif ($last_segment === 'tto') { $ID = 'tto'; } elseif ($last_segment === 'tca') { $ID = 'tca'; } elseif ($last_segment === 'vgb') { $ID = 'vgb'; } elseif ($last_segment === 'vir') { $ID = 'vir'; } elseif ($last_segment === 'latin-america') { $ID = 'latin-america'; } elseif ($last_segment === 'oceania') { $ID = 'oceania'; } elseif ($last_segment === 'asm') { $ID = 'asm'; } elseif ($last_segment === 'aus') { $ID = 'aus'; } elseif ($last_segment === 'au-ct') { $ID = 'au-ct'; } elseif ($last_segment === 'au-ns') { $ID = 'au-ns'; } elseif ($last_segment === 'au-nt') { $ID = 'au-nt'; } elseif ($last_segment === 'au-ql') { $ID = 'au-ql'; } elseif ($last_segment === 'au-sa') { $ID = 'au-sa'; } elseif ($last_segment === 'au-ts') { $ID = 'au-ts'; } elseif ($last_segment === 'au-vi') { $ID = 'au-vi'; } elseif ($last_segment === 'au-wa') { $ID = 'au-wa'; } elseif ($last_segment === 'cok') { $ID = 'cok'; } elseif ($last_segment === 'easter') { $ID = 'easter'; } elseif ($last_segment === 'fji') { $ID = 'fji'; } elseif ($last_segment === 'pyf') { $ID = 'pyf'; } elseif ($last_segment === 'gum') { $ID = 'gum'; } elseif ($last_segment === 'kir') { $ID = 'kir'; } elseif ($last_segment === 'mhl') { $ID = 'mhl'; } elseif ($last_segment === 'fsm') { $ID = 'fsm'; } elseif ($last_segment === 'nru') { $ID = 'nru'; } elseif ($last_segment === 'ncl') { $ID = 'ncl'; } elseif ($last_segment === 'nzl') { $ID = 'nzl'; } elseif ($last_segment === 'niu') { $ID = 'niu'; } elseif ($last_segment === 'nfk') { $ID = 'nfk'; } elseif ($last_segment === 'mnp') { $ID = 'mnp'; } elseif ($last_segment === 'plw') { $ID = 'plw'; } elseif ($last_segment === 'png') { $ID = 'png'; } elseif ($last_segment === 'pcn') { $ID = 'pcn'; } elseif ($last_segment === 'wsm') { $ID = 'wsm'; } elseif ($last_segment === 'slb') { $ID = 'slb'; } elseif ($last_segment === 'tkl') { $ID = 'tkl'; } elseif ($last_segment === 'ton') { $ID = 'ton'; } elseif ($last_segment === 'tuv') { $ID = 'tuv'; } elseif ($last_segment === 'vut') { $ID = 'vut'; } elseif ($last_segment === 'xwk') { $ID = 'xwk'; } elseif ($last_segment === 'wlf') { $ID = 'wlf'; } elseif ($last_segment === 'atlantic-ocean') { $ID = 'atlantic-ocean'; } elseif ($last_segment === 'bmu') { $ID = 'bmu'; } elseif ($last_segment === 'flk') { $ID = 'flk'; } elseif ($last_segment === 'isl') { $ID = 'isl'; } elseif ($last_segment === 'shn') { $ID = 'shn'; } elseif ($last_segment === 'sgs') { $ID = 'sgs'; } elseif ($last_segment === 'indian-ocean') { $ID = 'indian-ocean'; } elseif ($last_segment === 'iot') { $ID = 'iot'; } elseif ($last_segment === 'cxr') { $ID = 'cxr'; } elseif ($last_segment === 'cck') { $ID = 'cck'; } elseif ($last_segment === 'com') { $ID = 'com'; } elseif ($last_segment === 'mdg') { $ID = 'mdg'; } elseif ($last_segment === 'mdv') { $ID = 'mdv'; } elseif ($last_segment === 'mus') { $ID = 'mus'; } elseif ($last_segment === 'myt') { $ID = 'myt'; } elseif ($last_segment === 'reu') { $ID = 'reu'; } elseif ($last_segment === 'syc') { $ID = 'syc';} else { $Symbol_URL = 'XXX'; } switch($ID) { case 'europe-flags': case 'europe-arms': $Parent_URL = 'europe'; $Parent = 'Europe'; case 'asia-flags': case 'asia-arms': $Parent_URL = 'asia'; $Parent = 'Asia'; case 'africa-flags': case 'africa-arms': $Parent_URL = 'africa'; $Parent = 'Africa'; case 'middle-east-flags': case 'middle-east-arms': $Parent_URL = 'middle-east'; $Parent = 'Middle East'; case 'north-america-flags': case 'north-america-arms': $Parent_URL = 'north-america'; $Parent = 'North America'; case 'south-america-flags': case 'south-america-arms': $Parent_URL = 'south-america'; $Parent = 'South America'; case 'caribbean-flags': case 'caribbean-arms': $Parent_URL = 'caribbean'; $Parent = 'Caribbean'; case 'latin-america-flags': case 'latin-america-arms': $Parent_URL = 'latin-america'; $Parent = 'Latin America'; case 'oceania-flags': case 'oceania-arms': $Parent_URL = 'oceania'; $Parent = 'Oceania'; case 'atlantic-ocean-flags': case 'atlantic-ocean-arms': $Parent_URL = 'atlantic-ocean'; $Parent = 'Atlantic Ocean'; case 'indian-ocean-flags': case 'indian-ocean-arms': $Parent_URL = 'indian-ocean'; $Parent = 'Indian Ocean'; case 'jpn-flags': case 'jpn-arms': $Parent_URL = 'jpn'; $Parent = 'Japan'; case 'mys-flags': case 'mys-arms': $Parent_URL = 'mys'; $Parent = 'Malaysia'; case 'can-flags': case 'can-arms': $Parent_URL = 'can'; $Parent = 'Canada'; case 'mex-flags': case 'mex-arms': $Parent_URL = 'mex'; $Parent = 'Mexico'; case 'us-flags': case 'us-seals': case 'us-arms': $Parent_URL = 'usa'; $Parent = 'United States'; case 'aus-flags': case 'aus-arms': $Parent_URL = 'aus'; $Parent = 'Australia'; break; case 'name': case 'sos': case 'ecosymbol': case 'culture': case 'misc': $SymbolParent_URL = 'symbol'; $SymbolParent = 'Symbols'; break; case 'flag': case 'emblem': case 'motto': case 'song': $SymbolParent_URL = 'sos'; $SymbolParent = 'Symbols of State'; break; case 'plants': case 'animals': case 'life': case 'earth': case 'nature': $SymbolParent_URL = 'ecosymbol'; $SymbolParent = 'Ecosymbols'; break; case 'local': case 'arts': case 'politix': $SymbolParent_URL = 'culture'; $SymbolParent = 'Cultural Symbols'; break; case 'europe-flags': case 'asia-flags': case 'africa-flags': case 'middle-east-flags': case 'north-america-flags': case 'south-america-flags': case 'caribbean-flags': case 'latin-america-flags': case 'oceania-flags': case 'atlantic-ocean-flags': case 'indian-ocean-flags': $SymbolParent_URL = 'flag'; $SymbolParent = 'Flags'; break; case 'europe-arms': case 'asia-arms': case 'africa-arms': case 'middle-east-arms': case 'north-america-arms': case 'south-america-arms': case 'caribbean-arms': case 'latin-america-arms': case 'oceania-arms': case 'atlantic-ocean-arms': case 'indian-ocean-arms': $SymbolParent_URL = 'emblem'; $SymbolParent = 'Emblems'; break; case 'flower': case 'tree': case 'fruit': case 'grass': case 'plantmisc': $SymbolParent_URL = 'plants'; $SymbolParent = 'Plants'; break; case 'bird': case 'mammal': case 'herptile': case 'fish': case 'insect': case 'shellfish': case 'animalmisc': $SymbolParent_URL = 'animals'; $SymbolParent = 'Animals'; break; case 'reptile': case 'amphibian': $SymbolParent_URL = 'herptile'; $SymbolParent = 'Reptiles and Amphibians'; break; case 'mineral': case 'fossil': case 'soil': $SymbolParent_URL = 'earth'; $SymbolParent = 'Earth Symbols'; break; case 'colors': case 'clothing': case 'food': case 'dance': case 'sports': case 'transportation': case 'people': case 'history': case 'museum': case 'music': $SymbolParent_URL = 'culture'; $SymbolParent = 'Cultural Symbols'; break; case 'numismatics': case 'us-quarters': case 'stamps': case 'license-plates': $SymbolParent_URL = 'misc'; $SymbolParent = 'Miscellaneous Symbols'; break; case 'jpn-flags': case 'mys-flags': $VexParent_URL = 'asian-flags'; $VexParent = 'Asian Flags'; $ff_URL = 'asia'; $Continent = 'Asia'; break; case 'can-flags': case 'mex-flags': case 'us-flags': $VexParent_URL = 'north-america-flags'; $VexParent = 'North American Flags'; $Continent_URL = 'north-america'; $Continent = 'North America'; break; case 'aus-flags': $VexParent_URL = 'oceania-flags'; $VexParent = 'Flags of Oceania'; break; case 'jpn-arms': case 'mys-arms': $VexParent_URL = 'asia-arms'; $VexParent = 'Asian Emblems'; $Continent_URL = 'asia'; $Continent = 'Asia'; break; case 'can-arms': case 'mex-arms': case 'us-seals': case 'us-arms': $VexParent_URL = 'north-america-arms'; $VexParent = 'North American Emblems'; $Continent_URL = 'north-america'; $Continent = 'North America'; break; case 'aus-arms': $VexParent_URL = 'oceania-arms'; $VexParent = 'Emblems of Oceania'; break; case 'world': $Parent_URL = '/'; $Parent = 'GeoSymbols'; break; case 'europe': case 'asia': case 'africa': case 'middle-east': case 'north-america': case 'south-america': case 'caribbean': case 'latin-america': case 'oceania': case 'atlantic-ocean': case 'indian-ocean': $Parent_URL = 'world'; $Parent = 'World'; break; case 'ala': case 'alb': case 'and': case 'aut': case 'blr': case 'bel': case 'bih': case 'bgr': case 'hrv': case 'cze': case 'dnk': case 'est': case 'fro': case 'fin': case 'fra': case 'deu': case 'gib': case 'grc': case 'ggy': case 'hun': case 'irl': case 'imn': case 'ita': case 'jey': case 'lva': case 'lie': case 'ltu': case 'lux': case 'mlt': case 'mda': case 'mco': case 'mne': case 'nld': case 'mkd': case 'nor': case 'pol': case 'prt': case 'rou': case 'rus': case 'smr': case 'srb': case 'svk': case 'svn': case 'esp': case 'swe': case 'che': case 'ukr': case 'gbr': case 'vat': $Parent_URL = 'europe'; $Parent = 'Europe'; break; case 'afg': case 'arm': case 'aze': case 'bgd': case 'btn': case 'brn': case 'khm': case 'chn': case 'tls': case 'geo': case 'hkg': case 'ind': case 'idn': case 'irn': case 'jpn': case 'kaz': case 'kgz': case 'lao': case 'mac': case 'mys': case 'mng': case 'mmr': case 'npl': case 'prk': case 'pak': case 'phl': case 'sgp': case 'kor': case 'lka': case 'twn': case 'tjk': case 'tha': case 'tkm': case 'uzb': case 'vnm': $Parent_URL = 'asia'; $Parent = 'Asia'; break; case 'dza': case 'ago': case 'ben': case 'bwa': case 'bfa': case 'bdi': case 'cmr': case 'cpv': case 'caf': case 'tcd': case 'cod': case 'cog': case 'dji': case 'egy': case 'gnq': case 'eri': case 'swz': case 'eth': case 'gab': case 'gmb': case 'gha': case 'gin': case 'gnb': case 'civ': case 'ken': case 'lso': case 'lbr': case 'lby': case 'mwi': case 'mli': case 'mrt': case 'mar': case 'moz': case 'nam': case 'ner': case 'nga': case 'rwa': case 'stp': case 'sen': case 'sle': case 'som': case 'zaf': case 'ssd': case 'sdn': case 'tza': case 'tgo': case 'tun': case 'uga': case 'zmb': case 'zwe': $Parent_URL = 'africa'; $Parent = 'Africa'; break; case 'bhr': case 'cyp': case 'irq': case 'isr': case 'jor': case 'kwt': case 'lbn': case 'omn': case 'pse': case 'qat': case 'sau': case 'syr': case 'tur': case 'are': case 'yem': $Parent_URL = 'middle-east'; $Parent = 'Middle East'; break; case 'blz': case 'can': case 'cri': case 'slv': case 'grl': case 'gtm': case 'hnd': case 'mex': case 'nic': case 'pan': case 'spm': case 'usa': $Parent_URL = 'north-america'; $Parent = 'North America'; break; case 'arg': case 'bol': case 'bra': case 'chl': case 'col': case 'ecu': case 'guf': case 'guy': case 'pry': case 'per': case 'sur': case 'ury': case 'ven': $Parent_URL = 'south-america'; $Parent = 'South America'; break; case 'aia': case 'atg': case 'abw': case 'bhs': case 'brb': case 'bes': case 'cym': case 'cub': case 'cuw': case 'dma': case 'dom': case 'grd': case 'glp': case 'hti': case 'jam': case 'mtq': case 'msr': case 'pri': case 'saba': case 'blm': case 'kna': case 'lca': case 'vct': case 'sineus': case 'sxm': case 'tto': case 'tca': case 'vgb': case 'vir': $Parent_URL = 'caribbean'; $Parent = 'Caribbean'; break; case 'asm': case 'aus': case 'cok': case 'easter': case 'fji': case 'pyf': case 'gum': case 'kir': case 'mhl': case 'fsm': case 'nru': case 'ncl': case 'nzl': case 'niu': case 'nfk': case 'mnp': case 'plw': case 'png': case 'pcn': case 'wsm': case 'slb': case 'tkl': case 'ton': case 'tuv': case 'vut': case 'xwk': case 'wlf': $Parent_URL = 'oceania'; $Parent = 'Oceania'; break; case 'bmu': case 'flk': case 'isl': case 'shn': case 'sgs': $Parent_URL = 'atlantic-ocean'; $Parent = 'Atlantic Ocean'; break; case 'iot': case 'cxr': case 'cck': case 'com': case 'mdg': case 'mdv': case 'mus': case 'myt': case 'reu': case 'syc': $Parent_URL = 'indian-ocean'; $Parent = 'Indian Ocean'; break; case 'ca-ab': case 'ca-bc': case 'ca-mb': case 'ca-nb': case 'ca-nl': case 'ca-nt': case 'ca-ns': case 'ca-nu': case 'ca-on': case 'ca-pe': case 'ca-qc': case 'ca-sk': case 'ca-yt': $Parent_URL = 'canada'; $Parent = 'Canada'; $Continent_URL = 'north-america'; $Continent = 'North America'; break; case 'mx-agu': case 'mx-bcn': case 'mx-bcs': case 'mx-cam': case 'mx-chh': case 'mx-chp': case 'mx-coa': case 'mx-col': case 'mx-dif': case 'mx-dur': case 'mx-gua': case 'mx-gro': case 'mx-hid': case 'mx-jal': case 'mx-mex': case 'mx-mic': case 'mx-mor': case 'mx-nay': case 'mx-nle': case 'mx-oax': case 'mx-pue': case 'mx-que': case 'mx-roo': case 'mx-slp': case 'mx-sin': case 'mx-son': case 'mx-tab': case 'mx-tam': case 'mx-tla': case 'mx-ver': case 'mx-yuc': case 'mx-zac': $Parent_URL = 'mex'; $Parent = 'Mexico'; $Continent_URL = 'north-america'; $Continent = 'North America'; break; case 'state-symbols': case 'al': case 'ak': case 'az': case 'ar': case 'ca': case 'co': case 'ct': case 'de': case 'dc': case 'fl': case 'ga': case 'hi': case 'id': case 'il': case 'in': case 'ia': case 'ks': case 'ky': case 'la': case 'me': case 'md': case 'ma': case 'mi': case 'mn': case 'ms': case 'mo': case 'mt': case 'ne': case 'nv': case 'nh': case 'nj': case 'nm': case 'ny': case 'nc': case 'nd': case 'oh': case 'ok': case 'or': case 'pa': case 'ri': case 'sc': case 'sd': case 'tn': case 'tx': case 'ut': case 'vt': case 'va': case 'wa': case 'wv': case 'wi': case 'wy': $Parent_URL = 'usa'; $Parent = 'United States'; $Continent_URL = 'north-america'; $Continent = 'North America'; break; case 'jp-aic': case 'jp-aki': case 'jp-aom': case 'jp-chi': case 'jp-ehi': case 'jp-fuk': case 'jp-fkk': case 'jp-fks': case 'jp-gif': case 'jp-gun': case 'jp-hir': case 'jp-hok': case 'jp-hyo': case 'jp-iba': case 'jp-ish': case 'jp-iwa': case 'jp-kag': case 'jp-kgs': case 'jp-kan': case 'jp-koc': case 'jp-kum': case 'jp-kyo': case 'jp-mie': case 'jp-miy': case 'jp-myz': case 'jp-nag': case 'jp-nsk': case 'jp-nar': case 'jp-nii': case 'jp-oit': case 'jp-oka': case 'jp-oki': case 'jp-osa': case 'jp-sag': case 'jp-sai': case 'jp-shi': case 'jp-shm': case 'jp-shz': case 'jp-toc': case 'jp-tok': case 'jp-tko': case 'jp-tot': case 'jp-toy': case 'jp-wak': case 'jp-yam': case 'jp-ymg': case 'jp-ymn': $Parent_URL = 'jpn'; $Parent = 'Japan'; $Continent_URL = 'asia'; $Continent = 'Asia'; break; case 'my-jh': case 'my-kh': case 'my-kn': case 'my-kl': case 'my-la': case 'my-me': case 'my-ns': case 'my-ph': case 'my-pg': case 'my-pk': case 'my-pl': case 'my-pj': case 'my-sa': case 'my-sk': case 'my-sl': case 'my-te': $Parent_URL = 'malaysia'; $Parent = 'Malaysia'; $Continent_URL = 'asia'; $Continent = 'Asia'; break; case 'au-ct': case 'au-ns': case 'au-nt': case 'au-ql': case 'au-sa': case 'au-ts': case 'au-vi': case 'au-wa': $Parent_URL = 'australia'; $Parent = 'Australia'; $Continent_URL = 'oceania'; $Continent = 'Oceania'; break; case 'al-sos': case 'al-flower': case 'al-tree': case 'al-fruit': case 'al-bird': case 'al-mammal': case 'al-herptile': case 'al-fish': case 'al-insect': case 'al-shellfish': case 'al-earth': case 'al-fossil': case 'al-culture': case 'al-arts': case 'al-politix': $Parent_URL = 'al'; $Parent = 'Alabama'; break; case 'ak-sos': case 'ak-flower': case 'ak-tree': case 'ak-bird': case 'ak-mammal': case 'ak-fish': case 'ak-insect': case 'ak-earth': case 'ak-earth': case 'ak-fossil': case 'ak-culture': $Parent_URL = 'ak'; $Parent = 'Alaska'; break; case 'az-sos': case 'az-flower': case 'az-tree': case 'az-bird': case 'az-mammal': case 'az-herptile': case 'az-fish': case 'az-insect': case 'az-earth': case 'az-earth': case 'az-fossil': case 'az-culture': $Parent_URL = 'az'; $Parent = 'Arizona'; break; case 'ar-sos': case 'ar-flower': case 'ar-tree': case 'ar-fruit': case 'ar-bird': case 'ar-mammal': case 'ar-fish': case 'ar-insect': case 'ar-earth': case 'ar-earth': case 'ar-fossil': case 'ar-culture': $Parent_URL = 'ar'; $Parent = 'Arkansas'; break; case 'ca-sos': case 'ca-flower': case 'ca-tree': case 'ca-grass': case 'ca-fruit': case 'ca-bird': case 'ca-mammal': case 'ca-herptile': case 'ca-fish': case 'ca-insect': case 'ca-life': case 'ca-earth': case 'ca-fossil': case 'ca-culture': case 'ca-arts': case 'ca-politix': $Parent_URL = 'ca'; $Parent = 'California'; break; case 'co-sos': case 'co-flower': case 'co-tree': case 'co-grass': case 'co-plantmisc': case 'co-bird': case 'co-mammal': case 'co-herptile': case 'co-fish': case 'co-insect': case 'co-earth': case 'co-fossil': case 'co-culture': $Parent_URL = 'co'; $Parent = 'Colorado'; break; case 'ct-sos': case 'ct-flower': case 'ct-tree': case 'ct-bird': case 'ct-mammal': case 'ct-fish': case 'ct-insect': case 'ct-shellfish': case 'ct-earth': case 'ct-fossil': case 'ct-culture': case 'ct-arts': case 'ct-politix': $Parent_URL = 'ct'; $Parent = 'Connecticut'; break; case 'de-sos': case 'de-flower': case 'de-tree': case 'de-fruit': case 'de-bird': case 'de-mammal': case 'de-fish': case 'de-insect': case 'de-shellfish': case 'de-earth': case 'de-fossil': case 'de-culture': $Parent_URL = 'de'; $Parent = 'Delaware'; break; case 'dc-sos': case 'dc-flower': case 'dc-tree': case 'dc-bird': case 'dc-shellfish': case 'dc-earth': case 'dc-fossil': case 'dc-culture': $Parent_URL = 'dc'; $Parent = 'District of Columbia'; break; case 'fl-sos': case 'fl-flower': case 'fl-tree': case 'fl-fruit': case 'fl-bird': case 'fl-mammal': case 'fl-herptile': case 'fl-fish': case 'fl-insect': case 'fl-shellfish': case 'fl-earth': case 'fl-fossil': case 'fl-culture': case 'fl-arts': case 'fl-politix': $Parent_URL = 'fl'; $Parent = 'Florida'; break; case 'ga-sos': case 'ga-flower': case 'ga-tree': case 'ga-fruit': case 'ga-bird': case 'ga-mammal': case 'ga-herptile': case 'ga-fish': case 'ga-insect': case 'ga-shellfish': case 'ga-earth': case 'ga-fossil': case 'ga-culture': case 'ga-arts': case 'ga-politix': $Parent_URL = 'ga'; $Parent = 'Georgia'; break; case 'hi-sos': case 'hi-flower': case 'hi-tree': case 'hi-fruit': case 'hi-bird': case 'hi-mammal': case 'hi-fish': case 'hi-insect': case 'hi-shellfish': case 'hi-earth': case 'hi-fossil': case 'hi-culture': case 'hi-arts': $Parent_URL = 'hi'; $Parent = 'Hawaii'; break; case 'id-sos': case 'id-flower': case 'id-tree': case 'id-fruit': case 'id-bird': case 'id-mammal': case 'id-herptile': case 'id-fish': case 'id-insect': case 'id-earth': case 'id-fossil': case 'id-culture': $Parent_URL = 'id'; $Parent = 'Idaho'; break; case 'il-sos': case 'il-flower': case 'il-tree': case 'il-grass': case 'il-fruit': case 'il-plantmisc': case 'il-bird': case 'il-mammal': case 'il-herptile': case 'il-fish': case 'il-insect': case 'il-life': case 'il-earth': case 'il-fossil': case 'il-culture': $Parent_URL = 'il'; $Parent = 'Illinois'; break; case 'in-sos': case 'in-flower': case 'in-tree': case 'in-bird': case 'in-mammal': case 'in-insect': case 'in-earth': case 'in-fossil': case 'in-culture': $Parent_URL = 'in'; $Parent = 'Indiana'; break; case 'ia-sos': case 'ia-flower': case 'ia-tree': case 'ia-bird': case 'ia-mammal': case 'ia-earth': case 'ia-fossil': case 'ia-culture': $Parent_URL = 'ia'; $Parent = 'Iowa'; break; case 'ks-sos': case 'ks-flower': case 'ks-tree': case 'ks-grass': case 'ks-fruit': case 'ks-bird': case 'ks-mammal': case 'ks-herptile': case 'ks-fish': case 'ks-insect': case 'ks-earth': case 'ks-fossil': case 'ks-culture': $Parent_URL = 'ks'; $Parent = 'Kansas'; break; case 'ky-sos': case 'ky-flower': case 'ky-tree': case 'ky-fruit': case 'ky-bird': case 'ky-mammal': case 'ky-fish': case 'ky-insect': case 'ky-earth': case 'ky-fossil': case 'ky-culture': case 'ky-arts': case 'ky-politix': $Parent_URL = 'ky'; $Parent = 'Kentucky'; break; case 'la-sos': case 'la-flower': case 'la-tree': case 'la-fruit': case 'la-bird': case 'la-mammal': case 'la-herptile': case 'la-fish': case 'la-insect': case 'la-shellfish': case 'la-earth': case 'la-fossil': case 'la-culture': case 'la-arts': $Parent_URL = 'la'; $Parent = 'Louisiana'; break; case 'me-sos': case 'me-flower': case 'me-tree': case 'me-fruit': case 'me-bird': case 'me-mammal': case 'me-fish': case 'me-insect': case 'me-shellfish': case 'me-earth': case 'me-fossil': case 'me-culture': $Parent_URL = 'me'; $Parent = 'Maine'; break; case 'md-sos': case 'md-flower': case 'md-tree': case 'md-bird': case 'md-mammal': case 'md-herptile': case 'md-fish': case 'md-insect': case 'md-shellfish': case 'md-earth': case 'md-fossil': case 'md-culture': $Parent_URL = 'md'; $Parent = 'Maryland'; break; case 'ma-sos': case 'ma-flag': case 'ma-flower': case 'ma-tree': case 'ma-fruit': case 'ma-bird': case 'ma-mammal': case 'ma-herptile': case 'ma-fish': case 'ma-insect': case 'ma-shellfish': case 'ma-earth': case 'ma-fossil': case 'ma-culture': case 'ma-arts': case 'ma-politix': $Parent_URL = 'ma'; $Parent = 'Massachusetts'; break; case 'mi-sos': case 'mi-flower': case 'mi-tree': case 'mi-bird': case 'mi-mammal': case 'mi-herptile': case 'mi-fish': case 'mi-earth': case 'mi-fossil': case 'mi-culture': $Parent_URL = 'mi'; $Parent = 'Michigan'; break; case 'mn-sos': case 'mn-flower': case 'mn-tree': case 'mn-fruit': case 'mn-bird': case 'mn-mammal': case 'mn-fish': case 'mn-insect': case 'mn-life': case 'mn-earth': case 'mn-fossil': case 'mn-culture': $Parent_URL = 'mn'; $Parent = 'Minnesota'; break; case 'ms-sos': case 'ms-flower': case 'ms-tree': case 'ms-bird': case 'ms-mammal': case 'ms-herptile': case 'ms-fish': case 'ms-insect': case 'ms-shellfish': case 'ms-earth': case 'ms-fossil': case 'ms-culture': $Parent_URL = 'ms'; $Parent = 'Mississippi'; break; case 'mo-sos': case 'mo-flower': case 'mo-tree': case 'mo-fruit': case 'mo-grass': case 'mo-bird': case 'mo-mammal': case 'mo-herptile': case 'mo-fish': case 'mo-insect': case 'mo-shellfish': case 'mo-earth': case 'mo-fossil': case 'mo-culture': $Parent_URL = 'mo'; $Parent = 'Missouri'; break; case 'mt-sos': case 'mt-flag': case 'mt-flower': case 'mt-tree': case 'mt-grass': case 'mt-bird': case 'mt-mammal': case 'mt-fish': case 'mt-insect': case 'mt-earth': case 'mt-fossil': case 'mt-culture': case 'mt-politix': $Parent_URL = 'mt'; $Parent = 'Montana'; break; case 'ne-sos': case 'ne-flower': case 'ne-tree': case 'ne-grass': case 'ne-bird': case 'ne-mammal': case 'ne-herptile': case 'ne-fish': case 'ne-insect': case 'ne-earth': case 'ne-fossil': case 'ne-culture': $Parent_URL = 'ne'; $Parent = 'Nebraska'; break; case 'nv-sos': case 'nv-flower': case 'nv-tree': case 'nv-grass': case 'nv-bird': case 'nv-mammal': case 'nv-herptile': case 'nv-fish': case 'nv-insect': case 'nv-earth': case 'nv-fossil': case 'nv-culture': $Parent_URL = 'nv'; $Parent = 'Nevada'; break; case 'nh-sos': case 'nh-flower': case 'nh-tree': case 'nh-fruit': case 'nh-bird': case 'nh-mammal': case 'nh-herptile': case 'nh-fish': case 'nh-insect': case 'nh-animalmisc': case 'nh-earth': case 'nh-fossil': case 'nh-culture': $Parent_URL = 'nh'; $Parent = 'New Hampshire'; break; case 'nj-sos': case 'nj-flower': case 'nj-tree': case 'nj-fruit': case 'nj-bird': case 'nj-mammal': case 'nj-herptile': case 'nj-fish': case 'nj-insect': case 'nj-shellfish': case 'nj-earth': case 'nj-fossil': case 'nj-culture': case 'nj-politix': $Parent_URL = 'nj'; $Parent = 'New Jersey'; break; case 'nm-sos': case 'nm-flower': case 'nm-tree': case 'nm-grass': case 'nm-fruit': case 'nm-bird': case 'nm-mammal': case 'nm-herptile': case 'nm-fish': case 'nm-insect': case 'nm-earth': case 'nm-fossil': case 'nm-culture': case 'nm-arts': $Parent_URL = 'nm'; $Parent = 'New Mexico'; break; case 'ny-sos': case 'ny-flower': case 'ny-tree': case 'ny-fruit': case 'ny-bird': case 'ny-mammal': case 'ny-herptile': case 'ny-fish': case 'ny-insect': case 'ny-shellfish': case 'ny-earth': case 'ny-fossil': case 'ny-culture': $Parent_URL = 'ny'; $Parent = 'New York'; break; case 'nc-sos': case 'nc-flower': case 'nc-tree': case 'nc-fruit': case 'nc-plantmisc': case 'nc-bird': case 'nc-mammal': case 'nc-herptile': case 'nc-fish': case 'nc-insect': case 'nc-shellfish': case 'nc-earth': case 'nc-fossil': case 'nc-culture': case 'nc-arts': case 'nc-politix': $Parent_URL = 'nc'; $Parent = 'North Carolina'; break; case 'nd-sos': case 'nd-flower': case 'nd-tree': case 'nd-grass': case 'nd-fruit': case 'nd-bird': case 'nd-mammal': case 'nd-fish': case 'nd-insect': case 'nd-earth': case 'nd-fossil': case 'nd-culture': $Parent_URL = 'nd'; $Parent = 'North Dakota'; break; case 'oh-sos': case 'oh-flower': case 'oh-tree': case 'oh-fruit': case 'oh-bird': case 'oh-mammal': case 'oh-herptile': case 'oh-insect': case 'oh-earth': case 'oh-fossil': case 'oh-culture': $Parent_URL = 'oh'; $Parent = 'Ohio'; break; case 'ok-sos': case 'ok-flower': case 'ok-tree': case 'ok-grass': case 'ok-fruit': case 'ok-bird': case 'ok-mammal': case 'ok-herptile': case 'ok-fish': case 'ok-insect': case 'ok-earth': case 'ok-fossil': case 'ok-soil': case 'ok-culture': case 'ok-arts': $Parent_URL = 'ok'; $Parent = 'Oklahoma'; break; case 'or-sos': case 'or-flower': case 'or-tree': case 'or-fruit': case 'or-bird': case 'or-mammal': case 'or-fish': case 'or-insect': case 'or-shellfish': case 'or-life': case 'or-earth': case 'or-fossil': case 'or-culture': $Parent_URL = 'or'; $Parent = 'Oregon'; break; case 'pa-sos': case 'pa-flag': case 'pa-flower': case 'pa-tree': case 'pa-plantmisc': case 'pa-bird': case 'pa-mammal': case 'pa-herptile': case 'pa-fish': case 'pa-insect': case 'pa-earth': case 'pa-fossil': case 'pa-culture': $Parent_URL = 'pa'; $Parent = 'Pennsylvania'; break; case 'ri-sos': case 'ri-flower': case 'ri-tree': case 'ri-fruit': case 'ri-bird': case 'ri-mammal': case 'ri-fish': case 'ri-insect': case 'ri-shellfish': case 'ri-earth': case 'ri-fossil': case 'ri-culture': $Parent_URL = 'ri'; $Parent = 'Rhode Island'; break; case 'sc-sos': case 'sc-flower': case 'sc-tree': case 'sc-grass': case 'sc-fruit': case 'sc-bird': case 'sc-mammal': case 'sc-herptile': case 'sc-fish': case 'sc-insect': case 'sc-shellfish': case 'sc-animalmisc': case 'sc-earth': case 'sc-fossil': case 'sc-culture': case 'sc-arts': case 'sc-politix': $Parent_URL = 'sc'; $Parent = 'South Carolina'; break; case 'sd-sos': case 'sd-flag': case 'sd-flower': case 'sd-tree': case 'sd-grass': case 'sd-bird': case 'sd-mammal': case 'sd-fish': case 'sd-insect': case 'sd-earth': case 'sd-fossil': case 'sd-culture': $Parent_URL = 'sd'; $Parent = 'South Dakota'; break; case 'tn-sos': case 'tn-flower': case 'tn-tree': case 'tn-fruit': case 'tn-bird': case 'tn-mammal': case 'tn-herptile': case 'tn-fish': case 'tn-insect': case 'tn-earth': case 'tn-fossil': case 'tn-culture': case 'tn-arts': case 'tn-politix': $Parent_URL = 'tn'; $Parent = 'Tennessee'; break; case 'tx-sos': case 'tx-flower': case 'tx-tree': case 'tx-grass': case 'tx-fruit': case 'tx-plantmisc': case 'tx-bird': case 'tx-mammal': case 'tx-herptile': case 'tx-fish': case 'tx-insect': case 'tx-shellfish': case 'tx-life': case 'tx-earth': case 'tx-fossil': case 'tx-culture': case 'tx-arts': case 'tx-politix': $Parent_URL = 'tx'; $Parent = 'Texas'; break; case 'ut-sos': case 'ut-flower': case 'ut-tree': case 'ut-grass': case 'ut-fruit': case 'ut-bird': case 'ut-mammal': case 'ut-herptile': case 'ut-fish': case 'ut-insect': case 'ut-shellfish': case 'ut-life': case 'ut-earth': case 'ut-fossil': case 'ut-culture': case 'ut-arts': case 'ut-politix': $Parent_URL = 'ut'; $Parent = 'Utah'; break; case 'vt-sos': case 'vt-flower': case 'vt-tree': case 'vt-fruit': case 'vt-bird': case 'vt-mammal': case 'vt-herptile': case 'vt-fish': case 'vt-insect': case 'vt-earth': case 'vt-fossil': case 'vt-culture': $Parent_URL = 'vt'; $Parent = 'Vermont'; break; case 'va-sos': case 'va-flower': case 'va-tree': case 'va-bird': case 'va-mammal': case 'va-herptile': case 'va-fish': case 'va-insect': case 'va-shellfish': case 'va-earth': case 'va-fossil': case 'va-culture': case 'va-arts': case 'va-politix': $Parent_URL = 'va'; $Parent = 'Virginia'; break; case 'wa-sos': case 'wa-flag': case 'wa-flower': case 'wa-tree': case 'wa-grass': case 'wa-fruit': case 'wa-bird': case 'wa-mammal': case 'wa-herptile': case 'wa-fish': case 'wa-insect': case 'wa-shellfish': case 'wa-earth': case 'wa-fossil': case 'wa-culture': $Parent_URL = 'wa'; $Parent = 'Washington'; break; case 'wv-sos': case 'wv-flower': case 'wv-tree': case 'wv-fruit': case 'wv-bird': case 'wv-mammal': case 'wv-herptile': case 'wv-fish': case 'wv-insect': case 'wv-earth': case 'wv-fossil': case 'wv-culture': $Parent_URL = 'wv'; $Parent = 'West Virginia'; break; case 'wi-sos': case 'wi-flower': case 'wi-tree': case 'wi-fruit': case 'wi-bird': case 'wi-mammal': case 'wi-fish': case 'wi-insect': case 'wi-earth': case 'wi-fossil': case 'wi-culture': $Parent_URL = 'wi'; $Parent = 'Wisconsin'; break; case 'wy-sos': case 'wy-flower': case 'wy-tree': case 'wy-grass': case 'wy-bird': case 'wy-mammal': case 'wy-herptile': case 'wy-fish': case 'wy-insect': case 'wy-earth': case 'wy-fossil': case 'wy-culture': $Parent_URL = 'wy'; $Parent = 'Wyoming'; break; default: break; } $ParentLink = ''.$Parent.''; $SymbolParent = ''.$SymbolParent.''; $VexParent = ''.$VexParent.''; // 50 STATES TOPICS $url = 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if (strpos($url,'-world') !== false) { $Symbol_URL = 'world'; } elseif (strpos($url,'-flags') !== false) { $Symbol_URL = 'flag'; } elseif (strpos($url,'-flag') !== false) { $Symbol_URL = 'flag'; } elseif (strpos($url,'-arms') !== false) { $Symbol_URL = 'emblem'; } elseif (strpos($url,'-seals') !== false) { $Symbol_URL = 'seals'; } elseif (strpos($url,'-seal') !== false) { $Symbol_URL = 'seals'; } elseif (strpos($url,'-sos') !== false) { $Symbol_URL = 'sos'; } elseif (strpos($url,'-flower') !== false) { $Symbol_URL = 'flower'; } elseif (strpos($url,'-tree') !== false) { $Symbol_URL = 'tree'; } elseif (strpos($url,'-grass') !== false) { $Symbol_URL = 'grass'; } elseif (strpos($url,'-fruit') !== false) { $Symbol_URL = 'fruit'; } elseif (strpos($url,'-plantmisc') !== false) { $Symbol_URL = 'plantmisc'; } elseif (strpos($url,'-plants') !== false) { $Symbol_URL = 'plants'; } elseif (strpos($url,'-bird') !== false) { $Symbol_URL = 'bird'; } elseif (strpos($url,'-mammal') !== false) { $Symbol_URL = 'mammal'; } elseif (strpos($url,'-herptile') !== false) { $Symbol_URL = 'herptile'; } elseif (strpos($url,'-fish') !== false) { $Symbol_URL = 'fish'; } elseif (strpos($url,'-insect') !== false) { $Symbol_URL = 'insect'; } elseif (strpos($url,'-shellfish') !== false) { $Symbol_URL = 'shellfish'; } elseif (strpos($url,'-animalmisc') !== false) { $Symbol_URL = 'animalmisc'; } elseif (strpos($url,'-life') !== false) { $Symbol_URL = 'life'; } elseif (strpos($url,'-earth') !== false) { $Symbol_URL = 'earth'; } elseif (strpos($url,'-fossil') !== false) { $Symbol_URL = 'fossil'; } elseif (strpos($url,'-soil') !== false) { $Symbol_URL = 'soil'; } elseif (strpos($url,'-nature') !== false) { $Symbol_URL = 'nature'; } elseif (strpos($url,'-culture') !== false) { $Symbol_URL = 'culture'; } elseif (strpos($url,'-arts') !== false) { $Symbol_URL = 'arts'; } elseif (strpos($url,'-politix') !== false) { $Symbol_URL = 'politix'; } else { $Symbol_URL = 'XXX'; } switch($Symbol_URL) { case 'flag': $Topic = 'Flags'; break; case 'emblem': $Topic = 'Emblems'; break; case 'seals': $Topic = 'Emblems'; break; case 'sos': $Topic = 'Symbols of State'; break; case 'flower': $Topic = 'Flowers'; break; case 'tree': $Topic = 'Trees'; break; case 'grass': $Topic = 'Grasses'; break; case 'fruit': $Topic = 'Fruit'; break; case 'plantmisc': $Topic = 'Misc. Plants'; break; case 'plants': $Topic = 'Other Plants'; break; case 'bird': $Topic = 'Birds'; break; case 'mammal': $Topic = 'Mammals'; break; case 'herptile': $Topic = 'Herptiles'; break; case 'fish': $Topic = 'Fishes'; break; case 'insect': $Topic = 'Insects'; break; case 'shellfish': $Topic = 'Aquatic Invertebrates'; break; case 'animalmisc': $Topic = 'Misc. Animals'; break; case 'life': $Topic = 'Misc. Organisms'; break; case 'earth': $Topic = 'Earth Symbols'; break; case 'fossil': $Topic = 'Fossils'; break; case 'soil': $Topic = 'Soils'; break; case 'nature': $Topic = 'Misc. Nature Symbols'; break; case 'culture': $Topic = 'Cultural Symbols'; break; case 'arts': $Topic = 'Symbols of the Arts'; break; case 'politix': $Topic = 'Political Symbols'; break; default: break; } // TOPICS switch($Parent_URL){ case 'nv': $VW1 = '?v2'; break; default: break; } switch($Symbol_URL){ case 'plantmisc': case 'animalmisc': $VT1 = '?v2'; break; default: break; } switch($Parent_URL) { case 'symbol'; case 'name': case 'sos'; case 'flag': case 'emblem': case 'flags': case 'ecosymbol'; case 'plants': case 'animals': case 'earth': case 'culture'; case 'local': case 'arts': case 'politix': case 'misc'; $home_bottom = '
'.$Parent.' Home
'; break; default: break; } switch($ID) { case 'europe-flags': case 'europe-arms': case 'asia-flags': case 'asia-arms': case 'africa-flags': case 'africa-arms': case 'middle-east-flags': case 'middle-east-arms': case 'north-america-flags': case 'north-america-arms': case 'south-america-flags': case 'south-america-arms': case 'caribbean-flags': case 'caribbean-arms': case 'latin-america-flags': case 'latin-america-arms': case 'oceania-flags': case 'oceania-arms': case 'atlantic-ocean-arms': case 'atlantic-ocean-flags': case 'indian-ocean-flags': case 'indian-ocean-arms': $VexWorld = ''.$World.' > '.$VexParent.'>'; break; case 'can-flags': case 'can-arms': case 'mex-flags': case 'mex-arms': case 'usa-flags': case 'usa-seals': case 'usa-arms': $VexWorld = ''.$World.' > '.$Northam.' > '.$VexParent.''; break; case 'jpn-flags': case 'jpn-arms': case 'mys-flags': case 'mys-arms': $VexWorld = ''.$World.' > '.$Asia.' > '.$VexParent.''; break; case 'aus-flags': case 'aus-arms': $VexWorld = ''.$World.' > '.$VexParent.''; break; default: break; } switch($ID) { case 'europe-flags': case 'asia-flags': case 'africa-flags': case 'middle-east-flags': case 'north-america-flags': case 'south-america-flags': case 'caribbean-flags': case 'latin-america-flags': case 'oceania-flags': case 'atlantic-ocean-flags': case 'indian-ocean-flags': $VexSymbol = ''.$Symbol.' > '.$SoS.' > '.$Flag.''; case 'can-flags': case 'mex-flags': case 'usa-flags': case 'jpn-flags': case 'mys-flags': case 'aus-flags': $VexSymbol = ''.$Symbol.' > '.$SoS.' > '.$Flag.''; break; case 'europe-arms': case 'asia-arms': case 'africa-arms': case 'middle-east-arms': case 'north-america-arms': case 'south-america-arms': case 'caribbean-arms': case 'latin-america-arms': case 'oceania-arms': case 'atlantic-ocean-arms': case 'indian-ocean-arms': $VexSymbol = ''.$Symbol.' > '.$SoS.' > '.$Emblem.''; case 'can-arms': case 'mex-arms': case 'usa-seals': case 'usa-arms': case 'jpn-arms': case 'mys-arms': case 'aus-arms': $VexSymbol = ''.$Symbol.' > '.$SoS.' > '.$Emblem.''; break; default: break; } // HARAMBEE! $home_top = ''; switch($ID) { case 'europe-flags': case 'asia-flags': case 'africa-flags': case 'middle-east-flags': case 'north-america-flags': case 'south-america-flags': case 'caribbean-flags': case 'latin-america-flags': case 'oceania-flags': case 'atlantic-ocean-flags': case 'indian-ocean-flags': case 'can-flags': case 'mex-flags': case 'usa-flags': case 'jpn-flags': case 'mys-flags': case 'aus-flags': case 'europe-arms': case 'asia-arms': case 'africa-arms': case 'middle-east-arms': case 'north-america-arms': case 'south-america-arms': case 'caribbean-arms': case 'latin-america-arms': case 'oceania-arms': case 'atlantic-ocean-arms': case 'indian-ocean-arms': $home_top = '
'.$VexWorld.'
'.$VexWorld.'
'.$World.' > '.$Parent.'
'; break; case 'can': case 'mex': case 'usa': $home_top = '
'.$World.' > '.$Northam.' > '.$Parent.'
'; break; case 'jpn': case 'mys': $home_top = '
'.$World.' > '.$Asia.' > '.$Parent.'
'; break; case 'aus': $home_top = '
'.$World.'> '.$Oceania.' > '.$Parent.'
'; break; default: break; } return $home_top; } add_shortcode('home-top', 'geo_symbol_shortcode'); include('custom-shortcodes.php'); Page not found - Geobop’s Symbols
Symbols | World
Books | Store | Blog
About | Contact