Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-12-05 17:05:23 +09:00
46 changed files with 620 additions and 856 deletions

View File

@ -43,7 +43,6 @@ $sql = " insert into {$g5['board_table']}
bo_download_level = '{$board[bo_download_level]}', bo_download_level = '{$board[bo_download_level]}',
bo_html_level = '{$board[bo_html_level]}', bo_html_level = '{$board[bo_html_level]}',
bo_link_level = '{$board[bo_link_level]}', bo_link_level = '{$board[bo_link_level]}',
bo_trackback_level = '{$board[bo_trackback_level]}',
bo_count_modify = '{$board[bo_count_modify]}', bo_count_modify = '{$board[bo_count_modify]}',
bo_count_delete = '{$board[bo_count_delete]}', bo_count_delete = '{$board[bo_count_delete]}',
bo_read_point = '{$board[bo_read_point]}', bo_read_point = '{$board[bo_read_point]}',

View File

@ -434,7 +434,8 @@ $pg_anchor = '<ul class="anchor">
<tr> <tr>
<th scope="row"><label for="bo_use_sideview">글쓴이 사이드뷰</label></th> <th scope="row"><label for="bo_use_sideview">글쓴이 사이드뷰</label></th>
<td> <td>
<input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?php echo $board['bo_use_sideview']?'checked':''; ?>>사용 (글쓴이 클릭시 나오는 레이어 메뉴) <input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?php echo $board['bo_use_sideview']?'checked':''; ?>>
사용 (글쓴이 클릭시 나오는 레이어 메뉴)
</td> </td>
<td class="td_grpset"> <td class="td_grpset">
<input type="checkbox" name="chk_grp_use_sideview" value="1" id="chk_grp_use_sideview"> <input type="checkbox" name="chk_grp_use_sideview" value="1" id="chk_grp_use_sideview">

View File

@ -0,0 +1,122 @@
<?php
if (!defined('_GNUBOARD_')) exit;
// 상품옵션별재고 또는 상품재고에 더하기
function add_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
{
global $g5;
if($io_id) {
$sql = " update {$g5['g5_shop_item_option_table']}
set io_stock_qty = io_stock_qty + '{$ct_qty}'
where it_id = '{$it_id}'
and io_id = '{$io_id}'
and io_type = '{$io_type}' ";
} else {
$sql = " update {$g5['g5_shop_item_table']}
set it_stock_qty = it_stock_qty + '{$ct_qty}'
where it_id = '{$it_id}' ";
}
return sql_query($sql);
}
// 상품옵션별재고 또는 상품재고에서 빼기
function subtract_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
{
global $g5;
if($io_id) {
$sql = " update {$g5['g5_shop_item_option_table']}
set io_stock_qty = io_stock_qty - '{$ct_qty}'
where it_id = '{$it_id}'
and io_id = '{$io_id}'
and io_type = '{$io_type}' ";
} else {
$sql = " update {$g5['g5_shop_item_table']}
set it_stock_qty = it_stock_qty - '{$ct_qty}'
where it_id = '{$it_id}' ";
}
return sql_query($sql);
}
// 주문과 장바구니의 상태를 변경한다.
function change_status($od_id, $current_status, $change_status)
{
global $g5;
$sql = " update {$g5['g5_shop_order_table']} set od_status = '{$change_status}' where od_id = '{$od_id}' and od_status = '{$current_status}' ";
sql_query($sql, true);
$sql = " update {$g5['g5_shop_cart_table']} set ct_status = '{$change_status}' where od_id = '{$od_id}' and ct_status = '{$current_status}' ";
sql_query($sql, true);
}
// 주문서에 입금시 update
function order_update_receipt($od_id)
{
global $g5;
$sql = " update {$g5['g5_shop_order_table']} set od_receipt_price = od_misu, od_misu = 0, od_receipt_time = '".G5_TIME_YMDHIS."' where od_id = '$od_id' and od_status = '입금' ";
return sql_query($sql);
}
// 주문서에 배송시 update
function order_update_delivery($od_id, $mb_id, $change_status, $delivery)
{
global $g5;
if($change_status != '배송')
return;
$sql = " update {$g5['g5_shop_order_table']} set od_delivery_company = '{$delivery['delivery_company']}', od_invoice = '{$delivery['invoice']}', od_invoice_time = '{$delivery['invoice_time']}' where od_id = '$od_id' and od_status = '준비' ";
sql_query($sql);
$sql = " select * from {$g5['g5_shop_cart_table']} where od_id = '$od_id' ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 재고를 사용하지 않았다면
$stock_use = $row['ct_stock_use'];
if(!$row['ct_stock_use'])
{
// 재고에서 뺀다.
subtract_io_stock($row['it_id'], $row['ct_qty'], $row['io_id'], $row['io_type']);
$stock_use = 1;
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where ct_id = '{$row['ct_id']}' ";
sql_query($sql);
}
}
}
// 처리내용 SMS
function conv_sms_contents($od_id, $contents)
{
global $g5, $config, $default;
$sms_contents = '';
if ($od_id && $config['cf_sms_use'] == 'icode')
{
$sql = " select od_id, od_name, od_invoice, od_receipt_price, od_delivery_company
from {$g5['g5_shop_order_table']} where od_id = '$od_id' ";
$od = sql_fetch($sql);
$sms_contents = $contents;
$sms_contents = preg_replace("/{이름}/", $od['od_name'], $sms_contents);
$sms_contents = preg_replace("/{입금액}/", number_format($od['od_receipt_price']), $sms_contents);
$sms_contents = preg_replace("/{택배회사}/", $od['od_delivery_company'], $sms_contents);
$sms_contents = preg_replace("/{운송장번호}/", $od['od_invoice'], $sms_contents);
$sms_contents = preg_replace("/{주문번호}/", $od['od_id'], $sms_contents);
$sms_contents = preg_replace("/{회사명}/", $default['de_admin_company_name'], $sms_contents);
}
return iconv("utf-8", "euc-kr", stripslashes($sms_contents));
}
?>

View File

@ -16,7 +16,7 @@ include_once(G5_PATH.'/head.sub.php');
엑셀파일을 이용하여 상품을 일괄등록할 수 있습니다.<br> 엑셀파일을 이용하여 상품을 일괄등록할 수 있습니다.<br>
형식은 <strong>상품일괄등록용 엑셀파일</strong>을 다운로드하여 상품 정보를 입력하시면 됩니다.<br> 형식은 <strong>상품일괄등록용 엑셀파일</strong>을 다운로드하여 상품 정보를 입력하시면 됩니다.<br>
수정 완료 후 엑셀파일을 업로드하시면 상품이 일괄등록됩니다.<br> 수정 완료 후 엑셀파일을 업로드하시면 상품이 일괄등록됩니다.<br>
엑셀파일을 저장하실 때는 Excel 97 - 2003 통합문서 (*.xls) 로 저장하셔야 합니다. 엑셀파일을 저장하실 때는 <strong>Excel 97 - 2003 통합문서 (*.xls)</strong> 로 저장하셔야 합니다.
</p> </p>
<p> <p>

View File

@ -481,6 +481,19 @@ $(function(){
<label for="chk_all_it_point">전체적용</label> <label for="chk_all_it_point">전체적용</label>
</td> </td>
</tr> </tr>
<tr>
<th scope="row"><label for="it_soldout">상품품절</label></th>
<td>
<?php echo help("잠시 판매를 중단하거나 재고가 없을 경우에 체크해 놓으면 품절상품으로 표시됩니다."); ?>
<input type="checkbox" name="it_soldout" value="1" id="it_soldout" <?php echo ($it['it_soldout']) ? "checked" : ""; ?>> 예
</td>
<td class="td_grpset">
<input type="checkbox" name="chk_ca_it_soldout" value="1" id="chk_ca_it_soldout">
<label for="chk_ca_it_soldout">분류적용</label>
<input type="checkbox" name="chk_all_it_soldout" value="1" id="chk_all_it_soldout">
<label for="chk_all_it_soldout">전체적용</label>
</td>
</tr>
<tr> <tr>
<th scope="row"><label for="it_stock_qty">재고수량</label></th> <th scope="row"><label for="it_stock_qty">재고수량</label></th>
<td> <td>

View File

@ -287,6 +287,7 @@ $sql_common = " ca_id = '$ca_id',
it_notax = '$it_notax', it_notax = '$it_notax',
it_sell_email = '$it_sell_email', it_sell_email = '$it_sell_email',
it_use = '$it_use', it_use = '$it_use',
it_soldout = '$it_soldout',
it_stock_qty = '$it_stock_qty', it_stock_qty = '$it_stock_qty',
it_noti_qty = '$it_noti_qty', it_noti_qty = '$it_noti_qty',
it_sc_type = '$it_sc_type', it_sc_type = '$it_sc_type',
@ -459,6 +460,7 @@ if(is_checked('chk_ca_it_notax')) $ca_fields .= " , it_notax = '$i
if(is_checked('chk_ca_it_sell_email')) $ca_fields .= " , it_sell_email = '$it_sell_email' "; if(is_checked('chk_ca_it_sell_email')) $ca_fields .= " , it_sell_email = '$it_sell_email' ";
if(is_checked('chk_ca_it_tel_inq')) $ca_fields .= " , it_tel_inq = '$it_tel_inq' "; if(is_checked('chk_ca_it_tel_inq')) $ca_fields .= " , it_tel_inq = '$it_tel_inq' ";
if(is_checked('chk_ca_it_use')) $ca_fields .= " , it_use = '$it_use' "; if(is_checked('chk_ca_it_use')) $ca_fields .= " , it_use = '$it_use' ";
if(is_checked('chk_ca_it_soldout')) $ca_fields .= " , it_soldout = '$it_soldout' ";
if(is_checked('chk_ca_it_info')) $ca_fields .= " , it_info_gubun = '$it_info_gubun', it_info_value = '$it_info_value' "; if(is_checked('chk_ca_it_info')) $ca_fields .= " , it_info_gubun = '$it_info_gubun', it_info_value = '$it_info_value' ";
if(is_checked('chk_ca_it_price')) $ca_fields .= " , it_price = '$it_price' "; if(is_checked('chk_ca_it_price')) $ca_fields .= " , it_price = '$it_price' ";
if(is_checked('chk_ca_it_cust_price')) $ca_fields .= " , it_cust_price = '$it_cust_price' "; if(is_checked('chk_ca_it_cust_price')) $ca_fields .= " , it_cust_price = '$it_cust_price' ";
@ -504,6 +506,7 @@ if(is_checked('chk_all_it_notax')) $all_fields .= " , it_notax = '
if(is_checked('chk_all_it_sell_email')) $all_fields .= " , it_sell_email = '$it_sell_email' "; if(is_checked('chk_all_it_sell_email')) $all_fields .= " , it_sell_email = '$it_sell_email' ";
if(is_checked('chk_all_it_tel_inq')) $all_fields .= " , it_tel_inq = '$it_tel_inq' "; if(is_checked('chk_all_it_tel_inq')) $all_fields .= " , it_tel_inq = '$it_tel_inq' ";
if(is_checked('chk_all_it_use')) $all_fields .= " , it_use = '$it_use' "; if(is_checked('chk_all_it_use')) $all_fields .= " , it_use = '$it_use' ";
if(is_checked('chk_all_it_soldout')) $all_fields .= " , it_soldout = '$it_soldout' ";
if(is_checked('chk_all_it_info')) $all_fields .= " , it_info_gubun = '$it_info_gubun', it_info_value = '$it_info_value' "; if(is_checked('chk_all_it_info')) $all_fields .= " , it_info_gubun = '$it_info_gubun', it_info_value = '$it_info_value' ";
if(is_checked('chk_all_it_price')) $all_fields .= " , it_price = '$it_price' "; if(is_checked('chk_all_it_price')) $all_fields .= " , it_price = '$it_price' ";
if(is_checked('chk_all_it_cust_price')) $all_fields .= " , it_cust_price = '$it_cust_price' "; if(is_checked('chk_all_it_cust_price')) $all_fields .= " , it_cust_price = '$it_cust_price' ";

View File

@ -144,6 +144,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<th scope="col" colspan="4">분류</th> <th scope="col" colspan="4">분류</th>
<th scope="col" rowspan="3"><?php echo subject_sort_link('it_order', 'sca='.$sca); ?>순서</a></th> <th scope="col" rowspan="3"><?php echo subject_sort_link('it_order', 'sca='.$sca); ?>순서</a></th>
<th scope="col" rowspan="3"><?php echo subject_sort_link('it_use', 'sca='.$sca, 1); ?>판매</a></th> <th scope="col" rowspan="3"><?php echo subject_sort_link('it_use', 'sca='.$sca, 1); ?>판매</a></th>
<th scope="col" rowspan="3"><?php echo subject_sort_link('it_soldout', 'sca='.$sca, 1); ?>품절</a></th>
<th scope="col" rowspan="3"><?php echo subject_sort_link('it_hit', 'sca='.$sca, 1); ?>조회</a></th> <th scope="col" rowspan="3"><?php echo subject_sort_link('it_hit', 'sca='.$sca, 1); ?>조회</a></th>
<th scope="col" rowspan="3">관리</th> <th scope="col" rowspan="3">관리</th>
</tr> </tr>
@ -184,6 +185,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</td> </td>
<td rowspan="3" class="td_mngsmall"><input type="text" name="it_order[<?php echo $i; ?>]" value="<?php echo $row['it_order']; ?>" class="frm_input" size="3"></td> <td rowspan="3" class="td_mngsmall"><input type="text" name="it_order[<?php echo $i; ?>]" value="<?php echo $row['it_order']; ?>" class="frm_input" size="3"></td>
<td rowspan="3" class="td_chk"><input type="checkbox" name="it_use[<?php echo $i; ?>]" <?php echo ($row['it_use'] ? 'checked' : ''); ?> value="1"></td> <td rowspan="3" class="td_chk"><input type="checkbox" name="it_use[<?php echo $i; ?>]" <?php echo ($row['it_use'] ? 'checked' : ''); ?> value="1"></td>
<td rowspan="3" class="td_chk"><input type="checkbox" name="it_soldout[<?php echo $i; ?>]" <?php echo ($row['it_soldout'] ? 'checked' : ''); ?> value="1"></td>
<td rowspan="3" class="td_num"><?php echo $row['it_hit']; ?></td> <td rowspan="3" class="td_num"><?php echo $row['it_hit']; ?></td>
<td rowspan="3" class="td_mng"> <td rowspan="3" class="td_mng">
<a href="<?php echo $href; ?>"><span class="sound_only"><?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> </span>보기</a> <a href="<?php echo $href; ?>"><span class="sound_only"><?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> </span>보기</a>

View File

@ -25,6 +25,7 @@ if ($_POST['act_button'] == "선택수정") {
it_price = '{$_POST['it_price'][$k]}', it_price = '{$_POST['it_price'][$k]}',
it_stock_qty = '{$_POST['it_stock_qty'][$k]}', it_stock_qty = '{$_POST['it_stock_qty'][$k]}',
it_use = '{$_POST['it_use'][$k]}', it_use = '{$_POST['it_use'][$k]}',
it_soldout = '{$_POST['it_soldout'][$k]}',
it_order = '{$_POST['it_order'][$k]}', it_order = '{$_POST['it_order'][$k]}',
it_update_time = '".G5_TIME_YMDHIS."' it_update_time = '".G5_TIME_YMDHIS."'
where it_id = '{$_POST['it_id'][$k]}' "; where it_id = '{$_POST['it_id'][$k]}' ";

View File

@ -0,0 +1,55 @@
<?php
$sub_menu = '400400';
include_once('./_common.php');
auth_check($auth[$sub_menu], "w");
$g5['title'] = '엑셀 배송일괄처리';
include_once(G5_PATH.'/head.sub.php');
?>
<div class="new_win">
<h1><?php echo $g5['title']; ?></h1>
<div class="local_desc01 local_desc">
<p>
엑셀파일을 이용하여 배송정보를 일괄등록할 수 있습니다.<br>
형식은 <strong>배송처리용 엑셀파일</strong>을 다운로드하여 배송 정보를 입력하시면 됩니다.<br>
수정 완료 후 엑셀파일을 업로드하시면 배송정보가 일괄등록됩니다.<br>
엑셀파일을 저장하실 때는 <strong>Excel 97 - 2003 통합문서 (*.xls)</strong> 로 저장하셔야 합니다.<br>
주문상태가 준비이고 미수금이 0인 주문에 한해 엑셀파일이 생성됩니다.
</p>
<p>
<a href="<?php echo G5_ADMIN_URL; ?>/shop_admin/orderdeliveryexcel.php">배송정보 일괄등록용 엑셀파일 다운로드</a>
</p>
</div>
<form name="forderdelivery" method="post" action="./orderdeliveryupdate.php" enctype="MULTIPART/FORM-DATA" autocomplete="off">
<div id="excelfile_upload">
<label for="excelfile">파일선택</label>
<input type="file" name="excelfile" id="excelfile">
</div>
<div>
<input type="checkbox" name="od_send_mail" value="1" id="od_send_mail" checked="checked">
<label for="od_send_mail">배송안내 메일</label>
<input type="checkbox" name="send_sms" value="1" id="od_send_sms" checked="checked">
<label for="od_send_sms">배송안내 SMS</label>
<input type="checkbox" name="send_escrow" value="1" id="od_send_escrow">
<label for="od_send_escrow">에스크로배송등록</label>
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="배송정보 등록" class="btn_submit">
<button type="button" onclick="window.close();">닫기</button>
</div>
</form>
</div>
<?php
include_once(G5_PATH.'/tail.sub.php');
?>

View File

@ -0,0 +1,60 @@
<?php
$sub_menu = '400400';
include_once('./_common.php');
auth_check($auth[$sub_menu], "w");
// 주문정보
$sql = " select *
from {$g5['g5_shop_order_table']}
where od_misu = '0'
and od_status = '준비'
order by od_id desc ";
$result = sql_query($sql);
if(!@mysql_num_rows($result))
alert_close('배송처리할 주문 내역이 없습니다.');
/*================================================================================
php_writeexcel http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
=================================================================================*/
include_once(G5_LIB_PATH.'/Excel/php_writeexcel/class.writeexcel_workbook.inc.php');
include_once(G5_LIB_PATH.'/Excel/php_writeexcel/class.writeexcel_worksheet.inc.php');
$fname = tempnam(G5_DATA_PATH, "tmp-deliverylist.xls");
$workbook = new writeexcel_workbook($fname);
$worksheet = $workbook->addworksheet();
// Put Excel data
$data = array('주문번호', '주문자명', '주문자전화1', '주문자전화2', '배송자명', '배송지전화1', '배송지전화2', '배송지주소', '배송회사', '운송장번호');
$data = array_map('iconv_euckr', $data);
$col = 0;
foreach($data as $cell) {
$worksheet->write(0, $col++, $cell);
}
for($i=1; $row=sql_fetch_array($result); $i++) {
$row = array_map('iconv_euckr', $row);
$worksheet->write($i, 0, ' '.$row['od_id']);
$worksheet->write($i, 1, $row['od_name']);
$worksheet->write($i, 2, $row['od_tel']);
$worksheet->write($i, 3, $row['od_hp']);
$worksheet->write($i, 4, $row['od_b_name']);
$worksheet->write($i, 5, $row['od_b_tel']);
$worksheet->write($i, 6, $row['od_b_hp']);
$worksheet->write($i, 7, $row['od_b_addr1'].' '.$row['od_b_addr2']);
$worksheet->write($i, 8, $row['od_delivery_company']);
$worksheet->write($i, 9, $row['od_invoice']);
}
$workbook->close();
header("Content-Type: application/x-msexcel; name=\"deliverylist-".date("ymd", time()).".xls\"");
header("Content-Disposition: inline; filename=\"deliverylist-".date("ymd", time()).".xls\"");
$fh=fopen($fname, "rb");
fpassthru($fh);
unlink($fname);
?>

View File

@ -0,0 +1,192 @@
<?php
$sub_menu = '400400';
include_once('./_common.php');
include_once('./admin.shop.lib.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
include_once(G5_LIB_PATH.'/icode.sms.lib.php');
auth_check($auth[$sub_menu], "w");
define("_ORDERMAIL_", true);
$sms_count = 0;
if($config['cf_sms_use'] == 'icode' && $_POST['send_sms'])
{
$SMS = new SMS;
$SMS->SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $config['cf_icode_server_port']);
}
$escrow_count = 0;
if($_POST['send_escrow']) {
$escrow_tno = array();
$escrow_corp = array();
$escrow_numb = array();
$escrow_idx = 0;
}
if($_FILES['excelfile']['tmp_name']) {
$file = $_FILES['excelfile']['tmp_name'];
include_once(G5_LIB_PATH.'/Excel/reader.php');
$data = new Spreadsheet_Excel_Reader();
// Set output Encoding.
$data->setOutputEncoding('UTF-8');
/***
* if you want you can change 'iconv' to mb_convert_encoding:
* $data->setUTFEncoder('mb');
*
**/
/***
* By default rows & cols indeces start with 1
* For change initial index use:
* $data->setRowColOffset(0);
*
**/
/***
* Some function for formatting output.
* $data->setDefaultFormat('%.2f');
* setDefaultFormat - set format for columns with unknown formatting
*
* $data->setColumnFormat(4, '%.3f');
* setColumnFormat - set format for column (apply only to number fields)
*
**/
$data->read($file);
/*
$data->sheets[0]['numRows'] - count rows
$data->sheets[0]['numCols'] - count columns
$data->sheets[0]['cells'][$i][$j] - data from $i-row $j-column
$data->sheets[0]['cellsInfo'][$i][$j] - extended info about cell
$data->sheets[0]['cellsInfo'][$i][$j]['type'] = "date" | "number" | "unknown"
if 'type' == "unknown" - use 'raw' value, because cell contain value with format '0.00';
$data->sheets[0]['cellsInfo'][$i][$j]['raw'] = value if cell without format
$data->sheets[0]['cellsInfo'][$i][$j]['colspan']
$data->sheets[0]['cellsInfo'][$i][$j]['rowspan']
*/
error_reporting(E_ALL ^ E_NOTICE);
$fail_od_id = array();
$total_count = 0;
$fail_count = 0;
$succ_count = 0;
// $i 사용시 ordermail.inc.php의 $i 때문에 무한루프에 빠짐
for ($k = 2; $k <= $data->sheets[0]['numRows']; $k++) {
$total_count++;
$od_id = addslashes(trim($data->sheets[0]['cells'][$k][1]));
$od_delivery_company = addslashes($data->sheets[0]['cells'][$k][9]);
$od_invoice = addslashes($data->sheets[0]['cells'][$k][10]);
if(!$od_id || !$od_delivery_company || !$od_invoice) {
$fail_count++;
$fail_od_id[] = $od_id;
continue;
}
// 주문정보
$od = sql_fetch(" select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
if (!$od) {
$fail_od_id[] = $od_id;
continue;
}
if($od['od_status'] == '준비') {
$fail_od_id[] = $od_id;
continue;
}
$delivery['invoice'] = $od_invoice;
$delivery['invoice_time'] = G5_TIME_YMDHIS;
$delivery['delivery_company'] = $od_delivery_company;
// 주문정보 업데이트
order_update_delivery($od_id, $od['mb_id'], '배송', $delivery);
change_status($od_id, '준비', '배송');
// SMS
if($config['cf_sms_use'] == 'icode' && $_POST['send_sms'] && $default['de_sms_use5']) {
$sms_contents = conv_sms_contents($od_id, $default['de_sms_cont5']);
if($sms_contents) {
$receive_number = preg_replace("/[^0-9]/", "", $od['od_hp']); // 수신자번호
$send_number = preg_replace("/[^0-9]/", "", $default['de_admin_company_tel']); // 발신자번호
if($receive_number && $send_number) {
$SMS->Add($receive_number, $send_number, $config['cf_icode_id'], $sms_contents, "");
$sms_count++;
}
}
}
// 메일
if($config['cf_email_use'] && $_POST['od_send_mail'])
include './ordermail.inc.php';
// 에스크로 배송
if($_POST['send_escrow'] && $od['od_tno'] && $od['od_escrow']) {
$escrow_tno[$escrow_idx] = $od['od_tno'];
$escrow_numb[$escrow_idx] = $od_invoice;
$escrow_corp[$escrow_idx] = $od_delivery_company;
$escrow_idx++;
$escrow_count++;
}
}
}
// SMS
if($config['cf_sms_use'] == 'icode' && $_POST['send_sms'] && $sms_count)
{
$SMS->Send();
}
// 에스크로 배송
if($_POST['send_escrow'] && $escrow_count)
{
include_once('./orderescrow.inc.php');
}
$g5['title'] = '엑셀 배송일괄처리 결과';
include_once(G5_PATH.'/head.sub.php');
?>
<div class="new_win">
<h1><?php echo $g5['title']; ?></h1>
<p class="new_win_desc">배송일괄처리를 완료했습니다.</p>
<dl id="excelfile_result">
<dt>총배송건수</dt>
<dd><?php echo number_format($total_count); ?></dd>
<dt>완료건수</dt>
<dd><?php echo number_format($succ_count); ?></dd>
<dt>실패건수</dt>
<dd><?php echo number_format($fail_count); ?></dd>
<?php if($fail_count > 0) { ?>
<dt>실패주문코드</dt>
<dd><?php echo implode(', ', $fail_od_id); ?></dd>
<?php } ?>
</dl>
<div class="btn_win01 btn_win">
<button type="button" onclick="window.close();">창닫기</button>
</div>
</div>
<?php
include_once(G5_PATH.'/tail.sub.php');
?>

View File

@ -117,7 +117,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<div class="local_ov01 local_ov"> <div class="local_ov01 local_ov">
<?php echo $listall; ?> <?php echo $listall; ?>
전체 주문내역 <?php echo $total_count; ?>건 전체 주문내역 <?php echo number_format($total_count); ?>건
<?php if($od_status == '준비' && $total_count > 0) { ?>
<a href="./orderdelivery.php" id="order_delivery">엑셀배송처리</a>
<?php } ?>
</div> </div>
<form name="frmorderlist" class="local_sch01 local_sch"> <form name="frmorderlist" class="local_sch01 local_sch">
@ -468,7 +471,7 @@ $(function(){
var $this = $(this); var $this = $(this);
var od_id = $this.text().replace(/[^0-9]/g, ""); var od_id = $this.text().replace(/[^0-9]/g, "");
if($this.next().size()) if($this.next("#orderitemlist").size())
return false; return false;
$("#orderitemlist").remove(); $("#orderitemlist").remove();
@ -477,7 +480,7 @@ $(function(){
"./ajax.orderitem.php", "./ajax.orderitem.php",
{ od_id: od_id }, { od_id: od_id },
function(data) { function(data) {
$this.parent().append("<div id=\"orderitemlist\"><div class=\"itemlist\"></div></div>"); $this.after("<div id=\"orderitemlist\"><div class=\"itemlist\"></div></div>");
$("#orderitemlist .itemlist") $("#orderitemlist .itemlist")
.html(data) .html(data)
.append("<div id=\"orderitemlist_close\"><button type=\"button\" id=\"orderitemlist-x\" class=\"btn_frmline\">닫기</button></div>"); .append("<div id=\"orderitemlist_close\"><button type=\"button\" id=\"orderitemlist-x\" class=\"btn_frmline\">닫기</button></div>");
@ -495,6 +498,13 @@ $(function(){
$("body").on("click", function() { $("body").on("click", function() {
$("#orderitemlist").remove(); $("#orderitemlist").remove();
}); });
// 엑셀배송처리창
$("#order_delivery").on("click", function() {
var opt = "width=600,height=450,left=10,top=10";
window.open(this.href, "win_excel", opt);
return false;
});
}); });
function set_date(today) function set_date(today)

View File

@ -1,6 +1,7 @@
<?php <?php
$sub_menu = '400400'; $sub_menu = '400400';
include_once('./_common.php'); include_once('./_common.php');
include_once('./admin.shop.lib.php');
include_once(G5_LIB_PATH.'/mailer.lib.php'); include_once(G5_LIB_PATH.'/mailer.lib.php');
include_once(G5_LIB_PATH.'/icode.sms.lib.php'); include_once(G5_LIB_PATH.'/icode.sms.lib.php');
@ -23,126 +24,6 @@ if($_POST['send_escrow']) {
$escrow_idx = 0; $escrow_idx = 0;
} }
// 상품옵션별재고 또는 상품재고에 더하기
function add_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
{
global $g5;
if($io_id) {
$sql = " update {$g5['g5_shop_item_option_table']}
set io_stock_qty = io_stock_qty + '{$ct_qty}'
where it_id = '{$it_id}'
and io_id = '{$io_id}'
and io_type = '{$io_type}' ";
} else {
$sql = " update {$g5['g5_shop_item_table']}
set it_stock_qty = it_stock_qty + '{$ct_qty}'
where it_id = '{$it_id}' ";
}
return sql_query($sql);
}
// 상품옵션별재고 또는 상품재고에서 빼기
function subtract_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
{
global $g5;
if($io_id) {
$sql = " update {$g5['g5_shop_item_option_table']}
set io_stock_qty = io_stock_qty - '{$ct_qty}'
where it_id = '{$it_id}'
and io_id = '{$io_id}'
and io_type = '{$io_type}' ";
} else {
$sql = " update {$g5['g5_shop_item_table']}
set it_stock_qty = it_stock_qty - '{$ct_qty}'
where it_id = '{$it_id}' ";
}
return sql_query($sql);
}
// 주문과 장바구니의 상태를 변경한다.
function change_status($od_id, $current_status, $change_status)
{
global $g5;
$sql = " update {$g5['g5_shop_order_table']} set od_status = '{$change_status}' where od_id = '{$od_id}' and od_status = '{$current_status}' ";
sql_query($sql, true);
$sql = " update {$g5['g5_shop_cart_table']} set ct_status = '{$change_status}' where od_id = '{$od_id}' and ct_status = '{$current_status}' ";
sql_query($sql, true);
}
// 주문서에 입금시 update
function order_update_receipt($od_id)
{
global $g5;
$sql = " update {$g5['g5_shop_order_table']} set od_receipt_price = od_misu, od_misu = 0, od_receipt_time = '".G5_TIME_YMDHIS."' where od_id = '$od_id' and od_status = '입금' ";
return sql_query($sql);
}
// 주문서에 배송시 update
function order_update_delivery($od_id, $mb_id, $change_status, $delivery)
{
global $g5;
if($change_status != '배송')
return;
$sql = " update {$g5['g5_shop_order_table']} set od_delivery_company = '{$delivery['delivery_company']}', od_invoice = '{$delivery['invoice']}', od_invoice_time = '{$delivery['invoice_time']}' where od_id = '$od_id' and od_status = '준비' ";
sql_query($sql);
$sql = " select * from {$g5['g5_shop_cart_table']} where od_id = '$od_id' ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 재고를 사용하지 않았다면
$stock_use = $row['ct_stock_use'];
if(!$row['ct_stock_use'])
{
// 재고에서 뺀다.
subtract_io_stock($row['it_id'], $row['ct_qty'], $row['io_id'], $row['io_type']);
$stock_use = 1;
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where ct_id = '{$row['ct_id']}' ";
sql_query($sql);
}
}
}
// 처리내용 SMS
function conv_sms_contents($od_id, $contents)
{
global $g5, $config, $default;
$sms_contents = '';
if ($od_id && $config['cf_sms_use'] == 'icode')
{
$sql = " select od_id, od_name, od_invoice, od_receipt_price, od_delivery_company
from {$g5['g5_shop_order_table']} where od_id = '$od_id' ";
$od = sql_fetch($sql);
$sms_contents = $contents;
$sms_contents = preg_replace("/{이름}/", $od['od_name'], $sms_contents);
$sms_contents = preg_replace("/{입금액}/", number_format($od['od_receipt_price']), $sms_contents);
$sms_contents = preg_replace("/{택배회사}/", $od['od_delivery_company'], $sms_contents);
$sms_contents = preg_replace("/{운송장번호}/", $od['od_invoice'], $sms_contents);
$sms_contents = preg_replace("/{주문번호}/", $od['od_id'], $sms_contents);
$sms_contents = preg_replace("/{회사명}/", $default['de_admin_company_name'], $sms_contents);
}
return iconv("utf-8", "euc-kr", stripslashes($sms_contents));
}
for ($i=0; $i<count($_POST['chk']); $i++) for ($i=0; $i<count($_POST['chk']); $i++)
{ {
// 실제 번호를 넘김 // 실제 번호를 넘김
@ -225,11 +106,9 @@ for ($i=0; $i<count($_POST['chk']); $i++)
// 에스크로 배송 // 에스크로 배송
if($_POST['send_escrow'] && $od['od_tno'] && $od['od_escrow']) { if($_POST['send_escrow'] && $od['od_tno'] && $od['od_escrow']) {
$od = sql_fetch(" select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
$escrow_tno[$escrow_idx] = $od['od_tno']; $escrow_tno[$escrow_idx] = $od['od_tno'];
$escrow_numb[$escrow_idx] = $od['od_invoice']; $escrow_numb[$escrow_idx] = $invoice;
$escrow_corp[$escrow_idx] = $od['od_delivery_company']; $escrow_corp[$escrow_idx] = $delivery_company;
$escrow_idx++; $escrow_idx++;
$escrow_count++; $escrow_count++;
} }

View File

@ -75,6 +75,7 @@ if ($od_send_mail)
$delivery_list['dl_company'] = $od['od_delivery_company']; $delivery_list['dl_company'] = $od['od_delivery_company'];
$delivery_list['od_invoice'] = $od['od_invoice']; $delivery_list['od_invoice'] = $od['od_invoice'];
$delivery_list['od_invoice_time'] = $od['od_invoice_time']; $delivery_list['od_invoice_time'] = $od['od_invoice_time'];
$delivery_list['dl_inquiry'] = get_delivery_inquiry($od['od_delivery_company'], $od['od_invoice'], 'dvr_link');
$is_delivery = true; $is_delivery = true;
} }

View File

@ -147,7 +147,7 @@ if ($csv == 'xls')
$worksheet->write($i, 7, $row['ct_option']); $worksheet->write($i, 7, $row['ct_option']);
$worksheet->write($i, 8, $ct_send_cost); $worksheet->write($i, 8, $ct_send_cost);
$worksheet->write($i, 9, $row['it_id']); $worksheet->write($i, 9, $row['it_id']);
$worksheet->write($i, 10, $row['od_id']); $worksheet->write($i, 10, ' '.$row['od_id']);
$worksheet->write($i, 11, $row['od_invoice']); $worksheet->write($i, 11, $row['od_invoice']);
$worksheet->write($i, 12, $row['od_memo']); $worksheet->write($i, 12, $row['od_memo']);
} }

View File

@ -50,14 +50,6 @@ $pg_anchor = '<ul class="anchor">
<li>전체상품 URL : <a href="<?php echo G5_SHOP_URL; ?>/price/daum.php" target="_blank"><?php echo G5_SHOP_URL; ?>/price/daum.php</a></li> <li>전체상품 URL : <a href="<?php echo G5_SHOP_URL; ?>/price/daum.php" target="_blank"><?php echo G5_SHOP_URL; ?>/price/daum.php</a></li>
</ul> </ul>
</dd> </dd>
<dt><a href="http://www.about.co.kr/" target="_blank">어바웃</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://member.about.co.kr/LaunchIntroduce/Default.aspx" target="_blank">http://member.about.co.kr/LaunchIntroduce/Default.aspx</a></li>
<li>전체EP URL : <a href="<?php echo G5_SHOP_URL; ?>/price/about.php" target="_blank"><?php echo G5_SHOP_URL; ?>/price/about.php</a></li>
<li>요약EP URL : <a href="<?php echo G5_SHOP_URL; ?>/price/about_new.php" target="_blank"><?php echo G5_SHOP_URL; ?>/price/about_new.php</a></li>
</ul>
</dd>
</dl> </dl>
</div> </div>
</section> </section>

View File

@ -14,7 +14,6 @@ CREATE TABLE `__TABLE_NAME__` (
`wr_link2` text NOT NULL, `wr_link2` text NOT NULL,
`wr_link1_hit` int(11) NOT NULL DEFAULT '0', `wr_link1_hit` int(11) NOT NULL DEFAULT '0',
`wr_link2_hit` int(11) NOT NULL DEFAULT '0', `wr_link2_hit` int(11) NOT NULL DEFAULT '0',
`wr_trackback` varchar(255) NOT NULL,
`wr_hit` int(11) NOT NULL DEFAULT '0', `wr_hit` int(11) NOT NULL DEFAULT '0',
`wr_good` int(11) NOT NULL DEFAULT '0', `wr_good` int(11) NOT NULL DEFAULT '0',
`wr_nogood` int(11) NOT NULL DEFAULT '0', `wr_nogood` int(11) NOT NULL DEFAULT '0',

View File

@ -73,6 +73,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
$row2 = sql_fetch(" select * from {$tmp_write_table} where wr_id = '{$row['wr_parent']}' "); $row2 = sql_fetch(" select * from {$tmp_write_table} where wr_id = '{$row['wr_parent']}' ");
$row3 = sql_fetch(" select mb_id, wr_name, wr_email, wr_homepage, wr_datetime from {$tmp_write_table} where wr_id = '{$row['wr_id']}' "); $row3 = sql_fetch(" select mb_id, wr_name, wr_email, wr_homepage, wr_datetime from {$tmp_write_table} where wr_id = '{$row['wr_id']}' ");
$list[$i] = $row2; $list[$i] = $row2;
$list[$i]['wr_id'] = $row['wr_id'];
$list[$i]['mb_id'] = $row3['mb_id']; $list[$i]['mb_id'] = $row3['mb_id'];
$list[$i]['wr_name'] = $row3['wr_name']; $list[$i]['wr_name'] = $row3['wr_name'];
$list[$i]['wr_email'] = $row3['wr_email']; $list[$i]['wr_email'] = $row3['wr_email'];

View File

@ -3,14 +3,14 @@
/* 초기화 */ /* 초기화 */
html {overflow-y:scroll} html {overflow-y:scroll}
body {margin:0;padding:0;background:#f9fafe;color:#000;font-size:0.75em;font-family:dotum} body {margin:0;padding:0;font-size:0.75em;font-family:dotum}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum} h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
#hd ul, nav ul, #ft ul {margin:0;padding:0;list-style:none} #hd ul, nav ul, #ft ul {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, select, img {vertical-align:middle} label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-family:dotum;font-size:1em} input, button {margin:0;padding:0;font-family:dotum;font-size:1em}
button {cursor:pointer} button {cursor:pointer}
@ -22,29 +22,29 @@ a:link, a:visited {color:#000;text-decoration:none}
a:hover, a:focus, a:active {color:#000;text-decoration:underline} a:hover, a:focus, a:active {color:#000;text-decoration:underline}
/* 상단 레이아웃 */ /* 상단 레이아웃 */
#hd {z-index:10;position:relative;min-width:980px;border-top:3px solid #151515;background:#fff} #hd {z-index:10;position:relative;min-width:970px;background:#fff}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_wrapper {position:relative;margin:0 auto;width:980px} #hd_wrapper {position:relative;margin:0 auto;width:970px}
#logo {padding:26px 0} #logo {padding:26px 0}
/* 전체 검색 */ /* 전체 검색 */
#sch_all {position:absolute;top:22px;left:170px;margin:0;padding:0;border:1px solid #555} #sch_all {position:absolute;top:22px;left:170px;margin:0;padding:0;border:1px solid #c3c6ca}
#sch_all legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} #sch_all legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#sch_all #sch_all_stx {padding-left:5px;width:165px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em} #sch_all #sch_all_stx {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
#sch_all_submit {padding:0 5px;height:26px;border:0;background:#555;color:#fff;cursor:pointer} #sch_all_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer}
#tnb {position:absolute;top:18px;right:0;margin:0;padding:0;list-style:none;zoom:1} #tnb {position:absolute;top:18px;right:0;margin:0;padding:0;list-style:none;zoom:1}
#tnb:after {display:block;visibility:hidden;clear:both;content:""} #tnb:after {display:block;visibility:hidden;clear:both;content:""}
#tnb li {float:left} #tnb li {float:left;margin:0 0 0 10px}
#tnb a {display:inline-block;padding:5px 10px;color:#333;letter-spacing:-0.1em;line-height:2em} #tnb a {display:inline-block;padding:5px 10px;color:#333;letter-spacing:-0.1em;line-height:2em}
#tnb a:focus, #tnb a:hover, #tnb a:active {text-decoration:none} #tnb a:focus, #tnb a:hover, #tnb a:active {text-decoration:none}
#tnb img {margin-right:3px} #tnb img {margin-right:3px}
/* gnb js off */ /* gnb js off */
#gnb {position:relative;margin:-1px 0 0;border-bottom:1px solid #c3c7c5;background:#f0f4f8} #gnb {position:relative;margin:-1px 0 0;border-top:1px dotted #dde4e9;border-bottom:1px solid #dde4e9;background:#ecf0f7}
#gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb #gnb_1dul {margin:0 auto !important;padding:0;width:980px;zoom:1} #gnb #gnb_1dul {margin:0 auto !important;padding:0;width:970px;zoom:1}
#gnb #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} #gnb #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
.gnb_1dli {z-index:10;clear:both;zoom:1} .gnb_1dli {z-index:10;clear:both;zoom:1}
.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""} .gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""}
@ -70,12 +70,12 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em} .gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em}
/* 중간 레이아웃 */ /* 중간 레이아웃 */
#wrapper {z-index:5;margin:50px auto;width:980px;zoom:1} #wrapper {z-index:5;margin:0 auto;width:970px;border-right:1px solid #dde4e9;border-left:1px solid #dde4e9;zoom:1}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""} #wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#aside {float:right;width:210px;border:1px solid #cfded8;background:#fff} #aside {float:right;margin:0 0 0 -1px;width:210px;border-left:1px solid #dde4e9;background:#fff}
#container {z-index:4;position:relative;float:left;padding:25px 14px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #cfded8;background:#fff;font-size:1em;zoom:1} #container {z-index:4;position:relative;float:left;padding:25px 16px 15px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border-right:1px solid #dde4e9;background:#fff;font-size:1em;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""} #container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {margin-bottom:20px;font-size:1.2em;font-weight:bold} #container_title {margin-bottom:20px;font-size:1.2em;font-weight:bold}
@ -86,14 +86,13 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.ts_up2 {font-size:1.3em !important} .ts_up2 {font-size:1.3em !important}
/* 하단 레이아웃 */ /* 하단 레이아웃 */
#ft {min-width:980px;background:#484848} #ft {min-width:970px;border-top:1px solid #dde4e9;background:#f2f5f9}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ft_catch {position:relative;margin:0 auto;padding:20px 0;width:980px;text-align:center} #ft_catch {position:relative;margin:0 auto;padding:20px 0;width:970px;text-align:center}
#ft_copy {background:#414141} #ft_copy {background:#414141}
#ft_copy p {position:relative;margin:0 auto;width:980px;color:#4a9ab8} #ft_copy p {position:relative;margin:0 auto;width:970px;color:#fff}
#ft_copy b {color:#fff}
#ft_copy a {position:absolute;top:10px;right:0;color:#fff} #ft_copy a {position:absolute;top:10px;right:0;color:#fff}
/* 게시물 선택복사 선택이동 */ /* 게시물 선택복사 선택이동 */
@ -133,29 +132,29 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.cke_sc_def dd {width:30%} .cke_sc_def dd {width:30%}
/* 버튼 */ /* 버튼 */
a.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle} a.btn01 {display:inline-block;padding:0 10px;height:25px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.2em;vertical-align:middle}
a.btn01:focus, .btn01:hover {text-decoration:none} a.btn01:focus, .btn01:hover {text-decoration:none}
a.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #000;background:#333;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} a.btn02 {display:inline-block;padding:0 10px;height:25px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;line-height:2.2em;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none} a.btn02:focus, .btn02:hover {text-decoration:none}
.btn_confirm {text-align:center} /* 서식단계 진행 */ .btn_confirm {text-align:center} /* 서식단계 진행 */
input.btn_submit {padding:0 10px;height:24px;border:0;background:#ff3061;color:#fff;letter-spacing:-0.1em;vertical-align:middle;cursor:pointer} input.btn_submit {padding:0 10px;height:27px;border:0;background:#ff3061;color:#fff;vertical-align:middle;cursor:pointer}
button.btn_submit {height:22px} fieldset .btn_submit {height:24px}
fieldset .btn_submit {height:22px}
a.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;vertical-align:middle} a.btn_cancel {display:inline-block;padding:0 10px;height:25px;border:1px solid #ccc;background:#fafafa;line-height:2.3em;vertical-align:middle}
a.btn_cancel:focus, a.btn_cancel:hover {text-decoration:none} a.btn_cancel:focus, a.btn_cancel:hover {text-decoration:none}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */ a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:24px;border:0;background:#4b545e;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {line-height:2.2em}
button.btn_frmline {font-size:1em} button.btn_frmline {font-size:1em}
/* 게시판용 버튼 */ /* 게시판용 버튼 */
a.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f2f5f9;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle} a.btn_b01 {display:inline-block;padding:0 10px;height:25px;border:1px solid #d9ded9;background:#f2f5f9;color:#000;text-decoration:none;line-height:2.2em;vertical-align:middle}
a.btn_b01:focus, .btn_b01:hover {text-decoration:none} a.btn_b01:focus, .btn_b01:hover {text-decoration:none}
a.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #000;background:#333;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} a.btn_b02 {display:inline-block;padding:0 10px;height:25px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;line-height:2.2em;vertical-align:middle}
a.btn_b02:focus, .btn_b02:hover {text-decoration:none} a.btn_b02:focus, .btn_b02:hover {text-decoration:none}
a.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */ a.btn_admin {display:inline-block;padding:0 10px;height:25px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2.2em;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 댓글 스타일 */ /* 댓글 스타일 */
@ -188,9 +187,10 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 폼 테이블 */ /* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px} .tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0} .tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_frm01 th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left} .tbl_frm01 th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} .tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.tbl_frm01 textarea, .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle} .tbl_frm01 textarea, .tbl_frm01 .frm_input {height:22px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle;line-height:2em}
.tbl_frm01 textarea {width:98%;height:100px} .tbl_frm01 textarea {width:98%;height:100px}
/* /*
.tbl_frm01 #captcha {margin:0;padding:0;border:0;background:transparent} .tbl_frm01 #captcha {margin:0;padding:0;border:0;background:transparent}
@ -201,7 +201,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
.tbl_frm01 .frm_address {display:block;margin-top:5px} .tbl_frm01 .frm_address {display:block;margin-top:5px}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px} .tbl_frm01 .frm_file {display:block;margin-bottom:5px}
fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle} fieldset .frm_input {height:22px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle;line-height:2em}
/* 자료 없는 목록 */ /* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center} .empty_table {padding:50px 0 !important;text-align:center}
@ -233,7 +233,7 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
/* 새창 기본 스타일 */ /* 새창 기본 스타일 */
.new_win {} .new_win {}
.new_win .tbl_wrap {margin:0 20px} .new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {margin:0 0 20px;padding:20px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em} .new_win #win_title {margin:0 0 20px;padding:20px;border-top:3px solid #333;border-bottom:1px solid #dde4e9;background:#fff;font-size:1.2em}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em} .new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} .new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
@ -241,10 +241,10 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
.new_win .win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none} .new_win .win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
.new_win .win_desc {margin:0 20px} .new_win .win_desc {margin:0 20px}
.new_win .win_btn {clear:both;margin:20px;text-align:center} /* 새창용 */ .new_win .win_btn {clear:both;padding:20px;text-align:center} /* 새창용 */
.new_win .win_btn button {display:inline-block;padding:0 10px;height:30px;border:0;background:#666;color:#fff;line-height:2em;cursor:pointer} .new_win .win_btn button {display:inline-block;padding:0 10px;height:30px;border:0;background:#4b545e;color:#fff;line-height:2em;cursor:pointer}
.new_win .win_btn input {height:30px;line-height:2em} .new_win .win_btn input {height:30px;line-height:2em}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#666;color:#fff;vertical-align:middle;line-height:2.4em} .new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none} .new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
/* 자바스크립트 alert 대안 */ /* 자바스크립트 alert 대안 */
@ -254,8 +254,8 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
/* 사이드뷰 */ /* 사이드뷰 */
.sv_wrap {display:inline-block;position:relative;font-weight:normal} .sv_wrap {display:inline-block;position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646;background:#111} .sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646}
.sv_wrap .sv a {display:inline-block;margin:0;padding:3px;width:94px;border-bottom:1px solid #283646;color:#fff} .sv_wrap .sv a {display:inline-block;margin:0;padding:3px;width:94px;border-bottom:1px solid #283646;background:#111;color:#fff !important}
.sv_wrap a:focus, .sv_wrap a:hover, .sv_wrap a:active {text-decoration:none} .sv_wrap a:focus, .sv_wrap a:hover, .sv_wrap a:active {text-decoration:none}
.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto} .sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto}
.sv_nojs .sv {display:block} .sv_nojs .sv {display:block}

View File

@ -9,7 +9,7 @@ h1, h2, h3, h4, h5, h6 {font-size:1em}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none} header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, select, img {vertical-align:middle} label, input, button select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em} input, button {margin:0;padding:0;font-size:1em}
input[type=text], input[type=password], input[type=submit], input[type=image], button {border-radius:0;font-size:1em;-webkit-appearance:none} input[type=text], input[type=password], input[type=submit], input[type=image], button {border-radius:0;font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em} textarea, select {font-size:1em}

View File

@ -731,4 +731,10 @@ if(!sql_query(" select iq_hp from {$g5['g5_shop_item_qa_table']} limit 1 ", fals
ADD `iq_hp` varchar(255) NOT NULL DEFAULT '' AFTER `iq_email` ", true); ADD `iq_hp` varchar(255) NOT NULL DEFAULT '' AFTER `iq_email` ", true);
} }
*/ */
// 상품품절 필드추가
if(!sql_query(" select it_soldout from {$g5['g5_shop_item_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE `{$g5['g5_shop_item_table']}`
ADD `it_soldout` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_use` ", true);
}
?> ?>

View File

@ -77,69 +77,22 @@ if ($config['cf_include_head']) {
<ul id="tnb"> <ul id="tnb">
<?php if ($is_member) { ?> <?php if ($is_member) { ?>
<?php if ($is_admin) { ?> <?php if ($is_admin) { ?>
<li> <li><a href="<?php echo G5_ADMIN_URL ?>"><b>관리자</b></a></li>
<a href="<?php echo G5_ADMIN_URL ?>">
<img src="<?php echo G5_IMG_URL ?>/tnb_admin.jpg" alt="">
관리자
</a>
</li>
<?php } ?> <?php } ?>
<li> <li><a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php">정보수정</a></li>
<a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php"> <li><a href="<?php echo G5_BBS_URL ?>/logout.php">로그아웃</a></li>
<img src="<?php echo G5_IMG_URL ?>/tnb_modify.jpg" alt="">
내 정보
</a>
</li>
<li>
<a href="<?php echo G5_BBS_URL ?>/logout.php">
<img src="<?php echo G5_IMG_URL ?>/tnb_logout.jpg" alt="">
로그아웃
</a>
</li>
<?php } else { ?> <?php } else { ?>
<li> <li><a href="<?php echo G5_BBS_URL ?>/register.php">회원가입</a></li>
<a href="<?php echo G5_BBS_URL ?>/register.php"> <li><a href="<?php echo G5_BBS_URL ?>/login.php"><b>로그인</b></a></li>
<img src="<?php echo G5_IMG_URL ?>/tnb_join.jpg" alt="">
회원가입
</a>
</li>
<li>
<a href="<?php echo G5_BBS_URL ?>/login.php">
<img src="<?php echo G5_IMG_URL ?>/tnb_login.jpg" alt="">
로그인
</a>
</li>
<?php } ?> <?php } ?>
<li>
<a href="<?php echo G5_BBS_URL ?>/qalist.php"> <li><a href="<?php echo G5_BBS_URL ?>/qalist.php">1:1문의</a></li>
<img src="<?php echo G5_IMG_URL ?>/tnb_cnt.jpg" alt=""> <li><a href="<?php echo G5_BBS_URL ?>/current_connect.php">접속자 <?php echo connect(); // 현재 접속자수 ?></a></li>
1:1문의 <li><a href="<?php echo G5_BBS_URL ?>/new.php">새글</a></li>
</a>
</li>
<li>
<a href="<?php echo G5_BBS_URL ?>/current_connect.php">
<img src="<?php echo G5_IMG_URL ?>/tnb_cnt.jpg" alt="">
접속자 <?php echo connect(); // 현재 접속자수 ?>
</a>
</li>
<li>
<a href="<?php echo G5_BBS_URL ?>/new.php">
<img src="<?php echo G5_IMG_URL ?>/tnb_new.jpg" alt="">
새글
</a>
</li>
<?php if (defined('G5_USE_SHOP') && G5_USE_SHOP) { ?> <?php if (defined('G5_USE_SHOP') && G5_USE_SHOP) { ?>
<li><a href="<?php echo G5_SHOP_URL ?>/">쇼핑몰</a></li>
<li>
<a href="<?php echo G5_SHOP_URL ?>/">
<img src="<?php echo G5_IMG_URL ?>/tnb_shop.jpg" alt="">
쇼핑몰
</a>
</li>
<?php } ?> <?php } ?>
</ul> </ul>
</div> </div>
<hr> <hr>

BIN
img/ft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -35,7 +35,6 @@ CREATE TABLE IF NOT EXISTS `g5_board` (
`bo_download_level` tinyint(4) NOT NULL DEFAULT '0', `bo_download_level` tinyint(4) NOT NULL DEFAULT '0',
`bo_html_level` tinyint(4) NOT NULL DEFAULT '0', `bo_html_level` tinyint(4) NOT NULL DEFAULT '0',
`bo_link_level` tinyint(4) NOT NULL DEFAULT '0', `bo_link_level` tinyint(4) NOT NULL DEFAULT '0',
`bo_trackback_level` tinyint(4) NOT NULL DEFAULT '0',
`bo_count_delete` tinyint(4) NOT NULL DEFAULT '0', `bo_count_delete` tinyint(4) NOT NULL DEFAULT '0',
`bo_count_modify` tinyint(4) NOT NULL DEFAULT '0', `bo_count_modify` tinyint(4) NOT NULL DEFAULT '0',
`bo_read_point` int(11) NOT NULL DEFAULT '0', `bo_read_point` int(11) NOT NULL DEFAULT '0',
@ -55,7 +54,6 @@ CREATE TABLE IF NOT EXISTS `g5_board` (
`bo_use_name` tinyint(4) NOT NULL DEFAULT '0', `bo_use_name` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_signature` tinyint(4) NOT NULL DEFAULT '0', `bo_use_signature` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_ip_view` tinyint(4) NOT NULL DEFAULT '0', `bo_use_ip_view` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_trackback` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_list_view` tinyint(4) NOT NULL DEFAULT '0', `bo_use_list_view` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_list_file` tinyint(4) NOT NULL DEFAULT '0', `bo_use_list_file` tinyint(4) NOT NULL DEFAULT '0',
`bo_use_list_content` tinyint(4) NOT NULL DEFAULT '0', `bo_use_list_content` tinyint(4) NOT NULL DEFAULT '0',

View File

@ -427,6 +427,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item` (
`it_notax` tinyint(4) NOT NULL DEFAULT '0', `it_notax` tinyint(4) NOT NULL DEFAULT '0',
`it_sell_email` varchar(255) NOT NULL DEFAULT '', `it_sell_email` varchar(255) NOT NULL DEFAULT '',
`it_use` tinyint(4) NOT NULL DEFAULT '0', `it_use` tinyint(4) NOT NULL DEFAULT '0',
`it_soldout` tinyint(4) NOT NULL DEFAULT '0',
`it_stock_qty` int(11) NOT NULL DEFAULT '0', `it_stock_qty` int(11) NOT NULL DEFAULT '0',
`it_noti_qty` int(11) NOT NULL DEFAULT '0', `it_noti_qty` int(11) NOT NULL DEFAULT '0',
`it_sc_type` tinyint(4) NOT NULL DEFAULT '0', `it_sc_type` tinyint(4) NOT NULL DEFAULT '0',

View File

@ -1831,10 +1831,10 @@ function is_soldout($it_id)
global $g5; global $g5;
// 상품정보 // 상품정보
$sql = " select it_stock_qty from {$g5['g5_shop_item_table']} where it_id = '$it_id' "; $sql = " select it_soldout, it_stock_qty from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
$it = sql_fetch($sql); $it = sql_fetch($sql);
if($it['it_stock_qty'] <= 0) if($it['it_soldout'] || $it['it_stock_qty'] <= 0)
return true; return true;
$count = 0; $count = 0;

View File

@ -1,10 +1,5 @@
<?php <?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 6;
if ($is_checkbox) $colspan++;
?> ?>
<link rel="stylesheet" href="<?php echo $qa_skin_url ?>/style.css"> <link rel="stylesheet" href="<?php echo $qa_skin_url ?>/style.css">
@ -42,55 +37,45 @@ if ($is_checkbox) $colspan++;
<input type="hidden" name="sca" value="<?php echo $sca; ?>"> <input type="hidden" name="sca" value="<?php echo $sca; ?>">
<input type="hidden" name="page" value="<?php echo $page; ?>"> <input type="hidden" name="page" value="<?php echo $page; ?>">
<div class="tbl_head01 tbl_wrap"> <?php if ($is_checkbox) { ?>
<table> <div id="list_chk">
<caption><?php echo $board['bo_subject'] ?> 목록</caption> <label for="chkall" class="sound_only">게시물 전체</label>
<thead> <input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
<tr> </div>
<th scope="col">번호</th> <?php } ?>
<?php if ($is_checkbox) { ?>
<th scope="col">
<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
</th>
<?php } ?>
<th scope="col">분류</th>
<th scope="col">제목</th>
<th scope="col">글쓴이</th>
<th scope="col">상태</th>
<th scope="col">등록일</th>
</tr>
</thead>
<tbody>
<?php
for ($i=0; $i<count($list); $i++) {
?>
<tr>
<td class="td_num"><?php echo $list[$i]['num']; ?></td>
<?php if ($is_checkbox) { ?>
<td class="td_chk">
<label for="chk_qa_id_<?php echo $i ?>" class="sound_only"><?php echo $list[$i]['subject']; ?></label>
<input type="checkbox" name="chk_qa_id[]" value="<?php echo $list[$i]['qa_id'] ?>" id="chk_qa_id_<?php echo $i ?>">
</td>
<?php } ?>
<td><?php echo $list[$i]['category']; ?></td>
<td class="td_subject">
<a href="<?php echo $list[$i]['view_href']; ?>">
<?php echo $list[$i]['subject']; ?>
</a>
<?php echo $list[$i]['icon_file']; ?>
</td>
<td class="td_name"><?php echo $list[$i]['name']; ?></td>
<td class="td_stat <?php echo ($list[$i]['qa_status'] ? 'txt_done' : 'txt_rdy'); ?>"><?php echo ($list[$i]['qa_status'] ? '답변완료' : '답변대기'); ?></td>
<td class="td_date"><?php echo $list[$i]['date']; ?></td>
</tr>
<?php
}
?>
<?php if ($i == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?> <div class="ul_wrap ul_01">
</tbody> <ul>
</table> <?php
for ($i=0; $i<count($list); $i++) {
?>
<li class="bo_li<?php if ($is_checkbox) echo ' bo_adm'; ?>">
<?php if ($is_checkbox) { ?>
<div class="li_chk">
<label for="chk_qa_id_<?php echo $i ?>" class="sound_only"><?php echo $list[$i]['subject']; ?></label>
<input type="checkbox" name="chk_qa_id[]" value="<?php echo $list[$i]['qa_id'] ?>" id="chk_qa_id_<?php echo $i ?>">
</div>
<?php } ?>
<div class="li_title">
<a href="<?php echo $list[$i]['view_href']; ?>">
<strong><?php echo $list[$i]['category']; ?></strong>
<?php echo $list[$i]['subject']; ?>
</a>
</div>
<div class="li_info">
<span><?php echo $list[$i]['num']; ?></span>
<span><?php echo $list[$i]['name']; ?></span>
<span><?php echo $list[$i]['date']; ?></span>
<span><?php echo $list[$i]['icon_file']; ?></span>
</div>
<div class="li_stat <?php echo ($list[$i]['qa_status'] ? 'txt_done' : 'txt_rdy'); ?>"><?php echo ($list[$i]['qa_status'] ? '답변완료' : '답변대기'); ?></div>
</li>
<?php
}
?>
<?php if ($i == 0) { echo '<li class="empty_list">게시물이 없습니다.</li>'; } ?>
</ul>
</div> </div>
<div class="bo_fx"> <div class="bo_fx">

View File

@ -26,20 +26,6 @@
#bo_w .btn_cancel {} #bo_w .btn_cancel {}
#bo_w .btn_frmline {} /* 우편번호검색버튼 등 */ #bo_w .btn_frmline {} /* 우편번호검색버튼 등 */
/* 기본테이블 */
/* 목록 테이블 */
#bo_list .tbl_head01 {}
#bo_list .tbl_head01 caption {}
#bo_list .tbl_head01 thead th {}
#bo_list .tbl_head01 thead a {}
#bo_list .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_list .tbl_head01 tfoot th {}
#bo_list .tbl_head01 tfoot td {}
#bo_list .tbl_head01 tbody th {}
#bo_list .tbl_head01 td {}
#bo_list .tbl_head01 a {}
#bo_list td.empty_table {}
/* 읽기 내 테이블 */ /* 읽기 내 테이블 */
#bo_v .tbl_head01 {} #bo_v .tbl_head01 {}
#bo_v .tbl_head01 caption {} #bo_v .tbl_head01 caption {}
@ -77,17 +63,14 @@
/* ### 기본 스타일 커스터마이징 끝 ### */ /* ### 기본 스타일 커스터마이징 끝 ### */
/* 게시판 목록 */ /* 게시판 목록 */
#bo_list .td_chk {width:30px;text-align:center} #bo_list #list_chk {padding:0 10px 10px}
#bo_list .td_group {width:100px;text-align:center} #bo_list .ul_wrap ul {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#bo_list .td_board {width:120px;text-align:center} #bo_list .ul_wrap li {position:relative;padding:8px 10px;border-bottom:1px solid #e9e9e9}
#bo_list .td_num {width:50px;text-align:center} #bo_list .ul_wrap li.bo_adm {padding:8px 10px 8px 30px}
#bo_list .td_numbig {width:80px;text-align:center} #bo_list .ul_wrap a {display:block;padding:0 0 10px}
#bo_list .td_mb_id {width:100px;text-align:center} #bo_list .ul_wrap .li_chk {position:absolute;top:8px;left:10px}
#bo_list .td_nick {width:100px;text-align:center} #bo_list .ul_wrap .li_info span {display:inline-block;margin:0 5px 0 0;vertical-align:middle}
#bo_list .td_name {width:100px;text-align:left} #bo_list .ul_wrap .li_stat {position:absolute;bottom:8px;right:10px}
#bo_list .td_date {width:60px;text-align:center}
#bo_list .td_datetime {width:150px;text-align:center}
#bo_list .td_mng {width:80px;text-align:center}
#bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden} #bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin:5px 10px;padding-left:1px;zoom:1} #bo_cate ul {margin:5px 10px;padding-left:1px;zoom:1}

View File

@ -591,7 +591,7 @@ class PHPMailer {
/* Retry while there is no connection */ /* Retry while there is no connection */
while($index < count($hosts) && $connection == false) { while($index < count($hosts) && $connection == false) {
$hostinfo = array(); $hostinfo = array();
if(eregi('^(.+):([0-9]+)$', $hosts[$index], $hostinfo)) { if(preg_match('/^(.+):([0-9]+)$/i', $hosts[$index], $hostinfo)) {
$host = $hostinfo[1]; $host = $hostinfo[1];
$port = $hostinfo[2]; $port = $hostinfo[2];
} else { } else {

View File

@ -123,7 +123,7 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
<tbody> <tbody>
<tr> <tr>
<th scope="row" style="<?php echo $th_st; ?>">배송회사</th> <th scope="row" style="<?php echo $th_st; ?>">배송회사</th>
<td style="<?php echo $td_st; ?>"><?php echo $delivery_list['dl_company']; ?></td> <td style="<?php echo $td_st; ?>"><?php echo $delivery_list['dl_company']; ?> <?php echo $delivery_list['dl_inquiry']; ?></td>
</tr> </tr>
<tr> <tr>
<th scope="row" style="<?php echo $th_st; ?>">운송장번호</th> <th scope="row" style="<?php echo $th_st; ?>">운송장번호</th>

View File

@ -1,94 +0,0 @@
<?php
include_once('./_common.php');
ob_start();
$lt = "";
$gt = "<!>";
$sql =" select * from {$g5['g5_shop_item_table']} where it_use = '1' order by ca_id";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$ca_id1 = "";
$ca_id2 = "";
$ca_id3 = "";
$ca_id4 = "";
$ca_name1 = "";
$ca_name2 = "";
$ca_name3 = "";
$ca_name4 = "";
$ca_id1 = substr($row['ca_id'],0,2);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id1' ");
$ca_name1 = $row2['ca_name'];
if (strlen($row['ca_id']) >= 4) {
$ca_id2 = substr($row['ca_id'],0,4);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id2' ");
$ca_name2 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 6) {
$ca_id3 = substr($row['ca_id'],0,6);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id3' ");
$ca_name3 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 8) {
$ca_id4 = substr($row['ca_id'],0,8);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id4' ");
$ca_name4 = $row2['ca_name'];
}
$PRDATE = substr($row['it_time'], 0, 10);
// 배송비계산
$delivery = get_item_sendcost2($row['it_id'], $row['it_price'], 1);
// 상품이미지
$img_url = get_it_imageurl($row['it_id']);
// 포인트
$it_point = get_item_point($row);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$row['it_name']}{$gt}"; // 상품명
echo "{$lt}{$row['it_price']}{$gt}"; // 판매가격
echo "{$lt}".G5_SHOP_URL."/item.php?it_id={$row['it_id']}{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
}
$content = ob_get_contents();
ob_end_clean();
// 100124 : 옥션에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>

View File

@ -1,95 +0,0 @@
<?php
include_once('./_common.php');
ob_start();
$lt = "";
$gt = "<!>";
$time = date("Y-m-d 00:00:00", G5_SERVER_TIME - 86400);
$sql =" select * from {$g5['g5_shop_item_table']} where it_use = '1' and it_time >= '$time' order by ca_id";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$ca_id1 = "";
$ca_id2 = "";
$ca_id3 = "";
$ca_id4 = "";
$ca_name1 = "";
$ca_name2 = "";
$ca_name3 = "";
$ca_name4 = "";
$ca_id1 = substr($row['ca_id'],0,2);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id1' ");
$ca_name1 = $row2['ca_name'];
if (strlen($row['ca_id']) >= 4) {
$ca_id2 = substr($row['ca_id'],0,4);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id2' ");
$ca_name2 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 6) {
$ca_id3 = substr($row['ca_id'],0,6);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id3' ");
$ca_name3 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 8) {
$ca_id4 = substr($row['ca_id'],0,8);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id4' ");
$ca_name4 = $row2['ca_name'];
}
$PRDATE = substr($row['it_time'], 0, 10);
// 배송비계산
$delivery = get_item_sendcost2($row['it_id'], $row['it_price'], 1);
// 상품이미지
$img_url = get_it_imageurl($row['it_id']);
// 포인트
$it_point = get_item_point($row);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$row['it_name']}{$gt}"; // 상품명
echo "{$lt}{$row['it_price']}{$gt}"; // 판매가격
echo "{$lt}".G5_SHOP_URL."/item.php?it_id={$row['it_id']}{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
}
$content = ob_get_contents();
ob_end_clean();
// 100124 : 옥션에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>

View File

@ -1,149 +0,0 @@
<?php
include_once('./_common.php');
ob_start();
$lt = "";
$gt = "<!>";
$sql =" select * from {$g5['g5_shop_item_table']} where it_use = '1' order by ca_id";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$ca_id1 = "";
$ca_id2 = "";
$ca_id3 = "";
$ca_id4 = "";
$ca_name1 = "";
$ca_name2 = "";
$ca_name3 = "";
$ca_name4 = "";
$ca_id1 = substr($row['ca_id'],0,2);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id1' ");
$ca_name1 = $row2['ca_name'];
if (strlen($row['ca_id']) >= 4) {
$ca_id2 = substr($row['ca_id'],0,4);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id2' ");
$ca_name2 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 6) {
$ca_id3 = substr($row['ca_id'],0,6);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id3' ");
$ca_name3 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 8) {
$ca_id4 = substr($row['ca_id'],0,8);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id4' ");
$ca_name4 = $row2['ca_name'];
}
$PRDATE = substr($row['it_time'], 0, 10);
// 상품이미지
$img_url = get_it_imageurl($row['it_id']);
// 포인트
$it_point = get_item_point($row);
// 상품별옵션
$sql = " select * from {$g5['g5_shop_item_option_table']} where it_id = '{$row['it_id']}' and io_type = '0' and io_use = '1' order by io_no asc ";
$result2 = sql_query($sql);
$opt_count = @mysql_num_rows($result2);
if(!$opt_count) {
$it_name = $row['it_name'];
$buy_url = G5_SHOP_URL.'/itembuy.php?it_id='.$row['it_id'];
$it_price = $row['it_price'];
$delivery = get_item_sendcost2($row['it_id'], $it_price, 1);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$it_name}{$gt}"; // 상품명
echo "{$lt}{$it_price}{$gt}"; // 판매가격
echo "{$lt}{$buy_url}{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
} else {
$subj = explode(',', $row['it_option_subject']);
for($k=0; $row2=sql_fetch_array($result2); $k++) {
$it_name = $row['it_name'].' ';
$opt = explode(chr(30), $row2['io_id']);
$sep = '';
for($j=0; $j<count($subj); $j++) {
$it_name .= $sep.$subj[$j].':'.$opt[$j];
$sep = ' ';
}
$buy_url = G5_SHOP_URL.'/itembuy.php?it_id='.$row['it_id'].'&amp;opt='.$row2['io_id'];
$it_price = $row['it_price'] + $row2['io_price'];
$delivery = get_item_sendcost2($row['it_id'], $it_price, 1);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$it_name}{$gt}"; // 상품명
echo "{$lt}{$it_price}{$gt}"; // 판매가격
echo "{$lt}{$buy_url}{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
}
}
}
$content = ob_get_contents();
ob_end_clean();
// 100124 : 옥션에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>

View File

@ -1,150 +0,0 @@
<?php
include_once('./_common.php');
ob_start();
$lt = "";
$gt = "<!>";
$time = date("Y-m-d 00:00:00", G5_SERVER_TIME - 86400);
$sql =" select * from {$g5['g5_shop_item_table']} where it_use = '1' and it_time >= '$time' order by ca_id";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$ca_id1 = "";
$ca_id2 = "";
$ca_id3 = "";
$ca_id4 = "";
$ca_name1 = "";
$ca_name2 = "";
$ca_name3 = "";
$ca_name4 = "";
$ca_id1 = substr($row['ca_id'],0,2);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id1' ");
$ca_name1 = $row2['ca_name'];
if (strlen($row['ca_id']) >= 4) {
$ca_id2 = substr($row['ca_id'],0,4);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id2' ");
$ca_name2 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 6) {
$ca_id3 = substr($row['ca_id'],0,6);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id3' ");
$ca_name3 = $row2['ca_name'];
}
if (strlen($row['ca_id']) >= 8) {
$ca_id4 = substr($row['ca_id'],0,8);
$row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$ca_id4' ");
$ca_name4 = $row2['ca_name'];
}
$PRDATE = substr($row['it_time'], 0, 10);
// 상품이미지
$img_url = get_it_imageurl($row['it_id']);
// 포인트
$it_point = get_item_point($row);
// 상품별옵션
$sql = " select * from {$g5['g5_shop_item_option_table']} where it_id = '{$row['it_id']}' and io_type = '0' and io_use = '1' order by io_no asc ";
$result2 = sql_query($sql);
$opt_count = @mysql_num_rows($result2);
if(!$opt_count) {
$it_name = $row['it_name'];
$buy_url = G5_SHOP_URL.'/itembuy.php?it_id='.$row['it_id'];
$it_price = $row['it_price'];
$delivery = get_item_sendcost2($row['it_id'], $it_price, 1);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$it_name}{$gt}"; // 상품명
echo "{$lt}{$it_price}{$gt}"; // 판매가격
echo "{$lt}".$buy_url."{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
} else {
$subj = explode(',', $row['it_option_subject']);
for($k=0; $row2=sql_fetch_array($result2); $k++) {
$it_name = $row['it_name'].' ';
$opt = explode(chr(30), $row2['io_id']);
$sep = '';
for($j=0; $j<count($subj); $j++) {
$it_name .= $sep.$subj[$j].':'.$opt[$j];
$sep = ' ';
}
$buy_url = G5_SHOP_URL.'/itembuy.php?it_id='.$row['it_id'].'&amp;opt='.$row2['io_id'];
$it_price = $row['it_price'] + $row2['io_price'];
$delivery = get_item_sendcost2($row['it_id'], $it_price, 1);
echo "{$lt}{$row['it_id']}{$gt}"; // 쇼핑몰 상품ID
echo "{$lt}C{$gt}"; // 상품구분 C/U/D 전체EP는 일괄적으로 C
echo "{$lt}{$it_name}{$gt}"; // 상품명
echo "{$lt}{$it_price}{$gt}"; // 판매가격
echo "{$lt}".$buy_url."{$gt}"; // 상품의 상세페이지 주소
echo "{$lt}".$img_url."{$gt}"; // 이미지 URL
echo "{$lt}$ca_id1{$gt}"; // 대분류 카테고리 코드
echo "{$lt}$ca_id2{$gt}"; // 중분류 카테고리 코드
echo "{$lt}$ca_id3{$gt}"; // 소분류 카테고리 코드
echo "{$lt}$ca_id4{$gt}"; // 세분류 카테고리 코드
echo "{$lt}$ca_name1{$gt}"; // 대 카테고리명
echo "{$lt}$ca_name2{$gt}"; // 중 카테고리명
echo "{$lt}$ca_name3{$gt}"; // 소 카테고리명
echo "{$lt}$ca_name4{$gt}"; // 세 카테고리명
echo "{$lt}{$gt}"; // 모델명
echo "{$lt}{$gt}"; // 브랜드
echo "{$lt}{$row['it_maker']}{$gt}"; // 메이커
echo "{$lt}{$row['it_origin']}{$gt}"; // 원산지
echo "{$lt}$PRDATE{$gt}"; // 상품등록일자
echo "{$lt}$delivery{$gt}"; // 배송비
echo "{$lt}{$gt}"; // 이벤트
echo "{$lt}{$gt}"; // 쿠폰금액
echo "{$lt}{$gt}"; // 무이자
echo "{$lt}$it_point{$gt}"; // 적립금
echo "{$lt}Y{$gt}"; // 이미지변경여부
echo "{$lt}{$gt}"; // 물품특성정보
echo "{$lt}{$gt}"; // 상점내 매출비율
echo "{$lt}"; // 상품정보 변경시간
echo "\r\n";
}
}
}
$content = ob_get_contents();
ob_end_clean();
// 100124 : 옥션에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>

View File

@ -158,7 +158,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa
/* 게시판 읽기 */ /* 게시판 읽기 */
#bo_v {margin-bottom:20px;padding-bottom:20px} #bo_v {margin-bottom:20px;padding-bottom:20px}
#bo_v_table {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em} #bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}
#bo_v_title {padding:10px 0;font-size:1.2em} #bo_v_title {padding:10px 0;font-size:1.2em}
@ -225,7 +225,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa
#bo_v_sns li {float:left;margin:0 5px 0 0} #bo_v_sns li {float:left;margin:0 5px 0 0}
/* 게시판 댓글 */ /* 게시판 댓글 */
#bo_vc {margin:0 0 20px;padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f5f6fa} #bo_vc {margin:0 0 20px;padding:20px 20px 10px;border:1px solid #e5e8ec;background:#f5f8f9}
#bo_vc h2 {margin-bottom:10px} #bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc} #bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px} #bo_vc header {position:relative;padding:15px 0 5px}

View File

@ -151,7 +151,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa
/* 게시판 읽기 */ /* 게시판 읽기 */
#bo_v {margin-bottom:20px;padding-bottom:20px} #bo_v {margin-bottom:20px;padding-bottom:20px}
#bo_v_table {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em} #bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}
#bo_v_title {padding:10px 0;font-size:1.2em} #bo_v_title {padding:10px 0;font-size:1.2em}
@ -218,7 +218,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa
#bo_v_sns li {float:left;margin:0 5px 0 0} #bo_v_sns li {float:left;margin:0 5px 0 0}
/* 게시판 댓글 */ /* 게시판 댓글 */
#bo_vc {margin:0 0 20px;padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f5f6fa} #bo_vc {margin:0 0 20px;padding:20px 20px 10px;border:1px solid #e5e8ec;background:#f5f8f9}
#bo_vc h2 {margin-bottom:10px} #bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc} #bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px} #bo_vc header {position:relative;padding:15px 0 5px}

View File

@ -3,7 +3,7 @@
/* 새글 스킨 (latest) */ /* 새글 스킨 (latest) */
.lt_pc {float:left;margin-left:20px} .lt_pc {float:left;margin-left:20px}
.lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd} .lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #e9e9e9}
.lt ul {margin:0 0 10px;padding:0;list-style:none} .lt ul {margin:0 0 10px;padding:0;list-style:none}
.lt li {padding:3px 0} .lt li {padding:3px 0}
.lt .lt_title {display:block;padding:10px 0 8px} .lt .lt_title {display:block;padding:10px 0 8px}

View File

@ -85,7 +85,7 @@
/* 회원가입 약관 */ /* 회원가입 약관 */
#fregister section {margin:0 0 20px;padding:20px 0;border-bottom:3px solid #eee} #fregister section {margin:0 0 20px;padding:20px 0;border-bottom:3px solid #eee}
#fregister h2 {margin:0 0 20px;text-align:center} #fregister h2 {margin:0 0 20px;text-align:center}
#fregister textarea {display:block;margin-bottom:10px;padding:5px;width:98%;height:150px;border:1px solid #d9d9d9;background:#f7f7f7} #fregister textarea {display:block;margin-bottom:10px;padding:5px;width:98%;height:150px;border:1px solid #e9e9e9;background:#f7f7f7}
#fregister .fregister_agree {padding:10px 0 0;text-align:right} #fregister .fregister_agree {padding:10px 0 0;text-align:right}
#fregister .fregister_agree label {display:inline-block;margin-right:5px} #fregister .fregister_agree label {display:inline-block;margin-right:5px}
#fregister p {color:#e8180c;text-align:center} #fregister p {color:#e8180c;text-align:center}
@ -99,7 +99,7 @@
/* 회원가입 완료 */ /* 회원가입 완료 */
#reg_result {padding:50px 0 0} #reg_result {padding:50px 0 0}
#reg_result #result_logo {margin-bottom:50px;text-align:center} #reg_result #result_logo {margin-bottom:50px;text-align:center}
#reg_result #result_email {padding:10px 50px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:2em} #reg_result #result_email {padding:10px 50px;border-top:1px solid #e9e9e9;border-bottom:1px solid #dde4e9;background:#fff;line-height:2em}
#reg_result #result_email span {display:inline-block;width:150px} #reg_result #result_email span {display:inline-block;width:150px}
#reg_result #result_email strong {color:#e8180c;font-size:1.2em} #reg_result #result_email strong {color:#e8180c;font-size:1.2em}
#reg_result .btn_confirm {margin:50px 0} #reg_result .btn_confirm {margin:50px 0}
@ -118,8 +118,8 @@
#mb_login #login_fs label {letter-spacing:-0.1em} #mb_login #login_fs label {letter-spacing:-0.1em}
#mb_login #login_fs .login_id {position:absolute;top:26px;left:95px} #mb_login #login_fs .login_id {position:absolute;top:26px;left:95px}
#mb_login #login_fs .login_pw {position:absolute;top:52px;left:95px} #mb_login #login_fs .login_pw {position:absolute;top:52px;left:95px}
#mb_login #login_fs .frm_input {display:block;margin:0 0 5px 80px} #mb_login #login_fs .frm_input {display:block;margin:0 0 5px 80px;width:162px}
#mb_login #login_fs .btn_submit {position:absolute;top:20px;left:335px;height:49px} #mb_login #login_fs .btn_submit {position:absolute;top:20px;right:95px;width:60px;height:53px}
#mb_login #login_info {margin:0 0 30px;padding:20px;border:1px solid #cfded8;background:#f5f6fa} #mb_login #login_info {margin:0 0 30px;padding:20px;border:1px solid #cfded8;background:#f5f6fa}
#mb_login #login_info div {text-align:right} #mb_login #login_info div {text-align:right}
@ -140,10 +140,7 @@
/* 쪽지 */ /* 쪽지 */
#memo_view_contents {margin:0 auto 20px;width:90%} #memo_view_contents {margin:0 auto 20px;width:90%}
#memo_view_contents h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #memo_view_contents h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
.memo_view_li {position:relative;padding:5px 0}
.memo_view_subj {display:inline-block;width:65px} .memo_view_subj {display:inline-block;width:65px}
#memo_view_ul a {}
#memo_view section p {padding:10px;min-height:150px;height:auto !important;height:150px;background:#fff} #memo_view section p {padding:10px;min-height:150px;height:auto !important;height:150px;background:#fff}
#memo_write textarea {height:100px} #memo_write textarea {height:100px}
@ -155,18 +152,18 @@
/* 회원 패스워드 확인 */ /* 회원 패스워드 확인 */
#mb_confirm {margin:0 auto;padding:100px 0;width:500px} #mb_confirm {margin:0 auto;padding:100px 0;width:500px}
#mb_confirm h1 {margin:0 0 20px;font-size:1.3em} #mb_confirm h1 {margin:0 0 20px;font-size:1.3em}
#mb_confirm p {padding:20px;border:1px solid #d9d9d9;border-bottom:0;background:#fff} #mb_confirm p {padding:20px;border:1px solid #dde4e9;border-bottom:0;background:#fff}
#mb_confirm p strong {display:block} #mb_confirm p strong {display:block}
#mb_confirm fieldset {margin:0 0 30px;padding:30px 0;border:1px solid #d9d9d9;background:#f5f6fa;text-align:center} #mb_confirm fieldset {margin:0 0 30px;padding:30px 0;border:1px solid #e9e9e9;background:#f5f6fa;text-align:center}
#mb_confirm label {letter-spacing:-0.1em} #mb_confirm label {letter-spacing:-0.1em}
#mb_confirm_id {display:inline-block;margin-right:20px;font-weight:bold} #mb_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
/* 비밀글 패스워드 확인 */ /* 비밀글 패스워드 확인 */
#pw_confirm {margin:0 auto;padding:100px 0;width:500px} #pw_confirm {margin:0 auto;padding:100px 0;width:500px}
#pw_confirm h1 {margin:0 0 20px;font-size:1.3em} #pw_confirm h1 {margin:0 0 20px;font-size:1.3em}
#pw_confirm p {padding:20px;border:1px solid #d9d9d9;border-bottom:0;background:#fff} #pw_confirm p {padding:20px;border:1px solid #dde4e9;border-bottom:0;background:#fff}
#pw_confirm p strong {display:block} #pw_confirm p strong {display:block}
#pw_confirm fieldset {margin:0 0 30px;padding:30px 0;border:1px solid #d9d9d9;background:#f5f6fa;text-align:center} #pw_confirm fieldset {margin:0 0 30px;padding:30px 0;border:1px solid #e9e9e9;background:#f5f6fa;text-align:center}
#pw_confirm label {letter-spacing:-0.1em} #pw_confirm label {letter-spacing:-0.1em}
#pw_confirm_id {display:inline-block;margin-right:20px;font-weight:bold} #pw_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
@ -180,11 +177,11 @@
#profile h2 {margin:0} #profile h2 {margin:0}
/* 우편번호 검색 */ /* 우편번호 검색 */
#post_code fieldset {margin:0 auto 10px;padding:15px 10px;width:87%;text-align:center} #post_code fieldset {margin:0 20px 10px;padding:15px 10px;text-align:center}
#post_code dl {margin:0 auto 10px;padding:20px 10px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff} #post_code dl {margin:0 auto 10px;padding:20px 10px;width:87%;border:1px solid #dde4e9;background:#fff}
#post_code dt {margin-bottom:15px;color:#000} #post_code dt {margin-bottom:15px;color:#000}
#post_code dd {margin:0;padding:0} #post_code dd {margin:0;padding:0}
#post_code ul {margin:0;padding:0;list-style:none} #post_code ul {margin:0;padding:0;list-style:none}
#post_code li a {display:block;padding:8px 0 6px;border-bottom:1px solid #eee} #post_code li a {display:block;padding:8px 0 6px;border-bottom:1px solid #}
#post_code p {margin:0 auto 30px;width:90%} #post_code p {margin:0 auto 30px;width:90%}
.post_code {display:inline-block;width:50px;color:#999} .post_code {display:inline-block;width:50px;color:#999}

View File

@ -18,6 +18,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<label for="mb_id" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label> <label for="mb_id" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" required class="frm_input required"> <input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit"> <input type="submit" value="검색" class="btn_submit">
<p>회원 아이디만 검색 가능</p>
</form> </form>
<script> <script>
/* 셀렉트 박스에서 자동 이동 해제 /* 셀렉트 박스에서 자동 이동 해제

View File

@ -4,4 +4,4 @@
/* 최근게시물 스킨 (new) */ /* 최근게시물 스킨 (new) */
#new_sch {margin-bottom:10px;text-align:right} #new_sch {margin-bottom:10px;text-align:right}
#new_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} #new_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#new_sch .btn_submit {height:22px} #new_sch p {padding:5px 0 0;font-size:0.95em;text-align:right;letter-spacing:-0.1em}

View File

@ -2,7 +2,7 @@
/* SIR 지운아빠 */ /* SIR 지운아빠 */
/* 아웃로그인 스킨 */ /* 아웃로그인 스킨 */
.ol {position:relative;padding:15px 15px 14px 14px} .ol {position:relative;padding:15px 15px 14px 14px;border-bottom:1px solid #dde4e9}
.ol h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} .ol h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
.ol ul {margin:0;padding:0;list-style:none} .ol ul {margin:0;padding:0;list-style:none}
@ -41,6 +41,5 @@
#ol_after_pt {width:80px;margin-right:1px} #ol_after_pt {width:80px;margin-right:1px}
#ol_after_scrap {width:48px;line-height:2.6em !important} #ol_after_scrap {width:48px;line-height:2.6em !important}
#ol_after_ft {text-align:justify} #ol_after_ft {text-align:justify}
#ol_after_ft a {display:inline-block;width:88px;height:22px;background:#333;color:#fff;text-align:center;line-height:1.8em} #ol_after_ft a {display:inline-block;width:88px;height:25px;background:#333;color:#fff;text-align:center;line-height:2.2em}
#ol_after_ft a:focus, #ol_after_ft a:focus, #ol_after_ft a:hover {text-decoration:none !important}
#ol_after_ft a:hover {text-decoration:none !important}

View File

@ -38,7 +38,7 @@
/* ### 기본 스타일 커스터마이징 끝 ### */ /* ### 기본 스타일 커스터마이징 끝 ### */
/* 설문조사 스킨 */ /* 설문조사 스킨 */
#poll {border-top:1px solid #e7f1ed} #poll {border-bottom:1px solid #dde4e9}
#poll header {position:relative;padding:15px 14px 0} #poll header {position:relative;padding:15px 14px 0}
#poll h2 {} #poll h2 {}
#poll header .btn_admin {margin-top:5px;width:158px;text-align:center} #poll header .btn_admin {margin-top:5px;width:158px;text-align:center}
@ -46,13 +46,14 @@
#poll ul {margin:0 0 10px;padding:5px 14px;list-style:none} #poll ul {margin:0 0 10px;padding:5px 14px;list-style:none}
#poll li {padding:3px 0} #poll li {padding:3px 0}
#poll footer {padding:0 14px 14px} #poll footer {padding:0 14px 14px}
#poll footer input {width:88px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer} #poll footer input {width:88px;height:27px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
#poll footer a {display:inline-block;width:86px;height:22px;border:1px solid #ccc;background:#fafafa;text-align:center;line-height:2em} #poll footer a {display:inline-block;width:86px;height:25px;border:1px solid #ccc;background:#fafafa;text-align:center;line-height:2.2em}
#poll footer a:focus, #poll footer a:focus, #poll footer a:hover {text-decoration:none !important}
#poll footer a:hover {text-decoration:none !important}
/* 설문조사 결과 (새창) */ /* 설문조사 결과 (새창) */
#poll_result section {padding:15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff} #poll_result {}
#poll_result section {margin:0 20px 20px;padding:15px;border:1px solid #dde4e9;background:#fff}
#poll_result .tbl_wrap {margin:0}
#poll_result h2 {margin:0;padding:20px 0} #poll_result h2 {margin:0;padding:20px 0}
#poll_result a {} #poll_result a {}
#poll_result .sv_member, #poll_result .sv_member,
@ -71,17 +72,17 @@
#poll_result_list p span {position:absolute;top:5px;right:5%;width:80px;color:#68999c;text-align:right} #poll_result_list p span {position:absolute;top:5px;right:5%;width:80px;color:#68999c;text-align:right}
.poll_result_graph {position:relative;margin-right:5%;height:5px;background:#eee} .poll_result_graph {position:relative;margin-right:5%;height:5px;background:#eee}
.poll_result_graph span {position:absolute;top:0;left:0;height:5px;background:#565e60;font-size:0.1em} .poll_result_graph span {position:absolute;top:0;left:0;height:5px;background:#565e60;font-size:0.1em}
#poll_result_cmt {margin:0 auto 20px} #poll_result_cmt {}
#poll_result_cmt h2 {text-align:center} #poll_result_cmt h2 {text-align:center}
#poll_result_cmt h3 {margin:0 auto 10px;padding-top:15px;width:93%} #poll_result_cmt h3 {margin:0 0 10px}
#poll_result_cmt article {margin:0 18px 15px;border-bottom:1px solid #eee} #poll_result_cmt article {margin:0 0 15px;border-bottom:1px solid #eee}
#poll_result_cmt h1 {margin:0;padding:0;height:0;border:0;font-size:0;line-height:0;overflow:hidden} #poll_result_cmt h1 {position:absolute;margin:0;padding:0;border:0;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.poll_datetime {display:inline-block;margin-left:10px} .poll_datetime {display:inline-block;margin-left:10px}
#poll_result_cmt p {padding:3px 0} #poll_result_cmt p {padding:3px 0}
#poll_result_cmt fieldset {margin-bottom:0;text-align:left} #poll_result_cmt fieldset {margin-bottom:0;text-align:left}
#poll_result_cmt fieldset p {margin:0 0 15px;padding:3px 0 0px;text-align:left} #poll_result_cmt fieldset p {margin:0 0 15px;padding:3px 0 0px;text-align:left}
#poll_result_cmt footer {text-align:right} #poll_result_cmt footer {text-align:right}
#poll_result_wcmt {margin-bottom:10px;width:93%} #poll_result_wcmt {margin:0 0 10px}
.poll_cmt_del a {display:inline-block;padding-bottom:10px} .poll_cmt_del a {display:inline-block;padding-bottom:10px}
#poll_result_oth {margin:0 auto 20px;width:93%} #poll_result_oth {margin:0 auto 20px;width:93%}
#poll_result_oth h2 {padding:0 0 10px} #poll_result_oth h2 {padding:0 0 10px}

View File

@ -2,12 +2,11 @@
/* SIR 지운아빠 */ /* SIR 지운아빠 */
/* 인기검색어 */ /* 인기검색어 */
#popular {background:#515151} #popular {border-bottom:1px dotted #dde4e9}
#popular div {margin:0 auto;width:980px;zoom:1} #popular div {margin:0 auto;width:970px;zoom:1}
#popular div:after {display:block;visibility:hidden;clear:both;content:""} #popular div:after {display:block;visibility:hidden;clear:both;content:""}
#popular h2 {float:left;padding:10px 45px 10px 0;color:#fff} #popular h2 {float:left;padding:10px 45px 10px 0}
#popular ul {float:left;margin:0;padding:0;list-style:none} #popular ul {float:left;margin:0;padding:0;list-style:none}
#popular li {float:left} #popular li {float:left}
#popular a {display:inline-block;padding:10px;color:#fff;text-decoration:none} #popular a {display:inline-block;padding:10px;text-decoration:none}
#popular a:focus, #popular a:focus, #popular a:hover {}
#popular a:hover {background:#333;color:#fff}

View File

@ -2,13 +2,12 @@
/* SIR 지운아빠 */ /* SIR 지운아빠 */
/* 방문자 집계 */ /* 방문자 집계 */
#visit {background:#444} #visit {border-bottom:1px dotted #dde4e9}
#visit div {margin:0 auto;width:980px;zoom:1} #visit div {margin:0 auto;width:970px;zoom:1}
#visit div:after {display:block;visibility:hidden;clear:both;content:""} #visit div:after {display:block;visibility:hidden;clear:both;content:""}
#visit h2 {float:left;padding:10px 45px 10px 0;color:#fff} #visit h2 {float:left;padding:10px 45px 10px 0}
#visit dl {float:left;margin:0 0 0 10px;padding:0} #visit dl {float:left;margin:0 0 0 10px;padding:0}
#visit dt {float:left;margin:0;padding:10px 0 10px;color:#fff} #visit dt {float:left;margin:0;padding:10px 0 10px}
#visit dd {float:left;margin:0 30px 0 0;padding:10px;color:#fff} #visit dd {float:left;margin:0 30px 0 0;padding:10px}
#visit a {display:inline-block;padding:10px;color:#fff;text-decoration:none} #visit a {display:inline-block;padding:10px;text-decoration:none}
#visit a:focus, #visit a:focus, #visit a:hover {}
#visit a:hover {background:#333;color:#fff}

View File

@ -25,7 +25,7 @@ if ($config['cf_include_tail']) {
<div id="ft"> <div id="ft">
<?php echo popular('basic'); // 인기검색어 ?> <?php echo popular('basic'); // 인기검색어 ?>
<?php echo visit('basic'); // 방문자수 ?> <?php echo visit('basic'); // 방문자수 ?>
<div id="ft_catch"><img src="<?php echo G5_IMG_URL; ?>/ft_catch.jpg" alt="<?php echo G5_VERSION ?>"></div> <div id="ft_catch"><img src="<?php echo G5_IMG_URL; ?>/ft.png" alt="<?php echo G5_VERSION ?>"></div>
<div id="ft_copy"> <div id="ft_copy">
<p> <p>
Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.<br> Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.<br>