\n";
include INFUSIONS."user_info_panel/user_info_panel.php";
openside($locale['001']);
// Find out which panels and pages the admin can access
$usr_rghts = " (admin_rights='".str_replace(".", "' OR admin_rights='", $userdata['user_rights'])."')";
$page1 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='1'");
$page2 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='2'");
$page3 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='3'");
$page4 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='4'");
if (iMEMBER) {
if ($page1) echo " ".$locale['ac01']."
\n";
if ($page2) echo " ".$locale['ac02']."
\n";
if ($page3) echo " ".$locale['ac03']."
\n";
if ($page4) echo " ".$locale['ac04']."
\n";
echo "