Advertisement
Guest User

Untitled

a guest
Oct 25th, 2018
232
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None
  1. <?php
  2. /**
  3. * eXtreme Message Board
  4. * XMB 1.9.11
  5. *
  6. * Developed And Maintained By The XMB Group
  7. * Copyright (c) 2001-2017, The XMB Group
  8. * https://www.xmbforum2.com/
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License
  12. * as published by the Free Software Foundation; either version 2
  13. * of the License, or (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  22. *
  23. **/
  24.  
  25. define('X_SCRIPT', 'poo.php');
  26.  
  27. require 'header.php';
  28.  
  29.  
  30. setCanonicalLink('poo.php');
  31. eval('$css = "'.template('css').'";');
  32. eval('$header = "'.template('header').'";');
  33.  
  34.  
  35.  
  36. $now = $db->time(time());// Current time
  37.  
  38. if($db->query("UPDATE ".X_PREFIX."members SET lastvisit=".$now))
  39. {
  40. $content = "Last login for all users has been set to ". $now;
  41. } else $content ='Query Failed!!!!';
  42.  
  43.  
  44.  
  45.  
  46. eval('$footer = "'.template('footer').'";');
  47. echo $header, $statspage, $content, $footer;
  48. ?>
Advertisement
RAW Paste Data Copied
Advertisement