also wenn du deine admin aufrufst, was ist zwischen den beiden menue´s
www.deinedomain.tdl/adminforce
wenn nix da steht
erstelle im ftp adminforce/content die datei startseite.php und gib diesen inhalt rein
PHP-Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td width="100%" valign="top">
<?head("Userstatistik");?>
<?
$kontostats = mysql_fetch_array(db_query("SELECT COUNT(uid) AS kd_uid , SUM(kontostand) AS kd_kontostand FROM ".$db_prefix."_kontodaten"));
?>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td width="55%">Angemeldete User</td>
<td align="right"><?=@number_format($kontostats['kd_uid'],0,",",".");?> </td>
</tr>
<tr bgcolor="#f5f5f5">
<td>Gesamtguthaben</td>
<td align="right"><?=@number_format($kontostats['kd_kontostand'],2,",",".");?> </td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="55%">Guth. pro User</td>
<td align="right"><?=@number_format($kontostats['kd_kontostand'] / $kontostats['kd_uid'],2,",",".");?> </td>
</tr>
</table>
<?foot();?>
</td>
</tr></table>
<?head("VMS Links");?>
» <a href="http://www.designerscripte.net/in.php?to=home" target="_blank">VMS Supportforum</a><br>
» <a href="http://www.designerscripte.net/in.php?to=dl" target="_blank">VMS Downloads</a><br>
<?foot();?>
vorrausgesetzt es ist ein vms1.2
beim vms1.xx sieht der dateiinhalt so aus:
PHP-Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td width="100%" valign="top">
<?head("Userstatistik");?>
<?
$kontostats = mysql_fetch_array(db_query("SELECT COUNT(uid) AS kd_uid , SUM(kontostand) AS kd_kontostand FROM ".$db_prefix."_kontodaten"));
?>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td width="55%">Angemeldetet User</td>
<td align="right"><?=number_format($kontostats['kd_uid'],0,",",".");?> </td>
</tr>
<tr bgcolor="#f5f5f5">
<td>Gesamtguthaben</td>
<td align="right"><?=number_format($kontostats['kd_kontostand'],2,",",".");?> </td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="55%">Guth. pro User</td>
<td align="right"><?=number_format($kontostats['kd_kontostand'] / $kontostats['kd_uid'],2,",",".");?> </td>
</tr>
</table>
<?foot();?>
</td>
</td>
</tr></table>
name und ort sind der selbe