-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
67 lines (44 loc) · 1.37 KB
/
index.php
File metadata and controls
67 lines (44 loc) · 1.37 KB
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
<?php
//This page shows every it to choose from
if (session_status()==PHP_SESSION_NONE)
session_start();
//this is to change things in the header, I prefer this to using $_SERVER
$indexp = true;
include_once "functions.php";
include_once "langfunc.php";
if (!isset($langSet))
{
setLang(getSupported($textArray));
$langSet = true;
}
$openbtny = "20px";
if (!isset($postMenu))
$postMenu = "";
//pour cacher (ou non) les tags
$postMenu .= ' <form id="sTagForm" method="post" action="' . $_SERVER["PHP_SELF"] . '">
<input type="checkbox" onclick="submitForm(\'sTagForm\');" name="showTag" id="showTag" ' . (isset($_POST['showTag'])?'checked':'') . '/>
<label for="showTag">' . I18("Montrer les variantes symboliques") . '</label>
</form>' . PHP_EOL;
include("header_generic.php");
if ($canChange)
{
echo '<form method="post" action="user_action.php" id="actionForm" enctype="multipart/form-data">' . PHP_EOL;
echo "<div id='userPos' class='userPos'>" . PHP_EOL;
echo getUserAction('index');
echo "</div>" . PHP_EOL;
}
echo '<div id="main">' . PHP_EOL;
ITMenu();
listBatches(); //menu des batchs d'it
listAll(); //enumération des instructions
//change this part to put a nice positive message
echo '<div id="news">' . PHP_EOL;
include "news/news.php";
echo '</div>' . PHP_EOL;
echo '</div>';
if ($canChange)
{
echo '</form>' . PHP_EOL;
}
include("trailer.php");
?>