Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -97,7 +97,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_table">TABLE<?=$sound_only?></label></th>
|
||||
<td colspan="2">
|
||||
<input type="text" id="bo_table" name="bo_table" maxlength="20" <?=$bo_table_attr?> value="<?=$board['bo_table'] ?>" required>
|
||||
<input type="text" id="bo_table" name="bo_table" class="frm_input" maxlength="20" <?=$bo_table_attr?> value="<?=$board['bo_table'] ?>" required>
|
||||
<?
|
||||
if ($w == '')
|
||||
echo '영문자, 숫자, _ 만 가능 (공백없이 20자 이내)';
|
||||
@ -115,7 +115,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="2">
|
||||
<input type="text" id="bo_subject" name="bo_subject" maxlength="120" class="required" required value="<?=get_text($board['bo_subject'])?>" size="80">
|
||||
<input type="text" id="bo_subject" name="bo_subject" maxlength="120" class="required frm_input" required value="<?=get_text($board['bo_subject'])?>" size="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -138,7 +138,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_category_list">분류</label></th>
|
||||
<td>
|
||||
<?=help('분류와 분류 사이는 | 로 구분하세요. (예: 질문|답변) 첫자로 #은 입력하지 마세요. (예: #질문|#답변 [X])')?>
|
||||
<input type="text" id="bo_category_list" name="bo_category_list" value="<?=get_text($board['bo_category_list'])?>" size="70">
|
||||
<input type="text" id="bo_category_list" name="bo_category_list" class="frm_input" value="<?=get_text($board['bo_category_list'])?>" size="70">
|
||||
<input type="checkbox" id="bo_use_category" name="bo_use_category" value="1" <?=$board['bo_use_category']?'checked':'';?>>
|
||||
<label for="bo_use_category">사용</label>
|
||||
</td>
|
||||
@ -151,7 +151,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<? if ($w == 'u') { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="proc_count">카운트 조정</label></th>
|
||||
<td>
|
||||
<td colspan="2">
|
||||
<?=help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment']).PHP_EOL.'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.')?>
|
||||
<input type="checkbox" id="proc_count" name="proc_count" value="1">
|
||||
</td>
|
||||
@ -175,7 +175,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_admin">게시판 관리자</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_admin" name="bo_admin" maxlength="20" value="<?=$board['bo_admin']?>">
|
||||
<input type="text" id="bo_admin" name="bo_admin" class="frm_input" maxlength="20" value="<?=$board['bo_admin']?>">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_admin" name="chk_admin" value="1">
|
||||
@ -291,7 +291,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_modify">원글 수정 불가<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
댓글 <input type="text" id="bo_count_modify" name="bo_count_modify" class="required numeric" required value="<?=$board['bo_count_modify']?>" size="3">개 이상 달리면 수정불가
|
||||
댓글 <input type="text" id="bo_count_modify" name="bo_count_modify" class="required numeric frm_input" required value="<?=$board['bo_count_modify']?>" size="3">개 이상 달리면 수정불가
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_count_modify" name="chk_count_modify" value="1">
|
||||
@ -301,7 +301,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_delete">원글 삭제 불가<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
댓글 <input type="text" id="bo_count_delete" name="bo_count_delete" class="required numeric" required value="<?=$board['bo_count_delete']?>" size="3">개 이상 달리면 삭제불가
|
||||
댓글 <input type="text" id="bo_count_delete" name="bo_count_delete" class="required numeric frm_input" required value="<?=$board['bo_count_delete']?>" size="3">개 이상 달리면 삭제불가
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_count_delete" name="chk_count_delete" value="1">
|
||||
@ -459,7 +459,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_upload_count">파일 업로드 갯수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 이면 제한 없음)')?>
|
||||
<input type="text" id="bo_upload_count" name="bo_upload_count" class="required numeric" required value="<?=$board['bo_upload_count']?>" size="3">
|
||||
<input type="text" id="bo_upload_count" name="bo_upload_count" class="required numeric frm_input" required value="<?=$board['bo_upload_count']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_upload_count" name="chk_upload_count" value="1">
|
||||
@ -476,7 +476,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_upload_size">파일 업로드 용량<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,024,768 bytes')?>
|
||||
업로드 파일 한개당 <input type="text" id="bo_upload_size" name="bo_upload_size" class="required numeric" required value="<?=$board['bo_upload_size']?>" size="10"> bytes 이하
|
||||
업로드 파일 한개당 <input type="text" id="bo_upload_size" name="bo_upload_size" class="required numeric frm_input" required value="<?=$board['bo_upload_size']?>" size="10"> bytes 이하
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_upload_size" name="chk_upload_size" value="1">
|
||||
@ -487,7 +487,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_write_min">최소 글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" id="bo_write_min" name="bo_write_min" class="numeric" value="<?=$board['bo_write_min']?>" size="4">
|
||||
<input type="text" id="bo_write_min" name="bo_write_min" class="numeric frm_input" value="<?=$board['bo_write_min']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_write_min" name="chk_write_min" value="1">
|
||||
@ -498,7 +498,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_write_max">최대 글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" id="bo_write_max" name="bo_write_max" class="numeric" value="<?=$board['bo_write_max']?>" size="4">
|
||||
<input type="text" id="bo_write_max" name="bo_write_max" class="numeric frm_input" value="<?=$board['bo_write_max']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_write_max" name="chk_write_max" value="1">
|
||||
@ -509,7 +509,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_comment_min">최소 댓글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" id="bo_comment_min" name="bo_comment_min" class="numeric" value="<?=$board['bo_comment_min']?>" size="3">
|
||||
<input type="text" id="bo_comment_min" name="bo_comment_min" class="numeric frm_input" value="<?=$board['bo_comment_min']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_comment_min" name="chk_comment_min" value="1">
|
||||
@ -520,7 +520,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_comment_max">최대 댓글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" id="bo_comment_max" name="bo_comment_max" class="numeric" value="<?=$board['bo_comment_max']?>" size="3">
|
||||
<input type="text" id="bo_comment_max" name="bo_comment_max" class="numeric frm_input" value="<?=$board['bo_comment_max']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_comment_max" name="chk_comment_max" value="1">
|
||||
@ -542,7 +542,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_order_search">전체 검색 순서</label></th>
|
||||
<td>
|
||||
<?=help('숫자가 낮은 게시판 부터 검색')?>
|
||||
<input type="text" id="bo_order_search" name="bo_order_search" value="<?=$board['bo_order_search']?>" size="3">
|
||||
<input type="text" id="bo_order_search" name="bo_order_search" class="frm_input" value="<?=$board['bo_order_search']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_order_search" name="chk_order_search" value="1">
|
||||
@ -577,7 +577,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_include_head">상단 파일 경로</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_include_head" name="bo_include_head" value="<?=$board['bo_include_head']?>" size="50">
|
||||
<input type="text" id="bo_include_head" name="bo_include_head" class="frm_input" value="<?=$board['bo_include_head']?>" size="50">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_include_head" name="chk_include_head" value="1">
|
||||
@ -587,7 +587,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_include_tail">하단 파일 경로</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_include_tail" name="bo_include_tail" value="<?=$board['bo_include_tail']?>" size="50">
|
||||
<input type="text" id="bo_include_tail" name="bo_include_tail" class="frm_input" value="<?=$board['bo_include_tail']?>" size="50">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_include_tail" name="chk_include_tail" value="1">
|
||||
@ -628,7 +628,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_subject_len">제목 길이<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
|
||||
<input type="text" id="bo_subject_len" name="bo_subject_len" class="required numeric" required value="<?=$board['bo_subject_len']?>" size="3">
|
||||
<input type="text" id="bo_subject_len" name="bo_subject_len" class="required numeric frm_input" required value="<?=$board['bo_subject_len']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_subject_len" name="chk_subject_len" value="1">
|
||||
@ -638,7 +638,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_page_rows">페이지당 목록 수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_page_rows" name="bo_page_rows" class="required numeric" required value="<?=$board['bo_page_rows']?>" size="3">
|
||||
<input type="text" id="bo_page_rows" name="bo_page_rows" class="required numeric frm_input" required value="<?=$board['bo_page_rows']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_page_rows" name="chk_page_rows" value="1">
|
||||
@ -649,7 +649,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_gallery_cols">가로 이미지수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여줄것인지를 설정하는 값')?>
|
||||
<input type="text" id="bo_gallery_cols" name="bo_gallery_cols" class="required numeric" required value="<?=$board['bo_gallery_cols']?>" size="3">
|
||||
<input type="text" id="bo_gallery_cols" name="bo_gallery_cols" class="required numeric frm_input" required value="<?=$board['bo_gallery_cols']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_gallery_cols" name="chk_gallery_cols" value="1">
|
||||
@ -660,7 +660,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_table_width">게시판 테이블 폭<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('100 이하는 %')?>
|
||||
<input type="text" id="bo_table_width" name="bo_table_width" class="required numeric" required value="<?=$board['bo_table_width']?>" size="3">
|
||||
<input type="text" id="bo_table_width" name="bo_table_width" class="required numeric frm_input" required value="<?=$board['bo_table_width']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_table_width" name="chk_table_width" value="1">
|
||||
@ -671,7 +671,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_image_width">이미지 폭 크기<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('게시판에서 출력되는 이미지의 폭 크기')?>
|
||||
<input type="text" id="bo_image_width" name="bo_image_width" class="required numeric" required value="<?=$board['bo_image_width']?>" size="3"> 픽셀
|
||||
<input type="text" id="bo_image_width" name="bo_image_width" class="required numeric frm_input" required value="<?=$board['bo_image_width']?>" size="4"> 픽셀
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_image_width" name="chk_image_width" value="1">
|
||||
@ -682,7 +682,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_new">새글 아이콘<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('글 입력후 new 이미지를 출력하는 시간')?>
|
||||
<input type="text" id="bo_new" name="bo_new" class="required numeric" required value="<?=$board['bo_new']?>" size="3">
|
||||
<input type="text" id="bo_new" name="bo_new" class="required numeric frm_input" required value="<?=$board['bo_new']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_new" name="chk_new" value="1">
|
||||
@ -693,7 +693,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row"><label for="bo_hot">인기글 아이콘<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('조회수가 설정값 이상이면 hot 이미지 출력')?>
|
||||
<input type="text" id="bo_hot" name="bo_hot" class="required numeric" required value="<?=$board['bo_hot']?>" size="5">
|
||||
<input type="text" id="bo_hot" name="bo_hot" class="required numeric frm_input" required value="<?=$board['bo_hot']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_hot" name="chk_hot" value="1">
|
||||
@ -768,7 +768,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_read_point" name="bo_read_point" class="required" required value="<?=$board['bo_read_point']?>" size="5">
|
||||
<input type="text" id="bo_read_point" name="bo_read_point" class="required frm_input" required value="<?=$board['bo_read_point']?>" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_read_point" name="chk_read_point" value="1">
|
||||
@ -778,7 +778,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_point">글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_write_point" name="bo_write_point" class="required" required value="<?=$board['bo_write_point']?>" size="5">
|
||||
<input type="text" id="bo_write_point" name="bo_write_point" class="required frm_input" required value="<?=$board['bo_write_point']?>" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_write_point" name="chk_write_point" value="1">
|
||||
@ -788,7 +788,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_point">댓글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_comment_point" name="bo_comment_point" class="required" required value="<?=$board['bo_comment_point']?>" size="5">
|
||||
<input type="text" id="bo_comment_point" name="bo_comment_point" class="required frm_input" required value="<?=$board['bo_comment_point']?>" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_comment_point" name="chk_comment_point" value="1">
|
||||
@ -798,7 +798,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_download_point">다운로드 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_download_point" name="bo_download_point" class="required" required value="<?=$board['bo_download_point']?>" size="5">
|
||||
<input type="text" id="bo_download_point" name="bo_download_point" class="required frm_input" required value="<?=$board['bo_download_point']?>" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_download_point" name="chk_download_point" value="1">
|
||||
@ -825,9 +825,9 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<th scope="row">여분필드<?=$i?></th>
|
||||
<td>
|
||||
<label for="bo_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
|
||||
<input type="text" id="bo_<?=$i?>_subj" name="bo_<?=$i?>_subj" value="<?=get_text($board['bo_'.$i.'_subj'])?>">
|
||||
<input type="text" id="bo_<?=$i?>_subj" name="bo_<?=$i?>_subj" class="frm_input" value="<?=get_text($board['bo_'.$i.'_subj'])?>">
|
||||
<label for="bo_<?=$i?>">여분필드 <?=$i?> 내용</label>
|
||||
<input type="text" id="bo_<?=$i?>" name="bo_<?=$i?>" value="<?=get_text($board['bo_'.$i])?>">
|
||||
<input type="text" id="bo_<?=$i?>" name="bo_<?=$i?>" class="frm_input" value="<?=get_text($board['bo_'.$i])?>">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk_<?=$i?>" value="1">
|
||||
@ -843,7 +843,7 @@ $pg_anchor = "<ul class=\"frm_list\">
|
||||
<legend>XSS 혹은 CSRF 방지</legend>
|
||||
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
|
||||
<label for="admin_password">관리자 패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="admin_password" name="admin_password" class="required" required>
|
||||
<input type="password" id="admin_password" name="admin_password" class="required frm_input" required>
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -77,13 +77,12 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<?=$listall?>
|
||||
생성된 게시판수 <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<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>
|
||||
</select>
|
||||
<input type="text" name="stx" class="required" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -148,13 +147,13 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<td>
|
||||
<?=get_skin_select("board", "bo_skin_$i", "bo_skin[$i]", $row['bo_skin']);?>
|
||||
</td>
|
||||
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" class="required" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="10" required="required"></td>
|
||||
<td><input type="text" name="bo_read_point[<?=$i?>]" value="<?=$row['bo_read_point']?>" size="1" title="읽기포인트"></td>
|
||||
<td><input type="text" name="bo_write_point[<?=$i?>]" value="<?=$row['bo_write_point']?>" size="1" title="쓰기포인트"></td>
|
||||
<td><input type="text" name="bo_comment_point[<?=$i?>]" value="<?=$row['bo_comment_point']?>" size="1" title="댓글포인트"></td>
|
||||
<td><input type="text" name="bo_download_point[<?=$i?>]" value="<?=$row['bo_download_point']?>" size="1" title="다운포인트"></td>
|
||||
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" class="required frm_input" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="10" required="required"></td>
|
||||
<td><input type="text" name="bo_read_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_read_point']?>" size="2" title="읽기포인트"></td>
|
||||
<td><input type="text" name="bo_write_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_write_point']?>" size="2" title="쓰기포인트"></td>
|
||||
<td><input type="text" name="bo_comment_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_comment_point']?>" size="2" title="댓글포인트"></td>
|
||||
<td><input type="text" name="bo_download_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_download_point']?>" size="2" title="다운포인트"></td>
|
||||
<td><input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1" title="검색사용"></td>
|
||||
<td><input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row['bo_order_search']?>" size="1" title="검색순서"></td>
|
||||
<td><input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" class="frm_input" value="<?=$row['bo_order_search']?>" size="2" title="검색순서"></td>
|
||||
</td>
|
||||
<td>
|
||||
<select id="bo_use_<?=$i?>" name="bo_use[<?=$i?>]">
|
||||
|
||||
@ -45,12 +45,12 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_id">그룹 ID<?=$sound_only?></label></th>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" class="<?=$gr_id_attr?> alnum_" value="<?=$group['gr_id']?>"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" class="<?=$gr_id_attr?> alnum_ frm_input" value="<?=$group['gr_id']?>"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_subject">그룹 제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="gr_subject" name="gr_subject" class="required" required value="<?=get_text($group['gr_subject'])?>" size="80">
|
||||
<input type="text" id="gr_subject" name="gr_subject" class="required frm_input" required value="<?=get_text($group['gr_subject'])?>" size="80">
|
||||
<?
|
||||
if ($w == 'u')
|
||||
echo '<input type="button" value="게시판생성" onclick="location.href=\'./board_form.php?gr_id='.$gr_id.'\';">';
|
||||
@ -74,7 +74,7 @@ include_once('./admin.head.php');
|
||||
<td>
|
||||
<?
|
||||
if ($is_admin == 'super')
|
||||
echo '<input type="text" id="gr_admin" name="gr_admin" value="'.$gr['gr_admin'].'" maxlength="20">';
|
||||
echo '<input type="text" id="gr_admin" name="gr_admin" class="frm_input" value="'.$gr['gr_admin'].'" maxlength="20">';
|
||||
else
|
||||
echo '<input type="hidden" id="gr_admin" name="gr_admin" value="'.$gr['gr_admin'].'">'.$gr['gr_admin'];
|
||||
?>
|
||||
@ -104,9 +104,9 @@ include_once('./admin.head.php');
|
||||
<th scope="row">회원여분필드<?=$i?></th>
|
||||
<td class="td_gr_extra">
|
||||
<label for="gr_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
|
||||
<input type="text" id="gr_<?=$i?>_subj" name="gr_<?=$i?>_subj" value="<?=get_text($group['gr_'.$i.'_subj'])?>">
|
||||
<input type="text" id="gr_<?=$i?>_subj" name="gr_<?=$i?>_subj" class="frm_input" value="<?=get_text($group['gr_'.$i.'_subj'])?>">
|
||||
<label for="gr_<?=$i?>">여분필드 <?=$i?> 내용</label>
|
||||
<input type="text" id="gr_<?=$i?>" name="gr_<?=$i?>" value="<?=$gr['gr_'.$i]?>">
|
||||
<input type="text" id="gr_<?=$i?>" name="gr_<?=$i?>" class="frm_input" value="<?=$gr['gr_'.$i]?>">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -71,13 +71,12 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<?=$listall?>
|
||||
생성된 그룹수 <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="gr_subject">제목</option>
|
||||
<option value="gr_id">ID</option>
|
||||
<option value="gr_admin">그룹관리자</option>
|
||||
</select>
|
||||
<input type="text" id="stx" name="stx" class="required" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -101,13 +100,14 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<table class="tbl_gr_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 그룹 전체선택" onclick="check_all(this.form)"></th>
|
||||
<th scope="col"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
|
||||
<th scope="col"><?=subject_sort_link('gr_subject')?>제목</a></th>
|
||||
<th scope="col"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th>
|
||||
<?if ($is_admin == 'super'){?><th scope="col"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th><?}?>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">접근사용</th>
|
||||
<th scope="col">접근회원수</th>
|
||||
@ -128,10 +128,10 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
$row2 = sql_fetch($sql2);
|
||||
|
||||
$s_upd = '<a href="./boardgroup_form.php?$qstr&w=u&gr_id='.$row['gr_id'].'">수정</a>';
|
||||
$s_del = '';
|
||||
/*$s_del = '';
|
||||
if ($is_admin == 'super') {
|
||||
$s_del = '<a href="javascript:post_delete(\'boardgroup_delete.php\', \''.$row['gr_id'].'\');">삭제</a>';
|
||||
}
|
||||
}*/
|
||||
?>
|
||||
|
||||
<tr>
|
||||
@ -141,11 +141,11 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
</td>
|
||||
<td><a href="<?=$g4['bbs_path']?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
|
||||
<td>
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" class="frm_input" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
</td>
|
||||
<td>
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" class="frm_input" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
|
||||
<?}else{?>
|
||||
<input type="hidden" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>"><td><?=$row['gr_admin']?>
|
||||
<?}?>
|
||||
@ -161,7 +161,7 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<option value="none" <?=get_selected($row['gr_use'], 'none');?>>미사용</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="td_mng"><?=$s_upd?> <?=$s_del?></td>
|
||||
<td class="td_mng"><?=$s_upd?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
@ -172,6 +172,8 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
</table>
|
||||
|
||||
<div class="btn_list">
|
||||
<button>선택수정</button>
|
||||
<button>선택삭제</button>
|
||||
<button onclick="btn_check(this.form, 'update')">선택수정</button>
|
||||
<!-- <button onclick="btn_check(this.form, 'delete')">선택삭제</button> -->
|
||||
<a href="./boardgroup_form.php">게시판그룹 추가</a>
|
||||
|
||||
@ -36,6 +36,7 @@ $colspan = 6;
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 목록 전체선택" onclick="check_all(this.form)"></th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성일시</th>
|
||||
@ -48,19 +49,23 @@ $colspan = 6;
|
||||
<?
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$s_mod = '<a href="./mail_form.php?w=u&ma_id='.$row['ma_id'].'">수정</a>';
|
||||
$s_del = '<a href="javascript:post_delete(\'mail_update.php\', '.$row['ma_id'].');">삭제</a>';
|
||||
//$s_del = '<a href="javascript:post_delete(\'mail_update.php\', '.$row['ma_id'].');">삭제</a>';
|
||||
$s_vie = '<a href="./mail_preview.php?ma_id='.$row['ma_id'].'" target="_blank">미리보기</a>';
|
||||
|
||||
$num = number_format($total_count - ($page - 1) * $config['cf_page_rows'] - $i);
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="" value="">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="메일선택">
|
||||
</td>
|
||||
<td class="td_num"><?=$num?></td>
|
||||
<td><?=$row['ma_subject']?></td>
|
||||
<td class="td_time"><?=$row['ma_time']?></td>
|
||||
<td class="td_test"><a href="./mail_test.php?ma_id=<?=$row['ma_id']?>">테스트</a></td>
|
||||
<td class="td_send"><a href="./mail_select_form.php?ma_id=<?=$row['ma_id']?>">보내기</a></td>
|
||||
<td class="td_mng"><?=$s_mod?> <?=$s_del?> <?=$s_vie?></td>
|
||||
<td class="td_mng"><?=$s_mod?> <?=$s_vie?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
@ -70,6 +75,11 @@ $colspan = 6;
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_list">
|
||||
<button>선택삭제</button>
|
||||
<input type="submit" name="btn_submit" value="선택삭제">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
|
||||
@ -86,16 +86,16 @@ $g4['title'] .= '회원 '.$html_title;
|
||||
include_once('./admin.head.php');
|
||||
?>
|
||||
|
||||
<div class="cbox">
|
||||
<form id="fmember" name="fmember" method="post" action="./member_form_update.php" onsubmit="return fmember_submit(this);" enctype="multipart/form-data">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<form id="fmember" name="fmember" method="post" action="./member_form_update.php" onsubmit="return fmember_submit(this);" enctype="multipart/form-data">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
|
||||
<div class="cbox">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -107,17 +107,17 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_id">아이디<?=$sound_only?></label></th>
|
||||
<td>
|
||||
<input type="text" id="mb_id" name="mb_id" maxlength="20" <?=$required_mb_id?> value="<?=$mb['mb_id']?>" size="15">
|
||||
<input type="text" id="mb_id" name="mb_id" maxlength="20" class="frm_input" <?=$required_mb_id?> value="<?=$mb['mb_id']?>" size="15">
|
||||
<?if ($w=='u'){?><a href="./boardgroupmember_form.php?mb_id=<?=$mb['mb_id']?>">접근가능그룹보기</a><?}?>
|
||||
</td>
|
||||
<th scope="row"><label for="mb_password">패스워드<?=$sound_only?></label></th>
|
||||
<td><input type="password" id="mb_password" name="mb_password" maxlength="20" <?=$required_mb_password?> size="15"></td>
|
||||
<td><input type="password" id="mb_password" name="mb_password" class="frm_input" maxlength="20" <?=$required_mb_password?> size="15"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_name">이름(실명)<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="mb_name" name="mb_name" maxlength="20" class="required hangul minlength=2" required value="<?=$mb['mb_name']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_name" name="mb_name" maxlength="20" class="required hangul frm_input minlength=2" required value="<?=$mb['mb_name']?>" size="15"></td>
|
||||
<th scope="row"><label for="mb_nick">별명<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="mb_nick" name="mb_nick" maxlength="20" class="required minlength=2" required value="<?=$mb['mb_nick']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_nick" name="mb_nick" maxlength="20" class="required frm_input minlength=2" required value="<?=$mb['mb_nick']?>" size="15"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_level">회원 권한</label></th>
|
||||
@ -127,24 +127,24 @@ include_once('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="mb_email" name="mb_email" maxlength="100" class="required email" required value="<?=$mb['mb_email']?>" size="30"></td>
|
||||
<td><input type="text" id="mb_email" name="mb_email" maxlength="100" class="required frm_input email" required value="<?=$mb['mb_email']?>" size="30"></td>
|
||||
<th scope="row"><label for="mb_homepage">홈페이지</label></th>
|
||||
<td><input type="text" id="mb_homepage" name="mb_homepage" maxlength="255" value="<?=$mb['mb_homepage']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_homepage" name="mb_homepage" class="frm_input" maxlength="255" value="<?=$mb['mb_homepage']?>" size="15"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_tel">전화번호</label></th>
|
||||
<td><input type="text" id="mb_tel" name="mb_tel" maxlength="20" value="<?=$mb['mb_tel']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_tel" name="mb_tel" class="frm_input" maxlength="20" value="<?=$mb['mb_tel']?>" size="15"></td>
|
||||
<th scope="row"><label for="mb_hp">핸드폰번호</label></th>
|
||||
<td><input type="text" id="mb_hp" name="mb_hp" maxlength="20" value="<?=$mb['mb_hp']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_hp" name="mb_hp" class="frm_input" maxlength="20" value="<?=$mb['mb_hp']?>" size="15"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_zip1">주소</label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="mb_zip1" name="mb_zip1" maxlength="3" readonly value="<?=$mb['mb_zip1']?>" title="우편번호 앞자리" size="3"> -
|
||||
<input type="text" id="mb_zip2" name="mb_zip2" maxlength="3" readonly value="<?=$mb['mb_zip2']?>" title="우편번호 뒷자리" size="3">
|
||||
<a href="<?=G4_BBS_URL.'/zip.php?frm_name=fmember&frm_zip1=mb_zip1&frm_zip2=mb_zip2&frm_addr1=mb_addr1&frm_addr2=mb_addr2'?>" class="win_zip_find">우편번호 검색</a><br>
|
||||
<input type="text" id="mb_addr1" name="mb_addr1" readonly value='<?=$mb['mb_addr1']?>' title="행정기본주소" size="50"><br>
|
||||
<input type="text" id="mb_addr2" name="mb_addr2" value='<?=$mb['mb_addr2']?>' title="상세주소" size="50"> 상세주소 입력
|
||||
<td colspan="3" style="line-height:2em">
|
||||
<input type="text" id="mb_zip1" name="mb_zip1" class="frm_input readonly" maxlength="3" readonly value="<?=$mb['mb_zip1']?>" title="우편번호 앞자리" size="3"> -
|
||||
<input type="text" id="mb_zip2" name="mb_zip2" class="frm_input readonly" maxlength="3" readonly value="<?=$mb['mb_zip2']?>" title="우편번호 뒷자리" size="3">
|
||||
<a href="<?=G4_BBS_URL.'/zip.php?frm_name=fmember&frm_zip1=mb_zip1&frm_zip2=mb_zip2&frm_addr1=mb_addr1&frm_addr2=mb_addr2'?>" class="win_zip_find btn_frmline">우편번호 검색</a><br>
|
||||
<input type="text" id="mb_addr1" name="mb_addr1" class="frm_input readonly" readonly value='<?=$mb['mb_addr1']?>' title="행정기본주소" size="50"><br>
|
||||
<input type="text" id="mb_addr2" name="mb_addr2" class="frm_input" value="<?=$mb['mb_addr2']?>" title="상세주소" size="50"> 상세주소 입력
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -189,9 +189,11 @@ include_once('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_signature">서명</label></th>
|
||||
<td><textarea id="mb_signature" name="mb_signature"><?=$mb['mb_signature']?></textarea></td>
|
||||
<td colspan="3"><textarea id="mb_signature" name="mb_signature"><?=$mb['mb_signature']?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_profile">자기 소개</label></th>
|
||||
<td><textarea id="mb_profile" name="mb_profile"><?=$mb['mb_profile']?></textarea></td>
|
||||
<td colspan="3"><textarea id="mb_profile" name="mb_profile"><?=$mb['mb_profile']?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_memo">메모</label></th>
|
||||
@ -236,12 +238,12 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">탈퇴일자</th>
|
||||
<td>
|
||||
<input type="text" name="mb_leave_date" maxlength="8" value="<?=$mb['mb_leave_date']?>">
|
||||
<input type="text" name="mb_leave_date" class="frm_input" maxlength="8" value="<?=$mb['mb_leave_date']?>">
|
||||
<input type="checkbox" value="<?=date("Ymd"); ?>" onclick="if (this.form.mb_leave_date.value==this.form.mb_leave_date.defaultValue) { this.form.mb_leave_date.value=this.value; } else { this.form.mb_leave_date.value=this.form.mb_leave_date.defaultValue; }" title="탈퇴일을 오늘로 지정"> 오늘
|
||||
</td>
|
||||
<th scope="row">접근차단일자</th>
|
||||
<td>
|
||||
<input type="text" name="mb_intercept_date" maxlength="8" value="<?=$mb['mb_intercept_date']?>">
|
||||
<input type="text" name="mb_intercept_date" class="frm_input" maxlength="8" value="<?=$mb['mb_intercept_date']?>">
|
||||
<input type="checkbox" value="<?=date("Ymd"); ?>" onclick="if (this.form.mb_intercept_date.value==this.form.mb_intercept_date.defaultValue) { this.form.mb_intercept_date.value=this.value; } else { this.form.mb_intercept_date.value=this.form.mb_intercept_date.defaultValue; }" title="접근차단일을 오늘로 지정"> 오늘
|
||||
</td>
|
||||
</tr>
|
||||
@ -249,28 +251,28 @@ include_once('./admin.head.php');
|
||||
<? for ($i=1; $i<=10; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_<?=$i?>">여분 필드 <?=$i?></label></th>
|
||||
<td colspan="3"><input type="text" id="mb_<?=$i?>" name="mb_<?=$i?>" maxlength="255" value="<?=$mb['mb_'.$i]?>" size="30"></td>
|
||||
<td colspan="3"><input type="text" id="mb_<?=$i?>" name="mb_<?=$i?>" class="frm_input" maxlength="255" value="<?=$mb['mb_'.$i]?>" size="30"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<fieldset id="admin_confirm">
|
||||
<legend>XSS 혹은 CSRF 방지</legend>
|
||||
<p>관리자 권한을 탈취 당하는 경우를 대비하여 관리자의 패스워드를 다시 한번 확인합니다.</p>
|
||||
<label for="admin_password">관리자 패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="admin_password" name="admin_password" class="required" required>
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" accesskey='s' value="확인">
|
||||
<a href="./member_list.php?<?=$qstr?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<fieldset id="admin_confirm">
|
||||
<legend>XSS 혹은 CSRF 방지</legend>
|
||||
<p>관리자 권한을 탈취 당하는 경우를 대비하여 관리자의 패스워드를 다시 한번 확인합니다.</p>
|
||||
<label for="admin_password">관리자 패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="admin_password" name="admin_password" class="required frm_input" required>
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" accesskey='s' value="확인">
|
||||
<a href="./member_list.php?<?=$qstr?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fmember_submit(f)
|
||||
{
|
||||
|
||||
@ -149,7 +149,7 @@ $colspan = 15;
|
||||
else
|
||||
{
|
||||
$s_mod = '<a href="./member_form.php?'.$qstr.'&w=u&mb_id='.$row['mb_id'].'">수정</a>';
|
||||
$s_del = '<a href="javascript:post_delete(\'member_delete.php\', \''.$row['mb_id'].'\');">삭제</a>';
|
||||
//$s_del = '<a href="javascript:post_delete(\'member_delete.php\', \''.$row['mb_id'].'\');">삭제</a>';
|
||||
}
|
||||
$s_grp = '<a href="./boardgroupmember_form.php?mb_id='.$row['mb_id'].'">그룹</a>';
|
||||
|
||||
@ -198,17 +198,19 @@ $colspan = 15;
|
||||
<?}?>
|
||||
</td>
|
||||
<td class="td_chk"><?=$group?></td>
|
||||
<td><?=$s_mod?> <?=$s_del?> <?=$s_grp?></td>
|
||||
<td><?=$s_mod?> <?=$s_grp?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
|
||||
?>
|
||||
</table>
|
||||
|
||||
<div class="btn_list">
|
||||
<button>선택수정</button>
|
||||
<button>선택삭제</button>
|
||||
<input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택수정">
|
||||
<input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택삭제">
|
||||
<? if ($is_admin == 'super') {?><a href="./member_form.php">회원추가</a><?}?>
|
||||
|
||||
@ -195,13 +195,13 @@ function point_clear()
|
||||
<fieldset>
|
||||
<legend>개별회원 포인트 증감 설정</legend>
|
||||
<label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="mb_id" name="mb_id" required value="<?=$mb_id?>">
|
||||
<input type="text" id="mb_id" name="mb_id" class="required frm_input" required value="<?=$mb_id?>">
|
||||
<label for="po_content">포인트 내용<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="po_content" name="po_content" required>
|
||||
<input type="text" id="po_content" name="po_content" class="required frm_input" required>
|
||||
<label for="po_point">포인트<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="po_point" name="po_point" required>
|
||||
<input type="text" id="po_point" name="po_point" class="required frm_input" required>
|
||||
<label for="admin_password">관리자패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="admin_password" name="admin_password" required>
|
||||
<input type="password" id="admin_password" name="admin_password" class="required frm_input" required>
|
||||
<input type="submit" class="btn_submit" value="확인">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -34,14 +34,14 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_subject">투표 제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="po_subject" name="po_subject" class="required" value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
|
||||
<td><input type="text" id="po_subject" name="po_subject" class="required frm_input" value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
for ($i=1; $i<=9; $i++) {
|
||||
$required = '';
|
||||
if ($i==1 || $i==2) {
|
||||
$required = 'class="required"';
|
||||
$required = 'required';
|
||||
$sound_only = '<strong class="sound_only">필수</strong>';
|
||||
}
|
||||
|
||||
@ -51,9 +51,9 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="po_poll<?=$i?>">항목 <?=$i?><?=$sound_only?></label></th>
|
||||
<td>
|
||||
<input type="text" id="po_poll<?=$i?>" name="po_poll<?=$i?>" <?=$required?> value="<?=$po_poll?>" maxlength="125">
|
||||
<input type="text" id="po_poll<?=$i?>" name="po_poll<?=$i?>" class="frm_input <?=$required?>" value="<?=$po_poll?>" maxlength="125">
|
||||
<label for="po_cnt<?=$i?>">항목 <?=$i?> 투표수</label>
|
||||
<input type="text" id="po_cnt<?=$i?>" name="po_cnt<?=$i?>" value="<?=$po['po_cnt'.$i]?>" size="2">
|
||||
<input type="text" id="po_cnt<?=$i?>" name="po_cnt<?=$i?>" class="frm_input" value="<?=$po['po_cnt'.$i]?>" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -62,26 +62,29 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="po_etc">기타의견</label></th>
|
||||
<td>
|
||||
<?=help('기타 의견을 남길 수 있도록 하려면, 다음에 간단한 의견을 입력하세요.')?>
|
||||
<input type="text" id="po_etc" name="po_etc" value="<?=get_text($po['po_etc'])?>" size="80" maxlength="125">
|
||||
<?=help('기타 의견을 남길 수 있도록 하려면, 간단한 질문을 입력하세요.')?>
|
||||
<input type="text" id="po_etc" name="po_etc" class="frm_input" value="<?=get_text($po['po_etc'])?>" size="80" maxlength="125">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_level">투표가능 회원레벨</label></th>
|
||||
<td><?=get_member_level_select('po_level', 1, 10, $po['po_level'])?> 이상 투표할 수 있음</td>
|
||||
<td>
|
||||
<?=help("레벨을 1로 설정하면 손님도 투표할 수 있습니다.")?>
|
||||
<?=get_member_level_select('po_level', 1, 10, $po['po_level'])?> 이상 투표할 수 있음
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_point">포인트</label></th>
|
||||
<td>
|
||||
<?=help('투표에 참여한 회원에게 포인트를 부여합니다.')?>
|
||||
<input type="text" id="po_point" name="po_point" value="<?=$po['po_point']?>"> 점
|
||||
<input type="text" id="po_point" name="po_point" class="frm_input" value="<?=$po['po_point']?>"> 점
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<? if ($w == 'u') { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_date">투표시작일</label></th>
|
||||
<td><input type="text" id="po_date" name="po_date" maxlength="10" value="<?=$po['po_date']?>"></td>
|
||||
<td><input type="text" id="po_date" name="po_date" class="frm_input" maxlength="10" value="<?=$po['po_date']?>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_ips">투표참가 IP</label></th>
|
||||
|
||||
@ -61,11 +61,10 @@ $colspan = 6;
|
||||
<?=$listall?>
|
||||
투표수 : <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<select id="sfl" name="sfl" title="검색대상">
|
||||
<option value='po_subject'>제목</option>
|
||||
</select>
|
||||
<input type="text" name="stx" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -74,51 +73,61 @@ $colspan = 6;
|
||||
<a href="./poll_form.php" id="poll_add">투표 추가</a>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<caption>투표목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">투표권한</th>
|
||||
<th scope="col">투표수</th>
|
||||
<th scope="col">기타의견</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$sql2 = " select sum(po_cnt1+po_cnt2+po_cnt3+po_cnt4+po_cnt5+po_cnt6+po_cnt7+po_cnt8+po_cnt9) as sum_po_cnt from {$g4['poll_table']} where po_id = '{$row['po_id']}' ";
|
||||
$row2 = sql_fetch($sql2);
|
||||
$po_etc = ($row['po_etc']) ? "사용" : "미사용";
|
||||
<section class="cbox">
|
||||
<h2>투표목록</h2>
|
||||
|
||||
$s_mod = '<a href="./poll_form.php?'.$qstr.'&w=u&po_id='.$row['po_id'].'">수정</a>';
|
||||
$s_del = '<a href="javascript:post_delete(\'poll_form_update.php\', \''.$row['po_id'].'\');">삭제</a>';
|
||||
?>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 투표 전체선택" onclick="check_all(this.form)"></th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">투표권한</th>
|
||||
<th scope="col">투표수</th>
|
||||
<th scope="col">기타의견</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$sql2 = " select sum(po_cnt1+po_cnt2+po_cnt3+po_cnt4+po_cnt5+po_cnt6+po_cnt7+po_cnt8+po_cnt9) as sum_po_cnt from {$g4['poll_table']} where po_id = '{$row['po_id']}' ";
|
||||
$row2 = sql_fetch($sql2);
|
||||
$po_etc = ($row['po_etc']) ? "사용" : "미사용";
|
||||
|
||||
<tr>
|
||||
<td class="td_num"><?=$row['po_id']?></td>
|
||||
<td><?=cut_str(get_text($row['po_subject']),70)?></td>
|
||||
<td class="td_num"><?=$row['po_level']?></td>
|
||||
<td class="td_num"><?=$row2['sum_po_cnt']?></td>
|
||||
<td class="td_etc"><?=$po_etc?></td>
|
||||
<td class="td_mng"><?=$s_mod?> <?=$s_del?></td>
|
||||
</tr>
|
||||
$s_mod = '<a href="./poll_form.php?'.$qstr.'&w=u&po_id='.$row['po_id'].'">수정</a>';
|
||||
//$s_del = '<a href="javascript:post_delete(\'poll_form_update.php\', \''.$row['po_id'].'\');">삭제</a>';
|
||||
?>
|
||||
|
||||
<?
|
||||
}
|
||||
<tr>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="" value="">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="투표선택">
|
||||
</td>
|
||||
<td class="td_num"><?=$row['po_id']?></td>
|
||||
<td><?=cut_str(get_text($row['po_subject']),70)?></td>
|
||||
<td class="td_num"><?=$row['po_level']?></td>
|
||||
<td class="td_num"><?=$row2['sum_po_cnt']?></td>
|
||||
<td class="td_etc"><?=$po_etc?></td>
|
||||
<td class="td_mng"><?=$s_mod?></td>
|
||||
</tr>
|
||||
|
||||
if ($i==0)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?
|
||||
}
|
||||
|
||||
<?
|
||||
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
echo $pagelist;
|
||||
?>
|
||||
if ($i==0)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_list">
|
||||
<button>선택삭제</button>
|
||||
<input type="submit" name="btn_submit" value="선택삭제">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<?
|
||||
if (isset($stx))
|
||||
@ -129,13 +138,13 @@ if (isset($stx))
|
||||
// POST 방식으로 삭제
|
||||
function post_delete(action_url, val)
|
||||
{
|
||||
var f = document.fpost;
|
||||
var f = document.fpost;
|
||||
|
||||
if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
|
||||
if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
|
||||
f.po_id.value = val;
|
||||
f.action = action_url;
|
||||
f.submit();
|
||||
}
|
||||
f.action = action_url;
|
||||
f.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -79,12 +79,11 @@ var list_delete_php = 'popular_list.php';
|
||||
<?=$listall?>
|
||||
건수 : <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="pp_word">검색어</option>
|
||||
<option value="pp_date">등록일</option>
|
||||
</select>
|
||||
<input type="text" name="stx" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="text" name="stx" class="required frm_input" required value="<?=$stx?>" title="검색어(필수)">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -137,6 +136,7 @@ var list_delete_php = 'popular_list.php';
|
||||
|
||||
<?if ($is_admin == 'super'){ ?>
|
||||
<div class="btn_list">
|
||||
<button>선택삭제</button>
|
||||
<button onclick="btn_check(this.form, 'delete')">선택삭제</button>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
@ -44,7 +44,8 @@ $colspan = 3;
|
||||
건수 <?=number_format($total_count)?>개
|
||||
</span>
|
||||
<label for="fr_date">기간설정</label>
|
||||
<input type="text" id="fr_date" name="fr_date" maxlength="10" value="<?=$fr_date?>" title="구간시작일"> 부터 <input type="text" id="to_date" name="to_date" maxlength="10" value="<?=$to_date?>" title="구간종료일"> 까지
|
||||
<input type="text" id="fr_date" name="fr_date" class="frm_input" maxlength="10" value="<?=$fr_date?>" title="구간시작일"> 부터
|
||||
<input type="text" id="to_date" name="to_date" class="frm_input" maxlength="10" value="<?=$to_date?>" title="구간종료일"> 까지
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -6,22 +6,27 @@ include_once(G4_LIB_PATH.'/visit.lib.php');
|
||||
if (empty($fr_date)) $fr_date = G4_TIME_YMD;
|
||||
if (empty($to_date)) $to_date = G4_TIME_YMD;
|
||||
|
||||
$qstr = 'fr_date='.$fr_date.'&to_date='.$to_date;
|
||||
$qstr = "fr_date=".$fr_date."&to_date=".$to_date;
|
||||
?>
|
||||
|
||||
<ul class="frm_list">
|
||||
<li><a href="./visit_list.php">접속자</a></li>
|
||||
<li><a href="./visit_domain.php">도메인</a></li>
|
||||
<li><a href="./visit_browser.php">브라우저</a></li>
|
||||
<li><a href="./visit_os.php">운영체제</a></li>
|
||||
<li><a href="./visit_hour.php">시간</a></li>
|
||||
<li><a href="./visit_week.php">요일</a></li>
|
||||
<li><a href="./visit_date.php">일</a></li>
|
||||
<li><a href="./visit_month.php">월</a></li>
|
||||
<li><a href="./visit_year.php">년</a></li>
|
||||
</ul>
|
||||
|
||||
<form id="fvisit" name="fvisit" method="get">
|
||||
<fieldset>
|
||||
<legend>접속자집계 열람조건 지정</legend>
|
||||
<span>기간지정 <input type="text" id="fr_date" name="fr_date" size=11 maxlength=10 value='<?=$fr_date?>'> 부터 <input type="text" id="to_date" name="to_date" size=11 maxlength=10 value='<?=$to_date?>'> 까지</span>
|
||||
<button onclick="fvisit_submit('visit_list.php');">접속자</button>
|
||||
<button onclick="fvisit_submit('visit_domain.php');">도메인</button>
|
||||
<button onclick="fvisit_submit('visit_browser.php');">브라우저</button>
|
||||
<button onclick="fvisit_submit('visit_os.php');">운영체제</button>
|
||||
<button onclick="fvisit_submit('visit_hour.php');">시간</button>
|
||||
<button onclick="fvisit_submit('visit_week.php');">요일</button>
|
||||
<button onclick="fvisit_submit('visit_date.php');">일</button>
|
||||
<button onclick="fvisit_submit('visit_month.php');">월</button>
|
||||
<button onclick="fvisit_submit('visit_year.php');">년</button>
|
||||
<legend>접속자집계 기간지정</legend>
|
||||
<input type="text" id="fr_date" name="fr_date" class="frm_input" size="11" maxlength="10" value="<?=$fr_date?>"> 부터
|
||||
<input type="text" id="to_date" name="to_date" class="frm_input" size="11" maxlength="10" value="<?=$to_date?>"> 까지
|
||||
<input type="submit" class="btn_submit" value="지정">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ textarea:focus,
|
||||
textarea {width:90%}
|
||||
select {border:1px solid #ced9de}
|
||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||
.readonly {background:#ff3061}
|
||||
.readonly {background:#a7bac2}
|
||||
|
||||
/* 폼 안내글 */
|
||||
.adm_field_explain {display:block;padding:0 0 5px;color:#5b747e}
|
||||
|
||||
Reference in New Issue
Block a user