Hiho
Also das sind jetzt die 3 codes
ICQ
<?php
//Copyright by SLJ
//www.zocker-eppingen.de
defined ('main') or die ( 'no direct access' );
$abf = 'SELECT * FROM prefix_gbook ORDER BY id DESC LIMIT 0,5';
$erg = db_query($abf);
while ($row = db_fetch_object($erg)) {
$datum = date('d.m.y',$row->time);
$name = $row->name;
echo'
<table width="100%" cellspacing="0" cellpadding="0" height="13">
<tr><td><a href="?m=gbook">» '.$datum.' '.$name.'</a></td></tr>
</table>';
}
GBOOK
<?php
//Copyright by SLJ
//www.zocker-eppingen.de
defined ('main') or die ( 'no direct access' );
$erg = db_query("SELECT * FROM `prefix_user` where recht <= -3 ORDER by id DESC");
while ($row = db_fetch_object($erg)) {
$abf1 = "SELECT * FROM prefix_userfields where uid = $row->id and fid = 7";
$erg1 = db_query($abf1);
$row1 = db_fetch_object($erg1);
if (is_numeric($row1->val) ){
echo'<a href="http://www.icq.com/whitepages/cmd.php?uin='.$row1->val.'&action=add">'.$row->name.'</a> <img src="http://web.icq.com/whitepages/online?icq='.$row1->val.'&img=5" border="0"></a> <br>';
}
}
?>
Last User
<?php
//Copyright by SLJ
//www.zocker-eppingen.de
defined ('main') or die ( 'no direct access' );
$abf = 'SELECT * FROM prefix_user ORDER BY llogin DESC LIMIT 0,60';
$erg = db_query($abf);
while ($row = db_fetch_object($erg)) {
$datum = date('d.m.y',$row->llogin);
$user = $row->name;
echo'
<table width="100%" cellspacing="0" cellpadding="0" height="13">
<tr><td><a href="?m=user&um=6&uid='.$row->id.'">» '.$datum.' '.$user.'</a></td></tr>
</table>';
}
?>
und was muss ich da nun wo ändern?
ich versteh das nicht so ganz ?