FT3 Posted October 25, 2009 Author Report Posted October 25, 2009 (edited) nez :D tik mekleju šo scriptu ;/ ir viens scripts bet vai tu varetu man palidzet viņū partaisit? :? Edited October 25, 2009 by FT3
FT3 Posted October 25, 2009 Author Report Posted October 25, 2009 <?php $result2 = mysql_query("SELECT * FROM users WHERE online='Y' AND id!=$id"); while($row = mysql_fetch_array($result2)) { $img = getimagesize($row['bilde']); ?> <div> <?php if($img[0] > 100) echo "<a href='{$row['bilde']}' target='_blank'><img src='{$row['bilde']}' alt='Profila bilde' width='100' /></a><br />"; else echo "<img src='{$row['bilde']}' alt='Profila bilde' /><br />";?> <?php echo "{$row['vaards']} {$row['uzvaards']}"; ?> </div> <?php } ?> vjg ustajsti lai nerada to avatar bet gan Users online: skaits :?
rATRIJS Posted October 25, 2009 Report Posted October 25, 2009 (edited) Jūs tak nemaz necenšaties. Dabūnat kaut kādu kodu un tad prasat kā to pārveidot, lai viņš dara pavisam ko citu. Un kā saglābat pedejo aktivitāti? UPDATE users SET last_activiti_time = NOW() WHERE id = ... FT3 - nevis WTF, bet paskaties ko tu esi vispār iekopējis neskatoties kas tur rakstīts. SELECT * FROM TABULA WHERE PEDEJA AKTIVITATE >= ... Edited October 25, 2009 by rATRIJS
FT3 Posted October 25, 2009 Author Report Posted October 25, 2009 lab sk nevjg vairs palidzet iztikšu ari bez ta ;/
Recommended Posts