Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
checklist.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
/**
7
* Verify several point for the integrity of the system
8
*
9
* @author Anakeen
10
* @version $Id: checklist.php,v 1.8 2008/12/31 14:37:26 jerome Exp $
11
* @package FDL
12
* @subpackage CORE
13
*/
14
/**
15
*/
16
?>
17
<html><head>
18
<style>
19
a.context {
20
border:solid 1px black;
21
margin:0px;
22
width:100px;
23
display:block;
24
float
:left;
25
cursor:pointer;
26
-moz-border-radius:0px 10px 0px 0px;
27
}
28
a.context:hover {
29
background-color:yellow;
30
}
31
</style>
32
<title>Check List</title>
33
</head>
34
<body>
35
<?php
36
include (
"../../../WHAT/Lib.Common.php"
);
37
require_once
'WHAT/autoload.php'
;
38
//---------------------------------------------------
39
//------------------- MAIN -------------------------
40
$dbaccess
=
getDbAccess
();
41
print
"<H1>Check Database <i>$dbaccess</i> </H1>"
;
42
43
include_once
"Class.CheckDb.php"
;
44
45
$a
=
new
checkDb
(
$dbaccess
);
46
47
$tout
=
$a
->getFullAnalyse();
48
49
print
'<table border=1 rules="all">'
;
50
foreach
(
$tout
as $k => $v) {
51
print
sprintf(
"<tr><td><span style=\"background-color:%s;margin:3px;border:inset 2px %s\"> </span></td><td>%s</td><td>%s</td></tr>\n"
, $v[
"status"
], $v[
"status"
], $k, $v[
"msg"
]);
52
}
53
print
"</table>"
;
54
?>
55
</body>
56
</html>
$a
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
Definition:
checklist.php:45
$dbaccess
$dbaccess
Definition:
checklist.php:40
$tout
$tout
Definition:
checklist.php:47
print
print
Definition:
checklist.php:49
getDbAccess
getDbAccess()
Definition:
Lib.Common.php:368
checkDb
Definition:
Class.CheckDb.php:17
← centre documentaire
© anakeen