<?php /** * @Author Tarchini Maurizio * @Version 1.0 * @AuthorEmail hide@address.com or hide@address.com * @AuthorSite http://www.mtxweb.ch * @DocumentDate 2-3-2008 * @DocumentLicense PUBLIC -FREE * @LicenseDetail GNU General Public License * @LicenseSite http://www.gnu.org/licenses/gpl.txt * @PHPCompatibility 4.2 or later * @DevelopmentStatus DIST - beta */ include_once "./lib/function_page.php"; include_once "./lib/function_db.php"; include "./lib/function_news_layout.php"; Grant(); PageIn(); echo '<h1>News completa</h1> <br><br> '; $sql = "SELECT * FROM news WHERE id='$_GET[id]'"; $res = GetRes($sql); $row = mysql_fetch_array($res); NewsLayout($row['contenuto'], $row['data'], $row['user'], 400); PageOut(); ?>