function content_56689b325bfb56_72647711($_smarty_tpl) { if (!is_callable('smarty_modifier_truncate')) { require_once '/home/ubuntu/workspace/resources/library/external/smarty/libs/plugins/modifier.truncate.php'; } if (!is_callable('smarty_modifier_capitalize')) { require_once '/home/ubuntu/workspace/resources/library/external/smarty/libs/plugins/modifier.capitalize.php'; } $_smarty_tpl->properties['nocache_hash'] = '193598146556689b32596490_76979314'; ?> <div class="card deck-card"> <div class="deck-icon"> <i class="fa fa-4x <?php echo $_smarty_tpl->tpl_vars['icon']->value; ?> "></i> </div> <div class="deck-title"> <?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8'); ?> </div> <div class="deck-description"> <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['description']->value, 256); ?> </div> <div class="deck_dropdown dropdown"> <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> Deck Action <i class="fa fa-caret-down"></i> </button> <ul class="dropdown-menu"> <li><a href="view_deck.php?deckid=<?php echo $_smarty_tpl->tpl_vars['deckid']->value; ?> ">View Deck</a></li> <?php if ($_smarty_tpl->tpl_vars['userid']->value == $_SESSION['userid']) { ?> <li><a href="edit_deck.php?deckid=<?php echo $_smarty_tpl->tpl_vars['deckid']->value; ?> ">Edit Deck</a></li> <?php } ?> <li><a href="browse_decks.php?userid=<?php echo $_smarty_tpl->tpl_vars['userid']->value; ?> ">Browse <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['usercopename']->value); ?> 's Decks</a></li> </ul> </div> </div><?php }
function content_5661951d6a7e26_87694070($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once 'C:\\xampp\\htdocs\\smarty\\libs\\plugins\\modifier.capitalize.php'; } $_smarty_tpl->properties['nocache_hash'] = '271525661951d669619_76155043'; ?> <?php echo $_smarty_tpl->getSubTemplate("3/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title' => 'foo'), 0); ?> User Information:<p> Name: <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['name']->value); ?> <br> Address: <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value, ENT_QUOTES, 'UTF-8', true); ?> <br> </p> <?php echo $_smarty_tpl->getSubTemplate("3/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0); }
function content_54d8bfe5aa5267_91162654($_smarty_tpl) { if (!is_callable('smarty_modifier_regex_replace')) { include '/home/mariposa/Desktop/webprojects/asterisk/app/lib/Smarty/plugins/modifier.regex_replace.php'; } if (!is_callable('smarty_modifier_capitalize')) { include '/home/mariposa/Desktop/webprojects/asterisk/app/lib/Smarty/plugins/modifier.capitalize.php'; } ?> <nav class="navbar navbar-inverse"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Brand</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['navbar']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; ?> <li><a href="http://127.0.0.1/<?php echo smarty_modifier_regex_replace($_smarty_tpl->tpl_vars['item']->value, "/\\.tpl/", ''); ?> "><?php echo smarty_modifier_regex_replace(smarty_modifier_capitalize($_smarty_tpl->tpl_vars['item']->value), "/\\.Tpl/", ''); ?> </a></li> <?php } ?> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav><?php }
function content_5661e957cdad23_25722410($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once 'C:\\xampp\\htdocs\\smarty\\libs\\plugins\\modifier.capitalize.php'; } $_smarty_tpl->properties['nocache_hash'] = '145415661e957c13972_48379557'; echo $_smarty_tpl->tpl_vars['articleTitle']->value; ?> <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['articleTitle']->value); ?> <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['articleTitle']->value, true); }
function content_56618bc47bdbe5_56508030($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once 'C:\\xampp\\htdocs\\smarty\\libs\\plugins\\modifier.capitalize.php'; } if (!is_callable('smarty_modifier_date_format')) { require_once 'C:\\xampp\\htdocs\\smarty\\libs\\plugins\\modifier.date_format.php'; } $_smarty_tpl->properties['nocache_hash'] = '1339756618bc477b556_37012770'; ?> <html> <head> <title>Info</title> </head> <body> <pre> User Information : Name : <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['name']->value); ?> Address : <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value, ENT_QUOTES, 'UTF-8', true); ?> Date : <?php echo smarty_modifier_date_format(time(), "%b %e, %Y"); ?> </pre> </body> </html><?php }
<td class="default"><?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_call_from_lname']; ?> , <?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_call_from_fname']; ?> </td> <td class="default"><?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_call_to_lname']; ?> , <?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_call_to_fname']; ?> </td> <td class="default"><?php echo is_array($_tmp = $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_type']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> </td> <td class="default" nowrap><?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phc_title']; ?> </td> <td class="default" nowrap><?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_phone_number']; ?> (<?php echo $this->_tpl_vars['phone_entries'][$this->_sections['i']['index']]['phs_phone_type']; ?> )</td> </tr> <?php
public static function capitalize($str, $lc_rest = true) { TemplateEngine::getInstance()->loadPlugin('smarty_modifier_capitalize'); return smarty_modifier_capitalize($str, false, $lc_rest); }
function content_56453e89398133_84829262($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once '/var/www/html/smarty/libs/plugins/modifier.capitalize.php'; } if (!is_callable('smarty_modifier_date_format')) { require_once '/var/www/html/smarty/libs/plugins/modifier.date_format.php'; } if (!is_callable('smarty_function_html_select_date')) { require_once '/var/www/html/smarty/libs/plugins/function.html_select_date.php'; } if (!is_callable('smarty_function_html_select_time')) { require_once '/var/www/html/smarty/libs/plugins/function.html_select_time.php'; } if (!is_callable('smarty_function_html_options')) { require_once '/var/www/html/smarty/libs/plugins/function.html_options.php'; } $_smarty_tpl->properties['nocache_hash'] = '141063041656453e88eecc04_08919544'; Smarty_Internal_Extension_Config::configLoad($_smarty_tpl, "test.conf", "setup", 'local'); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, $_smarty_tpl->cache_lifetime, array('title' => 'foo'), 0); ?> <PRE> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> <b><?php } ?> Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->getConfigVariable('title')); ?> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> </b><?php } ?> The current date and time is <?php echo smarty_modifier_date_format(time(), "%Y-%m-%d %H:%M:%S"); ?> The value of global assigned variable $SCRIPT_NAME is <?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> Example of accessing server environment variable SERVER_NAME: <?php echo $_SERVER['SERVER_NAME']; ?> The value of {$Name} is <b><?php echo '/*%%SmartyNocache:141063041656453e88eecc04_08919544%%*/<?php echo $_smarty_tpl->tpl_vars[\'Name\']->value;?> /*/%%SmartyNocache:141063041656453e88eecc04_08919544%%*/'; ?> </b> variable modifier example of {$Name|upper} <b><?php echo '/*%%SmartyNocache:141063041656453e88eecc04_08919544%%*/<?php echo mb_strtoupper($_smarty_tpl->tpl_vars[\'Name\']->value, \'UTF-8\');?> /*/%%SmartyNocache:141063041656453e88eecc04_08919544%%*/'; ?> </b> An example of a section loop: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['name'] = 'outer'; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['FirstName']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; ?> <?php if (1 & $_smarty_tpl->getVariable('smarty')->value['section']['outer']['index'] / 2) { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> . <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } else { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> * <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } ?> <?php } } else { ?> none <?php } ?> An example of section looped key values: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['contacts']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; ?> phone: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['phone']; ?> <br> fax: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['fax']; ?> <br> cell: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['cell']; ?> <br> <?php } } ?> <p> testing strip tags <table border=0><tr><td><A HREF="<?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> "><font color="red">This is a test </font></A></td></tr></table> </PRE> This is an example of the html_select_date function: <form> <?php echo smarty_function_html_select_date(array('start_year' => 1998, 'end_year' => 2010), $_smarty_tpl); ?> </form> This is an example of the html_select_time function: <form> <?php echo smarty_function_html_select_time(array('use_24_hours' => false), $_smarty_tpl); ?> </form> This is an example of the html_options function: <form> <select name=states> <?php echo smarty_function_html_options(array('values' => $_smarty_tpl->tpl_vars['option_values']->value, 'selected' => $_smarty_tpl->tpl_vars['option_selected']->value, 'output' => $_smarty_tpl->tpl_vars['option_output']->value), $_smarty_tpl); ?> </select> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, $_smarty_tpl->cache_lifetime, array(), 0); ?> <?php }
$this->_sections['user']['total'] = 0; } if ($this->_sections['user']['show']) { for ($this->_sections['user']['index'] = $this->_sections['user']['start'], $this->_sections['user']['iteration'] = 1; $this->_sections['user']['iteration'] <= $this->_sections['user']['total']; $this->_sections['user']['index'] += $this->_sections['user']['step'], $this->_sections['user']['iteration']++) { $this->_sections['user']['rownum'] = $this->_sections['user']['iteration']; $this->_sections['user']['index_prev'] = $this->_sections['user']['index'] - $this->_sections['user']['step']; $this->_sections['user']['index_next'] = $this->_sections['user']['index'] + $this->_sections['user']['step']; $this->_sections['user']['first'] = $this->_sections['user']['iteration'] == 1; $this->_sections['user']['last'] = $this->_sections['user']['iteration'] == $this->_sections['user']['total']; ?> <tr> <td class="lb"><label for="<?php echo $this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['name']; ?> "><?php echo is_array($_tmp = $this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['name']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> </label></td> <td><input type="<?php echo $this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['type']; ?> " name="<?php echo $this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['name']; ?> " value="<?php echo $this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['value']; ?> " <?php if ($this->_tpl_vars['userInfo'][$this->_sections['user']['index']]['name'] == 'username') { ?> disabled="disabled"<?php
function content_5023bf71030c29_13757819($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <style type="text/css"> .desc { display: none; } .opt { padding: 10px;} </style> <a href="report.php"><strong> Back To Report</strong> </a> <br> <form id="form_name" action="" name="form_name" method="post"> <ul> <li> <label for="name">Name:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['name']; ?> </li> <li> <label for="name">Registration ID:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['regid']; ?> </li> <li> <label for="name">E-mail:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['email']; ?> </li> <li> <label for="name">Date Called:</label> <?php echo $_smarty_tpl->tpl_vars['data']->value['date']; ?> </li> <li> <label for="history">History</label> <input type="text" name="history" id="history"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_history", 'message' => "History Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="complaint">Complaint</label> <input type="text" name="complaint" id="complaint" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_complaint", 'message' => "Complaint Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="diagnosis">Diagnosis</label> <input type="text" name="diagnosis" id="diagnosis" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_diagnosis", 'message' => "Diagnosis Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="intervention">Intervention</label> <textarea cols = "4" rows = "10" name="intervention" id="intervention" /> </textarea> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_intervention", 'message' => "History Field cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="option">Medication</label> <li class="opt"><label><input type="radio" name="drug" value="away" id="prescribe"><strong>Choose Location</strong></label></li> <li class="opt"><label><input type="radio" name="drug" value="home" id="prescribe2"><strong>User Home Location</strong></label></li> </li> <li> <div id="opt_prescribe" class="desc"> <label for="state" id="state3_l">Location</label> <select name="state3" id="state3" class="required" onchange="getArea3()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <div class="desc" id="area3"> </div > <!--<div class="desc" id="names3"> </div > --> <div class="desc" id="medication"> <label style="display:none" id = "l_medication" for="medication">Medication Name</label> <input name="medication" id="medication_name"/> <label style="display:none" id = "l_direction" for="medication">Usage Direction</label> <input class="desc" name="direction" id="direction"/> <label style="display:none" class="" id = "l_period" for="period">Period(Days)</label> <input class="desc" name="period" id="period"/> <a id="medicate">Add Medication</a> </div> <div class="desc" id="show_med"> </div> </div> </li> <li> <li> <label for="option">Choose Report Type</label> <li class="opt"><label><input type="radio" name="report" value="consultation" id="prescription"><strong>Consultation</strong></label></li> <li class="opt"><label><input type="radio" name="report" value="referral" id="appointment"><strong>Referral</strong></label></li> <li class="opt"><label><input type="radio" name="report" value="admission" id="admission"><strong>Admission</strong></label></li> </li> <li> <div id="opt_appointment" class="desc"> <label for="state">Specialist</label> <select name="specialist" id="specialist" class="required" onchange="getState()"> <option selected="selected" value="0" >Select Specialist</option> <?php $_smarty_tpl->tpl_vars['specialist'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['specialist']->_loop = false; $_from = $_smarty_tpl->tpl_vars['specialists']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['specialist']->key => $_smarty_tpl->tpl_vars['specialist']->value) { $_smarty_tpl->tpl_vars['specialist']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['specialist']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['specialist']->value->name); ?> </option> <?php } ?> </select> <br> <div id="opt_state" class="desc"> <label for="state">Location</label> <select name="state" id="state" class="required" onchange="getArea()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <li class="desc" id="area"> </li> <li class="desc" id="names"> </li> </div></div> </li> <div id="opt_admission" class="desc"> <label for="state">Location</label> <select name="state1" id="state1" class="required" onchange="getArea1()"> <option selected="selected" value="0" >Select State</option> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> <div class="desc" id="area1"> </div > <div class="desc" id="names1"> </div > </div> <br> <input type="submit" name="submit" value="Update Prescription" /> </ul> </form> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '161125023bf70dfdba3-34054156'); content_5092314bb36e66_37636780($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
<?php $_from = $this->_tpl_vars['mymenu']['primary_links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']) { ?> <?php if ($this->_tpl_vars['key'] > 0) { ?> |<?php } ?> <a href="<?php echo $this->_tpl_vars['value']['path']; ?> "><?php echo is_array($_tmp = $this->_tpl_vars['value']['title']) ? $this->_run_mod_handler('capitalize', true, $_tmp, true) : smarty_modifier_capitalize($_tmp, true); ?> </a> <?php } } unset($_from); ?> </div> <?php } ?> </div>
function content_5622f7db26e879_53694960($_smarty_tpl) { if (!is_callable('smarty_modifier_truncate')) { include 'D:\\Documents\\Desktop\\Code\\PSD1507\\9_Smarty\\day1017\\smarty\\plugins\\modifier.truncate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'D:\\Documents\\Desktop\\Code\\PSD1507\\9_Smarty\\day1017\\smarty\\plugins\\modifier.capitalize.php'; } ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>test1</title> </head> <body> hello world5 <?php echo $_smarty_tpl->tpl_vars['name1']->value; ?> <br /><br /> <?php echo $_smarty_tpl->tpl_vars['name2']->value; ?> <br /><br /> <?php echo $_smarty_tpl->tpl_vars['name3']->value; ?> <br /><br /> <br /><br /> <!-- 使用变量调节器 --> <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['name']->value, 20); ?> <br /><br /> <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['name']->value, 20, ''); ?> <br /><br /> <?php echo mb_strtoupper(smarty_modifier_truncate($_smarty_tpl->tpl_vars['name']->value, 20, ''), 'UTF-8'); ?> <br /><br /><br /><br /> <!-- 首字母大写 --> <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['name']->value); ?> </body> </html><?php }
unset($_template); ?> <PRE> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> <b><?php } ?> Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->getConfigVariable('title')); ?> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> </b><?php } ?> The current date and time is <?php echo smarty_modifier_date_format(time(), "%Y-%m-%d %H:%M:%S"); ?>
function content_501a4e393373d5_71446429($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <table class="tips"> <thead> <td>Role Name</td> <td>Actions</td> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['cat']->_loop = false; $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value) { $_smarty_tpl->tpl_vars['cat']->_loop = true; ?> <tr> <td><strong><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['cat']->value['name']); ?> </strong></td> <td><a href="manage_role.php?item=<?php echo $_smarty_tpl->tpl_vars['cat']->value['id']; ?> "><img src="images/manage_icon.png" alt="Manage Access Level" title="Manage Access Level"></a> <a href="roles.php?item=<?php echo $_smarty_tpl->tpl_vars['cat']->value['id']; ?> "><img src="images/delete.png" alt="Delete Role" title="Delete Role"></a> </td> </tr> <?php } ?> <tbody> </table> <a href="#mydiv" rel="facebox"><strong>Add New Role</strong></a> <div id="mydiv" style="display:none"> <h2 style="text-align: center"> Add New Role <hr/></h2> <form id="form_name" action="" method="post"> <ul><li> <label for="role">Role Name*</label> <input type="text" name="role" id="role" class="required" /> </li> <label for="level">Access Level*</label> <input type="text" name="level" id="level" class="required" /> </li> <li> <input type="submit" name="add" value="Add Role" /> </li> </ul> </form> </div> <br style="clear: both"/> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '12584501a4e392c1f34-37677547'); content_533a932a5a1012_07704955($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
<?php $_smarty_tpl->tpl_vars['kgoHasNavmenu'] = new Smarty_variable(count($_smarty_tpl->getVariable('navigationModules')->value) > 0, null, null); ?> <?php $_smarty_tpl->tpl_vars['kgoHasNavbar'] = new Smarty_variable(!isset($_smarty_tpl->getVariable('customHeader', null, true, false)->value), null, null); ?> <body class="<?php echo smarty_modifier_capitalize($_smarty_tpl->getVariable('configModule')->value); ?> Module<?php if ($_smarty_tpl->getVariable('configModule')->value != $_smarty_tpl->getVariable('moduleID')->value) { ?> <?php echo smarty_modifier_capitalize($_smarty_tpl->getVariable('moduleID')->value); ?> Module<?php } if ($_smarty_tpl->getVariable('moduleFillScreen')->value) { ?> fillscreen<?php } if ($_smarty_tpl->getVariable('kgoHasNavmenu')->value) { ?> kgo-has-navmenu<?php } if ($_smarty_tpl->getVariable('kgoHasNavbar')->value) { ?> kgo-has-navbar<?php }
if ($this->_tpl_vars['i']->network_user_id != $this->_tpl_vars['instance']->network_user_id) { ?> <option value="<?php echo $this->_tpl_vars['site_root_path']; ?> dashboard.php?u=<?php echo is_array($_tmp = $this->_tpl_vars['i']->network_username) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp); ?> &n=<?php echo is_array($_tmp = $this->_tpl_vars['i']->network) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp); ?> "><?php echo $this->_tpl_vars['i']->network_username; ?> - <?php echo is_array($_tmp = $this->_tpl_vars['i']->network) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> </option> <?php } ?> <?php } } unset($_from); ?> </select> </span> <?php } ?>
if (!(is_array($_tmp = $this->_tpl_vars['MODULE_TAB']) ? $this->_run_mod_handler('strstr', true, $_tmp, 'legal_') : strstr($_tmp, 'legal_'))) { ?> <?php $this->assign('SEARCH_MOD', 'legal_arrestees'); } else { ?> <?php $this->assign('SEARCH_MOD', $this->_tpl_vars['MODULE_TAB']); } ?> <div id="search"> <div class="wrapper"> <!--<form name='UnifiedSearch' action='index.php' onsubmit='return SUGAR.unifiedSearchAdvanced.checkUsaAdvanced()'>--> <form name='UnifiedSearch' action='index.php' onsubmit='return false;'> <input type="hidden" name="action" value="UnifiedSearch"> <input type="hidden" name="module" value="Home"> <input type="hidden" name="search_form" value="false"> <input type="hidden" name="advanced" value="false"> <input type="text" name="query_string" id="query_string" placeholder='Search <?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['SEARCH_MOD']) ? $this->_run_mod_handler('replace', true, $_tmp, 'legal_', '') : smarty_modifier_replace($_tmp, 'legal_', '')) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> ' value=""/> <button type="submit" class="button" ></button> </form> </div> </div> <?php }
function content_52dce2406cc7b2_27953047($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['info']->value; ?> <style> .code{ background-color: grey; color: white; font-size: 18px; margin: 5px; width: 200px; font-weight:bold; text-align: center; } label{ font-weight:bold; } </style> <form accept-charset="utf-8" method="post" enctype="multipart/form-data" class="contact-form" action=""> <ul> <li><label for="name">Name:</label></li> <li><input type="text" class="name" id="contact_name" value="" name="name"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_name", 'message' => "Name field cant be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="option">Choose Sex</label> </li> <li><select class="subject" id="contact_subject" name="sex"> <option value="Male">Male</option> <option value="Female">Female</option> </select> </li> <li> <label for="mobile_number">Mobile Number</label></li> <li> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li><label for="email">Email:</label></li> <li><input type="text" class="email" id="contact_email" value="" name="email"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail must be valid"), $_smarty_tpl); ?> </span> </li> <li><label for="subject">Marital Status:</label></li> <li><select class="subject" id="contact_subject" name="status"> <option value="Single">Single</option> <option value="Married">Married</option> <option value="Divorced">Divorced</option> </select> </li> <li> <label for="address">Address</label></li> <li> <input type="text" name="address" id="address" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_address", 'message' => "Address cannot be empty!"), $_smarty_tpl); ?> </span> </li> <li> <label for="state">State</label></li> <li> <select name="state" id="state" class="required"> <?php $_smarty_tpl->tpl_vars['state'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['state']->_loop = false; $_from = $_smarty_tpl->tpl_vars['states']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['state']->key => $_smarty_tpl->tpl_vars['state']->value) { $_smarty_tpl->tpl_vars['state']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['state']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['state']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="validate">Validation Code:</label></li> <li class="code"><?php echo $_smarty_tpl->tpl_vars['random']->value; ?> </li> <li><input class="validatey" type="text" id="contact_validate" name="validate"> <li><input type="hidden" class="validate2" id="contact_validate2" value="<?php echo $_smarty_tpl->tpl_vars['random']->value; ?> " name="validate2"> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_validate", 'message' => "Validation code not correctly typed!"), $_smarty_tpl); ?> </span> </li> <li><span class="contact-button"><input type="submit" value="Submit" name="submit-button"> </span></li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '1245052dce2403c5bb0-99967865'); content_5328a2a12e0812_03693646($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ ?> <?php }
function content_50817ae6453770_70119062($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="content"> <div class="clear"> <div class="content-corner clear"><span><span></span></span></div> <div class="content"> <div class="clear"> <!--right--> <!--left--> <div id="left"> <div class="left-indent"> <div class="wrapper-box module_menu"> <div class="boxTitle"> <h2>m-Health Administrator Menu</h2> </div> <div class="boxIndent"> <div class="clear"> <ul class="menu"> <li class="item1"><a href="dashboard.php"><span>Dashboard</span></a></li> <li class="item1"><a href="user.php"><span>User Profile</span></a></li> <li class="item1"><a href="logout.php"><span>Log Out</span></a></li> </ul> </div> </div> </div> </div> </div> <div class="container"> <div class="clear"> <table class="blog" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="100%" class="article_column"> <div class="article-title"> <table class="contentpaneopen"> <tr> <td class="contentheading" width="100%"> <div class="article-title-text"> <?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </div> </td> </tr> </table> </div> <div class="article-text-indent"> <div class="clear"> </div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <span class="error-message"><?php echo $_smarty_tpl->tpl_vars['info']->value; ?> </span> <table class="tips"> <thead> <td>Name</td> <td>Actions</td> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['user']->_loop = false; $_from = $_smarty_tpl->tpl_vars['users']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) { $_smarty_tpl->tpl_vars['user']->_loop = true; ?> <tr> <td><strong><?php echo $_smarty_tpl->tpl_vars['user']->value['last_name']; ?> <?php echo $_smarty_tpl->tpl_vars['user']->value['first_name']; ?> </strong></td> <td><a href="manage_user_role.php?user=<?php echo $_smarty_tpl->tpl_vars['user']->value['uid']; ?> ">Add Role</a> | <a href="#mydiv<?php echo $_smarty_tpl->tpl_vars['user']->value['uid']; ?> " rel="facebox">View Profile | Edit Profile</a> | <a href="confirm_users.php?user=<?php echo $_smarty_tpl->tpl_vars['user']->value['uid']; ?> ">Delete</a></td> <td><div id="mydiv<?php echo $_smarty_tpl->tpl_vars['user']->value['uid']; ?> " style="display:none;text-align: justify"> <h2 style="text-align: center"> <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['user']->value['last_name']); ?> <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['user']->value['first_name']); ?> Profile<hr/></h2> <form id="form_name" action="" method="post"> <ul> <li> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname" value ="<?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['user']->value['first_name']); ?> " /> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" value="<?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['user']->value['last_name']); ?> "/> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['mobile_number']; ?> "/> </li> <li> <label for="email">Email</label> <input type="text" name="email" id="email" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['email_addr']; ?> "/> </li> <input type="hidden" name="hid" id="hid" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['uid']; ?> "/> <li> <input type="submit" name="submit" value="Update <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['user']->value['first_name']); ?> 's Profile" /> </li> </ul> </form></td></tr> </div> <?php } ?> <tbody> </table> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '2515750817ae61950e6-73796952'); content_50817ae64354e3_04142059($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }
function content_5642340ea92a89_62220986($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once 'C:\\xampp\\htdocs\\Integrador\\libs\\smarty\\libs\\plugins\\modifier.capitalize.php'; } $_smarty_tpl->properties['nocache_hash'] = '261945642340e95a698_74366901'; ?> <!-- En linux se debe dar permisos a la carpte tmp En la consola de LINUX escribir: sudo chmod -R 777 /var/www/NOMBRE DE PROYECTO/tmp --> <!DOCTYPE html> <html> <head> <title><?php echo ($tmp = @$_smarty_tpl->tpl_vars['titulo']->value) === null || $tmp === '' ? "Sin titulo" : $tmp; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=utf8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css']; ?> estilo.css" rel="stylesheet" type="text/css"/> <?php echo '<script'; ?> src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> public/js/jquery.js" type="text/javascript"><?php echo '</script'; ?> > <?php echo '<script'; ?> src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> public/js/jquery.validate.js" type="text/javascript"><?php echo '</script'; ?> > <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css']; ?> fss/fss-reset.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css']; ?> fss/fss-layout.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css']; ?> fss/fss-text.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css']; ?> fss/print.css" media="print" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-theme-bw-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-theme-wb-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-theme-by-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-theme-yb-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-theme-lgdg-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/fss/fss-text-prefsEditor.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/lib/jquery/ui/css/fl-theme-by/by.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/lib/jquery/ui/css/fl-theme-yb/yb.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/lib/jquery/ui/css/fl-theme-bw/bw.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/lib/jquery/ui/css/fl-theme-wb/wb.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/lib/jquery/ui/css/fl-theme-lgdg/lgdg.css" /> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/PrefsEditor.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/css/SeparatedPanelPrefsEditor.css" rel="stylesheet" type="text/css" /> <?php echo '<script'; ?> type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/infusion-custom.js"><?php echo '</script'; ?> > <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" /> <?php echo '<script'; ?> src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"><?php echo '</script'; ?> > <?php echo '<script'; ?> src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"><?php echo '</script'; ?> > <!-- BOOTSTRAP <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> <?php echo '<script'; ?> src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"><?php echo '</script'; ?> > --> <?php echo '<script'; ?> type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_js']; ?> floe.js"><?php echo '</script'; ?> > <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['js']) && count($_smarty_tpl->tpl_vars['_layoutParams']->value['js'])) { ?> <?php $_from = $_smarty_tpl->tpl_vars['_layoutParams']->value['js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['js'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['js']->_loop = false; foreach ($_from as $_smarty_tpl->tpl_vars['js']->value) { $_smarty_tpl->tpl_vars['js']->_loop = true; $foreach_js_Sav = $_smarty_tpl->tpl_vars['js']; ?> <?php echo '<script'; ?> src="<?php echo $_smarty_tpl->tpl_vars['js']->value; ?> " type="text/javascript"><?php echo '</script'; ?> > <?php $_smarty_tpl->tpl_vars['js'] = $foreach_js_Sav; } ?> <?php } ?> <?php echo '<script'; ?> > $(document).ready(function(){ $("#dialog").dialog({ modal: true, show: "blind", hide: "explode", buttons:{ "Aceptar": function(){ $(this).dialog("close"); } } }); $("#dialog").dialog("option", "width", 100); $("#dialog").dialog("option", "height", 300); $("#dialog").dialog("option", "resizable", false); }); <?php echo '</script'; ?> > </head> <body> <header id="unalTop"> <?php if (Session::get('tipo_v') == 'Estudiante' || Session::get('tipo_v') == 'Profesor') { ?> <?php echo '<script'; ?> type="text/javascript"> // Barra Accesibilidad FLOE $(document).ready(function () { floe.setupUIO({ templatePrefix: "<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/html/", messagePrefix: "<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/messages/", tocTemplate: "<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/components/tableOfContents/html/TableOfContents.html", template: "<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> libs/infusion/framework/preferences/html/SeparatedPanelPrefsEditor.html" }); }); <?php echo '</script'; ?> > <!-- Barra Accesibilidad FLOE --> <div class="flc-prefsEditor-separatedPanel fl-prefsEditor-separatedPanel"> <div class="flc-slidingPanel-panel flc-prefsEditor-iframe"></div> <div class="fl-panelBar"> <span class="fl-prefsEditor-buttons"> <button id="Reset" class="flc-prefsEditor-reset fl-prefsEditor-reset"><span class="fl-icon-undo"></span> Restaurar</button> <button id="" class="flc-slidingPanel-toggleButton fl-prefsEditor-showHide"> Mostrar/Ocultar</button> </span> </div> </div> <?php } ?> <div class="logo"> <a href="http://unal.edu.co"> <img alt="Escudo de la Universidad Nacional de Colombia" src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_img']; ?> escudoUnal.png"/> </a> <div class="diag"> </div> </div> <div class="firstMenu"> <div class="btn-group tx-srlanguagemenu"> <div class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <!--ES--> <span class="caret"></span> </div> <ul class="dropdown-menu" role="menu"> <li><a href="http://unal.edu.co/en/">EN</a></li> </ul> </div> <!--<ul class="socialLinks"> <dd> <a>Hola</a> </dd> </ul>--> </div> <div class="navigation"> <div class="site-url"> <div class="icon"> </div><?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> </div> <div class="menu"> <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['menu'])) { ?> <?php $_from = $_smarty_tpl->tpl_vars['_layoutParams']->value['menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['it']->_loop = false; foreach ($_from as $_smarty_tpl->tpl_vars['it']->value) { $_smarty_tpl->tpl_vars['it']->_loop = true; $foreach_it_Sav = $_smarty_tpl->tpl_vars['it']; ?> <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['item']) && $_smarty_tpl->tpl_vars['_layoutParams']->value['item'] == $_smarty_tpl->tpl_vars['it']->value['id']) { ?> <?php $_smarty_tpl->tpl_vars["_item_style"] = new Smarty_Variable('current', null, 0); ?> <?php } else { ?> <?php $_smarty_tpl->tpl_vars["_item_style"] = new Smarty_Variable('', null, 0); ?> <?php } ?> <a href="<?php echo $_smarty_tpl->tpl_vars['it']->value['enlace']; ?> "><div id="<?php echo $_smarty_tpl->tpl_vars['_item_style']->value; ?> " class="btn"><?php echo $_smarty_tpl->tpl_vars['it']->value['titulo']; ?> </div></a> <?php $_smarty_tpl->tpl_vars['it'] = $foreach_it_Sav; } ?> <?php } ?> </div> </div> <div class="seal"> <img alt="Escudo de la República de Colombia" src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_img']; ?> sealColombia.png" width="66" height="66" /> </div> </header> <div class="header"> <div class="up" id="img_gaia"> <a id="linklogo" href="#"> <img class="logogaia" alt="Logo GAIA" src="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_img']; ?> logogaia.gif" /> </a> </div> <div class="up" id="tit_gaia"><?php echo $_smarty_tpl->tpl_vars['titulo']->value; ?> </div> <div class="up" id="login_gaia"> <?php if (!Session::get('autenticado')) { ?> <form id="form1" name="form1" method="post" action="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> login"> <input type="hidden" value="1" name="enviar"/> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['item']; ?> " name="de_donde"/> <div id="arealoggin"> <input type="text" class="user" name="usuario" placeholder="Usuario" <?php if (isset($_smarty_tpl->tpl_vars['datos']->value['usuario'])) { ?> value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['usuario']; ?> "<?php } ?> /> <br> <input type="password" class="user" placeholder="Contraseña" name="pass"/> <br><br> <input type="submit" class="defaultButton" value="Enviar"/> <br><br> <?php if ($_smarty_tpl->tpl_vars['_layoutParams']->value['item'] != 'registro') { ?> <a class="link" href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> registro/">Registrarse</a> <br> <a class="link" href="#">Olvidé mi contraseña</a> <?php } ?> </div> </form> <?php } else { ?> <fieldset class="field_usu"> <legend><?php echo smarty_modifier_capitalize(Session::get('nombre')); ?> (<?php echo Session::get('tipo_v'); ?> )</legend> <div id="arealoggin"> <li class="defaultButton"><a href="">Mi Perfil</a></li> <?php if (isset($_smarty_tpl->tpl_vars['roles']->value)) { ?> <li class="defaultButton" id="roles"><a>Rol</a> <ul> <?php $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['data']->_loop = false; foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) { $_smarty_tpl->tpl_vars['data']->_loop = true; $foreach_data_Sav = $_smarty_tpl->tpl_vars['data']; ?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> rol/?num=<?php echo base64_encode($_smarty_tpl->tpl_vars['data']->value['rol']); ?> &band=<?php echo base64_encode($_smarty_tpl->tpl_vars['_layoutParams']->value['item']); ?> "><?php echo $_smarty_tpl->tpl_vars['data']->value['rol']; ?> </a></li> <?php $_smarty_tpl->tpl_vars['data'] = $foreach_data_Sav; } ?> </ul> </li> <?php } ?> <li class="defaultButton"> <a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> login/cerrar/">Cerrar Sesión</a> </li> </div> </fieldset> <?php } ?> </div> </div> <div id="content"> <noscript><p> Para el correcto funcionamiento de la aplicación debe tener el soporte de JavaScript habilitado </p></noscript> <?php if (isset($_smarty_tpl->tpl_vars['_error']->value)) { ?> <div id="error"><?php echo $_smarty_tpl->tpl_vars['_error']->value; ?> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['_mensaje']->value)) { ?> <div id="mensaje"><?php echo $_smarty_tpl->tpl_vars['_mensaje']->value; ?> </div> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['_contenido']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0); ?> </div> <div id="footer"> <div class="foot" id="info"> Izquierda<!--gaia_man@unal.edu.co--> </div> <div class="foot" id="medio"> Medio </div> <div class="foot" id="contacto"> Derecha<!--Copyright ©2015 <a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root']; ?> GAIA" target="_blank">Sitio Web Oficial</a>--> </div> </div> </body> </html><?php }
function content_53e8b7e5731ff8_40113043($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { include '/Applications/XAMPP/xamppfiles/htdocs/www/lojas/anselmi/smarty/plugins/modifier.capitalize.php'; } ?> <div class="wrapper"> <?php echo $_smarty_tpl->getSubTemplate("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <!--Body content--> <div id="content" class="clearfix"> <div class="contentwrapper"><!--Content wrapper--> <?php echo $_smarty_tpl->getSubTemplate("heading.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <!-- Build page from here: Usual with <div class="row-fluid"></div> --> <div class="row-fluid"> <!--cadastro de produto--> <div class="span12"> <div class="page-header"> <h4>Cadastro de Produto</h4> </div> <?php $_smarty_tpl->tpl_vars['valueProduto'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueProduto']->_loop = false; $_from = $_smarty_tpl->tpl_vars['produto']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueProduto']->key => $_smarty_tpl->tpl_vars['valueProduto']->value) { $_smarty_tpl->tpl_vars['valueProduto']->_loop = true; ?> <?php } ?> <div style="margin-bottom: 20px;"> <div class="tabbable"> <ul id="myTab" class="nav nav-tabs pattern"> <li class="active"><a href="#tab1" data-toggle="tabProduto">Informações</a></li> <li class="inativo"><a href="#tab2" data-toggle="tabProduto">Preços</a></li> <li class="inativo"><a href="#tab3" data-toggle="tabProduto">SEO</a></li> <li class="inativo"><a href="#tab4" data-toggle="tabProduto">Categorias</a></li> <li class="inativo"><a href="#tab5" data-toggle="tabProduto">Combinações</a></li> <li class="inativo"><a href="#tab8" data-toggle="tabProduto">Upload Imagens/Manual</a></li> <li class="inativo"><a href="#tab6" data-toggle="tabProduto">Estoque</a></li> <li class="inativo"><a href="#tab7" data-toggle="tabProduto">Tipo Frete</a></li> <li class="inativo"><a href="#tab9" data-toggle="tabProduto">Compre Junto</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab1"> <form class="form-horizontal" id="cadastroProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']) { ?> <input type="hidden" value="editarProduto" name="acao" id="acao"> <?php } else { ?> <input type="hidden" value="cadastrarProduto" name="acao" id="acao"> <?php } ?> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " id="idProduto" name="idProduto"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="checkboxes">Fabricante</label> <div class="span8 controls"> <select name="fabricanteProduto" id="fabricanteProduto" style="width:100%;"> <?php $_smarty_tpl->tpl_vars['valorPessoaFabricante'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorPessoaFabricante']->_loop = false; $_from = $_smarty_tpl->tpl_vars['pessoaFabricante']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorPessoaFabricante']->key => $_smarty_tpl->tpl_vars['valorPessoaFabricante']->value) { $_smarty_tpl->tpl_vars['valorPessoaFabricante']->_loop = true; ?> <option <?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['PESS_ID_PESSOA_FABRICANTE'] == $_smarty_tpl->tpl_vars['valorPessoaFabricante']->value['ID_PESSOA']) { ?> selected="selected"<?php } ?> value="<?php echo $_smarty_tpl->tpl_vars['valorPessoaFabricante']->value['ID_PESSOA']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorPessoaFabricante']->value['NOME']; ?> </option> <?php } ?> </select> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="normal">Situação</label> <div class="span4 controls"> <select id="situacaoProduto" name="situacaoProduto" > <?php $_smarty_tpl->tpl_vars['valorProdutoSituacao'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorProdutoSituacao']->_loop = false; $_from = $_smarty_tpl->tpl_vars['produtoSituacao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorProdutoSituacao']->key => $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value) { $_smarty_tpl->tpl_vars['valorProdutoSituacao']->_loop = true; ?> <?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['PRSI_ID_PRODUTO_SITUACAO'] == $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value['ID_PRODUTO_SITUACAO']) { ?> <option selected="selected" value="<?php echo $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value['ID_PRODUTO_SITUACAO']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value['DESCRICAO_SITUACAO']; ?> </option> <?php } else { ?> <option value="<?php echo $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value['ID_PRODUTO_SITUACAO']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorProdutoSituacao']->value['DESCRICAO_SITUACAO']; ?> </option> <?php } ?> <?php } ?> </select> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Descrição Venda</label> <input class="span8" id="nomeProduto" type="text" name="nomeProduto" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['NOME']; ?> " maxlength="100" /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Referência</label> <input class="span3" id="referenciaProduto" type="text" name="referenciaProduto" maxlength="50" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['REFERENCIA']; ?> " /> </div> </div> </div> <!--<div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">EAN</label> <input class="span8" id="codeanProduto" type="text" name="codeanProduto" maxlength="50" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['COD_EAN']; ?> "/> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">NCM</label> <input class="span8" id="ncmProduto" type="text" name="ncmProduto" maxlength="50" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['NCM']; ?> "/> </div> </div> </div>--> <hr /> <?php $_smarty_tpl->tpl_vars['valueNivelAux'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueNivelAux']->_loop = false; $_smarty_tpl->tpl_vars['keyNivelAux'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaNivelAux']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueNivelAux']->key => $_smarty_tpl->tpl_vars['valueNivelAux']->value) { $_smarty_tpl->tpl_vars['valueNivelAux']->_loop = true; $_smarty_tpl->tpl_vars['keyNivelAux']->value = $_smarty_tpl->tpl_vars['valueNivelAux']->key; ?> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="normal"><?php echo smarty_modifier_capitalize(mb_strtolower($_smarty_tpl->tpl_vars['keyNivelAux']->value, 'UTF-8')); ?> </label> <div class="span4 controls"> <select name="nivelAuxProduto[]" > <?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['value']->_loop = false; $_from = $_smarty_tpl->tpl_vars['valueNivelAux']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) { $_smarty_tpl->tpl_vars['value']->_loop = true; ?> <option <?php if ($_smarty_tpl->tpl_vars['value']->value['ID_NIVEL_AUX_VALOR'] == $_smarty_tpl->tpl_vars['listaNivelAuxProduto']->value[$_smarty_tpl->tpl_vars['keyNivelAux']->value][0]['ID_NIVEL_AUX_VALOR']) { ?> selected="selected"<?php } ?> value="<?php echo $_smarty_tpl->tpl_vars['value']->value['ID_NIVEL_AUX_VALOR']; ?> "><?php echo $_smarty_tpl->tpl_vars['value']->value['VALOR']; ?> </option> <?php } ?> </select> </div> </div> </div> </div> <?php } ?> <!-- <hr /> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Preço Venda</label> <input class="span3 mask-moeda-real" id="precoVendaProduto" type="text" name="precoVendaProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['valueProduto']->value['PRECO_VENDA'], 2, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Data Inicial Validade</label> <input class="span3 mask-data datepicker" id="precoVendaProdutoDataInicialValidade" type="text" name="precoVendaProdutoDataInicialValidade" value="<?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['DATA_INICIAL_VALIDADE']) { echo $_smarty_tpl->tpl_vars['valueProduto']->value['DATA_INICIAL_VALIDADE']; } else { echo $_smarty_tpl->tpl_vars['dataAtual']->value; } ?> "/> </div> </div> </div> --> <hr /> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Peso (Kg)</label> <input class="span3 mask-4-decimais" id="pesoProduto" type="text" name="pesoProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['valueProduto']->value['PESO_KG'], 4, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Altura (cm)</label> <input class="span3 mask-4-decimais" id="alturaProduto" type="text" name="alturaProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['valueProduto']->value['ALTURA_CM'], 4, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Largura (cm)</label> <input class="span3 mask-4-decimais" id="larguraProduto" type="text" name="larguraProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['valueProduto']->value['LARGURA_CM'], 4, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Profundidade (cm)</label> <input class="span3 mask-4-decimais" id="profundidadeProduto" type="text" name="profundidadeProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['valueProduto']->value['PROFUNDIDADE_CM'], 4, ",", "."); ?> " /> </div> </div> </div> <hr /> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Data Inicial Lançamento</label> <input class="span3 datepicker" id="dataInicialLancamentoProduto" type="text" name="dataInicialLancamentoProduto" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['DATA_INICIAL_LANCAMENTO']; ?> "/> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Data Final Lançamento</label> <input class="span3 datepicker" id="dataFinalLancamentoProduto" type="text" name="dataFinalLancamentoProduto" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['DATA_FINAL_LANCAMENTO']; ?> "/> </div> </div> </div> <hr /> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Descrição Curta</label> <div class="form-row"> <textarea id="descricaoCurtaProduto" name="descricaoCurtaProduto" class="span8 limit" rows="3" ><?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['DESCRICAO_CURTA']; ?> </textarea> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Descrição Longa</label> <div class="form-row"> <textarea id="descricaoLongaProduto" name="descricaoLongaProduto" class="span8 limit" rows="5"><?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['DESCRICAO_LONGA']; ?> </textarea> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Video</label> <input class="span8" id="videoProduto" name="videoProduto" type="text" value="<?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['VIDEO']) { ?> http://www.youtube.com/watch?v=<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['VIDEO']; } ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required"></label> <?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['VIDEO']) { ?> <iframe width="200" src="//www.youtube.com/embed/<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['VIDEO']; ?> " frameborder="0" allowfullscreen></iframe> <?php } ?> </div> </div> </div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> </div> <div id="teste"></div> <div class="tab-pane" id="tab2"> <form class="form-horizontal" id="gravaPrecoProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="gravaPrecoProduto" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " name="idProdutoCorrente"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Preço Venda Atacado</label> <input class="span3 mask-moeda-real" id="precoVendaProduto" type="text" name="precoVendaProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['precoVenda']->value, 2, ",", "."); ?> " /> </div> </div> </div> <input class="span3 mask-data datepicker" id="precoVendaProdutoDataInicialValidade" type="hidden" name="precoVendaProdutoDataInicialValidade" value="<?php echo $_smarty_tpl->tpl_vars['dataAtual']->value; ?> "/> <!-- <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Data Inicial Validade</label> <input class="span3 mask-data datepicker" id="precoVendaProdutoDataInicialValidade" type="text" name="precoVendaProdutoDataInicialValidade" value="<?php echo $_smarty_tpl->tpl_vars['precoVendaDataInicial']->value; ?> "/> </div> </div> </div> --> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Markup</label> <input class="span1 mask-moeda-real" id="precoVendaMarkup" type="text" name="precoVendaMarkup" value="<?php echo $_smarty_tpl->tpl_vars['precoVendaMarkup']->value; ?> "/> *Markup Geral R$ <?php echo number_format($_smarty_tpl->tpl_vars['markup']->value, 2, ",", "."); ?> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Preço Venda Varejo</label> <input class="span3 mask-moeda-real" id="precoVendaProdutoVarejo" readonly type="text" name="precoVendaProdutoVarejo" value="<?php echo number_format($_smarty_tpl->tpl_vars['precoVenda']->value * $_smarty_tpl->tpl_vars['markup']->value, 2, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Preço Promocional Atacado</label> <input class="span3 mask-moeda-real" id="precoPromocionalProduto" type="text" name="precoPromocionalProduto" value="<?php echo number_format($_smarty_tpl->tpl_vars['precoPromocional']->value, 2, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Preço Promocional Varejo</label> <input class="span3 mask-moeda-real" id="precoPromocionalProdutoVarejo" readonly type="text" name="precoPromocionalProdutoVarejo" value="<?php echo number_format($_smarty_tpl->tpl_vars['precoPromocional']->value * $_smarty_tpl->tpl_vars['markup']->value, 2, ",", "."); ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Data Inicial Validade</label> <input class="span3 mask-data datepicker" id="precoPromocionalProdutoDataInicialValidade" type="text" name="precoPromocionalProdutoDataInicialValidade" value="<?php echo $_smarty_tpl->tpl_vars['precoPromocionalDataInicial']->value; ?> "/> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Data Final Validade</label> <input class="span3 mask-data datepicker" id="precoPromocionalProdutoDataFinalValidade" type="text" name="precoPromocionalProdutoDataFinalValidade" value="<?php echo $_smarty_tpl->tpl_vars['precoPromocionalDataFinal']->value; ?> "/> </div> </div> </div> <br> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> <table class="responsive table table-condensed"> <thead> <tr> <th></th> <th>Valor Atacado R$</th> <th>Markup</th> <th>Valor Varejo R$</th> <th>Data Inicial Validade</th> <th>Data Final Validade</th> <th>Data Inserido</th> <th>Ações</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->_loop = false; $_from = $_smarty_tpl->tpl_vars['produtoPrecoTodos']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->key => $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value) { $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->_loop = true; ?> <tr id="tr<?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['ID_PRODUTO_PRECO_VENDA']; ?> "> <td><?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['DESCRICAO']; ?> </td> <td><?php echo number_format($_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['VALOR'], 2, ",", "."); ?> </td> <td><?php echo number_format($_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['MARKUP_GERAL'], 2, ",", "."); ?> </td> <td><?php echo number_format($_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['VALOR'] * $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['MARKUP_GERAL'], 2, ",", "."); ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['DATA_INICIAL_VALIDADE']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['DATA_FINAL_VALIDADE']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['DATA_INSERT']; ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['DATA_INSERT'] == $_smarty_tpl->tpl_vars['dataAtual']->value) { ?> <a href="javascript:removeProdutoPreco(<?php echo $_smarty_tpl->tpl_vars['valueProdutoPrecoTodos']->value['ID_PRODUTO_PRECO_VENDA']; ?> );" title="Remover" class="tip"><span class="icon12 icomoon-icon-remove"></span></a> <?php } ?> </td> </tr> <?php } ?> </tbody> </table> </div> <div class="tab-pane" id="tab3"> <form class="form-horizontal" id="gravaMetaProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="editaMetaProduto" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " id="idProduto" name="idProduto"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Meta title</label> <input class="span8" id="metaTitleProduto" type="text" name="metaTitleProduto" maxlength="70" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['META_TITLE']; ?> " /> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Meta description</label> <textarea id="metaDescriptionProduto" name="metaDescriptionProduto" class="span8 limit" rows="2" ><?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['META_DESCRIPTION']; ?> </textarea> </div> </div> </div> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Meta keywords</label> <input class="span8" id="metaKeywordsProduto" type="text" name="metaKeywordsProduto" maxlength="200" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['META_KEYWORDS']; ?> " /> </div> </div> </div> <!--<div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">URL Amigável</label> <input class="span8" id="urlAmigavelProduto" type="text" name="urlAmigavelProduto" maxlength="100" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['URL_AMIGAVEL']; ?> " /> </div> </div> </div>--> <!--<div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3">Tags</label> <input class="span8" id="tagsProduto" type="text" name="tagsProduto" maxlength="100" /> </div> </div> </div>--> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> </div> <div class="tab-pane" id="tab4"> <form class="form-horizontal" id="gravaCategoriaProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="editarCategoriaProduto" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " id="idProduto" name="idProduto"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <?php echo $_smarty_tpl->tpl_vars['listaCategoria']->value; ?> </div> </div> </div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> </div> <div class="tab-pane" id="tab5"> <form class="form-horizontal" id="gravaCombinacaoProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="gravaCombinacaoProduto" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " name="idProdutoCorrente"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <div class="span8 controls"> <select id="atributos" style="width:300px; height:<?php echo count($_smarty_tpl->tpl_vars['listaAtributoProduto']->value) * 20; ?> px;" name="atributos[]" class="nostyle" multiple="multiple"> <?php $_smarty_tpl->tpl_vars['valorListaAtributo'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorListaAtributo']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaAtributo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorListaAtributo']->key => $_smarty_tpl->tpl_vars['valorListaAtributo']->value) { $_smarty_tpl->tpl_vars['valorListaAtributo']->_loop = true; ?> <optgroup label="<?php echo $_smarty_tpl->tpl_vars['valorListaAtributo']->value['DESCRICAO_ATRIBUTO']; ?> "> <?php $_smarty_tpl->tpl_vars['valorlistaAtributoProduto'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaAtributoProduto']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->key => $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->value) { $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->_loop = true; ?> <?php if ($_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->value['ATRI_ID_ATRIBUTO'] == $_smarty_tpl->tpl_vars['valorListaAtributo']->value['ID_ATRIBUTO']) { ?> <option value="<?php echo $_smarty_tpl->tpl_vars['valorListaAtributo']->value['ID_ATRIBUTO']; ?> .<?php echo $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->value['ID_ATRIBUTO_VALOR']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorlistaAtributoProduto']->value['VALOR']; ?> </option> <?php } ?> <?php } ?> </option> <?php } ?> </select> </div> </div> </div> </div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> <div class="form-row row-fluid"> <div class="span12"> <table class="responsive table"> <thead> <tr> <th>Combinação</th> <th class="span4">Referência</th> <th class="span4">Preço Produto</th> <!-- <th>Principal</th> --> <th style="width: 50px;">Ações</th> </tr> </thead> <?php $_smarty_tpl->tpl_vars['valueCombinacao1'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao1']->_loop = false; $_smarty_tpl->tpl_vars['key1'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaCombinacao1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao1']->key => $_smarty_tpl->tpl_vars['valueCombinacao1']->value) { $_smarty_tpl->tpl_vars['valueCombinacao1']->_loop = true; $_smarty_tpl->tpl_vars['key1']->value = $_smarty_tpl->tpl_vars['valueCombinacao1']->key; ?> <tbody> <tr> <td> <?php $_smarty_tpl->tpl_vars['count'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['key1']->value]), null, 0); ?> <?php $_smarty_tpl->tpl_vars['valueCombinacao2'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['key1']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao2']->key => $_smarty_tpl->tpl_vars['valueCombinacao2']->value) { $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = true; $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration++; ?> <?php echo $_smarty_tpl->tpl_vars['valueCombinacao2']->value; ?> <?php if ($_smarty_tpl->tpl_vars['valueCombinacao2']->iteration != $_smarty_tpl->tpl_vars['count']->value) { ?> / <?php } ?> <?php } ?> </td> <td><input class="span6" type="text" name="refeCombinacao<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " id="refeCombinacao<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " value="<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['REFERENCIA']; ?> "></td> <td><input class="span6 mask-moeda-real" type="text" name="precoCombinacao<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " id="precoCombinacao<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " value="<?php echo number_format($_smarty_tpl->tpl_vars['valueCombinacao1']->value['PRECO_VENDA'], 2, ",", "."); ?> "></td> <!-- <td><input type="radio" name="produtoPrincipal" id="produtoPrincipal<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " value="<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> " <?php if ($_smarty_tpl->tpl_vars['valueCombinacao1']->value['PRODUTO_PRINCIPAL'] == 'S') { ?> checked="checked"<?php } ?> ></td> --> <td> <a class="tip" href="javascript: editaCombinacao('<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> ');" oldtitle="editar" title="editar" aria-describedby="ui-tooltip-13"> <span class="icon12 icomoon-icon-pencil "></span> </a> <a class="tip" href="javascript: removeCombinacao('<?php echo $_smarty_tpl->tpl_vars['valueCombinacao1']->value['CODIGO_UNICO']; ?> ');" oldtitle="excluir" title="excluir" aria-describedby="ui-tooltip-13"> <span class="icon12 icon-remove"></span> </a> </td> </tr> </tbody> <?php } ?> </table> </div> </div> </div> <div class="tab-pane" id="tab6"> <form class="form-horizontal" id="gravaEstoqueProduto" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="editarEstoqueProduto" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " id="idProduto" name="idProduto"> <div class="form-row row-fluid"> <div class="span9"> <div class="row-fluid"> <label class="form-label span3" for="normal">Operação Depósito</label> <div class="span4 controls"> <select name="operacaoDeposito" id="operacaoDeposito"> <option value="" selected="selected">-Selecione-</option> <?php $_smarty_tpl->tpl_vars['valorOperacaoDeposito'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaOperacaoDeposito']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->key => $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->value) { $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->value['ID']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorOperacaoDeposito']->value['DESCRICAO']; ?> </option> <?php } ?> </select> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span9"> <div class="row-fluid"> <label class="form-label span3" for="normal">Depósito</label> <div class="span4 controls"> <select name="deposito" id="deposito" > <option value="" selected="selected">-Selecione-</option> <?php $_smarty_tpl->tpl_vars['valorDeposito'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorDeposito']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaDeposito']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorDeposito']->key => $_smarty_tpl->tpl_vars['valorDeposito']->value) { $_smarty_tpl->tpl_vars['valorDeposito']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['valorDeposito']->value['ID']; ?> "><?php echo $_smarty_tpl->tpl_vars['valorDeposito']->value['DESCRICAO']; ?> </option> <?php } ?> </select> </div> </div> </div> </div> <br> <div class="row-fluid"> <div class="span12"> <table class="responsive table"> <thead> <tr> <th>Imagem</th> <th>Atributo</th> <th>Referência</th> <th>Saldo</th> <th>Quantidade</th> <!--<th style="width:10 px;">Ações</th>--> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['valorListaEstoqueProduto'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaEstoqueProduto']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->key => $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value) { $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->key; ?> <tr> <td> <?php $_smarty_tpl->tpl_vars['ordem'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['ordem']->_loop = false; $_smarty_tpl->tpl_vars['imagem'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaImagemEstoque']->value[$_smarty_tpl->tpl_vars['key']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['ordem']->key => $_smarty_tpl->tpl_vars['ordem']->value) { $_smarty_tpl->tpl_vars['ordem']->_loop = true; $_smarty_tpl->tpl_vars['imagem']->value = $_smarty_tpl->tpl_vars['ordem']->key; ?> <img src="<?php echo $_smarty_tpl->tpl_vars['urlImagem']->value; if ($_smarty_tpl->tpl_vars['imagem']->value) { echo $_smarty_tpl->tpl_vars['imagem']->value; } else { ?> SEM_IMAGEM.JPG<?php } ?> " class="img-polaroid" /> <?php break 1; ?> <?php } ?> </td> <td><?php $_smarty_tpl->tpl_vars['codigoUnico'] = new Smarty_variable($_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['ID_PRODUTO_COMBINACAO'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['count'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['codigoUnico']->value]), null, 0); ?> <?php $_smarty_tpl->tpl_vars['valueCombinacao2'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['codigoUnico']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao2']->key => $_smarty_tpl->tpl_vars['valueCombinacao2']->value) { $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = true; $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration++; ?> <?php echo $_smarty_tpl->tpl_vars['valueCombinacao2']->value; ?> <?php if ($_smarty_tpl->tpl_vars['valueCombinacao2']->iteration != $_smarty_tpl->tpl_vars['count']->value) { ?> / <?php } ?> <?php } ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['REFERENCIA']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['SALDO']; ?> </td> <td> <input id="quantidadeEstoque" name="quantidadeEstoque[<?php echo $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['ID_PRODUTO_COMBINACAO']; ?> ]" type="text" class="span3"> </td> <!-- <td> <a class="tip" href="#" oldtitle="salvar este" title="salvar este" aria-describedby="ui-tooltip-13"> <span class="icon12 icomoon-icon-pencil"></span> </a> </td>--> </tr> <?php } ?> </tbody> </table> </div><!-- End .span6 --> </div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> </div> <div class="tab-pane" id="tab7"> <form class="form-horizontal" id="gravaProdutoTipoFrete" action="<?php echo $_smarty_tpl->tpl_vars['ACTIONS_DIR']->value; ?> produto.php" method="post"/> <input type="hidden" value="editaProdutoTipoFrete" name="acao" id="acao"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " id="idProduto" name="idProduto"> <div class="form-row row-fluid"> <div class="span6"> <div class="row-fluid"> <table class="responsive table"> <thead> <tr> <th>#</th> <th>Tipo Frete</th> <th>Ativo</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['valorTipoFrete'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorTipoFrete']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaTipoFrete']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorTipoFrete']->key => $_smarty_tpl->tpl_vars['valorTipoFrete']->value) { $_smarty_tpl->tpl_vars['valorTipoFrete']->_loop = true; ?> <tr> <?php if ($_smarty_tpl->tpl_vars['valorTipoFrete']->value['PROD_ID_PRODUTO']) { ?> <td><?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['ID_TIPO_FRETE']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['DESCRICAO_FRETE']; ?> </td> <td><input type="checkbox" name="tipoFrete[]" checked="checked" value="<?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['ID_TIPO_FRETE']; ?> " /></td> <?php } else { ?> <td><?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['ID_TIPO_FRETE']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['DESCRICAO_FRETE']; ?> </td> <td><input type="checkbox" name="tipoFrete[]" value="<?php echo $_smarty_tpl->tpl_vars['valorTipoFrete']->value['ID_TIPO_FRETE']; ?> " /></td> <?php } ?> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> </div> <div class="tab-pane" id="tab8"> <div class="row-fluid"> <div class="span12"> <form action="actions/upload.php" id="uploadImagem" method="post" enctype="multipart/form-data"> <input type="hidden" name="acao" value="uploadImagem"> <div class="form-row row-fluid"> <div class="span9"> <div class="row-fluid"> <label class="form-label span3" for="normal">Combinação</label> <div class="span8 controls"> <select name="combinacaoImagem[]" class="nostyle" multiple="multiple" style="width:300px; height:<?php echo count($_smarty_tpl->tpl_vars['listaCombinacao1']->value) * 20; ?> px;"> <?php $_smarty_tpl->tpl_vars['valueCombinacao1'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao1']->_loop = false; $_smarty_tpl->tpl_vars['key1'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaCombinacao1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao1']->key => $_smarty_tpl->tpl_vars['valueCombinacao1']->value) { $_smarty_tpl->tpl_vars['valueCombinacao1']->_loop = true; $_smarty_tpl->tpl_vars['key1']->value = $_smarty_tpl->tpl_vars['valueCombinacao1']->key; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['key1']->value; ?> "> <?php $_smarty_tpl->tpl_vars['count'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['key1']->value]), null, 0); ?> <?php $_smarty_tpl->tpl_vars['valueCombinacao2'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['key1']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao2']->key => $_smarty_tpl->tpl_vars['valueCombinacao2']->value) { $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = true; $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration++; ?> <?php echo $_smarty_tpl->tpl_vars['valueCombinacao2']->value; ?> <?php if ($_smarty_tpl->tpl_vars['valueCombinacao2']->iteration != $_smarty_tpl->tpl_vars['count']->value) { ?> / <?php } ?> <?php } ?> </option> <?php } ?> </select> </div> </div> </div> </div> <div class="form-row row-fluid"> <div class="span9"> <div class="row-fluid"> <label class="form-label span3" for="normal">Imagens</label> <input type="file" name="myfile[]" multiple> </div> </div> </div> <!-- <div class="progress"> <div class="bar"></div> <div class="percent"></div> </div> --> <div id="status"></div> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> <!--<button type="button" class="btn">Cancelar</button>--> </div> </form> <div class="row-fluid"> <div class="span12"> <span class="right">Deixe 0 (zero) na imagem que deve ser a principal</span> <table class="responsive table"> <thead> <tr> <th>Atributo</th> <th>Referência</th> <th>Imagem</th> <th>Ação</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['valorListaEstoqueProduto'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaEstoqueProduto']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->key => $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value) { $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->key; ?> <tr> <td><?php $_smarty_tpl->tpl_vars['codigoUnico'] = new Smarty_variable($_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['ID_PRODUTO_COMBINACAO'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['count'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['codigoUnico']->value]), null, 0); ?> <?php $_smarty_tpl->tpl_vars['valueCombinacao2'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaCombinacao2']->value[$_smarty_tpl->tpl_vars['codigoUnico']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['valueCombinacao2']->key => $_smarty_tpl->tpl_vars['valueCombinacao2']->value) { $_smarty_tpl->tpl_vars['valueCombinacao2']->_loop = true; $_smarty_tpl->tpl_vars['valueCombinacao2']->iteration++; ?> <?php echo $_smarty_tpl->tpl_vars['valueCombinacao2']->value; ?> <?php if ($_smarty_tpl->tpl_vars['valueCombinacao2']->iteration != $_smarty_tpl->tpl_vars['count']->value) { ?> / <?php } ?> <?php } ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valorListaEstoqueProduto']->value['REFERENCIA']; ?> </td> <td> <table class="sem-estilo" cellpadding="0" cellspacing="0"> <tr> <?php $_smarty_tpl->tpl_vars['ordem'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['ordem']->_loop = false; $_smarty_tpl->tpl_vars['imagem'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaImagemEstoque']->value[$_smarty_tpl->tpl_vars['key']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['ordem']->key => $_smarty_tpl->tpl_vars['ordem']->value) { $_smarty_tpl->tpl_vars['ordem']->_loop = true; $_smarty_tpl->tpl_vars['imagem']->value = $_smarty_tpl->tpl_vars['ordem']->key; ?> <td><img src="<?php echo $_smarty_tpl->tpl_vars['urlImagem']->value; if ($_smarty_tpl->tpl_vars['imagem']->value) { echo $_smarty_tpl->tpl_vars['imagem']->value; } else { ?> SEM_IMAGEM.JPG<?php } ?> " class="img-polaroid" /></td> <?php } ?> </tr> <tr> <?php $_smarty_tpl->tpl_vars['ordem'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['ordem']->_loop = false; $_smarty_tpl->tpl_vars['imagem'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['listaImagemEstoque']->value[$_smarty_tpl->tpl_vars['key']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['ordem']->key => $_smarty_tpl->tpl_vars['ordem']->value) { $_smarty_tpl->tpl_vars['ordem']->_loop = true; $_smarty_tpl->tpl_vars['imagem']->value = $_smarty_tpl->tpl_vars['ordem']->key; ?> <td> <input type="text" class="span4 center ordenaImagem" maxlength="2" name="ordemImagem<?php echo $_smarty_tpl->tpl_vars['codigoUnico']->value; ?> " id="<?php echo $_smarty_tpl->tpl_vars['imagem']->value; ?> " value="<?php echo $_smarty_tpl->tpl_vars['ordem']->value; ?> "> </td> <?php } ?> </tr> </table> </td> <td> <button class="btn btn-info btn-mini" onClick="javascript: fnOrdenaImagem(<?php echo $_smarty_tpl->tpl_vars['codigoUnico']->value; ?> );">Ordenar</button> </td> <?php } ?> </tbody> </table> </div><!-- End .span6 --> </div> <hr> <!-- <form action="actions/produto.php" id="uploadArquivo" method="post" enctype="multipart/form-data"> <input type="hidden" name="acao" value="uploadArquivo"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> " name="idProdutoCorrente"> <div class="form-row row-fluid"> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required">Manual</label> <input class="span8" name="arquivoDownload" type="file" /> </div> </div> </div> <?php if ($_smarty_tpl->tpl_vars['valueProduto']->value['ARQUIVO_DOWNLOAD']) { ?> <div class="form-row row-fluid <?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> "> <div class="span12"> <div class="row-fluid"> <label class="form-label span3" for="required"></label> <a href="../manuais/<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ARQUIVO_DOWNLOAD']; ?> " title="Download" class="tip"><span><?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ARQUIVO_DOWNLOAD']; ?> </span></a> <a href="javascript:excluirArquivoDownload(<?php echo $_smarty_tpl->tpl_vars['valueProduto']->value['ID_PRODUTO']; ?> );" title="Excluir" class="tip"><span class="icon12 icon-remove"></span></a> </div> </div> </div> <?php } ?> <div class="form-actions"> <button type="submit" class="btn btn-info">Salvar</button> </div> </form> --> </div><!-- End .span12 --> </div><!-- End .row-fluid --> </div> <div class="tab-pane" id="tab9"> <div class="row-fluid"> <div class="span12"> <div class="box"> <div class="title"> <h4> <!-- <span class="icon16 brocco-icon-grid"></span> --> <span>Compre Junto</span> <form class="box-form right" action="" /> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon16 iconic-icon-cog"></span> <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <a href="compre-junto-cadastra"> <span class="icon-pencil"></span> Novo </a> </li> </ul> </form> </h4> <!-- <a href="#" class="minimize">Minimize</a> --> </div> <div class="content noPad"> <table class="responsive table table-bordered" id="checkAll"> <thead> <tr> <th>#</th> <th>Descrição</th> <th>Desconto</th> <th>Ativo</th> <th>Ações</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['valueListaCompreJunto'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['valueListaCompreJunto']->_loop = false; $_from = $_smarty_tpl->tpl_vars['listaProdutoCompreJunto']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['valueListaCompreJunto']->key => $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value) { $_smarty_tpl->tpl_vars['valueListaCompreJunto']->_loop = true; ?> <tr id="tr<?php echo $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['ID_PRODUTO_COMPRE_JUNTO']; ?> "> <td><?php echo $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['ID_PRODUTO_COMPRE_JUNTO']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['DESCRICAO']; ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['TIPO_DESCONTO'] == 'P') { ?> <?php echo number_format($_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['VALOR_DESCONTO']); ?> % <?php } elseif ($_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['TIPO_DESCONTO'] == 'V') { ?> R$ <?php echo number_format($_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['VALOR_DESCONTO'], 2, ",", "."); ?> <?php } ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['ATIVO'] == 'S') { ?> <span class="icon-ok"></span> <?php } else { ?> <span class="icon-remove"></span> <?php } ?> </td> <td> <div class="controls center"> <a href="compre-junto-cadastra?idCompreJunto=<?php echo $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['ID_PRODUTO_COMPRE_JUNTO']; ?> " title="Editar" class="tip"><span class="icon12 icomoon-icon-pencil"></span></a> <a href="javascript:fnExcluirCompreJunto(<?php echo $_smarty_tpl->tpl_vars['valueListaCompreJunto']->value['ID_PRODUTO_COMPRE_JUNTO']; ?> );" title="Excluir" class="tip"><span class="icon12 icomoon-icon-remove"></span></a> </div> </td> </tr> <?php } ?> </tbody> </table> </div> </div><!-- End .box --> </div><!-- End .span6 --> </div> </div><!-- End tab9 --> </div> </div> </div><!-- End .span12 --> </div> <!-- Page end here --> </div><!-- End contentwrapper --> </div><!-- End #content --> </div><!-- End #wrapper --> <?php }
function content_4f8d361e373ac0_51310984($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } if (!is_callable('smarty_modifier_date_format')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_function_html_select_date')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_select_date.php'; } if (!is_callable('smarty_function_html_select_time')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_select_time.php'; } if (!is_callable('smarty_function_html_options')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_options.php'; } $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array('title' => 'foo'), 0); ?> <PRE> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> <b><?php } ?> Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->getConfigVariable('title')); ?> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> </b><?php } ?> The current date and time is <?php echo smarty_modifier_date_format(time(), "%Y-%m-%d %H:%M:%S"); ?> The value of global assigned variable $SCRIPT_NAME is <?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> Example of accessing server environment variable SERVER_NAME: <?php echo $_SERVER['SERVER_NAME']; ?> The value of {$Name} is <b><?php echo '/*%%SmartyNocache:169334f8d361e0ed897-29351448%%*/<?php echo $_smarty_tpl->tpl_vars[\'Name\']->value;?> /*/%%SmartyNocache:169334f8d361e0ed897-29351448%%*/'; ?> </b> variable modifier example of {$Name|upper} <b><?php echo '/*%%SmartyNocache:169334f8d361e0ed897-29351448%%*/<?php echo mb_strtoupper($_smarty_tpl->tpl_vars[\'Name\']->value, \'UTF-8\');?> /*/%%SmartyNocache:169334f8d361e0ed897-29351448%%*/'; ?> </b> An example of a section loop: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['name'] = 'outer'; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['FirstName']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; if (1 & $_smarty_tpl->getVariable('smarty')->value['section']['outer']['index'] / 2) { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> . <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } else { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> * <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } } } else { ?> none <?php } ?> An example of section looped key values: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['contacts']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; ?> phone: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['phone']; ?> <br> fax: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['fax']; ?> <br> cell: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['cell']; ?> <br> <?php } } ?> <p> testing strip tags <table border=0><tr><td><A HREF="<?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> "><font color="red">This is a test </font></A></td></tr></table> </PRE> This is an example of the html_select_date function: <form> <?php echo smarty_function_html_select_date(array('start_year' => 1998, 'end_year' => 2010), $_smarty_tpl); ?> </form> This is an example of the html_select_time function: <form> <?php echo smarty_function_html_select_time(array('use_24_hours' => false), $_smarty_tpl); ?> </form> This is an example of the html_options function: <form> <select name=states> <?php echo smarty_function_html_options(array('values' => $_smarty_tpl->tpl_vars['option_values']->value, 'selected' => $_smarty_tpl->tpl_vars['option_selected']->value, 'output' => $_smarty_tpl->tpl_vars['option_output']->value), $_smarty_tpl); ?> </select> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0); ?> <?php }
?> <?php } ?> <?php } ?> </td> <td> <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top"> <?php if (!$this->_tpl_vars['hasel']) { echo smarty_function_assign(array('var' => 'hasel', 'value' => false), $this); } if ($this->_tpl_vars['hasel']) { ?> <h1><?php echo is_array($_tmp = $this->_tpl_vars['eltype']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> : <?php echo $this->_tpl_vars['class_name']; ?> </h1> Source Location: <?php echo $this->_tpl_vars['source_location']; ?> <br /><br /> <?php }
function content_56789a6a17e782_53410507($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/modifier.capitalize.php'; } if (!is_callable('smarty_function_ci_config')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.ci_config.php'; } if (!is_callable('smarty_modifier_date_format')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/modifier.date_format.php'; } if (!is_callable('smarty_function_html_select_date')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.html_select_date.php'; } if (!is_callable('smarty_function_html_select_time')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.html_select_time.php'; } if (!is_callable('smarty_function_ci_language')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.ci_language.php'; } if (!is_callable('smarty_function_ci_form_validation')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.ci_form_validation.php'; } if (!is_callable('smarty_function_html_options')) { require_once '/home/hammad/Desktop/Sportoya/application/libraries/smarty/plugins/function.html_options.php'; } $_smarty_tpl->properties['nocache_hash'] = '23305161056789a69797566_98732353'; echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title' => "Example Smarty Page", 'name' => (string) $_smarty_tpl->tpl_vars['Name']->value), 0); ?> <h1> <?php if ($_smarty_tpl->tpl_vars['bold']->value) { ?> <b><?php } ?> Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['title']->value); ?> <?php if ($_smarty_tpl->tpl_vars['bold']->value) { ?> </b><?php } ?> </h1> <?php if ($_smarty_tpl->tpl_vars['error']->value != '') { ?> <p class="error"><?php echo $_smarty_tpl->tpl_vars['error']->value; ?> </p><?php } if ($_smarty_tpl->tpl_vars['message']->value != '') { ?> <p class="message"><?php echo $_smarty_tpl->tpl_vars['message']->value; ?> </p><?php } ?> <?php echo smarty_function_ci_config(array('name' => "base_url"), $_smarty_tpl); ?> <p>The configuration value of base_url is <em><?php echo $_smarty_tpl->tpl_vars['base_url']->value; ?> </em></p> <p>The current date and time is <em><?php echo smarty_modifier_date_format(time(), "%Y-%m-%d %H:%M:%S"); ?> </em></p> <p>The value of global assigned variable $SCRIPT_NAME is <em><?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> </em></p> <p>The value of server environment variable SERVER_NAME is <em><?php echo $_SERVER['SERVER_NAME']; ?> </em></p> <p>The value of your IP address is: <em><?php echo $_smarty_tpl->tpl_vars['ip_address']->value; ?> </em></p> <p>The value of {$Name} is <em><?php echo $_smarty_tpl->tpl_vars['Name']->value; ?> </em></p> <p>The value of {$Name|upper} is <em><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['Name']->value, 'UTF-8'); ?> </em></p> <h2>An example of a section loop:</h2> <ul> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['name'] = 'outer'; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['FirstName']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; if (1 & $_smarty_tpl->getVariable('smarty')->value['section']['outer']['index'] / 2) { ?> <li><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> . <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> </li> <?php } else { ?> <li><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> * <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> </li> <?php } } } else { ?> <li>none</li> <?php } ?> </ul> <h2>An example of section looped key values:</h2> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['contacts']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; ?> </li> <ul> <li>phone: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['phone']; ?> </li> <li>fax: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['fax']; ?> </li> <li>cell: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['cell']; ?> </li> </ul> <?php } } ?> <h2>An example testing strip tags:</h2> <table border=0><tr><td><a HREF="<?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> "><font color="red">This is a test </font></a></td></tr></table> <h2>An example of the html_select_date function:</h2> <form> <?php echo smarty_function_html_select_date(array('start_year' => 1998, 'end_year' => 2010), $_smarty_tpl); ?> </form> <h2>An example of the html_select_time function:</h2> <form> <?php echo smarty_function_html_select_time(array('use_24_hours' => false), $_smarty_tpl); ?> </form> <h2>An example using form_validation:</h2> <?php echo smarty_function_ci_language(array('file' => "label", 'lang' => (string) $_smarty_tpl->tpl_vars['lang']->value), $_smarty_tpl); ?> <form action="#" method="post"> <fieldset> <label for="username"><?php echo smarty_function_ci_language(array('line' => "username"), $_smarty_tpl); ?> :</label> <input type="text" name="username" id="username" value="<?php echo smarty_function_ci_form_validation(array('field' => 'username'), $_smarty_tpl); ?> " /><br /> <?php echo smarty_function_ci_form_validation(array('field' => 'username', 'error' => 'true'), $_smarty_tpl); ?> <label for="password"><?php echo smarty_function_ci_language(array('line' => "password"), $_smarty_tpl); ?> :</label> <input type="password" name="password" id="password" value="" /><br /> <?php echo smarty_function_ci_form_validation(array('field' => 'password', 'error' => 'true'), $_smarty_tpl); ?> <label for="passconf"><?php echo smarty_function_ci_language(array('line' => "passconf"), $_smarty_tpl); ?> :</label> <input type="password" name="passconf" id="passconf" value="" /><br /> <?php echo smarty_function_ci_form_validation(array('field' => 'passconf', 'error' => 'true'), $_smarty_tpl); ?> <label for="email"><?php echo smarty_function_ci_language(array('line' => "email"), $_smarty_tpl); ?> :</label> <input type="text" name="email" id="email" value="<?php echo smarty_function_ci_form_validation(array('field' => 'email'), $_smarty_tpl); ?> " /><br /> <?php echo smarty_function_ci_form_validation(array('field' => 'email', 'error' => 'true'), $_smarty_tpl); ?> <?php echo smarty_function_ci_form_validation(array('field' => 'state', 'assign' => 'selected_state'), $_smarty_tpl); ?> <label for="state"><?php echo smarty_function_ci_language(array('line' => "state"), $_smarty_tpl); ?> :</label> <select name='state'> <?php echo smarty_function_html_options(array('values' => (string) $_smarty_tpl->tpl_vars['state_values']->value, 'output' => (string) $_smarty_tpl->tpl_vars['state_output']->value, 'selected' => (string) $_smarty_tpl->tpl_vars['selected_state']->value), $_smarty_tpl); ?> </select><br /> <?php echo smarty_function_ci_form_validation(array('field' => 'states', 'error' => 'true'), $_smarty_tpl); ?> <input type="submit" name="action" value="submit" /> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0); ?> <?php }
function content_5699004267a790_72078757($_smarty_tpl) { if (!is_callable('smarty_modifier_date_format')) { require_once 'C:\\xampp\\htdocs\\bcrianto-mvc\\smarty-3.1.29\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_modifier_capitalize')) { require_once 'C:\\xampp\\htdocs\\bcrianto-mvc\\smarty-3.1.29\\libs\\plugins\\modifier.capitalize.php'; } ?> <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:xhtml.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <body> <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:kop.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <div id="standaard_inhoud_id" class="container-fluid"> <div class="row"> <div class="col-sm-2" id="linker_menu_id" style="height:450px;border-radius:3px"> <div style="height:100%;width:100%;background-image:url(./afbeeldingen/achtergrond_verjaardagen.jpg); background-repeat:no-repeat; background-size:90%; background-position:10px 25px;border-radius:3px"> <div style="height:100%;width:100%;background:RGBA(48,48,200,0.8);display:flex;border-radius:3px"> <div style="width:100%;padding:5px;color:white"> <h4 style="text-align:center;color:white" >Jarigen in de maand<br/><?php echo smarty_modifier_capitalize(smarty_modifier_date_format(time(), "%B")); ?> </h4> <table align="center" style="margin-top:20px;color=white"> <?php $_from = $_smarty_tpl->tpl_vars['aJarigenVanDeMaand']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_aJarige_0_saved_item = isset($_smarty_tpl->tpl_vars['aJarige']) ? $_smarty_tpl->tpl_vars['aJarige'] : false; $__foreach_aJarige_0_saved_key = isset($_smarty_tpl->tpl_vars['Key']) ? $_smarty_tpl->tpl_vars['Key'] : false; $_smarty_tpl->tpl_vars['aJarige'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['Key'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['aJarige']->_loop = false; foreach ($_from as $_smarty_tpl->tpl_vars['Key']->value => $_smarty_tpl->tpl_vars['aJarige']->value) { $_smarty_tpl->tpl_vars['aJarige']->_loop = true; $__foreach_aJarige_0_saved_local_item = $_smarty_tpl->tpl_vars['aJarige']; ?> <tr> <td height="20px" width="30px"><?php echo $_smarty_tpl->tpl_vars['aJarige']->value['dag']; ?> </td> <td height="20px"><?php echo $_smarty_tpl->tpl_vars['aJarige']->value['naam']; ?> </td> </tr> <?php $_smarty_tpl->tpl_vars['aJarige'] = $__foreach_aJarige_0_saved_local_item; } if ($__foreach_aJarige_0_saved_item) { $_smarty_tpl->tpl_vars['aJarige'] = $__foreach_aJarige_0_saved_item; } if ($__foreach_aJarige_0_saved_key) { $_smarty_tpl->tpl_vars['Key'] = $__foreach_aJarige_0_saved_key; } ?> </table> </div> <div style="position:absolute;left:0px;bottom:10px";width:100<?php echo '%>'; ?> <img src="./afbeeldingen/micky-verjaardag.gif" style="margin-left:10%;width:80%"> </div> </div> </div> </div> <div class="col-sm-8" id="inhoud_id"><?php echo $_smarty_tpl->tpl_vars['sHTML']->value; ?> </div> <div class="col-sm-2" id="rechter_menu_id" style="height:450px;border-radius:3px"> <div style=\"height:100%;width:100%;background:RGBA(48,48,200,0.8);display:flex;border-radius:3px\"> <div style=\"position:absolute;margin-left:8%\"> <form> <h4 style=\"color:white\">Het laatste nieuws!</h4> <?php echo '<script'; ?> >toonRSS('bcrianto','rssOutput',3);<?php echo '</script'; ?> > <select onchange=\"toonRSS(this.value,'rssOutput',3)\" style=\"color:#33A\"> <option value=\"bcrianto\">BC Rianto - Nieuws</option> <option value=\"nbb\">NBB Nieuws</option> <option value=\"badminton\">Badminton Info</option> <option value=\"bwf\">Badminton Federatie</option> </select> </form> </div> <br> <div style=\"position:relative;margin-left:8%;margin-top:70px\" id=\"rssOutput\"> Hier komt uw nieuws... </div> </div> </div> </div> </div> </body> </html> <?php }
function content_55da1e20ab0478_70724577($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { require_once '/home/ubuntu/workspace/smarty/libs/plugins/modifier.capitalize.php'; } $_smarty_tpl->properties['nocache_hash'] = '115377730155da1e20981359_37636743'; ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, $_smarty_tpl->cache_lifetime, array('title' => $_tmp1), 0); ?> <div class="bodyContainer"> <div class="formWrapper"> <p><?php echo $_smarty_tpl->tpl_vars['errors']->value; ?> </p> <form method="post"> <h1>Add Product</h1> <?php $_from = $_smarty_tpl->tpl_vars['formTextItems']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_v_0_saved_item = isset($_smarty_tpl->tpl_vars['v']) ? $_smarty_tpl->tpl_vars['v'] : false; $__foreach_v_0_saved_key = isset($_smarty_tpl->tpl_vars['k']) ? $_smarty_tpl->tpl_vars['k'] : false; $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable(); $__foreach_v_0_total = $_smarty_tpl->_count($_from); if ($__foreach_v_0_total) { $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable(); foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) { $__foreach_v_0_saved_local_item = $_smarty_tpl->tpl_vars['v']; ?> <label class="formElement" for=<?php echo $_smarty_tpl->tpl_vars['v']->value; ?> ><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['v']->value); ?> </label> <input class="formElement addProd" type="text" name=<?php echo $_smarty_tpl->tpl_vars['v']->value; ?> size="50"/> <br/><br/> <?php $_smarty_tpl->tpl_vars['v'] = $__foreach_v_0_saved_local_item; } } if ($__foreach_v_0_saved_item) { $_smarty_tpl->tpl_vars['v'] = $__foreach_v_0_saved_item; } if ($__foreach_v_0_saved_key) { $_smarty_tpl->tpl_vars['k'] = $__foreach_v_0_saved_key; } ?> <?php $_from = $_smarty_tpl->tpl_vars['formNumberItems']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_v_1_saved_item = isset($_smarty_tpl->tpl_vars['v']) ? $_smarty_tpl->tpl_vars['v'] : false; $__foreach_v_1_saved_key = isset($_smarty_tpl->tpl_vars['k']) ? $_smarty_tpl->tpl_vars['k'] : false; $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable(); $__foreach_v_1_total = $_smarty_tpl->_count($_from); if ($__foreach_v_1_total) { $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable(); foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) { $__foreach_v_1_saved_local_item = $_smarty_tpl->tpl_vars['v']; ?> <label class="formElement" for=<?php echo $_smarty_tpl->tpl_vars['v']->value; ?> ><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['v']->value); ?> </label> <br/> <input class="formElement addProd" type="number" step="0.01" name=<?php echo $_smarty_tpl->tpl_vars['v']->value; ?> size="50" /> <br/><br/> <?php $_smarty_tpl->tpl_vars['v'] = $__foreach_v_1_saved_local_item; } } if ($__foreach_v_1_saved_item) { $_smarty_tpl->tpl_vars['v'] = $__foreach_v_1_saved_item; } if ($__foreach_v_1_saved_key) { $_smarty_tpl->tpl_vars['k'] = $__foreach_v_1_saved_key; } ?> <input class="formElement" type="submit" value="Submit" /> <br/> <br/> <a href="mainpage.php">My Shop</a> </form> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, $_smarty_tpl->cache_lifetime, array(), 0); }
$this->_sections['tag']['show'] = false; } } else { $this->_sections['tag']['total'] = 0; } if ($this->_sections['tag']['show']) { for ($this->_sections['tag']['index'] = $this->_sections['tag']['start'], $this->_sections['tag']['iteration'] = 1; $this->_sections['tag']['iteration'] <= $this->_sections['tag']['total']; $this->_sections['tag']['index'] += $this->_sections['tag']['step'], $this->_sections['tag']['iteration']++) { $this->_sections['tag']['rownum'] = $this->_sections['tag']['iteration']; $this->_sections['tag']['index_prev'] = $this->_sections['tag']['index'] - $this->_sections['tag']['step']; $this->_sections['tag']['index_next'] = $this->_sections['tag']['index'] + $this->_sections['tag']['step']; $this->_sections['tag']['first'] = $this->_sections['tag']['iteration'] == 1; $this->_sections['tag']['last'] = $this->_sections['tag']['iteration'] == $this->_sections['tag']['total']; ?> <?php if ($this->_tpl_vars['info_tags'][$this->_sections['tag']['index']]['keyword'] != 'author') { ?> <tr><td><strong><?php echo is_array($_tmp = $this->_tpl_vars['info_tags'][$this->_sections['tag']['index']]['keyword']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> :</strong> </td><td><?php echo $this->_tpl_vars['info_tags'][$this->_sections['tag']['index']]['data']; ?> </td></tr> <?php } } } ?> </table> <?php }
$_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'foo'))); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <PRE> <?php if ($this->_config[0]['vars']['bold']) { ?> <b><?php } ?> Title: <?php echo is_array($_tmp = $this->_config[0]['vars']['title']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp); ?> <?php if ($this->_config[0]['vars']['bold']) { ?> </b><?php } ?> The current date and time is <?php echo is_array($_tmp = time()) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S"); ?> The value of global assigned variable $SCRIPT_NAME is <?php
<?php $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable(); $_from = $_smarty_tpl->getVariable('rs_process')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if ($_smarty_tpl->_count($_from) > 0) { foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value) { ?> <tr> <td width='5%' align='center'><?php echo $_smarty_tpl->getVariable('no')->value++; ?> </td> <td width='40%'><span style="text-decoration: underline;"><?php echo smarty_modifier_capitalize(mb_detect_encoding($_smarty_tpl->tpl_vars['data']->value['operator_name'], 'UTF-8, ISO-8859-1') === 'UTF-8' ? mb_strtolower($_smarty_tpl->tpl_vars['data']->value['operator_name'], SMARTY_RESOURCE_CHAR_SET) : strtolower($_smarty_tpl->tpl_vars['data']->value['operator_name'])); ?> </span>,<br /><?php echo $_smarty_tpl->getVariable('dtm')->value->get_full_date($_smarty_tpl->tpl_vars['data']->value['mdd_finish'], 'ins'); ?> </td> <td width='55%' style="color: #0055cc;"><?php echo $_smarty_tpl->tpl_vars['data']->value['catatan']; ?> </td> </tr> <?php } } else { ?> <tr>
function content_501fa7b8a3c893_32763307($_smarty_tpl) { if (!is_callable('smarty_function_validate')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\function.validate.php'; } if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\inetpub\\wwwroot\\base\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } echo $_smarty_tpl->getSubTemplate("header3.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="custom_blog" style="padding: 20px; "> <div ><h2><?php echo $_smarty_tpl->tpl_vars['topic']->value; ?> </h2></div> <?php echo $_smarty_tpl->tpl_vars['view']->value; ?> <br/> <form id="form_name" action="" method="post"> <ul> <li> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail entered is already in use!"), $_smarty_tpl); ?> </span> <label for="firstname">Firstname</label> <input type="text" name="firstname" id="firstname"/> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_firstname", 'message' => "Firstname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="lastname">Lastname</label> <input type="text" name="lastname" id="lastname" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_lastname", 'message' => "Lastname cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="mobile_number">Mobile Number</label> <input type="text" name="mobile_number" id="mobile_number" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_mobile_number", 'message' => "Mobile number must be numeric"), $_smarty_tpl); ?> </span> </li> <li> <label for="email">Email </label> <input type="text" name="email" id="email_" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_email", 'message' => "E-mail is not valid"), $_smarty_tpl); ?> </span> </li> <li> <label for="role">Roles </label> <select name="role" id="category" class="required"> <option selected="selected" value="11">Select Role</option> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['item']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="language">Language</label> <select name="language" id="language" class="required"> <option selected="selected" value="11">Select Language</option> <?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['lang']->_loop = false; $_from = $_smarty_tpl->tpl_vars['language']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value) { $_smarty_tpl->tpl_vars['lang']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['lang']->value->id; ?> "><?php echo smarty_modifier_capitalize($_smarty_tpl->tpl_vars['lang']->value->name); ?> </option> <?php } ?> </select> </li> <li> <label for="password">Password</label> <input type="password" name="password" id="password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_password", 'message' => "Password cannot be empty"), $_smarty_tpl); ?> </span> </li> <li> <label for="confirm_password">Confirm Password</label> <input type="password" name="confirm_password" id="confirm_password" /> <span class="error-message"><?php echo smarty_function_validate(array('id' => "v_confirm_password", 'message' => "Password entered did not match!"), $_smarty_tpl); ?> </span> </li> <li> <input type="submit" name="submit" value="Register" /> </li> </ul> </form> </div> <?php /* Call merged included template "footer.tpl" */ $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0, '20130501fa7b86fffe3-98963315'); content_53340c88b8a225_30261804($_smarty_tpl); $_smarty_tpl = array_pop($_tpl_stack); /* End of included template "footer.tpl" */ }