2 include
'../../../include/cp_header.php';
3 include
'admin_header.php';
8 include dirname(__FILE__).
'/mymenu.php' ;
11 echo
"<style>dd {margin-left: 32px;}</style>\n" ;
12 echo
"<br />\n<div style='border: 2px solid #2F5376;padding:8px;width:95%;' class='bg4'>\n" ;
23 echo
"<dl><dt>'XOOPS_TRUST_PATH' : " ;
24 echo
"<img src='".XOOPS_URL.
'/'.htmlspecialchars(
$relative_path).
"/modules/protector/public_check.png' width='40' height='20' alt='' style='border:1px solid black;' /><br /><a href='".XOOPS_URL.
'/'.htmlspecialchars(
$relative_path).
"/modules/protector/public_check.php'>".
_AM_ADV_TRUSTPATHPUBLICLINK.
"</a></dt>\n" ;
25 echo
"<dd>"._AM_ADV_TRUSTPATHPUBLIC.
"</b><br /><br /></dd></dl>" ;
28 echo
"<dl><dt>'register_globals' : " ;
29 $safe = ! ini_get(
"register_globals" ) ;
31 echo
"off <span style='color:green;font-weight:bold;'>OK</span></dt>\n" ;
33 echo
"on <span style='color:red;font-weight:bold;'>"._AM_ADV_NOTSECURE.
"</span></dt>\n" ;
34 echo
"<dd><br /><br />"._AM_ADV_REGISTERGLOBALS.
"<br /><br />
35 ".XOOPS_ROOT_PATH.
"/.htaccess<br /><br />
37 <b>php_flag register_globals off
40 echo
"</b><br /><br /></dl>\n" ;
44 echo
"<dl><dt>'allow_url_fopen' : " ;
45 $safe = ! ini_get(
"allow_url_fopen" ) ;
47 echo
"off <span style='color:green;font-weight:bold;'>OK</span></dt>\n" ;
49 echo
"on <span style='color:red;font-weight:bold;'>"._AM_ADV_NOTSECURE.
"</span></dt>\n" ;
50 echo
"<dd>"._AM_ADV_ALLOWURLFOPEN.
"</dd>" ;
52 echo
"</b><br /><br /></dl>\n" ;
56 echo
"<dl><dt>'session.use_trans_sid' : " ;
57 $safe = ! ini_get(
"session.use_trans_sid" ) ;
59 echo
"off <span style='color:green;font-weight:bold;'>OK</span></dt>\n" ;
61 echo
"on <span style='color:red;font-weight:bold;'>"._AM_ADV_NOTSECURE.
"</span></dt>\n" ;
62 echo
"<dd>"._AM_ADV_USETRANSSID.
"</dd>" ;
64 echo
"</b><br /><br /></dl>\n" ;
68 echo
"<dl><dt>'XOOPS_DB_PREFIX' : " ;
71 echo
XOOPS_DB_PREFIX.
" <span style='color:green;font-weight:bold;'>OK</span></dt>\n<dd>" ;
74 echo
"<dd>"._AM_ADV_DBPREFIX.
"<br />\n" ;
76 echo
"<a href='center.php?page=prefix_manager'>"._AM_ADV_LINK_TO_PREFIXMAN.
"</a></dd>" ;
77 echo
"</b><br /><br /></dl>\n" ;
81 echo
"<dl><dt>'mainfile.php' : " ;
82 if( ! defined(
'PROTECTOR_PRECHECK_INCLUDED' ) ) {
83 echo
"missing precheck <span style='color:red;font-weight:bold;'>"._AM_ADV_NOTSECURE.
"</span></dt>\n" ;
84 echo
"<dd>"._AM_ADV_MAINUNPATCHED.
"</dd>" ;
85 }
else if( ! defined(
'PROTECTOR_POSTCHECK_INCLUDED' ) ) {
86 echo
"missing postcheck <span style='color:red;font-weight:bold;'>"._AM_ADV_NOTSECURE.
"</span></dt>\n" ;
87 echo
"<dd>"._AM_ADV_MAINUNPATCHED.
"</dd>" ;
89 echo
"patched <span style='color:green;font-weight:bold;'>OK</span></dt>\n" ;
91 echo
"</b><br /><br /></dl>\n" ;
94 echo
"<dl><dt>'databasefactory.php' : " ;
96 if(substr(@
XOOPS_VERSION , 6 , 3) < 2.4 && strtolower( get_class(
$db ) ) !=
'protectormysqldatabase' ) {
97 echo
"<span style='color:red;font-weight:bold;'>"._AM_ADV_DBFACTORYUNPATCHED.
"</span></dt>\n" ;
104 echo
"</div><br />\n" ;
109 echo
"<br />\n<div style='border: 2px solid #2F5376;padding:8px;width:95%;' class='bg4'>\n" ;
111 echo
"<h3>"._AM_ADV_SUBTITLECHECK.
"</h3>\n" ;
114 echo
"<dl><dt>"._AM_ADV_CHECKCONTAMI.
":</dt>\n" ;
115 echo
"<dd><a href='$uri_contami' target='_blank'>$uri_contami</a></dd>" ;
119 $uri_isocom = XOOPS_URL.
"/index.php?cid=".urlencode(
",password /*") ;
120 echo
"<dl><dt>"._AM_ADV_CHECKISOCOM.
":</dt>\n" ;
121 echo
"<dd><a href='$uri_isocom' target='_blank'>$uri_isocom</a></dd>" ;