관리자: 변수 상수 제외 홑따옴표 변수를 상수로

This commit is contained in:
whitedot
2012-12-26 15:02:56 +09:00
parent b023c3414d
commit b96dd3b27f
10 changed files with 27 additions and 27 deletions

View File

@ -9,7 +9,7 @@ $token = get_token();
$sql_common = " from {$g4['point_table']} ";
$sql_search = " where (1) ";
if ($stx) {
if (isset($stx)) {
$sql_search .= " and ( ";
switch ($sfl) {
case 'mb_id' :
@ -51,7 +51,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
if ($sfl == 'mb_id' && $stx)
$mb = get_member($stx);
$mb = get_member(isset($stx));
$g4['title'] = '포인트관리';
include_once ('./admin.head.php');
@ -181,7 +181,7 @@ $pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "$_SERVER[
</div>
<?
if ($stx)
if (isset($stx))
echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>'.PHP_EOL;
if (strstr($sfl, 'mb_id'))