username = $_SESSION['user']; $Active->ListActive(); } ////////////////////////////////////////////////////////////////// // Add active record ////////////////////////////////////////////////////////////////// if($_GET['action']=='add'){ $Active->username = $_SESSION['user']; $Active->path = $_GET['path']; $Active->Add(); } ////////////////////////////////////////////////////////////////// // Check if file is active ////////////////////////////////////////////////////////////////// if($_GET['action']=='check'){ $Active->username = $_SESSION['user']; $Active->path = $_GET['path']; $Active->Check(); } ////////////////////////////////////////////////////////////////// // Remove active record ////////////////////////////////////////////////////////////////// if($_GET['action']=='remove'){ $Active->username = $_SESSION['user']; $Active->path = $_GET['path']; $Active->Remove(); } ?>