관리자: 리디자인 14, cbox 적용 완료

This commit is contained in:
whitedot
2013-02-15 11:13:35 +09:00
parent b1f4cf5c55
commit f19b6ef0e3
9 changed files with 1211 additions and 1178 deletions

View File

@ -39,82 +39,83 @@ $g4['title'] = '회원메일발송';
include_once('./admin.head.php');
?>
<form id="frmsendmailselectform" name="frmsendmailselectform" method="post" action="./mail_select_list.php" autocomplete="off">
<input type="hidden" name="ma_id" value='<?=$ma_id?>'>
<table class="frm_tbl">
<caption>
메일발송대상 선택
<section class="cbox">
<h2>메일발송대상 선택</h2>
<p>
전체회원 <?=number_format($tot_cnt)?>명 , 탈퇴대기회원 <?=number_format($finish_cnt)?>명, 정상회원 <?=number_format($tot_cnt - $finish_cnt)?>명 중 메일 발송 대상 선택
</p>
</caption>
<tbody>
<tr>
<th scope="row">회원 ID</th>
<td>
<input type="radio" id="mb_id1_all" name="mb_id1" value="1" <?=$mb_id1?"checked":"";?>> <label for="mb_id1_all">전체</label>
<input type="radio" id="mb_id1_section" name="mb_id1" value="0" <?=!$mb_id1?"checked":"";?>> <label for="mb_id1_section">구간</label>
<input type="text" id="mb_id1_from" name="mb_id1_from" value="<?=$mb_id1_from?>" title="시작구간"> 에서
<input type="text" id="mb_id1_to" name="mb_id1_to" value="<?=$mb_id1_to?>" title="종료구간"> 까지
</td>
</tr>
<tr>
<th scope="row"><label for="mb_email">E-mail</label></th>
<td><input type="text" id="mb_email" name="mb_email" value="<?=$mb_email?>" size="50"> 단어 포함 (예 : @sir.co.kr)</td>
</tr>
<tr>
<th scope="row"><label for="mb_mailling">메일링</label></th>
<td>
<select id="mb_mailling" name="mb_mailling">
<option value="1">수신동의한 회원만
<option value="">전체
</select>
<script> document.getElementById('mb_mailling').value = '<?=$mb_mailling?>'; </script>
</td>
</tr>
<tr>
<th scope="row"><label for="mb_level_from">권한</label></th>
<td>
<select id="mb_level_from" name="mb_level_from" title="최소권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value='<? echo $i ?>'><? echo $i ?></option>
<? } ?>
</select> 에서
<select id="mb_level_to" name="mb_level_to" title="최대권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value='<? echo $i ?>'><? echo $i ?></option>
<? } ?>
</select> 까지
<script> document.getElementById('mb_level_from').value = '<?=$mb_level_from?>'; </script>
<script> document.getElementById('mb_level_to').value = '<?=$mb_level_to?>'; </script>
</td>
</tr>
<tr>
<th scope="row"><label for="gr_id">게시판그룹회원</label></th>
<td>
<select id="gr_id" name="gr_id">
<option value=''>전체</option>
<?
$sql = " select gr_id, gr_subject from {$g4['group_table']} order by gr_subject ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
echo '<option value="'.$row['gr_id'].'">'.$row['gr_subject'].'</option>';
}
?>
</select>
<script> document.getElementById('gr_id').value = '<?=$gr_id?>'; </script>
</td>
</tr>
</tbody>
</table>
<div class="btn_confirm">
<input type="submit" class="btn_submit" value="확인">
<a href="./mail_list.php">목록 </a>
</div>
</form>
<form id="frmsendmailselectform" name="frmsendmailselectform" method="post" action="./mail_select_list.php" autocomplete="off">
<input type="hidden" name="ma_id" value='<?=$ma_id?>'>
<table class="frm_tbl">
<tbody>
<tr>
<th scope="row">회원 ID</th>
<td>
<input type="radio" id="mb_id1_all" name="mb_id1" value="1" <?=$mb_id1?"checked":"";?>> <label for="mb_id1_all">전체</label>
<input type="radio" id="mb_id1_section" name="mb_id1" value="0" <?=!$mb_id1?"checked":"";?>> <label for="mb_id1_section">구간</label>
<input type="text" id="mb_id1_from" name="mb_id1_from" value="<?=$mb_id1_from?>" title="시작구간"> 에서
<input type="text" id="mb_id1_to" name="mb_id1_to" value="<?=$mb_id1_to?>" title="종료구간"> 까지
</td>
</tr>
<tr>
<th scope="row"><label for="mb_email">E-mail</label></th>
<td><input type="text" id="mb_email" name="mb_email" value="<?=$mb_email?>" size="50"> 단어 포함 (예 : @sir.co.kr)</td>
</tr>
<tr>
<th scope="row"><label for="mb_mailling">메일링</label></th>
<td>
<select id="mb_mailling" name="mb_mailling">
<option value="1">수신동의한 회원만
<option value="">전체
</select>
<script> document.getElementById('mb_mailling').value = '<?=$mb_mailling?>'; </script>
</td>
</tr>
<tr>
<th scope="row"><label for="mb_level_from">권한</label></th>
<td>
<select id="mb_level_from" name="mb_level_from" title="최소권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value='<? echo $i ?>'><? echo $i ?></option>
<? } ?>
</select> 에서
<select id="mb_level_to" name="mb_level_to" title="최대권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value='<? echo $i ?>'><? echo $i ?></option>
<? } ?>
</select> 까지
<script> document.getElementById('mb_level_from').value = '<?=$mb_level_from?>'; </script>
<script> document.getElementById('mb_level_to').value = '<?=$mb_level_to?>'; </script>
</td>
</tr>
<tr>
<th scope="row"><label for="gr_id">게시판그룹회원</label></th>
<td>
<select id="gr_id" name="gr_id">
<option value=''>전체</option>
<?
$sql = " select gr_id, gr_subject from {$g4['group_table']} order by gr_subject ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
echo '<option value="'.$row['gr_id'].'">'.$row['gr_subject'].'</option>';
}
?>
</select>
<script> document.getElementById('gr_id').value = '<?=$gr_id?>'; </script>
</td>
</tr>
</tbody>
</table>
<div class="btn_confirm">
<input type="submit" class="btn_submit" value="확인">
<a href="./mail_list.php">목록 </a>
</div>
</form>
</section>
<?
include_once('./admin.tail.php');