Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: map24

Posted by showa on 25 september 2009, 13:26
#6

dit is de code die erin staat

Code

if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."map24_panel/infusion_db.php";

if (file_exists(INFUSIONS."map24_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."map24_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."map24_panel/locale/English.php";
}

// Infusion general information
$inf_title = $locale['MAP24_001'];
$inf_description = $locale['MAP24_002'];
$inf_version = "2.0";
$inf_developer = "pbruggink";
$inf_email = "p.bruggink@zonnet.nl";
$inf_weburl = "http://www.surena.nl";

$inf_folder = "map24_panel";


$inf_newtable[1] = DB_LOCATIONS." (
id SMALLINT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
location_name VARCHAR(30) DEFAULT '' NOT NULL,
location_adress VARCHAR(50) DEFAULT '' NOT NULL,
location_zip VARCHAR(7) DEFAULT '' NOT NULL,
location_city VARCHAR(30) DEFAULT '' NOT NULL,
location_phone VARCHAR(15) DEFAULT '' NOT NULL,
location_community VARCHAR(50) DEFAULT '' NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;";

$inf_droptable[1] = DB_LOCATIONS;

$inf_adminpanel[1] = array(
   "title" => $locale['MAP24_001'],
   "image" => "route.gif",
   "panel" => "locations_admin.php",
   "rights" => "MP"
);

?>

Edited by Puma on 25 september 2009, 15:14