Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.14 KB | None | 0 0
  1. <?php
  2. // --- GOLD MEDIA --- //
  3.     error_reporting(0);
  4.     ob_start();
  5.     session_start();
  6.  
  7.     // GOLD BASE
  8.     define('GOLD_BASE', dirname(empty($_SERVER['SCRIPT_FILENAME']) ? __FILE__ : $_SERVER['SCRIPT_FILENAME']).'/');
  9.     $root = 'http://' . $_SERVER['SERVER_NAME'] . dirname($_SERVER['SCRIPT_NAME']);
  10.     if(substr($root, -1)=="/")
  11.     $root = 'http://' . $_SERVER['SERVER_NAME'];
  12.    
  13.     // REQUIRE FILES
  14.     require 'gold-app/gold-includes/GOLD-CLASS.php';
  15.     require 'gold-app/gold-includes/GOLD-CLASS-TEMPLATES.php';
  16.     require 'gold-app/gold-includes/GOLD-CLASS-PLUGINS.php';
  17.     require 'gold-app/gold-includes/GOLD-CLASS-WIDGETS.php';
  18.     // Special Package for MOVIES (IMDB)
  19.     include("gold-app/gold-includes/TMDb.php");
  20.  
  21.     // GOLD CONNECT
  22.     $GOLD = new GOLD_CONNECT();
  23.     $GOLD->host = db715028551.db.1and1.com;
  24.     $GOLD->username = dbo715028551;
  25.     $GOLD->password = Amirul4646;
  26.     $GOLD->table = db715028551;
  27.     $GOLD->user_username = amirulhere46;
  28.     $GOLD->user_password = Amirul4646;
  29.     $GOLD->user_email = amirulhere46@gmail.com;
  30.     $GOLD->connect();
  31.    
  32.     // GOLD SKINS
  33.     $tmpl=new SkinFunctions();
  34.     $tmpl->setTemplate($tmpl->skin());
  35.    
  36.     echo $tmpl->GOLD_show();
  37.    
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement