|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/yuchun/admin/ |
Upload File : |
<?include $_SERVER['DOCUMENT_ROOT']."/admin/adminTopMenu.html";?>
<script type="text/javascript">
function go_List() {
var f = document.form;
f.action = 'memberlist1.php?act=4';
f.submit();
}
function joinChk(val,mval){
var obj = document.form;
if(!val){
if(!obj.id.value){
alert("会員IDを入力して下さい");
obj.id.focus();
return false;
}else if(!obj.idchk.value){
alert("IDチェックをクリックして下さい。");
obj.id.focus();
return false;
}
}
obj.idx.value = val;
obj.mode.value = mval;
obj.action = "./Proc/cash_member_proc.php";
obj.submit();
}
</script>
<form name="form" method="post" target="_self" onsubmit="return false;" >
<input type=hidden name="idx" value="<?=$idx?>">
<input type=hidden name="mode" value="<?=$mode?>">
<div id="contents">
<h2>회원관리</h2>
<div id="content">
<?include "./membertab.html"?>
<?
if($sessionLevel !=15){
echo "<script>alert('admin page');history.back();</script>";
}
if($idx){
$res = Get_dbres("select * from user_cash where id = '$idx'");
$row = mysql_fetch_array($res);
$m_startdate = explode("-","$row[m_startdate]");
$m_enddate = explode("-","$row[m_enddate]");
$resub = Get_dbres("select * from user_profiles where user_id = '$idx'");
$rows = mysql_fetch_array($resub);
$tel = explode("-","$rows[tel]");
$juso = $rows[juso];
$birthday = explode("-","$rows[birthday]");
}
?>
<table class="member" summary="관리자모드 게시판입니다" cellspacing="0">
<colgroup>
<col width="120"/>
<col />
</colgroup>
<tbody>
<tr>
<th>아이디</th>
<td class="depth"><input type="text" name="userid" value="<?=$row[userid]?>" class="input_box" style="background-color:#CCC; border:0" /></td>
</tr>
<tr>
<th>영문</th>
<td class="depth"><input type="text" name="ecname" value="<?=$row[ecname]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>일어</th>
<td class="depth"><input type="text" name="jcname" value="<?=$row[jcname]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>한문</th>
<td class="depth"><input type="text" name="ccname" value="<?=$row[ccname]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>신청일</th>
<td class="depth"><input type="text" name="reg_date" value="<?=$row[reg_date]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>시작일</th>
<td class="depth"><input type="text" name="startdate" value="<?=$row[startdate]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>마감일</th>
<td class="depth"><input type="text" name="enddate" value="<?=$row[enddate]?>" style="background-color:#CCC; border:0"></td>
</tr>
<tr>
<th>입금완료일</th>
<td class="depth"><input type="text" name="admin_date" value="<?=$row[admin_date]?>" style="background-color:#CCC; border:0" size="40"></td>
</tr>
<tr>
<th>회차</th>
<td class="depth"><input type="text" name="inning" value="<?=$row[inning]?>" style="background-color:#CCC; border:0" size="40"></td>
</tr>
</tbody>
</form>
</table>
<div class="btn">
<a href="javascript:joinChk('<?=$idx?>','proc')" class="btn_red">수 정</a> <a href="javascript:go_List()" class="btn_blue">목 록</a>
</div>
</div>
</div>
<p></p>
</body>
</html>