php strict 적용
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('../../common.php');
|
include_once('../../common.php');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -25,7 +25,7 @@ include_once('./_common.php');
|
|||||||
<meta http-equiv="Pragma" content="no-cache"/>
|
<meta http-equiv="Pragma" content="no-cache"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?
|
<?php
|
||||||
// <p>상품번호^대분류^중분류^소분류^제조사^모델명^상품Url^이미지Url^가격
|
// <p>상품번호^대분류^중분류^소분류^제조사^모델명^상품Url^이미지Url^가격
|
||||||
$str = "";
|
$str = "";
|
||||||
$sql = " select * from {$g4['shop_item_table']}
|
$sql = " select * from {$g4['shop_item_table']}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
?>
|
?>
|
||||||
<?
|
<?php
|
||||||
echo $_SERVER['HTTP_HOST'];
|
echo $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
// \n상품코드#대분류#소분류#상품명#상품URL#가격
|
// \n상품코드#대분류#소분류#상품명#상품URL#가격
|
||||||
|
|||||||
@ -16,7 +16,7 @@ else
|
|||||||
$delivery = (int)$tmp[0];
|
$delivery = (int)$tmp[0];
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?
|
<?php
|
||||||
// 상품ID^카테고리^상품명^제조사^이미지URL^상품URL^가격^적립금^할인쿠폰^무이자할부^사은품^모델명^추가정보^출시일^배송료
|
// 상품ID^카테고리^상품명^제조사^이미지URL^상품URL^가격^적립금^할인쿠폰^무이자할부^사은품^모델명^추가정보^출시일^배송료
|
||||||
$str = "";
|
$str = "";
|
||||||
$sql = " select * from {$g4['shop_item_table']}
|
$sql = " select * from {$g4['shop_item_table']}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
header("Content-Type: text/html; charset=utf-8");
|
header("Content-Type: text/html; charset=utf-8");
|
||||||
|
|||||||
@ -71,7 +71,7 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p align=center>상품수 : <?=number_format($total_count)?> 개
|
<p align=center>상품수 : <?php echo number_format($total_count); ?> 개
|
||||||
|
|
||||||
<table border="0" cellspacing="1" cellpadding="5" bgcolor="black" width="90%" align='center'>
|
<table border="0" cellspacing="1" cellpadding="5" bgcolor="black" width="90%" align='center'>
|
||||||
<tr bgcolor="#ededed">
|
<tr bgcolor="#ededed">
|
||||||
@ -80,7 +80,7 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
|||||||
<th>가격</th>
|
<th>가격</th>
|
||||||
<th>재고유무</th>
|
<th>재고유무</th>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?php
|
||||||
// 전체 페이지 계산
|
// 전체 페이지 계산
|
||||||
$total_page = ceil($total_count / $page_rows);
|
$total_page = ceil($total_count / $page_rows);
|
||||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
@ -122,7 +122,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<?=paging(1000, $page, $total_page, "./enuri.php?ca_id=$caid&page=");?>
|
<?php echo paging(1000, $page, $total_page, "./enuri.php?ca_id=$caid&page="); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@ -71,7 +71,7 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p align=center>상품수 : <?=number_format($total_count)?> 개
|
<p align=center>상품수 : <?php echo number_format($total_count); ?> 개
|
||||||
|
|
||||||
<table border="0" cellspacing="1" cellpadding="5" bgcolor="black" width="90%" align='center'>
|
<table border="0" cellspacing="1" cellpadding="5" bgcolor="black" width="90%" align='center'>
|
||||||
<tr bgcolor="#ededed" align=center>
|
<tr bgcolor="#ededed" align=center>
|
||||||
@ -86,7 +86,7 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
|||||||
<td>제조사</td>
|
<td>제조사</td>
|
||||||
<td>상품코드</td>
|
<td>상품코드</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?php
|
||||||
// 전체 페이지 계산
|
// 전체 페이지 계산
|
||||||
$total_page = ceil($total_count / $page_rows);
|
$total_page = ceil($total_count / $page_rows);
|
||||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
@ -139,7 +139,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<?=paging(1000, $page, $total_page, "./enuri.php?ca_id=$caid&page=");?>
|
<?php echo paging(1000, $page, $total_page, "./enuri.php?ca_id=$caid&page="); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<?PHP
|
<?php
|
||||||
/*
|
/*
|
||||||
** 가격비교사이트 에누리 분류페이지
|
** 가격비교사이트 에누리 분류페이지
|
||||||
*/
|
*/
|
||||||
@ -30,7 +30,7 @@ th,td {font-family:굴림; font-size:10pt ; height:15pt}
|
|||||||
</tr>
|
</tr>
|
||||||
<tr bgcolor="white">
|
<tr bgcolor="white">
|
||||||
|
|
||||||
<?PHP
|
<?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
|
$sql =" SELECT LENGTH(ca_id)=2 AS cnt, ca_id
|
||||||
|
|||||||
@ -78,7 +78,7 @@ body, td {font-family:굴림; font-size:10pt;}
|
|||||||
<td>제조사</td>
|
<td>제조사</td>
|
||||||
<td>이미지</td>
|
<td>이미지</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?php
|
||||||
// 전체 페이지 계산
|
// 전체 페이지 계산
|
||||||
$total_page = ceil($total_count / $page_rows);
|
$total_page = ceil($total_count / $page_rows);
|
||||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
@ -124,7 +124,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=7><?=paging(1000, $page, $total_page, "./mymargin.php?page=");?> </td>
|
<td colspan=7><?php echo paging(1000, $page, $total_page, "./mymargin.php?page="); ?> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
@ -12,7 +12,7 @@ include_once('./_common.php');
|
|||||||
<meta http-equiv="Pragma" content="no-cache"/>
|
<meta http-equiv="Pragma" content="no-cache"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?
|
<?php
|
||||||
// <p>상품번호^대분류^중분류^소분류^제조사^모델명^상품Url^가격
|
// <p>상품번호^대분류^중분류^소분류^제조사^모델명^상품Url^가격
|
||||||
$str = "";
|
$str = "";
|
||||||
$sql = " select * from {$g4['shop_item_table']}
|
$sql = " select * from {$g4['shop_item_table']}
|
||||||
|
|||||||
@ -68,7 +68,7 @@ body, td {font-family:굴림; font-size:9pt;}
|
|||||||
<td width="80">할인쿠폰</td>
|
<td width="80">할인쿠폰</td>
|
||||||
<td width="80">제조년월</td>
|
<td width="80">제조년월</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?php
|
||||||
// 전체 페이지 계산
|
// 전체 페이지 계산
|
||||||
$total_page = ceil($total_count / $page_rows);
|
$total_page = ceil($total_count / $page_rows);
|
||||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
@ -124,7 +124,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
</table>
|
</table>
|
||||||
<DIV>
|
<DIV>
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<?=paging($page_rows, $page, $total_page, "./shopbinder.php?page=");?>
|
<?php echo paging($page_rows, $page, $total_page, "./shopbinder.php?page="); ?>
|
||||||
</DIV>
|
</DIV>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@ -80,7 +80,7 @@ body, td {font-family:굴림; font-size:10pt;}
|
|||||||
<td>모델명</td>
|
<td>모델명</td>
|
||||||
<td>상품코드</td>
|
<td>상품코드</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?php
|
||||||
// 전체 페이지 계산
|
// 전체 페이지 계산
|
||||||
$total_page = ceil($total_count / $page_rows);
|
$total_page = ceil($total_count / $page_rows);
|
||||||
// 페이지가 없으면 첫 페이지 (1 페이지)
|
// 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
@ -127,7 +127,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p>총 <?=$total_count?>개 <?=paging(1000, $page, $total_page, "./yavis.php?page=");?>
|
<p>총 <?php echo $total_count; ?>개 <?php echo paging(1000, $page, $total_page, "./yavis.php?page="); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user