403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.155
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/move/sfadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/news/move/sfadmin//category.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>Add New Catagory</h1></div>

<?php

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

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

$mysqli->query("INSERT INTO categories(c_name) VALUES ('$newcategory')");

?>

<div class="msg-ok">Category added successfully.</div>

<?php }?>

<form id="createcat" class="theform" action="category.php?act=sub" method="post">

<label for="newcategory">Create a New Category</label>
<input type="text" name="newcategory" id="newcategory" value=""/>

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



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

<!--admin-container-->

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

Youez - 2016 - github.com/yon3zu
LinuXploit