echo '';
                if ($this->_tpl_vars['kind'] == 'ashiato' || $this->_tpl_vars['kind'] == 'friend') {
                    echo '<a href="';
                    echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_f_home'), $this);
                    echo '&amp;target_c_member_id=';
                    echo smarty_modifier_t_escape($this->_tpl_vars['item']['c_member_id']);
                    echo '"><img src="';
                    echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['c_member']['image_filename']), 'w' => smarty_modifier_t_escape($this->_tpl_vars['size']), 'h' => smarty_modifier_t_escape($this->_tpl_vars['size']), 'noimg' => 'no_image'), $this);
                    echo '" alt="" /></a>';
                } else {
                    echo '<a href="';
                    echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_c_home'), $this);
                    echo '&amp;target_c_commu_id=';
                    echo smarty_modifier_t_escape($this->_tpl_vars['item']['c_commu_id']);
                    echo '"><img src="';
                    echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['c_commu']['image_filename']), 'w' => smarty_modifier_t_escape($this->_tpl_vars['size']), 'h' => smarty_modifier_t_escape($this->_tpl_vars['size']), 'noimg' => 'no_logo'), $this);
                    echo '" alt="" /></a>';
                }
                echo '';
                ?>
</td>
<th>第<?php 
                echo smarty_modifier_t_escape($this->_tpl_vars['rank']);
                ?>
位</th>
<td class="name"><?php 
                echo '';
                if ($this->_tpl_vars['kind'] == 'ashiato' || $this->_tpl_vars['kind'] == 'friend') {
                    echo '<a href="';
                    echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_f_home'), $this);
                    echo '&amp;target_c_member_id=';
            ?>
<a href="<?php 
            echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['image_filename_2'])), $this);
            ?>
" target="_blank"><img src="modules/admin/img/icn_image_on.gif" alt="画像有り" /></a><?php 
        } else {
            ?>
<img src="modules/admin/img/icn_image_off.gif" alt="画像無し" /><?php 
        }
        ?>
</td>
			<td class="cell08C"><?php 
        if ($this->_tpl_vars['item']['image_filename_3']) {
            ?>
<a href="<?php 
            echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['image_filename_3'])), $this);
            ?>
" target="_blank"><img src="modules/admin/img/icn_image_on.gif" alt="画像有り" /></a><?php 
        } else {
            ?>
<img src="modules/admin/img/icn_image_off.gif" alt="画像無し" /><?php 
        }
        ?>
</td>
			<td class="cell09A"><?php 
        if ($this->_tpl_vars['item']['birth_year']) {
            echo smarty_modifier_t_escape($this->_tpl_vars['item']['birth_year']);
        } else {
            ?>
&nbsp;<?php 
        }
    $_from = $this->_tpl_vars['new_diary_list'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['diary']) {
            ?>
<div class="ditem"><div class="item"><table><tr>
<td class="photo" rowspan="4"><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(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['diary']['c_member']['image_filename']), 'w' => 76, 'h' => 76, 'noimg' => 'no_image'), $this);
            ?>
" alt="" /></a></td>
<th><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['WORD_NICKNAME']);
            ?>
</th><td><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['diary']['c_member']['nickname']);
            if ($this->_tpl_vars['diary']['c_member']['profile']['sex']['value']) {
                ?>
 (<?php 
                echo smarty_modifier_t_escape($this->_tpl_vars['diary']['c_member']['profile']['sex']['value']);
                ?>
)<?php 
            }
            ?>
        echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
        ?>
">削除</a>
</p>
<?php 
    }
    ?>
<input type="file" class="input_file" name="image_filename2" size="40" />
</td></tr>
<tr><th>写真3</th><td>
<?php 
    if ($this->_tpl_vars['event']['image_filename3']) {
        ?>
<p>
<img src="<?php 
        echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['event']['image_filename3']), 'w' => 120, 'h' => 120), $this);
        ?>
" alt="" /><br />
<a href="<?php 
        echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_c_event_edit_delete_c_commu_topic_comment_image'), $this);
        ?>
&amp;target_c_commu_topic_id=<?php 
        echo smarty_modifier_t_escape($this->_tpl_vars['event']['c_commu_topic_id']);
        ?>
&amp;pic_delete=3&amp;sessid=<?php 
        echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
        ?>
">削除</a>
</p>
<?php 
    }

<?php 
    $_from = $this->_tpl_vars['target_album_list'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['item']) {
            ?>
<table>
<tr>
<td class="photo" rowspan="4">
<img src="<?php 
            if ($this->_tpl_vars['item']['album_cover_image']) {
                echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['item']['album_cover_image']), 'w' => 180, 'h' => 180), $this);
            } else {
                echo smarty_function_t_img_url_skin(array('filename' => 'no_image', 'w' => 180, 'h' => 180), $this);
            }
            ?>
" alt="" />
<p><a href="#" onclick="insertAlbumURLToTextarea(<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['item']['c_album_id']);
            ?>
)">アルバムを挿入</a></p>
</td>
<th>タイトル</th>
<td colspan="2"><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['item']['subject']);
            ?>
</td>
</ul>
</td></tr>
<tr><th><?php 
    echo smarty_modifier_t_escape($this->_tpl_vars['WORD_COMMUNITY']);
    ?>
説明文</th><td><textarea name="info" rows="6" cols="50"><?php 
    echo smarty_modifier_t_escape($this->_tpl_vars['c_commu']['info']);
    ?>
</textarea></td></tr>
<tr><th>写真</th><td>
<?php 
    if ($this->_tpl_vars['c_commu']['image_filename']) {
        ?>
<p>
<img src="<?php 
        echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['c_commu']['image_filename']), 'w' => 76, 'h' => 76), $this);
        ?>
" alt="" /><br />
<a href="<?php 
        echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_c_edit_image_delete_c_commu_image'), $this);
        ?>
&amp;target_c_commu_id=<?php 
        echo smarty_modifier_t_escape($this->_tpl_vars['c_commu']['c_commu_id']);
        ?>
&amp;sessid=<?php 
        echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
        ?>
">削除</a>
</p>
<?php 
    }
} elseif ($this->_tpl_vars['INC_PAGE_HEADER']['c_banner_id']) {
    ?>
<div class="banner">
<?php 
    echo '';
    if ($this->_tpl_vars['INC_PAGE_HEADER']['a_href']) {
        echo '<a href="';
        echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_o_click_banner'), $this);
        echo '&amp;target_c_banner_id=';
        echo smarty_modifier_t_escape($this->_tpl_vars['INC_PAGE_HEADER']['c_banner_id']);
        echo '" target="_blank"><img src="';
        echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['INC_PAGE_HEADER']['image_filename'])), $this);
        echo '" alt="" /></a>';
    } else {
        echo '<img src="';
        echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['INC_PAGE_HEADER']['image_filename'])), $this);
        echo '" alt="" />';
    }
    echo '';
    ?>

</div>
<?php 
}
?>

<?php 
$this->_tag_stack[] = array('t_form_block', array('_attr' => 'name="login" id="login"', 'm' => 'pc', 'a' => 'do_o_login'));
$_block_repeat = true;
smarty_block_t_form_block($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
                echo '" /></a>';
            } else {
                echo '<a href="';
                echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_o_click_banner'), $this);
                echo '&amp;target_c_banner_id=';
                echo smarty_modifier_t_escape($this->_tpl_vars['INC_FOOTER_inc_side_banner']['c_banner_id']);
                echo '" target="_blank"><img src="';
                echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['INC_FOOTER_inc_side_banner']['image_filename'])), $this);
                echo '" alt="';
                echo smarty_modifier_t_escape($this->_tpl_vars['INC_FOOTER_inc_side_banner']['nickname']);
                echo '" /></a>';
            }
            echo '';
        } else {
            echo '<img src="';
            echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['INC_FOOTER_inc_side_banner']['image_filename'])), $this);
            echo '" alt="';
            echo smarty_modifier_t_escape($this->_tpl_vars['INC_FOOTER_inc_side_banner']['nickname']);
            echo '" />';
        }
        echo '';
    }
    echo '';
    ?>

</div>
<?php 
}
?>

<?php 
Exemple #9
0
function util_get_img_url($filename, $width, $height)
{
    require_once 'smarty_plugins/function.t_img_url.php';
    $params = array('filename' => $filename, 'w' => $width, 'h' => $height);
    return smarty_function_t_img_url($params, $dummy);
}
} else {
    ?>
<img src="<?php 
    echo smarty_function_t_img_url_skin(array('filename' => 'no_image', 'w' => 180, 'h' => 180), $this);
    ?>
" alt="" />
<?php 
}
?>
</td>
<td>
<?php 
if ($this->_tpl_vars['c_member']['image_filename_3']) {
    ?>
<img src="<?php 
    echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['c_member']['image_filename_3']), 'w' => 180, 'h' => 180), $this);
    ?>
" alt="" /><br />
[ <a href="<?php 
    echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_h_config_image_delete_c_member_image'), $this);
    ?>
&amp;img_num=3&amp;sessid=<?php 
    echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
    ?>
">削除</a> |
<?php 
    if ($this->_tpl_vars['c_member']['image_filename_3'] == $this->_tpl_vars['c_member']['image_filename']) {
        ?>
メイン写真
<?php 
    } else {
    $_from = $this->_tpl_vars['c_commu_search_list'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['c_commu_search']) {
            ?>
<div class="ditem"><div class="item"><table><tr>
<td class="photo" rowspan="4"><a href="<?php 
            echo smarty_function_t_url(array('m' => 'pc', 'a' => 'page_c_home'), $this);
            ?>
&amp;target_c_commu_id=<?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['c_commu_search']['c_commu_id']);
            ?>
"><img src="<?php 
            echo smarty_function_t_img_url(array('filename' => smarty_modifier_t_escape($this->_tpl_vars['c_commu_search']['image_filename']), 'w' => 76, 'h' => 76, 'noimg' => 'no_logo_small'), $this);
            ?>
" alt="" /></a></td>
<th><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['WORD_COMMUNITY']);
            ?>
名</th><td><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['c_commu_search']['name']);
            ?>
</td>
</tr><tr>
<th>メンバー数</th><td><?php 
            echo smarty_modifier_t_escape($this->_tpl_vars['c_commu_search']['count_commu_member']);
            ?>
人</td>
</tr><tr>