function fBAcctHeader() { $userinfo = fBGetUserInfo(); ?> <style> BODY { margin: 60px 0px 0px 0px; padding: 0; } div.fBacctBar { background-color:#1E3F82 ; color: #FFFFFF; border: 2px solid; border-color: #f0f0f0 #909090 #909090 #f0f0f0; padding: 0px 0px 0px 0px; margins: 0px 0px 0px 0px; text-align: left; position: absolute; z-index:99; } table.fBacctBar,td.fBacctBar,tr.fBacctBar,form.fBacctBar,input.fBacctBar { font-family: Verdana, Times New Roman, Times, serif; font-size: 10pt; font-style: normal; color: #FFFFFF; font-weight:bold; } select.fBacctBar { font-family: Verdana, Times New Roman, Times, serif; font-size: 10pt; font-style: normal; color: black; background-color: white; } .buttonBlue{color: #FFFFFF; padding-left:10px;padding-right:10px;} <?php if (isset($_SESSION["browser"]) && $_SESSION["browser"]) { echo "#staticcontent{display:none}"; } if (isset($_SESSION["browser"]) && $_SESSION["browser"]) { echo "body{margin:0}"; } ?> </style> <div id="staticcontent" class="fBacctBar"> <table border=0 style="margin: 0; padding: 0;" class="fBacctBar"> <tr class="fBacctBar"> <td valign="middle" class="fBacctBar"><img src="/images/faceBot48.png" align="left"></td> <td valign="middle" class="fBacctBar"> <form class="fBacctBar" name="fBAcctForm" method="GET" style="margin-left: 10px; margin-bottom: 0px;">Select Account: <select class="fBacctBar" name="userId" id="userId" onchange="this.form.submit()"> <?php foreach ($userinfo as $key => $info) { $SELECTED = ""; if ($key == $_SESSION['userId']) { $SELECTED = 'selected="selected"'; } echo '<option value="' . $key . '"' . $SELECTED . '>' . $key . ' - ' . $info . '</option>'; } ?> </select></form> </td> <td class="buttonBlue"> <input type="button" onClick="location.href='index.php?userId=<?php echo $_SESSION['userId']; ?> '"value='Refresh Page'> </td> </tr> </table> </div> <script type="text/javascript"> //define universal reference to "staticcontent" var crossobj=document.all? document.all.staticcontent : document.getElementById("staticcontent"); //define reference to the body object in IE var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body; function positionit(){ //define universal dsoc left point var dsocleft=document.all? iebody.scrollLeft : pageXOffset; //define universal dsoc top point var dsoctop=document.all? iebody.scrollTop : pageYOffset; //if the user is using IE 4+ or Firefox/ NS6+ if (document.all||document.getElementById){ crossobj.style.right=parseInt(dsocleft)+0+"px"; crossobj.style.top=dsoctop+0+"px"; } } <?php if (!(isset($_SESSION["browser"]) && $_SESSION["browser"])) { echo 'setInterval("positionit()",100);'; } ?> </script> <?php }
<?php require_once '../../fB_PluginAPI.php'; $userinfo = fBGetUserInfo(); define('fbBrowserNavigator_version', '1.2'); define('fbBrowserNavigator_date', '23 November 2010'); ?> <html> <head> <link rel="stylesheet" type="text/css" href="/plugins/fbBrowserNavigator/css/navigator.css" /> <script type="text/javascript"> function selectPlugin(plugin){ document.getElementById('myPlugin').innerHTML = '<object id="tab" type="text/html" data="'+plugin.href+'" style="width:100%; height: 90%;border:0;"><\/object>'; } </script> </head> <body> <div class="mainBar"> <table cellpadding="2" cellspacing="0" width="100%" class="mainBarTable"> <tr> <td align="left" valign="middle"> <img src="/plugins/fbBrowserNavigator/img/fb_logo.png"> </td> <td align="right"> fbBrowserNavigator V<?php echo fbBrowserNavigator_version; ?> <?php echo fbBrowserNavigator_date; ?>
echo '('; echo '<input type="checkbox" name="nr_p_', $file, '" value="1" ' . (file_exists($_SESSION['base_path'] . 'notrun_plugin_' . $file . '.txt') ? 'checked' : '') . '>/'; echo '<input type="checkbox" name="nr_p_', $file, '_a" value="1" ' . (file_exists($_SESSION['base_path'] . 'notrun_plugin_' . $file . '_' . $_SESSION['userId'] . '.txt') ? 'checked' : '') . '>'; echo ' ' . $file . '<br>'; } } } closedir($dh); } echo '</div>'; echo '<br/>'; echo '</td><td> </td><td valign="top">'; echo '<div>Account list: '; echo '<input type="submit" name="del_account" value="-" style="width:32px; height:22px; margin-left:25px;" title="Delete Selected Accounts"/><br>'; echo '<select class="acct_list" name="acct_list[]" multiple style="width:250px; height: 150px;" />'; foreach (fBGetUserInfo() as $key => $acct_item) { echo ' <option value="' . $key . '">' . $acct_item . ' (' . $key . ')</option>'; } echo '</select>'; echo '</div>'; echo '<div><br />'; echo '<nobr>[<input type="checkbox" name="acceptneighborhelp" value="1" ' . ($px_Setopts['acceptneighborhelp'] ? 'checked' : '') . ' title="if the checkbox is selected, the bot will accept neighbors help." /> Accept Neighbors Help]</nobr>'; echo '<br/>'; echo '<nobr>[<input type="checkbox" name="lonlyanimals" value="1" ' . ($px_Setopts['lonlyanimals'] ? 'checked' : '') . ' title="if the checkbox is selected, the bot will check for lonlyanimals. use px_links to get them." /> Check for LonlyAnimals]</nobr>'; echo '<br/><br/><br/>'; echo 'Bot Speed: '; echo '<select name="bot_speed"><option value="' . $px_Setopts['bot_speed'] . '" selected="selected">' . $px_Setopts['bot_speed'] . 'X</option><option value="1">1X</option><option value="2">2X</option><option value="3">3X</option><option value="4">4X</option><option value="5">5X</option><option value="6">6X</option><option value="7">7X</option><option value="8">8X</option></select><br><br>'; echo '</div>'; ?> </td> </tr>
echo $animals; ?> </small></td> <td nowrap><small><?php echo $urls; ?> </small></td> </tr> </table> </div> <div class="tabbertab" id="grablinks" onclick="javascript:checkBoxes();"> <h2>Grab Links</h2> <form name="grablinks" method="post"> <?php $known = $fsM->GetKnownTypes(); $uinfo = fBGetUserInfo(); $grabs = unserialize($settings['sharelinks']); unset($uinfo[$_SESSION['userId']]); if (empty($uinfo)) { echo '<b>No Accounts to Grab From</b>'; } else { echo '<div style="font-weight:bold;background-color:#FF7D1A; color: #1E3F82;padding:3px;">select which rewards to grab for ALL accounts</div>'; @($sharechk = $grabs['share'] == 1 ? 'checked' : ''); echo '<div><span style="color:green;font-weight:bold;">Grab Links from ALL accounts</span><input type="checkbox" name="share" value="1" ' . $sharechk . ' onClick="javascript:checkThemAll(\'[share]\',\'share\');" /></div>'; echo '<div style="margin-top:10px;"><span style="color:red;font-weight:bold;">Don\'t Grab these links for ALL accounts:</span></div>'; echo '<table id="rewards"><tr>'; $k = 0; foreach ($known as $catrew) { if ($k / 4 == intval($k / 4)) { echo '</tr><tr>'; }