관리자: 따옴표 등 작업

This commit is contained in:
whitedot
2012-12-26 21:19:19 +09:00
parent 32669ce3f3
commit f71c5ef21f
6 changed files with 38 additions and 18 deletions

View File

@ -100,21 +100,13 @@ function textarea_size(fld, size)
$href2 = '</a>';
}
$current_class = "";
<<<<<<< HEAD
if ((isset($sub_menu) && substr($sub_menu, 0, 2) == substr($menu['menu'.$key][0][0], 0, 2)) || defined('_ADMIN_INDEX_'))
=======
if (isset($sub_menu) && (substr($sub_menu, 0, 2) == substr($menu['menu'.$key][0][0], 0, 2) || defined('_ADMIN_INDEX_')))
>>>>>>> e7b5429b4b7a43150b180dc9efa62eaf13e8b6f7
$current_class = " gnb_1depth_on";
echo "<li class=\"gnb_1depth".$current_class."\">";
echo $href1 . $menu['menu'.$key][0][1] . $href2;
echo print_menu1('menu'.$key, 1);
echo "</li>";
<<<<<<< HEAD
if ($current_class || !defined('_ADMIN_INDEX_')) $current_class = ""; // 클래스 반복부여 방지
=======
if ($current_class || !_ADMIN_INDEX_) $current_class = ""; // 클래스 반복부여 방지
>>>>>>> e7b5429b4b7a43150b180dc9efa62eaf13e8b6f7
}
?>

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 (isset($stx)) {
if ($stx) {
$sql_search .= " and ( ";
switch ($sfl) {
default :

View File

@ -16,7 +16,7 @@ $sql_search = " where (1) ";
if ($is_admin != 'super')
$sql_search .= " and mb_level <= '{$member['mb_level']}' ";
if (!isset($sst)) {
if (!$sst) {
$sst = "mb_datetime";
$sod = "desc";
}

View File

@ -70,7 +70,7 @@ $row = sql_fetch($sql);
$intercept_count = $row['cnt'];
$listall = "";
if (isset($sfl) || isset(isset($stx))) // 검색일 때만 처음 버튼을 보여줌
if (isset($sfl) || isset($stx)) // 검색일 때만 처음 버튼을 보여줌
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
$g4['title'] = '회원관리';
@ -116,7 +116,7 @@ var list_delete_php = 'member_list_delete.php';
<option value="mb_recommend">추천인</option>
</select>
<label for="stx">검색어</label>
<input type="text" id="stx" name="stx" required value="<?=isset(isset($stx))?>">
<input type="text" id="stx" name="stx" required value="<?=isset($stx)?>">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -39,11 +39,7 @@ include_once($g4['path'].'/lib/popular.lib.php');
<input type="submit" value="검색">
</fieldset>
</form>
<<<<<<< HEAD
<h1><?=$config['cf_title']?></h1>
=======
<? if (!isset($bo_table)) {?><h1><?=$g4['title']?></h1><? } ?>
>>>>>>> e7b5429b4b7a43150b180dc9efa62eaf13e8b6f7
</header>
<div>

View File

@ -1,5 +1,37 @@
<?
$str = "xx";
$len = 2;
echo ord($str{$len});
?>
//echo ord($str{$len});
?>
<!doctype html>
<html lang="ko">
<head>
<title>테스트</title>
<meta charset="utf-8">
<style>
input {
border-radius:7px; /*모서리 깍이는 정도*/
border:1px solid #dedede; /*선두께, 스타일(점선), 컬러*/
background-color:#f7f7f7; /*배경 컬러*/
padding:5px;
box-shadow:0 0 10px silver;
}
input:focus {
border-radius:7px; /*모서리 깍이는 정도*/
border:1px solid #ff3061; /*선두께, 스타일(점선), 컬러*/
background-color:#f7f7f7; /*배경 컬러*/
padding:5px;
box-shadow:0 0 10px #ff3061;
outline:0;
}
</style>
</head>
<body>
<input type="text">
<input type="checkbox">
</body>
</html>