chcę żeby tabela była zależna od pliku i nie zrobiłem skrypt ale nie działa nie wiem co zrobić
proszę o pomoc i o odpowiedż
<?php
/*
Copyright Š 2007 Piotrwusek
Released under the GNU General Public License
*/
function url_exists($url) {
if($x == False) {
return False;
} else {
return True;
}
}
include("includes/language/polish.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="verify-v1" content="
<?php echo GOOGLE
; ?>" />
<link rel="SHORTCUT ICON" href="
<?php echo IKONA
; ?>">
<meta http-equiv="content-type" content="
<?php echo KODOWANIE
; ?>" />
<meta name="author" content="
<?php echo AUTOR
; ?>" />
<meta name="description" content="Strona klasy 3a gimnazjum" />
<meta name="keywords" content="
<?php echo KEYWORDS
; ?>" />
<meta name="copyright" content="
<?php echo PRAWA
; ?>" />
<meta http-equiv="content-language" content="pl" />
<meta name="distribution" content="GLOBAL" />
<link rel="stylesheet" href="stylesheet.css" type="text/css" />
<title>
<?php echo TITLE
; ?></title>
</head>
<body leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0" background="images/strona/tlo.bmp">
<table border="0" width="908" height="" align="CENTER" valign="TOP" cellspacing="0" cellpadding="0" bgcolor="white">
<tr>
<td background="images/strona/tabela-prawo.bmp" width="11"></td>
<td><?php require("includes/header.php"); ?>
<table border="0" align="CENTER" valign="TOP" cellspacing="0" cellpadding="0" leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0">
<tr>
<?
$a = url_exists("http://www.zsp3a.za.pl/includes/kolumna-lewa.php");
if($a == False) {
echo("<td width="3"></td> <td width="201"><?php require("includes/kolumna-lewa.php"); ?></td>
<td width="700"></td>
<td width="3"></td>");
} else {
echo("<td width="3"></td> <td width="201"><?php require("includes/kolumna-lewa.php"); ?></td>
<td width="500"></td>
<td width="201"></td>
<td width="3"></td>");
}
?>
</tr>
</table>
<?php require("includes/stopka.php"); ?></td>
<td background="images/strona/tabela-lewo.bmp" width="11"></td>
</tr>
<tr background="images/strona/tabela-dol_1.bmp" height="10" widht="201"></tr>
<td ></td>
<td></td>
</table>
<br />
</body>
</html>