<?php /* Smarty version Smarty-3.1.15, created on 2015-04-28 11:12:57
         compiled from "/home/hushdogcafe/public_html/cube/admin/skins/default/templates/element.product_options.php" */ ?>
<?php /*%%SmartyHeaderCode:1401542607553efab9df2294-09079631%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fcb39e496f6394addb43f50275eabb8e5b04c9a0' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/admin/skins/default/templates/element.product_options.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1401542607553efab9df2294-09079631',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'product' => 0,
    'option' => 0,
    'LANG' => 0,
    'value' => 0,
    'OPT' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553efaba0836e8_33405426',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553efaba0836e8_33405426')) {function content_553efaba0836e8_33405426($_smarty_tpl) {?>
<?php if (is_array($_smarty_tpl->tpl_vars['product']->value['options'])) {?>
<?php  $_smarty_tpl->tpl_vars['option'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['product']->value['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['option']->key => $_smarty_tpl->tpl_vars['option']->value) {
$_smarty_tpl->tpl_vars['option']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['type']=='0'||$_smarty_tpl->tpl_vars['option']->value['type']=='4') {?>
<div class="dymanic_options">
   <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['price']) {?> (<?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['price'];?>
)<?php }?><?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['required'];?>
)<?php }?></label><br>
   <span rel="<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
">
      <select name="inv[<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
][productOptions][<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="nomarg options_calc">
      <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['please_select'];?>
</option>
      <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['option']->value['values']; 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 value="<?php echo $_smarty_tpl->tpl_vars['value']->value['assign_id'];?>
"<?php if ($_smarty_tpl->tpl_vars['value']->value['selected']) {?> selected="selected"<?php }?> rel="<?php echo $_smarty_tpl->tpl_vars['value']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['value']->value['decimal_price'];?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value['value_name'];?>
<?php if ($_smarty_tpl->tpl_vars['value']->value['price']) {?> (<?php echo $_smarty_tpl->tpl_vars['value']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['value']->value['price'];?>
)<?php }?></option>
      <?php } ?>
      </select>
   </span>
</div>
<?php } else { ?>
<div class="dymanic_options">
   <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?>  (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['required'];?>
)<?php }?></label><br>
   <span rel="<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
">
   <?php if ($_smarty_tpl->tpl_vars['option']->value['type']=='1') {?>
   <input type="text" class="text_calc" placeholder="<?php if ($_smarty_tpl->tpl_vars['option']->value['price']) {?>(<?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['price'];?>
)<?php }?>" name="inv[<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
][productOptions][<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
][<?php echo $_smarty_tpl->tpl_vars['option']->value['assign_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['option']->value['value'];?>
" rel="<?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['decimal_price'];?>
">
   <?php } elseif ($_smarty_tpl->tpl_vars['option']->value['type']=='2') {?>
   <textarea  class="text_calc" name="inv[<?php echo $_smarty_tpl->tpl_vars['product']->value['id'];?>
][productOptions][<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
][<?php echo $_smarty_tpl->tpl_vars['OPT']->value['assign_id'];?>
]" rel="<?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['decimal_price'];?>
" placeholder="<?php if ($_smarty_tpl->tpl_vars['option']->value['price']) {?>(<?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['price'];?>
)<?php }?>" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['option']->value['value'];?>
</textarea>
   <?php }?>
   </span>
</div>
<?php }?>
<?php } ?>
<?php }?><?php }} ?>
