<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:03
         compiled from journal_view_main_post.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'journal_view_main_post.html', 3, false),array('modifier', 'timezone_date_format', 'journal_view_main_post.html', 8, false),array('modifier', 'substr', 'journal_view_main_post.html', 13, false),array('modifier', 'intval', 'journal_view_main_post.html', 13, false),array('modifier', 'string_format', 'journal_view_main_post.html', 14, false),array('modifier', 'wysiwig_convert_url', 'journal_view_main_post.html', 53, false),)), $this); ?>
<?php echo '<div class="outerdiv"><form id="journal_post_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" onsubmit="return false;"><table class="outer" summary=""><tr class="row"><th scope="row">';  echo $this->_tpl_vars['lang']['journal_post_date'];  echo '</th><td class="nowrap"><input class="journal_date" id="journal_date';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="journal_date" value="';  echo ((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, ((is_array($_tmp=$this->_tpl_vars['lang']['_input_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : timezone_date_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_input_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '" size="13" maxlength="10" type="text" /><select name="journal_hour" size="1">';  unset($this->_sections['hour']);
$this->_sections['hour']['name'] = 'hour';
$this->_sections['hour']['loop'] = is_array($_loop=24) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['hour']['start'] = (int)0;
$this->_sections['hour']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['hour']['show'] = true;
$this->_sections['hour']['max'] = $this->_sections['hour']['loop'];
if ($this->_sections['hour']['start'] < 0)
    $this->_sections['hour']['start'] = max($this->_sections['hour']['step'] > 0 ? 0 : -1, $this->_sections['hour']['loop'] + $this->_sections['hour']['start']);
else
    $this->_sections['hour']['start'] = min($this->_sections['hour']['start'], $this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] : $this->_sections['hour']['loop']-1);
if ($this->_sections['hour']['show']) {
    $this->_sections['hour']['total'] = min(ceil(($this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] - $this->_sections['hour']['start'] : $this->_sections['hour']['start']+1)/abs($this->_sections['hour']['step'])), $this->_sections['hour']['max']);
    if ($this->_sections['hour']['total'] == 0)
        $this->_sections['hour']['show'] = false;
} else
    $this->_sections['hour']['total'] = 0;
if ($this->_sections['hour']['show']):

            for ($this->_sections['hour']['index'] = $this->_sections['hour']['start'], $this->_sections['hour']['iteration'] = 1;
                 $this->_sections['hour']['iteration'] <= $this->_sections['hour']['total'];
                 $this->_sections['hour']['index'] += $this->_sections['hour']['step'], $this->_sections['hour']['iteration']++):
$this->_sections['hour']['rownum'] = $this->_sections['hour']['iteration'];
$this->_sections['hour']['index_prev'] = $this->_sections['hour']['index'] - $this->_sections['hour']['step'];
$this->_sections['hour']['index_next'] = $this->_sections['hour']['index'] + $this->_sections['hour']['step'];
$this->_sections['hour']['first']      = ($this->_sections['hour']['iteration'] == 1);
$this->_sections['hour']['last']       = ($this->_sections['hour']['iteration'] == $this->_sections['hour']['total']);
 echo '';  $this->assign('hour', ((is_array($_tmp=$this->_sections['hour']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('plan_hour', ((is_array($_tmp=((is_array($_tmp=((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, 'His') : timezone_date_format($_tmp, 'His')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 2) : substr($_tmp, 0, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('string_format', true, $_tmp, "%02d") : smarty_modifier_string_format($_tmp, "%02d"));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['plan_hour'])) ? $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['hour'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['journal_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['journal_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select>&nbsp;<select name="journal_minute" size="1">';  unset($this->_sections['minute']);
$this->_sections['minute']['name'] = 'minute';
$this->_sections['minute']['loop'] = is_array($_loop=60) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['minute']['start'] = (int)0;
$this->_sections['minute']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['minute']['show'] = true;
$this->_sections['minute']['max'] = $this->_sections['minute']['loop'];
if ($this->_sections['minute']['start'] < 0)
    $this->_sections['minute']['start'] = max($this->_sections['minute']['step'] > 0 ? 0 : -1, $this->_sections['minute']['loop'] + $this->_sections['minute']['start']);
else
    $this->_sections['minute']['start'] = min($this->_sections['minute']['start'], $this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] : $this->_sections['minute']['loop']-1);
if ($this->_sections['minute']['show']) {
    $this->_sections['minute']['total'] = min(ceil(($this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] - $this->_sections['minute']['start'] : $this->_sections['minute']['start']+1)/abs($this->_sections['minute']['step'])), $this->_sections['minute']['max']);
    if ($this->_sections['minute']['total'] == 0)
        $this->_sections['minute']['show'] = false;
} else
    $this->_sections['minute']['total'] = 0;
if ($this->_sections['minute']['show']):

            for ($this->_sections['minute']['index'] = $this->_sections['minute']['start'], $this->_sections['minute']['iteration'] = 1;
                 $this->_sections['minute']['iteration'] <= $this->_sections['minute']['total'];
                 $this->_sections['minute']['index'] += $this->_sections['minute']['step'], $this->_sections['minute']['iteration']++):
$this->_sections['minute']['rownum'] = $this->_sections['minute']['iteration'];
$this->_sections['minute']['index_prev'] = $this->_sections['minute']['index'] - $this->_sections['minute']['step'];
$this->_sections['minute']['index_next'] = $this->_sections['minute']['index'] + $this->_sections['minute']['step'];
$this->_sections['minute']['first']      = ($this->_sections['minute']['iteration'] == 1);
$this->_sections['minute']['last']       = ($this->_sections['minute']['iteration'] == $this->_sections['minute']['total']);
 echo '';  $this->assign('minute', ((is_array($_tmp=$this->_sections['minute']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('plan_minute', ((is_array($_tmp=((is_array($_tmp=((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, 'His') : timezone_date_format($_tmp, 'His')))) ? $this->_run_mod_handler('substr', true, $_tmp, 2, 2) : substr($_tmp, 2, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('string_format', true, $_tmp, "%02d") : smarty_modifier_string_format($_tmp, "%02d"));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['plan_minute'])) ? $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['minute'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['journal_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['journal_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select></td></tr><tr class="row"><th scope="row">';  echo $this->_tpl_vars['lang']['journal_post_title'];  echo '</th><td class="nowrap"><a href="#"><img id="journal_icon_name_img';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="comp_title_icon" alt="" title="" onclick="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showIcon();return false;" onmouseover="Element.addClassName(this, \'comptextarea_dialog_highlight\');" onmouseout="Element.removeClassName(this, \'comptextarea_dialog_highlight\');" /></a><input id="journal_title';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="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 '" type="text" size="50" /><input id="journal_icon_name_hidden';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="icon_name" type="hidden" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['icon_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"/></td></tr><tr class="row"><th scope="row">';  echo $this->_tpl_vars['lang']['journal_post_category'];  echo '</th><td class="nowrap"><select name="category_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_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=$this->_tpl_vars['cat']['category_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select></td></tr></table><textarea class="comptextarea textarea';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" rows="18" cols="60">';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['action']['post']['content'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</textarea><label><input type="checkbox" onclick="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].checkMore(this, \'';  echo $this->_tpl_vars['lang']['journal_delete_confirm'];  echo '\');" name="more_checkbox" value="';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo 'checked=checked';  endif;  echo '/>';  echo $this->_tpl_vars['lang']['journal_continue_write'];  echo '</label><br/><div id="journal_more_content';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ""):  echo 'class="display-none"';  endif;  echo '><label><input class="" type="text" maxlength="120" value="';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['more_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  else:  echo '';  echo $this->_tpl_vars['lang']['journal_continue_read'];  echo '';  endif;  echo '" name="more_title"/></label><br/><textarea class="comptextarea textarea_more';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" rows="18" cols="60">';  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</textarea>';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '<script class="nc_script" type="text/javascript">journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].moreInit();</script>';  endif;  echo '<label><input class="" type="text" maxlength="120" value="';  if (((is_array($_tmp=$this->_tpl_vars['action']['post']['more_content'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['action']['post']['hide_more_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  else:  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['journal_continue_delete'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  endif;  echo '" name="hide_more_title"/></label></div>';  if (((is_array($_tmp=$this->_tpl_vars['action']['journal_obj']['trackback_transmit_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '<div id="journal_trackback';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo $this->_tpl_vars['lang']['journal_trackback_desc'];  echo '<br /><textarea name="tb_url" class="journal_trackback_textarea">';  echo $this->_tpl_vars['action']['post']['tb_url'];  echo '</textarea></div>';  endif;  echo '<div class="btn-bottom"><input name="temp" type="button" class="tempbtn-width" onclick="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].post(this.form, ';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ');" value="';  echo $this->_tpl_vars['lang']['_temporary'];  echo '" /><input name="regist" type="button" class="btn-width lined_btn" onclick="journalCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].post(this.form, ';  echo ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ');" value="';  echo $this->_tpl_vars['lang']['_regist'];  echo '" /><input name="cancel" type="button" class="btn-width lined_btn" onclick="commonCls.sendView(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\', {\'action\':\'journal_view_main_init\'});" value="';  echo $this->_tpl_vars['lang']['_cancel'];  echo '" /></div><input type="hidden" name="journal_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['journal_obj']['journal_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"/><input type="hidden" name="edit_flag" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['edit_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"/><input type="hidden" name="post_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 '"/></form></div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../journal_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">commonCls.focus($("journal_title';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"));</script>'; ?>