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