관리권한 설정 validation 통과
This commit is contained in:
@ -25,7 +25,7 @@ function print_menu2($key, $no)
|
||||
continue;
|
||||
|
||||
// if ($no == 2) $str .= " <img src='{$g4[admin_path]}/img/icon.gif' align=absmiddle> ";
|
||||
$str .= '<li id="gnb_'.$menu[$key][$i][0].'"><a href="'.$menu[$key][$i][2].'">'.$menu[$key][$i][1].'</a></li>'.PHP_EOL;
|
||||
$str .= '<li id="gnb_'.$menu[$key][$i][3].'"><a href="'.$menu[$key][$i][2].'">'.$menu[$key][$i][1].'</a></li>'.PHP_EOL;
|
||||
|
||||
$auth_menu[$menu[$key][$i][0]] = $menu[$key][$i][1];
|
||||
}
|
||||
@ -33,7 +33,6 @@ function print_menu2($key, $no)
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<script>
|
||||
@ -94,11 +93,9 @@ function textarea_size(fld, size)
|
||||
<script src='<?=$g4['path']?>/js/common.js'></script>
|
||||
<script src='<?=$g4['path']?>/js/sideview.js'></script>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<h1><span></span>그누보드 관리자 <?=$g4['title']?></h1>
|
||||
<?=$member['mb_id']?>님</td>
|
||||
<?=$member['mb_id']?>님
|
||||
<aside>
|
||||
<ul>
|
||||
<li id='skip_to_main'><a href='#wrapper'>본문 바로가기</a></li>
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
<?
|
||||
$menu["menu100"] = array (
|
||||
array("100000", "환경설정", "", "config"),
|
||||
array("", "기본환경설정", "$g4[admin_path]/config_form.php"),
|
||||
array("", "관리권한설정", "$g4[admin_path]/auth_list.php"),
|
||||
array("100300", "메일 테스트", "$g4[admin_path]/sendmail_test.php"),
|
||||
array("100400", "버전정보", "$g4[admin_path]/version.php"),
|
||||
array("100500", "phpinfo()", "$g4[admin_path]/phpinfo.php"),
|
||||
//array("100600", "업그레이드", "$g4[admin_path]/upgrade.php"),
|
||||
//array("100700", "복구/최적화", "$g4[admin_path]/repair.php"),
|
||||
//array("100800", "세션 삭제", "$g4[admin_path]/session_delete.php"),
|
||||
array("100900","캐쉬삭제","#"),
|
||||
array("", "phpMyAdmin", "$g4[path]/$g4[phpmyadmin_dir]")
|
||||
array("", "기본환경설정", "$g4[admin_path]/config_form.php", "cf_basic"),
|
||||
array("", "관리권한설정", "$g4[admin_path]/auth_list.php", "cf_auth"),
|
||||
array("100300", "메일 테스트", "$g4[admin_path]/sendmail_test.php", "cf_mailtest"),
|
||||
array("100400", "버전정보", "$g4[admin_path]/version.php", "cf_version"),
|
||||
array("100500", "phpinfo()", "$g4[admin_path]/phpinfo.php", "cf_phpinfo"),
|
||||
//array("100600", "업그레이드", "$g4[admin_path]/upgrade.php", "cf_upgrade"),
|
||||
//array("100700", "복구/최적화", "$g4[admin_path]/repair.php", "cf_repair"),
|
||||
//array("100800", "세션 삭제", "$g4[admin_path]/session_delete.php", "cf_delete"),
|
||||
array("100900","캐쉬삭제","#", "cf_cache"),
|
||||
array("", "phpMyAdmin", "$g4[path]/$g4[phpmyadmin_dir]", "cf_phpmyadmin")
|
||||
);
|
||||
?>
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
$menu["menu200"] = array (
|
||||
array("200000", "회원관리", "", "member"),
|
||||
array("200100", "회원관리", "$g4[admin_path]/member_list.php"),
|
||||
array("200200", "포인트관리", "$g4[admin_path]/point_list.php"),
|
||||
array("200300", "회원메일발송", "$g4[admin_path]/mail_list.php"),
|
||||
array("200800", "접속자현황", "$g4[admin_path]/visit_list.php"),
|
||||
array("200900", "투표관리", "$g4[admin_path]/poll_list.php")
|
||||
array("200100", "회원관리", "$g4[admin_path]/member_list.php", "mb_list"),
|
||||
array("200200", "포인트관리", "$g4[admin_path]/point_list.php", "mb_point"),
|
||||
array("200300", "회원메일발송", "$g4[admin_path]/mail_list.php", "mb_mail"),
|
||||
array("200800", "접속자현황", "$g4[admin_path]/visit_list.php", "mb_visit"),
|
||||
array("200900", "투표관리", "$g4[admin_path]/poll_list.php", "mb_poll")
|
||||
);
|
||||
?>
|
||||
@ -1,9 +1,9 @@
|
||||
<?
|
||||
$menu["menu300"] = array (
|
||||
array("300000", "게시판관리", "", "board"),
|
||||
array("300100", "게시판관리", "$g4[admin_path]/board_list.php"),
|
||||
array("300200", "게시판그룹관리", "$g4[admin_path]/boardgroup_list.php"),
|
||||
array("300300", "인기검색어관리", "$g4[admin_path]/popular_list.php"),
|
||||
array("300400", "인기검색어순위", "$g4[admin_path]/popular_rank.php"),
|
||||
array("300100", "게시판관리", "$g4[admin_path]/board_list.php", "bbs_board"),
|
||||
array("300200", "게시판그룹관리", "$g4[admin_path]/boardgroup_list.php", "bbs_group"),
|
||||
array("300300", "인기검색어관리", "$g4[admin_path]/popular_list.php", "bbs_poplist"),
|
||||
array("300400", "인기검색어순위", "$g4[admin_path]/popular_rank.php", "bbs_poprank"),
|
||||
);
|
||||
?>
|
||||
@ -45,7 +45,8 @@ $sql = " select *
|
||||
limit $from_record, $rows ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$listall = "<a href='$_SERVER[PHP_SELF]' class=tt>처음</a>";
|
||||
if ($sfl || $stx || $sod) // 검색 혹은 정렬일 때만 처음 버튼을 보여줌 : 지운아빠 2012-10-31
|
||||
$listall = '<a href="'.$_SERVER[PHP_SELF].'">처음으로</a>';
|
||||
|
||||
$g4[title] = "관리권한설정";
|
||||
include_once("./admin.head.php");
|
||||
@ -53,51 +54,43 @@ include_once("./admin.head.php");
|
||||
$colspan = 5;
|
||||
?>
|
||||
|
||||
<script type="text/javascript" src="<?=$g4[path]?>/js/sideview.js"></script>
|
||||
<script type="text/javascript">
|
||||
<script src="<?=$g4[path]?>/js/sideview.js"></script>
|
||||
<script>
|
||||
var list_update_php = "";
|
||||
var list_delete_php = "auth_list_delete.php";
|
||||
</script>
|
||||
|
||||
<table width=100%>
|
||||
<form name=fsearch method=get>
|
||||
<tr>
|
||||
<td width=50% align=left>
|
||||
<?=$listall?> (건수 : <?=number_format($total_count)?>)
|
||||
</td>
|
||||
<td width=50% align=right>
|
||||
<select name=sfl class=cssfl>
|
||||
<option value='a.mb_id'>회원아이디</option>
|
||||
</select>
|
||||
<input type=text name=stx class=ed required itemname='검색어' value='<?=$stx?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle></td>
|
||||
</tr>
|
||||
<form id="fsearch" name="fsearch" method="get">
|
||||
<fieldset>
|
||||
<legend>관리권한 검색</legend>
|
||||
<div><span><?=$listall?></span> 설정된 관리권한 <?=number_format($total_count)?>건</div>
|
||||
<input type="hidden" id="sfl" name="sfl" value="a.mb_id">
|
||||
<label for="stx">회원아이디</label>
|
||||
<input type="text" id="stx" name="stx" required value="<?=$stx?>">
|
||||
<input type="submit" id="fsearch_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<form name=fauthlist method=post>
|
||||
<input type=hidden name=sst value='<?=$sst?>'>
|
||||
<input type=hidden name=sod value='<?=$sod?>'>
|
||||
<input type=hidden name=sfl value='<?=$sfl?>'>
|
||||
<input type=hidden name=stx value='<?=$stx?>'>
|
||||
<input type=hidden name=page value='<?=$page?>'>
|
||||
<input type=hidden name=token value='<?=$token?>'>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<colgroup width=30>
|
||||
<colgroup width=120>
|
||||
<colgroup width=150>
|
||||
<colgroup width=''>
|
||||
<colgroup width=100>
|
||||
<tr><td colspan='<?=$colspan?>' class='line1'></td></tr>
|
||||
<tr class='bgcol1 bold col1 ht center'>
|
||||
<td><input type=checkbox name=chkall value='1' onclick='check_all(this.form)'></td>
|
||||
<td><?=subject_sort_link('a.mb_id')?>회원아이디</a></td>
|
||||
<td><?=subject_sort_link('mb_nick')?>별명</a></td>
|
||||
<td>메뉴</td>
|
||||
<td>권한</td>
|
||||
<form id="fauthlist" name="fauthlist" method="post">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row[mb_id]?>">
|
||||
<input type="hidden" name="au_menu[<?=$i?>]" value="<?=$row[au_menu]?>">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" id="th1"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></th>
|
||||
<th scope="col" id="th2"><?=subject_sort_link('a.mb_id')?>회원아이디</a></th>
|
||||
<th scope="col" id="th3"><?=subject_sort_link('mb_nick')?>별명</a></th>
|
||||
<th scope="col" id="th4">메뉴</th>
|
||||
<th scope="col" id="th5">권한</th>
|
||||
</tr>
|
||||
<tr><td colspan='<?=$colspan?>' class='line2'></td></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
@ -111,33 +104,37 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
}
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<input type=hidden name=mb_id[$i] value='$row[mb_id]'>
|
||||
<input type=hidden name=au_menu[$i] value='$row[au_menu]'>
|
||||
<tr class='list$list col1 ht center'>
|
||||
<td><input type=checkbox name=chk[] value='$i'></td>
|
||||
<td><a href='?sfl=a.mb_id&stx=$row[mb_id]'>$row[mb_id]</a></td>
|
||||
<td>$mb_nick</td>
|
||||
<td align=left> [$row[au_menu]] {$auth_menu[$row[au_menu]]}</td>
|
||||
<td>$row[au_auth]</td>
|
||||
</tr>";
|
||||
?>
|
||||
<tr>
|
||||
<td headers="th1"><input type="checkbox" id="chk" name="chk[]" value="'.$i.'"></td>
|
||||
<td headers="th2"><a href="?sfl=a.mb_id&stx=<?=$row['mb_id']?>"><?=$row[mb_id]?></a></td>
|
||||
<td headers="th3"><?=$mb_nick?></td>
|
||||
<td headers="th4"><?=$row['au_menu']?><?=$auth_menu[$row['au_menu']]?></td>
|
||||
<td headers="th5"><?=$row['au_auth']?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo "<tr><td colspan='$colspan' height=100 align=center bgcolor='#FFFFFF'>자료가 없습니다.</td></tr>";
|
||||
echo '<tr><td colspan="'.$colspan.'">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
echo "<tr><td colspan='$colspan' class='line2'></td></tr>";
|
||||
echo "</table>";
|
||||
<?
|
||||
$pagelist = get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");
|
||||
?>
|
||||
|
||||
$pagelist = get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");
|
||||
echo "<table width=100% cellpadding=3 cellspacing=1>";
|
||||
echo "<tr><td width=50%>";
|
||||
echo "<input type=button class='btn1' value='선택삭제' onclick=\"btn_check(this.form, 'delete')\">";
|
||||
echo "</td>";
|
||||
echo "<td width=50% align=right>$pagelist</td></tr></table>\n";
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type="button" value="선택삭제" onclick="btn_check(this.form, 'delete')"></td>
|
||||
<td><?=$pagelist?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
if ($stx)
|
||||
echo "<script type='text/javascript'>document.fsearch.sfl.value = '$sfl';</script>\n";
|
||||
echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>'.PHP_EOL;
|
||||
|
||||
if (strstr($sfl, "mb_id"))
|
||||
$mb_id = $stx;
|
||||
@ -149,67 +146,45 @@ else
|
||||
<script type='text/javascript'> document.fsearch.stx.focus(); </script>
|
||||
|
||||
<?$colspan=5?>
|
||||
<p>
|
||||
|
||||
<form name=fauthlist2 method=post onsubmit="return fauthlist2_submit(this);" autocomplete="off">
|
||||
<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="fauthlist2" name="fauthlist2" method="post" onsubmit="return fauthlist2_submit(this);" autocomplete="off">
|
||||
<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?>">
|
||||
|
||||
<table width='100%' cellpadding=0 cellspacing=0>
|
||||
<colgroup width=150>
|
||||
<colgroup width=''>
|
||||
<colgroup width=150>
|
||||
<colgroup width=120>
|
||||
<colgroup width=100>
|
||||
<tr><td colspan='<?=$colspan?>' class='line1'></td></tr>
|
||||
<tr class='bgcol1 bold col1 ht center'>
|
||||
<td>회원아이디</td>
|
||||
<td>접근가능메뉴</td>
|
||||
<td>권한</td>
|
||||
<td>관리자패스워드</td>
|
||||
<td>입력</td>
|
||||
</tr>
|
||||
<tr><td colspan='<?=$colspan?>' class='line2'></td></tr>
|
||||
<tr class='ht center'>
|
||||
<td><input type=text class=ed name=mb_id required itemname='회원아이디' value='<?=$mb_id?>'></td>
|
||||
<td>
|
||||
<select name=au_menu required itemname='접근가능메뉴'>
|
||||
<option value=''>-- 선택하세요
|
||||
<?
|
||||
foreach($auth_menu as $key=>$value)
|
||||
{
|
||||
if (!(substr($key, -3) == "000" || $key == "-" || !$key))
|
||||
echo "<option value='$key'>[$key] $value";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<table width=210 align=center>
|
||||
<tr align=center>
|
||||
<td width=33%><input type=checkbox name='r' value='r' checked></td>
|
||||
<td width=33%><input type=checkbox name='w' value='w'></td>
|
||||
<td width=33%><input type=checkbox name='d' value='d'></td>
|
||||
</tr>
|
||||
<tr align=center>
|
||||
<td>r<br>(읽기)</td>
|
||||
<td>w<br>(입력,수정)</td>
|
||||
<td>d<br>(삭제)</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td><input type=password class=ed name=admin_password required itemname='관리자 패스워드'></td>
|
||||
<td><input type=submit class=btn1 value=' 확 인 '></td>
|
||||
</tr>
|
||||
<tr><td colspan='<?=$colspan?>' class='line2'></td></tr>
|
||||
</table>
|
||||
<fieldset>
|
||||
<legend>관리권한 추가</legend>
|
||||
<p>아래 양식에서 회원에게 관리권한을 부여하실 수 있습니다. <strong>r</strong>은 읽기권한, <strong>w</strong>은 입력 혹은 수정권한, <strong>d</strong>는 삭제권한입니다.</p>
|
||||
<label for="mb_id">회원아이디</label>
|
||||
<input type="text" id="mb_id" name="mb_id" required value='<?=$mb_id?>'>
|
||||
<label for="au_menu">접근가능메뉴</label>
|
||||
<select id="au_menu" name="au_menu" required>
|
||||
<option value=''>-- 선택하세요
|
||||
<?
|
||||
foreach($auth_menu as $key=>$value)
|
||||
{
|
||||
if (!(substr($key, -3) == "000" || $key == "-" || !$key))
|
||||
echo '<option value="'.$key.'">'.$key.' '.$value;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="checkbox" id="r" name="r" value="r" checked>
|
||||
<label for="r">r</label>
|
||||
<input type="checkbox" id="w" name="w" value="w">
|
||||
<label for="w">w</label>
|
||||
<input type="checkbox" id="d" name="d" value="d">
|
||||
<label for="d">d</label>
|
||||
<label for="admin_password">관리자 패스워드</label>
|
||||
<input type="password" id="admin_password" name="admin_password" required>
|
||||
<input type="submit" value="확인">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function fauthlist2_submit(f)
|
||||
{
|
||||
f.action = "./auth_update.php";
|
||||
|
||||
@ -314,11 +314,11 @@ include_once ("./admin.head.php");
|
||||
<section id="config_mail">
|
||||
<h2><span></span>메일 설정</h2>
|
||||
<table>
|
||||
<caption>홈페이지에서 사용할 메일 기능을 설정합니다.</caption>
|
||||
<caption>기본 메일환경 설정</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" id="th401"><label for="cf_email_use">메일발송 사용</label></th>
|
||||
<td headers="th401" colspan="3"><input type="checkbox" id="cf_email_use" name="cf_email_use" value="1" <?=$config[cf_email_use]?'checked':'';?>> 사용 (체크하지 않으면 메일발송을 아예 사용하지 않습니다. 메일 테스트도 불가합니다.)</td>
|
||||
<td headers="th401"><input type="checkbox" id="cf_email_use" name="cf_email_use" value="1" <?=$config[cf_email_use]?'checked':'';?>> 사용 (체크하지 않으면 메일발송을 아예 사용하지 않습니다. 메일 테스트도 불가합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th402"><label for="cf_use_email_certify">메일인증 사용</label></th>
|
||||
@ -330,46 +330,52 @@ include_once ("./admin.head.php");
|
||||
<td headers="th403"><input type="checkbox" id="cf_formmail_is_member" name="cf_formmail_is_member" value="1" <?=$config[cf_formmail_is_member]?'checked':'';?>> 회원만 사용
|
||||
<?=help("체크하지 않으면 비회원도 사용 할 수 있습니다.")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="cf_"><span class=title>게시판 글 작성시</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<caption>게시판 글 작성 시 메일 설정</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" id="th404"><label for="cf_email_wr_super_admin">최고관리자 메일발송</label></th>
|
||||
<td headers="th404" colspan="3"><input type="checkbox" id="cf_email_wr_super_admin" name="cf_email_wr_super_admin" value="1" <?=$config[cf_email_wr_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
<td headers="th404"><input type="checkbox" id="cf_email_wr_super_admin" name="cf_email_wr_super_admin" value="1" <?=$config[cf_email_wr_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th405"><label for="cf_email_wr_group_admin">그룹관리자 메일발송</label></th>
|
||||
<td headers="th405" colspan="3"><input type="checkbox" id="cf_email_wr_group_admin" name="cf_email_wr_group_admin" value="1" <?=$config[cf_email_wr_group_admin]?'checked':'';?>> 사용 (그룹관리자에게 메일을 발송합니다.)</td>
|
||||
<td headers="th405"><input type="checkbox" id="cf_email_wr_group_admin" name="cf_email_wr_group_admin" value="1" <?=$config[cf_email_wr_group_admin]?'checked':'';?>> 사용 (그룹관리자에게 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th406"><label for="cf_email_wr_board_admin">게시판관리자 메일발송</label></th>
|
||||
<td headers="th406" colspan="3"><input type="checkbox" id="cf_email_wr_board_admin" name="cf_email_wr_board_admin" value="1" <?=$config[cf_email_wr_board_admin]?'checked':'';?>> 사용 (게시판관리자에게 메일을 발송합니다.)</td>
|
||||
<td headers="th406"><input type="checkbox" id="cf_email_wr_board_admin" name="cf_email_wr_board_admin" value="1" <?=$config[cf_email_wr_board_admin]?'checked':'';?>> 사용 (게시판관리자에게 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th407"><label for="cf_email_wr_write">원글 메일발송</label></th>
|
||||
<td headers="th407" colspan="3"><input type="checkbox" id="cf_email_wr_write" name="cf_email_wr_write" value="1" <?=$config[cf_email_wr_write]?'checked':'';?>> 사용 (게시자님께 메일을 발송합니다.)</td>
|
||||
<td headers="th407"><input type="checkbox" id="cf_email_wr_write" name="cf_email_wr_write" value="1" <?=$config[cf_email_wr_write]?'checked':'';?>> 사용 (게시자님께 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th408"><label for="cf_email_wr_comment_all">코멘트 메일발송</label></th>
|
||||
<td headers="th408" colspan="3"><input type="checkbox" id="cf_email_wr_comment_all" name="cf_email_wr_comment_all" value="1" <?=$config[cf_email_wr_comment_all]?'checked':'';?>> 사용 (원글에 코멘트가 올라오는 경우 코멘트 쓴 모든 분들께 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td headers="th"><span class=title>회원 가입시</span></td>
|
||||
<td headers="th408"><input type="checkbox" id="cf_email_wr_comment_all" name="cf_email_wr_comment_all" value="1" <?=$config[cf_email_wr_comment_all]?'checked':'';?>> 사용 (원글에 코멘트가 올라오는 경우 코멘트 쓴 모든 분들께 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<caption>회원가입 시 메일 설정</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" id="th409"><label for="cf_email_mb_super_admin">최고관리자 메일발송</label></th>
|
||||
<td headers="th409" colspan="3"><input type="checkbox" id="cf_email_mb_super_admin" name="cf_email_mb_super_admin" value="1" <?=$config[cf_email_mb_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
<td headers="th409"><input type="checkbox" id="cf_email_mb_super_admin" name="cf_email_mb_super_admin" value="1" <?=$config[cf_email_mb_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" id="th410"><label for="cf_email_mb_member">회원님께 메일발송</label></th>
|
||||
<td headers="th410" colspan="3"><input type="checkbox" id="cf_email_mb_member" name="cf_email_mb_member" value="1" <?=$config[cf_email_mb_member]?'checked':'';?>> 사용 (회원가입한 회원님께 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_"><span class=title>투표 기타의견 작성시</span></td>
|
||||
<td headers="th410"><input type="checkbox" id="cf_email_mb_member" name="cf_email_mb_member" value="1" <?=$config[cf_email_mb_member]?'checked':'';?>> 사용 (회원가입한 회원님께 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<caption>투표 기타의견 작성시 메일 설정</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" id="th411"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th>
|
||||
<td headers="th411" colspan="3"><input type="checkbox" id="cf_email_po_super_admin" name="cf_email_po_super_admin" value="1" <?=$config[cf_email_po_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
<td headers="th411"><input type="checkbox" id="cf_email_po_super_admin" name="cf_email_po_super_admin" value="1" <?=$config[cf_email_po_super_admin]?'checked':'';?>> 사용 (최고관리자에게 메일을 발송합니다.)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -403,8 +409,8 @@ include_once ("./admin.head.php");
|
||||
<caption>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" id="th601"><label for="admin_password">관리자 패스워드</label></td>
|
||||
<td headers="th601" colspan="3">
|
||||
<th scope="row" id="th601"><label for="admin_password">관리자 패스워드</label></th>
|
||||
<td headers="th601">
|
||||
<input type="password" id="admin_password" name="admin_password" required>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -53,7 +53,6 @@ header("Pragma: no-cache"); // HTTP/1.0
|
||||
<? } else { ?>
|
||||
<link rel="stylesheet" href="<?=$g4['path']?>/css/default.css?=<?=date("md")?>">
|
||||
<?}?>
|
||||
</head>
|
||||
<script>
|
||||
// 자바스크립트에서 사용하는 전역변수 선언
|
||||
var g4_path = "<?=$g4['path']?>";
|
||||
@ -72,5 +71,6 @@ var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
|
||||
</script>
|
||||
<script src="<?=$g4['path']?>/js/jquery-1.4.2.min.js"></script>
|
||||
<script src="<?=$g4['path']?>/js/common.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<a id="g4_head"></a>
|
||||
|
||||
@ -684,7 +684,7 @@ function subject_sort_link($col, $query_string='', $flag='asc')
|
||||
}
|
||||
}
|
||||
|
||||
return "<a href='$_SERVER[PHP_SELF]?$query_string&$q1&$q2&sfl=$sfl&stx=$stx&page=$page'>";
|
||||
return '<a href="'.$_SERVER[PHP_SELF].'?'.$query_string.'&'.$q1.'&'.$q2.'&sfl='.$sfl.'&stx='.$stx.'&page='.$page.'">';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user