Adding page for output of employment db
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 18 Dec 2014 13:38:14 +0000 (08:38 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 18 Dec 2014 13:43:14 +0000 (08:43 -0500)
page-201.php [new file with mode: 0644]

diff --git a/page-201.php b/page-201.php
new file mode 100644 (file)
index 0000000..a6a4156
--- /dev/null
@@ -0,0 +1,63 @@
+<?php get_header(); ?>
+    <div id="panel">
+    <div class="row">
+        <div class="small-12 columns">
+                <header id="still"
+                <?php
+                    if (has_post_thumbnail()) {
+                            $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
+                            echo ' style="background: url('.$image_data[0].'); min-height: '.$image_data[2].'px;max-height: 400px; "';
+                    }
+                    else {
+                            echo ' style="display: none;"';
+                    }
+                ?>
+                >
+                </header>
+        </div>
+    </div>
+    <div class="row">
+        <div class="small-11 small-centered columns">
+            <h1 id="pan-text">Helping You Build With Confidence Since 1915</h1>
+        </div>
+    </div>
+    </div>
+<div class="row content">
+    <div class="small-11 small-centered columns">
+        <div class="row">
+            <div class="small-12 columns">
+                <?php
+                if(function_exists('bcn_display') && !is_front_page()) {
+                    echo "<div class=\"breadcrumbs\">";
+                    bcn_display();
+                    echo "</div>";
+                }
+                ?>
+            </div>
+        </div>
+    <div class=" row">
+        <div class="small-12 columns main-content">
+            <?php
+            if (shortcode_exists('glmjobs')) {
+                $applyOnline = (isset($_REQUEST['applyOnline']))
+                    ? filter_var($_REQUEST['applyOnline'], FILTER_VALIDATE_INT)
+                    : false;
+                $job = (isset($_REQUEST['job']))
+                    ? filter_var($_REQUEST['job'], FILTER_VALIDATE_INT)
+                    : false;
+                $search = (isset($_REQUEST['glm_job_search']))
+                    ? filter_var($_REQUEST['glm_job_search'], FILTER_VALIDATE_BOOLEAN)
+                    : false;
+            }
+            ?>
+            <?php if (!$search && !$job && !$applyOnline):?>
+                <?php if(have_posts()) : while(have_posts()): the_post();?>
+                <?php the_content();?>
+                <?php endwhile; else:?>
+                <p><?php _e('Sorry, no posts yet');?></p>
+                <?php endif;?>
+            <?php endif;?>
+            <?php if (shortcode_exists('glmjobs')) {echo do_shortcode('[glmjobs]');}?>
+        </div>
+    </div>
+<?php get_footer(); ?>
\ No newline at end of file