0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
ee
/
1d
/
63
/
[
Home
]
Name File: ee1d6396dce5248839c35109f7c010a54898203b.file.product-attributes.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:57 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/product-attributes.tpl" */ ?> <?php /*%%SmartyHeaderCode:200996020351ee6665a9e324-36149138%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'ee1d6396dce5248839c35109f7c010a54898203b' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/product-attributes.tpl', 1 => 1369705054, 2 => 'file', ), ), 'nocache_hash' => '200996020351ee6665a9e324-36149138', 'function' => array ( ), 'variables' => array ( 'groups' => 0, 'group' => 0, 'id_attribute_group' => 0, 'groupName' => 0, 'id_attribute' => 0, 'group_attribute' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee6665c624e1_40032940', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee6665c624e1_40032940')) {function content_51ee6665c624e1_40032940($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; ?> <?php if (isset($_smarty_tpl->tpl_vars['groups']->value)){?> <hr class="margin_less"/> <div id="attributes"> <?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false; $_smarty_tpl->tpl_vars['id_attribute_group'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['groups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value){ $_smarty_tpl->tpl_vars['group']->_loop = true; $_smarty_tpl->tpl_vars['id_attribute_group']->value = $_smarty_tpl->tpl_vars['group']->key; ?> <?php if (count($_smarty_tpl->tpl_vars['group']->value['attributes'])){?> <div class="attributes_group"> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'groupName', null); ob_start(); ?>group_<?php echo intval($_smarty_tpl->tpl_vars['id_attribute_group']->value);?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents()); if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents()); Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean(); } else $_smarty_tpl->capture_error();?> <label class="attribute_label" for="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> "><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['group']->value['name'], 'htmlall', 'UTF-8');?> :</label> <?php if (($_smarty_tpl->tpl_vars['group']->value['group_type']=='select'||$_smarty_tpl->tpl_vars['group']->value['group_type']=='color')){?> <select name="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> " id="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> " class="attribute_select<?php if (($_smarty_tpl->tpl_vars['group']->value['group_type']=='color')){?> select_color<?php }?>"> <?php $_smarty_tpl->tpl_vars['group_attribute'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group_attribute']->_loop = false; $_smarty_tpl->tpl_vars['id_attribute'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['group']->value['attributes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['group_attribute']->key => $_smarty_tpl->tpl_vars['group_attribute']->value){ $_smarty_tpl->tpl_vars['group_attribute']->_loop = true; $_smarty_tpl->tpl_vars['id_attribute']->value = $_smarty_tpl->tpl_vars['group_attribute']->key; ?> <option value="<?php echo intval($_smarty_tpl->tpl_vars['id_attribute']->value);?> " title="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['group_attribute']->value, 'htmlall', 'UTF-8');?> "<?php if ((isset($_GET[$_smarty_tpl->tpl_vars['groupName']->value])&&intval($_GET[$_smarty_tpl->tpl_vars['groupName']->value])==$_smarty_tpl->tpl_vars['id_attribute']->value)||$_smarty_tpl->tpl_vars['group']->value['default']==$_smarty_tpl->tpl_vars['id_attribute']->value){?> selected="selected"<?php }?>><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['group_attribute']->value, 'htmlall', 'UTF-8');?> </option> <?php } ?> </select> <?php }elseif(($_smarty_tpl->tpl_vars['group']->value['group_type']=='radio')){?> <fieldset data-role="controlgroup"> <?php $_smarty_tpl->tpl_vars['group_attribute'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group_attribute']->_loop = false; $_smarty_tpl->tpl_vars['id_attribute'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['group']->value['attributes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['group_attribute']->key => $_smarty_tpl->tpl_vars['group_attribute']->value){ $_smarty_tpl->tpl_vars['group_attribute']->_loop = true; $_smarty_tpl->tpl_vars['id_attribute']->value = $_smarty_tpl->tpl_vars['group_attribute']->key; ?> <input type="radio" class="attribute_radio" name="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> " id="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> _<?php echo $_smarty_tpl->tpl_vars['id_attribute']->value;?> " value="<?php echo $_smarty_tpl->tpl_vars['id_attribute']->value;?> " <?php if (($_smarty_tpl->tpl_vars['group']->value['default']==$_smarty_tpl->tpl_vars['id_attribute']->value)){?> checked="checked"<?php }?>> <label for="<?php echo $_smarty_tpl->tpl_vars['groupName']->value;?> _<?php echo $_smarty_tpl->tpl_vars['id_attribute']->value;?> "><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['group_attribute']->value, 'htmlall', 'UTF-8');?> </label> <?php } ?> </fieldset> <?php }?> </div> <?php }?> <?php } ?> </div><!-- #attributes --> <?php }?> <?php }} ?>
©
2018. | Recode by D7net