本文整理汇总了PHP中smarty_function_t_img_url函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_t_img_url函数的具体用法?PHP smarty_function_t_img_url怎么用?PHP smarty_function_t_img_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_t_img_url函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_t_url
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 '&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 '&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 '&target_c_member_id=';
示例2: smarty_function_t_img_url
?>
<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 {
?>
<?php
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:dft_admin_templates^%%A6^A6A^A6A21781%%list_c_member.tpl.php
示例3: settype
$_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);
?>
&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
}
?>
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:dft_pc_templates^%%13^139^13930C3D%%h_diary_list_all.tpl.php
示例4: smarty_modifier_t_escape
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);
?>
&target_c_commu_topic_id=<?php
echo smarty_modifier_t_escape($this->_tpl_vars['event']['c_commu_topic_id']);
?>
&pic_delete=3&sessid=<?php
echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
?>
">削除</a>
</p>
<?php
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:dft_pc_templates^%%EE^EE6^EE628725%%c_event_edit.tpl.php
示例5: settype
<?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>
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:29,代码来源:dft_pc_templates^%%30^300^300BFA17%%h_album_insert_dialog.tpl.php
示例6: smarty_modifier_t_escape
</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);
?>
&target_c_commu_id=<?php
echo smarty_modifier_t_escape($this->_tpl_vars['c_commu']['c_commu_id']);
?>
&sessid=<?php
echo smarty_modifier_t_escape($this->_tpl_vars['PHPSESSID']);
?>
">削除</a>
</p>
<?php
}
示例7: elseif
} 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 '&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) {
示例8: smarty_function_t_url
echo '" /></a>';
} else {
echo '<a href="';
echo smarty_function_t_url(array('m' => 'pc', 'a' => 'do_o_click_banner'), $this);
echo '&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
示例9: util_get_img_url
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);
}
示例10: smarty_function_t_img_url_skin
} 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);
?>
&img_num=3&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 {
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:dft_pc_templates^%%4B^4BB^4BBC75E7%%h_config_image.tpl.php
示例11: settype
$_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);
?>
&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>
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:dft_pc_templates^%%41^419^4192CB6F%%h_com_find_all.tpl.php