<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: infusion.php
| Author: Manuel Wensierski
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
include INFUSIONS."member_search/infusion_db.php";
if (file_exists(INFUSIONS."member_search/locale/".$settings['locale'].".php")) {
include INFUSIONS."member_search/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."member_search/locale/German.php";
}
// Infusion Information
$inf_title = $locale['msp_title'];
$inf_description = $locale['msp_desc'];
$inf_version = $locale['msp_ver'];
$inf_developer = "Manuel Wensierski";
$inf_email = "manuel.wensierski@hotmail.de";
$inf_weburl = "http://facebook.com/BlizzMusic1";
$inf_folder = "member_search";
$inf_panel_folder = "member_search_panel";
// Delete any items not required below.
$inf_newtable[1] = DB_msp_settings." (
msp_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment,
msp_name VARCHAR(50) NOT NULL,
msp_visible INT(1) NOT NULL default '1',
PRIMARY KEY (msp_id)
) ENGINE=MyISAM;";
$inf_insertdbrow[1] = DB_msp_settings." SET msp_id='', msp_name='gender', msp_visible='1'";
$inf_insertdbrow[2] = DB_PANELS." SET panel_name='".$locale['msp_name']."', panel_filename='".$inf_panel_folder."', panel_side=1, panel_order='75', panel_type='file', panel_access='0', panel_display='0', panel_status='1' ";
$inf_droptable[1] = DB_msp_settings;
$inf_deldbrow[1] = DB_PANELS." WHERE panel_filename='".$inf_panel_folder."'";
$inf_adminpanel[1] = array(
"title" => $locale['msp_admin'],
"image" => "msp.png",
"panel" => "msp_admin.php",
"rights" => "msp"
);
?>
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: infusion_db.php
| Author: Manuel Wensierski
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (!defined("DB_msp")) {
define("DB_msp", DB_PREFIX."msp");
}
if (!defined("DB_msp_settings")) {
define("DB_msp_settings", DB_PREFIX."msp_settings");
}
?>
$inf_insertdbrow[1] = DB_msp_settings." (msp_id, msp_name, msp_visible) VALUES ('', 'gender', '1')";
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: infusion.php
| Author: Manuel Wensierski
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
include INFUSIONS."member_search/infusion_db.php";
if (file_exists(INFUSIONS."member_search/locale/".$settings['locale'].".php")) {
include INFUSIONS."member_search/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."member_search/locale/German.php";
}
// Infusion Information
$inf_title = $locale['msp_title'];
$inf_description = $locale['msp_desc'];
$inf_version = $locale['msp_ver'];
$inf_developer = "Manuel Wensierski";
$inf_email = "manuel.wensierski@hotmail.de";
$inf_weburl = "http://facebook.com/BlizzMusic1";
$inf_folder = "member_search";
$inf_panel_folder = "member_search_panel";
// Delete any items not required below.
$inf_newtable[1] = DB_msp_settings." (
msp_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment,
msp_name VARCHAR(50) NOT NULL,
msp_visible INT(1) NOT NULL default '1',
PRIMARY KEY (msp_id)
) ENGINE=MyISAM;";
$inf_insertdbrow[1] = DB_msp_settings." (msp_id, msp_name, msp_visible) VALUES ('', 'gender', '1')";
$inf_insertdbrow[2] = DB_PANELS." (panel_name, panel_filename, panel_side, panel_order, panel_type, panel_access, panel_display, panel_status) VALUES ('".$locale['msp_name']."', '".$inf_panel_folder."', '1', '75', 'file', '0', '0', '1')";
$inf_droptable[1] = DB_msp_settings;
$inf_deldbrow[1] = DB_PANELS." WHERE panel_filename='".$inf_panel_folder."'";
$inf_adminpanel[1] = array(
"title" => $locale['msp_admin'],
"image" => "msp.png",
"panel" => "msp_admin.php",
"rights" => "msp"
);
?>
ENGINE=MyISAM
TYPE=MyISAM
Category Forum
Panels and InfusionsLabels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions