<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:59
         compiled from journal_mobile_post.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'journal_mobile_post.html', 3, false),array('modifier', 'timezone_date_format', 'journal_mobile_post.html', 11, false),array('modifier', 'substr', 'journal_mobile_post.html', 16, false),array('modifier', 'truncate', 'journal_mobile_post.html', 44, false),array('modifier', 'html_to_text', 'journal_mobile_post.html', 51, false),)), $this); ?>
<?php echo '<form method="post" action="./';  echo ((is_array($_tmp=$this->_tpl_vars['smaryt']['const']['INDEX_FILE_NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><div><input type="hidden" name="action" value="journal_action_mobile_post"><input type="hidden" name="block_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input type="hidden" name="j_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['journal_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['post']['post_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) > 0 )):  echo '<input type="hidden" name="p_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['post_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  endif;  echo '';  $this->assign('journal_date', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['action']['post']['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('timezone_date_format', true, $_tmp, 'YmdHis') : timezone_date_format($_tmp, 'YmdHis')));  echo '';  echo $this->_tpl_vars['lang']['journal_post_date'];  echo '&nbsp;<input type="text" name="year" value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 4) : substr($_tmp, 0, 4));  echo '" size=4 maxlength=4 style="-wap-input-format:&quot;*&lt:ja:n&gt;&quot;">';  echo $this->_tpl_vars['lang']['_mobile_year'];  echo '<input type="text" name="month" value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 4, 2) : substr($_tmp, 4, 2));  echo '" size=2 maxlength=2 style="-wap-input-format:&quot;*&lt:ja:n&gt;&quot;">';  echo $this->_tpl_vars['lang']['_mobile_month'];  echo '<input type="text" name="day" value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 6, 2) : substr($_tmp, 6, 2));  echo '" size=2  maxlength=2 style="-wap-input-format:&quot;*&lt:ja:n&gt;&quot;">';  echo $this->_tpl_vars['lang']['_mobile_day'];  echo '<br />';  echo $this->_tpl_vars['lang']['journal_post_time'];  echo '&nbsp;<input type="text" name="journal_hour" value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 8, 2) : substr($_tmp, 8, 2));  echo '" size=2  maxlength=2 style="-wap-input-format:&quot;*&lt:ja:n&gt;&quot;">';  echo $this->_tpl_vars['lang']['_mobile_hour'];  echo '<input type="text" name="journal_minute" value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['journal_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 10, 2) : substr($_tmp, 10, 2));  echo '" size=2  maxlength=2 style="-wap-input-format:&quot;*&lt:ja:n&gt;&quot;">';  echo $this->_tpl_vars['lang']['_mobile_minute'];  echo '<br /><br />';  echo $this->_tpl_vars['lang']['journal_mobile_post_title'];  echo '<br /><input type="text" name="title" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><br /><br />';  echo $this->_tpl_vars['lang']['journal_mobile_post_category'];  echo '<br /><select name="cat_id" size="1"><option value="0"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['post']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == '0' )):  echo 'selected="selected"';  endif;  echo '>';  echo $this->_tpl_vars['lang']['journal_mobile_nocategory'];  echo '</option>';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['categories'])) ? $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['cat']):
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['cat']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['post']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['cat']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo 'selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['cat']['category_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('truncate', true, $_tmp, ((is_array($_tmp=@JOURNAL_MOBILE_CATE_NAME_LEN)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=@_SEARCH_MORE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), true) : smarty_modifier_truncate($_tmp, ((is_array($_tmp=@JOURNAL_MOBILE_CATE_NAME_LEN)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=@_SEARCH_MORE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), true));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select><br /><br />';  echo $this->_tpl_vars['lang']['journal_mobile_post_content'];  echo '<br /><textarea name="content" rows="5">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['content'])) ? $this->_run_mod_handler('html_to_text', true, $_tmp) : html_to_text($_tmp));  echo '</textarea><br /><br /><input type="submit" name="temporary" value="';  echo $this->_tpl_vars['lang']['_temporary'];  echo '"><input type="submit" name="regist" value="';  echo $this->_tpl_vars['lang']['_regist'];  echo '"><input type="submit" name="cancel" value="';  echo $this->_tpl_vars['lang']['_cancel'];  echo '">';  echo $this->_tpl_vars['token_form'];  echo '';  echo $this->_tpl_vars['session_form'];  echo '</div></form>'; ?>