index.php
<?php
/*
*Page created on Saturday, May 21
*Created by EliteKsK, Jon
*US
*/
include_once("./required.php");
include_once("./".$wg_req_folder."/IT.PHP");
$theme = new html_Theme;
$theme->db = "SELECT title FROM ".$wg_req_db_pre."config WHERE id = 1 LIMIT 1";
$title = $theme->site_queries();
$site_title = $result;
$type = "news";
echo''.$site_title.'';
$display_theme = $theme->html_template($site_title);
die();
?>
<?php
/*
*Page created on Saturday, May 21
*Created by EliteKsK, Jon
*US
*/
class html_Theme {
var $db;
var $title;
var $copyright;
var $new;
function site_queries(){
$query = trim($this->db);
$result = mysql_query($query);
}
function html_template($site_title){
$title = $site_title;
echo'<html><head><title>'.$title.'</title></head>';
//here comes some fun...next line we need to determine what we're doing, so we can throw it into the main site
}
}
?>
Well my problem is, it doesn't get the mysql_thing i need... it's a problem mainly because i've checked all the mysql stuff, and made sure that there's an entry, so what should i do?