<?php
/**
 * Template Name: Google CSE
*/
 
global $theme; get_header(); ?>
 
    <div id="main">
     
        <?php $theme->hook('main_before'); ?>
 
        <div id="content">
             
            <?php $theme->hook('content_before'); ?>
 
        /* Paste your CSE-Bar-code below this line. */
        
        <script>
  (function() {
    var cx = '008879049308057449437:0ivees1vt7m';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>
 
             /* Paste your CSE-Bar-code above this line. */
 
             /* Paste your CSE-Results-code below this line. */
 
             /* Paste your CSE-Results-code above this line. */
 
            <?php $theme->hook('content_after'); ?>
         
        </div>
     
        <?php get_sidebars(); ?>
         
        <?php $theme->hook('main_after'); ?>
         
    </div>
     
<?php get_footer(); ?>