isLoggedIn()) { header ("location: ../login.php"); exit(); } if(!$sec->isOpen()){ header("location: ../books/openshop.php"); exit(); } echo "