Esempio n. 1
0
	<head>
	    
		<?php 
include_title();
?>
        <?php 
include_metas();
?>
        <?php 
include_links();
?>
        <?php 
include_stylesheets();
?>
        <?php 
include_raws();
?>
        
        <script>
			//declare global JS variables here
			var base_url = '<?php 
echo base_url();
?>
';
			var current_controller = '<?php 
echo $this->uri->segment(1, 'index');
?>
';
			var current_method = '<?php 
echo $this->uri->segment(2, 'index');
?>
Esempio n. 2
0
<!DOCTYPE HTML>
<html>
	<head>
	    
		<?php 
include_title();
?>
        <? include_metas(); ?>
        <? include_links(); ?>
        <? include_stylesheets(); ?>
        <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300' rel='stylesheet' type='text/css'>
        <? include_raws() ?>
        
        <script>
			//declare global JS variables here
			var base_url = '<?php 
echo base_url();
?>
';
			var current_controller = '<?php 
echo $this->uri->segment(1, 'admin') . '/' . $this->uri->segment(2, 'index');
?>
';
			var current_method = '<?php 
echo $this->uri->segment(3, 'index');
?>
';
			var namespace = '<?php 
echo $this->namespace;
?>
';