aboutsummaryrefslogtreecommitdiffstats
path: root/test/center.php
blob: e0cd8c8b616379b814ca04c3e29a99fd0f2eb80a (plain)
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
<?php
$err_1 = error_reporting();
$const_1 = get_defined_constants(true);
if (!isset($const_1['user'])) { $const_1['user'] = array(); }
$const_1 = $const_1['user'];

define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../langs.php';
$err_2 = error_reporting();
$const_2 = get_defined_constants(true);
$const_2 = $const_2['user'];
$const_2['G_APP_ROOT'] = '';
?><!DOCTYPE html>
<html lang="<?php echo $locale; ?>" dir="ltr">
<head>
    <meta charset="utf-8">
    <title><?php _g('Center Alignment')?></title>
    <meta name="description" content="<?php _g('Center Alignment test')?>">
    <link rel="stylesheet" href="/g/style/all.css" type="text/css">
    <?php include '../analytics.php'; ?>
</head>
<body class="doc">
    <?php echo $hsnav; ?>
    <h1 id="mgnavt"><?php _g('Center Alignment')?></h1>
    <div id="doc" class="yui-t7">
        <div id="bd" role="main">
            <div class="yui-g">
                <div class="para donate" style="padding-top: 2em;">
                    <h2><?php _g('Center Alignment page')?></h2>
                    <p><?php _g('Center Alignment, Center Alignment, Center Alignment...')?></p>
                    <pre><?php
                        echo "default server error_reporting: $err_1";
                        echo ' '. decbin($err_1) . "\n";
                        echo " after ini_set error_reporting: $err_2";
                        echo ' '. decbin($err_2) . "\n\n";
                        print_r($const_1);
                        print_r($const_2);
                    ?></pre>
                </div>
            </div>
        </div>
    </div>
</body>
</html>