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

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

@ -10,7 +10,7 @@ $token = get_token();
$sql_common = " from {$g4['auth_table']} a left join {$g4['member_table']} b on (a.mb_id=b.mb_id) ";
$sql_search = " where (1) ";
if ($stx) {
if (isset($stx)) {
$sql_search .= " and ( ";
switch ($sfl) {
default :
@ -147,7 +147,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'))