관리자: #253 에 따른 처리
This commit is contained in:
@ -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="검색">
|
||||
|
||||
@ -80,7 +80,7 @@ $colspan = 4;
|
||||
$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>';
|
||||
echo "<option value=\"".$row['gr_id']."\">".$row['gr_subject']."</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
@ -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