가격비교 사이트 페이지 경로 수정
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
<?
|
||||
include_once("../../common.php");
|
||||
include_once('../../common.php');
|
||||
?>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
@ -45,6 +45,8 @@ ob_start();
|
||||
|
||||
$lt = "[[";
|
||||
$gt = "]]";
|
||||
$shop_url = G4_SHOP_URL;
|
||||
$data_url = G4_DATA_URL;
|
||||
|
||||
// 배송비
|
||||
if ($default['de_send_cost_case'] == '없음')
|
||||
@ -87,25 +89,25 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}_BEGIN{$gt}
|
||||
{$lt}PRODID{$gt}$row[it_id]
|
||||
{$lt}PRNAME{$gt}$row[it_name]
|
||||
{$lt}_PRICE{$gt}$row[it_amount]
|
||||
{$lt}PRDURL{$gt}$g4[shop_url]/item.php?it_id=$row[it_id]
|
||||
{$lt}IMGURL{$gt}$g4[url]/data/item/{$row[it_id]}_l1
|
||||
{$lt}PRODID{$gt}{$row['it_id']}
|
||||
{$lt}PRNAME{$gt}{$row['it_name']}
|
||||
{$lt}_PRICE{$gt}{$row['it_amount']}
|
||||
{$lt}PRDURL{$gt}$shop_url/item.php?it_id={$row['it_id']}
|
||||
{$lt}IMGURL{$gt}$data_url/item/{$row['it_id']}_l1
|
||||
{$lt}CATE_1{$gt}$ca_name1
|
||||
{$lt}CATE_2{$gt}$ca_name2
|
||||
{$lt}CATE_3{$gt}$ca_name3
|
||||
{$lt}CATE_4{$gt}$ca_name4
|
||||
{$lt}_MODEL{$gt}
|
||||
{$lt}_BRAND{$gt}
|
||||
{$lt}_MAKER{$gt}$row[it_maker]
|
||||
{$lt}ORIGIN{$gt}$row[it_origin]
|
||||
{$lt}_MAKER{$gt}{$row['it_maker']}
|
||||
{$lt}ORIGIN{$gt}{$row['it_origin']}
|
||||
{$lt}PRDATE{$gt}$PRDATE
|
||||
{$lt}DELIVR{$gt}0/$delivery_limit/$delivery
|
||||
{$lt}_EVENT{$gt}
|
||||
{$lt}COUPON{$gt}
|
||||
{$lt}PRCARD{$gt}
|
||||
{$lt}_POINT{$gt}$row[it_point]
|
||||
{$lt}_POINT{$gt}{$row['it_point']}
|
||||
{$lt}MODIMG{$gt}Y
|
||||
{$lt}SRATIO{$gt}
|
||||
{$lt}___END{$gt}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
@ -47,6 +47,8 @@ ob_start();
|
||||
|
||||
$lt = "[[";
|
||||
$gt = "]]";
|
||||
$shop_url = G4_SHOP_URL;
|
||||
$data_url = G4_DATA_URL;
|
||||
|
||||
// 배송비
|
||||
if ($default['de_send_cost_case'] == '없음')
|
||||
@ -90,20 +92,20 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}_BEGIN{$gt}
|
||||
{$lt}PRODID{$gt}$row[it_id]
|
||||
{$lt}PRNAME{$gt}$row[it_name]
|
||||
{$lt}_PRICE{$gt}$row[it_amount]
|
||||
{$lt}PRDURL{$gt}$g4[shop_url]/item.php?it_id=$row[it_id]
|
||||
{$lt}IMGURL{$gt}$g4[url]/data/item/{$row[it_id]}_l1
|
||||
{$lt}PRODID{$gt}{$row['it_id']}
|
||||
{$lt}PRNAME{$gt}{$row['it_name']}
|
||||
{$lt}_PRICE{$gt}{$row['it_amount']}
|
||||
{$lt}PRDURL{$gt}$shop_url/item.php?it_id={$row['it_id']}
|
||||
{$lt}IMGURL{$gt}$data_url/item/{$row['it_id']}_l1
|
||||
{$lt}CATE_1{$gt}$ca_name1
|
||||
{$lt}CATE_2{$gt}$ca_name2
|
||||
{$lt}CATE_3{$gt}$ca_name3
|
||||
{$lt}CATE_4{$gt}$ca_name4
|
||||
{$lt}_MAKER{$gt}$row[it_maker]
|
||||
{$lt}ORIGIN{$gt}$row[it_origin]
|
||||
{$lt}_MAKER{$gt}{$row['it_maker']}
|
||||
{$lt}ORIGIN{$gt}{$row['it_origin']}
|
||||
{$lt}PRDATE{$gt}$PRDATE
|
||||
{$lt}DELIVR{$gt}0/$delivery_limit/$delivery
|
||||
{$lt}_POINT{$gt}$row[it_point]
|
||||
{$lt}_POINT{$gt}{$row['it_point']}
|
||||
{$lt}___END{$gt}
|
||||
|
||||
HEREDOC;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
@ -28,9 +28,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}_BEGIN{$gt}
|
||||
{$lt}PRODID{$gt}$row[it_id]
|
||||
{$lt}PRNAME{$gt}$row[it_name]
|
||||
{$lt}_PRICE{$gt}$row[it_amount]
|
||||
{$lt}PRODID{$gt}{$row['it_id']}
|
||||
{$lt}PRNAME{$gt}{$row['it_name']}
|
||||
{$lt}_PRICE{$gt}{$row['it_amount']}
|
||||
{$lt}___END{$gt}
|
||||
|
||||
HEREDOC;
|
||||
|
||||
@ -6,16 +6,16 @@ function it_image($img)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$tmp = G4_DATA_PATH."/item/$img";
|
||||
$tmp = G4_DATA_PATH.'/item/'.$img;
|
||||
if (file_exists($tmp) && $img) {
|
||||
$str = G4_DATA_URL."/item/$img";
|
||||
$str = G4_DATA_URL.'/item/'.$img;
|
||||
} else {
|
||||
$str = G4_SHOP_URL."/img/no_image.gif";
|
||||
$str = G4_SHOP_URL.'/img/no_image.gif';
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
?>
|
||||
<html>
|
||||
<title>비비 엔진페이지</title>
|
||||
|
||||
@ -2,26 +2,26 @@
|
||||
/*
|
||||
** 가격비교사이트 다나와 엔진페이지
|
||||
*/
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
?>
|
||||
<?
|
||||
echo $_SERVER["HTTP_HOST"];
|
||||
echo $_SERVER['HTTP_HOST'];
|
||||
|
||||
// \n상품코드#대분류#소분류#상품명#상품URL#가격
|
||||
$str = "";
|
||||
$sql = " select * from $g4[shop_item_table]
|
||||
$sql = " select * from {$g4['shop_item_table']}
|
||||
where it_use = '1'
|
||||
order by ca_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$row2 = sql_fetch(" select ca_name from $g4[shop_category_table] where ca_id = '".substr($row[ca_id],0,2)."' ");
|
||||
$row2 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,2)."' ");
|
||||
|
||||
if (strlen($row[ca_id]) >= 4)
|
||||
$row3 = sql_fetch(" select ca_name from $g4[shop_category_table] where ca_id = '".substr($row[ca_id],0,4)."' ");
|
||||
if (strlen($row['ca_id']) >= 4)
|
||||
$row3 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,4)."' ");
|
||||
|
||||
$str .= "\n";
|
||||
$str .= "$row[it_id]#$row2[ca_name]#$row3[ca_name]#$row[it_name]#$g4[shop_url]/item.php?it_id=$row[it_id]#$row[it_amount]";
|
||||
$str .= "{$row['it_id']}#{$row2['ca_name']}#{$row3['ca_name']}#{$row['it_name']}#".G4_SHOP_URL."/item.php?it_id={$row['it_id']}#{$row['it_amount']}";
|
||||
}
|
||||
echo $str;
|
||||
?>
|
||||
@ -2,7 +2,7 @@
|
||||
/*
|
||||
** 가격비교사이트 다나와 엔진페이지
|
||||
*/
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
$nl = ""; // new line \n
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
|
||||
@ -64,6 +64,8 @@ header("Content-Type: text/html; charset=utf-8");
|
||||
|
||||
$lt = "<<<";
|
||||
$gt = ">>>";
|
||||
$shop_url = G4_SHOP_URL;
|
||||
$data_url = G4_DATA_URL;
|
||||
|
||||
// 배송비
|
||||
if ($default['de_send_cost_case'] == '없음') {
|
||||
@ -122,11 +124,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}begin{$gt}
|
||||
{$lt}pid{$gt}$row[it_id]
|
||||
{$lt}price{$gt}$row[it_amount]
|
||||
{$lt}pname{$gt}$row[it_name]
|
||||
{$lt}pgurl{$gt}$g4[shop_url]/item.php?it_id={$row[it_id]}
|
||||
{$lt}igurl{$gt}$g4[url]/data/item/{$row[it_id]}_m
|
||||
{$lt}pid{$gt}{$row['it_id']}
|
||||
{$lt}price{$gt}{$row['it_amount']}
|
||||
{$lt}pname{$gt}{$row['it_name']}
|
||||
{$lt}pgurl{$gt}$shop_url/item.php?it_id={$row['it_id']}
|
||||
{$lt}igurl{$gt}$data_url/item/{$row['it_id']}_m
|
||||
{$lt}cate1{$gt}$cate1
|
||||
{$lt}cate2{$gt}$cate2
|
||||
{$lt}cate3{$gt}$cate3
|
||||
@ -135,7 +137,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{$lt}catename2{$gt}$catename2
|
||||
{$lt}catename3{$gt}$catename3
|
||||
{$lt}catename4{$gt}$catename4
|
||||
{$lt}maker{$gt}$row[it_maker]
|
||||
{$lt}maker{$gt}{$row['it_maker']}
|
||||
{$lt}pdate{$gt}$pdate
|
||||
{$lt}point{$gt}$point
|
||||
{$lt}deliv{$gt}$deliv
|
||||
|
||||
@ -43,14 +43,14 @@ function paging($write_pages, $cur_page, $total_page, $url )
|
||||
}
|
||||
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 페이지당 행수
|
||||
$page_rows = 1000;
|
||||
|
||||
$sql = " select count(*) as cnt from $g4[shop_item_table] where it_use = '1' and ca_id LIKE '$ca_id%'";
|
||||
$sql = " select count(*) as cnt from {$g4['shop_item_table']} where it_use = '1' and ca_id LIKE '$ca_id%'";
|
||||
$row = sql_fetch($sql);
|
||||
$total_count = $row[cnt];
|
||||
$total_count = $row['cnt'];
|
||||
?>
|
||||
<html>
|
||||
<title>에누리 엔진페이지</title>
|
||||
@ -89,7 +89,7 @@ if ($page == "") $page = 1;
|
||||
$from_record = ($page - 1) * $page_rows;
|
||||
|
||||
$caid = addslashes($ca_id);
|
||||
$sql = " select * from $g4[shop_item_table]
|
||||
$sql = " select * from {$g4['shop_item_table']}
|
||||
where it_use = '1'
|
||||
and ca_id LIKE '$caid%'
|
||||
order by ca_id
|
||||
@ -99,7 +99,7 @@ $result = sql_query($sql);
|
||||
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$stock = get_it_stock_qty($row[it_id]);
|
||||
$stock = get_it_stock_qty($row['it_id']);
|
||||
|
||||
if ($stock)
|
||||
$stock = "재고있음";
|
||||
@ -108,14 +108,14 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
$num = (($page - 1) * $page_rows) + $i + 1;
|
||||
|
||||
echo "
|
||||
<tr bgcolor='white'>
|
||||
<td align='center'>$num</td>
|
||||
<td><a href='{$g4[shop_url]}/item.php?it_id=$row[it_id]'>$row[it_name]</a></td>
|
||||
<td align='center'>".number_format($row[it_amount])."</td>
|
||||
<td align='center'>$stock</td>
|
||||
echo '
|
||||
<tr bgcolor="white">
|
||||
<td align="center">'.$num.'</td>
|
||||
<td><a href="'.G4_SHOP_URL.'/item.php?it_id='.$row['it_id'].'">'.$row['it_name'].'</a></td>
|
||||
<td align="center">'.number_format($row['it_amount']).'</td>
|
||||
<td align="center">'.$stock.'</td>
|
||||
</tr>
|
||||
";
|
||||
';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -43,7 +43,7 @@ function paging($write_pages, $cur_page, $total_page, $url )
|
||||
}
|
||||
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 페이지당 행수
|
||||
$page_rows = 1000;
|
||||
@ -119,20 +119,20 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
else
|
||||
$send_cost = '유료';
|
||||
|
||||
echo "
|
||||
<tr bgcolor='white'>
|
||||
<td align='center'>$num</td>
|
||||
<td><a href='".G4_SHOP_URL."/item.php?it_id={$row['it_id']}'>{$row['it_name']}</a></td>
|
||||
<td align='center'>".number_format($row['it_amount'])."</td>
|
||||
<td align='center'>$stock</td>
|
||||
<td align='center'>$send_cost</td>
|
||||
<td align='center'>".G4_DATA_URL."/item/{$row['it_id']}_m</td>
|
||||
<td align='center'>1</td>
|
||||
<td align='center'>N</td>
|
||||
<td align='center'>".get_text($row['it_maker'])."</td>
|
||||
<td align='center'>{$row['it_id']}</td>
|
||||
echo '
|
||||
<tr bgcolor="white">
|
||||
<td align="center">'.$num.'</td>
|
||||
<td><a href="'.G4_SHOP_URL.'/item.php?it_id='.$row['it_id'].'">'.$row['it_name'].'</a></td>
|
||||
<td align="center">'.number_format($row['it_amount']).'</td>
|
||||
<td align="center">'.$stock.'</td>
|
||||
<td align="center">'.$send_cost.'</td>
|
||||
<td align="center">'.G4_DATA_URL.'/item/'.$row['it_id'].'_m</td>
|
||||
<td align="center">1</td>
|
||||
<td align="center">N</td>
|
||||
<td align="center">'.get_text($row['it_maker']).'</td>
|
||||
<td align="center">'.$row['it_id'].'</td>
|
||||
</tr>
|
||||
";
|
||||
';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
/*
|
||||
** 가격비교사이트 에누리 분류페이지
|
||||
*/
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
?>
|
||||
<html>
|
||||
<title>에누리 분류페이지</title>
|
||||
@ -28,10 +28,10 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
||||
<th width=60 align='center'>대분류</th>
|
||||
<th>중분류</th>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<tr bgcolor="white">
|
||||
|
||||
<?PHP
|
||||
$url = "http://" . $_SERVER["HTTP_HOST"] . dirname($_SERVER["PHP_SELF"]);
|
||||
$url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
|
||||
|
||||
$sql =" SELECT LENGTH(ca_id)=2 AS cnt, ca_id
|
||||
FROM {$g4['shop_category_table']}
|
||||
@ -54,7 +54,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
for ($j=0;$row3=mysql_fetch_array($result3);$j++)
|
||||
{
|
||||
$str .= $bar;
|
||||
$str .= "<a href='./enuri.php?ca_id={$row3['ca_id']}'>{$row3['ca_name']}</a>";
|
||||
$str .= "<a href=\"./enuri.php?ca_id={$row3['ca_id']}\">{$row3['ca_name']}</a>";
|
||||
$bar = " | \n";
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
echo $str;
|
||||
|
||||
$tr = " </tr>\n <tr bgcolor='white'>\n";
|
||||
$tr = " </tr>\n <tr bgcolor=\"white\">\n";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
|
||||
@ -35,16 +35,16 @@ function it_image($img)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$tmp = G4_DATA_PATH."/item/$img";
|
||||
$tmp = G4_DATA_PATH.'/item/'.$img;
|
||||
if (file_exists($tmp) && $img) {
|
||||
$str = G4_DATA_URL."/item/$img";
|
||||
$str = G4_DATA_URL.'/item/'.$img;
|
||||
} else {
|
||||
$str = G4_SHOP_URL."/img/no_image.gif";
|
||||
$str = G4_SHOP_URL.'/img/no_image.gif';
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 페이지당 행수
|
||||
$page_rows = 100;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
@ -39,6 +39,8 @@ Field Status Notes
|
||||
|
||||
$lt = "<<<";
|
||||
$gt = ">>>";
|
||||
$shop_url = G4_SHOP_URL;
|
||||
$data_url = G4_DATA_URL;
|
||||
|
||||
// 배송비
|
||||
if ($default['de_send_cost_case'] == '없음') {
|
||||
@ -93,11 +95,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}begin{$gt}
|
||||
{$lt}mapid{$gt}$row[it_id]
|
||||
{$lt}pname{$gt}$row[it_name]
|
||||
{$lt}price{$gt}$row[it_amount]
|
||||
{$lt}pgurl{$gt}$g4[shop_url]/item.php?it_id={$row[it_id]}
|
||||
{$lt}igurl{$gt}$g4[url]/data/item/{$row[it_id]}_m
|
||||
{$lt}mapid{$gt}{$row['it_id']}
|
||||
{$lt}pname{$gt}{$row['it_name']}
|
||||
{$lt}price{$gt}{$row['it_amount']}
|
||||
{$lt}pgurl{$gt}$shop_url/item.php?it_id={$row['it_id']}
|
||||
{$lt}igurl{$gt}$data_url/item/{$row['it_id']}_m
|
||||
{$lt}cate1{$gt}$cate1
|
||||
{$lt}cate2{$gt}$cate2
|
||||
{$lt}cate3{$gt}$cate3
|
||||
@ -108,13 +110,13 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{$lt}caid4{$gt}$caid4
|
||||
{$lt}model{$gt}
|
||||
{$lt}brand{$gt}
|
||||
{$lt}maker{$gt}$row[it_maker]
|
||||
{$lt}origi{$gt}$row[it_origin]
|
||||
{$lt}maker{$gt}{$row['it_maker']}
|
||||
{$lt}origi{$gt}{$row['it_origin']}
|
||||
{$lt}deliv{$gt}$delivery
|
||||
{$lt}event{$gt}
|
||||
{$lt}coupo{$gt}
|
||||
{$lt}pcard{$gt}
|
||||
{$lt}point{$gt}$row[it_point]
|
||||
{$lt}point{$gt}{$row['it_point']}
|
||||
{$lt}mvurl{$gt}
|
||||
{$lt}selid{$gt}
|
||||
{$lt}barcode{$gt}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
@ -41,6 +41,8 @@ Field Status Notes
|
||||
|
||||
$lt = "<<<";
|
||||
$gt = ">>>";
|
||||
$shop_url = G4_SHOP_URL;
|
||||
$data_url = G4_DATA_URL;
|
||||
|
||||
// 배송비
|
||||
if ($default['de_send_cost_case'] == '없음') {
|
||||
@ -94,11 +96,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
echo <<< HEREDOC
|
||||
{$lt}begin{$gt}
|
||||
{$lt}mapid{$gt}$row[it_id]
|
||||
{$lt}pname{$gt}$row[it_name]
|
||||
{$lt}price{$gt}$row[it_amount]
|
||||
{$lt}pgurl{$gt}$g4[shop_url]/item.php?it_id={$row[it_id]}
|
||||
{$lt}igurl{$gt}$g4[url]/data/item/{$row[it_id]}_m
|
||||
{$lt}mapid{$gt}{$row['it_id']}
|
||||
{$lt}pname{$gt}{$row['it_name']}
|
||||
{$lt}price{$gt}{$row['it_amount']}
|
||||
{$lt}pgurl{$gt}$shop_url/item.php?it_id={$row['it_id']}
|
||||
{$lt}igurl{$gt}$data_url/item/{$row['it_id']}_m
|
||||
{$lt}cate1{$gt}$cate1
|
||||
{$lt}cate2{$gt}$cate2
|
||||
{$lt}cate3{$gt}$cate3
|
||||
@ -109,13 +111,13 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{$lt}caid4{$gt}$caid4
|
||||
{$lt}model{$gt}
|
||||
{$lt}brand{$gt}
|
||||
{$lt}maker{$gt}$row[it_maker]
|
||||
{$lt}origi{$gt}$row[it_origin]
|
||||
{$lt}maker{$gt}{$row['it_maker']}
|
||||
{$lt}origi{$gt}{$row['it_origin']}
|
||||
{$lt}deliv{$gt}$delivery
|
||||
{$lt}event{$gt}
|
||||
{$lt}coupo{$gt}
|
||||
{$lt}pcard{$gt}
|
||||
{$lt}point{$gt}$row[it_point]
|
||||
{$lt}point{$gt}{$row['it_point']}
|
||||
{$lt}mvurl{$gt}
|
||||
{$lt}selid{$gt}
|
||||
{$lt}barcode{$gt}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
ob_start();
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
/*
|
||||
** 가격비교사이트 오미 엔진페이지
|
||||
*/
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
?>
|
||||
<html>
|
||||
<title>오미 엔진페이지</title>
|
||||
@ -30,9 +30,9 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
$row4 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,6)."' ");
|
||||
|
||||
// 재고검사해서 없으면 상품가격을 0 으로 설정
|
||||
$stock = get_it_stock_qty($row[it_id]);
|
||||
$stock = get_it_stock_qty($row['it_id']);
|
||||
if ($stock <= 0)
|
||||
$row[it_amount] = 0;
|
||||
$row['it_amount'] = 0;
|
||||
|
||||
$str .= "<p>{$row['it_id']}^{$row2['ca_name']}^{$row3['ca_name']}^{$row4['ca_name']}^{$row['it_maker']}^{$row['it_name']}^".G4_SHOP_URL."/item.php?it_id={$row['it_id']}^{$row['it_amount']}";
|
||||
$str .= "\n";
|
||||
|
||||
@ -28,7 +28,7 @@ function paging($write_pages, $cur_page, $total_page, $url)
|
||||
return $str;
|
||||
}
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 페이지당 행수
|
||||
$page_rows = 500;
|
||||
|
||||
@ -35,16 +35,16 @@ function it_image($img)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$tmp = G4_DATA_PATH."item/$img";
|
||||
$tmp = G4_DATA_PATH.'/item/'.$img;
|
||||
if (file_exists($tmp) && $img) {
|
||||
$str = G4_DATA_URL."/item/$img";
|
||||
$str = G4_DATA_URL.'/item/'.$img;
|
||||
} else {
|
||||
$str = G4_SHOP_URL."/img/no_image.gif";
|
||||
$str = G4_SHOP_URL.'/img/no_image.gif';
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 페이지당 행수
|
||||
$page_rows = 100;
|
||||
|
||||
Reference in New Issue
Block a user