Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -75,7 +75,10 @@ if ($w == '' || $w == 'u') {
|
||||
if ($w=='') {
|
||||
if ($msg = exist_mb_id($mb_id)) alert($msg);
|
||||
|
||||
if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다.");
|
||||
if ($config['cf_use_recommend']) {
|
||||
if (!exist_mb_id($mb_recommend))
|
||||
alert("추천인이 존재하지 않습니다.");
|
||||
}
|
||||
|
||||
if (strtolower($mb_id) == strtolower($mb_recommend)) {
|
||||
alert('본인을 추천할 수 없습니다.');
|
||||
|
||||
@ -81,7 +81,7 @@ if ($w == 'c') // 댓글 입력
|
||||
where wr_id = '$comment_id' ";
|
||||
$reply_array = sql_fetch($sql);
|
||||
if (!$reply_array['wr_id'])
|
||||
alert('답변할 댓글가 없습니다.\\n\\n답변하는 동안 댓글가 삭제되었을 수 있습니다.');
|
||||
alert('답변할 댓글이 없습니다.\\n\\n답변하는 동안 댓글이 삭제되었을 수 있습니다.');
|
||||
|
||||
$tmp_comment = $reply_array['wr_comment'];
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@ $subject_row = sql_fetch($sql);
|
||||
|
||||
$_link = './bbs/board.php?bo_table=%s&wr_id=%s';
|
||||
$_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')";
|
||||
sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')));
|
||||
sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false);
|
||||
|
||||
$oPing = new SyndicationPing;
|
||||
$oPing->setId(SyndicationHandler::getTag('channel', $bo_table));
|
||||
|
||||
@ -27,7 +27,7 @@ $subject_row = sql_fetch($sql);
|
||||
|
||||
$_link = './bbs/board.php?bo_table=%s&wr_id=%s';
|
||||
$_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')";
|
||||
sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')));
|
||||
sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false);
|
||||
|
||||
$oPing = new SyndicationPing;
|
||||
$oPing->setId(SyndicationHandler::getTag('channel', $bo_table));
|
||||
|
||||
@ -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>
|
||||
@ -214,7 +214,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<?php if ($w == "" && $config['cf_use_recommend']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_recommend">추천인아이디</label></th>
|
||||
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input"></td>
|
||||
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input" required></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user