From 808ac0f0e6baff97e9d2eceaf6fbd64622cb5cfc Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 24 Jun 2015 17:02:29 +0900 Subject: [PATCH] =?UTF-8?q?PHP=5FSELF=20=EB=A5=BC=20SCRIPT=5FNAME=20?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.lib.php | 1 - adm/auth_list.php | 4 +- adm/board_list.php | 4 +- adm/boardgroup_list.php | 4 +- adm/boardgroupmember_list.php | 2 +- adm/contentlist.php | 4 +- adm/faqmasterlist.php | 4 +- adm/index.php | 2 +- adm/member_list.php | 2 +- adm/point_list.php | 4 +- adm/poll_list.php | 4 +- adm/popular_list.php | 6 +- adm/popular_rank.php | 4 +- adm/sms_admin/_common.php | 2 +- adm/sms_admin/ajax.sms_write_person.php | 2 +- adm/sms_admin/form_list.php | 6 +- adm/sms_admin/history_list.php | 4 +- adm/sms_admin/history_member.php | 4 +- adm/sms_admin/history_num.php | 4 +- adm/sms_admin/history_view.php | 4 +- adm/sms_admin/install.php | 2 +- adm/sms_admin/num_book.php | 6 +- adm/sms_admin/sms_write_form.php | 2 +- adm/visit_list.php | 2 +- adm/visit_search.php | 8 +-- bbs/search.php | 4 +- bbs/write.php | 10 +-- lib/common.lib.php | 6 +- lib/mailer.lib.php | 96 ++++++++++++------------- mobile/skin/faq/basic/list.skin.php | 2 +- mobile/skin/member/basic/point.skin.php | 2 +- skin/faq/basic/list.skin.php | 2 +- skin/member/basic/point.skin.php | 2 +- 33 files changed, 107 insertions(+), 108 deletions(-) diff --git a/adm/admin.lib.php b/adm/admin.lib.php index 53410238e..38a1183f4 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -191,7 +191,6 @@ function order_select($fld, $sel='') // 접근 권한 검사 if (!$member['mb_id']) { - //alert('로그인 하십시오.', '$g5['bbs_path']/login.php?url=' . urlencode('$_SERVER['PHP_SELF']?w=$w&mb_id=$mb_id')); alert('로그인 하십시오.', G5_BBS_URL.'/login.php?url=' . urlencode(G5_ADMIN_URL)); } else if ($is_admin != 'super') diff --git a/adm/auth_list.php b/adm/auth_list.php index fc11f400e..3dfad19f5 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -45,7 +45,7 @@ $sql = " select * limit {$from_record}, {$rows} "; $result = sql_query($sql); -$listall = '전체목록'; +$listall = '전체목록'; $g5['title'] = "관리권한설정"; include_once('./admin.head.php'); @@ -158,7 +158,7 @@ else diff --git a/adm/board_list.php b/adm/board_list.php index 1c51da1d2..ade37535c 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -46,7 +46,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함 $sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} "; $result = sql_query($sql); -$listall = '전체목록'; +$listall = '전체목록'; $g5['title'] = '게시판관리'; include_once('./admin.head.php'); @@ -208,7 +208,7 @@ $colspan = 15; - + - + -
class="local_sch01 local_sch" method="get"> + class="local_sch01 local_sch" method="get"> @@ -91,7 +91,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php'); - + - + @@ -100,7 +100,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php'); - + - + @@ -244,7 +244,7 @@ function all_send() - + - +
거부 명 -
+ + diff --git a/adm/visit_list.php b/adm/visit_list.php index f4934488a..afc950164 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -102,7 +102,7 @@ if (isset($domain)) $qstr .= "&domain=$domain"; $qstr .= "&page="; -$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr"); +$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr"); echo $pagelist; include_once('./admin.tail.php'); diff --git a/adm/visit_search.php b/adm/visit_search.php index fb52d05f2..23f1af471 100644 --- a/adm/visit_search.php +++ b/adm/visit_search.php @@ -10,7 +10,7 @@ include_once('./admin.head.php'); include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php'); $colspan = 5; -$listall = '처음'; //페이지 처음으로 (초기화용도) +$listall = '처음'; //페이지 처음으로 (초기화용도) ?>
@@ -98,11 +98,11 @@ $listall = '처음'; //페이지 처음 $bg = 'bg'.($i%2); ?> - + - + 자료가 없습니다.'; ?> @@ -111,7 +111,7 @@ $listall = '처음'; //페이지 처음
'.$row2['bo_subject'].''.$row['cnt'].''; + $str_board_list .= '
  • '.$row2['bo_subject'].''.$row['cnt'].'
  • '; } } @@ -217,7 +217,7 @@ if ($stx) { $from_record = 0; } - $write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$search_query.'&gr_id='.$gr_id.'&srows='.$srows.'&onetable='.$onetable.'&page='); + $write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$search_query.'&gr_id='.$gr_id.'&srows='.$srows.'&onetable='.$onetable.'&page='); } $group_select = '