Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/admin/index_ajax.php
<?php
define('FORUM_ADMIN','1');
$checkurl = $_SERVER['REQUEST_URI'];
if(!strpos(strtoupper($checkurl), strtoupper("admin/index_ajax.php"))) {
  die("Illegal Operation");
}
global $prefix,$db,$language;

define("INSIDE_MOD",1);
define("MODULE_FILE",1);
define(INCLUDE_PATH,"../../../");
$tm_include='';

require_once(INCLUDE_PATH."config.php");
require_once(INCLUDE_PATH."db/db.php");

require_once("../lib/com/sergids/topmusic/model/ConfigDAO.php");
require_once($tm_include."lib/com/sergids/topmusic/model/ChartAdminDAO.php");
require_once($tm_include."lib/com/sergids/topmusic/model/ArtistAdminDAO.php");
require_once($tm_include."lib/com/sergids/topmusic/model/AlbumAdminDAO.php");
require_once($tm_include."lib/com/sergids/topmusic/model/ArtistAdminO.php");
require_once($tm_include."lib/com/sergids/topmusic/model/AlbumAdminO.php");
require_once($tm_include."lib/com/sergids/topmusic/view/ChartAdminView.php");
require_once($tm_include."lib/com/sergids/topmusic/view/GenericAdminView.php");
$configDAO=new ConfigDAO($db,$prefix);
$language=$configDAO->getNukeLanguage();
include_once($tm_include."language/lang-$language.php");

echo "<script charset=\""._CHARSET."\" language=\"javascript\" src=\"".$tm_include."js/common.js\"></script>";
include_once($tm_include."ajax/common_ajax.php");
include_once($tm_include."ajax/charts_ajax.php");

?>
Return current item: Top Music module