Bonjour
j’essaie de nettoyé mon code mes je ne comprend pas mon erreur
en effet quand je clique dans le input date un calendrier s'affiche, sa marche
le problème et que le CSS je suis obliger de le laisser dans l'index, comment l'enlever
En faite j’essaie de nettoyé et surtout epuré mon index
pour info j'ai mis lle site en question en piece jointe
Cordialement
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118 <?php include('config.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> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link href="<?php echo $design; ?>/style.css" rel="stylesheet" title="Style" /> <script type="text/javascript" src="js/calendrier.js"></script> <title>Espace membre</title> </head> <body> <div class="header"> <a href="<?php echo $url_home; ?>"><img src="<?php echo $design; ?>/images/logo.png" alt="Espace Membre" /></a> </div> <style type="text/css"> .ds_box { width:200px; background-color: #FFF; border: 1px solid #000; position: absolute; z-index: 32767; } .ds_tbl { background-color: #FFF; } .ds_head { background-color: #333; color: #FFF; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; text-align: center; letter-spacing: 2px; } .ds_subhead { background-color: #CCC; color: #000; font-size: 12px; font-weight: bold; text-align: center; font-family: Arial, Helvetica, sans-serif; width: 32px; } .ds_cell { background-color: #EEE; color: #000; font-size: 13px; text-align: center; font-family: Arial, Helvetica, sans-serif; padding: 5px; cursor: pointer; } .ds_cell:hover { background-color: #F3F3F3; } /* This hover code won't work for IE */ </style> <?php //Création de la requête SQL $query = "SELECT nom, prenom FROM agents"; //Exécution de la requête $result = mysql_query($query) or die('Echec ligne : ' . __LINE__ . '<br /> Avec la requete : ' . $query . '<br /> Et la réponse : ' . mysql_error()); ?> <div class="content"> <form class="label" action="" method="get"> </select> <label class="label">Début de l'astreinte </label> <input class="label" onclick="javascript:ds_sh(this);" id="input_debut_astreinte" name="date" readonly="readonly" style="cursor: text" /> <label class="label">Fin d'astreinte </label> <input class="label" TYPE="text" id="input_fin_astreinte" /> </form> </div> <!--afficher les heures d'astreinte --> <form method="POST" action="selection_agent.php"> <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;"> <tr><td id="ds_calclass"> </td></tr> </table> <script type="text/javascript"> var ds_oe = ds_getel('ds_calclass'); var ds_ce = ds_getel('ds_conclass'); </script> </body> </html>
Partager