rendered paste body<?php
function showfull() {
$show = $_GET['show'];
$qy = mysql_query("SELECT * FROM `vgo_articles` WHERE `id` = '$show'") or die(mysql_error());
$t = mysql_fetch_array($qy);
function codes() {
$t['page'] = htmlspecialchars($t['page']);
$t['page'] = str_replace(" "," ",$t['page']);
$t['page'] = str_replace("\r\n ","\r\n ",$t['page']);
$t['page'] = str_replace("[CODE]\r\n","<div class=\"code\">",$t['page']);
$t['page'] = str_replace("\r\n[/CODE]\r\n","</div>",$t['page']);
$t['page'] = str_replace("\r\n[/CODE]","</div>",$t['page']);
$t['page'] = str_replace("","<b>",$t['page']);
$t['page'] = str_replace("","</b>",$t['page']);
$t['page'] = str_replace("","<b>",$t['page']);
$t['page'] = str_replace("","</b>",$t['page']);
$t['page'] = str_replace("","<U>",$t['page']);
$t['page'] = str_replace("","</U>",$t['page']);
$t['page'] = str_replace("","<I>",$t['page']);
$t['page'] = str_replace("","</I>",$t['page']);
$t['page'] = str_replace("[UL]","<uI>",$t['page']);
$t['page'] = str_replace("[/UL]","</uI>",$t['page']);
$t['page'] = str_replace("[li]","<li>",$t['page']);
$t['page'] = str_replace("[/li]","</li>",$t['page']);
$t['page'] = nl2br($t['page']);
return $t['page'];
}
codes($t['page']);
?>