commit
41bf3032de
|
|
@ -54,6 +54,14 @@ if (isset($_POST['xd_check'])){
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//title
|
||||||
|
if($currentArena == ""){
|
||||||
|
$siteTitle = $lang['SITE_NAME'];
|
||||||
|
|
||||||
|
}else{
|
||||||
|
$siteTitle=$currentArenaArr['title'];
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
|
|
@ -65,12 +73,15 @@ if (isset($_POST['xd_check'])){
|
||||||
<meta name="ROBOTS" content="INDEX, FOLLOW" />
|
<meta name="ROBOTS" content="INDEX, FOLLOW" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="author" content="Gnieark" />
|
<meta name="author" content="Gnieark" />
|
||||||
|
<title><?php echo $siteTitle; ?></title>
|
||||||
<title></title>
|
<style type="text/css">
|
||||||
|
@import url(/style.css);
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
<h1><?php echo $siteTitle; ?></h1>
|
||||||
<nav id="languages"><a href="-fr">fr</a> <a href="-en">en</a></nav>
|
<nav id="languages"><a href="-fr">fr</a> <a href="-en">en</a></nav>
|
||||||
<nav id="menus"><a href="/"><?php echo $lang['HOME']; ?></a>
|
<nav id="menus"><a href="/"><?php echo $lang['HOME']; ?></a>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -82,14 +93,7 @@ if (isset($_POST['xd_check'])){
|
||||||
}
|
}
|
||||||
echo '<a href="'.$arena['url'].'" class="'.$class.'">'.$arena['title'].'</a>';
|
echo '<a href="'.$arena['url'].'" class="'.$class.'">'.$arena['title'].'</a>';
|
||||||
}
|
}
|
||||||
?>
|
?></nav>
|
||||||
<h1><?php
|
|
||||||
if($currentArena == ""){
|
|
||||||
echo $lang['SITE_NAME'];
|
|
||||||
|
|
||||||
}else{
|
|
||||||
echo $currentArenaArr['title'];
|
|
||||||
} ?></h1>
|
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
50
html/style.css
Normal file
50
html/style.css
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
body{
|
||||||
|
width:100%;
|
||||||
|
font-size:100%;
|
||||||
|
top: 0px;
|
||||||
|
line-height:140%;
|
||||||
|
word-wrap:break-word;
|
||||||
|
text-rendering:optimizelegibility;
|
||||||
|
margin:0 auto;
|
||||||
|
font-family : "lucida grande", "gill sans", arial, sans-serif;
|
||||||
|
}
|
||||||
|
header{
|
||||||
|
background-color:#A60800;
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
header h1{
|
||||||
|
display: block;
|
||||||
|
font-size:300%;
|
||||||
|
color:#FFF;float: left;
|
||||||
|
width: 45%;
|
||||||
|
margin-left: 5%;}
|
||||||
|
|
||||||
|
header nav{
|
||||||
|
display: block;
|
||||||
|
width: 45%;
|
||||||
|
color:#FFF;
|
||||||
|
float: right;
|
||||||
|
|
||||||
|
}
|
||||||
|
#menus{
|
||||||
|
margin-left: 50px;
|
||||||
|
width:100%;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
#menus a{
|
||||||
|
color: #fff;
|
||||||
|
display: table-cell;
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 15px 15px 0px 0px;
|
||||||
|
}
|
||||||
|
#menus a.selected{
|
||||||
|
color:#202020;
|
||||||
|
background-color:#fff;
|
||||||
|
}
|
||||||
|
#languages{
|
||||||
|
float: right;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$lang=array(
|
$lang=array(
|
||||||
'SITE_NAME' => 'Artificials Intelligences\' arena',
|
'SITE_NAME' => 'bots\'arena',
|
||||||
'SITE_DESCRIPTION' => 'blah blah blah but english',
|
'SITE_DESCRIPTION' => 'blah blah blah but english',
|
||||||
'HOME' => 'Home page'
|
'HOME' => 'Home page'
|
||||||
);
|
);
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$lang=array(
|
$lang=array(
|
||||||
'SITE_NAME' => 'Arène pour intelligences (ou persque) artificielles',
|
'SITE_NAME' => 'Arène à bots',
|
||||||
'SITE_DESCRIPTION' => 'blah blah blah mais en francais',
|
'SITE_DESCRIPTION' => 'blah blah blah mais en francais',
|
||||||
'HOME' => 'accueil'
|
'HOME' => 'accueil'
|
||||||
);
|
);
|
||||||
Loading…
Reference in New Issue
Block a user