Rockhopper
Registered
Кода ми дава Parse error: syntax error, error unexpected end of file може ли да ми го оправите
Благодаря предварително.
КОДА
Благодаря предварително.
КОДА
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="author" content="ExTrEeMeR" />
<link rel="stylesheet" type="text/css" href="style.css" />
<?PHP include("inc.php"); ?>
<?php include ("meta.php"); ?>
<body>
<a href="index.php"> <center> <img src="img/header.gif" title="Начало" alt="Home" /> </center> </a>
<?PHP include("menu.php"); ?>
<div class="info">
<?PHP
$array = array('license.web');
foreach ($array as $i => $value) {
if (file_exists($value)) {
echo "Ако имате нужда от помощ пуснете тема във <a href='forum/'><b>форума</b></a>! <div class='right'>Вашият IP адрес е:<b>";?><? echo getenv('REMOTE_ADDR'); ?><? echo'</b></div>';
} else {
echo "Файлът <b>$value</b> не съществува!";
}
}
?>
</div>
<div class="content">
<div style="float: right;">
<?PHP include("rightbar.php"); ?>
</div>
<Div style="float: right; margin-right: 10px;">
<div class="topic">
Реклама №1
</div>
<div class="new">
<?php include ("add.php"); ?>
</div>
<div class="topic">
Новини
</div>
<div class="new">
<?php
require 'config.php';
$query = mysql_query("SELECT id, title, new, date, author FROM `news` ORDER BY `id` DESC LIMIT 5") or die (mysql_error());
while($row = mysql_fetch_array($query))
{
?>
<center><div class="zaglavienovina"><b><?php print $row['title']; ?></b></div>
<br>
<?php print $row['new']; ?><hr />
<b>Добавил: <?php print $row['author']; ?> / <?php print $row['date']; ?></b></center>
<?php
}
?>
</div>
<div class="topic">
Реклама №2
</div>
<div class="new">
<? include ("add.php"); ?>
</div>
<div class="topic">
Последни теми от форума
</div>
<div class="new">
<?php include("includes/last.php"); ?>
</div>
</div>
<Div style="float: right;">
<?php include("leftbar.php"); ?>
</div>
<div style="clear: both;"></div>
</div>
<?php include("footer.php"); ?>
</body>
</html>