This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class stats | |
{ | |
private $curl; | |
private $whois; | |
private $pagerank; | |
private $dom_doc; | |
/* Initializing Class Dependent Resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Defining Header Information and Starting Session | |
-------------------------------------------------- */ | |
header("Cache-Control: no-cache"); | |
header("Pragma: no-cache"); | |
header('Content-type: application/json'); | |
session_start(); | |
/* Including Dependencies | |
-------------------------------------------------- */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Generate Data | |
-------------------------------------------------- */ | |
generateMenu($smarty); | |
/* Set Smarty Caching for Domain Stat | |
-------------------------------------------------- */ | |
if ($config['CACHE_STATUS'] == "ENABLED") { | |
$smarty->setCaching(Smarty::CACHING_LIFETIME_SAVED); | |
$smarty->setCacheLifetime($config['STATS_CACHING']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Get SEOmoz Data | |
-------------------------------------------------- */ | |
public function getSeoMoz($domain, $accessid = "", $secret = "") | |
{ | |
try | |
{ | |
$access_id = (empty($accessid) ? $_SESSION['SEOMOZ_API_ACCESSID'] : $accessid); | |
$secret_key = (empty($secret) ? $_SESSION['SEOMOZ_API_SECRETKEY'] : $secret); | |
$expires = time() + 300; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function getNortonSafe($domain) | |
{ | |
try | |
{ | |
$callback_url = "https://safeweb.norton.com/report/show?url=" . $domain; | |
$curl_response = $this->curl->get($callback_url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name VKGetLink | |
// @description Script for downloading audio and video files from the vk.com. Based on Ivan Snegirev's VK-Downloader http://userscripts-mirror.org/scripts/show/151571 | |
// @author Mist Poryvaev | |
// @version 1.0.2 | |
// @include https://*vk.com/* | |
// @grant none | |
// ==/UserScript== | |
function audio() |