Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Need help

Parašė maskaj· 2010 Lap. 8 01:11:15
#1

Susidūriau su tokia problema, kas galite padėkit, būčiau dėkingas ;)






Nemoku užbaigti paneles, gal kas galite padėti?

Va kodas:


if(iMEMBER) { 
   $result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
   openside("Pakvietimai");
   echo "Tu jau pakvietes <b>$result</b> draugus"; 
echo "<p>";
echo "<b>Tavo nuoroda:</b> <a href='http://cshot.eu/invite.php?invite=".$userdata' target='_blank'><span style='color:005C5B'>http://cshot.eu/invite.php?invit....$userdata</span></a>['user_id']; 
echo "<p>";
echo "<b>Daugiausiai pakvietę:</b>";
   }
   $result = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
   echo "<table class='tbl-border' width='100%'>";
   while ($data = dbarray($result)) {
   $time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
   $data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
   echo "<tr><td class='tbl2' align='left'>
   <a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."' 
   title='Per&#254;i&#251;r&#235;ti ".$data2['user_name']." profil&#225;'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
   $time</td></tr>";
   }
   echo "</table>";
echo "<center><a href='viewpage.php?page_id=7' target='_blank'><b>AKCIJA</b></a></center></table>";