本文整理汇总了PHP中get_sns_share_link函数的典型用法代码示例。如果您正苦于以下问题:PHP get_sns_share_link函数的具体用法?PHP get_sns_share_link怎么用?PHP get_sns_share_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_sns_share_link函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: display_price
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>" . display_price($row['it_cust_price']) . "</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq']) . "\n";
}
echo "</div>\n";
}
if ($this->view_sns) {
$sns_top = $this->img_height + 10;
$sns_url = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
$sns_title = get_text($row['it_name']) . ' | ' . get_text($config['cf_title']);
echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_fb_s.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_twt_s.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_goo_s.png');
echo "</div>\n";
}
echo "</li>\n";
}
if ($i > 1) {
echo "</ul>\n";
echo "</div>\n";
}
if ($i == 1) {
echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
}
?>
<script>
(function() {
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:main.50.skin.php
示例2: get_text
</a>
<?php
if ($is_sns) {
?>
<div class="pull-right">
<div class="sns-share-icon">
<?php
$sns_url = G5_SHOP_URL . '/item.php?it_id=' . $list[$i]['it_id'];
$sns_title = get_text($list[$i]['it_name']);
$sns_img = $widget_url . '/img';
echo get_sns_share_link('facebook', $sns_url, $sns_title, $sns_img . '/sns_fb.png', $img['org']) . ' ';
echo get_sns_share_link('twitter', $sns_url, $sns_title, $sns_img . '/sns_twt.png', $img['org']) . ' ';
echo get_sns_share_link('googleplus', $sns_url, $sns_title, $sns_img . '/sns_goo.png', $img['org']) . ' ';
echo get_sns_share_link('kakaostory', $sns_url, $sns_title, $sns_img . '/sns_kakaostory.png', $img['org']) . ' ';
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, $sns_img . '/sns_kakao.png', $img['org']) . ' ';
echo get_sns_share_link('naverband', $sns_url, $sns_title, $sns_img . '/sns_naverband.png', $img['org']) . ' ';
?>
</div>
</div>
<?php
}
?>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<?php
}
if (!$is_ajax && !$list_cnt) {
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:widget.rows.php
示例3: preg_replace
echo preg_replace("<br/>", "/\\'/", $it['it_name']);
?>
</strong>
<div id="sit_sns">
<?php
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_fb.png');
?>
<?php
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_twt.png');
?>
<?php
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_goo.png');
?>
<?php
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_kakao.png', G5_DATA_URL . '/item/' . $it['it_img1']);
?>
<!-- <a href="javascript:popup_item_recommend('<?php
echo $it['it_id'];
?>
');" id="sit_btn_rec">추천하기</a>-->
<?php
$href = G5_SHOP_URL . '/iteminfo.php?it_id=' . $it_id;
?>
</div>
<?php
if ($is_orderable) {
?>
<p id="sit_opt_info">
상품 선택옵션 <?php
开发者ID:najinsu,项目名称:nsle,代码行数:31,代码来源:item.form.skin.php
示例4: display_price
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>" . display_price($row['it_cust_price']) . "</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq']) . "\n";
}
echo "</div>\n";
}
if ($this->view_sns) {
$sns_url = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
$sns_title = get_text($row['it_name']) . ' | ' . get_text($config['cf_title']);
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_goo.png');
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_kakao.png');
echo "</div>\n";
}
echo "</li>\n";
}
if ($i > 0) {
echo "</ul>\n";
}
if ($i == 0) {
echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
}
?>
<!-- } 상품진열 10 끝 -->
<script>
$(function() {
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:main.10.skin.php
示例5: get_view_thumbnail
<?php
echo get_view_thumbnail($view['is_content'], $default['pt_img_width']);
?>
</div>
<div class="view-sns text-right">
<?php
$sns_url = G5_SHOP_URL . '/itemuseview.php?is_id=' . $is_id;
$sns_title = get_text($view['is_subject'] . ' : ' . $view['it_name'] . ' | ' . $config['cf_title']);
$sns_img = $skin_url . '/img';
echo get_sns_share_link('facebook', $sns_url, $sns_title, $sns_img . '/sns_fb_s.png') . ' ';
echo get_sns_share_link('twitter', $sns_url, $sns_title, $sns_img . '/sns_twt_s.png') . ' ';
echo get_sns_share_link('googleplus', $sns_url, $sns_title, $sns_img . '/sns_goo_s.png') . ' ';
echo get_sns_share_link('kakaostory', $sns_url, $sns_title, $sns_img . '/sns_kakaostory_s.png') . ' ';
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, $sns_img . '/sns_kakao_s.png') . ' ';
echo get_sns_share_link('naverband', $sns_url, $sns_title, $sns_img . '/sns_naverband_s.png') . ' ';
?>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Review Item</h3>
</div>
<div class="panel-body">
<div class="item-media">
<div class="media">
<div class="item-photo pull-left">
<?php
echo $img['src'] ? '<img src="' . $img['src'] . '" alt="' . $img['src'] . '">' : '<i class="fa fa-cube></i>';
?>
</div>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:useview.skin.php
示例6: add_stylesheet
add_stylesheet($add_stylesheet, 0);
$add_stylesheet = '';
//Reset
// 서브메뉴 너비
$is_subw = isset($at_set['subw']) && $at_set['subw'] > 0 ? $at_set['subw'] : 180;
// Social Icon
$sns_share_url = IS_YC && IS_SHOP ? G5_SHOP_URL : G5_URL;
$sns_share_title = get_text($config['cf_title']);
$sns_share_img = THEMA_URL . '/assets/img';
$sns_share_icon = '<div class="sns-share-icon">' . PHP_EOL;
$sns_share_icon .= get_sns_share_link('facebook', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_fb.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('twitter', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_twt.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('googleplus', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_goo.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaostory', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_kakaostory.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaotalk', $sns_shareurl, $sns_share_title, $sns_share_img . '/sns_kakao.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('naverband', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_naverband.png') . PHP_EOL;
$sns_share_icon .= '</div>';
?>
<style>
body {
<?php
if ($at_set['body_bgcolor']) {
?>
background-color: <?php
echo $at_set['body_bgcolor'];
?>
;<?php
}
?>
<?php
if ($at_set['body_background']) {
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:thema.php
注:本文中的get_sns_share_link函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论