aboutsummaryrefslogtreecommitdiffstats
path: root/404.php
blob: 6ed9dd9cd4b173cabc455b06d6fcf8daf4c43b45 (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
<?php
define('HLANG', true);
define('ALIGNMENT', 'Center');
require 'langs.php'; // needs absolute path in some form to be link depth independent
$locale = ($locale == '404.php' ? 'en' : $locale);
$dictionary = read_translation_file($locale, array('404', 'common_footer'));
header('HTTP/1.0 404 Not Found');
header('Status: 404 Not Found');
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
    <meta charset="utf-8">
    <title><?php _g('Sorry, we could not find this page.')?></title>
    <meta http-equiv="expires" content="0">
    <meta name="robots" content="noindex, nofollow">
    <meta name="author" content="Mageia">
    <?php echo common_header(); ?>
    <?php include 'analytics.php'; ?>
</head>
<body>
    <?php echo $hsnav; ?>
    <h1 id="mgnavt"><?php _g('Sorry, we could not find this page.')?></h1>
    <div id="doc" class="yui-t7" style="margin-bottom: 0px;">
        <div id="bd" role="main">
            <div class="yui-g">
                <div class="para values">
                    <ul class="hl"><?php
                        _g('Try searching it on <a href="%s">mageia.org site map</a>,', array("/$locale/map/"), 'li');
                        _g('or try to <a href="%s">search with DuckDuckGo</a>.', array('https://duckduckgo.com/?q=site%3Amageia.org&t=mageia'), 'li');
                    ?></ul>
                </div>
            </div>
        </div>
    </div>
<?php echo common_footer($locale); ?>
</body>
</html>