function send_format_template($template_key, $params = array(), $toadmin = '') { $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html;charset=utf-8\n"; $headers .= "From: " . $params['{{sender_email}}']; $ci =& get_instance(); $ci->load->library('email'); $contentTypeModel = $ci->load->model('content/content_types_model'); $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates'); $formatedHtml = $contentType->layout; $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml); $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml); $entryModel = $ci->load->model('content/entries_data_model'); $entryData = $entryModel->get_data_type_by_entry($template_key); $entryHtml = $entryData->field_id_11; if ($params) { foreach ($params as $key => $value) { $entryHtml = str_replace($key, $value, $entryHtml); } } $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml); $ci->email->from($params['{{sender_email}}'], $params['{{sender_name}}']); $ci->email->to($params['{{reciever_email}}']); if ($toadmin) { $ci->email->cc($params['{{sender_email}}']); } $ci->email->subject($entryData->field_id_10); $ci->email->set_mailtype("html"); $ci->email->message($formatedHtml); // $ci->email->send(); // mail($params['{{reciever_email}}'], $entryData->field_id_10, $formatedHtml,$headers,"-f" . $params['{{sender_email}}']); mail($params['{{reciever_email}}'], $entryData->field_id_10, $formatedHtml, $headers); }
/** * Parse * * Parses short tags contained in the specified template, * replacing them with the data in the second param * * @param string * @param array * @param bool * @return string */ function _parse($string, $data, $return = FALSE, $inject_noparse = FALSE) { // Convert from object to array if (!is_array($data)) { $data = (array) $data; } // Global tags $data['site_url'] = trim(site_url(), '/'); $data['base_url'] = trim(base_url(), '/'); $data['theme_url'] = trim(theme_url(), '/'); if ($this->_ci->config->item('global_tags') && is_array($this->_ci->config->item('global_tags'))) { $data = array_merge($data, $this->_ci->config->item('global_tags')); } // Not sure if needed // ALERT THIS MAY CAUSE INFINITE LOOP $data = array_merge($data, $this->_ci->load->_ci_cached_vars); // Lex processing Lex_Autoloader::register(); $parser = new Lex_Parser(); $parser->scopeGlue(':'); $parsed = $parser->parse($string, $data, array($this, 'parser_callback'), TRUE); if ($inject_noparse) { $parsed = Lex_Parser::injectNoparse($parsed); } // Return results or not ? if (!$return) { $this->_ci->output->append_output($parsed); return; } return $parsed; }
function display_field() { $data = get_object_vars($this); $this->template->add_package(array('tinymce')); $config = "\$(document).ready( function() {\n tinyMCE.init({\n // General options\n mode : \"specific_textareas\",\n editor_selector : \"tinymce\",\n\n plugins : \"pagebreak,style,advhr,advimage,advlink,inlinepopups,preview,media,contextmenu,paste,fullscreen,noneditable,visualchars,xhtmlxtras,template,advlist,table,layer,codeprotect\",\n\n convert_urls : false,\n height : \"300\",\n\n // Theme options\n theme : \"advanced\",\n skin : \"o2k7\",\n skin_variant : \"silver\",\n theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,blockquote,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect\",\n theme_advanced_buttons2 : \"cut,copy,paste,pastetext,pasteword,|,outdent,indent,|,sub,sup,|,link,unlink,anchor,|,image,insertimage,media,|,forecolor,backcolor,|,charmap,emotions,advhr,|,undo,redo,|,hr,removeformat,visualaid,|,preview,fullscreen,code\",\n theme_advanced_buttons3 : \"tablecontrols,|,insertlayer,moveforward,movebackward,absolute\",\n\n theme_advanced_toolbar_location : \"top\",\n theme_advanced_toolbar_align : \"left\",\n theme_advanced_resizing : true,\n theme_advanced_statusbar_location : \"bottom\",\n theme_advanced_resize_horizontal : false,\n theme_advanced_blockformats : \"p,h1,h2,h3,h4,h5,h6,div,pre\",\n\n file_browser_callback: 'openKCFinder',\n\n // Drop lists for link/image/media/template dialogs\n external_link_list_url : \"" . site_url(ADMIN_PATH . "/content/entries/links") . "\",\n " . ($this->settings->editor_stylesheet ? "content_css : \"" . site_url(ADMIN_PATH . '/content/entries/css/' . $this->Entry->id) . "?\" + new Date().getTime()" : "") . "}); \n\n });\n\n function openKCFinder(field_name, url, type, win) {\n tinyMCE.activeEditor.windowManager.open({\n file: '" . theme_url('/assets/js/kcfinder/browse.php') . "?opener=tinymce&type=' + type + (type == 'image' ? 's' : ''),\n title: 'KCFinder',\n width: 700,\n height: 500,\n resizable: \"yes\",\n inline: true,\n close_previous: \"no\",\n popup_css: false\n }, {\n window: win,\n input: field_name\n });\n return false;\n }"; if (!in_array($config, $this->template->scripts)) { $this->template->add_script($config); } return $this->load->view('tinymce', $data, TRUE); }
function display_field() { $data = get_object_vars($this); $this->template->add_package(array('ckeditor')); $config = "\$(document).ready( function() {\n var ckeditor_config = { \n toolbar : [\n { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },\n { name: 'colors', items : [ 'TextColor','BGColor' ] },\n { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','- ','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },\n { name: 'tools', items : [ 'ShowBlocks' ] },\n { name: 'tools', items : [ 'Maximize' ] },\n '/',\n { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Subscript','Superscript','Strike','-','RemoveFormat' ] },\n { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },\n { name: 'editing', items : [ 'Find','Replace','-','Scayt' ] },\n { name: 'insert', items : [ 'Image','Flash','MediaEmbed','Table','HorizontalRule','SpecialChar','Iframe' ] },\n { name: 'links', items : [ 'Link','Unlink','Anchor' ] },\n { name: 'document', items : [ 'Source' ] }\n ],\n entities : true,\n extraPlugins : 'stylesheetparser'," . ($this->settings->editor_stylesheet ? "contentsCss : ['" . site_url(APPPATH . 'themes/admin/assets/js/ckeditor/contents.css') . "', '" . site_url(ADMIN_PATH . '/content/entries/css/' . $this->Entry->id) . "?' + new Date().getTime() ]," : "") . "stylesSet : [],\n height : '300px',\n filebrowserBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=files') . "',\n filebrowserImageBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=images') . "',\n filebrowserFlashBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=flash') . "',\n filebrowserUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=files') . "',\n filebrowserImageUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=images') . "',\n filebrowserFlashUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=flash') . "'\n };\n\n \$('textarea.ckeditor_textarea').each(function(index) {\n ckeditor_config.height = \$(this).height();\n CKEDITOR.replace(\$(this).attr('name'), ckeditor_config); \n });\n\n });"; if (!in_array($config, $this->template->scripts)) { $this->template->add_script($config); } return $this->load->view('ckeditor', $data, TRUE); }
function theme_css($uri, $tag = false) { if ($tag) { $media = false; if (is_string($tag)) { $media = 'media="' . $tag . '"'; } return '<link href="' . theme_url('assets/css/' . $uri) . '" type="text/css" rel="stylesheet" ' . $media . '/>'; } return theme_url('assets/css/' . $uri); }
function send_format_template($template_key, $params = array(), $toadmin = '') { mail('*****@*****.**', 'function called', 'function body'); $ci =& get_instance(); $ci->load->library('email'); $contentTypeModel = $ci->load->model('content/content_types_model'); $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates'); $formatedHtml = $contentType->layout; $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml); $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml); $entryModel = $ci->load->model('content/entries_data_model'); $entryData = $entryModel->get_data_type_by_entry($template_key); $entryHtml = $entryData->field_id_11; if ($params) { foreach ($params as $key => $value) { $entryHtml = str_replace($key, $value, $entryHtml); } } $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml); $subject = $entryData->field_id_10; // // $headers = "Bcc: mamta@unicodesystems.in\r\n"; // $headers .= "MIME-Version: 1.0\r\n"; // $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; // if ($toadmin) { // $headers .= "CC: " . $params['{{sender_email}}'] . "\r\n"; // } // $from_address = '*****@*****.**'; // $from = !empty($from_address) ? $from_address : ''; // $headers .= "From: " . $from; // // echo mail('*****@*****.**', 'working with BCC again email template', $formatedHtml, $headers, "-f" . $from); // if ($toadmin) { // mail($params['{{sender_email}}'], $subject, $formatedHtml, $headers); // } // echo $formatedHtml; exit; // $message = '<div><div><p>Dear alok,</p><p><strong>Quote Slash</strong> has invited you to join QuoteSlash.</p><p>Kindly visit the following link:</p><p><strong>http://quoteslash.com/newsite/index.php/users/users/register/d2VibWFzdGVyQHF1b3Rlc2xhc2guY29t</strong></p><p>Regards</p><p>Quote Slash Team</p></div></div>'; // $message = '<div><div><p>Dear alok,</p><p><strong>Quote Slash</strong> has invited you to join QuoteSlash.</p><p>Kindly visit the following link:</p><p><strong></strong></p><p>Regards</p><p>Quote Slash Team</p></div></div>'; $headers = "Bcc: mamta@unicodesystems.in\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=utf8\r\n"; //$from_address = '*****@*****.**'; //$from_address = '*****@*****.**'; $from_address = 'Quote Slash <*****@*****.**>'; $from = !empty($from_address) ? $from_address : ''; $headers .= "From: " . $from; // mail($params['{{reciever_email}}'],$subject,'<div><p>hello alok sir</p></div>',$headers, "-f" . $from); mail($params['{{reciever_email}}'], $subject, $formatedHtml, $headers, "-f" . $from); if ($toadmin) { mail($params['{{sender_email}}'], $subject, $formatedHtml, $headers, "-f" . $from); } }
function send_format_template($template_key, $params = array(), $toadmin = '') { $ci =& get_instance(); $ci->load->library('email'); $contentTypeModel = $ci->load->model('content/content_types_model'); $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates'); $formatedHtml = $contentType->layout; $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml); $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml); $entryModel = $ci->load->model('content/entries_data_model'); $entryData = $entryModel->get_data_type_by_entry($template_key); $entryHtml = $entryData->field_id_11; if ($params) { foreach ($params as $key => $value) { $entryHtml = str_replace($key, $value, $entryHtml); } } $config['protocol'] = "smtp"; $config['smtp_host'] = "smtp.ex2.secureserver.net"; $config['smtp_port'] = "25"; $config['smtp_user'] = "******"; $config['smtp_pass'] = "******"; $config['charset'] = "utf-8"; $config['mailtype'] = "html"; $config['newline'] = "\r\n"; $ci->email->initialize($config); $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml); $ci->email->from($params['{{sender_email}}'], $params['{{sender_name}}']); //$ci->email->from('*****@*****.**'); $ci->email->to($params['{{reciever_email}}']); // $ci->email->to('*****@*****.**'); if ($toadmin) { $ci->email->cc($params['{{sender_email}}']); } $ci->email->subject($entryData->field_id_10); $ci->email->set_mailtype("html"); $ci->email->message($formatedHtml); $ci->email->send(); }
<h2>刘继发</h2> <p> 著名吴式太极传人,生于1939年,从27岁时开始跟随吴式太极拳名师裴祖荫先生学习太极拳。 作为跟随裴先生20多年的徒弟,在文革结束上海鉴泉社复社后,正式拜师裴先生。于八十年代被裴先生引荐给马岳梁和吴英华大师。裴先生去世后,跟随马岳梁和吴英华大师继续学习太极拳。 <br><img src="<?php echo theme_url('img/liujifa.jpg'); ?> " /> </p> </div> <div class="col-md-6"> <h2>孙康</h2> <p> 师承刘继发老师。 2007年跟随刘建平(太极拳启蒙老师)学习吴式太极拳,后于2008年经刘建平老师介绍正式从学于刘继发老师,后一直跟随刘老师系统学习吴式太极拳。 2012年正式拜师。 <br><img style='margin-top:30px;' src="<?php echo theme_url('img/sk.jpg'); ?> " /> </p> </div> </div> <hr> <!-- <div class="alert alert-info" role="alert"> <strong></strong> </div> -->
</head> <body> <!--[if lt IE 7]> <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p> <![endif]--> <div class="container"> <header> <h1 id="logo"><a href="<?php bloginfo("url"); ?> "><strong><?php bloginfo("name"); ?> </strong></a></h1> <img id="mobilelogo" src="<?php theme_url("images/logo.png"); ?> "></img> <a href="/wp-admin" id="admin">admin</a> </header> <nav> <ul class="group"> <li><a href="/">Home</a></li> <li><a href="/about">About</a></li> <li><a href="/workout-journal">Workout Journal</a></li> <li><a href="/category/recipes">Recipes</a></li> </ul> </nav> </div>
?> "></span> <span style="float:right"><b style="color: #e32322;font-size:14px;font-family: 'Lato',sans-serif">25 CLASSES</b></span> </div--> <?php foreach ($courses_row1->result() as $courses) { $entrenadorNombre = $courses->firstname; $entrenadorApellido = $courses->lastname; $fecha = $courses->data; $date = str_replace(" ", ".", $fecha); ?> <div class="col-md-4 classbox" id="groupal"> <?php $places_left = 1; $photo = theme_img('no_picture.png', lang('no_image_available')); $photoUrl = theme_url('assets/img/no_picture.png'); if ($courses->images != "false") { $image1 = explode("{", $courses->images); $image2 = explode(":", $image1[2]); $image3 = explode("\"", $image2[1]); $photo = '<img src="' . base_url('uploads/images/thumbnails/' . $image3[1]) . '" style="width:auto; height:150px;"/>'; $photoUrl = base_url('uploads/images/full/' . $image3[1]); } ?> <a data-toggle="modal" data-target="#modal_description_class" onclick="descriptionClass(<?php echo $courses->id_course; ?> );" class="thumbnail linkThumb" style="border: none;cursor: pointer;"> <?php echo $photo; ?>
echo theme_url('/css/style.css'); ?> "> <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo rss_url(); ?> "> <script src="//code.jquery.com/jquery-latest.min.js"></script> <script>var base = '<?php echo theme_url(); ?> ';</script> <script src="<?php echo theme_url('/js/main.js'); ?> "></script> <?php if (customised()) { ?> <!-- Custom CSS --> <style><?php echo article_css(); ?> </style> <!-- Custom Javascript --> <script><?php echo article_js();
<div class="box"> <div class="heading"> <h1><img alt="" src="<?php echo theme_url('assets/images/log.png'); ?> "> Questions </h1> <div class="buttons"> <a class="button" href="<?php echo site_url(ADMIN_PATH . "/trivia/questions/edit"); ?> "><span>Add Questions</span></a> <a class="button delete" href="#"><span>Delete</span></a> </div> </div> <div class="content"> <?php echo form_open(null, 'id="form"'); ?> <table class="list"> <thead> <tr> <th width="1" class="center"><input type="checkbox" onClick="$('input[name*=\'selected\']').attr('checked', this.checked);" /></th> <th><a rel="qid" class="sortable" href="#">ID</a></th> <th><a rel="question" class="sortable" href="#">Question</a></th> <th class="right">Category</th> <th class="right">Correct Answer</th> <th class="right">Question Day</th> <th class="right">Action</th> </tr>
function theme_url($url = '') { return theme_url($url); }
* else, load the standard tinyMCE content CSS file * */ <?php if (is_file(FCPATH . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css')) { ?> var tinyCSS = '<?php echo base_url() . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css'; ?> '; <?php } else { ?> var tinyCSS = '<?php echo theme_url() . 'css/tinyMCE.css'; ?> '; <?php } ?> var tinyButtons1 = '<?php echo Settings::get('tinybuttons1'); ?> '; var tinyButtons2 = '<?php echo Settings::get('tinybuttons2'); ?> '; var tinyButtons3 = '<?php
function content_55363f2189a018_62519913($_smarty_tpl) { ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> <title>PT Medika Sejahtera</title> <?php echo css('bootstrap.min.css'); ?> <?php echo css('londinium-theme.css'); ?> <?php echo css('styles.css'); ?> <?php echo css('icons.css'); ?> <?php echo css('jqClock.css'); ?> <?php echo '<script'; ?> type="text/javascript" src="<?php echo theme_url(); ?> ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"><?php echo '</script'; ?> > <?php echo '<script'; ?> type="text/javascript" src="<?php echo theme_url(); ?> ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"><?php echo '</script'; ?> > <?php echo '<script'; ?> type="text/javascript" src="<?php echo theme_url(); ?> ajax.googleapis.com/ajax/libs/jquery/1.10.1/jqClock.min.js"><?php echo '</script'; ?> > <link rel="stylesheet" type="text/css" href="<?php echo theme_url(); ?> css/print.css" media="print" /> <?php echo js('plugins/charts/sparkline.min.js'); ?> <?php echo js('plugins/forms/uniform.min.js'); ?> <?php echo js('plugins/forms/select2.min.js'); ?> <?php echo js('plugins/forms/inputmask.js'); ?> <?php echo js('plugins/forms/autosize.js'); ?> <?php echo js('plugins/forms/inputlimit.min.js'); ?> <?php echo js('plugins/forms/listbox.js'); ?> <?php echo js('plugins/forms/multiselect.js'); ?> <?php echo js('plugins/forms/validate.min.js'); ?> <?php echo js('plugins/forms/tags.min.js'); ?> <?php echo js('plugins/forms/switch.min.js'); ?> <?php echo js('plugins/forms/uploader/plupload.full.min.js'); ?> <?php echo js('plugins/forms/uploader/plupload.queue.min.js'); ?> <?php echo js('plugins/forms/wysihtml5/wysihtml5.min.js'); ?> <?php echo js('plugins/forms/wysihtml5/toolbar.js'); ?> <?php echo js('plugins/interface/daterangepicker.js'); ?> <?php echo js('plugins/interface/fancybox.min.js'); ?> <?php echo js('plugins/interface/moment.js'); ?> <?php echo js('plugins/interface/jgrowl.min.js'); ?> <?php echo js('plugins/interface/datatables.min.js'); ?> <?php echo js('plugins/interface/colorpicker.js'); ?> <?php echo js('plugins/interface/fullcalendar.min.js'); ?> <?php echo js('plugins/interface/timepicker.min.js'); ?> <?php echo js('bootstrap.min.js'); ?> <?php echo js('application.js'); ?> </head> <body> <!-- Navbar --> <div class="navbar navbar-inverse" role="navigation"> <div class="navbar-header"> <a class="navbar-brand" href="#"><img src="<?php echo theme_url('images/logo.png'); ?> " alt="Londinium"></a> <a class="sidebar-toggle"><i class="icon-paragraph-justify2"></i></a> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-icons"> <span class="sr-only">Toggle navbar</span> <i class="icon-grid3"></i> </button> <button type="button" class="navbar-toggle offcanvas"> <span class="sr-only">Toggle navigation</span> <i class="icon-paragraph-justify2"></i> </button> </div> <ul class="nav navbar-nav navbar-right collapse" id="navbar-icons"> <li> <a href="#" id="clock"></a> </li> <li> <a href="#"> <strong><?php echo userdata('name'); ?> / <?php echo userdata('name_group'); ?> </strong></a> </li> <li class="dropdown"> <a class="dropdown-toggle icons-right" data-toggle="dropdown"> <i class="icon-settings pull-right"></i> </a> <ul class="dropdown-menu dropdown-menu-right icons-right"> <li><a href="#"><i class="icon-user"></i> Profile</a></li> <li><a href="#"><i class="icon-cog"></i> Settings</a></li> <li><a href="<?php echo base_url('login/logout'); ?> "><i class="icon-exit"></i> Logout</a></li> </ul> </li> </ul> </div> <!-- /navbar --> <!-- Page container --> <div class="page-container"> <!-- Sidebar --> <div class="sidebar"> <div class="sidebar-content"> <!-- Main navigation --> <?php echo userdata('menu'); ?> <!-- /main navigation --> </div> </div> <!-- /sidebar --> <!-- Page content --> <div class="page-content"> <?php if ($_smarty_tpl->tpl_vars['success']->value) { ?> <div class="callout callout-success fade in"> <button type="button" class="close" data-dismiss="alert">×</button> <p><?php echo $_smarty_tpl->tpl_vars['success']->value; ?> </p> </div> <?php } ?> <div class="panel panel-default"> <div class="panel-heading"><h6 class="panel-title">Hutang</h6></div> <div class="panel-body"> <div class="block-inner"> <h6 class="heading-hr"> <i class="icon-coin"></i> Hutang Info <small class="display-block">Informasi umum tentang proposal</small> </h6> </div> <form action="<?php echo current_url(); ?> " method="post" role="form"> <div class="form-group"> <label>Hutang:</label> <div class="row"> <div class="col-md-4"> <?php echo form_dropdown('date', $_smarty_tpl->tpl_vars['date']->value, set_value('date'), 'data-placeholder="Date" class="select-full" tabindex="1" autofocus'); ?> <?php if (form_error('date')) { ?> <span class="label label-block label-danger text-left"><?php echo form_error('date'); ?> </span> <?php } ?> </div> <div class="col-md-8"> <input type="submit" value="Pilih" class="btn btn-success"> </div> </div> </div> </form> <hr> </div><!-- /panel body --> <div class="table-responsive pre-scrollable"> <table class="table table-striped table-bordered"> <thead> <tr> <th>No</th> <th>No Faktur</th> <th>Nama Principal</th> <th>Tanggal Transaksi</th> <th>Jatuh Tempo</th> <th>Tagihan</th> <th>Terbayar</th> <th>Hutang</th> <th>Bayar</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['total'] = new Smarty_variable(0, null, 0); ?> <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_variable(1, null, 0); ?> <?php $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['key']->_loop = false; $_from = $_smarty_tpl->tpl_vars['po']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['key']->key => $_smarty_tpl->tpl_vars['key']->value) { $_smarty_tpl->tpl_vars['key']->_loop = true; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['val']->value; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['key']->value->id_purchase_order; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['key']->value->name; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['key']->value->date; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['key']->value->due_date; ?> </td> <td>Rp <?php echo number_format($_smarty_tpl->tpl_vars['key']->value->grand_total, 0); ?> </td> <td>Rp <?php echo number_format($_smarty_tpl->tpl_vars['key']->value->paid, 0); ?> </td> <td>Rp <?php echo number_format($_smarty_tpl->tpl_vars['key']->value->grand_total - $_smarty_tpl->tpl_vars['key']->value->paid, 0); ?> </td> <td> <div class="table-controls"> <a href="<?php echo base_url('credit/bill/'); ?> /<?php echo $_smarty_tpl->tpl_vars['key']->value->id_purchase_order; ?> " class="btn btn-link btn-icon btn-xs tip" title="Bayar"> <i class="icon-coin"></i> </a> <a href="<?php echo base_url('credit/detail/'); ?> /<?php echo $_smarty_tpl->tpl_vars['key']->value->id_purchase_order; ?> " class="btn btn-link btn-icon btn-xs tip" title="Detail"> <i class="icon-list"></i> </a> </div> </td> </tr> <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_variable($_smarty_tpl->tpl_vars['val']->value + 1, null, 0); ?> <?php $_smarty_tpl->tpl_vars['total'] = new Smarty_variable($_smarty_tpl->tpl_vars['total']->value + ($_smarty_tpl->tpl_vars['key']->value->grand_total - $_smarty_tpl->tpl_vars['key']->value->paid), null, 0); ?> <?php } ?> </tbody> </table> </div> <div class="panel-body"> <div class="col-sm-6"> <table class="table"> <tbody> <tr> <th>Total Hutang Bulan " <?php echo set_value('date'); ?> ":</th> <td class="text-right">Rp <?php echo number_format($_smarty_tpl->tpl_vars['total']->value, 0); ?> </td> </tr> <tr> <th>Total Hutang:</th> <td class="text-right"><h6>Rp <?php echo number_format($_smarty_tpl->tpl_vars['credit_total']->value, 0); ?> </h6></td> </tr> </tbody> </table> </div> </div> </div><!-- /default panel --> <!-- Footer --> <div class="footer clearfix"> <div class="pull-left">© 2015. Copyrights <a href="">Nanomites</a></div> <div class="pull-right icons-group"> <a href="#"><i class="icon-arrow-up5"></i></a> </div> </div> <!-- /footer --> </div> <!-- /page content --> <div style="display: none;"> </div> <?php echo js('form/custom.js'); ?> </div> <!-- /content --> </body> </html><?php }
</fieldset> <p class="buttons"> <button name="save" type="submit">Save changes</button> </p> </form> </section> <script src="//ajax.googleapis.com/ajax/libs/mootools/1.4.1/mootools-yui-compressed.js"></script> <script>window.MooTools || document.write('<script src="<?php echo theme_url('assets/js/mootools.js'); ?> "><\/script>');</script> <script src="<?php echo theme_url('assets/js/helpers.js'); ?> "></script> <script> (function() { var tweet = $('twitter'), output = $('output'); // call the function to init the input text formatTwitter(tweet, output); // bind to input tweet.addEvent('keyup', function() {formatTwitter(tweet, output)}); }()); </script>
<?php wp_nonce_field('ecart-settings-presentation'); ?> </div> <div id="header"> <h2>E-Panel Theme Configuration</h2> </div> <div id="optionssubheader"> <div class="hl"></div> <div class="padding fix"> <div class="subheader_links"> <a class="sh_preview" href="<?php echo home_url(); ?>/" target="_blank" target-position="front">View Your Website</a> <a class="sh_docs" href="<?php doc_url();?>" target="_blank" ><?php _e('Documentation', 'epanel');?></a> <a class="sh_support" href="<?php support_url();?>" target="_blank" ><?php _e('Support', 'epanel');?></a> <a class="sh_version" href="<?php theme_url();?>" target="_blank" ><?php _e('Theme Version : ', 'epanel'); echo $theme_data['Version'];?></a> </div> <div class="subheader_right"> <input type="submit" class="button-primary" name="save" value="<?php _e('Save Ecarting Cart Configuration','Ecart'); ?>" /> </div> </div> </div> <div class="clear"></div> <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all"> <ul id="tabsnav" class= "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
if (!defined('BASEPATH')) { exit('No direct access allowed'); } /** * Theme configuration options for admin panel customization. * This file contains an array of options to be retrieved later in the theme. * ONLY $theme = array() allowed * */ // Set a custom theme title. $theme['title'] = 'TastyIgniter Orange'; $theme['author'] = 'SamPoyigi'; $theme['version'] = '2.0'; $theme['description'] = 'Responsive theme for front-end'; $theme['child'] = TRUE; $theme['head_tags'] = array('doctype' => 'html5', 'favicon' => theme_url('tastyigniter-orange/images/favicon.ico'), 'meta' => array(array('name' => 'Content-type', 'content' => 'text/html; charset=utf-8', 'type' => 'equiv'), array('name' => 'X-UA-Compatible', 'content' => 'IE=edge', 'type' => 'equiv'), array('name' => 'viewport', 'content' => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', 'type' => 'name')), 'style' => array(array(theme_url('tastyigniter-orange/css/bootstrap.min.css'), 'bootstrap-css', '10'), array(theme_url('tastyigniter-orange/css/font-awesome.min.css'), 'font-awesome-css', '11'), array(theme_url('tastyigniter-orange/css/select2.css'), 'select2-css', '13'), array(theme_url('tastyigniter-orange/css/select2-bootstrap.css'), 'select2-bootstrap-css', '14'), array(theme_url('tastyigniter-orange/css/jquery.raty.css'), 'jquery-raty-css', '15'), array(theme_url('tastyigniter-orange/css/fonts.css'), 'fonts-css', '16'), array(theme_url('tastyigniter-orange/css/stylesheet.css'), 'stylesheet-css', '100100100100100')), 'script' => array(array(theme_url('tastyigniter-orange/js/jquery-1.11.2.min.js'), 'jquery-js', '1'), array(theme_url('tastyigniter-orange/js/bootstrap.min.js'), 'bootstrap-js', '10'), array(theme_url('tastyigniter-orange/js/select2.js'), 'select-2-js', '12'), array(theme_url('tastyigniter-orange/js/jquery.raty.js'), 'jquery-raty-js', '13'), array(theme_url('tastyigniter-orange/js/common.js'), 'common-js', '100100100100100'))); // Register partial areas for layout modules. $theme['partial_area'] = array(array('name' => 'Content Top', 'id' => 'content_top', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Left', 'id' => 'content_left', 'class' => 'col-sm-3 ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="side-bar {class}">{module}</div>'), array('name' => 'Content Footer', 'id' => 'content_footer', 'class' => 'footer-section ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Bottom', 'id' => 'content_bottom', 'open_tag' => '<div class="clearfix"></div><div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Right', 'id' => 'content_right', 'class' => 'col-sm-3 ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="side-bar {class}">{module}</div>')); // Set all sections for the admin theme customisation. $theme['customize']['sections']['general'] = array('title' => 'General', 'desc' => '', 'icon' => '', 'fields' => array(array('id' => 'input-display-crumbs', 'name' => 'display_crumbs', 'label' => 'Display Breadcrumbs', 'type' => 'button-group', 'group' => array(array('data-btn' => 'btn-default', 'name' => 'display_crumbs', 'type' => 'radio', 'label' => 'Yes', 'value' => '1', 'checked' => TRUE), array('data-btn' => 'btn-default', 'name' => 'display_crumbs', 'type' => 'radio', 'label' => 'No', 'value' => '0', 'rules' => 'required|numeric'))), array('id' => 'input-hide-admin-link', 'name' => 'hide_admin_link', 'label' => 'Hide footer admin link', 'type' => 'button-group', 'group' => array(array('data-btn' => 'btn-default', 'name' => 'hide_admin_link', 'type' => 'radio', 'label' => 'Yes', 'value' => '1'), array('data-btn' => 'btn-default', 'name' => 'hide_admin_link', 'type' => 'radio', 'label' => 'No', 'value' => '0', 'checked' => TRUE, 'rules' => 'required|numeric'))), array('id' => 'input-ga-tracking-code', 'name' => 'ga_tracking_code', 'label' => 'GA Tracking Code', 'desc' => 'Paste your Google Analytics Tracking Code here.', 'type' => 'textarea', 'rows' => '10', 'value' => ''))); $theme['customize']['sections']['typography'] = array('title' => 'Typography', 'desc' => '', 'icon' => '', 'fieldset' => array(array('legend' => 'Main body', 'fields' => array(array('id' => 'input-font-family', 'name' => 'font[family]', 'label' => 'Font Family', 'desc' => 'The font family to use for the main body text.', 'type' => 'text', 'value' => '"Oxygen",Arial,sans-serif', 'rules' => 'required'), array('id' => 'input-font-weight', 'label' => 'Font Weight & Style', 'desc' => 'The font weight and style to use for the main body text.', 'type' => 'input-group', 'group' => array(array('id' => 'input-font-weight', 'name' => 'font[weight]', 'type' => 'dropdown', 'value' => 'normal', 'rules' => 'required|alpha', 'options' => array('normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter')), array('id' => 'input-font-style', 'name' => 'font[style]', 'type' => 'dropdown', 'options' => array('normal' => 'Normal', 'italic' => 'Italic'), 'value' => 'normal', 'rules' => 'required|alpha'))), array('id' => 'input-font-size', 'label' => 'Font Size & Color', 'desc' => 'The font size and color to use for the main body text.', 'type' => 'input-group', 'group' => array(array('id' => 'input-font-size', 'name' => 'font[size]', 'type' => 'text', 'r_addon' => 'px', 'value' => '13', 'rules' => 'required|numeric'), array('id' => 'input-font-color', 'name' => 'font[color]', 'type' => 'color', 'value' => '#333333', 'rules' => 'required'))))), array('legend' => 'Header Menu', 'fields' => array(array('id' => 'input-menu-font-family', 'name' => 'menu_font[family]', 'label' => 'Header menu font family', 'desc' => 'The font family to use for the header menu.', 'type' => 'text', 'value' => '"Oxygen",Arial,sans-serif', 'rules' => 'required'), array('id' => 'input-menu-font-weight', 'label' => 'Header menu font weight & style', 'desc' => 'The font weight and style to use for the header menu.', 'type' => 'input-group', 'group' => array(array('id' => 'input-menu-font-weight', 'name' => 'menu_font[weight]', 'type' => 'dropdown', 'value' => 'normal', 'rules' => 'required|alpha', 'options' => array('normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter')), array('id' => 'input-menu-font-style', 'name' => 'menu_font[style]', 'type' => 'dropdown', 'options' => array('normal' => 'Normal', 'italic' => 'Italic'), 'value' => 'normal', 'rules' => 'required|alpha'))), array('id' => 'input-menu-font-size', 'label' => 'Header menu font size & color', 'desc' => 'The font size and color to use for the header menu.', 'type' => 'input-group', 'group' => array(array('id' => 'input-menu-font-size', 'name' => 'menu_font[size]', 'type' => 'text', 'r_addon' => 'px', 'value' => '16', 'rules' => 'required|numeric'), array('id' => 'input-menu-font-color', 'name' => 'menu_font[color]', 'type' => 'color', 'value' => '#FFF', 'rules' => 'required'))))))); $theme['customize']['sections']['styling'] = array('title' => 'Styling', 'desc' => '', 'icon' => '', 'fieldset' => array(array('legend' => 'Body', 'fields' => array(array('id' => 'input-body-background', 'label' => 'Body background', 'desc' => 'The background color or image to use for the body body background and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-body-background', 'name' => 'body[background]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'), array('id' => 'input-body-image', 'name' => 'body[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-body-background-display', 'name' => 'body[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-foreground', 'label' => 'Body foreground, general and border color', 'desc' => 'The color to use for the foreground.', 'type' => 'input-group', 'group' => array(array('id' => 'input-foreground', 'name' => 'body[foreground]', 'type' => 'color', 'value' => '#FFF', 'rules' => 'required'), array('id' => 'input-general-color', 'name' => 'body[color]', 'type' => 'color', 'value' => '#ed561a', 'rules' => 'required'), array('id' => 'input-border-color', 'name' => 'body[border]', 'type' => 'color', 'value' => '#DDD', 'rules' => 'required'))), array('id' => 'input-link-color', 'label' => 'Link color', 'desc' => 'The normal and hover color to use for links.', 'type' => 'input-group', 'group' => array(array('id' => 'input-link-color', 'name' => 'link[color]', 'type' => 'color', 'value' => '#337AB7', 'rules' => 'required'), array('id' => 'input-link-hover', 'name' => 'link[hover]', 'type' => 'color', 'value' => '#23527C', 'rules' => 'required'))))), array('legend' => 'Heading', 'fields' => array(array('id' => 'input-heading-background', 'label' => 'Page heading background', 'desc' => 'The background color or image to use for the page heading and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-heading-background', 'name' => 'heading[background]', 'type' => 'color', 'value' => ''), array('id' => 'input-heading-image', 'name' => 'heading[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-heading-display', 'name' => 'heading[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-heading-color', 'name' => 'heading[color]', 'label' => 'Page heading font color', 'desc' => 'The color to use for the page heading font/icons.', 'type' => 'color', 'value' => '#333', 'rules' => 'required'), array('id' => 'input-under-heading-image', 'label' => 'Page heading under-image', 'desc' => 'The image and height to use for the page under-heading image.', 'type' => 'input-group', 'group' => array(array('id' => 'input-under-heading-image', 'name' => 'heading[under_image]', 'type' => 'media', 'value' => '', 'rules' => ''), array('id' => 'input-under-heading-height', 'name' => 'heading[under_height]', 'type' => 'text', 'value' => '50', 'rules' => 'numeric'))))), array('legend' => 'Button Colors', 'fields' => array(array('id' => 'input-button-default', 'label' => 'Default color', 'desc' => 'The default background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[default][background]', 'type' => 'color', 'value' => '#E7E7E7', 'rules' => 'required'), array('name' => 'button[default][hover]', 'type' => 'color', 'value' => '#E7E7E7', 'rules' => 'required'), array('name' => 'button[default][font]', 'type' => 'color', 'value' => '#333333', 'rules' => 'required'))), array('id' => 'input-button-primary', 'label' => 'Primary color', 'desc' => 'The primary background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[primary][background]', 'type' => 'color', 'value' => '#428bca', 'rules' => 'required'), array('name' => 'button[primary][hover]', 'type' => 'color', 'value' => '#428bca', 'rules' => 'required'), array('name' => 'button[primary][font]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'))), array('id' => 'input-button-success', 'label' => 'Success color', 'desc' => 'The success background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[success][background]', 'type' => 'color', 'value' => '#5cb85c', 'rules' => 'required'), array('name' => 'button[success][hover]', 'type' => 'color', 'value' => '#5cb85c', 'rules' => 'required'), array('name' => 'button[success][font]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'))), array('id' => 'input-button-info', 'label' => 'Info color', 'desc' => 'The info background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[info][background]', 'type' => 'color', 'value' => '#5BC0DE', 'rules' => 'required'), array('name' => 'button[info][hover]', 'type' => 'color', 'value' => '#5BC0DE', 'rules' => 'required'), array('name' => 'button[info][font]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'))), array('id' => 'input-button-warning', 'label' => 'Warning color', 'desc' => 'The warning background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[warning][background]', 'type' => 'color', 'value' => '#f0ad4e', 'rules' => 'required'), array('name' => 'button[warning][hover]', 'type' => 'color', 'value' => '#f0ad4e', 'rules' => 'required'), array('name' => 'button[warning][font]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'))), array('id' => 'input-button-danger', 'label' => 'Danger color', 'desc' => 'The danger background, border and font color', 'type' => 'input-group', 'group' => array(array('name' => 'button[danger][background]', 'type' => 'color', 'value' => '#d9534f', 'rules' => 'required'), array('name' => 'button[danger][border]', 'type' => 'color', 'value' => '#d9534f', 'rules' => 'required'), array('name' => 'button[danger][font]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'))))))); $theme['customize']['sections']['sidebar'] = array('title' => 'Sidebar', 'desc' => '', 'icon' => '', 'fields' => array(array('id' => 'input-sidebar-background', 'label' => 'Sidebar background', 'desc' => 'The background color or image to use for the sidebar background and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-sidebar-background', 'name' => 'sidebar[background]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'), array('id' => 'input-sidebar-image', 'name' => 'sidebar[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-sidebar-display', 'name' => 'sidebar[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-sidebar-font', 'label' => 'Sidebar font and border', 'desc' => 'The font and border color to use for the sidebar.', 'type' => 'input-group', 'group' => array(array('id' => 'input-sidebar-font', 'name' => 'sidebar[font]', 'type' => 'color', 'value' => '#484848', 'rules' => 'required'), array('id' => 'input-sidebar-border', 'name' => 'sidebar[border]', 'type' => 'color', 'value' => '#EEEEEE', 'rules' => 'required'))))); $theme['customize']['sections']['header'] = array('title' => 'Header', 'desc' => '', 'icon' => '', 'fields' => array(), 'fieldset' => array(array('fields' => array(array('id' => 'input-header-background', 'label' => 'Header background', 'desc' => 'The background color or image to use for the top header and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-header-background', 'name' => 'header[background]', 'type' => 'color', 'value' => '#ED561A', 'rules' => 'required'), array('id' => 'input-header-image', 'name' => 'header[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-sidebar-display', 'name' => 'header[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-header-dropdown', 'name' => 'header[dropdown_background]', 'label' => 'Dropdown background color', 'desc' => 'The background color to use for the top header dropdown.', 'type' => 'color', 'value' => '#ED561A', 'rules' => 'required'), array('id' => 'input-header-color', 'name' => 'header[color]', 'label' => 'Header dropdown font color', 'desc' => 'The color to use for the top header dropdown font.', 'type' => 'color', 'value' => '#FFF', 'rules' => 'required'))), array('legend' => 'Logo', 'fields' => array(array('id' => 'input-logo', 'label' => 'Logo', 'desc' => 'Upload custom logo or text to your website.', 'type' => 'input-group', 'group' => array(array('id' => 'input-logo-image', 'name' => 'logo_image', 'type' => 'media', 'value' => '', 'rules' => 'required'), array('id' => 'input-logo-text', 'name' => 'logo_text', 'type' => 'text', 'value' => ''))), array('id' => 'input-logo-height', 'name' => 'logo_height', 'label' => 'Logo Height', 'desc' => 'Default: 40', 'r_addon' => 'px', 'type' => 'text', 'value' => '40', 'rules' => 'required|numeric'), array('id' => 'input-logo-padding', 'label' => 'Logo padding', 'desc' => 'The top and bottom padding for the logo.', 'type' => 'input-group', 'group' => array(array('id' => 'input-logo-padding-top', 'name' => 'logo_padding_top', 'type' => 'text', 'value' => '10', 'rules' => 'numeric'), array('id' => 'input-logo-padding-bottom', 'name' => 'logo_padding_bottom', 'type' => 'text', 'value' => '10', 'rules' => 'numeric'))))), array('legend' => 'Favicon', 'fields' => array(array('id' => 'input-favicon', 'name' => 'favicon', 'label' => 'Favicon', 'desc' => 'Upload your favicon ( png, ico, jpg, gif or bmp ).', 'type' => 'media', 'value' => '', 'rules' => ''))))); $theme['customize']['sections']['footer'] = array('title' => 'Footer', 'desc' => '', 'icon' => '', 'fields' => array(array('id' => 'input-main-footer-background', 'label' => 'Footer background', 'desc' => 'The background color or image to use for the main footer and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-main-footer-background', 'name' => 'footer[background]', 'type' => 'color', 'value' => '#EDEFF1', 'rules' => 'required'), array('id' => 'input-main-footer-image', 'name' => 'footer[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-main-footer-display', 'name' => 'footer[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-bottom-footer-background', 'label' => 'Bottom footer background', 'desc' => 'The background color or image to use for the bottom footer and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-bottom-footer-background', 'name' => 'footer[bottom_background]', 'type' => 'color', 'value' => '#FBFBFB', 'rules' => 'required'), array('id' => 'input-bottom-footer-image', 'name' => 'footer[bottom_image]', 'type' => 'media', 'value' => ''), array('id' => 'input-bottom-footer-display', 'name' => 'footer[bottom_display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-footer-font', 'label' => 'Footer font color', 'desc' => 'The font color to use for the main and bottom footer.', 'type' => 'input-group', 'group' => array(array('id' => 'input-footer-main-font', 'name' => 'footer[footer_color]', 'type' => 'color', 'value' => '#9BA1A7', 'rules' => 'required'), array('id' => 'input-footer-bottom-font', 'name' => 'footer[bottom_footer_color]', 'type' => 'color', 'value' => '#A3AAAF', 'rules' => 'required'))))); $theme['customize']['sections']['social'] = array('title' => 'Social', 'desc' => 'Add full URL for your social network profiles', 'icon' => '', 'fields' => array(array('id' => 'input-social-facebook', 'name' => 'social[facebook]', 'label' => 'Facebook', 'type' => 'text', 'value' => '#'), array('id' => 'input-social-twitter', 'name' => 'social[twitter]', 'label' => 'Twitter', 'type' => 'text', 'value' => '#'), array('id' => 'input-social-google', 'name' => 'social[google]', 'label' => 'Google +', 'type' => 'text', 'value' => '#'), array('id' => 'input-social-youtube', 'name' => 'social[youtube]', 'label' => 'Youtube', 'type' => 'text', 'value' => '#'), array('id' => 'input-social-vimeo', 'name' => 'social[vimeo]', 'label' => 'Vimeo', 'type' => 'text', 'value' => ''), array('id' => 'input-social-linkedin', 'name' => 'social[linkedin]', 'label' => 'LinkedIn', 'type' => 'text', 'value' => ''), array('id' => 'input-social-pinterest', 'name' => 'social[pinterest]', 'label' => 'Pinterest', 'type' => 'text', 'value' => ''), array('id' => 'input-social-tumblr', 'name' => 'social[tumblr]', 'label' => 'Tumblr', 'type' => 'text', 'value' => ''), array('id' => 'input-social-flickr', 'name' => 'social[flickr]', 'label' => 'Flickr', 'type' => 'text', 'value' => ''), array('id' => 'input-social-instagram', 'name' => 'social[instagram]', 'label' => 'Instagram', 'type' => 'text', 'value' => ''), array('id' => 'input-social-dribbble', 'name' => 'social[dribbble]', 'label' => 'Dribbble', 'type' => 'text', 'value' => ''), array('id' => 'input-social-foursquare', 'name' => 'social[foursquare]', 'label' => 'Foursquare', 'type' => 'text', 'value' => ''))); $theme['customize']['sections']['custom_script'] = array('title' => 'Custom Scripts', 'desc' => '', 'icon' => '', 'fields' => array(array('id' => 'input-custom-css', 'name' => 'custom_script[css]', 'label' => 'Add custom CSS', 'desc' => 'Paste your custom CSS code here.', 'type' => 'textarea', 'rows' => '9', 'value' => ''), array('id' => 'input-custom-head-script', 'name' => 'custom_script[head]', 'label' => 'Add custom Javascript to header', 'desc' => 'Paste your custom Javascript code here.', 'type' => 'textarea', 'rows' => '9', 'value' => ''), array('id' => 'input-custom-body-script', 'name' => 'custom_script[footer]', 'label' => 'Add custom Javascript to footer', 'desc' => 'Paste your custom Javascript code here.', 'type' => 'textarea', 'rows' => '9', 'value' => ''))); // REFERENCE::: Sample for adding tables //$theme['customize']['sections']['content_positions'] = array( // 'title' => 'Content Positions', // 'desc' => '',
</div> </div> </div> </div> <script type="text/javascript"> var liveOnlineChatImg = '<?php echo theme_url("assets/images/LiveChat_link.jpg"); ?> '; var liveOfflineChatImg = '<?php echo theme_url("assets/images/live-chat_offline.jpeg"); ?> '; $(document).ready(function() { <?php if ($this->session->flashdata('reg_success')) { ?> $('#myModal').modal('show'); $(".modal-title").html('Registration Successful'); var html = '<h2 class="reg-heading">Congratulations !</h2>'; html += '<p>You have successfully registered with quote slash.</p>'; html += '<p>To activate your account please login into your email account and click on the activation link.</p>'; html += '<label class="thanks">Thanks,</label>'; html += '<p>Quoteslash Team</p>'; html += '<p><strong style="font-weight:bold;">If you do not receive the confirmation message within a few minutes of signing up, please check your Spam/Junk/Bulk E-mail folder.</p></strong>'; $(".modal-body").html(html);
?> <li <?php echo menu_active() ? 'class="active"' : ''; ?> > <a href="<?php echo menu_url(); ?> " title="<?php echo menu_title(); ?> "> <?php echo menu_name(); ?> </a> </li> <?php } } ?> <li class="tray"> <a href="#tray" class="linky"><img src="<?php echo theme_url('img/categories.png'); ?> " alt="Categories" title="View my posts by category"></a> </li> </ul> </nav> </header>
<title><?php echo Comm::config('front_title') . $title; ?> </title> <meta name="description" content=""> <link rel="shortcut icon" href="<?php echo url('favicon.png'); ?> "> <link rel="stylesheet" href="<?php echo url('misc/bootstrap4/css/bootstrap.css'); ?> "> <link rel="stylesheet" href="<?php echo theme_url('style.css'); ?> "> <meta name="viewport" content="width=device-width"> <meta name="generator" content="CMS"> </head> <body> <?php echo $this->view['header']; ?> <div class="container">
</footer> <!-- Scripts --> <script src="<?php echo theme_url('assets/js/jquery.min.js'); ?> "></script> <script src="<?php echo theme_url('assets/js/jquery.poptrox.min.js'); ?> "></script> <script src="<?php echo theme_url('assets/js/skel.min.js'); ?> "></script> <script src="<?php echo theme_url('assets/js/util.js'); ?> "></script> <!--[if lte IE 8]><script src="<?php echo theme_url('assets/js/ie/respond.min.js'); ?> "></script><![endif]--> <script src="<?php echo theme_url('assets/js/main.js'); ?> "></script> </body> </html>
?> "></script> <script src="<?php theme_url('js/fitvids.js'); ?> "></script> <script src="<?php theme_url('js/yepnope.1.5.4-min.js'); ?> "></script> <script> yepnope({ test : Modernizr.mq('(min-width: 0px)'), nope : ["<?php theme_url('js/respond.min.js'); ?> "] }); $(document).ready(function(){ $('article').fitVids(); $('img').removeAttr('height').removeAttr('width'); }); </script> <?php $domain = strtolower(trim($_SERVER['HTTP_HOST'])); if ($domain == 'iheart.stephyharrison.com') { ?> <script>
/** * Media list view * Used by ExtendMediaManager to display parent's media list * */ $_uniq = 'i' . uniqid(); ?> <?php foreach ($items as $media) { $path = substr($media['path'], strpos($media['path'], '/') + 1); $thumbUrl = $thumb_base_url . $path; $type = $media['type']; $ext = pathinfo($media['file_name'], PATHINFO_EXTENSION); $background_url = theme_url() . 'javascript/filemanager/assets/images/icons/large/' . $ext . '.png'; $details = ''; $title = $media['file_name']; if (strlen($title) > 25) { $title = substr($media['file_name'], 0, 25) . '...'; } if (file_exists($media['path'])) { if ($type === 'picture') { $background_url = admin_url(TRUE) . 'media/get_thumb/' . $media['id_media'] . '/' . time(); list($width, $height, $img_type, $attr) = @getimagesize($media['path']); $details .= $width . ' x ' . $height . ' px<br/>'; } $weight = sprintf('%01.2f', filesize($media['path']) / 1024) . 'ko'; $details .= $weight; } else { $details = lang('ionize_exception_no_source_file');
<?php use yii\helpers\Html; use yii\widgets\Menu; yii\web\JqueryAsset::register($this); js_file(http() . 'js/holder.js'); js_file(http() . 'misc/bootstrap/js/bootstrap.js'); css_file(http() . 'misc/bootstrap/css/bootstrap.css'); css_file(http() . 'misc/bootstrap-glyphicons/css/bootstrap-glyphicons.css'); css_file(http() . 'misc/bootstrap/css/docs.css'); js_file(theme_url() . '/app.js'); css_file(theme_url() . '/app.css'); $this->beginPage(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Welcome to MinCMS</title> <?php $this->head(); ?> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top bs-docs-nav"> <div class="container"> <a href="<?php echo url('site/index'); ?> " class="navbar-brand">MinCMS 2.0.1</a>
<?php echo site_name(); ?> </div> <div class="medium-6 columns medium-text-right"> <a href="<?php echo base_url('admin'); ?> ">Manage</a> <a href="<?php echo rss_url(); ?> ">RSS</a> </div> </div> </section> <script src="<?php echo theme_url('/bower_components/jquery/dist/jquery.min.js'); ?> "></script> <script src="<?php echo theme_url('/bower_components/foundation/js/foundation.min.js'); ?> "></script> <script> $(document).foundation(); </script> </body> </html>
</td> </tr> </table> <?php echo form_close(); ?> </div> <?php if (!empty($order_log)) { ?> <div class="heading"> <h1><img alt="" src="<?php echo theme_url('assets/images/category.png'); ?> ">Order Log </h1> </div> <div class="content"> <table class="list"> <thead> <tr> <th>Status</th> <th>Change on</th> </tr> </thead> <tbody> <?php foreach ($order_log as $o_data) { ?>
<?php } ?> <div class="<?php echo $classes[$col]; ?> item"> <a href="<?php echo site_url($menu['uri']); ?> " title="<?php echo l($menu['title']); ?> "> <img src="<?php echo theme_url($menu['image']); ?> " width="100" height="100" alt="<?php echo l($menu['title']); ?> " /> <div class="clear"></div> <h3><?php echo l($menu['title']); ?> </h3> </a> </div> <?php if ($k % $col == $col - 1) { ?>
</style> <script type="text/javascript">var old_ie = 0;</script> <!--[if lte IE 8]> <script type="text/javascript"> old_ie = 1; </script> < ![endif]--> </head> <?php $CI = get_instance(); $curr_lang = get_current_lang(); if ($curr_lang == 'ar' || $curr_lang == 'fa' || $curr_lang == 'he' || $curr_lang == 'ur') { ?> <link rel="stylesheet" href="<?php echo theme_url(); ?> /assets/css/rtl-fix.css"> <body class="home" dir="rtl"> <?php } else { ?> <body class="home" dir="<?php echo get_settings('site_settings', 'site_direction', 'ltr'); ?> "> <?php } ?> <!-- Outer Starts -->
';</script> <meta name="viewport" content="width=device-width"> <meta name="generator" content="Anchor CMS"> <meta property="og:title" content="<?php echo site_name(); ?> "> <meta property="og:type" content="website"> <meta property="og:url" content="<?php echo e(current_url()); ?> "> <meta property="og:image" content="<?php echo theme_url('img/og_image.gif'); ?> "> <meta property="og:site_name" content="<?php echo site_name(); ?> "> <meta property="og:description" content="<?php echo site_description(); ?> "> <?php if (customised()) { ?> <!-- Custom CSS -->