<?php
if (!defined("IN_FUSION") || !checkrights("I")) { header("Location: ../../index.php"); exit; }

require_once(INFUSIONS."sendeplan/infusion_db.php");

// Check if locale file is available matching the current site locale setting.
if (file_exists($sp_install_folder."locale/".$settings['locale'].".php")) {
	// Load the locale file matching the current site locale setting.
	include $sp_install_folder."locale/".$settings['locale'].".php";
} else {
	// Load the infusion's default locale file.
	include $sp_install_folder."locale/English.php";
}

// Infusion general information
$inf_title = $splocale['infusiontitle']." ".$sp_channelname;
$inf_description = $splocale['description'];
$inf_version = "3.03";
$inf_developer = "Andre Krell | Systemweb";
$inf_email = "support@systemweb.de";
$inf_weburl = "http://www.systemweb.de";

$inf_folder = $sp_folder;
$inf_admin_image = "";
$inf_admin_panel = "sendeplan_admin.php";

if(!FUSION_V6) {
// Create new tables
$inf_newtable[1] = $sendeplan_db['table_schedules']." (
  `day` int(15) NOT NULL default '0',
  `0` varchar(15) NOT NULL,
  `1` varchar(15) NOT NULL,
  `2` varchar(15) NOT NULL,
  `3` varchar(15) NOT NULL,
  `4` varchar(15) NOT NULL,
  `5` varchar(15) NOT NULL,
  `6` varchar(15) NOT NULL,
  `7` varchar(15) NOT NULL,
  `8` varchar(15) NOT NULL,
  `9` varchar(15) NOT NULL,
  `10` varchar(15) NOT NULL,
  `11` varchar(15) NOT NULL,
  `12` varchar(15) NOT NULL,
  `13` varchar(15) NOT NULL,
  `14` varchar(15) NOT NULL,
  `15` varchar(15) NOT NULL,
  `16` varchar(15) NOT NULL,
  `17` varchar(15) NOT NULL,
  `18` varchar(15) NOT NULL,
  `19` varchar(15) NOT NULL,
  `20` varchar(15) NOT NULL,
  `21` varchar(15) NOT NULL,
  `22` varchar(15) NOT NULL,
  `23` varchar(15) NOT NULL,
  PRIMARY KEY  (`day`)
) ENGINE=MyISAM;";

$inf_newtable[2] = $sendeplan_db['table_settings']." (
  `profile` varchar(10) NOT NULL,
  `dj_group` tinyint(2) NOT NULL,
  `dj_signin` smallint(1) NOT NULL DEFAULT '0',
  `dj_admingroup` smallint(3) NOT NULL,
  `entry_starttime` tinyint(2) NOT NULL DEFAULT '0',
  `entry_endtime` tinyint(2) NOT NULL DEFAULT '0',
  `signoff_forbid` tinyint(1) NOT NULL DEFAULT '0',
  `autodj_hidden` tinyint(1) NOT NULL DEFAULT '0',
  `autodj_name` varchar(50) NOT NULL,
  `setcard_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showrepeats_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showevents_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showbox_width` int(4) unsigned NOT NULL,
  `showbox_height` int(4) NOT NULL,
  `dj_avatar_maxheight` INT(4) UNSIGNED NOT NULL DEFAULT '100',
  `dj_avatar_maxwidth` INT(4) UNSIGNED NOT NULL DEFAULT '100',
  `use_nsv` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `use_studiobox` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `font_showtitle` VARCHAR(50) NOT NULL DEFAULT 'Arial,Helvetica,sans serif',
  `fontsize_showtitle` TINYINT(2) UNSIGNED NOT NULL DEFAULT '14',
  `align_showtitle` VARCHAR(10) NOT NULL DEFAULT 'center',
  `font_showdescription` VARCHAR(50) NOT NULL DEFAULT 'Arial,Helvetica,sans serif',
  `fontsize_showdescription` TINYINT(2) UNSIGNED NOT NULL DEFAULT '11',
  `align_showdescription` VARCHAR(10) NOT NULL DEFAULT 'left',
  `view_endtime` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `bold_showtitle` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `bold_showdescription` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `default_view` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `view_changeable` SMALLINT( 1 ) UNSIGNED NOT NULL,
  `version` varchar(10) NOT NULL,
  PRIMARY KEY (`profile`)
) ENGINE=MyISAM;";

$inf_newtable[3] = $sendeplan_db['table_weekly']." (
  `weekday` smallint(1) NOT NULL,
  `0` varchar(15) NOT NULL,
  `1` varchar(15) NOT NULL,
  `2` varchar(15) NOT NULL,
  `3` varchar(15) NOT NULL,
  `4` varchar(15) NOT NULL,
  `5` varchar(15) NOT NULL,
  `6` varchar(15) NOT NULL,
  `7` varchar(15) NOT NULL,
  `8` varchar(15) NOT NULL,
  `9` varchar(15) NOT NULL,
  `10` varchar(15) NOT NULL,
  `11` varchar(15) NOT NULL,
  `12` varchar(15) NOT NULL,
  `13` varchar(15) NOT NULL,
  `14` varchar(15) NOT NULL,
  `15` varchar(15) NOT NULL,
  `16` varchar(15) NOT NULL,
  `17` varchar(15) NOT NULL,
  `18` varchar(15) NOT NULL,
  `19` varchar(15) NOT NULL,
  `20` varchar(15) NOT NULL,
  `21` varchar(15) NOT NULL,
  `22` varchar(15) NOT NULL,
  `23` varchar(15) NOT NULL,
  PRIMARY KEY  (`weekday`)
) ENGINE=MyISAM;";

$inf_newtable[4] = $sendeplan_db['table_showdata']." (
  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner` varchar(15) NOT NULL DEFAULT 'all',
  `title` varchar(75) NOT NULL,
  `image` varchar(50) NOT NULL,
  `font-color` varchar(25) NOT NULL,
  `textbg` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM;";

$inf_newtable[5] = $sendeplan_db['table_shows']." (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `showid` int(10) unsigned NOT NULL,
  `title` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `studiobox` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `is_nsv` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM;";

$inf_newtable[6] = $sendeplan_db['table_djinfos']." (
  `user_id` int(11) NOT NULL,
  `user_avatar` varchar(75) NOT NULL,
  `user_realname` varchar(50) NOT NULL,
  `user_gender` char(1) NOT NULL, 
  `user_location` varchar(75) NOT NULL,
  `user_genre` text NOT NULL,
  `user_hobbies` text NOT NULL,
  `user_whyhere` text NOT NULL,
  `user_bookable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `user_homepage` varchar(100) NOT NULL,
  `user_mod_or_dj` varchar(3) NOT NULL,
  `user_equipment` text NOT NULL,
  `user_infotext` text NOT NULL,
  `user_setcard_activated` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`user_id`)
) ENGINE=MyISAM;";

$inf_newtable[7] = $sendeplan_db['table_events']." (
`day` int(15) NOT NULL DEFAULT '0',
  `0` varchar(15) NOT NULL,
  `1` varchar(15) NOT NULL,
  `2` varchar(15) NOT NULL,
  `3` varchar(15) NOT NULL,
  `4` varchar(15) NOT NULL,
  `5` varchar(15) NOT NULL,
  `6` varchar(15) NOT NULL,
  `7` varchar(15) NOT NULL,
  `8` varchar(15) NOT NULL,
  `9` varchar(15) NOT NULL,
  `10` varchar(15) NOT NULL,
  `11` varchar(15) NOT NULL,
  `12` varchar(15) NOT NULL,
  `13` varchar(15) NOT NULL,
  `14` varchar(15) NOT NULL,
  `15` varchar(15) NOT NULL,
  `16` varchar(15) NOT NULL,
  `17` varchar(15) NOT NULL,
  `18` varchar(15) NOT NULL,
  `19` varchar(15) NOT NULL,
  `20` varchar(15) NOT NULL,
  `21` varchar(15) NOT NULL,
  `22` varchar(15) NOT NULL,
  `23` varchar(15) NOT NULL,
  PRIMARY KEY (`day`)
) ENGINE=MyISAM;";

// Insert new entries
$inf_insertdbrow[1] = $sendeplan_db['table_settings']." (
`profile`, `dj_group`, `dj_signin`, `dj_admingroup`, `entry_starttime`, `signoff_forbid`, `autodj_hidden`, `autodj_name`, `setcard_dj`, `showrepeats_dj`, `showevents_dj`, `showbox_width`, `showbox_height`, `version`) VALUES
('default', 1, 1, 1, 0, 0, 0, 'Auto-DJ', 1, 0, 0, 300, 150, '3.02');";

$inf_insertdbrow[2] = $sendeplan_db['table_weekly']." (
`weekday`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`
) 
VALUES
(0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(2, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(3, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(4, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(5, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(6, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
";

$inf_insertdbrow[3] = $sendeplan_db['table_shows']." (`ID`, `user_id`, `showid`, `title`, `description`) VALUES
(1, 0, 1, 'Autostream', 'Musicmix Nonstop');
";

$inf_insertdbrow[4] = $sendeplan_db['table_showdata']." (
`ID`, `owner`, `title`, `image`, `font-color`, `textbg`
) VALUES
(1, 'all', 'Beispielshow', 'show1.jpg', '#ffffff', 'grey.png' );
";

$inf_insertdbrow[5] = $sendeplan_db['table_djinfos']." (
`user_id` ,
`user_avatar`
)
VALUES (
'0', 'autostream.png'
);";

// Delete tables at deinstalling
$inf_droptable[1] = $sendeplan_db['table_schedules'];
$inf_droptable[2] = $sendeplan_db['table_settings'];
$inf_droptable[3] = $sendeplan_db['table_shows'];
$inf_droptable[4] = $sendeplan_db['table_weekly'];
$inf_droptable[5] = $sendeplan_db['table_events'];
$inf_droptable[6] = $sendeplan_db['table_djinfos'];
$inf_droptable[7] = $sendeplan_db['table_showdata'];

$inf_adminpanel[1] = array(
	"title" => $splocale['infusiontitle']." ".$sp_channelname,
	"image" => "infusions.gif",
	"panel" => "sendeplan_admin.php",
	"rights" => "SP3".($sp_install_number!='' && IsNum($sp_install_number) && strlen($sp_install_number)==1 ? $sp_install_number : '0')
);

$inf_sitelink[1] = array(
	"title" => $splocale['linkname']." ".$sp_channelname,
	"url" => "sendeplan.php",
	"visibility" => "0"
);
$inf_sitelink[2] = array(
	"title" => $splocale['linkname_setcards']." ".$sp_channelname,
	"url" => "sendeplan_setcards.php",
	"visibility" => "0"
);
}

// INSTALL FOR FUSION 6 AS FOLLOWS
else {
$inf_link_name = $splocale['linkname']." ".$sp_channelname;
$inf_link_url = "sendeplan.php";
$inf_link_visibility = "0";

$inf_newtables = 7;
$inf_insertdbrows = 5;
$inf_altertables = 0;
$inf_deldbrows = 0;

// Create new tables
$inf_newtable_[1] = str_replace(DB_PREFIX,"",$sendeplan_db['table_schedules'])." (
`day` int(15) NOT NULL default '0',
`0` varchar(15) NOT NULL,
`1` varchar(15) NOT NULL,
`2` varchar(15) NOT NULL,
`3` varchar(15) NOT NULL,
`4` varchar(15) NOT NULL,
`5` varchar(15) NOT NULL,
`6` varchar(15) NOT NULL,
`7` varchar(15) NOT NULL,
`8` varchar(15) NOT NULL,
`9` varchar(15) NOT NULL,
`10` varchar(15) NOT NULL,
`11` varchar(15) NOT NULL,
`12` varchar(15) NOT NULL,
`13` varchar(15) NOT NULL,
`14` varchar(15) NOT NULL,
`15` varchar(15) NOT NULL,
`16` varchar(15) NOT NULL,
`17` varchar(15) NOT NULL,
`18` varchar(15) NOT NULL,
`19` varchar(15) NOT NULL,
`20` varchar(15) NOT NULL,
`21` varchar(15) NOT NULL,
`22` varchar(15) NOT NULL,
`23` varchar(15) NOT NULL,
PRIMARY KEY  (`day`)
) ENGINE=MyISAM;";

$inf_newtable_[2] = str_replace(DB_PREFIX,"",$sendeplan_db['table_settings'])." (
  `profile` varchar(10) NOT NULL,
  `dj_group` tinyint(2) NOT NULL,
  `dj_signin` smallint(1) NOT NULL DEFAULT '0',
  `dj_admingroup` smallint(3) NOT NULL,
  `entry_starttime` tinyint(2) NOT NULL DEFAULT '0',
  `entry_endtime` tinyint(2) NOT NULL DEFAULT '0',
  `signoff_forbid` tinyint(1) NOT NULL DEFAULT '0',
  `autodj_hidden` tinyint(1) NOT NULL DEFAULT '0',
  `autodj_name` varchar(50) NOT NULL,
  `setcard_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showrepeats_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showevents_dj` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `showbox_width` int(4) unsigned NOT NULL,
  `showbox_height` int(4) NOT NULL,
  `dj_avatar_maxheight` INT(4) UNSIGNED NOT NULL DEFAULT '100',
  `dj_avatar_maxwidth` INT(4) UNSIGNED NOT NULL DEFAULT '100',
  `use_nsv` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `use_studiobox` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `font_showtitle` VARCHAR(50) NOT NULL DEFAULT 'Arial,Helvetica,sans serif',
  `fontsize_showtitle` TINYINT(2) UNSIGNED NOT NULL DEFAULT '14',
  `align_showtitle` VARCHAR(10) NOT NULL DEFAULT 'center',
  `font_showdescription` VARCHAR(50) NOT NULL DEFAULT 'Arial,Helvetica,sans serif',
  `fontsize_showdescription` TINYINT(2) UNSIGNED NOT NULL DEFAULT '11',
  `align_showdescription` VARCHAR(10) NOT NULL DEFAULT 'left',
  `view_endtime` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `bold_showtitle` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `bold_showdescription` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '1',
  `default_view` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `view_changeable` SMALLINT( 1 ) UNSIGNED NOT NULL,
  `version` varchar(10) NOT NULL,
  PRIMARY KEY (`profile`)
) ENGINE=MyISAM;";

$inf_newtable_[3] = str_replace(DB_PREFIX,"",$sendeplan_db['table_weekly'])." (
  `weekday` smallint(1) NOT NULL,
  `0` varchar(15) NOT NULL,
  `1` varchar(15) NOT NULL,
  `2` varchar(15) NOT NULL,
  `3` varchar(15) NOT NULL,
  `4` varchar(15) NOT NULL,
  `5` varchar(15) NOT NULL,
  `6` varchar(15) NOT NULL,
  `7` varchar(15) NOT NULL,
  `8` varchar(15) NOT NULL,
  `9` varchar(15) NOT NULL,
  `10` varchar(15) NOT NULL,
  `11` varchar(15) NOT NULL,
  `12` varchar(15) NOT NULL,
  `13` varchar(15) NOT NULL,
  `14` varchar(15) NOT NULL,
  `15` varchar(15) NOT NULL,
  `16` varchar(15) NOT NULL,
  `17` varchar(15) NOT NULL,
  `18` varchar(15) NOT NULL,
  `19` varchar(15) NOT NULL,
  `20` varchar(15) NOT NULL,
  `21` varchar(15) NOT NULL,
  `22` varchar(15) NOT NULL,
  `23` varchar(15) NOT NULL,
  PRIMARY KEY  (`weekday`)
) ENGINE=MyISAM;";

$inf_newtable_[4] = str_replace(DB_PREFIX,"",$sendeplan_db['table_showdata'])." (
  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner` varchar(15) NOT NULL DEFAULT 'all',
  `title` varchar(75) NOT NULL,
  `image` varchar(50) NOT NULL,
  `font-color` varchar(25) NOT NULL,
  `textbg` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM;";

$inf_newtable_[5] = str_replace(DB_PREFIX,"",$sendeplan_db['table_shows'])." (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `showid` int(10) unsigned NOT NULL,
  `title` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `studiobox` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  `is_nsv` SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM;";

$inf_newtable_[6] = str_replace(DB_PREFIX,"",$sendeplan_db['table_djinfos'])." (
  `user_id` int(11) NOT NULL,
  `user_avatar` varchar(75) NOT NULL,
  `user_realname` varchar(50) NOT NULL,
  `user_gender` char(1) NOT NULL, 
  `user_location` varchar(75) NOT NULL,
  `user_genre` text NOT NULL,
  `user_hobbies` text NOT NULL,
  `user_whyhere` text NOT NULL,
  `user_bookable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `user_homepage` varchar(100) NOT NULL,
  `user_mod_or_dj` varchar(3) NOT NULL,
  `user_equipment` text NOT NULL,
  `user_infotext` text NOT NULL,
  `user_setcard_activated` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`user_id`)
) ENGINE=MyISAM;";

$inf_newtable_[7] = str_replace(DB_PREFIX,"",$sendeplan_db['table_events'])." (
`day` int(15) NOT NULL DEFAULT '0',
  `0` varchar(15) NOT NULL,
  `1` varchar(15) NOT NULL,
  `2` varchar(15) NOT NULL,
  `3` varchar(15) NOT NULL,
  `4` varchar(15) NOT NULL,
  `5` varchar(15) NOT NULL,
  `6` varchar(15) NOT NULL,
  `7` varchar(15) NOT NULL,
  `8` varchar(15) NOT NULL,
  `9` varchar(15) NOT NULL,
  `10` varchar(15) NOT NULL,
  `11` varchar(15) NOT NULL,
  `12` varchar(15) NOT NULL,
  `13` varchar(15) NOT NULL,
  `14` varchar(15) NOT NULL,
  `15` varchar(15) NOT NULL,
  `16` varchar(15) NOT NULL,
  `17` varchar(15) NOT NULL,
  `18` varchar(15) NOT NULL,
  `19` varchar(15) NOT NULL,
  `20` varchar(15) NOT NULL,
  `21` varchar(15) NOT NULL,
  `22` varchar(15) NOT NULL,
  `23` varchar(15) NOT NULL,
  PRIMARY KEY (`day`)
) ENGINE=MyISAM;";

// Insert new entries
$inf_insertdbrow_[1] = str_replace(DB_PREFIX,"",$sendeplan_db['table_settings'])." (
`profile`, `dj_group`, `dj_signin`, `dj_admingroup`, `entry_starttime`, `signoff_forbid`, `autodj_hidden`, `autodj_name`, `setcard_dj`, `showrepeats_dj`, `showevents_dj`, `showbox_width`, `showbox_height`, `version`) VALUES
('default', 1, 1, 1, 0, 0, 0, 'Auto-DJ', 1, 0, 0, 300, 150, '3.02');";

$inf_insertdbrow_[2] = str_replace(DB_PREFIX,"",$sendeplan_db['table_weekly'])." (
`weekday`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`
) 
VALUES
(0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(2, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(3, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(4, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(5, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(6, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
";

$inf_insertdbrow_[3] = str_replace(DB_PREFIX,"",$sendeplan_db['table_shows'])." (`ID`, `user_id`, `showid`, `title`, `description`) VALUES
(1, 0, 1, '', 'Musicmix Nonstop');
";

$inf_insertdbrow_[4] = str_replace(DB_PREFIX,"",$sendeplan_db['table_showdata'])." (
`ID`, `owner`, `title`, `image`, `font-color`, `textbg`
) VALUES
(1, 'all', 'Beispielshow', 'show1.jpg', '#ffffff', 'grey.png' );
";

$inf_insertdbrow_[5] = str_replace(DB_PREFIX,"",$sendeplan_db['table_djinfos'])." (
`user_id` ,
`user_avatar`
)
VALUES (
'0', 'autostream.png'
);";

// Delete tables at deinstalling
$inf_droptable_[1] = str_replace(DB_PREFIX,"",$sendeplan_db['table_schedules']);
$inf_droptable_[2] = str_replace(DB_PREFIX,"",$sendeplan_db['table_settings']);
$inf_droptable_[3] = str_replace(DB_PREFIX,"",$sendeplan_db['table_shows']);
$inf_droptable_[4] = str_replace(DB_PREFIX,"",$sendeplan_db['table_weekly']);
$inf_droptable_[5] = str_replace(DB_PREFIX,"",$sendeplan_db['table_events']);
$inf_droptable_[6] = str_replace(DB_PREFIX,"",$sendeplan_db['table_djinfos']);
$inf_droptable_[7] = str_replace(DB_PREFIX,"",$sendeplan_db['table_showdata']);
}
?>
