PHP_SELF 를 SCRIPT_NAME 으로 변경

This commit is contained in:
chicpro
2015-06-24 17:26:46 +09:00
parent 9b4431fbb4
commit 705a2ea947
45 changed files with 75 additions and 75 deletions

View File

@ -9,9 +9,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
<!-- 전체 상품 문의 목록 시작 { -->
<form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<form method="get" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
<div id="sqa_sch">
<a href="<?php echo $_SERVER['PHP_SELF']; ?>">전체보기</a>
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>">전체보기</a>
<label for="sfl" class="sound_only">검색항목<strong class="sound_only"> 필수</strong></label>
<select name="sfl" id="sfl" required class="required">
<option value="">선택</option>
@ -119,7 +119,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
?>
</div>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr&amp;page="); ?>
<script>
$(function(){

View File

@ -8,9 +8,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<!-- 전체 상품 사용후기 목록 시작 { -->
<form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<form method="get" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
<div id="sps_sch">
<a href="<?php echo $_SERVER['PHP_SELF']; ?>">전체보기</a>
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>">전체보기</a>
<label for="sfl" class="sound_only">검색항목<strong class="sound_only"> 필수</strong></label>
<select name="sfl" id="sfl" required>
<option value="">선택</option>
@ -81,7 +81,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
?>
</div>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr&amp;page="); ?>
<script>
$(function(){

View File

@ -1,7 +1,7 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$sct_sort_href = $_SERVER['PHP_SELF'].'?';
$sct_sort_href = $_SERVER['SCRIPT_NAME'].'?';
if($ca_id)
$sct_sort_href .= 'ca_id='.$ca_id;
else if($ev_id)