示例#1
0
 function _remap($page = '')
 {
     /*  Create Head  */
     $head[] = js_tags('prototype');
     $head[] = js_tags('scriptaculous.js?load-effects');
     if ($page == 'index') {
         $head[] = js_tags('swfobject');
         $head[] = js_tags('slideshow');
         $head[] = js_tags('sifr');
     }
     /*  Create Content  */
     $content[] = $this->load->view('statics/' . $page, '', TRUE);
     $frame = array('site_title' => $this->config->item('title'), 'head' => implode("\n", $head), 'body_id' => $page, 'content' => implode("\n", $content));
     if ($page != 'index') {
         $frame['area_title'] = ucwords($page);
     } else {
         $frame['site_title'] = 'Boulder Web Design, Web Development and Web Apps from Stormlab';
     }
     $this->load->view('frames/public', $frame);
 }
示例#2
0
 function rearrange()
 {
     /*  Load Textile  */
     $this->load->plugin('textile');
     /*  Load Javascripts  */
     $head[] = js_tags('prototype');
     $head[] = js_tags('scriptaculous.js');
     $head[] = js_tags('arrange');
     /*  Get all portfolio entries.  */
     $entries = $this->portfolio_model->get_sorted();
     if ($entries->num_rows() > 0) {
         /*  Loop through them. Get some additional data, build the content view.  */
         foreach ($entries->result() as $item) {
             if ($item->item != '') {
                 $arrange_list[] = $this->load->view('partials/portfolio/arrange_item', array('item' => $item), TRUE);
             } else {
                 $limbo_list[] = $this->load->view('partials/portfolio/arrange_item', array('item' => $item), TRUE);
             }
         }
     }
     $list = array('arrange' => implode('', $arrange_list), 'limbo' => implode('', $limbo_list));
     $content[] = $this->load->view('partials/portfolio/arrange_list', $list, TRUE);
     /*  Frame Data  */
     $frame = array('site_title' => $this->config->item('title'), 'head' => implode('', $head), 'area_title' => 'Portfolio', 'body_id' => 'portfolio', 'content' => implode("\n", $content));
     /*  Load the Frame View  */
     $this->load->view('frames/public', $frame);
 }
示例#3
0
echo img_tag('tools_blog.jpg');
?>
</div>
	<p>Stormlab can show you the power of blogging with our Mercury Blogging Engine or, if you prefer we can customize WordPress to suit your needs. We can help you integrate a blog as part of a unified, online marketing strategy that can significantly boost your search engine ranking through targeted search engine optimization.</p>
	<p>Examples: <?php 
echo anchor('portfolio/sort/all/#climate360', 'Climate360');
?>
</p>
	
	<h3>Silver Slideshow</h3>
	<div class="image_column"><div id="slideshow" style="border : 5px solid #999;width:372px;height:242px;"></div></div>
	<p>Silver Slideshow is a fast and easy way to put dynamic visual content anywhere on your site. A lot of our clients use it as the main feature on their homepage (we&#8217;ve used it on ours). Others have created slideshows of client logos.</p>
	<p>Silver slideshows use Flash to create dynamic transitions (fade, wipe or blur). They can be any size and you control the length of the slideshow. All the slides are JPGs and can be managed manually or via the Carbon CMS.</p>
	<p>Examples: <?php 
echo anchor('portfolio/sort/all/#st-davids', 'St. David&#8217;s');
?>
, <?php 
echo anchor('portfolio/sort/all/#iptivia', 'Iptivia');
?>
, <?php 
echo anchor('portfolio/sort/all/#nuenergen', 'NuEnergen');
?>
</p>
	
	<br clear="all" />
	<?php 
echo js_tags('swfobject');
?>
	<?php 
echo js_tags('toolshow');