This file contains hidden or 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
<div id="newsAddition"> | |
<?php | |
echo form_open('admin/newsAddMethod'); | |
echo form_fieldset('Add News', array('id'=>'addNewsFls')); | |
?> | |
<ul class="addNewsFormEl"> | |
<li> | |
<?php | |
echo form_label('News Title', 'newsTitle', array( | |
'class'=>'formLabelsAdmin')); |
This file contains hidden or 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
@include background(image-url("anyImg.jpg")); | |
background-repeat:no-repeat; | |
background-position:left center; |
This file contains hidden or 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
<link href="<?php echo base_url();?>comp/stylesheets/screen.css" rel="stylesheet" type="text/css" /> | |
<link href="<?php echo base_url();?>comp/stylesheets/normalize.css" media="screen, projector, print" rel="stylesheet" type="text/css" /> |
This file contains hidden or 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
DirectoryIndex index.php | |
RewriteEngine on | |
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] |
This file contains hidden or 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 | |
foreach ($site_news as $row) { | |
echo '<h1>' . $row->title . '</h1>'; | |
echo '<p>' . $row->body . '</p>'; | |
} | |
?> |
This file contains hidden or 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
$colorTop-bar: #111111; | |
$colorHeader: #11171C; | |
$colorDivider: #F5B949; | |
$colorDividerTop: #226CDD; | |
$colorMainContent: #EDEEEF; | |
$colorleftSideBar: #D1D6DC; | |
$colorFontCintent: #525252; | |
$colorBody: #525C69; | |
$colorGray1: #161616; | |
$colorGray2: #0D0F13; |
This file contains hidden or 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
@import "compass"; | |
@import "app"; | |
@import "foundation"; | |
@import "settings"; | |
* { | |
vertical-align: top; | |
font-weight: inherit; | |
font-family: inherit; | |
font-style: inherit; |
This file contains hidden or 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
function __construct() | |
{ | |
parent::__construct(); | |
} |
This file contains hidden or 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
public function index() | |
{ | |
$this->load->model(''); | |
$data['module'] = ''; | |
$data['view'] = ''; | |
$data['data2'] = array(); | |
$this->load->module('template'); | |
$this->template->index($data); |