| Line 1... |
Line 1... |
| 1 |
<?php
|
1 |
<?php
|
| - |
|
2 |
// ticket d'impression (thank's to Geoffroy MUSITELLI)
|
| 2 |
//gestion de la langue
|
3 |
//gestion de la langue
|
| 3 |
$origine='user_new';
|
4 |
$origine='user_new';
|
| 4 |
if (is_file("../lib/langues.php"))
|
5 |
if (is_file("../lib/langues.php"))
|
| 5 |
include("../lib/langues.php");
|
6 |
include("../lib/langues.php");
|
| 6 |
|
7 |
|
| Line 23... |
Line 24... |
| 23 |
?>
|
24 |
?>
|
| 24 |
|
25 |
|
| 25 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
|
26 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
|
| 26 |
<link rel="stylesheet" href="/css/style.css">
|
27 |
<link rel="stylesheet" href="/css/style.css">
|
| 27 |
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css" />
|
28 |
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css" />
|
| 28 |
<script type="text/javascript" src="/javascript/epoch_classes.js"></script>
|
29 |
<script type="text/javascript" src="/js/epoch_classes.js"></script>
|
| 29 |
<script type="text/javascript" src="/javascript/fonctions.js"></script>
|
30 |
<script type="text/javascript" src="/js/fonctions.js"></script>
|
| 30 |
<script language="javascript" type="text/javascript">
|
31 |
<script language="javascript" type="text/javascript">
|
| 31 |
|
32 |
|
| 32 |
/*Insertion du calendrier*/
|
33 |
/*Insertion du calendrier */
|
| 33 |
var dp_cal;
|
34 |
var dp_cal;
|
| 34 |
window.onload = function () {
|
35 |
window.onload = function () {
|
| 35 |
dp_cal = new Epoch('epoch_popup','popup',document.getElementById('popup_container'));
|
36 |
dp_cal = new Epoch('epoch_popup','popup',document.getElementById('popup_container'));
|
| 36 |
};
|
37 |
};
|
| 37 |
/*Fin calendrier*/
|
38 |
/*Fin calendrier*/
|
| Line 67... |
Line 68... |
| 67 |
<tr bgcolor="black" valign=top><td colspan=2>
|
68 |
<tr bgcolor="black" valign=top><td colspan=2>
|
| 68 |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
|
69 |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
|
| 69 |
<tr><td>
|
70 |
<tr><td>
|
| 70 |
<?php
|
71 |
<?php
|
| 71 |
function sec_imp($time)
|
72 |
function sec_imp($time)
|
| 72 |
/*Formatage des secondes avant l'impression*/
|
73 |
/*Formatage des secondes avant l'impression */
|
| 73 |
{
|
74 |
{
|
| 74 |
$heure=0;$minute=0;$seconde=0;
|
75 |
$heure=0;$minute=0;$seconde=0;
|
| 75 |
$heure = floor($time/3600);
|
76 |
$heure = floor($time/3600);
|
| 76 |
$reste = $time%3600;
|
77 |
$reste = $time%3600;
|
| 77 |
if ($heure!=0) $result = $heure.' H ';
|
78 |
if ($heure!=0) $result = $heure.' H ';
|