private function _format($id, $data, $type) { switch ($type) { case '1': // json if (CHARSET == 'gbk') { $data = array_iconv($data, 'gbk', 'utf-8'); } return json_encode($data); break; case '2': // xml $xml = Loader::lib('Xml'); return $xml->xml_serialize($data); break; case '3': // js Loader::func('dbsource:global'); ob_start(); include template_url($id); $html = ob_get_contents(); ob_clean(); return format_js($html); break; } }
<link href="<?php template_url(); ?> assets/css/drawline.css" rel="stylesheet" /> <script src="<?php template_url(); ?> assets/pace/pace.min.js" data-pace-options='{ "ajax": true }'></script> <link href="<?php template_url(); ?> assets/pace/dataurl.css" rel="stylesheet" /> <link rel="stylesheet" type="text/css" href="<?php template_url(); ?> assets/sweetalert/sweetalert.css"> </head> <body> <?php if (!on_link("admin_login")) { ?> <?php
function dynamic_css_url() { if (!is_multisite()) { return template_url() . 'assets/css/'; } $upload_info = wp_upload_dir(); return trailingslashit($upload_info['baseurl']) . 'css/'; }
<!-- Default to the left --> <strong>Copyright © <?php echo date('Y'); ?> <a href="http://www.novaframework.com/" target="_blank"><b>Nova Framework <?php echo VERSION; ?> </b></a> - </strong> All rights reserved. </footer> </div> <!-- ./wrapper --> <!-- REQUIRED JS SCRIPTS --> <?php Assets::js(array(template_url('js/bootstrap-rtl.min.js', 'Default'), vendor_url('dist/js/app.min.js', 'almasaeed2010/adminlte'), vendor_url('plugins/select2/select2.full.min.js', 'almasaeed2010/adminlte'))); echo isset($js) ? $js : ''; // Place to pass data / plugable hook zone echo isset($footer) ? $footer : ''; // Place to pass data / plugable hook zone ?> <script> $(function () { //Initialize Select2 Elements $(".select2").select2(); }); </script> <!-- Optionally, you can add Slimscroll and FastClick plugins. Both of these plugins are recommended to enhance the
echo base_url(); ?> templates/dignity/img/dignity-mem-banner-2b.jpg); max-width:100%; height:89px; } .mar-te{ padding-left:34%; } } </style> <div id="responsive" class="horizontal-banner"> <!--<a href="#"><img src="<?php echo template_url('img/banner.jpg'); ?> " alt="Dignity Flowers"></a>--> <div> <table width="100%" border="0" class="ta-image" style=""> <tr> <td width="100%" class="mar-te"> <span style="color:#45BECC;font-size:17px;font-weight:bold;"><?php echo $fun_home->funeral_home; ?> </span><br /> <span style="font-size:14px;"><?php echo $fun_home->address1; ?> , <?php echo $fun_home->city;
*************************************************/ $color_scheme = get_option('color-scheme', 'mw-template-liteness'); $font = get_option('font', 'mw-template-liteness'); $bgimage = get_option('bgimage', 'mw-template-liteness'); $custom_css_json = get_option('custom_css_json', 'mw-template-liteness'); $custom_bg = get_option('custom_bg', 'mw-template-liteness'); $custom_bg_position = get_option('custom_bg_position', 'mw-template-liteness'); $custom_bg_size = get_option('custom_bg_size', 'mw-template-liteness'); /* Color scheme */ if ($color_scheme == '') { $color_scheme = 'default'; } ?> <link rel="stylesheet" id="colorscss" href="<?php print template_url(); ?> css/colors/<?php print $color_scheme; ?> .css" type="text/css" /> <?php /* Custom defined colors */ if ($custom_css_json != '' and $custom_css_json != '{}' and json_decode($custom_css_json) != false) { $selectors = liteness_template_colors_selectors(); $json = json_decode($custom_css_json, true); $final = ''; foreach ($json as $item => $value) { $final .= $selectors[$item . '_bg'] . '{background-color:' . $value . '}' . "\n";
if($('#mas_'+num).find($(".fa")).hasClass('fa-chevron-right')){ $('#mas_'+num).find($(".fa")).removeClass('fa-chevron-right').addClass('fa-chevron-down'); } document.getElementById(val).style.display = 'block'; }else{ document.getElementById(val).style.display = 'none'; } } </script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="<?php echo template_url(); ?> js/vendor/jquery-1.11.2.min.js"><\/script>')</script> <script src="<?php echo template_url('js/vendor/bootstrap.min.js'); ?> "></script> <script src="<?php echo template_url('js/plugins.js'); ?> "></script> <script src="<?php echo template_url('js/datepicker.js'); ?> "></script> <script src="<?php echo template_url('js/main.js'); ?> "></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><?php echo $title; ?> | <?php echo Config::get('app.name', SITETITLE); ?> </title> <?php echo isset($meta) ? $meta : ''; // Place to pass data / plugable hook zone ?> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <?php Assets::css(array(vendor_url('bootstrap/css/bootstrap.min.css', 'almasaeed2010/adminlte'), 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css', vendor_url('dist/css/AdminLTE.min.css', 'almasaeed2010/adminlte'), vendor_url('dist/css/skins/_all-skins.min.css', 'almasaeed2010/adminlte'), vendor_url('plugins/select2/select2.min.css', 'almasaeed2010/adminlte'), template_url('css/style.css', 'AdminLTE'))); echo isset($css) ? $css : ''; // Place to pass data / plugable hook zone ?> <style> .pagination { margin: 0; } .pagination > li > a, .pagination > li > span { padding: 5px 10px; } </style> <?php
<div id="mobile-header" class="row" style="position:fixed;width:100%;background-color:#ffffff;z-index:5000;margin-top:-10px;padding-top:5px;padding-bottom:5px;margin-bottom:350px;"> <div class="col-lg-12"> <table width="100%" border="0"> <tr> <td width="7%"> </td> <td width="86%"> <a href="<?php echo base_url(); ?> "><img src="<?php echo template_url('img/dignityflowers-logo-213x45.png'); ?> " width="100%" alt="Dignity Flowers"></a> </td> <td width="7%"> </td> </tr> </table> </div> <div class="col-lg-12" style="background-color:#770922;margin-top:5px;"> <table width="100%"> <tr height="55">
<!-- Default to the left --> <strong>Copyright © <?php echo date('Y'); ?> <a href="http://www.novaframework.com/" target="_blank"><b>Nova Framework <?php echo VERSION; ?> </b></a> - </strong> All rights reserved. </footer> </div> <!-- ./wrapper --> <!-- REQUIRED JS SCRIPTS --> <?php Assets::js(array(vendor_url('bootstrap/js/bootstrap.min.js', 'almasaeed2010/adminlte'), vendor_url('dist/js/app.min.js', 'almasaeed2010/adminlte'), vendor_url('plugins/select2/select2.full.min.js', 'almasaeed2010/adminlte'), template_url('nestable/nestable.js', 'AdminLte'), site_url('ckeditor/ckeditor.js'))); echo isset($js) ? $js : ''; // Place to pass data / plugable hook zone echo isset($footer) ? $footer : ''; // Place to pass data / plugable hook zone ?> <script> $(function () { //Initialize Select2 Elements $(".select2").select2(); }); CKEDITOR.editorConfig = function( config ) { config.filebrowserBrowseUrl = '<?php echo site_url('admin/files/plain');
#responsive { display: block; } } @media screen and (min-width : 0px) and (max-width : 768px) { #mobile-header { display: block; } #responsive { display: none; } #left-navigation { display: none; } #caller-info { display: none; } body{ padding-top:0px; } } </style> <header> <div class="container"> <div id="responsive" class="row"> <div class="col-sm-12 text-center"> <h1><a href="<?php echo base_url(); ?> " id="logo"><img src="<?php echo template_url('img/memlogo.png'); ?> " alt="Memorial Flowers"></a></h1> </div> </div> </div> </header>
?> </b></a></p> </div> <div class="col-lg-8"> <p class="text-muted pull-right"> <?php if (Config::get('app.debug')) { ?> <small><!-- DO NOT DELETE! - Profiler --></small> <?php } ?> </p> </div> </div> </div> </footer> <?php Assets::js(['https://code.jquery.com/jquery-1.12.4.min.js', template_url('js/bootstrap-rtl.min.js', 'Default')]); echo isset($js) ? $js : ''; // Place to pass data / plugable hook zone echo isset($footer) ? $footer : ''; // Place to pass data / plugable hook zone ?> <!-- DO NOT DELETE! - Forensics Profiler --> </body> </html>
<link rel="stylesheet" href="<?php echo template_url('css/bootstrap-theme.min.css'); ?> "> <link rel="stylesheet" href="<?php echo template_url('css/datepicker.css'); ?> "> <link rel="stylesheet" href="<?php echo template_url('css/main.css'); ?> "> <!--<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">--> <link rel="stylesheet" href="<?php echo template_url('css/font-awesome.css'); ?> "> <script src="<?php echo template_url('js/vendor/modernizr-2.8.3-respond-1.4.2.min.js'); ?> "></script> </head> <body> <?php //echo $this->session->userdata('referer'); ?> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]-->
function replace_cards($string, $cards = array(), $inverse = false) { $default = array_merge(array('%template_url_admin%' => template_url_admin(), '%template_url_base%' => template_url_base(), '%template_url%' => template_url(true), '%content_url%' => content_url(), "%base_url%" => BASE_URL, "%admin_url%" => ADMIN_URL), $cards); if ($inverse == false) { $string = str_replace(array_keys($default), array_values($default), $string); } else { $string = str_replace(array_values($default), array_keys($default), $string); } return $string; }
} </style> </div> <div id="mobile-header"> <style> .popover{ max-width:280px; } </style> </div> <div class="col-sm-5"> <h2 style="border-bottom: 1px solid #EEE;">Billing Information</h2> <div class="form-group"><img src="<?php echo template_url('img/cards.gif'); ?> " ></div> <div class="form-group <?php echo highlight_error(form_error('nameoncard')); ?> "> <input type="text" class="form-control" value="<?php echo isset($vars) ? $vars->nameoncard : ''; ?> " id="nameoncard" name="nameoncard" placeholder="Name on card" /> <?php echo form_error('nameoncard', '<div class="err" style="font-size:11px;">', '</div>'); ?> </div> <div class="form-group <?php
<?php } ?> </ul> </div> </div> </nav> <?php echo isset($afterBody) ? $afterBody : ''; // Place to pass data / plugable hook zone ?> <div class="container"> <p><img src='<?php echo template_url('images/nova.png', 'Default'); ?> ' alt='<?php echo Config::get('app.name', SITETITLE); ?> ' style="max-width: 360px; height: auto;"></p> <?php echo $content; ?> </div> <footer class="footer"> <div class="container-fluid"> <div class="row" style="margin: 15px 0 0;"> <div class="col-lg-4">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><?php echo $title; ?> | <?php echo Config::get('app.name', SITETITLE); ?> </title> <?php echo isset($meta) ? $meta : ''; // Place to pass data / plugable hook zone ?> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <?php Assets::css(array(site_url('vendor/almasaeed2010/adminlte/bootstrap/css/bootstrap.min.css'), 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css', site_url('vendor/almasaeed2010/adminlte/dist/css/AdminLTE.min.css'), site_url('vendor/almasaeed2010/adminlte/dist/css/skins/_all-skins.min.css'), site_url('vendor/almasaeed2010/adminlte/plugins/iCheck/square/blue.css'), template_url('css/style.css', 'AdminLte'))); echo isset($css) ? $css : ''; // Place to pass data / plugable hook zone //Add Controller specific JS files. Assets::js(array(site_url('vendor/almasaeed2010/adminlte/plugins/jQuery/jquery-2.2.3.min.js'))); ?> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body class="hold-transition skin-<?php echo Config::get('app.color_scheme', 'blue'); ?>
<table width="100%" border="0" style="background-color:#fff;"> <tr> <td width="82%" align="center" style="padding-left:13%;"> <!--<a href="<?php echo base_url(); ?> "><img src="<?php echo base_url(); ?> templates/dignity/img/dignityflowers-logo-213x45.png" alt="Dignity Flowers"></a>--> <a href="<?php echo base_url(); ?> "><img src="<?php echo template_url(); ?> /img/memlogo.png" class="logo-mobile" alt="Memorial Flowers"></a> </td> <td width="18%" align="center" style="padding-right:7%;"> <!-- <li id="cart-icon"> <?php if (isset($tcart) && $tcart->items > 0) { ?> <a href="/shop/cart"><span style="margin-top:-10px;"><?php echo $tcart->items; ?> </span></a> <?php }