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/Image_write.php
<?include $_SERVER['DOCUMENT_ROOT']."/admin/adminTopMenu.html";?>
<script type="text/javascript"> 
function validate()
{
	if(!chkBlank(frm.title,"타이틀을 입력하여 주십시요.")) {return false;}
	if(!chkBlank(frm.thumnail,"썸네일 이미지를 등록하여 주십시요.")) {return false;}
	return true;
}
 
function go_List() {
	var f = document.form;
	f.action = 'Image.php';
	f.submit();
}
 
function goLang(lang_code) {
	var f = document.form;
	f.lang_code.value = lang_code;
	f.action = 'Image_write.php';
	f.submit();
}
 
function makeInput(strNum) {
	var tempInput = "";
 
	for(var i=1;i <= strNum; i++) {
		if(i < 10) {
			x = "0"
		} else {
			x = ""
		}
		tempInput += x+i+". 이미지  <input type='file' name='conImg[]' size='30' /><br><br>\n";
	}
 
	document.getElementById("make").innerHTML = tempInput;
}
</script>
<div id="contents">
	<h2>Multimedia Image</h2>
	<div id="content">
 
	<form name="form" method="post" target="_self" onsubmit="return false;" > 
<input type="hidden" name="page" value="1">
<input type="hidden" name="totalRow" value="22" >
<input type="hidden" name="searchType" value="">
<input type="hidden" name="searchStr" value="">
<input type="hidden" name="searchGroup" value="">
<input type="hidden" name="lang_code" value="KO">
</form>
 
	<form name="frm" method="post" action="./Proc/Image_proc.php" onsubmit="return validate();" enctype="multipart/form-data">
	<input type="hidden" name="fd" value="post">
	<input type="hidden" name="category" value="gallery">
	<input type="hidden" name="inputtype" value="">
	<table class="write" summary="관리자모드 게시판입니다" cellspacing="0">
		<colgroup>
			<col width="120" />
			<col />
		</colgroup>
			<tbody>
				<tr>
					<th>member check</th>
					<td><input  type="checkbox" id="m_chk" name="m_chk" class="input_box"/><b>member only</b></td>
				</tr>
				<tr>
					<th>is_secret</th>
					<td><input  type="checkbox" id="is_secret" name="is_secret" class="input_box" value="Y"/><b>secret check</b></td>
				</tr>
				<tr>
					<th>Main Title</th>
					<td><input type="text" name="title" class="title" /></td>
				</tr>
				<tr>
					<th>thumnail Img</th>
					<td><input type="file" name="thumnail"/></td>
				</tr>
				<tr>
					<th>Date</th>
					<td><input type="text" value="" name="usedate"/></td>
				</tr>
				<tr>
					<th>Contents</th>
					<td><textarea cols="100" style="height:100px;" name="contents"></textarea></td>
				</tr>
				<tr>
					<th>Images Count</th>
					<td><input type="text" name="filecnt" onkeyup="javascript:makeInput(this.value)" /></td>
				</tr>
				<tr>
					<th>Images Attach</th>
					<td><div id="make"></div></td>
				</tr>
			</tbody>
		</table>
		<div class="btn">
			<!--
			<input type="button" value="임시저장" class="btn_blue" />
			<input type="button" value="미리보기" class="btn_blue" />
			-->
			<input type="submit" value="등록하기" class="btn_red" />
			<a href="javascript:go_List();" class="btn_blue">목록보기</a>
		</div>
		</form>
	</div>
	</div>
<p></p>
</body>
</html>


Anon7 - 2021