-
Notifications
You must be signed in to change notification settings - Fork 0
/
transport.php
executable file
·100 lines (84 loc) · 3.82 KB
/
transport.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
/*************************************************************************************/
/* */
/* Thelia */
/* */
/* Copyright (c) 2005-2013 OpenStudio */
/* email : info@thelia.fr */
/* web : http://www.thelia.net */
/* */
/* This program is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 3 of the License */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*************************************************************************************/
require_once("pre.php");
require_once("auth.php");
if(! est_autorise("acces_configuration")) exit;
require_once("../fonctions/divers.php");
require_once("liste/transport.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php require_once("title.php");?>
<?php require_once("js/transport.php"); ?>
</head>
<body>
<div id="wrapper">
<div id="subwrapper">
<?php
$menu="configuration";
require_once("entete.php");
?>
<div id="contenu_int">
<p><a href="accueil.php" class="lien04"><?php echo trad('Accueil', 'admin'); ?> </a><img src="gfx/suivant.gif" width="12" height="9" border="0" /><a href="configuration.php" class="lien04"> <?php echo trad('Configuration', 'admin'); ?></a> <img src="gfx/suivant.gif" width="12" height="9" border="0" /> <a href="#" class="lien04"><?php echo trad('Gestion_transports', 'admin'); ?></a></p>
<!-- Début de la colonne de gauche -->
<div id="bloc_description">
<div class="bordure_bottom">
<!-- bloc des listes de transports -->
<div class="entete_liste_config">
<div class="titre"><?php echo trad('LISTE_TRANSPORTS', 'admin'); ?></div>
</div>
<?php
$liste = ActionsAdminModules::instance()->lister(2, true);
$i = 0;
foreach($liste as $module) {
$fond ="ligne_".($i%2 ? 'fonce' : 'claire')."_BlocDescription";
?>
<ul class="<?php echo $fond; ?>">
<li style="width:534px;"><?php echo ActionsAdminModules::instance()->lire_titre_module($module); ?></li>
<li style="width:32px;"><a href="transport.php?id=<?php echo $module->id; ?>#lzone"><?php echo trad('editer', 'admin'); ?></a></li>
</ul>
<?php
$i++;
}
?>
</div>
<!-- fin du bloc des listes de transports -->
<a name="lzone"> </a>
<?php
if($_GET['id']){
?>
<div class="bordure_bottom" id="listezone">
<?php modifier_transports($_GET['id']) ?>
</div>
<?php
}
?>
</div>
<!-- fin du bloc description -->
</div>
<?php require_once("pied.php");?>
</div>
</div>
</body>
</html>