<?php
// Admin Panel
if ($adminloggedIn) {
global $config, $adminOptions, $successImg, $failImg;
$app = json_decode(file_get_contents('https://graph.facebook.com/'.$config['appId'].'?access_token='.$config['appId'].'|'.$config['secret']));
$output = "<div id='admindiv'><h3>Settings Information:</h3>";
if (isset($app->id)) $output .= "$successImg <strong>Application ID</strong>: ".$app->id."<br />";
else $output .= "$failImg <strong>Application ID</strong>: <span title='App ID and/or App Secret is Invalid'>".$config['appId']."</span><br />";
if (isset($app->name)) $output .= "$successImg <strong>Application Name</strong>: ".$app->name."<br />";
else $output .= "$failImg <strong>Application Name</strong>: <br />";
if (isset($adminOptions["admintoken"]) && $adminOptions["admintoken"] != "") {
$output .= "$successImg <strong>Application Administrator Token</strong>: Installed";
} else {
$output .= "$failImg <strong>Application Administrator Token</strong>:
<span title='Logout and Signup + Authorize with a user who is an administrator of the configured facebook application to install this token'>
Not Installed
</span><br />";
}
$output .= "</div>
<script>$( \"#admindiv\" ).tooltip();</script>";
return $output;
}
?>
- Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
- Warning: Undefined variable $adminloggedIn in /in/H72jQ on line 3
- Output for 5.0.4 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
- Notice: Undefined variable: adminloggedIn in /in/H72jQ on line 3
- Output for 7.3.32 - 7.3.33
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.3
- Notice: Undefined variable: adminloggedIn in /in/H72jQ on line 3
preferences:
277.13 ms | 402 KiB | 380 Q