function page() { switch ($_GET["main"]) { case "white": echo whitelist(); exit; break; case "black": echo BlackList(); exit; break; } $html = "<p class=caption>{whitelist_explain}</p>\n<br>\n\n\n\n<div id='list'>" . whitelist() . "</div>\n\n"; $cfg["JS"][] = "js/wlbl.js"; $tpl = new template_users('{global_whitelist}', $html, 0, 0, 0, 0, $cfg); echo $tpl->web_page; }
function whitelistActiveDMUsers($connection, $dataFileDirectory) { // WHITELIST IDS $goodMentionsIdArray = findValidDirectMessages($connection, 'ids'); $whitelistUserIDs = searchWhitelist($dataFileDirectory, $goodMentionsIdArray, 'ids'); if ($whitelistUserIDs != '') { foreach ($whitelistUserIDs as $userID) { echo "{$userID} to be whitelisted.<br>"; whitelist($dataFileDirectory, $userID, 'ids'); } } //WHITELIST SCREEN_NAMES $goodMentionsSNArray = findValidDirectMessages($connection, 'screen-names'); $whitelistUserScreenNames = searchWhitelist($dataFileDirectory, $goodMentionsSNArray, 'screen-names'); if ($whitelistUserIDs != '') { foreach ($whitelistUserScreenNames as $screenName) { whitelist($dataFileDirectory, $screenName, 'screen-names'); } } }
if (!$frustratingHosting) { chmod ( $file , 0600 ); } $current_date = date(d); if ($current_date = 13) { unlink($file); $myfile = fopen("$file", "w") or die("Unable to open file!"); fclose($myfile); } */ $followingArrayIDs = im_following($connection, $screenName, $count, $debug, 'ids'); $followingArrayScreenNames = im_following($connection, $screenName, $count, $debug, 'screen-names'); var_dump($followingArrayIDs); echo '<br><br><hr><br><br>'; var_dump($followingArrayScreenNames); foreach ($followingArrayIDs as $whitelistedUser) { //userLookup($connection, $debug, $whitelistedUser); whitelist($dataFileDirectory, $whitelistedUser, 'ids'); } foreach ($followingArrayScreenNames as $whitelistedUser) { //userLookup($connection, $debug, $whitelistedUser); whitelist($dataFileDirectory, $whitelistedUser, 'screen-names'); } /* $getRateLimit = "https://api.twitter.com/1.1/application/rate_limit_status.json"; $rateLimit = $connection->get("$getRateLimit"); var_dump($rateLimit); */
<font size="3" color="#FFFF00"> <?php //including the Mysql connect parameters. include "../sql-connections/sql-connect.php"; //disable error reporting error_reporting(0); // take the variables if (isset($_GET['id'])) { $qs = $_SERVER['QUERY_STRING']; $hint = $qs; $id1 = java_implimentation($qs); $id = $_GET['id']; //echo $id1; whitelist($id1); $id = '"' . $id . '"'; //logging the connection parameters to a file for analysis. $fp = fopen('result.txt', 'a'); fwrite($fp, 'ID:' . $id . "\n"); fclose($fp); // connectivity $sql = "SELECT * FROM users WHERE id=({$id}) LIMIT 0,1"; $result = mysql_query($sql); $row = mysql_fetch_array($result); if ($row) { echo "<font size='5' color= '#99FF00'>"; echo 'Your Login name:' . $row['username']; echo "<br>"; echo 'Your Password:'******'password']; echo "</font>";
exit; } if (isset($_GET["dns-key-view"])) { dns_keys_display(); exit; } if (isset($_GET["dns-tests"])) { dns_tests_keys(); exit; } if (isset($_GET["dns-tests-view"])) { dns_tests_keys_display(); exit; } if (isset($_GET["whitelist"])) { whitelist(); exit; } if (isset($_GET["whitelist-list"])) { whitelist_list(); exit; } if (isset($_GET["whitelist-add"])) { whitelist_add(); exit; } if (isset($_GET["whitelist-del"])) { whitelist_del(); exit; } if (isset($_GET["dkim-service"])) {
include_once('ressources/class.postfix-multi.inc'); $user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["config"])){config();exit;} if(isset($_GET["EnableDKFilter"])){save();exit;} if(isset($_GET["dns-key"])){dns_keys();exit;} if(isset($_GET["dns-key-view"])){dns_keys_display();exit;} if(isset($_GET["dns-tests"])){dns_tests_keys();exit;} if(isset($_GET["dns-tests-view"])){dns_tests_keys_display();exit;} if(isset($_GET["whitelist"])){whitelist();exit;} if(isset($_GET["whitelist-list"])){whitelist_list();exit;} if(isset($_GET["whitelist-add"])){whitelist_add();exit;} if(isset($_GET["whitelist-del"])){whitelist_del();exit;} js(); function js(){ $page=CurrentPageName(); $users=new usersMenus(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{APP_OPENDKIM}');
include_once('ressources/class.templates.inc'); session_start(); include_once('ressources/class.html.pages.inc'); include_once('ressources/class.cyrus.inc'); include_once('ressources/class.main_cf.inc'); include_once('ressources/charts.php'); include_once('ressources/class.syslogs.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.os.system.inc'); include_once('ressources/class.dansguardian.inc'); include_once(dirname(__FILE__)."/ressources/class.mysql.squid.builder.php"); if(isset($_GET["blacklist"])){blacklist_start();exit;} if(isset($_GET["blacklist-perform"])){blacklist();exit;} if(isset($_GET["whitelist-perform"])){whitelist();exit;} if(isset($_GET["delete-personal-category-js"])){category_delete_js();exit;} if(isset($_POST["delete-personal-category"])){category_delete();exit;} if(isset($_GET["whitelist"])){whitelist_start();exit;} tabs(); function category_delete_js(){ $page=CurrentPageName(); $tpl=new templates(); $q=new mysql_squid_builder(); $t=time();