Location: PHPKode > scripts > Prioritexter > index.php
<?php

// ***************************************************************
// ***************************************************************
// CONSTANTS *****************************************************

require("config.php");
require("Constants.php");
Constants::loadConstants();

// ***************************************************************
// ***************************************************************
// ***************************************************************
// FUNCTIONS *****************************************************

require("HtmlFragment.php");
require("Announcement.php");
require("Announcements.php");
require("Action.php");
require("Assert.php");
require("Css.php");
require("Header.php");
require("Db.php");
require("Debug.php");
require("Encrypt.php");
require("Error.php");
require("Http.php");
require("Image.php");
require("Indenter.php");
require("Javascript.php");
require("Menu.php");
require("MimeFile.php");
require("PageFile.php");
require("Security.php");
require("TextBox.php");
require("Text.php");
require("Sort.php");
require("Html.php");
require("Utilities.php");
require("Page.php");

require("Date.php");
require("Task.php");
require("Tasks.php");
require("TaskForm.php");
require("TaskCategories.php");
require("Categories.php");
require("P_CreateTable.php");

// ***************************************************************/
// ***************************************************************
// INIT       ****************************************************


// does this work, with _POST??? need to check NOTE
Http::iHateMagic();

// NOTE: deprecated? or integrate?
//Constants::loadConstantsFromDb();

// NOTE: need to #&*$# implement this!
$indenter = new Indenter();

$page = new Page();
$page->startPage();
$db = new Db();
P_CreateTable::createIfDontExist();
// get array connecting tasks to their various categories
$categories = new Categories();
$task_categories = new TaskCategories();
$action = new Action();
$action->doIfValid();
$page->addAnnouncement($action->message);
$page->standardContent();
$page->includePage();
$page->endPage();


if (DEBUG) echo $announce_str;
?>
Return current item: Prioritexter