Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -82,17 +82,21 @@ $colspan = 8;
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./board_form.php" id="bo_add">게시판 추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>생성된 게시판 목록</h2>
|
||||
<p>여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.</p>
|
||||
|
||||
<<<<<<< HEAD
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./board_form.php" id="bo_add">게시판 추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<form id="fboardlist" name="fboardlist" method="post" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);">
|
||||
=======
|
||||
<form id="fboardlist" name="fboardlist" method="post" action="./board_list_update.php">
|
||||
>>>>>>> 6351d0732dbb9a7896c228d552d98ba457ee7b4f
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
|
||||
@ -81,12 +81,6 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>게시판그룹 목록</h2>
|
||||
<p>
|
||||
@ -94,6 +88,12 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
접근사용 옵션은 해당 그룹에 속한 모든 게시판에 적용됩니다.
|
||||
</p>
|
||||
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<form id="fboardgrouplist" name="fboardgrouplist" method="post" action="./boardgroup_list_update.php">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
@ -139,7 +139,7 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<td class="td_chk">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$row['gr_id']?>" title="<?=$row['gr_subject']?> 그룹선택">
|
||||
</td>
|
||||
<td><a href="<?=$g4['bbs_path']?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
|
||||
<td class="td_mbid"><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?>]" class="frm_input" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
</td>
|
||||
|
||||
@ -556,7 +556,7 @@ $pg_anchor = "
|
||||
<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">
|
||||
<input type="password" id="admin_password" name="admin_password" class="required frm_input">
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -22,10 +22,6 @@ include_once('./admin.head.php');
|
||||
$colspan = 6;
|
||||
?>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
|
||||
</div>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>등록된 메일내용 목록</h2>
|
||||
<p>
|
||||
@ -33,6 +29,10 @@ $colspan = 6;
|
||||
현재 등록된 메일은 총 <?=$total_count ?>건입니다.
|
||||
</p>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
|
||||
</div>
|
||||
|
||||
<form id="fmaillist" name="fmaillist" method="post" action="./mail_delete.php">
|
||||
<table>
|
||||
<thead>
|
||||
@ -43,13 +43,12 @@ $colspan = 6;
|
||||
<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=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_vie = '<a href="./mail_preview.php?ma_id='.$row['ma_id'].'" target="_blank">미리보기</a>';
|
||||
|
||||
@ -61,17 +60,17 @@ $colspan = 6;
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$row['ma_id']?>" title="메일선택">
|
||||
</td>
|
||||
<td class="td_num"><?=$num?></td>
|
||||
<td><?=$row['ma_subject']?></td>
|
||||
<td><a href="./mail_form.php?w=u&ma_id=<?=$row['ma_id']?>"><?=$row['ma_subject']?></a></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_vie?></td>
|
||||
<td class="td_mng"><?=$s_vie?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
}
|
||||
if (!$i)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -96,16 +96,16 @@ $colspan = 15;
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<? if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./member_form.php" id="member_add">회원추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>회원 목록</h2>
|
||||
<p>회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.</p>
|
||||
|
||||
<? if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./member_form.php" id="member_add">회원추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
<form id="fmemberlist" name="fmemberlist" method="post" action="./member_list_update.php">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
@ -164,11 +164,11 @@ $colspan = 15;
|
||||
$intercept_title = '';
|
||||
if ($row['mb_leave_date']) {
|
||||
$mb_id = $mb_id;
|
||||
$leave_msg = '탈퇴함';
|
||||
$leave_msg = '<br>탈퇴함';
|
||||
}
|
||||
else if ($row['mb_intercept_date']) {
|
||||
$mb_id = $mb_id;
|
||||
$intercept_msg = '차단됨';
|
||||
$intercept_msg = '<br>차단됨';
|
||||
$intercept_title = '차단해제';
|
||||
}
|
||||
if ($intercept_title == '')
|
||||
@ -187,11 +187,11 @@ $colspan = 15;
|
||||
<td class="td_name"><div><?=$mb_nick?></div></td>
|
||||
<td class="td_mbname"><?=$row['mb_name']?></td>
|
||||
<td><?=get_member_level_select("mb_level[$i]", 1, $member['mb_level'], $row['mb_level'])?></td>
|
||||
<td><a href="point_list.php?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
|
||||
<td class="td_bignum"><a href="point_list.php?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
|
||||
<td><?=substr($row['mb_today_login'],2,8)?></td>
|
||||
<td><?=$row['mb_mailling']?'예':'아니오';?></td>
|
||||
<td><?=$row['mb_open']?'예':'아니오';?></td>
|
||||
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오';?></td>
|
||||
<td><?=$row['mb_mailling']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
|
||||
<td><?=$row['mb_open']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
|
||||
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
|
||||
<td class="td_chk">
|
||||
<? if(empty($row['mb_leave_date'])){?>
|
||||
<input type="checkbox" id="mb_intercept_date_<?=$i?>" name="mb_intercept_date[<?=$i?>]" <?=$row['mb_intercept_date']?'checked':'';?> value="<?=$intercept_date?>" title="<?=$intercept_title?>">
|
||||
|
||||
@ -151,10 +151,10 @@ function point_clear()
|
||||
<td class="td_mbid"><a href="?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td class="td_mbname"><?=$row2['mb_name']?></td>
|
||||
<td class="td_name"><div><?=$mb_nick?></div></td>
|
||||
<td><?=$row['po_datetime']?></td>
|
||||
<td class="td_time"><?=$row['po_datetime']?></td>
|
||||
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
|
||||
<td class="td_num"><?=number_format($row['po_point'])?></td>
|
||||
<td class="td_bignum"><?=number_format($row2['mb_point'])?></td>
|
||||
<td class="td_num td_pt"><?=number_format($row['po_point'])?></td>
|
||||
<td class="td_bignum td_pt"><?=number_format($row2['mb_point'])?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
@ -69,13 +69,13 @@ $colspan = 6;
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./poll_form.php" id="poll_add">투표 추가</a>
|
||||
</div>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>투표목록</h2>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./poll_form.php" id="poll_add">투표 추가</a>
|
||||
</div>
|
||||
|
||||
<form id="fpolllist" name="fpolllist" method="post" action="./poll_delete.php">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
|
||||
@ -20,36 +20,44 @@ if (isset($_POST['mail'])) {
|
||||
for ($i=0; $i<count($email); $i++)
|
||||
mailer($from_name, $from_email, trim($email[$i]), '[메일검사] 제목', '<span style="font-size:9pt;">[메일검사] 내용<p>이 내용이 제대로 보인다면 보내는 메일 서버에는 이상이 없는것입니다.<p>'.date("Y-m-d H:i:s").'<p>이 메일 주소로는 회신되지 않습니다.</span>', 1);
|
||||
|
||||
echo "<section class=\"cbox\">";
|
||||
echo "<h2>결과메세지</h2>";
|
||||
echo "<p>";
|
||||
echo "다음의 메일 주소로 메일을 발송 하였습니다.";
|
||||
echo "</p>";
|
||||
echo "<ul>";
|
||||
for ($i=0;$i<count($email);$i++) {
|
||||
echo "<li>".$email[$i]."</li>";
|
||||
}
|
||||
echo "</ul>";
|
||||
echo "<p>";
|
||||
echo "결과메세지<br>";
|
||||
echo "----------------------------------------------------------------------------------------<br>";
|
||||
echo "다음의 메일 주소로 메일을 발송 하였습니다. ($mail)<br>";
|
||||
echo "해당 주소로 메일이 왔는지 확인하여 주십시오.<br>";
|
||||
echo "만약, 메일이 오지 않는다면 여러곳의 메일 주소로 메일을 보내 보십시오.<br>";
|
||||
echo "그래도 메일이 하나도 도착하지 않는다면 메일 서버(sendmail server)의 오류일 가능성이 높습니다.<br>";
|
||||
echo "이런 경우에는 웹 서버관리자에게 문의하여 주십시오.<br>";
|
||||
echo "----------------------------------------------------------------------------------------";
|
||||
echo "</p>";
|
||||
echo "</section>";
|
||||
}
|
||||
?>
|
||||
|
||||
<form id="fsendmailtest" name="fsendmailtest" method="post">
|
||||
<p>
|
||||
<span></span>
|
||||
고객님들께서 메일이 오지 않는다고 하면 사용하는 메뉴입니다.<br>
|
||||
입력한 메일주소로 테스트 메일을 발송합니다.<br>
|
||||
만약 [메일검사] 라는 내용으로 메일이 도착하지 않는다면 보내는 메일서버와 받는 메일 서버중 문제가 발생했을 가능성이 있습니다.<br>
|
||||
메일을 보냈는데도 도착하지 않는다면 다른 여러곳으로도 메일을 발송하여 주십시오.<br>
|
||||
여러곳으로 메일을 발송하시려면 , 로 메일을 구분하십시오.
|
||||
메일서버가 정상적으로 동작 중인지 확인할 수 있습니다.<br>
|
||||
아래 입력칸에 테스트 메일을 발송하실 메일 주소를 입력하시면, [메일검사] 라는 제목으로 테스트 메일을 발송합니다.<br>
|
||||
여러 곳으로 테스트 메일을 발송하시려면 , 로 메일을 구분하십시오.
|
||||
</p>
|
||||
<fieldset>
|
||||
<form name="fsendmailtest" method="post">
|
||||
<fieldset id="fsendmailtest">
|
||||
<legend>테스트메일 발송</legend>
|
||||
<label for="mail">받는 메일주소<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="mail" name="mail" class="required frm_input" required value="<?=$member['mb_email']?>" size="80">
|
||||
<input type="submit" class="btn_submit" value="발송">
|
||||
</fieldset>
|
||||
</form>
|
||||
<p>
|
||||
만약 [메일검사] 라는 내용으로 테스트 메일이 도착하지 않는다면 보내는 메일서버 혹은 받는 메일서버 중 문제가 발생했을 가능성이 있습니다.<br>
|
||||
따라서 보다 정확한 테스트를 원하신다면 여러 곳으로 테스트 메일을 발송하시기 바랍니다.<br>
|
||||
</p>
|
||||
|
||||
<?
|
||||
include_once('./admin.tail.php');
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -23,10 +23,10 @@ $qstr = "fr_date=".$fr_date."&to_date=".$to_date;
|
||||
|
||||
<form id="fvisit" name="fvisit" method="get">
|
||||
<fieldset>
|
||||
<legend>접속자집계 기간지정</legend>
|
||||
<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="지정">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
32
css/adm.css
32
css/adm.css
@ -18,6 +18,7 @@ a:hover,
|
||||
a:active {text-decoration:underline}
|
||||
/* 헤딩 */
|
||||
h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spacing:-0.1em}
|
||||
h2 {font-size:1.2em}
|
||||
|
||||
/* 화면낭독기 사용자용 */
|
||||
.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important}
|
||||
@ -99,6 +100,8 @@ h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spa
|
||||
.btn_confirm a:focus {background:#555}
|
||||
.btn_submit {padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;line-height:2.5em;vertical-align:middle}
|
||||
.btn_submit:focus {padding:0 15px;height:30px;border:0;background:#555;color:#fff;line-height:2.5em;vertical-align:middle}
|
||||
fieldset .btn_submit {height:21px;background:#383a3f;line-height:1.7em}
|
||||
fieldset .btn_submit:focus {height:21px;background:#555;line-height:1.7em}
|
||||
|
||||
.btn_list input,
|
||||
.btn_list button {padding:0 15px;height:30px;background:#74868b;color:#fff;line-height:2.2em;vertical-align:middle}
|
||||
@ -111,7 +114,7 @@ h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spa
|
||||
.btn_ft a {display:inline-block;padding:0 15px;height:28px;background:#74868b;color:#fff;text-decoration:none;line-height:2.4em;vertical-align:middle}
|
||||
.btn_ft a:focus {background:#555}
|
||||
|
||||
#btn_add {margin-bottom:10px;text-align:center}
|
||||
#btn_add {margin-bottom:10px;text-align:right}
|
||||
#btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
|
||||
|
||||
/* 폼 */
|
||||
@ -122,6 +125,12 @@ textarea:focus,
|
||||
textarea {width:90%}
|
||||
select {border:1px solid #ced9de}
|
||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||
fieldset {margin-bottom:20px}
|
||||
legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
fieldset span {display:block;margin-bottom:10px}
|
||||
fieldset p {color:#4c5f67}
|
||||
fieldset button, .fieldset_submit {padding:0 15px;height:23px;border:0;background:#74868b;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle;cursor:pointer}
|
||||
fieldset button:focus, .fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle}
|
||||
.readonly {background:#a7bac2}
|
||||
|
||||
/* 폼 안내글 */
|
||||
@ -213,14 +222,20 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
|
||||
.td_num {width:60px;text-align:center}
|
||||
.td_bignum {width:120px;text-align:center}
|
||||
.td_mbid,
|
||||
.td_mbnick,
|
||||
.td_mbname {width:100px;text-align:left}
|
||||
.td_name,
|
||||
.td_mbname {width:100px;text-align:left !important}
|
||||
.td_time {width:150px;text-align:center}
|
||||
.td_boolean {width:50px;text-align:center}
|
||||
.td_pt {text-align:right !important}
|
||||
|
||||
/* 메일 테스트, 세션파일일괄삭제 */
|
||||
#fsendmailtest p,
|
||||
#session_del p {margin-bottom:20px;padding:13px;border:1px solid #ced9de;background:#fff}
|
||||
.txt_true {color:#2a6bc4}
|
||||
.txt_false {color:#ccc}
|
||||
|
||||
/* 메일 테스트 */
|
||||
#fsendmailtest {margin-bottom:20px;padding:30px 0;border:1px solid #ced9de;background:#fff;text-align:center}
|
||||
|
||||
/* 세션파일일괄삭제 */
|
||||
#session_del p,
|
||||
#cache_del p {margin-bottom:20px;padding:13px;border:1px solid #ced9de;background:#fff}
|
||||
|
||||
/* 사이드뷰 */
|
||||
@ -233,6 +248,11 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
|
||||
.sv_wrap a:active {text-decoration:none !important}
|
||||
.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important;background:#ddd}
|
||||
|
||||
/* 관리자 패스워드 확인 */
|
||||
#admin_confirm {padding:0 0 10px;background:#222;text-align:center}
|
||||
#admin_confirm p {margin:0 0 10px;color:#9ab9c5;background:#383a3f}
|
||||
#admin_confirm label {color:#fff}
|
||||
|
||||
/* pagination */
|
||||
.pg_wrap {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
|
||||
.pg {display:inline-block;border:1px solid #ddd;letter-spacing:-4px}
|
||||
|
||||
Reference in New Issue
Block a user