include INFUSIONS."gr_teamlist/infusion_db.php"; if (file_exists(INFUSIONS."gr_teamlist/locale/".LOCALESET."index.php")) { include INFUSIONS."gr_teamlist/locale/".LOCALESET."index.php"; } else { include INFUSIONS."gr_teamlist/locale/German/index.php"; } add_to_title($locale['global_200'].$locale['grtl102']); $result = dbquery("SELECT * FROM ".DB_GR_TEAMLIST_GROUP." ORDER BY tlg_position"); if (dbrows($result) != 0) { while ($tl_group = dbarray($result)) { echo "
\n | \n\n | \n|||||||||
";
}
if ($tl_users['tlu_userid'] != 0) {
$result3 = dbquery("SELECT * FROM ".DB_USERS." WHERE user_id='".$tl_users['tlu_userid']."'");
$tl_users2 = dbarray($result3);
}
if ($tl_users['tlu_pic'] != "" && file_exists(INFUSIONS."gr_teamlist/images/team/".$tl_users['tlu_pic'])) {
$user_avatar = INFUSIONS."gr_teamlist/images/team/".$tl_users['tlu_pic'];
} elseif ($tl_users2['user_avatar'] != "" && file_exists(IMAGES."avatars/".$tl_users2['user_avatar'])) {
$user_avatar = IMAGES."avatars/".$tl_users2['user_avatar'];
} else {
$user_avatar = IMAGES."avatars/nopic.gif";
}
echo "
|