Пример #1
0
// 위시리스트
?>

        <?php 
include_once G5_SHOP_SKIN_PATH . '/boxevent.skin.php';
// 이벤트
?>

        <?php 
include_once G5_SHOP_SKIN_PATH . '/boxcommunity.skin.php';
// 커뮤니티
?>

        <!-- 쇼핑몰 배너 시작 { -->
        <?php 
echo display_banner('왼쪽');
?>
        <!-- } 쇼핑몰 배너 끝 -->
    </div>
<!-- } 상단 끝 -->

    <!-- 콘텐츠 시작 { -->
    <div id="container">
        <?php 
if ((!$bo_table || $w == 's') && !defined('_INDEX_')) {
    ?>
<div id="wrapper_title"><?php 
    echo $g5['title'];
    ?>
</div><?php 
}
Пример #2
0
<?php

include_once './_common.php';
if (G5_IS_MOBILE) {
    include_once G5_THEME_MSHOP_PATH . '/index.php';
    return;
}
define("_INDEX_", TRUE);
include_once G5_THEME_SHOP_PATH . '/shop.head.php';
?>

<!-- 메인이미지 시작 { -->
<?php 
echo display_banner('메인', 'mainbanner.10.skin.php');
?>
<!-- } 메인이미지 끝 -->

<?php 
if ($default['de_type1_list_use']) {
    ?>
<!-- 히트상품 시작 { -->
<section class="sct_wrap">
    <header>
        <h2><a href="<?php 
    echo G5_SHOP_URL;
    ?>
/listtype.php?type=1">히트상품</a></h2>
        <p class="sct_wrap_hdesc"><?php 
    echo $config['cf_title'];
    ?>
 히트상품 모음</p>
Пример #3
0
        $line = trim($line, '=');
        $repository = trim($line);
        $line = '#' . $line;
    }
    if (substr($line, 0, 1) == '=') {
        $line = rtrim($line, '=');
        //echo $line;
        $line = str_replace("=", "#", $line);
    }
    if (substr($line, 0, 1) != "*" && false != strpos($line, ": ")) {
        $line = "* {$line}";
    }
    echo $line;
    echo PHP_EOL;
    if (1 == $count) {
        display_banner($repository);
    }
}
/**
 * Display the banner image, if present in the assets folder
 * 
 * e.g.  
 * ![banner](https://raw.githubusercontent.com/bobbingwide/oik-ajax/master/assets/oik-ajax-banner-772x250.png)
 *
 * Format: `![Alt Text](url)`
 *
 * @param string $repository - the repository name
 * @param string $owner - the repository owner
 */
function display_banner($repository = "txt2md", $owner = "bobbingwide")
{