| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/sportyone.com/public_html/ |
Upload File : |
<?php
error_reporting(0);
// error_reporting(E_ALL);
@ session_start();
include_once('class/db_class.php');
// the following are to be altered by user
define('CURR_SITE_ID', '25');
// the preceeding are to be altered by user
$connection = new db;
$connection->connect('sql.branddanger.com', 'root', '82v1qXiASB27RZ4', 'branddanger');
$query = "SELECT name, nats_code, join_link, root_path, root_path_members, link, link_members, db_name, bg_dir FROM sites where id = '".CURR_SITE_ID."' ";
$site_fo = db::query($query);
define('SITE_NAME', $site_fo['0']['name']);
define('NATS_CODE', $site_fo['0']['nats_code']);
define('JOIN_LINK', $site_fo['0']['join_link']);
define('ROOT_PATH', $site_fo['0']['root_path']);
define('ROOT_PATH_MEMBERS', $site_fo['0']['root_path_members']);
define('LINK', $site_fo['0']['link']);
define('BG_DIR', $site_fo['0']['bg_dir']);
define('LINK_MEMBERS', $site_fo['0']['link_members']);
define('FOLDER', $site_fo['0']['db_name']);
define('DBNAME', $site_fo['0']['db_name']);
$connection = new db;
$connection->connect('sql.branddanger.com', 'root', '82v1qXiASB27RZ4', 'sportyone');
define('ROOT_URL', 'http://new.sportyone.com/'); //FULL PATH TO ROOT DIRECTORY
define('ROOT', dirname(__FILE__)); //FULL PATH TO ROOT DIRECTORY
define('SITE_NAME', 'Sporty One');
define('ITEMS_PER_PAGE', 25);
define('FRONT_ITEMS_PER_PAGE', 10);
define('SLIDESHOW_TIMEOUT', 10000); // 10 sec
define('GALLERY_ROOT', ROOT."/images/galleries"); // 10 sec
define('SITE_URL', LINK);
define('TOUR_URL', LINK.'/free2/tour');
define('TOUR_ROOT', ROOT_PATH."/free2/tour");
define('HOGAL_ROOT', ROOT_PATH."/freephotos");
define('HOGAL_URL', LINK."/freephotos");
if(isset($_GET['nats_type']) && $_GET['nats_type'] == 'built')
{
$nats = "<?=(\$_GET['nats']?\$_GET['nats']:'".NATS_CODE."')?>";
}
else
{
// do this for pages that are dynamic, maybe insert default nats number here.
@ $nats = ($_GET['nats']?$_GET['nats']:NATS_CODE);
}
?>