PageRenderTime 323ms CodeModel.GetById 181ms app.highlight 3ms RepoModel.GetById 138ms app.codeStats 0ms

/halogy/application/views/view_template.php

https://bitbucket.org/haloweb/halogy-1.0/
PHP | 12 lines | 12 code | 0 blank | 0 comment | 2 complexity | 5f8b12d779440d46d771eb37ea137399 MD5 | raw file
 1<?php echo preg_replace('/(<\/html>)+|(<\/body>)+/i', '', $body); ?>
 2<link rel="stylesheet" href="<?php echo $this->config->item('staticPath'); ?>/css/cms.css" type="text/css" />
 3<script type="text/javascript">
 4if(!window.jQuery){var jqscript=document.createElement('script');jqscript.setAttribute("type","text/javascript");jqscript.setAttribute("src","<?php echo $this->config->item('staticPath'); ?>/js/jquery.js");document.getElementsByTagName("head")[0].appendChild(jqscript);};var jqscript=document.createElement('script');jqscript.setAttribute("type","text/javascript");jqscript.setAttribute("src","<?php echo $this->config->item('staticPath'); ?>/js/cms.js");document.getElementsByTagName("head")[0].appendChild(jqscript);
 5</script>
 6<?php if (in_array('images', $this->permission->permissions)): ?>
 7	<a href="/admin/images/viewall" id="halogycms_editpic"><img src="<?php echo $this->config->item('staticPath'); ?>/images/btn_edit_pic.png" alt="Edit Pic" /></a>
 8<?php endif; ?>
 9<div id="halogycms_browser"><p style="text-align:center;"><img src="<?php echo $this->config->item('staticPath'); ?>/images/loading.gif" alt="Loading" /></p></div>
10<div id="halogycms_popup" class="loading"></div>
11</body>
12</html>