Parašė viva· 2009 Bal. 18 19:04:21
#10
Turiu viena panele ja i profili ideti noriu bet kai idedu tai kai savo profili ziuriu rodo mano prizus o kai ziuriu kitu vistiek mano prizus rodo riektu padaryti taip kad kokio nario profili ziuri tai to nario ir prizus rodytu.
Panele :
echo "<br>";
$resultrewards = dbquery("SELECT * FROM ".$db_prefix."rewards_count WHERE user_id='".$userdata[user_id]."'");
if (dbrows($resultrewards) != 0) {
$i = 0;
opentable("".PS_019."");
echo "<center>";
while ($rewards = dbarray($resultrewards)){
$result1 = dbquery("SELECT * FROM ".$db_prefix."rewards WHERE reward_id='".$rewards['reward_id']."'");
$rewards1 = dbarray($result1);
echo "<img border=0 src=rewards/".$rewards1[reward_image]." alt='".$rewards1['reward_title']."'>";
$i++;
if ($i == 6){
echo "<br>";
$i=0;}
}
echo "</center>";
closetable();}
Redagavo viva· 2009 Lie. 27 18:07:48