Subversion Repositories SmartDukaan

Rev

Rev 13758 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13758 Rev 14098
Line 20... Line 20...
20
			//echo $this->Html->script(array('jquery-1.10.2','bootstrap'));
20
			//echo $this->Html->script(array('jquery-1.10.2','bootstrap'));
21
			echo $this->fetch('meta');
21
			echo $this->fetch('meta');
22
			echo $this->fetch('css');
22
			echo $this->fetch('css');
23
			echo $this->fetch('script');
23
			echo $this->fetch('script');
24
		?>
24
		?>
25
		<?php if(($this->params->controller == 'skuschemes')):?>
25
		<?php if(($this->params->controller == 'skuschemes' && $this->params->action == 'admin_add' )):?>
26
			<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
26
			<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
27
		<?php else:?>
27
		<?php else:?>
28
			<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
28
			<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
29
		<?php endif;?>
29
		<?php endif;?>
-
 
30
		<script type="text/javascript">
-
 
31
			var base_url = '<?php echo FULL_BASE_URL . Router::url('/');?>';
-
 
32
			var controller = '<?php echo $this->params->params['controller'];?>';
-
 
33
		</script>
30
		<script type="text/javascript" src="/js/admin.js"></script>
34
		<script type="text/javascript" src="/js/admin.js"></script>
-
 
35
		<script type="text/javascript" src="/js/jquery.jeditable.mini.js"></script>
31
	</head>
36
	</head>
32
	<body class="adminpanel">
37
	<body class="adminpanel">
33
		<?php echo $this->element('adminheader');?>
38
		<?php echo $this->element('adminheader');?>
34
		<div class="container">
39
		<div class="container">
35
			<?php echo $this->Session->flash(); ?>
40
			<?php echo $this->Session->flash(); ?>
36
			<?php echo $this->fetch('content'); ?>
41
			<?php echo $this->fetch('content'); ?>
37
			<?php //echo $this->element('footer');?>			
42
			<?php //echo $this->element('footer');?>			
38
		</div>
43
		</div>
39
		<?php //echo $this->element('sql_dump'); ?>
44
		<?php echo $this->element('sql_dump'); ?>
40
	</body>
45
	</body>
41
</html>
46
</html>