forked from musique-libre/dogmazic.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
61 lines (57 loc) · 2.94 KB
/
index.php
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
<?php
$lang = isset($_GET['lang']) ? $_GET['lang'] : 'fr';
include('ini.php');
include(HOME_PATH . DS . 'texte.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>Dogmazic - <?= $trans['accueil'][$lang] ?></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="//play.dogmazic.net/favicon_dogmazic.ico">
<link rel="stylesheet" href="<?= CSS_PATH . DS . 'style.css'?>" type="text/css" media="screen">
<script src="<?= JS_PATH . DS . 'jquery.min.js'?>"></script>
<script src="<?= JS_PATH . DS . 'apps_mobiles_popup.js'?>"></script>
<script src="<?= JS_PATH . DS . 'togglebox.js'?>"></script>
<script src="<?= JS_PATH . DS . 'style.js'?>"></script>
<script src="<?= JS_PATH . DS . 'scrollbutton.js'?>"></script>
</head>
<body>
<header>
<a href="//play.dogmazic.net/index.php">
<img src="<?= IMG_PATH . DS . 'dogmaziclogo.png'?>" title="Dogmazic" alt="Dogmazic" id="logo_dogmazic">
</a>
<span id="loginInfo">
<a href="//play.dogmazic.net/login.php"><?= $trans['Connexion'][$lang] ?></a>
/ <a href="//play.dogmazic.net/register.php"><?= $trans['Inscription'][$lang] ?></a>
</span>
<div class="espace"></div> <!-- div vide pour la mise en page en flex -->
<form name="search" method="post" action="//play.dogmazic.net/search.php?type=song" enctype="multipart/form-data">
<input name="rule_1_input" id="searchString" placeholder="<?= $trans['Recherche'][$lang] ?>" class="ui-autocomplete-input" autocomplete="off" type="text">
<input name="action" value="search" type="hidden">
<input name="rule_1_operator" value="0" type="hidden">
<input name="object_type" value="song" type="hidden">
<select name="rule_1" id="searchStringRule">
<option value="anywhere" selected="selected"><?= $trans['Anywhere'][$lang] ?></option>
<option value="title"><?= $trans['Title'][$lang] ?></option>
<option value="album">Album</option>
<option value="artist"><?= $trans['Artist'][$lang] ?></option>
<option value="playlist_name"><?= $trans['Playlist'][$lang] ?></option>
<option value="tag"><?= $trans['Tag'][$lang] ?></option>
<option value="label">Label</option>
</select>
<input class="button" value="<?= $trans['Rechercher'][$lang] ?>" id="searchBtn" type="submit">
<a href="//play.dogmazic.net/search.php?type=song" id="advSearch"><?= $trans['Recherche_avancee'][$lang] ?></a>
</form>
<a href="//play.dogmazic.net/search.php?type=song" id="loupe" title="<?= $trans['Rechercher'][$lang] ?>">
<img src="<?= IMG_PATH . DS . 'loupe_blanche.png'?>">
</a>
</header>
<main>
<?php
include(HOME_PATH . DS . 'accueil.php');
?>
</main>
</body>
</html>