View file MyLounge/myred/include/vars.php

File size: 1.17Kb
<?php
// hostname of the server
$mysql_host = 'localhost';

// mysql-username
$mysql_username = 'worldt_domain';

// mysql-password
$mysql_passwd = '345343';

// the name of the database (will be created during setup)
$mysql_dbase = 'worldt_domain';

// table names which will be used to save the data
$redir_table = "redir";
$options_table = "options";
$domain_table = "dtl";
$category_table = "categories";
$advertiser_table = "advertiser";
$adverts_table = "adverts";
$adclicks_table = "adclicks";
$adviews_table = "adviews";

// You may change the following value
$dateformat = "22. Feb. 2011 23:20";

// Don't change anything below!

// Disable magic_quotes_runtime
set_magic_quotes_runtime(0);

mysql_connect("$mysql_host","$mysql_username","$mysql_passwd");
mysql_select_db("$mysql_dbase");

$result = mysql_query("SELECT * FROM $options_table");
$row = mysql_fetch_array($result);

$adminmail = $row[adminemail];
$adminpasswd = $row[password];
$adminusername = $row[username];
$startpage = $row[home];
$pagetitle = $row[sitetitle];
$domainip = $row[domainip];
$maindomain = $row[maindomain];
$ads = $row[ads];
$standardad = $row[standardad];
?>