Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip?!

Parašė Karolis· 2009 Rugp. 9 00:08:34
#1

Kaip padaryti pavidžiui kad šitoj user gold panelej rezulatatų splava rodytu ne balta o kokia kitą spalvą?




Panele:

<?php
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
//required functions
include_once INFUSIONS."user_gold_panel/functions.php";
//language file

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."user_gold_panel/locale/".$settings['locale'].".php")) {
   // Load the locale file matching the current site locale setting.
   include INFUSIONS."user_gold_panel/locale/".$settings['locale'].".php";
} else {
   // Load the infusion's default locale file.
   include INFUSIONS."user_gold_panel/locale/English.php";
}

//Show only if its a member

if (iMEMBER) {




   if (iADMIN) {
      
   }
   
}
else

{
//not logged in so no need to show anything here
}

$pointquery=dbquery("SELECT * FROM ".$db_prefix."users_points ORDER BY points_total DESC LIMIT 0 , 5");
//hide it if theres no reply
if (dbrows($pointquery)!=0)
{
//top 5 gold
openside($locale['URG033'],'on');

echo '<table width="100%">';
$i=0;
while ($pointdata=dbarray($pointquery))
{
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl2"; }
echo '<tr class="'.$row_color.'">
<td width="50%"><img src="'.IMAGES.'gold.png"> <a class="side" href="'.BASEDIR.'profile.php?lookup='.$pointdata['owner_id'].'">'.$pointdata['owner_name'].'</a></td>
   <td width="20%">'.$pointdata['points_total'].'</td>';

   
   $i++;
}//while

echo "</table><center><a href='/infusions/user_gold_panel/index.php'><center><span style='color:orange'>Taškų bankas</span></b></center><center><a href='/infusions/sf_gift_system/brows_gifts.php?user_id=24'><center><span style='color:orange'>Dovanoti dovaną</span></b></center>";



closeside();
}
?>