<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (!defined("DB_CHARTS")) {
	define("DB_CHARTS", DB_PREFIX."charts");
}


if (file_exists(INFUSIONS."song_charts_panel/locale/".$settings['locale'].".php")) {
	include INFUSIONS."song_charts_panel/locale/".$settings['locale'].".php";
} else {
	include INFUSIONS."song_charts_panel/locale/Lithuanian.php";
}

// Infusion Information
$inf_title = $locale['title'];
$inf_description = $locale['desc'];
$inf_version = "3.0";
$inf_developer = "AJFire & zDon & Vilmantux";
$inf_email = "ajfire@phptool.de / adziukas112@gmail.com / info@tipofm.lt";
$inf_weburl = "http://www.phptool.de / http://www.saitukas.lt";

$inf_folder = "song_charts_panel";
$inf_admin_image = "";
$inf_admin_panel = "admin/index.php";


$inf_newtable_[1] = DB_CHARTS." (
  id int(8) unsigned NOT NULL auto_increment,
  artist varchar(255) NOT NULL default '',
  title varchar(255) NOT NULL default '',
  daina varchar(255) NOT NULL default '',
  vote int(8) default '0',
  PRIMARY KEY  (id)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
";

$inf_droptable_[1] = DB_CHARTS;

$inf_adminpanel[1] = array(
	"title" => "Dainu topai",
	"image" => "",
	"panel" => "admin/index.php",
	"rights" => "SCL"
);

$inf_sitelink[1] = array(
	"title" => "Dainu topas",
	"url" => "charts.php",
	"visibility" => "101"
);
	
?>