<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:16
         compiled from registration_view_main_init.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', 'registration_view_main_init.html', 4, false),array('modifier', 'escape', 'registration_view_main_init.html', 4, false),array('modifier', 'nl2br', 'registration_view_main_init.html', 56, false),)), $this); ?>
<?php echo '';  echo '<div class="top_description">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_entry_text'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_regist'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_regist'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</div><form id="registration_entry_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" action="#" target="attachment_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" enctype="multipart/form-data" onsubmit="return false;"><table class="outer registration_entry" summary="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_entry_list'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  $_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 '<tr class="row">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "registration_view_main_item_name.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<td class="registration_item_data">';  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 id="registration_item_data_value';  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['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="registration_text" 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 ']" />';  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 id="registration_item_data_value';  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['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="registration_text" 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]" /><br /><input class="registration_text registration_email_second" 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]" />';  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 '';  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 cols="33" rows="4" id="registration_item_data_value';  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['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="registration_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 ']"></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_FILE):  echo '<input id="registration_item_data_value';  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['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" 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 ']" type="file" />';  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 '<label for="registration_item_data_value';  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 '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input id="registration_item_data_value';  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 '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" 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 '" />';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</label>';  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 '<label for="registration_item_data_value';  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 '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input id="registration_item_data_value';  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 '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" 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 '" />';  echo ((is_array($_tmp=$this->_tpl_vars['option_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</label>';  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 id="registration_item_data_value';  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['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" 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 '">';  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>';  endif;  echo '';  if (! empty ( $this->_tpl_vars['item']['description'] )):  echo '<div class="registration_description">';  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 '</div>';  endif;  echo '</td></tr>';  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 && function_exists ( 'gd_info' )):  echo '<tr class="row"><th class="registration_item_name" scope="row"><label for="registration_image_authentication';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_image_authentication'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</label></th><td class="registration_item_data"><img class="icon" 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 '" title="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['_image_auth'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" alt="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['_image_auth'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input class="registration_image_auth" id="registration_image_authentication';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" type="text" name="image_authentication" /><br />';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['registration_image_auth_readme'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '<input type="hidden" name="id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /></td></tr>';  endif;  echo '</table><div class="btn-bottom"><input class="btn-width" type="button" value="';  echo $this->_tpl_vars['lang']['_regist'];  echo '" onclick="registrationCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].confirmData();" /></div></form>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../registration_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">registrationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].errorSeparator = "';  echo ((is_array($_tmp=@REGISTRATION_ERROR_SEPARATOR)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";var registrationForm = $("registration_entry_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");';  $_from = $this->_tpl_vars['action']['entryDatas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['entryData']):
 echo '';  if (((is_array($_tmp=$this->_tpl_vars['entryData']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_CHECKBOX || ((is_array($_tmp=$this->_tpl_vars['entryData']['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['entryData']['checkIterations'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['checkIteration']):
 echo '$("registration_item_data_value';  echo ((is_array($_tmp=$this->_tpl_vars['entryData']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '_';  echo ((is_array($_tmp=$this->_tpl_vars['checkIteration'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '").checked = true;';  endforeach; endif; unset($_from);  echo '';  elseif (((is_array($_tmp=$this->_tpl_vars['entryData']['item_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == REGISTRATION_TYPE_EMAIL):  echo 'registrationForm["item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['entryData']['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['entryData']['item_data_value']['first'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));  echo '";registrationForm["item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['entryData']['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['entryData']['item_data_value']['second'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));  echo '";';  else:  echo 'registrationForm["item_data_values[';  echo ((is_array($_tmp=$this->_tpl_vars['entryData']['item_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ']"].value = "';  echo ((is_array($_tmp=$this->_tpl_vars['entryData']['item_data_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));  echo '";';  endif;  echo '';  endforeach; endif; unset($_from);  echo 'registrationForm = null;</script>'; ?>