관리자: #253 에 따른 처리
This commit is contained in:
@ -123,9 +123,9 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<td>
|
||||
<?=help("PC 와 모바일 사용을 구분합니다.")?>
|
||||
<select id="bo_pc_mobile" name="bo_pc_mobile">
|
||||
<option value="both" <?=get_selected($board['bo_pc_mobile'], 'both');?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc" <?=get_selected($board['bo_pc_mobile'], 'pc');?>>PC 전용</option>
|
||||
<option value="mobile" <?=get_selected($board['bo_pc_mobile'], 'mobile');?>>모바일 전용</option>
|
||||
<option value="both"<?=get_selected($board['bo_pc_mobile'], 'both');?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc"<?=get_selected($board['bo_pc_mobile'], 'pc');?>>PC 전용</option>
|
||||
<option value="mobile"<?=get_selected($board['bo_pc_mobile'], 'mobile');?>>모바일 전용</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -332,9 +332,9 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<td>
|
||||
<?=help('"체크박스"는 글작성시 비밀글 체크가 가능합니다. "무조건"은 작성되는 모든글을 비밀글로 작성합니다. (관리자는 체크박스로 출력합니다.) 스킨에 따라 적용되지 않을 수 있습니다.')?>
|
||||
<select id="bo_use_secret" name="bo_use_secret">
|
||||
<?=option_selected(0, $board['bo_use_secret'], "사용하지 않음");?>
|
||||
<?=option_selected(1, $board['bo_use_secret'], "체크박스");?>
|
||||
<?=option_selected(2, $board['bo_use_secret'], "무조건");?>
|
||||
<?=option_selected(0, $board['bo_use_secret'], "사용하지 않음");?>
|
||||
<?=option_selected(1, $board['bo_use_secret'], "체크박스");?>
|
||||
<?=option_selected(2, $board['bo_use_secret'], "무조건");?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -703,8 +703,8 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_reply_order">답변 달기</label></th>
|
||||
<td>
|
||||
<select id="bo_reply_order" name="bo_reply_order">
|
||||
<option value="1" <?=get_selected($board['bo_reply_order'], 1, true);?>>나중에 쓴 답변 아래로 달기 (기본)
|
||||
<option value="0" <?=get_selected($board['bo_reply_order'], 0);?>>나중에 쓴 답변 위로 달기
|
||||
<option value="1"<?=get_selected($board['bo_reply_order'], 1, true);?>>나중에 쓴 답변 아래로 달기 (기본)
|
||||
<option value="0"<?=get_selected($board['bo_reply_order'], 0);?>>나중에 쓴 답변 위로 달기
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -717,25 +717,25 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<td>
|
||||
<?=help('리스트에서 기본으로 정렬에 사용할 필드를 선택합니다. "기본"으로 사용하지 않으시는 경우 속도가 느려질 수 있습니다.')?>
|
||||
<select id="bo_sort_field" name="bo_sort_field">
|
||||
<option value="" <?=get_selected($board['bo_sort_field'], "" );?>>wr_num, wr_reply : 기본</option>
|
||||
<option value="wr_datetime asc" <?=get_selected($board['bo_sort_field'], "wr_datetime asc" );?>>wr_datetime asc : 날짜 이전것 부터</option>
|
||||
<option value="wr_datetime desc" <?=get_selected($board['bo_sort_field'], "wr_datetime desc" );?>>wr_datetime desc : 날짜 최근것 부터</option>
|
||||
<option value="wr_hit asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply" );?>>wr_hit asc : 조회수 낮은것 부터</option>
|
||||
<option value="wr_hit desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply" );?>>wr_hit desc : 조회수 높은것 부터</option>
|
||||
<option value="wr_last asc" <?=get_selected($board['bo_sort_field'], "wr_last asc" );?>>wr_last asc : 최근글 이전것 부터</option>
|
||||
<option value="wr_last desc" <?=get_selected($board['bo_sort_field'], "wr_last desc" );?>>wr_last desc : 최근글 최근것 부터</option>
|
||||
<option value="wr_comment asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply" );?>>wr_comment asc : 댓글수 낮은것 부터</option>
|
||||
<option value="wr_comment desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply" );?>>wr_comment desc : 댓글수 높은것 부터</option>
|
||||
<option value="wr_good asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply" );?>>wr_good asc : 추천수 낮은것 부터</option>
|
||||
<option value="wr_good desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply" );?>>wr_good desc : 추천수 높은것 부터</option>
|
||||
<option value="wr_nogood asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply" );?>>wr_nogood asc : 비추천수 낮은것 부터</option>
|
||||
<option value="wr_nogood desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply" );?>>wr_nogood desc : 비추천수 높은것 부터</option>
|
||||
<option value="wr_subject asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply" );?>>wr_subject asc : 제목 내림차순</option>
|
||||
<option value="wr_subject desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply" );?>>wr_subject desc : 제목 오름차순</option>
|
||||
<option value="wr_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply" );?>>wr_name asc : 글쓴이 내림차순</option>
|
||||
<option value="wr_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply" );?>>wr_name desc : 글쓴이 오름차순</option>
|
||||
<option value="ca_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply" );?>>ca_name asc : 분류명 내림차순</option>
|
||||
<option value="ca_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply" );?>>ca_name desc : 분류명 오름차순</option>
|
||||
<option value="" <?=get_selected($board['bo_sort_field'], "");?>>wr_num, wr_reply : 기본</option>
|
||||
<option value="wr_datetime asc" <?=get_selected($board['bo_sort_field'], "wr_datetime asc");?>>wr_datetime asc : 날짜 이전것 부터</option>
|
||||
<option value="wr_datetime desc" <?=get_selected($board['bo_sort_field'], "wr_datetime desc");?>>wr_datetime desc : 날짜 최근것 부터</option>
|
||||
<option value="wr_hit asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply");?>>wr_hit asc : 조회수 낮은것 부터</option>
|
||||
<option value="wr_hit desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply");?>>wr_hit desc : 조회수 높은것 부터</option>
|
||||
<option value="wr_last asc" <?=get_selected($board['bo_sort_field'], "wr_last asc");?>>wr_last asc : 최근글 이전것 부터</option>
|
||||
<option value="wr_last desc" <?=get_selected($board['bo_sort_field'], "wr_last desc");?>>wr_last desc : 최근글 최근것 부터</option>
|
||||
<option value="wr_comment asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply");?>>wr_comment asc : 댓글수 낮은것 부터</option>
|
||||
<option value="wr_comment desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply");?>>wr_comment desc : 댓글수 높은것 부터</option>
|
||||
<option value="wr_good asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply");?>>wr_good asc : 추천수 낮은것 부터</option>
|
||||
<option value="wr_good desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply");?>>wr_good desc : 추천수 높은것 부터</option>
|
||||
<option value="wr_nogood asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply");?>>wr_nogood asc : 비추천수 낮은것 부터</option>
|
||||
<option value="wr_nogood desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply");?>>wr_nogood desc : 비추천수 높은것 부터</option>
|
||||
<option value="wr_subject asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply");?>>wr_subject asc : 제목 내림차순</option>
|
||||
<option value="wr_subject desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply");?>>wr_subject desc : 제목 오름차순</option>
|
||||
<option value="wr_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply");?>>wr_name asc : 글쓴이 내림차순</option>
|
||||
<option value="wr_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply");?>>wr_name desc : 글쓴이 오름차순</option>
|
||||
<option value="ca_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply");?>>ca_name asc : 분류명 내림차순</option>
|
||||
<option value="ca_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply");?>>ca_name desc : 분류명 오름차순</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
|
||||
@ -73,9 +73,9 @@ $colspan = 8;
|
||||
생성된 게시판수 <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="bo_table" <?=get_selected($_GET['sfl'], "bo_subject", true);?>>TABLE</option>
|
||||
<option value="bo_subject" <?=get_selected($_GET['sfl'], "bo_subject");?>>제목</option>
|
||||
<option value="a.gr_id" <?=get_selected($_GET['sfl'], "a.gr_id");?>>그룹ID</option>
|
||||
<option value="bo_table"<?=get_selected($_GET['sfl'], "bo_subject", true);?>>TABLE</option>
|
||||
<option value="bo_subject"<?=get_selected($_GET['sfl'], "bo_subject");?>>제목</option>
|
||||
<option value="a.gr_id"<?=get_selected($_GET['sfl'], "a.gr_id");?>>그룹ID</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -152,9 +152,9 @@ $colspan = 8;
|
||||
</td>
|
||||
<td>
|
||||
<select id="bo_pc_mobile_<?=$i?>" name="bo_pc_mobile[<?=$i?>]">
|
||||
<option value="both" <?=get_selected($row['bo_pc_mobile'], 'both', true);?>>양쪽</option>
|
||||
<option value="pc" <?=get_selected($row['bo_pc_mobile'], 'pc');?>>PC</option>
|
||||
<option value="mobile" <?=get_selected($row['bo_pc_mobile'], 'mobile');?>>모바일</option>
|
||||
<option value="both"<?=get_selected($row['bo_pc_mobile'], 'both', true);?>>양쪽</option>
|
||||
<option value="pc"<?=get_selected($row['bo_pc_mobile'], 'pc');?>>PC</option>
|
||||
<option value="mobile"<?=get_selected($row['bo_pc_mobile'], 'mobile');?>>모바일</option>
|
||||
</select>
|
||||
</td>
|
||||
<td><?=$one_update?> <?=$one_copy?></td>
|
||||
|
||||
@ -62,10 +62,10 @@ include_once('./admin.head.php');
|
||||
<td>
|
||||
<?=help("게시판그룹의 사용여부 설정이 게시판의 사용여부 설정보다 우선합니다.")?>
|
||||
<select id="gr_use_" name="gr_use">
|
||||
<option value="both" <?=get_selected($group['gr_use'], 'both', true);?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc" <?=get_selected($group['gr_use'], 'pc');?>>PC 전용</option>
|
||||
<option value="mobile" <?=get_selected($group['gr_use'], 'mobile');?>>모바일 전용</option>
|
||||
<option value="none" <?=get_selected($group['gr_use'], 'none');?>>사용하지 않음</option>
|
||||
<option value="both"<?=get_selected($group['gr_use'], 'both', true);?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc"<?=get_selected($group['gr_use'], 'pc');?>>PC 전용</option>
|
||||
<option value="mobile"<?=get_selected($group['gr_use'], 'mobile');?>>모바일 전용</option>
|
||||
<option value="none"<?=get_selected($group['gr_use'], 'none');?>>사용하지 않음</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -72,9 +72,9 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
생성된 그룹수 <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="gr_subject" <?=get_selected("gr_subject", $_GET['sfl']);?>>제목</option>
|
||||
<option value="gr_id" <?=get_selected("gr_id", $_GET['sfl']);?>>ID</option>
|
||||
<option value="gr_admin" <?=get_selected("gr_admin", $_GET['sfl']);?>>그룹관리자</option>
|
||||
<option value="gr_subject"<?=get_selected($_GET['sfl'], "gr_subject", );?>>제목</option>
|
||||
<option value="gr_id"<?=get_selected($_GET['sfl'], "gr_id");?>>ID</option>
|
||||
<option value="gr_admin"<?=get_selected($_GET['sfl'], "gr_admin");?>>그룹관리자</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -155,10 +155,10 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<td><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
|
||||
<td>
|
||||
<select id="gr_use_<?=$i?>" name="gr_use[<?=$i?>]">
|
||||
<option value="both" <?=get_selected($row['gr_use'], 'both', true);?>>양쪽</option>
|
||||
<option value="pc" <?=get_selected($row['gr_use'], 'pc');?>>PC</option>
|
||||
<option value="mobile" <?=get_selected($row['gr_use'], 'mobile');?>>모바일</option>
|
||||
<option value="none" <?=get_selected($row['gr_use'], 'none');?>>미사용</option>
|
||||
<option value="both"<?=get_selected($row['gr_use'], 'both', true);?>>양쪽</option>
|
||||
<option value="pc"<?=get_selected($row['gr_use'], 'pc');?>>PC</option>
|
||||
<option value="mobile"<?=get_selected($row['gr_use'], 'mobile');?>>모바일</option>
|
||||
<option value="none"<?=get_selected($row['gr_use'], 'none');?>>미사용</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="td_mng"><?=$s_upd?></td>
|
||||
|
||||
@ -69,20 +69,20 @@ $colspan = 4;
|
||||
<legend><?=$mb['mb_id']?>님 접근가능그룹 추가</legend>
|
||||
<label for="gr_id">그룹지정</label>
|
||||
<select id="gr_id" name="gr_id">
|
||||
<option value="">접근가능 그룹을 선택하세요.</option>
|
||||
<?
|
||||
$sql = " select *
|
||||
from {$g4['group_table']}
|
||||
where gr_use_access = 1 ";
|
||||
//if ($is_admin == 'group') {
|
||||
if ($is_admin != 'super')
|
||||
$sql .= " and gr_admin = '{$member['mb_id']}' ";
|
||||
$sql .= " order by gr_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo '<option value="'.$row['gr_id'].'">'.$row['gr_subject'].'</option>';
|
||||
}
|
||||
?>
|
||||
<option value="">접근가능 그룹을 선택하세요.</option>
|
||||
<?
|
||||
$sql = " select *
|
||||
from {$g4['group_table']}
|
||||
where gr_use_access = 1 ";
|
||||
//if ($is_admin == 'group') {
|
||||
if ($is_admin != 'super')
|
||||
$sql .= " and gr_admin = '{$member['mb_id']}' ";
|
||||
$sql .= " order by gr_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<option value=\"".$row['gr_id']."\">".$row['gr_subject']."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="submit" class="btn_submit" value="선택" accesskey="s">
|
||||
<p>게시판 그룹이 존재하지 않는다면 <a href="./boardgroup_form.php">게시판그룹생성하기</a></p>
|
||||
|
||||
@ -61,7 +61,7 @@ $colspan = 7;
|
||||
<legend><?=$gr['gr_subject']?>(아이디 <?=$gr['gr_id']?>)에서 검색</legend>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='a.mb_id'>회원아이디</option>
|
||||
<option value="a.mb_id"<?=get_selected($_GET['sfl'], "a.mb_id")?>>회원아이디</option>
|
||||
</select>
|
||||
<input type="text" id="stx" name="stx" class="required frm_input" required value="<? echo $stx ?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -124,11 +124,6 @@ $colspan = 7;
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&gr_id=$gr_id&page=");?>
|
||||
|
||||
<?
|
||||
if (isset($stx))
|
||||
echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>';
|
||||
?>
|
||||
|
||||
<script>
|
||||
// POST 방식으로 삭제
|
||||
function post_delete(action_url, val)
|
||||
|
||||
@ -118,14 +118,15 @@ $pg_anchor = "
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_new_skin">최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
|
||||
<td><select id="cf_new_skin" name="cf_new_skin" class="required" required>
|
||||
<td>
|
||||
<select id="cf_new_skin" name="cf_new_skin" class="required" required>
|
||||
<?
|
||||
$arr = get_skin_dir('new');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_new_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
}
|
||||
?></select>
|
||||
<script> document.getElementById('cf_new_skin').value="<?=$config['cf_new_skin']?>";</script>
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><label for="cf_new_rows">최근게시물 라인수</label></th>
|
||||
<td>
|
||||
@ -135,26 +136,28 @@ $pg_anchor = "
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_search_skin">검색 스킨<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required" required>
|
||||
<td colspan="3">
|
||||
<select id="cf_search_skin" name="cf_search_skin" class="required" required>
|
||||
<?
|
||||
$arr = get_skin_dir("search");
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_search_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
}
|
||||
?></select>
|
||||
<script> document.getElementById('cf_search_skin').value="<?=$config['cf_search_skin']?>";</script>
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_connect_skin">접속자 스킨<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" required>
|
||||
<td colspan="3">
|
||||
<select id="cf_connect_skin" name="cf_connect_skin" class="required" required>
|
||||
<?
|
||||
$arr = get_skin_dir('connect');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_connect_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
}
|
||||
?></select>
|
||||
<script> document.getElementById('cf_connect_skin').value="<?=$config['cf_connect_skin']?>";</script>
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -210,10 +213,10 @@ $pg_anchor = "
|
||||
<td>
|
||||
<?=help('글내용중 자동 링크되는 타켓을 지정합니다.')?>
|
||||
<select id="cf_link_target">
|
||||
<option value="_blank"<? if ($config['cf_link_target'] == '_blank') echo "selected";?>>_blank</option>
|
||||
<option value="_self"<? if ($config['cf_link_target'] == '_self') echo "selected";?>>_self</option>
|
||||
<option value="_top"<? if ($config['cf_link_target'] == '_top') echo "selected";?>>_top</option>
|
||||
<option value="_new"<? if ($config['cf_link_target'] == '_new') echo "selected";?>>_new</option>
|
||||
<option value="_blank"<?=get_selected($config['cf_link_target'], $arr[$i])?>>_blank</option>
|
||||
<option value="_self"<?=get_selected($config['cf_link_target'], $arr[$i])?>>_self</option>
|
||||
<option value="_top"<?=get_selected($config['cf_link_target'], $arr[$i])?>>_top</option>
|
||||
<option value="_new"<?=get_selected($config['cf_link_target'], $arr[$i])?>>_new</option>
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><label for="cf_search_part">검색 단위</label></th>
|
||||
@ -277,11 +280,10 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('member');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_member_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<script> document.getElementById('cf_member_skin').value="<?=$config['cf_member_skin']?>";</script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -335,11 +337,10 @@ $pg_anchor = "
|
||||
<td>
|
||||
<?=help('게시물에 게시자 별명 대신 아이콘 사용')?>
|
||||
<select id="cf_use_member_icon" name="cf_use_member_icon">
|
||||
<option value="0">미사용
|
||||
<option value="1">아이콘만 표시
|
||||
<option value="2">아이콘+이름 표시
|
||||
<option value="0"<?=get_selected($config['cf_use_member_icon'], $arr[$i])?>>미사용
|
||||
<option value="1"<?=get_selected($config['cf_use_member_icon'], $arr[$i])?>>아이콘만 표시
|
||||
<option value="2"<?=get_selected($config['cf_use_member_icon'], $arr[$i])?>>아이콘+이름 표시
|
||||
</select>
|
||||
<script> document.getElementById('cf_use_member_icon').value="<?=$config['cf_use_member_icon']?>";</script>
|
||||
</td>
|
||||
<th scope="row"><label for="cf_icon_level">아이콘 업로드 권한</label></th>
|
||||
<td><?=get_member_level_select('cf_icon_level', 1, 9, $config['cf_icon_level']) ?> 이상</td>
|
||||
|
||||
@ -73,7 +73,6 @@ include_once('./admin.head.php');
|
||||
<option value="1">수신동의한 회원만
|
||||
<option value="">전체
|
||||
</select>
|
||||
<script> document.getElementById('mb_mailling').value = '<?=$mb_mailling?>'; </script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -81,16 +80,14 @@ include_once('./admin.head.php');
|
||||
<td>
|
||||
<select id="mb_level_from" name="mb_level_from" title="최소권한">
|
||||
<? for ($i=1; $i<=10; $i++) { ?>
|
||||
<option value='<? echo $i ?>'><? echo $i ?></option>
|
||||
<option value="<? echo $i ?>"><? echo $i ?></option>
|
||||
<? } ?>
|
||||
</select> 에서
|
||||
<select id="mb_level_to" name="mb_level_to" title="최대권한">
|
||||
<? for ($i=1; $i<=10; $i++) { ?>
|
||||
<option value='<? echo $i ?>'><? echo $i ?></option>
|
||||
<option value="<? echo $i ?>"><? echo $i ?></option>
|
||||
<? } ?>
|
||||
</select> 까지
|
||||
<script> document.getElementById('mb_level_from').value = '<?=$mb_level_from?>'; </script>
|
||||
<script> document.getElementById('mb_level_to').value = '<?=$mb_level_to?>'; </script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -107,7 +104,6 @@ include_once('./admin.head.php');
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<script> document.getElementById('gr_id').value = '<?=$gr_id?>'; </script>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -79,17 +79,17 @@ $colspan = 15;
|
||||
<a href="?sst=mb_leave_date&sod=desc&sfl=<?=$sfl?>&stx=<?=$stx?>">탈퇴 <?=number_format($leave_count)?></a>명
|
||||
</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="mb_id" <?=get_selected("mb_id", $_GET['sfl']);?>>회원아이디</option>
|
||||
<option value="mb_nick" <?=get_selected("mb_nick", $_GET['sfl']);?>>별명</option>
|
||||
<option value="mb_name" <?=get_selected("mb_name", $_GET['sfl']);?>>이름</option>
|
||||
<option value="mb_level" <?=get_selected("mb_level", $_GET['sfl']);?>>권한</option>
|
||||
<option value="mb_email" <?=get_selected("mb_email", $_GET['sfl']);?>>E-MAIL</option>
|
||||
<option value="mb_tel" <?=get_selected("mb_tel", $_GET['sfl']);?>>전화번호</option>
|
||||
<option value="mb_hp" <?=get_selected("mb_hp", $_GET['sfl']);?>>핸드폰번호</option>
|
||||
<option value="mb_point" <?=get_selected("mb_point", $_GET['sfl']);?>>포인트</option>
|
||||
<option value="mb_datetime" <?=get_selected("mb_datetime", $_GET['sfl']);?>>가입일시</option>
|
||||
<option value="mb_ip" <?=get_selected("mb_ip", $_GET['sfl']);?>>IP</option>
|
||||
<option value="mb_recommend" <?=get_selected("mb_recommend", $_GET['sfl']);?>>추천인</option>
|
||||
<option value="mb_id"<?=get_selected($_GET['sfl'], "mb_id");?>>회원아이디</option>
|
||||
<option value="mb_nick"<?=get_selected($_GET['sfl'], "mb_nick");?>>별명</option>
|
||||
<option value="mb_name"<?=get_selected($_GET['sfl'], "mb_name");?>>이름</option>
|
||||
<option value="mb_level"<?=get_selected($_GET['sfl'], "mb_level");?>>권한</option>
|
||||
<option value="mb_email"<?=get_selected($_GET['sfl'], "mb_email");?>>E-MAIL</option>
|
||||
<option value="mb_tel"<?=get_selected($_GET['sfl'], "mb_tel");?>>전화번호</option>
|
||||
<option value="mb_hp"<?=get_selected($_GET['sfl'], "mb_hp");?>>핸드폰번호</option>
|
||||
<option value="mb_point"<?=get_selected($_GET['sfl'], "mb_point");?>>포인트</option>
|
||||
<option value="mb_datetime"<?=get_selected($_GET['sfl'], "mb_datetime");?>>가입일시</option>
|
||||
<option value="mb_ip"<?=get_selected($_GET['sfl'], "mb_ip");?>>IP</option>
|
||||
<option value="mb_recommend"<?=get_selected($_GET['sfl'], "mb_recommend");?>>추천인</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
|
||||
@ -93,8 +93,8 @@ function point_clear()
|
||||
<? if ($is_admin == 'super') { ?><!-- <a href="javascript:point_clear();">포인트정리</a> --><? } ?>
|
||||
</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="mb_id">회원아이디</option>
|
||||
<option value="po_content">내용</option>
|
||||
<option value="mb_id"<?=get_selected($_GET['sfl'], "mb_id");?>>회원아이디</option>
|
||||
<option value="po_content"<?=get_selected($_GET['sfl'], "po_content");?>>내용</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -170,15 +170,6 @@ function point_clear()
|
||||
<button onclick="btn_check(this.form, 'delete')">선택삭제</button>
|
||||
</div>
|
||||
|
||||
<?
|
||||
if (isset($stx))
|
||||
echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>'.PHP_EOL;
|
||||
|
||||
if (strstr($sfl, 'mb_id'))
|
||||
$mb_id = $stx;
|
||||
else
|
||||
$mb_id = '';
|
||||
?>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ $colspan = 6;
|
||||
투표수 : <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<select id="sfl" name="sfl" title="검색대상">
|
||||
<option value='po_subject'>제목</option>
|
||||
<option value="po_subject"<?=get_selected($_GET['sfl'], "po_subject");?>>제목</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -135,11 +135,6 @@ $colspan = 6;
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<?
|
||||
if (isset($stx))
|
||||
echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>'.PHP_EOL;
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#fpolllist').submit(function() {
|
||||
|
||||
@ -79,8 +79,8 @@ var list_delete_php = 'popular_list.php';
|
||||
건수 : <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="pp_word">검색어</option>
|
||||
<option value="pp_date">등록일</option>
|
||||
<option value="pp_word"<?=get_selected($_GET['sfl'], "pp_word");?>>검색어</option>
|
||||
<option value="pp_date"<?=get_selected($_GET['sfl'], "pp_date");?>>등록일</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
@ -143,11 +143,6 @@ var list_delete_php = 'popular_list.php';
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<?
|
||||
if (isset($stx))
|
||||
echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>';
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#fpopularlist').submit(function() {
|
||||
|
||||
@ -121,7 +121,7 @@ fieldset .btn_submit:focus {height:21px;background:#555;line-height:1.7em}
|
||||
label {vertical-align:middle}
|
||||
textarea, .frm_input {padding:2px;border:1px solid #ced9de;background:#f6f9fa;vertical-align:middle}
|
||||
textarea:focus,
|
||||
.frm_input:focus {background:#434f54;color:#fff}
|
||||
.frm_input:focus {border-color:#000;background:#434f54;color:#fff}
|
||||
textarea {width:90%}
|
||||
select {border:1px solid #ced9de}
|
||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||
@ -258,7 +258,6 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
|
||||
#admin_confirm p {margin:0 0 10px;color:#9ab9c5;background:#383a3f}
|
||||
#admin_confirm label {color:#fff}
|
||||
#admin_confirm .frm_input {border-color:#000}
|
||||
#admin_confirm .frm_input:focus {border-color:#000}
|
||||
|
||||
/* pagination */
|
||||
.pg_wrap {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
|
||||
|
||||
Reference in New Issue
Block a user