本文整理汇总了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']);
开发者ID:noikiy,项目名称:haifenbao,代码行数:31,代码来源:index.php
示例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;
}
开发者ID:bubargaininc,项目名称:oak_oak,代码行数:14,代码来源:control.php
示例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
}
?>
开发者ID:uwitec,项目名称:xbshop,代码行数:31,代码来源:widget_sns_share.php
注:本文中的getMicroshopPersonalImageUrl函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论