g4를 g5로 변경
This commit is contained in:
@ -4,8 +4,8 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$g4['title'] = '상품문의';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
$g5['title'] = '상품문의';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$where = " where ";
|
||||
$sql_search = "";
|
||||
@ -28,9 +28,9 @@ if (!$sst) {
|
||||
$sod = "desc";
|
||||
}
|
||||
|
||||
$sql_common = " from {$g4['shop_item_qa_table']} a
|
||||
left join {$g4['shop_item_table']} b on (a.it_id = b.it_id)
|
||||
left join {$g4['member_table']} c on (a.mb_id = c.mb_id) ";
|
||||
$sql_common = " from {$g5['shop_item_qa_table']} a
|
||||
left join {$g5['shop_item_table']} b on (a.it_id = b.it_id)
|
||||
left join {$g5['member_table']} c on (a.mb_id = c.mb_id) ";
|
||||
$sql_common .= $sql_search;
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -74,7 +74,7 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
<select name="sca" id="sca">
|
||||
<option value="">전체분류</option>
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$sql1 = " select ca_id, ca_name from {$g5['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
|
||||
$len = strlen($row1['ca_id']) / 2 - 1;
|
||||
@ -136,7 +136,7 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$row['iq_subject'] = cut_str($row['iq_subject'], 30, "...");
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$name = get_sideview($row['mb_id'], $row['iq_name'], $row['mb_email'], $row['mb_homepage']);
|
||||
$answer = $row['iq_answer'] ? 'Y' : ' ';
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], 300);
|
||||
@ -180,7 +180,7 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<script>
|
||||
function fitemqalist_submit(f)
|
||||
@ -214,5 +214,5 @@ $(function(){
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
include_once (G5_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user