el index.php (script wcddl1) es...
Código PHP:
<?php
$fetch_downloads = true;
$fetch_order = "id DESC";
include "funcs.php";
//-----------------------------------------------------
require "comments.class.php";
$mensajes = new comments();
//-----------------------------------------------------
?>
luego viene mas codigo...
Código PHP:
<?php
foreach($downloads as $dl) {
//---------------------------
$num_mens = $mensajes->gather_comments(false, $dl[id], true);
//---------------------------
?>
y sigue el codigo...
Coke.
|