스킨에 포함된 프로그램 코드 정리 중
This commit is contained in:
@ -6,6 +6,13 @@ if (!$is_member) {
|
||||
alert_close("상품문의는 회원만 작성 가능합니다.");
|
||||
}
|
||||
|
||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$iq_question_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||
|
||||
if ($w == "u")
|
||||
{
|
||||
$qa = sql_fetch(" select * from {$g5['g5_shop_item_qa_table']} where iq_id = '$iq_id' ");
|
||||
|
||||
@ -6,6 +6,13 @@ if (!$is_member) {
|
||||
alert_close("사용후기는 회원만 작성 가능합니다.");
|
||||
}
|
||||
|
||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$is_content_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$is_id = escape_trim($_REQUEST['is_id']);
|
||||
|
||||
if ($w == "") {
|
||||
$is_score = 10;
|
||||
} else if ($w == "u") {
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$iq_question_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
|
||||
@ -31,6 +31,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<!-- <p><?php echo $config['cf_title']; ?> 전체 상품문의 목록입니다.</p> -->
|
||||
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
@ -40,11 +42,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$it_href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], 500);
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], 500);
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$is_content_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$is_id = escape_trim($_REQUEST['is_id']);
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
|
||||
@ -31,12 +31,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<!-- <p><?php echo $config['cf_title']; ?> 전체 사용후기 목록입니다.</p> -->
|
||||
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_content = get_view_thumbnail($row['is_content'], 500);
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$small_image = $row['it_id'];
|
||||
|
||||
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
|
||||
|
||||
@ -12,6 +12,13 @@ if (!$is_member) {
|
||||
alert_close("상품문의는 회원만 작성 가능합니다.");
|
||||
}
|
||||
|
||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$iq_question_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||
|
||||
if ($w == "u")
|
||||
{
|
||||
$qa = sql_fetch(" select * from {$g5['g5_shop_item_qa_table']} where iq_id = '$iq_id' ");
|
||||
|
||||
@ -12,6 +12,13 @@ if (!$is_member) {
|
||||
alert_close("사용후기는 회원만 작성 가능합니다.");
|
||||
}
|
||||
|
||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$is_content_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$is_id = escape_trim($_REQUEST['is_id']);
|
||||
|
||||
if ($w == "") {
|
||||
$is_score = 10;
|
||||
} else if ($w == "u") {
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$iq_question_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_SHOP_SKIN_URL; ?>/style.css">
|
||||
|
||||
@ -32,6 +32,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<!-- <p><?php echo $config['cf_title']; ?> 전체 상품문의 목록입니다.</p> -->
|
||||
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
@ -41,11 +43,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$it_href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], 500);
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], 500);
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
||||
$is_content_max_length = 10000;
|
||||
|
||||
$w = escape_trim($_REQUEST['w']);
|
||||
$it_id = escape_trim($_REQUEST['it_id']);
|
||||
$is_id = escape_trim($_REQUEST['is_id']);
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_SHOP_SKIN_URL; ?>/style.css">
|
||||
|
||||
@ -30,12 +30,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<!-- <p><?php echo $config['cf_title']; ?> 전체 사용후기 목록입니다.</p> -->
|
||||
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_content = get_view_thumbnail($row['is_content'], 500);
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$small_image = $row['it_id'];
|
||||
|
||||
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
|
||||
|
||||
Reference in New Issue
Block a user