aboutsummaryrefslogtreecommitdiffstats
path: root/en/5/download_index.php
blob: f68519cf648499c90ed639c3ab127ef5ef9c0404 (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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
<?php

$name = 'Mageia';
$version = '5.1';
$release = '';
$torrentavailable=true;
$classical=true;
$live=true;
$dual=false;

define('HLANG', true);
define('ALIGNMENT', 'Center');

require '../../langs.php';
$dictionary = read_translation_file($locale, array('5', 'common_footer'));
$rtl = is_locale_rtl($locale);

function get_mageia($name, $version, $release)
{
  $re   = empty($release) ? $version : $version . '-' . $release;
  return implode('-', array($name, $re));
}

function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
  $va   = empty($variant) ? $arch : $variant . '-' . $arch;
  $re   = empty($release) ? $va : $release . '-' . $va;

  return implode('-', array($name, $version, $re, $medium)) . $ext;
}

function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
  switch ($arch) {
  case "i586":
    $bit = _r('32 bit');
    break;
  case "x86_64":
    $bit = _r('64 bit');
    break;
  default:
    $bit = '';
    break;
  }

echo $torrent && !$torrentavailable  ? sprintf(_t('forthcoming')) :  sprintf('<a rel="nofollow" href="../downloads/get/?q=%s%s" title="%s">%s</a>',
    get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, '.iso'),
    $torrent ? '&amp;torrent=1' : '',
    implode(' ', array($name, $version, $release, $variant, $arch, $medium)),
    $bit
  );
}

function get_image($ttl, $src, $sty){
    echo sprintf('<noscript><img class="lazy" src="%s" alt="%s" title="%s" style="%s" /></noscript>', $src, $ttl, $ttl, $sty);
    echo sprintf('<img class="lazy" src="%s" alt="%s" title="%s" style="%s" />', $src, $ttl, $ttl, $sty);
}

?>
<!DOCTYPE html>
<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
    <meta charset="utf-8">
    <title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
    <meta name="description" content="<?php _g('Download %s DVD, CD, LiveCD, network install ISO images.', array("$name $version"))?>">
    <meta name="keywords" content="<?php _g('mageia, %s, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent', array("$name $version"))?>">
    <meta name="robots" content="index,nofollow,nosnippet">
    <link rel="canonical" href="/<?php echo $locale.'/'.$version;?>/">
    <?php include '../../analytics.php'; ?>
    <?php echo common_header(); ?>
    <style>

.iso2usb {cursor:pointer}
.italic {font-style:italic}

input[type="radio"]:checked + label,.ui-button:active  {
    background: #2383C2;
    background: -webkit-linear-gradient(top, #3494D3 0%, #2383C2 50%);
    background: -moz-linear-gradient(top, #3494D3 0%, #2383C2 50%);
    background: -o-linear-gradient(top, #3494D3 0%, #2383C2 50%);
    background: linear-gradient(top, #3494D3 0%, #2383C2 50%);
    color: white;
}
input[type="radio"], input[type="submit"]  {
    display: none;
}

.tooltipsy{
    padding: 0.5em;
    width:auto;
    max-width: 500px;
    color: #303030;
    background-color: #F0F9FF;
    border: 1px solid #deca7e;
    text-align: left;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    text-shadow: none;
    border-radius: 6px;
}
.warn {
	color:#a00;
}
</style>
</head>
<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
    <?php echo $hsnav; ?>

    <h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
        <?php include '../5/nav.php'; ?>

    <div id="doc4" class="yui-t7" style="margin-bottom: 0px;"<?php echo $rtl ? ' text-align: right;"' : ''?>">
        <div id="bd" role="main">
            <div class="yui-ge bb1 row">
            <div class="yui-u first col-md-8">

<noscript>
<div class="para warn"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#Fclassical'),'p' . ($rtl ? ' style="text-align: right;"' : '')); ?></div>
<style>.radiobutton .ui-button{display: none;}</style>
</noscript>

<div class="para">
    <?php _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('https://blog.mageia.org/en/2018/09/15/summers-end-roundup-2018/')), 'h2 class="warn"' . ($rtl ? ' style="text-align: right;"' : '')); ?>
    <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
    <?php _g('Mageia is provided as ISO image files that have to be written to blank <a href="%s">CD or DVD discs</a>.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
    <br>
    <?php _g('The important addition is that Mageia 5.1 can be installed on <a href="%s"><abbr title="NVM Express">NVMe</abbr> hardware</a>.', array(_r('https://en.wikipedia.org/wiki/NVM_Express'))); ?>
    <br><br>
    <?php _g('All ISOs can also be launched from a <a %s>USB drive</a>.', array('href="' . _r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive') . '"'));
    echo '</p>';
    _g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('class="iso2usb"'),'p' . ($rtl ? ' style="text-align: right;"' : ''));
    echo '<ul><li>';
    _g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" ' . ($rtl ? ' style="text-align: right;"' : '') . '>', '</span>'), ' ');
    _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
    </li>
    <?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li' . ($rtl ? ' style="text-align: right;"' : '')); ?>
    </ul>
    <div id="iso2usbEx"><p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
    <?php _g('"Dumping" an image onto a flash device destroys any prior file-system in the partition; access to any data not destroyed will be lost, and partition capacity will be reduced to the image size. In other words, all prior data on the device is at risk.'); ?>
    </p></div>
    <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
    <?php _g('If you have <a href="%s">UEFI</a>, a procedure is available in the <a href="%s">wiki</a>.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?>
    </p>
</div>

<div class="para" id="format">

<?php if($classical == true){?>
<div id="classicalEx">
    <?php _g('Classical Installation Flavours',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''))?>

    <?php _g('The Classical ISO is the traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p' . ($rtl ? ' style="text-align: right;"' : '')); ?>
    <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
        <?php _g('Up to 167 locales are supported:'); ?>
            Deutsch, English, Español, Français, Italiano, Português, Svenska, Nederlands, Polski, Dansk, Pусский
        <?php _g('and so much more!'); ?>
        <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.
    </p>
    <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>><?php
        _g('These ISOs contains Free Software and some proprietary drivers.');
        _g('You will be asked of which kind of Software you want to install.');
        _g('The installer includes the capability of adding the online Mageia repositories during the installation, which means you can install even more packages than those available on the ISO.');?>
    </p>

    <?php _g('For 32 and 64bit, size of the ISOs is about %sGB.',array('3.7'),'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>

</div>
<?php } ?>


<?php if($live == true){?>
<div id="liveEx">
    <?php _g('LiveDVDs',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));?>

    <?php _g('Live ISO\'s let you try %s without installation. You can run Mageia directly from a CD, DVD or USB device, and try it using one of the graphical user interfaces such as GNOME or KDE.', array("$name $version"), 'p' . ($rtl ? ' style="text-align: right;"' : ''));
    _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p' . ($rtl ? ' style="text-align: right;"' : ''));?>

    <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>><?php _g('Use LiveDVDs for fresh new installs ONLY.');?>
    <span class="warn"><?php _g('DO NOT use these LiveDVDs to upgrade from the prior Mageia release!'); ?></span>
    <?php _g('Use a classical installation and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?>
    </p>

    <?php _g('For LiveDVDs, size of the ISOs is about %sGB.',array('1.6'),'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>
</div>
<?php } ?>

<div id="lanEx">
    <?php _g('Wired Network-based Installation CD',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
    _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''));
    _g('Have a look in the <a href="%s">wiki</a> to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p' . ($rtl ? ' style="text-align: right;"' : ''));

    _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>
</div>

<div class="radiobutton">
    <?php if( $classical ){?><input type="radio" value="DVD" name="format" id="classical"/>
    <label for="classical" class="classical btn btn-outline-primary" ><?php _g('Classic Installation')?></label><?php }?>
    <?php if($live){ ?><input type="radio" id="live" value="LiveDVD" name="format" />
    <label for="live" class="live btn btn-outline-primary"><?php _g('Live Media');?></label><?php }?>
    <input type="radio" id="lan" value="Boot" name="format" />
    <label for="lan" class="lan btn btn-outline-primary"><?php _g('Network Installation')?></label>
</div>

<?php if( !$dual || !$live || !$classical ){?>
<p style="margin-top:1.5em;<?php echo $rtl ? ' text-align: right;' : ''?>" class="warn">
    <?php if(!$live) {_g('LiveCDs and LiveDVDs are not yet available.');}?>
    <?php if(!$classical){ _g('Classical Installation flavours is not yet available.');}?>
</p>
<?php }?>
</div>

<?php if($live){ ?>


<div class="para" id="desktop">
    <?php _g('Desktop',null,'h2');?>

    <div id="gnomeEx">
        <?php _g('GNOME Desktop',null,'h3');?>
        <?php get_image('GNOME', '/g/5/gnome.png', 'width: 100%');?>
    </div>
    <div id="kdeEx">
        <?php _g('KDE Desktop',null,'h3');?>
        <?php get_image('KDE', '/g/5/kde.png', 'width: 100%');?>
    </div>

    <div class="radiobutton">
        <input type="radio" id="kde" value="KDE4" name="desktop" />
        <label for="kde" class="btn btn-outline-primary kde"><?php _g('KDE Desktop')?></label>
        <input type="radio" id="gnome" value="GNOME" name="desktop" />
        <label for="gnome" class="btn btn-outline-primary gnome"><?php _g('GNOME Desktop')?></label>
    </div>
</div><?php }/*live*/?>

<div class="para" id="nat">
    <?php _g('Network installer',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>

    <div id="freeEx">
        <?php _g('Network installer, Free Software CD', null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
        _g('Contain only free software',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
    </div>
    <div id="nonfreeEx">
        <?php _g('Network installer + nonfree firmware CD', null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
        _g('Contain nonfree drivers needed for some disc controllers, some network cards, etc.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
    </div>
    <div class="radiobutton">
        <input type="radio" id="free" value="-" name="nat" />
        <label for="free" class="btn btn-outline-primary free"><?php _g('Free Software CD')?></label>
        <input type="radio" id="nonfree" value="nonfree" name="nat" />
        <label for="nonfree" class="btn btn-outline-primary nonfree"><?php _g('Nonfree Firmware CD')?></label>
    </div>
</div>

<div class="para" id="arch">
    <?php _g('Supported Architecture',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>
    <div id='64bEx'>
        <?php _g('64 bit',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
        _g('Most new computers support x86-64 (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
    </div>
    <div id='32bEx'>
        <?php _g('32 bit',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
        _g('This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
    </div>

    <div class="radiobutton">
        <input type="radio" id="32b" value="i586" name="arch" />
        <label for="32b" class="btn btn-outline-primary 32b"><?php _g('32 bit')?></label>
        <input type="radio" id="64b" value="x86_64" name="arch" />
        <label for="64b" class="btn btn-outline-primary 64b"><?php _g('64 bit')?></label>
    </div>
</div>

<div class="dllink para" id="dllink" >
    <?php _g('Download Method',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>
    <div id="directEx">
        <?php _g('Direct Link',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
        _g('You will be redirected to a HTTP or FTP mirror.',null,'p' . ($rtl ? ' style="text-align: right;"' : '')) ?>
    </div>


    <div id="torrentEx">
<?php if($torrentavailable){ ?>
    <?php _g('BitTorrent',null,'h3');
    _g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p' . ($rtl ? ' style="text-align: right;"' : ''));?>
<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"' . ($rtl ? ' style="text-align: right;"' : '')); } ?>
    </div>

    <div class="radiobutton">
    <?php if($torrentavailable){ ?>
        <a href="#" id="torrentlink" class="btn btn-outline-primary torrentlink"><?php _g('BitTorrent')?></a><?php }?>
        <a href="#" id="directlink" class="btn btn-outline-primary directlink"><?php _g('Direct Link')?></a>
    </div>
</div>

<noscript>
<?php if ($classical){ ?>
                    <div class="para" id="Fclassical">
                        <h2><?php _g('Classical Installation Flavours')?></h2>
                        <table class="fr-table dlt2">
                        <thead>
                            <tr>
                                <th><?php _g('Format');?></th>
                                <th><?php _g('link');?></th>
                                <th><?php _g('BitTorrent');?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <th class="name" >DVD 32bit<br>DVD 64bit</th>
                                <td>
                                    <?php dl_link($name,$version,$release,null,'i586','DVD',false);
                                    echo '<br>';
                                    dl_link($name,$version,$release,null,'x86_64','DVD',false);
                                    echo '</td><td>';
                                    dl_link($name,$version,$release,null,'i586','DVD',true,$torrentavailable);
                                    echo '<br>';
                                    dl_link($name,$version,$release,null,'x86_64','DVD',true,$torrentavailable);?>
                                </td>
                            </tr>
                        </tbody>
                        </table>
                    </div>
<?php } ?>

<?php if($live){ ?>
                    <div class="para" id="Flive">
                        <h2><?php _g('LiveDVDs');?></h2>
                        <table class="fr-table dlt2">
                        <thead>
                            <tr>
                                <th><?php _g('Desktop');?></th>
                                <th><?php _g('link');?></th>
                                <th><?php _g('BitTorrent');?></th>
                            </tr>
                        </thead>
                        <tbody>
                                <tr>
                        <th class="name" style="width:60%">LiveDVD KDE</th>
                        <td>
                            <?php dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',false);
                            echo '<br>';
                            dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',false);
                            echo '</td><td>';
                            dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',true,$torrentavailable);
                            echo '<br>';
                            dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',true,$torrentavailable);?>
                        </td>
                    </tr>
                    <tr>
                        <th class="name">LiveDVD GNOME</th>
                        <td>
                            <?php dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',false);
                            echo '<br>';
                            dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',false);
                            echo '</td><td>';
                            dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',true,$torrentavailable);
                            echo '<br>';
                            dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',true,$torrentavailable);?>
                        </td>
                    </tr>

                        </tbody>
                        </table>

                    </div>
<?php }?>

                    <div class="para" id="Flan">
                        <h2><?php _g('Wired Network-based Installation CD')?></h2>

                        <table class="fr-table dlt2">
                        <thead>
                        <tr>
                            <th><?php _g('Format');?></th>
                            <th><?php _g('link');?></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                        <th><?php _g('Network installer, Free Software CD')?></th>
                        <td><?php dl_link($name,$version,$release,'Boot','i586','CD',false);
                            echo '<br>';
                            dl_link($name,$version,$release,'Boot','x86_64','CD',false);?>
                        </td>
                    </tr>
                    <tr>
                        <th><?php _g('Network installer + nonfree firmware CD')?><br>
                        <td><?php dl_link($name,$version,$release,'Boot-nonfree','i586','CD',false);
                            echo '<br>';
                            dl_link($name,$version,$release,'Boot-nonfree','x86_64','CD',false);?>
                        </td>
                    </tr>
                        </tbody>
                        </table>
                    </div>
</noscript>
                </div>

                <div class="yui-u col">
                    <div class="para mt-3">
                        <ul class="hl">
                            <li><a href=<?php echo sprintf('"%s">',$releasenotes); _g('Release notes')?></a></li>
                            <li><a href=<?php echo sprintf('"%s">',$errata); _g('More about known issues or limitation in installation and usage')?></a></li>
                            <?php _g('<a href="%s">Which to choose</a>', array(_r('https://wiki.mageia.org/en/Installation_Media')), 'li')?>
                            <?php _g('<a href="%s">Get ISO on USB flash drive</a>', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')),'li') ?>
                            <?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array(_r('https://wiki.mageia.org/en/Newcomers_start_here')), 'li')?>
                            <?php _g('Help us on %s', array("<a href=\"../contribute\">$name $version</a>"), 'li')?>
                        </ul>
                        <br>
                        <?php _g('Upgrading<br>from %s ?', array('Mageia 4 (4.1)'), 'h3')?>
                            <ul class="hl">
                        <?php
                            _g('<strong>do not</strong> use LiveCDs;', null, 'li');
                            _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array($upgradeguide), 'li');
                            echo '</ul><br>';

                            _g('Looking for %s ?', array('Mageia 4'), 'h3');
                            echo '<p>';
                            _g('It is <a href="%s">here</a>.', array('../4/'),' ');
                            echo '<span class="warn">',
//                            _g('But please remember that it will soon <a href="%s">reach EOL</a>.', array('../support/'));
                             _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('http://blog.mageia.org/en/2015/09/10/mageia-4-about-to-reach-its-end-of-life/')));
                            echo '</span>';
                            echo '</p>';

                            _g('Need more challenge?', null, 'h3');
                            _g('You can <a href="%s">help</a> us <a href="%s">on %s</a>.', array('../contribute/','../6/','Mageia 6'));
                        ?>
                    </div>
                    <hr>
                </div>
            </div>
        </div>
    </div>
<?php echo common_footer($locale); ?>
<script src="/g/js/tooltipsy.min.js"></script>
<script>

$(function () {

function scrolltoid(id){ $('html, body').animate({ scrollTop: $(id).offset().top }, 800); }

function gettooltip($cl, $id, $x, $y){
$($cl).tooltipsy({
    alignTo: 'cursor',
    offset: [($x), ($y)],
    delay:500,
    content: function ($el, $tip) {
    $tip.html($($id).remove().html())
    },
    hide: function (e, $el) {
    setTimeout(function(){
        $el.hide(); 
    }, 400);
    }
});
}

function lazyload(){
$('img.lazy').each(function(){
        $(this)
        .attr( 'src', $(this).data('src') )
        .removeClass('hidden')
        .removeAttr('data-src');
});
}

    $('#iso2usb,#arch,#nat,#desktop,#dllink').hide();
    $('input[name=format]').click(function () {
        $('#arch,label[for="dual"]')[this.id == 'classical' ? 'slideDown' : 'slideUp']();
        $('label[for="64b"],#64bex').show();
        $('#desktop')[this.id == 'live' ? 'slideDown' : 'slideUp']();
        $('#nat')[this.id == 'lan' ? 'slideDown' : 'slideUp']();
        if ($('#classical').is(':checked')) {
            $('input[name="arch"],input[name="dllink"]').prop('checked', false);
        }

        if ($('#live').is(':checked')) {
            $('input[name="dektop"],input[name="arch"],input[name="dllink"]').prop('checked', false);
        }

        if ($('#lan').is(':checked')) {
            $('input[name="nat"],input[name="arch"],input[name="dllink"]').prop('checked', false);
        }

        $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
    });

    $('input[name=nat]').click(function () {
        $('#arch')[ $('#free,#nonfree').is(':checked') ? 'slideDown' : 'slideUp']();
    });


    $('input[name=desktop]').click(function () {
        $('#arch')[ $('#gnome,#kde').is(':checked') ? 'slideDown' : 'slideUp']();
	lazyload();
    });

    $('input[name=arch]').click(function () {
        $('#dllink')[$('#32b,#64b,#dual').is(':checked') ? 'slideDown' : 'slideUp']();
        $('input[name="dllink"]').prop('checked', false);
        $('#torrentEx,#torrentlink')[$('#lan').is(':checked') ? 'hide' : 'show']();
        scrolltoid('#dllink')
    });

    $('#directlink,#torrentlink').hover(function () {
        format = $('input[name=format]:checked').val();
        desktop = $('input[name=desktop]:checked').val();
        nat = (nat = $('input[name=nat]:checked').val()) == '-' ? '-' : '-' + nat + '-';
        arch = $('input[name=arch]:checked').val();
        getname ='<?php echo get_mageia($name, $version, $release)?>' + '-';
        file = $('#live').is(':checked') ? format + '-' + desktop + '-' + arch + '-' + 'DVD.iso' : $('#classical').is(':checked') ? arch + '-' + format + '.iso' : format + nat + arch + '-CD.iso';
        file = (this.id == 'torrentlink') ? getname + file + '&torrent=1' : getname + file ;
        $("a.btn").attr('href','../downloads/get/?q=' + file);
    });

    gettooltip('.iso2usb', '#iso2usbEx',0,1)
    gettooltip('.classical', '#classicalEx',40,-70)
    gettooltip('.live', '#liveEx',40,-70)
    gettooltip('.lan','#lanEx',40,-70)
    gettooltip('.gnome', '#gnomeEx',40,-300)
    gettooltip('.kde', '#kdeEx',40,-300)
    gettooltip('.free', '#freeEx',40,-70)
    gettooltip('.nonfree','#nonfreeEx',40,-70)
    gettooltip('.32b', '#32bEx',40,-70)
    gettooltip('.64b', '#64bEx',40,-70)
    gettooltip('.directlink', '#directEx',40,-40)
    gettooltip('.torrentlink','#torrentEx',40,-40)

});
</script>
</body>
</html>