Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Paspaudi ant avataro?

Parašė Demonas· 2007 Lie. 16 16:07:18
#16

pats pasidariau, va kodas ir instrukcija.

<?php
echo "<table width='100%'><tr><td width='33%'>";

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='1'");
while($data = dbarray($result)) {
echo "<center><a href='profile.php?lookup=".$data['user_id']."'><big><big><big>".$data['user_name']."</big></big></big></a><br><img src='".BASEDIR."images/avatars/".$data['user_avatar']."' title='".$data['user_name']."' height='100' width='100'><br><script type='text/javascript' src='http://download.skype.com/share/skypebuttons/js/skypeCheck.js'></script><a href='skype:1adminoskype?chat'><img src='http://mystatus.skype.com/smallclassic/1adminoskype' style='border: none;' width='114' height='20' alt='My status' /></a></a></center>\n";
}
echo "</td><td width='33%'>";

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='2'");
while($data = dbarray($result)) {
echo "<center><a href='profile.php?lookup=".$data['user_id']."'><big><big><big>".$data['user_name']."</big></big></big></a><br><img src='".BASEDIR."images/avatars/".$data['user_avatar']."' title='".$data['user_name']."' height='100' width='100'><br><script type='text/javascript' src='http://download.skype.com/share/skypebuttons/js/skypeCheck.js'></script><a href='skype:2adminoskype?chat'><img src='http://mystatus.skype.com/smallclassic/2adminoskype' style='border: none;' width='114' height='20' alt='My status' /></a></a></center>\n";
}

echo "</td><td width='33%'>";

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='3'");
while($data = dbarray($result)) {
echo "<center><a href='profile.php?lookup=".$data['user_id']."'><big><big><big>".$data['user_name']."</big></big></big></a><br><img src='".BASEDIR."images/avatars/".$data['user_avatar']."' title='".$data['user_name']."' height='100' width='100'><br><script type='text/javascript' src='http://download.skype.com/share/skypebuttons/js/skypeCheck.js'></script><a href='skype:3adminoskype?chat'><img src='http://mystatus.skype.com/smallclassic/3adminoskype' style='border: none;' width='114' height='20' alt='My status' /></a></a></center>\n";
}

echo "</td></tr></table>";



?>




jei pas tave sql'e yra laukas, kuriame yra surasyti skype adminu, tada visus (1,2,3)adminoskype keiti i
".$data['user_skype']."


arba, kokiu pavadinimu tas laukas, kuriame yra skype, ar tai butu padarytas is AIM tai skype keisk i aim
".$data['user_aim']."




visus, kur pazymeta user_id='1' vieneta (2,3) keiti i norimo admino id.