Beispiel #1
0
$sep = chr(30);
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $list[$i] = $row;
    $list[$i]['addr'] = $row['ad_name'] . $sep . $row['ad_tel'] . $sep . $row['ad_hp'] . $sep . $row['ad_zip1'] . $sep . $row['ad_zip2'] . $sep . $row['ad_addr1'] . $sep . $row['ad_addr2'] . $sep . $row['ad_addr3'] . $sep . $row['ad_jibeon'] . $sep . $row['ad_subject'];
    $list[$i]['addr'] = get_text($list[$i]['addr']);
    $list[$i]['ad_name'] = get_text($list[$i]['ad_name']);
    $list[$i]['ad_subject'] = get_text($list[$i]['ad_subject']);
    $list[$i]['del_href'] = $_SERVER['SCRIPT_NAME'] . '?w=d&ad_id=' . $row['ad_id'];
    $list[$i]['print_addr'] = print_address($row['ad_addr1'], $row['ad_addr2'], $row['ad_addr3'], $row['ad_jibeon']);
}
$action_url = G5_HTTPS_SHOP_URL . '/orderaddressupdate.php';
$write_pages = G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'];
$list_page = $_SERVER['SCRIPT_NAME'] . '?' . $qstr . '&page=';
$pid = $pid ? $pid : '';
// Page ID
$at = apms_page_thema($pid);
include_once G5_LIB_PATH . '/apms.thema.lib.php';
$skin_row = array();
$skin_row = apms_rows('order_' . MOBILE_ . 'skin, order_' . MOBILE_ . 'set');
$order_skin_path = G5_SKIN_PATH . '/apms/order/' . $skin_row['order_' . MOBILE_ . 'skin'];
$order_skin_url = G5_SKIN_URL . '/apms/order/' . $skin_row['order_' . MOBILE_ . 'skin'];
// 스킨설정
$wset = array();
if ($skin_row['order_' . MOBILE_ . 'set']) {
    $wset = apms_unpack($skin_row['order_' . MOBILE_ . 'set']);
}
$g5['title'] = '배송지 목록';
include_once G5_PATH . '/head.sub.php';
@(include_once THEMA_PATH . '/head.sub.php');
$skin_path = $order_skin_path;
$skin_url = $order_skin_url;
Beispiel #2
0
<?php

include_once './_common.php';
$is_main = false;
if (!$hid) {
    alert('등록되지 않은 페이지입니다.');
}
$at = apms_page_thema($hid, 1);
if (!defined('THEMA_PATH')) {
    include_once G5_LIB_PATH . '/apms.thema.lib.php';
}
$scrap_href = '';
$is_register = false;
$is_content = false;
if ($at['co_id']) {
    $co = sql_fetch(" select * from {$g5['content_table']} where co_id = '{$at['co_id']}' ");
    if ($co['co_id']) {
        $is_content = true;
    }
}
if ($is_content) {
    $is_seometa = 'content';
    //컨텐츠
    $g5['title'] = $co['co_subject'];
    $co_id = $co['co_id'];
    $page_content = '';
    if (is_file(G5_DATA_PATH . '/content/' . $co_id . '_h')) {
        $page_content .= '<div id="ctt_himg" class="ctt_img"><img src="' . G5_DATA_URL . '/content/' . $co_id . '_h" alt=""></div>' . PHP_EOL;
    }
    $co_content = G5_IS_MOBILE && $co['co_mobile_content'] ? $co['co_mobile_content'] : $co['co_content'];
    $page_content .= conv_content($co_content, $co['co_html'], $co['co_tag_filter_use']);