opps sry, here it is
<script language='JavaScript'>
<!--
function buddy_pop()
{
window.open('http://www.animefury.com/forum/index.php?act=buddy&','BrowserBuddy','wid
th=200,height=450,resizable=yes,scrollbars=yes');
}
//-->
</script>
<?php
// Selecting members from the database
$sql_pm = mysql_query("SELECT * FROM `ibf_members` WHERE
id='$ibf_member_id'") or die('cannot get members');
$pm = mysql_fetch_array($sql_pm);
// getting group info for admin and moderator links.
$sql_group = mysql_query("SELECT * FROM `ibf_groups` WHERE
g_id='$pm[mgroup]'") or die('cannot get groups');
$group = mysql_fetch_array($sql_group);
// Starting making member bar
if(isset($ibf_member_id) && ($ibf_pass_hash == "$pm[password]")){
// log out link
$logout = "<a
href=\"$url?s=$ibf_session_id&act=Login&CODE=03\">$gobyebye</a>";
// moderator control panel link.
if($group[g_is_supmod] == 1)
{
$modcp = " | <a href=\"$url?&act=modcp\">Mod CP</a>";
};
// admin control panel link.
if($group[g_access_cp] == 1)
{
$admincp = " | <a href=\"$short\">Admin CP</a>";
};
// the formated look of the end of the logout, admin cp and mod cp.
Change the format here if wanted.
echo"$loggedin: <b>$pm[name]</b> ( $logout<b>$admincp$modcp </b>)";
} else {
// if not logged in will show this.
echo "Welcome <b>guest</b>, please <a
href=\"$url?act=Login&CODE=00\">login</a> or <a
href=\"$url?&act=Reg&CODE=00\">register</a>.";
};
// pm pop-up. new feature of 2.1
$show_popup = $pm['show_popup'];
if($show_popup > 0)
{
$query = "UPDATE ibf_members SET show_popup='0' WHERE id='{$ibf_member_id}' ";
$result = mysql_query($query);
echo "<script language='JavaScript'>
<!--
window.open('$url?act=Msg&CODE=99&s={$ibf_session_id}','NewPM','width=500,heigh
t=250,resizable=yes,scrollbars=yes');
//-->
</script>";
<?php
// left side of the member bar.
if (isset($ibf_member_id) AND $ibf_pass_hash == "$pm[password]")
{
echo "
<!-- control panel link -->
<a href=\"$url?s=$ibf_session_id&act=UserCP&CODE=00\">$yourcp</a> /
<!-- new messages thing. -->
<a href=\"$url?s=$ibf_session_id&act=Msg&CODE=01\">{$pm['new_msg']} new
messages</a> /
<!-- My Assistant Link -->
<a href='javascript:buddy_pop();'>My Assistant</a> /
<!-- gets latest post info from your boards. -->
<a href=\"$url?&act=Search&CODE=getnew\">".date("F d")."</a>";
}
else
{
// shows the date.
echo "Today Is ".date("F d");
}
?>