Skip to content

Instantly share code, notes, and snippets.

@smeyer
Created June 29, 2012 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smeyer/3019523 to your computer and use it in GitHub Desktop.
Save smeyer/3019523 to your computer and use it in GitHub Desktop.
Map page
<?php
/*
* Template Name: Map
* Description: Map Page Design
*/
get_header(); ?>
<script type="text/javascript">
$(document).ready(function() {
switchers = $('#switchers > li');
states = $('#state_info > div');
switchers.each(function(idx) {
$(this).data('state', states.eq(idx));
}).click(
function() {
switchers.removeClass('active');
states.removeClass('active');
$(this).addClass('active');
$(this).data('state').addClass('active');
});
});
</script>
<div id="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1 id="page_title"><?php the_title(); ?></h1>
<?php the_content(); ?>
<div id="map">
<h2>Choose your state:</h2>
<img id="Image-ak" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/alaska_<?php $state_type = get_post_meta(176, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="131" height="89" alt="Alaska" />
<img id="Image-hi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/hawaii_<?php $state_type = get_post_meta(177, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="28" alt="Hawaii" />
<img id="Image-or" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/oregon_<?php $state_type = get_post_meta(178, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="60" height="51" alt="Oregon" />
<img id="Image-wa" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/washington_<?php $state_type = get_post_meta(179, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="37" alt="Washington" />
<img id="Image-id" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/idaho_<?php $state_type = get_post_meta(180, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="45" height="73" alt="Idaho" />
<img id="Image-ca" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/california_<?php $state_type = get_post_meta(181, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="60" height="102" alt="California" />
<img id="Image-nv" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/nevada_<?php $state_type = get_post_meta(182, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="48" height="73" alt="Nevada" />
<img id="Image-ut" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/utah_<?php $state_type = get_post_meta(183, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="43" height="53" alt="Utah" />
<img id="Image-az" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/arizona_<?php $state_type = get_post_meta(184, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="59" alt="Arizona" />
<img id="Image-mt" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/montana_<?php $state_type = get_post_meta(185, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="77" height="49" alt="Montana" />
<img id="Image-wy" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/wyoming_<?php $state_type = get_post_meta(186, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="52" height="44" alt="Wyoming" />
<img id="Image-co" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/colorado_<?php $state_type = get_post_meta(187, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="44" alt="Colorado" />
<img id="Image-tx" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/texas_<?php $state_type = get_post_meta(188, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="105" height="103" alt="Texas" />
<img id="Image-nm" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_mexico_<?php $state_type = get_post_meta(189, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="53" height="54" alt="New Mexico" />
<img id="Image-ok" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/oklahoma_<?php $state_type = get_post_meta(190, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="65" height="33" alt="Oklahoma" />
<img id="Image-ks" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/kansas_<?php $state_type = get_post_meta(191, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="30" alt="Kansas" />
<img id="Image-ne" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/nebraska_<?php $state_type = get_post_meta(192, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="62" height="31" alt="Nebraska" />
<img id="Image-sd" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/south_dakota_<?php $state_type = get_post_meta(193, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="53" height="35" alt="South Dakota" />
<img id="Image-nd" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/north_dakota_<?php $state_type = get_post_meta(194, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="31" alt="North Dakota" />
<img id="Image-mn" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/minnesota_<?php $state_type = get_post_meta(195, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="53" alt="Minnesota" />
<img id="Image-ia" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/iowa_<?php $state_type = get_post_meta(196, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="46" height="30" alt="Iowa" />
<img id="Image-mo" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/missouri_<?php $state_type = get_post_meta(197, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="50" height="44" alt="Missouri" />
<img id="Image-ar" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/arkansas_<?php $state_type = get_post_meta(198, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="38" height="34" alt="Arkansas" />
<img id="Image-la" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/louisiana_<?php $state_type = get_post_meta(199, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="43" height="37" alt="Louisiana" />
<img id="Image-wi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/wisconsin_<?php $state_type = get_post_meta(200, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="40" height="43" alt="Wisconsin" />
<img id="Image-il" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/illinois_<?php $state_type = get_post_meta(201, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="30" height="53" alt="Illinois" />
<img id="Image-mi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/michigan_<?php $state_type = get_post_meta(202, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="57" height="54" alt="Michigan" />
<img id="Image-ms" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/mississippi_<?php $state_type = get_post_meta(203, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="27" height="46" alt="Mississippi" />
<img id="Image-tn" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/tennesee_<?php $state_type = get_post_meta(204, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="61" height="22" alt="Tennesee" />
<img id="Image-ky" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/kentucky_<?php $state_type = get_post_meta(205, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="29" alt="Kentucky" />
<img id="Image-in" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/indiana_<?php $state_type = get_post_meta(206, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="23" height="40" alt="Indiana" />
<img id="Image-oh" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/ohio_<?php $state_type = get_post_meta(207, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="32" height="35" alt="Ohio" />
<img id="Image-al" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/alabama_<?php $state_type = get_post_meta(208, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="29" height="46" alt="Alabama" />
<img id="Image-ny" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_york_<?php $state_type = get_post_meta(209, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="56" height="43" alt="New York" />
<img id="Image-pa" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/pennsylvania_<?php $state_type = get_post_meta(210, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="44" height="29" alt="Pennsylvania" />
<img id="Image-va" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/virginia_<?php $state_type = get_post_meta(211, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="57" height="33" alt="Virginia" />
<img id="Image-nc" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/north_carolina_<?php $state_type = get_post_meta(212, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="66" height="29" alt="North Carolina" />
<img id="Image-sc" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/south_carolina_<?php $state_type = get_post_meta(213, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="38" height="29" alt="South Carolina" />
<img id="Image-ga" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/georgia_<?php $state_type = get_post_meta(214, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="41" height="42" alt="Georgia" />
<img id="Image-fl" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/florida_<?php $state_type = get_post_meta(215, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="69" height="52" alt="Florida" />
<img id="Image-wv" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/west_virg_<?php $state_type = get_post_meta(216, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="34" height="31" alt="West Virginia" />
<img id="Image-vt" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/vermont_<?php $state_type = get_post_meta(217, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="25" height="49" alt="Vermont" />
<img id="Image-me" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/maine_<?php $state_type = get_post_meta(218, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="28" height="44" alt="Maine" />
<img id="Image-nh" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_hampshire_<?php $state_type = get_post_meta(219, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="63" height="27" alt="New Hampshire" />
<img id="Image-ct" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/connecticut_<?php $state_type = get_post_meta(220, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="66" height="45" alt="Connecticut" />
<img id="Image-ma" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/massachusetts_<?php $state_type = get_post_meta(221, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="68" height="19" alt="Massachusetts" />
<img id="Image-ri" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/rhode_isl_<?php $state_type = get_post_meta(222, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="26" alt="Rhode Island" />
<img id="Image-nj" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_jersey_<?php $state_type = get_post_meta(223, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="73" height="57" alt="New Jersey" />
<img id="Image-de" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/delaware_<?php $state_type = get_post_meta(224, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="77" height="61" alt="Delaware" />
<img id="Image-md" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/maryland_<?php $state_type = get_post_meta(225, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="106" height="80" alt="Maryland" />
<ul id="switchers">
<li class="active"></li>
<li id="_Image-ak" title="Alaska"></li>
<li id="_Image-hi" title="Hawaii"></li>
<li id="_Image-or" title="Oregon"></li>
<li id="_Image-wa" title="Washington"></li>
<li id="_Image-id" title="Idaho"></li>
<li id="_Image-ca" title="California"></li>
<li id="_Image-nv" title="Nevada"></li>
<li id="_Image-ut" title="Utah"></li>
<li id="_Image-az" title="Arizona"></li>
<li id="_Image-mt" title="Montana"></li>
<li id="_Image-wy" title="Wyoming"></li>
<li id="_Image-co" title="Colorado"></li>
<li id="_Image-tx" title="Texas"></li>
<li id="_Image-nm" title="New Mexico"></li>
<li id="_Image-ok" title="Oklahoma"></li>
<li id="_Image-ks" title="Kansas"></li>
<li id="_Image-ne" title="Nebraska"></li>
<li id="_Image-sd" title="South Dakota"></li>
<li id="_Image-nd" title="North Dakota"></li>
<li id="_Image-mn" title="Minnesota"></li>
<li id="_Image-ia" title="Iowa"></li>
<li id="_Image-mo" title="Missouri"></li>
<li id="_Image-ar" title="Arkansas"></li>
<li id="_Image-la" title="Louisiana"></li>
<li id="_Image-wi" title="Wisconsin"></li>
<li id="_Image-il" title="Illinois"></li>
<li id="_Image-mi" title="Michigan"></li>
<li id="_Image-ms" title="Mississippi"></li>
<li id="_Image-tn" title="Tennesee"></li>
<li id="_Image-ky" title="Kentucky"></li>
<li id="_Image-in" title="Indiana"></li>
<li id="_Image-oh" title="Ohio"></li>
<li id="_Image-al" title="Alabama"></li>
<li id="_Image-ny" title="New York"></li>
<li id="_Image-pa" title="Pennsylvania"></li>
<li id="_Image-va" title="Virginia"></li>
<li id="_Image-nc" title="North Carolina"></li>
<li id="_Image-sc" title="South Carolina"></li>
<li id="_Image-ga" title="Georgia"></li>
<li id="_Image-fl" title="Florida"></li>
<li id="_Image-wv" title="West Virginia"></li>
<li id="_Image-vt" title="Vermont"></li>
<li id="_Image-me" title="Maine"></li>
<li id="_Image-nh" title="New Hampshire"></li>
<li id="_Image-ct" title="Connecticut"></li>
<li id="_Image-ma" title="Massachusetts"></li>
<li id="_Image-md" title="Maryland"></li>
<li id="_Image-ri" title="Rhode Island"></li>
<li id="_Image-nj" title="New Jersey"></li>
<li id="_Image-de" title="Delaware"></li>
</ul>
<ul id="mapkey">
<li><strong>Key:</strong></li>
<li><div class="dkgrey"></div>E-Verify Required, All Employers</li>
<li><div class="blue"></div>E-Verify Required, Public Employers</li>
<li><div class="tan"></div>Other Legislation</li>
<li><div class="ltgrey"></div>No Action</li>
</ul>
</div>
<div id="state_info">
<div class="active">Click a state to see its info.</div>
<div><h2><?php $var_id = 176; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 177; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 178; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 179; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 180; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 181; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 182; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 183; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 184; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 185; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 186; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 187; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 188; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 189; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 190; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 191; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 192; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 193; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 194; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 195; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 196; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 197; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 198; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 199; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 200; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 201; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 202; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 203; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 204; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 205; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 206; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 207; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 208; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 209; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 210; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 211; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 212; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 213; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 214; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 215; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 216; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 217; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 218; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 219; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 220; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 221; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 225; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 222; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 223; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div><h2><?php $var_id = 224; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
</div>
<p>For a list of Local Ordinances, <a href="<?php echo get_permalink( 227 ); ?>">click here</a>.</p>
<?php endwhile; else: ?>
<h1><?php _e('Sorry, no posts matched your criteria.'); ?></h1>
<?php endif; ?>
</div><!--content-->
<?php get_sidebar('mainsb'); ?>
</div><!--container_inner--></div><!--container-->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment