dam wszystkie pliki
index.php
<?php
require_once("!konfiguracja/bd.php");
include("include/header.php");
?>
header
<?php
#--------temp inicjacja danych
$_SESSION['dyspozytor']=1;
$_SESSION['baza']='1';
$_SESSION['zalogowany']='1';
#--------ustawienie czasu po jakim ma się wylogować w przypadku bezczynnosci
$intTimeoutSeconds = 60000;
if(isset($_SESSION['intLastRefreshTime'])) {
if(($_SESSION['intLastRefreshTime']+$intTimeoutSeconds)<time())
{
}
}
$_SESSION['intLastRefreshTime'] = time();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-2" /> <link rel="stylesheet" type="text/css" href="style/style.css"> <META NAME="Keywords" CONTENT="">
<body leftmargin="0" topmargin="0">
<table class="naglowek_tlo" align="center" cellspacing="0" cellpadding="0"> <a href="trasy.php">PLANOWANIE TRAS
</a>
TRASY
<?php
include("index.php");
$text='';
$id_baza=$_SESSION['baza'];
$get_pokaz= isset($_GET['pokaz']) ?
$_GET['pokaz'] : 0;
#---dane z zatwierdz trasy
$text.="<TABLE WIDTH=\"100%\">
<TR>
<TD WIDTH=\"8%\" style=\"border: 3px solid blue;\" valign=\"top\">";
$text.=" <h3>Wybierz trasę</h3>";
for ( $i=1; $i<$liczba_tras+1; $i++)
{
$text.=" <a href=\"trasy.php?ilosc_tras=$liczba_tras&id_trasa=$i&pokaz=$get_pokaz\">Trasa nr ".$i."</a>
</BR>";
}
$text.=" </TD>
<TD VALIGN=\"TOP\" style=\"border: 3px solid blue;\" WIDTH=\"35%\">
<h5>Informacje podstawowe
<HR color=\"red\">
<FORM action=\"trasa_funkcje.php\" method=\"post\">
<TABLE>
<TR>
<TD>
Wprowadź datę <sub>[rrrr-mm-dd]</sub>
</TD>
<TD>
<INPUT type=\"text\" name=\"data_t\" class=\"wyslij_formularz\" size=\"10px\" maxlength=\"10\" value=\"\">
</TD>
</TR>
<TR>
<TD>
Wprowadz liczbę tras do utworzenia <sub> [1-99]</sub>
</TD>
<TD>
<INPUT type=\"text\" name=\"ilosc_t\" class=\"wyslij_formularz\" size=\"10px\" maxlength=\"2\">
</TD>
</TR>
</TABLE>
<INPUT type=\"submit\" class=\"wyslij_formularz\" value=\"Zatwierdź\">
</FORM>
</H5>
Podglad trasy nr <font color=\"blue\">$id_trasa</font>
<H5>";