همینو بلد نیستم
شما چطور این کدها رو قرار می دید

بعد یه نگاه به کار من هم بندازید
کد:
<?php


defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

global $mosConfig_offset, $mosConfig_caching, $mosConfig_enable_stats;
global $mosConfig_gzip;
$serverinfo = $params->get( 'serverinfo' );
$siteinfo = $params->get( 'siteinfo' );
$moduleclass_sfx = $params->get( 'moduleclass_sfx' );

$content = "";


if ($siteinfo) {
	$query="SELECT count(id) AS count_users FROM #__users";
	$database->setQuery($query);
	
	echo "".T_('Members').": " .$database->loadResult() . "<br />\n";

	$query="SELECT count(id) as count_items from #__content";
	$database->setQuery($query);
	echo "".T_('News').": ".$database->loadResult() . "<br />\n";

	$query="SELECT count(id) as count_links FROM #__weblinks WHERE published='1'";
	$database->setQuery($query);
	echo "".T_('Web Links').": ".$database->loadResult() . "<br />\n";
}

if ($mosConfig_enable_stats) {
	$counter = $params->get( 'counter' );
	$increase = $params->get( 'increase' );
	if ($counter) {
		$query = "SELECT sum(hits) AS count FROM #__stats_agents WHERE type='1'";
		$database->setQuery( $query );
		$hits = $database->loadResult();

		$hits = $hits + $increase;

		if ($hits == NULL) {
			$content .= "" . T_('Visitors') . ": 0\n";
		} else {
			$content .= "" . T_('Visitors') . ":" . $hits . "\n";
		}
	}
}
?>

این هم کاری که من انجام دادم

کد:
<?php


defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

global $mosConfig_offset, $mosConfig_caching, $mosConfig_enable_stats;
global $mosConfig_gzip;
$serverinfo = $params->get( 'serverinfo' );
$siteinfo = $params->get( 'siteinfo' );
$moduleclass_sfx = $params->get( 'moduleclass_sfx' );

$content = "";


if ($siteinfo) {
	$query="SELECT count(id) AS count_users FROM #__users";
	$database->setQuery($query);
	?>
	
	<table width="126" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <td width="55"><?php echo "".T_('Members').": " ?></td>
  <td width="71"><?php .$database->loadResult() . "<br />\n"; ?></td>
 </tr>
 
</table>
	<?php 
	
	

	$query="SELECT count(id) as count_items from #__content";
	$database->setQuery($query);
	echo "".T_('News').": ".$database->loadResult() . "<br />\n";

	$query="SELECT count(id) as count_links FROM #__weblinks WHERE published='1'";
	$database->setQuery($query);
	echo "".T_('Web Links').": ".$database->loadResult() . "<br />\n";
}

if ($mosConfig_enable_stats) {
	$counter = $params->get( 'counter' );
	$increase = $params->get( 'increase' );
	if ($counter) {
		$query = "SELECT sum(hits) AS count FROM #__stats_agents WHERE type='1'";
		$database->setQuery( $query );
		$hits = $database->loadResult();

		$hits = $hits + $increase;

		if ($hits == NULL) {
			$content .= "" . T_('Visitors') . ": 0\n";
		} else {
			$content .= "" . T_('Visitors') . ":" . $hits . "\n";
		}
	}
}
?>
ولی جواب نمی ده