} else { $verified = null; } //============ FAVORITES if ($key['favoriteUser'] == 1) { $classFav = 'favorited'; $spanFav = ' title="' . $_SESSION['LANG']['trash'] . ' ' . $_SESSION['LANG']['favorite'] . '"'; $spanAbsolute = '<span class="add_fav"></span>'; $textFav = $_SESSION['LANG']['favorited']; } else { $classFav = null; $spanFav = null; $spanAbsolute = null; $textFav = $_SESSION['LANG']['favorite']; } $activeRepost = $obj->checkRepost($key['id'], $_SESSION['authenticated']); //============ REPOST SESSION CURRENT if ($activeRepost == 1) { $spanRepost = ' repostedSpan'; $textRepost = $_SESSION['LANG']['reposted']; } else { $spanRepost = null; $textRepost = $_SESSION['LANG']['repost']; } /* * ------------------------------------------------- * If the picture is larger than 440 pixels, * show the thumbnail * ------------------------------------------------- */ $widthPhoto = _Function::getWidth('../../upload/' . $key['photo']);