@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
board
/
skin
/
new02a_eng
/
files
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/board/skin/new02a_eng/files/write_resu.php
<? // È®ÀÎÄÚµå $board_code = rand(1000, 9999); $_head_array = explode(",", $head_txt); //°ü¸®ÀÚ¸¸ ¾²±â,¼öÁ¤ if($adminwrite_option == "Y"){ if(${"LEVEL"} != "°ü¸®ÀÚ"){ if(${"MD5_GBOY_BOARD_ADMIN_".$db} != md5($admin_pass."GBOY_$db")){ $alert_Msg = "°ü¸®ÀÚ ±Û¾²±â°¡ °¡´ÉÇÕ´Ï´Ù. ·Î±×ÀÎ Çϼ¼¿ä."; Mesg_Link("$alert_Msg","$PHP_SELF?db=$db&type=admin&URL=".urlencode($REQUEST_URI)); } } } //°ü¸®ÀÚ¸¸ ´äº¯ if($type == "reinsert"){ if(${"LEVEL"} != "°ü¸®ÀÚ"){ if($admin_reply == "Y" || $admin_notice == "Y"){ if(${"MD5_GBOY_BOARD_ADMIN_".$db} != md5($admin_pass."GBOY_$db")){ $alert_Msg = "°ü¸®ÀÚ¸¸ ´äº¯À» ¾µ¼ö ÀÖ½À´Ï´Ù. ·Î±×ÀÎ Çϼ¼¿ä."; Mesg_Link("$alert_Msg","$PHP_SELF?db=$db&type=admin&URL=".urlencode($REQUEST_URI)); } } } } //ÆäÀÌ¡ º¯¼öµé $search = "&part=$part&word=$word&sort=$sort"; switch($type){ //¼öÁ¤Àΰæ¿ì case "modify"; $login_title = "icon_modif.gif"; $button = "i_modify.gif"; $ment = "»èÁ¦ ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä."; $ntype = "read"; $row = $mysql->row("$_board[table]", "*", "where id='$id' and db='$db'"); $subject = $row[subject]; if($Row[html] == "H") $content = $row[content]; else $content = nl2br($row[content]); //echo $Row[content]; break; //´äº¯ÀÏ °æ¿ì case "reinsert": $login_title = "icon_reply.gif"; $button = "i_wok.gif"; $ment = "¼öÁ¤, »èÁ¦ ÇϽǶ§ ÇÊ¿äÇÕ´Ï´Ù."; $ntype = "read"; $row = $mysql->row("$_board[table]", "subject, content, sort", "where id='$id' && db='$db'"); $subject = "RE : $row[subject]"; $content = "<br><br><br>---------------------- ¿ø ±Û ----------------------"; $content .= "<br>$row[content]"; break; //±Û¾²±âÀÎ °æ¿ì default: $login_title = "icon_write.gif"; $button = "i_wok.gif"; $ment = "¼öÁ¤, »èÁ¦ ÇϽǶ§ ÇÊ¿äÇÕ´Ï´Ù."; if($id){ $id = ""; } //ÄíŰ Àû¿ëÀÎ °æ¿ì if($cookie_option == "Y"){ $Row[name] = ${$db."_NAME_C"}; $Row[email] = ${$db."_MAIL_C"}; $Row[home] = ${$db."_HOME_C"}; } break; } if($backtype == "list") $ntype = "list"; echo" <style> #bbs_write td.write_top {background-color:$bgcolor_tt1;height:2px;} #bbs_write th {font-size:11px; font-family:µ¸¿ò, ±¼¸²; font-weight:bold; color:$_board[board_color]; border-bottom:solid 1px #DCE2E2; padding-left:15px; text-align:left; background-image:url('$_path[web]/skin/$_board[board_skin]/img/board/title_bg.gif'); background-repeat:no-repeat; background-position:right} #bbs_write td.view_body {font-family:µ¸¿ò, ±¼¸²; border-bottom:solid 1px #DCE2E2; padding-left:20px; text-align:left;} </style> <script> function iframe_resize(arg){ obj = document.getElementById(arg); obj.height = eval(arg+'.document.body.scrollHeight'); } function makeCal(f, iname, x, y){ document.getElementById('CalendarF').src = '$_path[web]/_lib/calendar_make.php?f='+f+'&iname='+iname; x = (document.layers)?k.pageX:document.body.scrollLeft+event.clientX y = (document.layers)?k.pageY:document.body.scrollTop+event.clientY document.all.Calendar.style.left = x + 15; document.all.Calendar.style.top = y; document.all.Calendar.style.visibility = 'visible'; } </script> <script id='Cal'></script> <div id='Calendar' style='position:absolute; visibility:hidden'><iframe id='CalendarF' name='CalendarF' src='' height='100' frameborder='0' width='180'></iframe></div> <Script Language='JavaScript' Src='$skinurl/script/write_resu.js'></Script> <table id='bbs_write' border='0' cellpadding='0' cellspacing='0' width='100%' $bgcolor_0> <form name='form' method='post' enctype='multipart/form-data' onSubmit=\"return Check_Text('$style_edit')\" action='$_path[web]/insert.php'> <input type='hidden' name='db' value='$db'> <input type='hidden' name='id' value='$id'> <input type='hidden' name='type' value='$type'> <input type='hidden' name='page' value='$page'> <input type='hidden' name='word' value='$word'> <input type='hidden' name='part' value='$part'> <input type='hidden' name='sort' value='$sort'> <input type='hidden' name='BACK_URL' value='$_SERVER[PHP_SELF]'> <input type='hidden' name='editer' value='$_board[edit_use]'> <tr> <td colspan='2' height='5'></td> </tr> <tr> <td colspan='2' class='write_top'></td> </tr> <tr height=$hh1> <th width='100' nowrap>Area</th> <td width='100%' class='view_body'><input type='text' name='subject' size='50' value='$subject' tabindex='1' class='skin3_input'>"; #### ADMIN NOTICE #### if($_adm_key["admin"] || $_adm_key["board"] || $_adm_key["master"]){ // echo" <input type=checkbox name='notice' value='Y' "; if($row[notice] == "Y") echo"checked"; echo" tabindex=1>°øÁö±Û"; } #### ADMIN NOTICE #### echo" </td> </tr>"; #### Á¦¸ñ #### if($_board[edit_use] == "N"){ echo" <tr height=$hh1> <th>Type</th> <td class='view_body'> <input type='radio' name='html' value='T' "; if($row[html] == "T" || $row[html] == "") echo"CHECKED"; echo" tabindex=1> Text <input type='radio' name='html' value='H' "; if($row[html] == "H") echo"CHECKED"; echo" tabindex=1> Html </td> </tr>"; } else { echo" <input type=hidden name='html' value='H'>"; } /** #### ÀÛ¼ºÀÚ #### $name = ($row[name]) ? $row[name] : $MEMBER_NAME; if($MEMBER_NAME){ echo" <input type='hidden' name='name' value='$name'>"; } else { echo" <tr height=$hh1> <th>ÀÛ¼ºÀÚ</th> <td class='view_body'><input type='text' name='name' size='15' value='$name' tabindex='1' class='skin3_input' $readonly></td> </tr>"; } **/ echo" <tr height=$hh1> <th>Date</th> <td class='view_body'><input type='text' name='etc01' size='20' value='$row[etc01]' tabindex='1' class='skin3_input'></td> </tr>"; /**** Ä«Å×°í¸® ****/ if($_board[cate_use] == "Y"){ echo" <tr height=$hh1> <th>Category</th> <td class='view_body'><select name='sort'>"; $_cate_array = @explode(",", $_board[cate_text]); while(@list($key, $val) = each($_cate_array)){ echo"<option value='$val' "; if($val == $row[sort]) echo"selected"; echo">$val</option>\n"; } echo" </select> </td> </tr>"; } /**** Ä«Å×°í¸® ****/ /**** À̸ÞÀÏ ****/ if($_board[email_write] == "Y"){ echo" <tr height=$hh1> <th>Email</th> <td class='view_body'><input type='text' name='email' size='50' value='$row[email]' tabindex='1' class='skin3_input'></td> </tr>"; } /**** À̸ÞÀÏ ****/ /**** ȨÆäÀÌÁö ****/ if($_board[home_write] == "Y"){ echo" <tr height=$hh1> <th>Homepage</th> <td class='view_body'>http://<input type='text' name='home' size='40' value='$row[home]' tabindex='1' class='skin3_input'></td> </tr>"; } /**** ȨÆäÀÌÁö ****/ /**** ½ºÆÔ¹æÁö ÄÚµå ****/ if($type != "modify" && $_board[spam_code] == "Y"){ // °ü¸®ÀÚ || ȸ¿ø ·Î±×ÀÎÀÌ ¾Æ´Ò¶§ È®ÀÎÄÚµåÀÔ·Â if(!$_adm_key["admin"] && !$_adm_key["board"] && !$_adm_key["master"] && !$_mem_key["id"]){ echo" <input type='hidden' name='board_code' value='".base64_encode($board_code)."'> <tr height=$hh1> <th>Code</th> <td class='view_body'><img src='$_path[web]/deal.php?mode=code&br=255&bg=255&bb=255&code=".base64_encode($board_code)."' align='absmiddle'> <input type='text' name='rand_code' size='10' tabindex='1' class='skin3_input' maxlength='4'> [ Inpute the code ]</td> </tr>"; } } /**** ½ºÆÔ¹æÁö ÄÚµå ****/ // ±Û ³»¿ë if($_board[edit_use] == "Y"){ if($type == "modify" || $type == "reinsert"){ echo"<textarea name='oldcontent' style='display:none'>$content</textarea>"; } echo" <input type='hidden' name='content'> <tr> <td colspan='2' class='view_body' style='padding:2; padding-left:5; padding-right:5'>"; include"$_path[board]/editer/index.php"; echo" </td> </tr>"; } else { echo" <tr height=$hh1> <th>Contents</th> <td class='view_body'><textarea name=content style='width:98%; height:210' wrap=virtual class='skin3_textarea'>$content</textarea></td> </tr>"; } #### ±Û ³»¿ë #### echo" <tr height=$hh1> <th>Password</th> <td class='view_body'><input type='password' name='pass' value='$row[pass]' size='15' class='skin3_input' maxlength='12'></td> </tr>"; if($_board[content_open] == "Y" && $type != "reinsert" && $row[loc]==0){ echo" <tr height=$hh1> <th>Open</th> <td class='view_body'><input type='radio' name='open' value='Y' checked> open <input type='radio' name='open' value='N' "; if($row[open] == "N") echo"checked"; echo">Close</td> </tr>"; } if($db == "resu") $_board[fileup_num] = 8; #### ÆÄÀϾ÷·Îµå #### for($i=1; $i<=$_board[fileup_num]; $i++){ echo" <tr height=$hh1> <th>File $i</th> <td class='view_body'><input type='file' name='fileup[]' size='50' class='skin3_input'></td> </tr>"; } #### ÆÄÀϾ÷·Îµå #### echo" <tr height='40'> <td colspan='2' align='center'> <input type='image' src='$skinurl/img/$btn/$button' style='border:0;' align='absmiddle'> <input type='image' onclick='history.back(); return false;' src='$skinurl/img/$btn/i_cancle.gif' align='absmiddle'></a> </td> </tr> </form> </table>"; ?>