".$massparam['titlecia']."\r\n"); echo("$siteurl\r\n"); echo("".$massparam['descriptioncia']."\r\n"); echo(''."\r\n"); $stmt = $dbcommentit->prepare('SELECT * FROM '.$table.' WHERE '.$zap.' moder=0 ORDER BY data DESC'); $stmt->execute(array($url)); while ($myrow = $stmt->fetch()) { $urlbase=$myrow[1]; if ($zip=='') {$fulllink=$siteurl.$urlbase;} $comment_msg=$myrow[3]; $names=$myrow[2]; $date=date("Y-m-d H:i:s",strtotime($massparam['correcttime'],strtotime($myrow[4]))); $date=date("r",strtotime($date)); if ($myrow[15]==1) {$names=$massparam['nameadmin'];} $comment_msg = str_replace('
', ' ', $comment_msg ); $comment_msg = cuthtml($comment_msg); $comment_msg=cutbb($comment_msg); $comment_msg = preg_replace("#\[url=(.*?)\](.*?)\[/url\]#si", "\\1", $comment_msg); $comment_msg = preg_replace("#\[url\](.*?)\[/url\]#si", "\\1", $comment_msg); $comment_msg = stripslashes($comment_msg); $comment_msg = htmlspecialchars($comment_msg,ENT_QUOTES,$codername); $names = htmlspecialchars($names,ENT_QUOTES,$codername); $names=$names.' - '.viewworld($comment_msg,$massparam['lastsum']).$massparam['lastend']; echo("\r\n\r\n"); echo("".$names."\r\n"); echo("".$date."\r\n"); echo("".htmlspecialchars($fulllink,ENT_QUOTES,$codername)."\r\n"); echo("\r\n"); echo("\r\n\r\n"); } ?>