Файл: 04/04/print.php
Строк: 27
<?
include("news_config.php");
$idex = mysql_query("SELECT * FROM `news` WHERE `id` = '$article_id'");
if($t = mysql_fetch_array($idex)){
$conn = mysql_query("SELECT * FROM `news` WHERE `id` = '$article_id'")
or die(mysql_error());
$row = mysql_fetch_array($conn);
?>
<!-- This script powered by www.WebCommersant.ru -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title><? echo $row[head]; ?></title>
<style type="text/css">
<!--
.style1 {
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
border:solid 1px #CCCCCC;
}
-->
</style>
</head>
<body>
<table width="70%" border="0" align="center" cellpadding="0" cellspacing="5" class="style1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="justify"><? echo $row[full]; ?></div></td>
</tr>
<tr>
<td><br><br>Оригинал статьи: <? echo "<a href='$script_url/article_$article_id.html'>$script_url/article_$article_id.html</a>"; ?></td>
</tr>
</table>
</body>
</html>
<?
}else{
echo "<META HTTP-EQUIV='Refresh' CONTENT='0; URL=index.html'>";
}
?>