1) $j=0; ?>
" width="100" height="70" />
    SetQuery("SELECT * FROM #@__store_groups WHERE tops='".$v['storeid']."' ORDER BY orders ASC LIMIT 0,4"); $db->Execute(); while($rs = $db->GetObject()){ ?>
  • storename;?>
\n
"; else echo "
\n
"; } }?>

SetQuery("SELECT groupimg,groupid,groupname FROM #@__groups WHERE ishidden=0 ORDER BY threads DESC LIMIT 0,7"); $db->Execute(); $i=0; while($rs = $db->GetArray()){ $i++; $icon = $rs['groupimg']; if(!$icon) $icon = "images/group_mainlist00.gif"; ?>