filepath;
}
else
{
return $path."/files/imagecache/thumb_groups_user/dgroup.jpg";
}
}
$sql="SELECT n.nid as id, n.title as name FROM og_uid o JOIN node n ON o.nid=n.nid where o.uid=".arg(1)." and o.is_active=1 ORDER BY 2";
$res = db_query($sql);
if(db_num_rows($res)==0)
{
echo 'użytkownik nie jest zapisany do żadnych grup';
}
else
{
//echo db_num_rows($res);
$i=0;
while ($row = db_fetch_object($res))
{
$i++;
echo '
';
echo '
';
if($i%2==0) echo '