clipbucket/upload/admin_area/index.php

45 lines
1.2 KiB
PHP
Raw Normal View History

2009-08-25 12:16:42 +00:00
<?php
/*
****************************************************************************************************
| Copyright (c) 2007-2008 Clip-Bucket.com. All rights reserved. |
| @ Author : ArslanHassan |
| @ Software : ClipBucket , <EFBFBD> PHPBucket.com |
****************************************************************************************************
*/
require'../includes/admin_config.php';
$userquery->admin_login_check();
$pages->page_redir();
@$page = $pages->show_admin_page(clean($_GET['settings']));
if(!empty($page)){
$pages->redirect($page);
}
if(@$_GET['mode'] == 'force_update'){
$stats->__FORCEUPDATE__();
$msg = "Everything Has Been Updated";
}
$stats->Refresh();
//$stats->UpdateDate();
//Getting Website Statistics
Assign('stats',$stats->stats);
Assign('server',$stats->ServerDetails());
$logs = "No Logfile Found";
if(file_exists(BASEDIR.'/logs/logs.txt'))
{
$logs = nl2br(htmlentities(file_get_contents(BASEDIR.'/logs/logs.txt')));
}
Assign('con_log',$logs );
/*Template('header.html');
Template('leftmenu.html');
Template('index.html');
Template('footer.html');
*/
2009-08-25 12:16:42 +00:00
template_files('index.html');
display_it();
?>