XtGem Forum catalog
"; $id=cyr(htmlspecialchars(stripslashes(trim($id)))); $pass=cyr(htmlspecialchars(stripslashes(trim($pass)))); $band=cyr(htmlspecialchars(stripslashes(trim(urldecode($band))))); if(!empty($id)) { $q = mysql_query("select id,login,pass from users where id='".$id."';"); } else { die ($lang['empty_login']."

"); } if(empty($band)) { die($lang['bands_band_not_chosen']."
".$lang['back']."

"); } $data = mysql_fetch_array($q); $id=$data['id']; $login=$data['login']; if($pass!=$data['pass']) { die ($lang['empty_login']."

"); } else { $band_q=mysql_query("select * from bands where name='".$band."';"); $band_array=mysql_fetch_array($band_q); $name=$band_array['name']; $boss=$band_array['boss']; $members=$band_array['members']; $avtoritet=$band_array['avtoritet']; } $band_members = explode(".", $members); $count_members=count($band_members); print "".$lang['bands_bandname'].": $name
"; $db=mysql_fetch_array(mysql_query("select id from users where login='".$boss."';")); $dbid=$db['id']; print "".$lang['bands_boss'].": $boss
"; print "".$lang['uv_level'].": $avtoritet
"; print "".$lang['bands_members']."($count_members):
"; for($i=0;$i<$count_members;$i++) { print $band_members[$i].","; } print "
"; mysql_query("update users set last='".time()."',city='0' where id='".$id."';"); print "---
>".$lang['back']."
"; print ">>".$lang['menu']."
"; mysql_close(); include "./../includes/footer.php"; ?>