本文整理汇总了PHP中getMicroshopPersonalImageUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP getMicroshopPersonalImageUrl函数的具体用法?PHP getMicroshopPersonalImageUrl怎么用?PHP getMicroshopPersonalImageUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getMicroshopPersonalImageUrl函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
echo $lang['microshop_text_member_commend'];
?>
<em><?php
echo $lang['nc_microshop_personal'];
?>
</em></h3>
</div>
<ul id="indexPersonal" class="jcarousel-skin-personal">
<?php
if (!empty($output['personal_list']) && is_array($output['personal_list'])) {
?>
<?php
foreach ($output['personal_list'] as $key => $value) {
?>
<?php
$personal_image_array = getMicroshopPersonalImageUrl($value, 'list');
?>
<li style="background-image: url(<?php
echo $personal_image_array[0];
?>
)"><a href="<?php
echo MICROSHOP_SITE_URL;
?>
/index.php?act=personal&op=detail&personal_id=<?php
echo $value['personal_id'];
?>
"></a>
<div class="arrow"> </div>
<dl>
<dt><img src="<?php
echo getMemberAvatar($value['member_avatar']);
示例2: get_share_app_personal_content
protected function get_share_app_personal_content($personal_info, $param)
{
$personal_image_array = getMicroshopPersonalImageUrl($personal_info, 'list');
$personal_image_array_tiny = getMicroshopPersonalImageUrl($personal_info, 'tiny');
$content_str = "\r\n <div class='fd-media'>\r\n <div class='goodsimg'><a target=\"_blank\" href=\"{$param['url']}\"><img src=\"" . $personal_image_array[0] . "\" onload=\"javascript:DrawImage(this,120,120);\"></a></div>\r\n <div class='goodsinfo'>\r\n <ul>\r\n ";
if (!empty($personal_image_array_tiny[1])) {
$content_str .= "<li><a target=\"_blank\" href=\"{$param['url']}\"><img src=\"" . $personal_image_array_tiny[1] . "\" onload=\"javascript:DrawImage(this,60,60);\"></a></li>";
}
if (!empty($personal_image_array_tiny[2])) {
$content_str .= "<li><a target=\"_blank\" href=\"{$param['url']}\"><img src=\"" . $personal_image_array_tiny[2] . "\" onload=\"javascript:DrawImage(this,60,60);\"></a></li>";
}
$content_str .= "</ul><p>{$param['comment']}<a target=\"_blank\" href=\"{$param['url']}\">" . Language::get('nc_common_goto') . "</a></p>\r\n </div>\r\n </div>\r\n ";
return $content_str;
}
示例3: getMicroshopPersonalImageUrl
<?php
}
?>
<?php
if ($_GET['act'] == 'personal') {
?>
<input type="hidden" value="<?php
echo $output['detail']['personal_id'];
?>
" name="share_id" id="share_id"></input>
<div class="command-goods">
<div class="pic">
<span class="thumb size100">
<i></i>
<?php
$personal_image_array = getMicroshopPersonalImageUrl($output['detail'], 'tiny');
?>
<img src="<?php
echo $personal_image_array[0];
?>
" />
</span>
</div>
<div><?php
echo $output['detail']['store_name'];
?>
</div>
</div>
<?php
}
?>