}
+function keweenaw_get_season()
+{
+ // create curl resource
+ $ch = curl_init();
+
+ // set url
+ curl_setopt($ch, CURLOPT_URL, "http://www.keweenaw.info/season.php");
+
+ //return the transfer as a string
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+
+ // $output contains the output string
+ $output = curl_exec($ch);
+
+ // close curl resource to free up system resources
+ curl_close($ch);
+ return $output;
+}
+
/* Header for posts*/
function glm_get_header() {
<link rel="stylesheet" href="http://www.keweenaw.info/css/foundation.min.css">
<link rel="stylesheet" href="http://www.keweenaw.info/css/normalize.css">
<link rel="stylesheet" href="http://www.keweenaw.info/styles.css?v=1">
- <link rel="stylesheet" href="http://www.keweenaw.info/css/winter.css">
+ <link rel="stylesheet" href="http://www.keweenaw.info/css/<?php echo keweenaw_get_season();?>">
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/appblog.css">
<script src="http://www.keweenaw.info/js/vendor/modernizr.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<div class="row collapse header-content">
<div class="small-12 medium-7 columns header-image">
<div class="center-image">
- <img src="http://is0.gaslightmedia.com/keweenawconventionvisitorsbureau/headline/is03-1447080902-50344.jpeg" />
+ <img src="<?php echo get_stylesheet_directory_uri() ; ?>/assets/block-img-1.jpeg" />
</div>
</div>
<div class="small-12 medium-5 columns content">
<hr />
<p>Objibwa for “to portage”, Keweenaw's name is attributed to the route the natives used when paddling birch bark canoes. The Keweenaw Peninsula is technically an island, separated from the rest of the UP by the Portage Canal at it's sister cities of Houghton and Hancock (50 miles south of Copper Harbor).</p>
<div class="north"></div>
- <img src="http://is0.gaslightmedia.com/keweenawconventionvisitorsbureau/headline2/is63-1447080969-55212.jpeg" />
+ <img src="<?php echo get_stylesheet_directory_uri() ; ?>/assets/block-img-2.jpeg" />
</div>
</div>
<ul class="breadcrumbs opensearchserver.ignore">