KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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/www/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/admin/memberlist3.php
<?include $_SERVER['DOCUMENT_ROOT']."/admin/adminTopMenu.html";?>
<script type="text/JavaScript"> 
function goPage(page)
{
	var f = document.form;
	f.page.value = page;
	f.action = '/admin/memberlist3.php';
	f.submit();
}
</script>
 
<script src="/share/js/formcheck.js" type="text/javascript"></script>
<script type="text/javascript"> 
function validate()
{
	if(!chkBlank(frm.user_id,"아이디를 입력해 주십시요.")) {return false;}
	return true;
}
 
function go_Delete(user_id) {
	if(confirm("등록된 아이디가 삭제 됩니다.\n삭제하시겠습니까?")) {
		var f = document.form;
		f.fd.value = 'del';
		f.user_id.value = user_id;
		f.action = './Proc/denied_proc.php';
		f.submit();
	}
}
</script>
<?
	if(!$pageCount) $pageCount = 15;

	$show_one_page			= $pageCount;
	$show_view_page			= 10; 
	$page     = ( $page ) ? $page : 1;
	$offset   = ($page-1)*$show_one_page;
		 
	

	

	$order_by = ' ORDER BY id DESC';
	
	$url_tail = "&tab=$tab&tabs=$tabs&key=$key&order_by=$order_by&LK=$LK&sort=$sort";
	$query_limit  = "limit $offset,$show_one_page";
	$total_count = Get_db("SELECT count(*) FROM userChk");
	$QUERY_PAGE  = "SELECT * FROM userChk where 1=1 $where $order_by $query_limit";

	$total_page   = ceil( $total_count / $show_one_page);
	$start_num    = $total_count - $offset;  // 
	$viewlist2     = ( !$total_count ) ? "" : Get_viewpage2($page,$total_count,$show_one_page,$show_view_page,$url_tail);
  
	$result= mysql_query($QUERY_PAGE,$db_con);
	if(!$result) {
		error("DB_ERROR");
		exit;
	}
	$total = mysql_affected_rows();
?>
<div id="contents">
	<h2>회원관리</h2>
	<div id="content">
 
		<?include "./membertab.html"?>
 
		<table class="member" summary="관리자모드 게시판입니다" cellspacing="0" >
			<colgroup>
				<col width="60" />
				<col />
				<col />
				<col width="80" />
			</colgroup>
			<thead>
				<tr>
					<th>번호</th>
					<th>아이디</th>
					<th>등록일</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
<form name="form" method="post" target="_self" onsubmit="return false;" > 
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="totalRow" value="<?=$total_count?>" >
<input type="hidden" name="searchType" value="">
<input type="hidden" name="searchStr" value="">
<input type="hidden" name="searchGroup" value="">
<input type="hidden" name="fd" value="">
<input type="hidden" name="user_id" value="">
</form>
 <?
	if(!$total){
		echo "<tr><td colspan='3' align=center  height='50px'>登録された情報がございません</td></tr>";
	}else if(($sessionLevel == 3 || $sessionLevel == "") && ($tabs==4 || $tabs==6 || $tabs==7)){

		//echo "<tr><td colspan='3' align=center  height='50px'>유료회원 페이지 입니다.</td></tr>";
		echo "<tr><td colspan='3' align=center  height='50px'>$membersJapansName</td></tr>";
	}else{
		for($i=0; $i<$total; $i++) {
			$row = mysql_fetch_array($result);
			$Num = $start_num - $i;
			$created = substr($row[created],0,10);
	?>
				<tr>
					<td><?=$Num?></td>
					<td class="depth"><?=$row[user_id]?></td>
					<td><?=$row[reg_date]?></td>
					<td><a href="javascript:go_Delete('<?=$row[order_id]?>');"><img src="/admin/images/out.png"></a></td>
				</tr>
	<?
		$Num--;
		}
	}
	?>
			</tbody>
		</table>
		<div class="page_list">
		<!--  prev/next_std -->
		<?=$viewlist2?>
 
		<!--  prev/next_end -->
		</div>
		<form name="frm" method="post" action="./Proc/denied_proc.php" onsubmit="return validate();"">
		<input type="hidden" name="fd" value="post">
		<input type="hidden" name="act" value="3">
		<!--table class="member" summary="관리자모드 게시판입니다" cellspacing="0" >
			<colgroup>
				<col width="120" />
				<col />
			</colgroup>
			<tbody>
				<tr>
					<th>아이디</th>
					<td class="depth"><input type="text" name="user_id" class="user_id" /></td>
				</tr>
			</tbody>
		</table>
		<div class="btn">
			<input type="submit" value="등록" class="btn_red" />
		</div>
		</from-->
	</div>
</div>
<p></p>
</body>
</html>


Anon7 - 2021