Mam takie problemy.
Gdy z logowania przechodzę do kolejnej strony i mam wpisane w logowaniu xxx.php?a=cos wejdzie,
ale nie wyśwetli tego cosia chyba ze zrobię odśwież. Dlaczego??
Mam plik z kalendarzem który includuje w dwóch innych plikach. W jednym działa bez problemu w drugim nie co jest nie tak??
Kalendzarz
<?php echo' <html> <head> <META http-equiv=Content-type content="text/html; charset=iso-8859-2"> <META http-equiv=Content-Language content=pl> </head>'; echo" <!-- calendar stylesheet --> <link rel='stylesheet' type='text/css' media='all' href='calendar-win2k-cold-1.css' title='win2k-cold-1' /> <!-- main calendar program --> <script type='text/javascript' src='calendar.js'></script> <!-- language for the calendar --> <script type='text/javascript' src='calendar-en.js'></script> <!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. --> <script type='text/javascript' src='calendar-setup.js'></script> <body> <script type='text/javascript'> function catcalc(cal) { var date = cal.date; var time = date.getTime() // use the _other_ field var field = document.getElementById('f_calcdate'); if (field == cal.params.inputField) { field = document.getElementById('f_date_a'); time -= Date.WEEK; // substract one week } else { time += Date.WEEK; // add one week } var date2 = new Date(time); field.value = date2.print('%Y-%m-%d %H:%M'); } </script> <form action='#' method='get'> <table cellspacing='0' cellpadding='0' style='border-collapse: collapse'><tr> <td><input type='text' name='date' id='f_date_c' readonly='1' /></td> <td><img src='strona/img.gif' id='f_trigger_c' style='cursor: pointer; border: 1px solid red;' title='Wybierz date' onmouseover='this.style.background='red';' onmouseout='this.style.background=''' /></td> </table> </form> <script type='text/javascript'> Calendar.setup({ inputField : 'f_date_c', // id of the input field ifFormat : '%Y-%B-%e', // format of the input field button : 'f_trigger_c', // trigger for the calendar (button ID) align : 'Tl', // alignment (defaults to Bl) singleClick : true }); </script> </body> </html>"; ?>