to jest zawartosc szablony.php, od ktorego odnosi sie download.php
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<center><b><font color=#029bc7>Szablony</font></b></center>
<br><br>
<?php
$query = "SELECT * from szablony_download ORDER BY id ASC";
{
<center>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td>
<center>
<table border=0 cellspacing=1 cellpadding=1 width=300>
<tr>
<td rowspan=5 bgcolor=#5c595b valign=top><center><a href=$row[7] target=_blank><img src=$row[6] border=0><br>(kliknij)</a></center></td>
<td bgcolor=#5c595b><b><font color=#029bc7>$row[1]</font></b></td>
</tr>
<tr>
<td bgcolor=#5c595b>$row[2]</td>
</tr>
<tr>
<td bgcolor=#5c595b>$row[4]</td>
</tr>
<tr>
<td bgcolor=#5c595b>$row[3]</td>
</tr>
<tr>
<td bgcolor=#5c595b>Pobrano: $row[8] <i><a href=$row[5]>Pobierz teraz!</a></i></td>
</tr>
</table>
</center>
</td>
</tr>
</table>
</center>
<br><br>
";
}
?>
index.php jest troszke dlugi, a nie ma tam zadnych skryptow php oprocz:
<?
?>
<?
include ('contents/'.basename('menu.php')); }else{
}
?>
<?
if($_GET['id'] == "" && file_exists('contents/news.php')) {
include ('contents/news.php');
}
{
echo "<center><font color=red>Plik news.php nie istnieje!</font></center>"; }
else if($_GET['id'] !== "" && file_exists("$to_include.php")) {
include ("$to_include.php");
}
else
{
echo "<center><font color=red>Plik nie istnieje!</font></center>"; }
?>