Esempio n. 1
0
}
?>
        </div>
        <div class="buttons"><a nc_type="microshop_like" like_id="<?php 
echo $output['detail']['personal_id'];
?>
" href="javascript:void(0)" class="like"><i></i><em><?php 
echo $output['detail']['like_count'] <= 999 ? $output['detail']['like_count'] : '999+';
?>
</em></a><a id="btn_sns_share" href="javascript:void(0)" class="share"><i></i><?php 
echo $lang['microshop_text_share'];
?>
<em></em></a></div>
      </div>
      <?php 
$personal_image_array = uk86_getMicroshopPersonalImageUrl($output['detail']);
?>
      <?php 
if (!empty($personal_image_array)) {
    ?>
      <?php 
    foreach ($personal_image_array as $val) {
        ?>
      <div class="pic"> <img class="lazy" src="<?php 
        echo MICROSHOP_TEMPLATES_URL;
        ?>
/images/loading.gif" data-src="<?php 
        echo $val;
        ?>
" /> </div>
      <?php 
" name="del_id[]" class="checkitem"></td>
          <td class="w48 sort"><span nc_type="microshop_sort" column_id="<?php 
        echo $value['personal_id'];
        ?>
" title="<?php 
        echo $lang['nc_editable'];
        ?>
" class="editable "><?php 
        echo $value['microshop_sort'];
        ?>
</span></td>
          <td><?php 
        $personal_image_array = uk86_getMicroshopPersonalImageUrl($value, 'tiny');
        ?>
            <?php 
        $personal_image_array_240 = uk86_getMicroshopPersonalImageUrl($value, 'list');
        ?>
            <?php 
        for ($i = 0, $j = count($personal_image_array); $i < $j; $i++) {
            ?>
            <a href="<?php 
            echo MICROSHOP_SITE_URL;
            ?>
/index.php?act=personal&op=detail&personal_id=<?php 
            echo $value['personal_id'];
            ?>
" style="background:url(<?php 
            echo $personal_image_array[$i];
            ?>
) no-repeat center center; width:60px; height:60px; float:left; margin-right:5px;" target="_blank"> 
                <img class="show_image" src="<?php 
Esempio n. 3
0
 protected function get_share_app_personal_content($personal_info, $param)
 {
     $personal_image_array = uk86_getMicroshopPersonalImageUrl($personal_info, 'list');
     $personal_image_array_tiny = uk86_getMicroshopPersonalImageUrl($personal_info, 'tiny');
     $content_str = "\n            <div class='fd-media'>\n            <div class='goodsimg'><a target=\"_blank\" href=\"{$param['url']}\"><img src=\"" . $personal_image_array[0] . "\" onload=\"javascript:DrawImage(this,120,120);\"></a></div>\n            <div class='goodsinfo'>\n            <ul>\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']}\">" . Uk86Language::uk86_get('nc_common_goto') . "</a></p>\n            </div>\n            </div>\n            ";
     return $content_str;
 }