<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:12
         compiled from registration_mobile_init.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'registration_mobile_init.html', 3, false),array('modifier', 'sprintf', 'registration_mobile_init.html', 6, false),array('modifier', 'nl2br', 'registration_mobile_init.html', 53, false),)), $this); ?>
<?php echo '';  echo '<form method="post" action=".';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$_SESSION['_mobile_info']['currier'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 'EZweb'):  echo 'enctype="multipart/form-data"';  endif;  echo '><div>';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['items'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['item'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['item']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['item']['iteration']++;
 echo '';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['registration_mobile_item_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['item_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['item']['item_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  if (((is_array($_tmp=$this->_tpl_vars['item']['require_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo '<span style="color:red">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_require_text'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</span>';  endif;  echo '<br />';  if (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_TEXT):  echo '<input type="text" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_EMAIL):  echo '<input type="text" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '][first]" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value']['first'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><br />';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_email_second'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '<input type="text" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '][second]" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value']['second'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_TEXTAREA):  echo '<textarea name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</textarea>';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_CHECKBOX):  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['item']['option_values'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['option_value'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['option_value']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option_value']):
        $this->_foreach['option_value']['iteration']++;
 echo '<input type="checkbox" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '][';  echo ((is_array($_tmp=$this->_foreach['option_value']['iteration'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']" value="';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (is_array ( ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['checkIterations'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ) && in_array ( ((is_array($_tmp=$this->_foreach['option_value']['iteration'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) , ((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['checkIterations'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' checked="checked"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  endforeach; endif; unset($_from);  echo '';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_RADIO):  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['item']['option_values'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['option_value'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['option_value']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option_value']):
        $this->_foreach['option_value']['iteration']++;
 echo '<input type="radio" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']" value="';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' checked="checked"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  endforeach; endif; unset($_from);  echo '';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_SELECT):  echo '<select name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']">';  $_from = ((is_array($_tmp=$this->_tpl_vars['item']['option_values'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['option_value'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['option_value']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option_value']):
        $this->_foreach['option_value']['iteration']++;
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (((is_array($_tmp=$this->_tpl_vars['action']['entryDatas'][$this->_tpl_vars['item']['item_id']]['item_data_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo ' selected=selected';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select>';  elseif (((is_array($_tmp=$this->_tpl_vars['item']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_FILE):  echo '<input type="file" name="item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['item']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']">';  endif;  echo '';  if (! empty ( $this->_tpl_vars['item']['description'] )):  echo '<h6>';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['item']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp));  echo '</h6>';  endif;  echo '<br /><br />';  endforeach; endif; unset($_from);  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['registration']['image_authentication'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo '';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['reg_mobile_item_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reg_img_auth'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reg_img_auth'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '<br /><img alt="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['reg_img_auth'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" src=".';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '?action=common_imageauth_main&amp;id=';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '&amp;';  echo ((is_array($_tmp=$this->_tpl_vars['action']['imageAuthenticationGenerator'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['session_param'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input name="image_authentication" type="text" value="" size="10"><input name="id" type="hidden" value="';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><br /><br />';  endif;  echo '<input type="hidden" name="action" value="registration_action_main_confirm"><input type="submit" value="';  echo $this->_tpl_vars['lang']['_regist'];  echo '"><input type="hidden" name="block_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo $this->_tpl_vars['token_form'];  echo '';  echo $this->_tpl_vars['session_form'];  echo '</div></form><div style="text-align:right">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['block_num'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 1 )):  echo '<a href="?action=menu_view_mobile_init';  echo ((is_array($_tmp=$this->_tpl_vars['session_param'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  else:  echo '<a href="?action=menu_view_mobile_detail';  echo ((is_array($_tmp=$this->_tpl_vars['session_param'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  endif;  echo '';  echo $this->_tpl_vars['lang']['_btn_prev_arrow'];  echo '</a></div>'; ?>