DHTML 에디터 관련 코드 수정
This commit is contained in:
@ -361,28 +361,28 @@ else
|
||||
<th scope="row">상단내용</th>
|
||||
<td>
|
||||
<?php echo help("상품리스트 페이지 상단에 출력하는 HTML 내용입니다."); ?>
|
||||
<?php echo editor_html('ca_head_html', $ca['ca_head_html']); ?>
|
||||
<?php echo editor_html('ca_head_html', get_text($ca['ca_head_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단내용</th>
|
||||
<td>
|
||||
<?php echo help("상품리스트 페이지 하단에 출력하는 HTML 내용입니다."); ?>
|
||||
<?php echo editor_html('ca_tail_html', $ca['ca_tail_html']); ?>
|
||||
<?php echo editor_html('ca_tail_html', get_text($ca['ca_tail_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일 상단내용</th>
|
||||
<td>
|
||||
<?php echo help("상품리스트 페이지 상단에 출력하는 HTML 내용입니다."); ?>
|
||||
<?php echo editor_html('ca_mobile_head_html', $ca['ca_mobile_head_html']); ?>
|
||||
<?php echo editor_html('ca_mobile_head_html', get_text($ca['ca_mobile_head_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일 하단내용</th>
|
||||
<td>
|
||||
<?php echo help("상품리스트 페이지 하단에 출력하는 HTML 내용입니다."); ?>
|
||||
<?php echo editor_html('ca_mobile_tail_html', $ca['ca_mobile_tail_html']); ?>
|
||||
<?php echo editor_html('ca_mobile_tail_html', get_text($ca['ca_mobile_tail_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -762,11 +762,11 @@ if(!isset($default['de_pg_service'])) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">배송정보</th>
|
||||
<td><?php echo editor_html('de_baesong_content', $default['de_baesong_content']); ?></td>
|
||||
<td><?php echo editor_html('de_baesong_content', get_text($default['de_baesong_content'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교환/반품</th>
|
||||
<td><?php echo editor_html('de_change_content', $default['de_change_content']); ?></td>
|
||||
<td><?php echo editor_html('de_change_content', get_text($default['de_change_content'], 0)); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -1055,7 +1055,7 @@ if(!isset($default['de_pg_service'])) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">비회원에 대한<br/>개인정보수집 내용</th>
|
||||
<td><?php echo editor_html('de_guest_privacy', $default['de_guest_privacy']); ?></td>
|
||||
<td><?php echo editor_html('de_guest_privacy', get_text($default['de_guest_privacy'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">MYSQL USER</th>
|
||||
|
||||
@ -296,13 +296,13 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">상단내용</th>
|
||||
<td>
|
||||
<?php echo editor_html('ev_head_html', $ev['ev_head_html']); ?>
|
||||
<?php echo editor_html('ev_head_html', get_text($ev['ev_head_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단내용</th>
|
||||
<td>
|
||||
<?php echo editor_html('ev_tail_html', $ev['ev_tail_html']); ?>
|
||||
<?php echo editor_html('ev_tail_html', get_text($ev['ev_tail_html'], 0)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -450,11 +450,11 @@ if(!sql_query(" select it_skin from {$g5['g5_shop_item_table']} limit 1", false)
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상품설명</th>
|
||||
<td colspan="2"> <?php echo editor_html('it_explan', $it['it_explan']); ?></td>
|
||||
<td colspan="2"> <?php echo editor_html('it_explan', get_text($it['it_explan'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일 상품설명</th>
|
||||
<td colspan="2"> <?php echo editor_html('it_mobile_explan', $it['it_mobile_explan']); ?></td>
|
||||
<td colspan="2"> <?php echo editor_html('it_mobile_explan', get_text($it['it_mobile_explan'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_sell_email">판매자 e-mail</label></th>
|
||||
@ -1595,7 +1595,7 @@ $(function(){
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">상품상단내용</th>
|
||||
<td><?php echo help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_head_html', $it['it_head_html']); ?></td>
|
||||
<td><?php echo help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_head_html', get_text($it['it_head_html'], 0)); ?></td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_ca_it_head_html" value="1" id="chk_ca_it_head_html">
|
||||
<label for="chk_ca_it_head_html">분류적용</label>
|
||||
@ -1605,7 +1605,7 @@ $(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상품하단내용</th>
|
||||
<td><?php echo help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_tail_html', $it['it_tail_html']); ?></td>
|
||||
<td><?php echo help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_tail_html', get_text($it['it_tail_html'], 0)); ?></td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_ca_it_tail_html" value="1" id="chk_ca_it_tail_html">
|
||||
<label for="chk_ca_it_tail_html">분류적용</label>
|
||||
@ -1615,7 +1615,7 @@ $(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일 상품상단내용</th>
|
||||
<td><?php echo help("모바일 상품상세설명 페이지 상단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_mobile_head_html', $it['it_mobile_head_html']); ?></td>
|
||||
<td><?php echo help("모바일 상품상세설명 페이지 상단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_mobile_head_html', get_text($it['it_mobile_head_html'], 0)); ?></td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_ca_it_mobile_head_html" value="1" id="chk_ca_it_mobile_head_html">
|
||||
<label for="chk_ca_it_mobile_head_html">분류적용</label>
|
||||
@ -1625,7 +1625,7 @@ $(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일 상품하단내용</th>
|
||||
<td><?php echo help("모바일 상품상세설명 페이지 하단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_mobile_tail_html', $it['it_mobile_tail_html']); ?></td>
|
||||
<td><?php echo help("모바일 상품상세설명 페이지 하단에 출력하는 HTML 내용입니다."); ?><?php echo editor_html('it_mobile_tail_html', get_text($it['it_mobile_tail_html'], 0)); ?></td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_ca_it_mobile_tail_html" value="1" id="chk_ca_it_mobile_tail_html">
|
||||
<label for="chk_ca_it_mobile_tail_html">분류적용</label>
|
||||
|
||||
@ -68,11 +68,11 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_question">질문</label></th>
|
||||
<td><?php echo editor_html('iq_question', $iq['iq_question']); ?></td>
|
||||
<td><?php echo editor_html('iq_question', get_text($iq['iq_question'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_answer">답변</label></th>
|
||||
<td><?php echo editor_html('iq_answer', $iq['iq_answer']); ?></td>
|
||||
<td><?php echo editor_html('iq_answer', get_text($iq['iq_answer'], 0)); ?></td>
|
||||
<!-- <td><textarea name="iq_answer" id="iq_answer" rows="7"><?php echo get_text($iq['iq_answer']); ?></textarea></td> -->
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -62,7 +62,7 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td><?php echo editor_html('is_content', $is['is_content']); ?></td>
|
||||
<td><?php echo editor_html('is_content', get_text($is['is_content'], 0)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">확인</th>
|
||||
|
||||
@ -18,7 +18,7 @@ if ($is_admin)
|
||||
<!-- 이벤트 시작 { -->
|
||||
<?php
|
||||
// 상단 HTML
|
||||
echo '<div id="sev_hhtml">'.stripslashes($ev['ev_head_html']).'</div>';
|
||||
echo '<div id="sev_hhtml">'.conv_content($ev['ev_head_html'], 1).'</div>';
|
||||
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -77,7 +77,7 @@ echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_S
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sev_thtml">'.stripslashes($ev['ev_tail_html']).'</div>';
|
||||
echo '<div id="sev_thtml">'.conv_content($ev['ev_tail_html'], 1).'</div>';
|
||||
?>
|
||||
<!-- } 이벤트 끝 -->
|
||||
|
||||
|
||||
@ -190,7 +190,7 @@ if(!is_file($nav_skin))
|
||||
include $nav_skin;
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sit_hhtml">'.stripslashes($it['it_mobile_head_html']).'</div>';
|
||||
echo '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>';
|
||||
?>
|
||||
|
||||
<?php if($is_orderable) { ?>
|
||||
@ -215,7 +215,7 @@ else
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($it['it_mobile_tail_html']);
|
||||
echo conv_content($it['it_mobile_tail_html'], 1);
|
||||
|
||||
include_once(G5_MSHOP_PATH.'/_tail.php');
|
||||
?>
|
||||
|
||||
@ -47,7 +47,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('iq_question', $qa['iq_question'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $is_dhtml_editor);
|
||||
$editor_js = '';
|
||||
$editor_js .= get_editor_js('iq_question', $is_dhtml_editor);
|
||||
$editor_js .= chk_editor_js('iq_question', $is_dhtml_editor);
|
||||
|
||||
@ -42,7 +42,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('is_content', $use['is_content'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor);
|
||||
$editor_js = '';
|
||||
$editor_js .= get_editor_js('is_content', $is_dhtml_editor);
|
||||
$editor_js .= chk_editor_js('is_content', $is_dhtml_editor);
|
||||
|
||||
@ -48,7 +48,7 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
|
||||
include $nav_skin;
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sct_hhtml">'.stripslashes($ca['ca_mobile_head_html']).'</div>';
|
||||
echo '<div id="sct_hhtml">'.conv_content($ca['ca_mobile_head_html'], 1).'</div>';
|
||||
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -110,7 +110,7 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sct_thtml">'.stripslashes($ca['ca_mobile_tail_html']).'</div>';
|
||||
echo '<div id="sct_thtml">'.conv_content($ca['ca_mobile_tail_html'], 1).'</div>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_MSHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
$iq_time = substr($row['iq_time'], 2, 8);
|
||||
|
||||
@ -42,7 +42,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -45,20 +45,20 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_MSHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
|
||||
$it_href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -20,7 +20,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$is_name = get_text($row['is_name']);
|
||||
$is_subject = conv_subject($row['is_subject'],50,"…");
|
||||
//$is_content = ($row['wr_content']);
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
$is_time = substr($row['is_time'], 2, 8);
|
||||
$is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
|
||||
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
|
||||
$it_href = G5_SHOP_URL."/item.php?it_id={$row['it_id']}";
|
||||
|
||||
@ -32,7 +32,7 @@ if (file_exists($himg))
|
||||
echo '<div id="sev_himg" class="sev_img"><img src="'.G5_DATA_URL.'/event/'.$ev_id.'_h" alt=""></div>';
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sev_hhtml">'.stripslashes($ev['ev_head_html']).'</div>';
|
||||
echo '<div id="sev_hhtml">'.conv_content($ev['ev_head_html'], 1).'</div>';
|
||||
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -93,7 +93,7 @@ echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_S
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sev_thtml">'.stripslashes($ev['ev_tail_html']).'</div>';
|
||||
echo '<div id="sev_thtml">'.conv_content($ev['ev_tail_html'], 1).'</div>';
|
||||
|
||||
$timg = G5_DATA_PATH.'/event/'.$ev_id.'_t';
|
||||
if (file_exists($timg))
|
||||
|
||||
@ -119,7 +119,7 @@ if ($is_admin) {
|
||||
<!-- 상품 상세보기 시작 { -->
|
||||
<?php
|
||||
// 상단 HTML
|
||||
echo '<div id="sit_hhtml">'.stripslashes($it['it_head_html']).'</div>';
|
||||
echo '<div id="sit_hhtml">'.conv_content($it['it_head_html'], 1).'</div>';
|
||||
|
||||
// 보안서버경로
|
||||
if (G5_HTTPS_DOMAIN)
|
||||
@ -247,7 +247,7 @@ function pg_anchor($anc_id) {
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($it['it_tail_html']);
|
||||
echo conv_content($it['it_tail_html'], 1);
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
@ -53,7 +53,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('iq_question', $qa['iq_question'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $is_dhtml_editor);
|
||||
$editor_js = '';
|
||||
$editor_js .= get_editor_js('iq_question', $is_dhtml_editor);
|
||||
$editor_js .= chk_editor_js('iq_question', $is_dhtml_editor);
|
||||
|
||||
@ -48,7 +48,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('is_content', $use['is_content'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor);
|
||||
$editor_js = '';
|
||||
$editor_js .= get_editor_js('is_content', $is_dhtml_editor);
|
||||
$editor_js .= chk_editor_js('is_content', $is_dhtml_editor);
|
||||
|
||||
@ -62,7 +62,7 @@ var itemlist_ca_id = "<?php echo $ca_id; ?>";
|
||||
include $nav_skin;
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sct_hhtml">'.stripslashes($ca['ca_head_html']).'</div>';
|
||||
echo '<div id="sct_hhtml">'.conv_content($ca['ca_head_html'], 1).'</div>';
|
||||
|
||||
$cate_skin = $skin_dir.'/listcategory.skin.php';
|
||||
if(!is_file($cate_skin))
|
||||
@ -138,7 +138,7 @@ var itemlist_ca_id = "<?php echo $ca_id; ?>";
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sct_thtml">'.stripslashes($ca['ca_tail_html']).'</div>';
|
||||
echo '<div id="sct_thtml">'.conv_content($ca['ca_tail_html'], 1).'</div>';
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
@ -25,13 +25,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_SHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
$iq_time = substr($row['iq_time'], 2, 8);
|
||||
|
||||
@ -43,7 +43,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -46,20 +46,20 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_SHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
|
||||
$it_href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -20,7 +20,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$is_star = get_star($row['is_score']);
|
||||
$is_name = get_text($row['is_name']);
|
||||
$is_subject = conv_subject($row['is_subject'],50,"…");
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
$is_time = substr($row['is_time'], 2, 8);
|
||||
$is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
|
||||
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
|
||||
$it_href = G5_SHOP_URL."/item.php?it_id={$row['it_id']}";
|
||||
|
||||
Reference in New Issue
Block a user