forked from atkphpframework/achievo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogout.php
More file actions
25 lines (18 loc) · 713 Bytes
/
logout.php
File metadata and controls
25 lines (18 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
$config_atkroot = "./";
include_once("atk.inc");
include_once("./theme.inc");
$page = &atkinstance("atk.ui.atkpage");
$ui = &atkinstance("atk.ui.atkui");
$theme = &atkTheme::getInstance();
$output = &atkOutput::getInstance();
$page->register_style($theme->stylePath("style.css"));
$tmp_output = "<font size=+2>Thanks for using Achievo</font>";
$tmp_output.= "<hr>";
$tmp_output.= '<center><a href="index.php">Login</a></center>';
$box = $ui->renderBox(array("title"=>atkText("app_title"),
"content"=>$tmp_output));
$page->addContent($box);
$output->output($page->render(atkText('app_title'), true));
$output->outputFlush();
?>