Пример #1
0
function mw_builder_reg_str($str)
{
    global $g4;
    global $member;
    if ($member['mb_id']) {
        $str = str_replace("{닉네임}", $member['mb_nick'], $str);
        $str = str_replace("{별명}", $member['mb_nick'], $str);
    } else {
        $str = str_replace("{닉네임}", "회원", $str);
        $str = str_replace("{별명}", "회원", $str);
    }
    $str = preg_replace("/\\[month\\]/iU", date('n', $g4['server_time']), $str);
    $str = preg_replace("/\\[last_day\\]/iU", date('t', $g4['server_time']), $str);
    $str = preg_replace("/\\[today\\]/iU", date('Y년 m월 d일', $g4['server_time']), $str);
    $str = preg_replace("/\\[day of the week\\]/iU", get_yoil($g4['time_ymdhis']), $str);
    preg_match_all("/\\[counting (.*)\\]/iU", $str, $matches);
    for ($i = 0, $m = count($matches[1]); $i < $m; $i++) {
        $str = preg_replace("/\\[counting {$matches[1][$i]}\\]/iU", mw_builder_counting_date($matches[1][$i]), $str);
    }
    return $str;
}
Пример #2
0
" id="od_email" required class="frm_input required" maxlength="100"></td>
            </tr>

            <?php 
if ($default['de_hope_date_use']) {
    // 배송희망일 사용
    ?>
            <tr>
                <th scope="row"><label for="od_hope_date">희망배송일</label></th>
                <td>
                    <!-- <select name="od_hope_date" id="od_hope_date">
                    <option value="">선택하십시오.</option>
                    <?php 
    for ($i = 0; $i < 7; $i++) {
        $sdate = date("Y-m-d", time() + 86400 * ($default['de_hope_date_after'] + $i));
        echo '<option value="' . $sdate . '">' . $sdate . ' (' . get_yoil($sdate) . ')</option>' . PHP_EOL;
    }
    ?>
                    </select> -->
                    <input type="text" name="od_hope_date" value="" id="od_hope_date" required class="frm_input required" size="11" maxlength="10" readonly> 이후로 배송 바랍니다.
                </td>
            </tr>
            <?php 
}
?>
            </tbody>
            </table>
        </div>
    </section>

    <section id="sod_frm_taker">
Пример #3
0
                </tr>
                <tr>
                    <th scope="row">주 소</th>
                    <td><?php 
echo get_text(sprintf("(%s%s)", $od['od_b_zip1'], $od['od_b_zip2']) . ' ' . print_address($od['od_b_addr1'], $od['od_b_addr2'], $od['od_b_addr3'], $od['od_b_addr_jibeon']));
?>
</td>
                </tr>
                <?php 
// 희망배송일을 사용한다면
if ($default['de_hope_date_use']) {
    ?>
                <tr>
                    <th scope="row">희망배송일</th>
                    <td><?php 
    echo substr($od['od_hope_date'], 0, 10) . ' (' . get_yoil($od['od_hope_date']) . ')';
    ?>
</td>
                </tr>
                <?php 
}
if ($od['od_memo']) {
    ?>
                <tr>
                    <th scope="row">전하실 말씀</th>
                    <td><?php 
    echo conv_content($od['od_memo'], 0);
    ?>
</td>
                </tr>
                <?php 
Пример #4
0
?>
"><br>
                    </td>
                </tr>

                <?php 
if ($default['de_hope_date_use']) {
    ?>
                <tr>
                    <th scope="row"><label for="od_hope_date">희망배송일</label></th>
                    <td>
                        <input type="text" name="od_hope_date" value="<?php 
    echo $od['od_hope_date'];
    ?>
" id="od_hopedate" required class="frm_input required" maxlength="10" minlength="10"> (<?php 
    echo get_yoil($od['od_hope_date']);
    ?>
)
                    </td>
                </tr>
                <?php 
}
?>

                <tr>
                    <th scope="row">전달 메세지</th>
                    <td><?php 
if ($od['od_memo']) {
    echo get_text($od['od_memo'], 1);
} else {
    echo "없음";
Пример #5
0
                <tr>
                    <th scope="row">핸드폰</th>
                    <td><?php echo get_text($od['od_b_hp']); ?></td>
                </tr>
                <tr>
                    <th scope="row">주 소</th>
                    <td><?php echo get_text(sprintf("(%s%s)", $od['od_b_zip1'], $od['od_b_zip2']).' '.print_address($od['od_b_addr1'], $od['od_b_addr2'], $od['od_b_addr3'], $od['od_b_addr_jibeon'])); ?></td>
                </tr>
                <?php
                // 희망배송일을 사용한다면
                if ($default['de_hope_date_use'])
                {
                ?>
                <tr>
                    <th scope="row">희망배송일</th>
                    <td><?php echo substr($od['od_hope_date'],0,10).' ('.get_yoil($od['od_hope_date']).')' ;?></td>
                </tr>
                <?php }
                if ($od['od_memo'])
                {
                ?>
                <tr>
                    <th scope="row">전하실 말씀</th>
                    <td><?php echo conv_content($od['od_memo'], 0); ?></td>
                </tr>
                <?php } ?>
                </tbody>
                </table>
            </div>
        </section>
Пример #6
0
        <?php 
if ($od_hope_date) {
    ?>
        <tr>
            <th scope="row" style="<?php 
    echo $th_st;
    ?>
">희망배송일</th>
            <td style="<?php 
    echo $td_st;
    ?>
"><?php 
    echo $od_hope_date;
    ?>
 (<?php 
    echo get_yoil($od_hope_date);
    ?>
)</td>
        </tr>
        <?php 
}
?>
        </tbody>
        </table>

        <table style="<?php 
echo $cont_st;
?>
">
        <caption style="<?php 
echo $caption_st;
Пример #7
0
echo $pg_anchor;
?>

    <div id="sidx_settle" class="tbl_head02 tbl_wrap">
        <table>
            <thead>
                <tr>
                    <th scope="col" rowspan="2">구분</th>
    <?php 
$term = 3;
$info = array();
$info_key = array();
for ($i = $term - 1; $i >= 0; $i--) {
    $date = date("Y-m-d", strtotime('-' . $i . ' days', G5_SERVER_TIME));
    $info[$date] = get_order_settle_sum($date);
    $day = substr($date, 5, 5) . ' (' . get_yoil($date) . ')';
    $info_key[] = $date;
    ?>
                        <th scope="col" colspan="2"><?php 
    echo $day;
    ?>
</th>
                    <?php 
}
?>
                </tr>
                <tr>
                    <?php 
for ($i = 0; $i < $term; $i++) {
    ?>
                        <th scope="col">건수</th>
Пример #8
0
/orderinquiryview.php?od_id=<?php 
    echo $row['od_id'];
    ?>
&amp;uid=<?php 
    echo $uid;
    ?>
"><?php 
    echo $row['od_id'];
    ?>
</a>
        </td>
        <td><?php 
    echo substr($row['od_time'], 2, 14);
    ?>
 (<?php 
    echo get_yoil($row['od_time']);
    ?>
)</td>
        <td class="td_num"><?php 
    echo $row['od_cart_count'];
    ?>
</td>
        <td class="td_numbig"><?php 
    echo display_price($row['od_cart_price'] + $row['od_send_cost'] + $row['od_send_cost2']);
    ?>
</td>
        <td class="td_numbig"><?php 
    echo display_price($row['od_receipt_price']);
    ?>
</td>
        <td class="td_numbig"><?php 
Пример #9
0
    <td></td>
    <td width="100%">
        <table width=100% cellpadding=0 cellspacing=0>
        <tr>
            <!-- 이름, 아이피 -->
            <td>
                <div class=mw_basic_comment_name><img src="<?php 
        echo $board_skin_path;
        ?>
/img/icon_notice.gif"></div>
            </td>
            <!-- 링크 버튼, 코멘트 작성시간 -->
            <td align=right>
                <!--
                <span class=mw_basic_comment_datetime><?php 
        echo substr($view[wr_datetime], 0, 10) . " (" . get_yoil($view[wr_datetime]) . ") " . substr($view[wr_datetime], 11, 5);
        ?>
</span>-->
            </td>
        </tr>
        </table>
        <table width=100% cellpadding=0 cellspacing=0 class=mw_basic_comment_notice>
        <tr>
            <td colspan=2>
                <div><?php 
        echo mw_reg_str(nl2br($mw_basic[cf_comment_notice]));
        ?>
</div>
            </td>
        </tr>
        </table>
Пример #10
0
    echo $list[$i]['ct_id'];
    ?>
">
				<a href="<?php 
    echo $list[$i]['od_href'];
    ?>
"><?php 
    echo $list[$i]['od_id'];
    ?>
</a>
			</td>
			<td class="text-center"><?php 
    echo substr($list[$i]['od_time'], 2, 14);
    ?>
 (<?php 
    echo get_yoil($list[$i]['od_time']);
    ?>
)</td>
			<td class="text-center"><?php 
    echo $list[$i]['od_cart_count'];
    ?>
</td>
			<td class="text-right"><?php 
    echo display_price($list[$i]['od_total_price']);
    ?>
</td>
			<td class="text-right"><?php 
    echo display_price($list[$i]['od_receipt_price']);
    ?>
</td>
			<td class="text-right"><?php