<?php //@ Mostrar la cantidad de entradas que tiene el directorio $db =& JFactory::getDBO(); $sql = "select count(*) as total from jos_sobi2_item"; $db->setQuery($sql); $results = $db->loadObjectList(); if(count($results)) { foreach($results as $r) { $total = $r->total; } } ?>