Menu

[r11]: / administration / admin.php  Maximize  Restore  History

Download this file

106 lines (88 with data), 3.5 kB

  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
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Path by root: ../administration/admin.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
**
** -----------------------------------------------------------------------------
** FILE: admin.php
**
** DESC: Screen: ADMINISTRATION
**
** HISTORY:
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
** =============================================================================
*/
$checkSession = "true";
include_once('../includes/library.php');
$setTitle .= " : Administration";
if ($profilSession != "0")
{
headerFunction('../general/permissiondenied.php?'.session_name().'='.session_id());
exit;
}
include('../themes/'.THEME.'/header.php');
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?",$strings["administration"],in));
$blockPage->itemBreadcrumbs($strings["admin_intro"]);
$blockPage->closeBreadcrumbs();
if ($msg != "")
{
include('../includes/messages.php');
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->heading($strings["administration"]);
$block1->openContent();
$block1->contentTitle($strings["admin_intro"]);
$block1->contentRow("",$blockPage->buildLink("../users/listusers.php?",$strings["user_management"],in));
if ($enableInvoicing == "true")
{
$block1->contentRow("",$blockPage->buildLink("../services/listservices.php?",$strings["service_management"],in));
}
if ($supportType == "admin")
{
$block1->contentRow("",$blockPage->buildLink("../administration/support.php?",$strings["support_management"],in));
}
if ($databaseType == "mysql")
{
$block1->contentRow("",$blockPage->buildLink("../administration/phpmyadmin.php?",$strings["database"],in));
}
/* disabled
if ($databaseType == "postgresql")
{
$block1->contentRow("",$blockPage->buildLink("../administration/phppgadmin.php?",$strings["database"],in));
}
*/
$block1->contentRow("",$blockPage->buildLink("../administration/systeminfo.php?",$strings["system_information"],in));
$block1->contentRow("",$blockPage->buildLink("../administration/mycompany.php?",$strings["company_details"],in));
$block1->contentRow("",$blockPage->buildLink("../administration/listlogs.php?",$strings["logs"],in));
$block1->contentRow($strings["update"].$blockPage->printHelp("admin_update"),"1. ".$blockPage->buildLink("../administration/updatesettings.php?",$strings["edit_settings"],in)." 2. ".$blockPage->buildLink("../administration/updatedatabase.php?",$strings["edit_database"],in));
if ($updateChecker == "true" && $installationType == "online")
{
$block1->contentRow("",updatechecker($version));
}
if (file_exists("../installation/setup.php"))
{
$block1->contentRow("","<b>".$strings["attention"]."</b> : ".$strings["setup_erase"]);
if (is_writable("../setup.php"))
$block1->contentRow("","<a href='../installation/remove_files.php'>" . $strings["setup_erase_file"] . "</a>");
else
$block1->contentRow("","<span style='color: #F00;font-weight:bold;'>" . $strings["setup_erase_file_ua"] . "</span>");
}
$block1->closeContent();
include('../themes/'.THEME.'/footer.php');
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.