pliki wygladają następująco:
head_1.php
<html>
<head>
<title>. . . : : : F I L M Y : : : . . .</title>
<link rel=\"stylesheet\" href=\"styl.css\" type=\"text/css\">
</head>
<body bgcolor=\"white\" topmargin=\"0\" bottommargin=\"0\">
<center>
<table width=\"798\" cellspadding=\"0\" cellspacing=\"0\" bgcolor=\"white\" class=\"tabela\">
<tr><td width=\"798\">
<img src=\"img/nag_1.jpg\" width=\"796\">
</td></tr>
</table>
<?php
include(\"./include/funkcje.php\");
connect();
?>
index_1.php
<?php
include(\"./include/head_1.php\");
?>
<table width=\"800\" height=\"10\">
<TR><TD></TD></TR>
</table>
<table width=\"800\" cellspacing=\"0\" cellpadding=\"0\" class=\"tabela\" align=\"center\">
<tr><td width=\"200\" height=\"400\" valign=\"top\" class=\"tabelka\">
<table width=\"200\" cellspacing=\"0\" cellpadding=\"2\">
<tr><td width=\"80\"><a href=\"index_admin.php\">login</a></tr>
</table>
</td>
<td width=\"599\" height=\"400\" valign=\"top\">
<table cellspacing=\"0\" cellspadding=\"2\">
<tr><td height=\"400\" valign=\"top\">cosik tu bedzie ...
</td></tr>
</table>
</tr>
</table>
<?php
include(\"./include/bottom.php\");
?>
funkcje.php
<?php
function connect() {
if ($con) {
return $con;
}
else {
return 0;
}
else {
return $con;
}
}
}
?>