This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" class="text" id="search-input" value="search..." | |
onfocus="if(this.value=='search...')this.value='';" onblur="if(this.value=='')this.value='search...';" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($this->slice as $key => $value) | |
{ | |
if (is_array($value)) | |
{ | |
foreach ($value as $k => $v) | |
{ | |
$this->data[$k] = $this->CI->load->view('slices/'.$v, $this->data, TRUE)."\n"; | |
} | |
} | |
elseif (!is_numeric($key)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//in stencil lib, function paint(). I added this | |
foreach ($this->slice as $key => $value) | |
{ | |
if (is_array($value)) | |
{ | |
foreach ($value as $k => $v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Example extends CI_Controller { | |
function __construct() | |
{ | |
parent::__construct(); | |
//slices are reusable parts of your views | |
$this->stencil->slice(array('header', 'footer')); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if IE 6]> <html class="ie6 ie"> <![endif]--> | |
<!--[if IE 7]> <html class="ie7 ie"> <![endif]--> | |
<!--[if IE 8]> <html class="ie8 ie"> <![endif]--> | |
<!--[if gte IE 9]> <!--><html> <!--<![endif]--> | |
<head> | |
<!-- robot speak --> | |
<meta charset="utf-8"> | |
<title><?php echo $title; ?></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if IE 6]> <html class="ie6 ie"> <![endif]--> | |
<!--[if IE 7]> <html class="ie7 ie"> <![endif]--> | |
<!--[if IE 8]> <html class="ie8 ie"> <![endif]--> | |
<!--[if gte IE 9]> <!--><html> <!--<![endif]--> | |
<head> | |
<!-- robot speak --> | |
<meta charset="utf-8"> | |
<title>Example Page</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
codemeow file 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some test |