template.html (1151B)
1 <!doctype html> 2 <html dir="ltr" lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <title></title> 6 <link id="layout-css" rel="stylesheet" href="../-/zim.css"> 7 <!-- 8 <%B/<%title%>%> 9 --> 10 </head> 11 <body id="zim" class="WikiaPage no-js mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject skin-vector action-view"> 12 <!--<div id="zim-content" class="mw-body WikiaPageBackground" role="main">--> 13 <div id="bodyContent" class="mw-body-content"> 14 <!-- 15 <%A/<%title%>%> 16 --> 17 </div> 18 <!--</div>--> 19 <script id="random-script"> 20 (function() { 21 var pages = [ 22 'Accueil', 23 'Affichage_Graphique', 24 'Conventions', 25 'Drivers/mode_reel.h:int86', 26 'Environnement_de_programmation', 27 'GRUB', 28 'Liens', 29 'Langage', 30 'Notes', 31 'Nouveau_Développeur', 32 'Prérequis', 33 'Test_fonctionC', 34 ]; 35 var dd = ''; 36 for (var i = document.querySelector('head title').innerText.split('/').length - 1; i > 0; i--) { 37 dd += '../' 38 } 39 var rnd = Math.floor(Math.random() * pages.length); 40 document.querySelector('#n-randompage a').setAttribute('href', dd + pages[rnd] + '.html'); 41 })(); 42 </script> 43 </body> 44 </html>