Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
Submit
~
home
cmediaonline-mnfgj
cmediaonline.in
public
admin
File Content:
trendingnews.php
<?php ob_start();?> <?php session_start(); if (!isset($_SESSION['username'])) { $_SESSION['msg'] = "You must log in first"; header('location: login.php'); } if (isset($_GET['logout'])) { session_destroy(); unset($_SESSION['username']); header("location: login.php"); } ?> <?php include "assets/includes/functions.php";?> <?php include "assets/includes/header.php";?> <!-- Page content start --> <div class="page-contentbar"> <!--left navigation start--> <?php include "assets/includes/sidebar.php";?> <!--left navigation end--> <!-- START PAGE CONTENT --> <div id="page-right-content"> <div class="container"> <br><br><br> <div class="panel panel-color panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Trending News......</h3> </div> <div class="panel-body" > <div class="form-group text-right m-b-0"> <form action="" method="post" enctype="multipart/form-data"> <button class="btn btn-primary waves-effect waves-light" type="submit" > <a href="addtrendnews.php" style="color:white;">Add News <span class="ti-plus"></span></a> </button> </form> </div> <hr> <div class="table-responsive m-b-20"> <table id="datatable-keytable" class="table table-striped table-bordered"> <thead> <tr> <th>#</th> <th>Category</th> <th>Heading</th> <!--<th>News Content</th>--> <th>News Pic</th> <th>Watch Count</th> <th>Status</th> <th>Created</th> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> <?php showtrendnews(); ?> <?php deletetrendnews(); ?> </tbody> </table> </div> </div> </div> <!-- end row --> </div> <!-- end container --> <div class="footer"> <div class="pull-right hidden-xs"> Project Completed <strong class="text-custom">100%</strong>. </div> <div> <strong>C Media</strong> - Copyright © 2021 </div> </div> <!-- end footer --> </div> <!-- End #page-right-content --> </div> <!-- end .page-contentbar --> </div> <!-- End #page-wrapper --> <!-- js placed at the end of the document so the pages load faster --> <script src="assets/js/jquery-2.1.4.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/metisMenu.min.js"></script> <script src="assets/js/jquery.slimscroll.min.js"></script> <!-- Datatable js --> <script src="assets/plugins/datatables/jquery.dataTables.min.js"></script> <script src="assets/plugins/datatables/dataTables.bootstrap.js"></script> <script src="assets/plugins/datatables/dataTables.buttons.min.js"></script> <script src="assets/plugins/datatables/buttons.bootstrap.min.js"></script> <script src="assets/plugins/datatables/jszip.min.js"></script> <script src="assets/plugins/datatables/pdfmake.min.js"></script> <script src="assets/plugins/datatables/vfs_fonts.js"></script> <script src="assets/plugins/datatables/buttons.html5.min.js"></script> <script src="assets/plugins/datatables/buttons.print.min.js"></script> <script src="assets/plugins/datatables/dataTables.keyTable.min.js"></script> <script src="assets/plugins/datatables/dataTables.responsive.min.js"></script> <script src="assets/plugins/datatables/responsive.bootstrap.min.js"></script> <script src="assets/plugins/datatables/dataTables.scroller.min.js"></script> <script src="assets/plugins/datatables/dataTables.colVis.js"></script> <script src="assets/plugins/datatables/dataTables.fixedColumns.min.js"></script> <!-- init --> <script src="assets/pages/jquery.datatables.init.js"></script> <!-- App Js --> <script src="assets/js/jquery.app.js"></script> </body> </html> <?php ob_end_flush(); ?>
Edit
Rename
Chmod
Delete