j'essai desespéremment depuis deux jour d'intégrer un calendrier dans mon site mais je n'arrive pas.
le fichier .php contenant le code fonctionne parfaitement lorsqu'il est exécuté directement sur le navigateur. mais quand je l'appel depuis un lien de ma page web, ça ne fonctionne pas.
le contenu de mon fichier est le suivant:
Code : 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
 
<?php
require_once('calendar/classes/tc_calendar.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 
 
 
<link href="calendar/calendar.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="calendar/calendar/calendar.js"></script>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
 
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
              <table border="0" cellspacing="0" cellpadding="2">
                <tr>
                  <td nowrap>Select date</td>
                  <td><script language="javascript">
						</script>
  <form name="myform" method="post" action="new_stat.php">
                    <?php
					  $myCalendar = new tc_calendar("date1", true);
					  $myCalendar->setIcon("calendar/images/iconCalendar.gif");
					  $myCalendar->setDate(date('d'), date('m'), date('Y'));
					  $myCalendar->setPath("calendar/");
					  $myCalendar->setYearInterval(1960, 2015);
					  $myCalendar->dateAllow('2010-01-01', '2015-03-01');
					  //$myCalendar->setHeight(350);
					  //$myCalendar->autoSubmit(true, "form1");
					  $myCalendar->setSpecificDate(array("2011-04-01", "2011-04-13", "2011-04-25"), 0, 'month');
					 // $myCalendar->setOnChange("myChanged('test')");
					  //$myCalendar->rtl = true;
					  $myCalendar->writeScript();
					  ?></td>
                  <td><input type="submit" name="button" id="button" value="Statistics"></td>
   </form>            
 </tr>
              </table>
 
</body>
</html>
quand j'appel son url depuis un lien de ma page principale le calendrier ne veut pas s'afficher, d'après ce qui est affiché j'ai cru comprendre que les deux repertoire "calendar/calendar.css" et "calendar/calendar/calendar.js" ne sont pas apperçus.

merci de vouloir m'aider à résoudre le problème