name"); if ($team->ping_user != 0) { if ($team->ping_user < 0) { $ping_user = lookup_user_id(-$team->ping_user); echo "

Team member ".user_links($ping_user)." has requested this team's founder position, but has already left the team.

"; } else { $ping_user = lookup_user_id($team->ping_user); echo "

Team member ".user_links($ping_user)." has requested this team's founder position. This may be because you left the team or haven't had contact with the team for a long time.

"; echo "

Use the following form to transfer team founder position or

id."\">

"; } } echo "
id> "; start_table(); echo " New founder? Name Total credit Recent average credit "; $result = mysql_query("select * from user where teamid = $team->id"); $navailable_users = 0; while ($user = mysql_fetch_object($result)) { if ($user->id!=$team->userid) { //don't show current founder $user_total_credit = format_credit($user->total_credit); $user_expavg_credit = format_credit($user->expavg_credit); echo ' '.$user->name.' '.$user_total_credit.' '.$user_expavg_credit.' '; $navailable_users++; } } if ($navailable_users > 0) { echo ""; end_table(); echo ""; } else { echo ' There are no users to transfer team to. '; end_table(); } echo "
"; mysql_free_result($result); page_tail(); ?>