isLoggedIn()) { header ("location: ../login.php"); exit(); } /*$today = date("Y-m-d"); $result = mysql_query("SELECT * FROM books"); $open = 0; while($field = mysql_fetch_array($result)){ if($field[date] == $today && $field[event] == "open"){ $open = 1; } } if($open == 0){ header("location: ../books/openshop.php"); exit(); }*/ echo "
 $lang->sales

$lang->salesWelcomeMessage
"; $dbf->closeDBlink(); ?>