File: 1.07.0a/server/web/confirm.php (View as HTML)

  1: <?php
  2: /* -------------------------------------------------------------
  3: This file is part of FreeNATS
  4: 
  5: FreeNATS is (C) Copyright 2008 PurplePixie Systems
  6: 
  7: FreeNATS is free software: you can redistribute it and/or modify
  8: it under the terms of the GNU General Public License as published by
  9: the Free Software Foundation, either version 3 of the License, or
 10: (at your option) any later version.
 11: 
 12: FreeNATS is distributed in the hope that it will be useful,
 13: but WITHOUT ANY WARRANTY; without even the implied warranty of
 14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15: GNU General Public License for more details.
 16: 
 17: You should have received a copy of the GNU General Public License
 18: along with FreeNATS.  If not, see www.gnu.org/licenses
 19: 
 20: For more information see www.purplepixie.org/freenats
 21: -------------------------------------------------------------- */
 22: 
 23: ob_start();
 24: require("include.php");
 25: $NATS->Start();
 26: if (!$NATS_Session->Check($NATS->DB))
 27: 	{
 28: 	header("Location: ./?login_msg=Invalid+Or+Expired+Session");
 29: 	exit();
 30: 	}
 31: 
 32: ob_end_flush();
 33: Screen_Header("Confirm ".$_REQUEST['action'],1);
 34: 
 35: echo "<br><b class=\"minortitle\">Please Confirm You Wish to Continue</b><br><br>";
 36: echo "Action: <b>".$_REQUEST['action']."</b><br>";
 37: echo "<b><a href=".$_REQUEST['back'].">Confirm Action</a></b> | <a href=main.php>Abort Action</a><br><br>";
 38: Screen_Footer();
 39: ?>
 40: