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 :  E:/Inetpub/www/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/news//file_school_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>Untitled Document</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/colorbox.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css" href="css/style_1.css" />
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
		<script src="../file/js/modernizr.js"></script>

<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
.inputs {
    outline: none;
    display: block;
    width: 480px;
    padding: 4px 8px;
    border: 1px dashed #DBDBDB;
    color: #3F3F3F;
    font-family: 'Droid Sans', Tahoma, Arial, Verdana sans-serif;
    font-size: 16px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: background 0.2s linear, box-shadow 0.6s linear;
    -moz-transition: background 0.2s linear, box-shadow 0.6s linear;
    -o-transition: background 0.2s linear, box-shadow 0.6s linear;
    transition: background 0.2s linear, box-shadow 0.6s linear;
}

.inputs:focus {
    background: #F7F7F7;
    border: dashed 1px #969696;
    -webkit-box-shadow: 2px 2px 7px #E8E8E8 inset;
    -moz-box-shadow: 2px 2px 7px #E8E8E8 inset;
    box-shadow: 2px 2px 7px #E8E8E8 inset;
}
.inputs1 {    outline: none;
    display: block;
    width: 480px;
    padding: 4px 8px;
    border: 1px dashed #DBDBDB;
    color: #3F3F3F;
    font-family: 'Droid Sans', Tahoma, Arial, Verdana sans-serif;
    font-size: 16px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: background 0.2s linear, box-shadow 0.6s linear;
    -moz-transition: background 0.2s linear, box-shadow 0.6s linear;
    -o-transition: background 0.2s linear, box-shadow 0.6s linear;
    transition: background 0.2s linear, box-shadow 0.6s linear;
}
</style>
</head>

<body>
<div class="title">
<h3>แก้ไข ประกาศข่าว จัดซื้อ/จัดจ้าง </h3>
</div>	
<?  

include("db.php");     
$id = $mysqli->escape_string($_GET['id']);
$story = $mysqli->query("SELECT * FROM sc_news WHERE id='$id' LIMIT 1");
$storyrow = mysqli_fetch_array($story);

	$title = $storyrow['title'];
	$detail = $storyrow['detail'];
	$uid = $storyrow['uid'];	
	$file_name = $storyrow['file_name'];	
	$date_news = $storyrow['date_news'];	
	$views = $storyrow['views'];
 ?>
<form id="form1" name="form1" method="post" action="file_school_edit_save.php?id=<?php echo $id;?>&uid=<?php echo $uid;?>" enctype="multipart/form-data" onsubmit="return checkma()">
                    <br />			
                    <table width="70"   border="0" cellpadding="1" cellspacing="0">
                      <tr style="BORDER-BOTTOM: #999999 1px solid; BORDER-LEFT: #999999 1px solid; BORDER-TOP: #999999 1px solid; BORDER-RIGHT: #999999 1px solid" border="0" cellspacing="0" cellpadding="5">
                        <td height="28" valign="top" bgcolor="#F7F7F7" style="BORDER-BOTTOM: #999999 1px solid; BORDER-LEFT: #999999 1px solid; BORDER-TOP: #999999 1px solid; BORDER-RIGHT: #999999 1px solid "  border="0" cellspacing="0" cellpadding="1">
	                      <table width="450" border="0" cellpadding="0" cellspacing="2">
                            <tr>
                              <td>&nbsp;</td>
                              <td> 
  <input type="hidden" value="<?php echo $id;?>" name="id" id="id" /></td>
                            </tr>

                            <tr>
                              <td>&nbsp;</td>
                              <td><span class="style1">
                                <label><strong>ชื่อเรื่อง : </strong></label>
                              <label>                              </label>
                              </span>
                                <label>
                                <input name="title" type="text" class="inputs" id="title" value="<?php echo $title;?>" size="50"  />
                                </label></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td><span class="style1">
                                <label><strong>รายละเอียด : </strong></label>
                              <label>                              </label>
                              </span>
                                <label><textarea name="detail" cols="50" rows="4" class="inputs" id="detail"><?php echo $detail;?></textarea>
                                </label></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td>
							  <?php if ($file_name=="0" or $file_name=="") { ?>
							  <span class="style1"><strong>เลือกไฟล์ :</strong></span> 
                                <input name="filUpload[]" type="file" />
							<?php } else {
echo "<img src='images/text_block.png'><font size=\"2\" face=\"Tahoma, MS Sans Serif, sans-serif\"><a href='schoolfile/$file_name' target='_blank'>$file_name</a></font>";
echo "<font size=\"2\" face=\"Tahoma, MS Sans Serif, sans-serif\"> <a href='file_school_edit_del.php?id=$id&uid=$uid' onclick=\"return  confirm('คุณแน่ใจที่จะลบไฟล์แนบนี้ออกจากระบบ ?')\"><img src='images/del.png' alt='ลบ' width='16'></a><br>";
	}					
							?>
<script type="text/javascript">
		;(function( $ ) {

		  // Browser supports HTML5 multiple file?
		  var multipleSupport = typeof $('<input/>')[0].multiple !== 'undefined',
		      isIE = /msie/i.test( navigator.userAgent );

		  $.fn.customFile = function() {

		    return this.each(function() {

		      var $file = $(this).addClass('customfile'), // the original file input
		          $wrap = $('<div class="customfile-wrap">'),
		          $input = $('<input type="text" class="customfile-filename" />'),
		          // Button that will be used in non-IE browsers
		          $button = $('<button type="button" class="customfile-upload">Open</button>'),
		          // Hack for IE
		          $label = $('<label class="customfile-upload" for="'+ $file[0].id +'">Open</label>');

		      // Hide by shifting to the left so we
		      // can still trigger events
		      $file.css({
		        position: 'absolute',
		        left: '-9999px'
		      });

		      $wrap.insertAfter( $file )
		        .append( $file, $input, ( isIE ? $label : $button ) );

		      // Prevent focus
		      $file.attr('tabIndex', -1);
		      $button.attr('tabIndex', -1);

		      $button.click(function () {
		        $file.focus().click(); // Open dialog
		      });

		      $file.change(function() {

		        var files = [], fileArr, filename;

		        // If multiple is supported then extract
		        // all filenames from the file array
		        if ( multipleSupport ) {
		          fileArr = $file[0].files;
		          for ( var i = 0, len = fileArr.length; i < len; i++ ) {
		            files.push( fileArr[i].name );
		          }
		          filename = files.join(', ');

		        // If not supported then just take the value
		        // and remove the path to just show the filename
		        } else {
		          filename = $file.val().split('\\').pop();
		        }

		        $input.val( filename ) // Set the value
		          .attr('title', filename) // Show filename in title tootlip
		          .focus(); // Regain focus

		      });

		      $input.on({
		        blur: function() { $file.trigger('blur'); },
		        keydown: function( e ) {
		          if ( e.which === 13 ) { // Enter
		            if ( !isIE ) { $file.trigger('click'); }
		          } else if ( e.which === 8 || e.which === 46 ) { // Backspace & Del
		            // On some browsers the value is read-only
		            // with this trick we remove the old input and add
		            // a clean clone with all the original events attached
		            $file.replaceWith( $file = $file.clone( true ) );
		            $file.trigger('change');
		            $input.val('');
		          } else if ( e.which === 9 ){ // TAB
		            return;
		          } else { // All other keys
		            return false;
		          }
		        }
		      });

		    });

		  };

		  // Old browser fallback
		  if ( !multipleSupport ) {
		    $( document ).on('change', 'input.customfile', function() {

		      var $this = $(this),
		          // Create a unique ID so we
		          // can attach the label to the input
		          uniqId = 'customfile_'+ (new Date()).getTime(),
		          $wrap = $this.parent(),

		          // Filter empty input
		          $inputs = $wrap.siblings().find('.customfile-filename')
		            .filter(function(){ return !this.value }),

		          $file = $('<input type="file" id="'+ uniqId +'" name="'+ $this.attr('name') +'"/>');

		      // 1ms timeout so it runs after all other events
		      // that modify the value have triggered
		      setTimeout(function() {
		        // Add a new input
		        if ( $this.val() ) {
		          // Check for empty fields to prevent
		          // creating new inputs when changing files
		          if ( !$inputs.length ) {
		            $wrap.after( $file );
		            $file.customFile();
		          }
		        // Remove and reorganize inputs
		        } else {
		          $inputs.parent().remove();
		          // Move the input so it's always last on the list
		          $wrap.appendTo( $wrap.parent() );
		          $wrap.find('input').focus();
		        }
		      }, 1);

		    });
		  }

		}( jQuery ));

		$('input[type=file]').customFile();
	</script>		
		
                                <span class="style1">*</span> ไฟล์ *.pdf *.doc *.docx *.7z *.rar *.zip *.xls *.xlsx
<br>
<span id="mySpan"></span></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <td width="2%">&nbsp;</td>
                              <td width="98%"><center><input name="submit" type="submit" id="submit" style="BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid; background-color:#CFCFCF; width: 8em;  height: 3em;" value="บันทึกข้อมูล"/>
                              </center></td>
                            </tr>
                          </table>
</td >
                      </tr>
  </table>
</form>
<?php 

?><br>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit