<th>本文</th><td><?php 
            echo is_array($_tmp = is_array($_tmp = smarty_modifier_t_escape($this->_tpl_vars['diary']['body'])) ? $this->_run_mod_handler('t_decoration', true, $_tmp, 1) : smarty_modifier_t_decoration($_tmp, 1)) ? $this->_run_mod_handler('t_truncate', true, $_tmp, 36, "", 3) : smarty_modifier_t_truncate($_tmp, 36, "", 3);
            ?>
</td>
</tr><tr class="operation">
<th>作成日時</th><td><span class="text"><?php 
            echo is_array($_tmp = smarty_modifier_t_escape($this->_tpl_vars['diary']['r_datetime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%m月%d日 %H:%M") : smarty_modifier_date_format($_tmp, "%m月%d日 %H:%M");
            ?>
</span> <span class="moreInfo"><a href="<?php 
            echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_fh_diary'), $this);
            ?>
&amp;target_c_diary_id=<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['diary']['c_diary_id']);
            ?>
"><img src="<?php 
            echo smarty_function_t_img_url_skin(array('filename' => 'button_shosai'), $this);
            ?>
" alt="詳細を見る" /></a></span></td>
</tr></table></div></div>
<?php 
        }
    }
    unset($_from);
    ?>
</div>

<?php 
    echo $this->_smarty_vars['capture']['pager'];
    ?>

Esempio n. 2
0
function getSkin($name)
{
    $params['filename'] = $name;
    return smarty_function_t_img_url_skin($params, $dummy);
}
<?php

/* Smarty version 2.6.18, created on 2012-06-19 21:47:31
   compiled from file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 't_img_url_skin', 'file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl', 5, false), array('function', 't_url', 'file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl', 15, false), array('function', 't_img_url', 'file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl', 16, false), array('modifier', 't_escape', 'file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl', 15, false), array('block', 't_form_block', 'file:/homepage/OPENPNESAAJ/ossi_pne/webapp/modules/pc/templates/o_login.tpl', 25, false))), $this);
$this->assign('INC_HEADER_is_login', true);
$this->assign('INC_FOOTER_is_login', true);
?>

<div id="container_login"><div class="w_screen">
<img src="<?php 
echo smarty_function_t_img_url_skin(array('filename' => 'skin_login'), $this);
?>
" class="bg" alt="" />

<?php 
if ($this->_tpl_vars['top_banner_html_before'] || $this->_tpl_vars['top_banner_html_after']) {
    ?>
<div class="banner">
<?php 
    echo $this->_tpl_vars['top_banner_html_before'];
    ?>

</div>
<?php 
} elseif ($this->_tpl_vars['INC_PAGE_HEADER']['c_banner_id']) {
    ?>
<div class="banner">
<?php 
    echo '';
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['review']) {
            ?>
<dl>
<dt>
<a href="<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['review']['url']);
            ?>
" target="_blank"><img src="<?php 
            if ($this->_tpl_vars['review']['image_medium']) {
                echo smarty_modifier_t_escape($this->_tpl_vars['review']['image_medium']);
            } else {
                echo smarty_function_t_img_url_skin(array('filename' => 'no_image', 'w' => 120, 'h' => 120), $this);
            }
            ?>
" alt="" /></a>
<span><a href="<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['review']['url']);
            ?>
" target="_blank">詳細を見る</a></span>
</dt>
<dd>
<table><tr class="title">
<th>タイトル</th>
<td><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['review']['title']);
            ?>
</td>
if ($this->_tpl_vars['c_member_list'][45]) {
    ?>
<tr class="photo">
<?php 
    $this->_tag_stack[] = array('t_loop', array('from' => $this->_tpl_vars['c_member_list'], 'start' => 45, 'num' => 5));
    $_block_repeat = true;
    smarty_block_t_loop($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
<td><?php 
        if ($this->_tpl_vars['item']) {
            if ($this->_tpl_vars['item']['c_member_id'] == $this->_tpl_vars['c_commu']['c_member_id_admin']) {
                ?>
<img src="<?php 
                echo smarty_function_t_img_url_skin(array('filename' => 'icon_crown'), $this);
                ?>
" alt="" /><br /><?php 
            }
            ?>
<a href="<?php 
            echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_f_home'), $this);
            ?>
&amp;target_c_member_id=<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['item']['c_member_id']);
            ?>
"><img src="<?php 
            echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['image_filename']), 'w' => 76, 'h' => 76, 'noimg' => 'no_image'), $this);
            ?>
" alt="" /></a>
<?php 
        echo smarty_function_t_img_url_skin(array('filename' => 'deco_op_emoji_au'), $this);
        ?>
" alt="" /></a>
<a id="mce_textmode_button_op_emoji_softbank" href="#" onclick="togglePallet('epSb'); return false;"><img src="<?php 
        echo smarty_function_t_img_url_skin(array('filename' => 'deco_op_emoji_softbank'), $this);
        ?>
" alt="" /></a>
<?php 
    }
    if (@OPENPNE_DECORATION_CMD_URL) {
        ?>
<a id="mce_textmode_button_op_cmd" href="#" style="margin-left:20px;" onclick="window.open('<?php 
        echo smarty_modifier_t_escape(@OPENPNE_DECORATION_CMD_URL);
        ?>
'); return false;"><img src="<?php 
        echo smarty_function_t_img_url_skin(array('filename' => 'deco_op_cmd'), $this);
        ?>
" alt="" /></a>
<?php 
    }
    ?>

<script type="text/javascript">
//<![CDATA[
createEmojiPalletDoCoMo();
<?php 
    if (!@OPENPNE_EMOJI_DOCOMO_FOR_PC) {
        ?>
createEmojiPalletAu();
createEmojiPalletSoftBank();
<?php 
                ?>
">編集</a><?php 
            }
            ?>
</p>
</td>
</tr><tr>
<th>作成日時</th>
<td><?php 
            echo is_array($_tmp = smarty_modifier_t_escape($this->_tpl_vars['review']['r_datetime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y年%m月%d日 %H:%M") : smarty_modifier_date_format($_tmp, "%Y年%m月%d日 %H:%M");
            ?>
</td>
</tr><tr>
<th>満足度</th>
<td><img src="<?php 
            echo smarty_function_t_img_url_skin(array('filename' => "satisfaction_level_" . $this->_tpl_vars['review']['satisfaction_level']), $this);
            ?>
" alt="" /></td>
</tr><tr>
<th>カテゴリ</th>
<td><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['review']['category_disp']);
            ?>
</td>
</tr>
</table>
</dd>
</dl>
<?php 
        }
    }
<tr class="skin12">
<th><a name="skin12">携帯版画像</a></th>
</tr>
<tr class="skin12">
<td>
<dl class="box">
<dt><strong>ロゴ画像</strong></dt>
<dd class="image"><?php 
$this->assign('skinname', 'skin_ktai_header');
if (@OPENPNE_USE_KTAI_LOGO) {
    ?>
<a href="<?php 
    echo smarty_function_t_img_url_skin(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['skinname'])), $this);
    ?>
" target="_blank"><img src="<?php 
    echo smarty_function_t_img_url_skin(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['skinname']), 'w' => 180, 'h' => 180), $this);
    ?>
" /></a>
<?php 
} else {
    ?>
画像はありません
<?php 
}
?>
</dd>
<dd class="default">
<?php 
if (@OPENPNE_USE_KTAI_LOGO) {
    if ($this->_tpl_vars['skin_list'][$this->_tpl_vars['skinname']]) {
        ?>