1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
---|
5 | <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.min.css"/> |
---|
6 | |
---|
7 | |
---|
8 | <link rel="stylesheet" type="text/css" href="css/feedek.css"/> |
---|
9 | <link rel="stylesheet" type="text/css" href="css/index.css"/> |
---|
10 | |
---|
11 | <script type="text/javascript" src="lib/jquery-3.1.1.min.js"></script> |
---|
12 | <script src="lib/bootstrap/js/bootstrap.min.js"></script> |
---|
13 | <script src="lib/isotope.pkgd.min.js"></script> |
---|
14 | |
---|
15 | <script type="text/javascript" src="lib/moment-with-locales.min.js"></script> |
---|
16 | <!--script type="text/javascript" src="lib/moment.min.js"></script--> |
---|
17 | <script type="text/javascript" src="lib/feedek.js"></script> |
---|
18 | |
---|
19 | |
---|
20 | <script type="text/javascript" src="js/index.js"></script> |
---|
21 | |
---|
22 | <title>Servidor LliureX</title> |
---|
23 | |
---|
24 | </head> |
---|
25 | <body> |
---|
26 | |
---|
27 | <div id="headerbg"><div id="header"> </div></div> |
---|
28 | |
---|
29 | <!--div class="col-md-1"></div> <!-- left container --> |
---|
30 | <div class="container" id="mainContainer"> |
---|
31 | |
---|
32 | |
---|
33 | <!--div id="main"--> |
---|
34 | |
---|
35 | <!-- Google Search --> |
---|
36 | <div class="row"> |
---|
37 | <div id="search" class="col-md-10 col-md-offset-1"> |
---|
38 | <form method="get" class="search-form form-inline" action="http://www.google.com/search" name="search"> |
---|
39 | <span class="google"><a href="http://www.google.com"> </a></span> |
---|
40 | <input name="q" value="" x-webkit-speech="" id="sbi" type="search" class="form-control" size="40"/> |
---|
41 | <button id="sbtn" type="submit" class="btn btn-primary"> |
---|
42 | <span id="sspan"></span> |
---|
43 | <span class="acchide glyphicon glyphicon-search"></span><span> Busca</span> |
---|
44 | </button> |
---|
45 | <input name="ie" value="UTF-8" type="hidden" /> |
---|
46 | <input name="sa" value="Search" type="hidden" /> |
---|
47 | <input name="channel" value="fe" type="hidden" /> |
---|
48 | <input name="client" value="browser-ubuntu" type="hidden" /> |
---|
49 | <input title="search" name="hl" value="en" type="hidden" /> |
---|
50 | </form> |
---|
51 | </div> <!-- end Google Search --> |
---|
52 | </div> <!-- row --> |
---|
53 | |
---|
54 | |
---|
55 | <div class="row" style="margin-bottom: 48px;"> |
---|
56 | <!--div class="linkTypeIcon" target="*"></div--> |
---|
57 | <?php |
---|
58 | $lang=$_SERVER["HTTP_ACCEPT_LANGUAGE"]; |
---|
59 | if (stristr($lang,"es_ES") || stristr($lang,"es") || stristr($lang,"es_ES.UTF-8") ){ |
---|
60 | $admin="Herramientas de administración"; |
---|
61 | $links="Enlaces"; |
---|
62 | $rsc="Recursos educativos"; |
---|
63 | $welcomemsg="Bienvenido al servidor ".gethostname()." (".$_SERVER['SERVER_ADDR']."). Versión de LliureX: ".shell_exec('lliurex-version -n'); |
---|
64 | $lliurex_news="Notícias de LliureX"; |
---|
65 | } else{ |
---|
66 | $admin="Eines d'administració"; |
---|
67 | $links="Enllaços"; |
---|
68 | $rsc="Recursos educatius"; |
---|
69 | $welcomemsg="Benvingut a ".gethostname()." (".$_SERVER['SERVER_ADDR']."). Versió de LliureX: ".shell_exec('lliurex-version -n'); |
---|
70 | $lliurex_news="Notícies de LliureX"; |
---|
71 | |
---|
72 | } |
---|
73 | |
---|
74 | echo(' |
---|
75 | <div class="linkTypeSelector"> |
---|
76 | <div class="linkTypeIcon" i18n="true" target=".admin" style="background-image:url(icons/admin.png)" title="'.$admin.'" data-toggle="tooltip"></div> |
---|
77 | <div class="linkTypeIcon" i18n="true" target=".resources" style="background-image:url(icons/resources.png)" title="'.$rsc.'" data-toggle="tooltip"></div> |
---|
78 | <div class="linkTypeIcon" i18n="true" target=".links" style="background-image:url(icons/links.png)" title="'.$links.'" data-toggle="tooltip"></div> |
---|
79 | '); |
---|
80 | ?> |
---|
81 | </div> |
---|
82 | </div> |
---|
83 | |
---|
84 | <div id="links" class="row"> |
---|
85 | <div class="grid col-md-8 col-md-offset-1" id="linksContainer"> |
---|
86 | <?php include_once("getResources.php"); ?> |
---|
87 | <!--?php include_once("getStaticSites.php"); ?--> |
---|
88 | </div> |
---|
89 | |
---|
90 | <div class="col-md-3" id="newscontainer"> |
---|
91 | <span class="newscontainerspan"></span> <?php echo ($lliurex_news);?> |
---|
92 | <div id="lliurex_news"></div> |
---|
93 | </div> |
---|
94 | |
---|
95 | </div> |
---|
96 | |
---|
97 | </div> |
---|
98 | <div id="footer"> |
---|
99 | <?php echo($welcomemsg); ?> |
---|
100 | </div> |
---|
101 | |
---|
102 | <!--div class="col-md-1"></div> <!-- right container --> |
---|
103 | |
---|
104 | <!--div class="flip-container" ontouchstart="this.classList.toggle('hover');"> |
---|
105 | <div class="flipper"> |
---|
106 | <div class="front"> |
---|
107 | hola |
---|
108 | <!-- front content -- > |
---|
109 | </div> |
---|
110 | <div class="back"> |
---|
111 | adios |
---|
112 | <!-- back content -- > |
---|
113 | </div> |
---|
114 | </div> |
---|
115 | </div--> |
---|
116 | |
---|
117 | |
---|
118 | |
---|
119 | </body> |
---|
120 | </html> |
---|