@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
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/board/install.php
<? include_once"$_SERVER[DOCUMENT_ROOT]/board/_setup.php"; // ÀúÀÛ±Ç Ç¥±â(ÁÖ¼®) include "$_path[board]/_admin/copyright.php"; $_PAGE_CHK[check] = true; echo" <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> <html> <head> <script src='./_admin/admin.js'></script> <link rel='stylesheet' type='text/css' href='./_admin/style.css'> <style> #badm-wrap *, h1 {margin:0px; padding:0px} h1 {font-size:26px; margin-top:40px; margin-bottom:10px;} #badm-wrap ul, #badm-wrap li, #badm-wrap ol {list-style-type:none;} #badm-wrap ul {border:0px solid #F00; text-align:right; padding:4px 0px;} #badm-wrap ul li {display:inline; font-size:12px; padding-right:10px;} #badm-wrap #f-table {width:100%; background-color:#FFF; border:1px solid #CCC; border-collapse:separate; border-spacing:2px;} #badm-wrap #f-table th {color:#444; width:18%; background-color:#EEE; padding-left:15px; text-align:left; border:0px solid #F00;} #badm-wrap #f-table td {background-color:#F6F6F6; width:32%; padding-left:10px; text-align:left;} #badm-wrap #f-table3 {width:100%; background-color:#FFF; border:1px solid #CCC; border-collapse:separate; border-spacing:2px;} #badm-wrap #f-table3 th.form {color:#444; width:18%; background-color:#EEE; padding-left:15px; text-align:left; border:0px solid #F00;} #badm-wrap #f-table3 td.form {background-color:#F6F6F6; width:32%; padding-left:10px; text-align:left;} #badm-wrap #l-table {width:100%; border:1px solid #CCC; border-collapse:separate; border-spacing:2px;} #badm-wrap #l-table th {text-align:center; font-weight:bold; background-color:#EEE} #badm-wrap #l-table td {text-align:left; padding-left:10px; background-color:#F6F6F6} #badm-wrap #l-table td.last {text-align:center; font-weight:bold; background-color:#EEE} #badm-wrap p#bottom-btn { margin:18px 0; text-align:center;} #b-copy {margin:40px 0px; text-align:center;} </style> </head> <body> <div style='text-align:center;'> <h1>$board_var</h1> <div style='width:800px; margin:0px auto;'>"; if(!is_dir("./data")){ echo"<div style='height:140; padding-top:50;'><b>data Æú´õ¸¦ »ý¼ºÇϽÅÈÄ µî·ÏÇϼ¼¿ä</b></div>"; } else { //Ãʱ⠼³Á¤ÀÏ °æ¿ì if(fileperms("./data")!="16895"){ echo"<div style='height:140px; padding-top:50px; font-weight:bold'>/board/data Æú´õÀÇ ÆÛ¹Ì¼ÇÀ» 777·Î º¯°æ ÈÄ µî·ÏÇϼ¼¿ä.</div>"; } else if(fileperms("../admin/updata")!="16895"){ echo"<div style='height:140px; padding-top:50px; font-weight:bold'>/admin/updata Æú´õÀÇ ÆÛ¹Ì¼ÇÀ» 777·Î º¯°æ ÈÄ µî·ÏÇϼ¼¿ä.</div>"; } else { $_INSTALL_PAGE = "DONE"; switch($type){ case "mysql_setup_edit": if($_adm_key["master"] != md5($_board["board_master"].$_hash)){ $lib->alert_go("°Ô½ÃÆÇ ȯ°æ¼³Á¤ °ü¸®ÀÚ ·Î±×ÀÎ Çϼ¼¿ä.","board.php?db=$db&type=admin_install"); } else { include"$_path[board]/_admin/admin_install.php"; } break; case "mysql_setup": if($_adm_key["master"] != md5($_board["board_master"].$_hash)){ $lib->alert_go("°Ô½ÃÆÇ ȯ°æ¼³Á¤ °ü¸®ÀÚ ·Î±×ÀÎ Çϼ¼¿ä.","board.php?db=$db&type=admin_install"); } else { include"$_path[board]/_admin/admin_install.php"; } break; case"myadmin": include "$_path[board]/_admin/admin_myadmin.php"; break; //ÃʱⰪ default: if($_adm_key["master"] != md5($_board["board_master"].$_hash)){ if(!@file_exists("./data/_info.php")){ include "$_path[board]/_admin/admin_install.php"; }else{ $lib->alert_go("°Ô½ÃÆÇ ȯ°æ¼³Á¤ °ü¸®ÀÚ ·Î±×ÀÎ Çϼ¼¿ä.","board.php?db=$db&type=admin_install&URL=".urlencode($REQUEST_URI)); } } else { include "$_path[board]/_admin/admin_write.php"; } break; } } } echo" </div> </div> <p id='b-copy'>Copyright ¨Ï2002 <a href='mailto:master@adw.co.kr'><b>¾ÖµåÀ¥</b></a> All rights reserved. Designed by <a href='http://adw.co.kr' target='_blank'>adw.co.kr</a></p> </body> </html>"; //ÀúÀÛ±Ç Ç¥±â(ÁÖ¼®) include "$_path[board]/_admin/copyright.php"; ?>