| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Landing (login) page file.
- *
- * Provides a class with all the properties and methods to display the page.
- *
- * @category Page
- */
- /**
- * Require dependent files if not present.
- */
- require_once(PATH::PAGE . "Page.php");
- /**
- * Landing (login) page model.
- *
- * @category Page
- */
- class Landing_Page extends Page{
- /**
- * Constructor.
- *
- * Retrieves the data and initializes the variables.
- *
- ** @global resource Database connection.
- */
- public function __construct(){
- global $db;
- $this->view = PATH::VIEW . "landing.php";
- $this->title = "Login - SWDB";
- $this->description = "Login to SWDB";
- $this->canonical = URL::BASE . "landing/";
- }
- }
- ?>
|