ok
Direktori : /proc/thread-self/root/home2/selectio/www/ramali.in/dashboard/old/eCart - v5.0.0/ |
Current File : //proc/thread-self/root/home2/selectio/www/ramali.in/dashboard/old/eCart - v5.0.0/social-media.php |
<?php session_start(); // set time for session timeout $currentTime = time() + 25200; $expired = 3600; // if session not set go to login page if (!isset($_SESSION['user'])) { header("location:index.php"); } // if current time is more than session timeout back to login page if ($currentTime > $_SESSION['timeout']) { session_destroy(); header("location:index.php"); } // destroy previous session timeout and create new one unset($_SESSION['timeout']); $_SESSION['timeout'] = $currentTime + $expired; include "header.php"; ?> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="plugins/switchery/switchery.min.css"> <title> Social Media | <?= $settings['app_name'] ?> - Dashboard</title> </head> </body> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <?php include('public/social-media-table.php'); ?> </div><!-- /.content-wrapper --> </body> </html> <?php include "footer.php"; ?> <script src="plugins/switchery/switchery.min.js"></script>