<?php
// Infusion Titles & Description
$locale['ads100'] = "Auto Database System";
$locale['ads101'] = "Add system for Car Dealers.";
$locale['ads102'] = "Auto Database System";
$locale['ads103'] = "Auto Database System";
$locale['ads104'] = "Latest Incoming Cars";
$locale['ads105'] = "See all our cars";
// Side-Panel mm.
$locale['ads000'] = "Auto Database System";
$locale['ads001'] = "<font color='#ff0000'>No ads in the system!</font>";
$locale['ads002'] = "Administration";
$locale['ads003'] = "See all Ads";
$locale['ads004'] = "Click on the images below to see a larger picture/details about the car.";
$locale['ads005'] = "Contact";
$locale['ads006'] = "Click here";
$locale['ads007'] = "Search result";
$locale['ads008'] = "No results";
$locale['ads009'] = "No car brand and model match your search.";
$locale['ads010'] = "Search by brand and model:";
$locale['ads011'] = "Contact:";
$locale['ads012'] = "Edit information";
// Form
$locale['ads200'] = "Create Ad";
$locale['ads201'] = "Order :";
$locale['ads202'] = "Car make and model";
$locale['ads203'] = "Year";
$locale['ads204'] = "<b>Make and model</b>";
$locale['ads205'] = "<b>Year</b>";
$locale['ads208'] = "Save";
$locale['ads209'] = "Undo";
$locale['ads210'] = "Miles";
$locale['ads211'] = "Price";
$locale['ads212'] = "Picture";
$locale['ads213'] = "Dealer Name";
$locale['ads214'] = "Telephone";
$locale['ads215'] = "Email";
$locale['ads216'] = "Equipment";
$locale['ads217'] = "Dealer Name:";
$locale['ads218'] = "Year:";
$locale['ads219'] = "Miles:";
$locale['ads220'] = "Price:";
$locale['ads221'] = "Telephone:";
$locale['ads222'] = "Email:";
$locale['ads223'] = "Equipment:";
$locale['ads224'] = "Delete Picture";
$locale['ads225'] = "Picture 1 <font color='#0000ff'>*</font>";
$locale['ads226'] = "Picture 2 <font color='#0000ff'>*</font>";
$locale['ads227'] = "Picture 3 <font color='#0000ff'>*</font>";
$locale['ads228'] = "Picture 4 <font color='#0000ff'>*</font>";
$locale['ads229'] = "Picture 5 <font color='#0000ff'>*</font>";
$locale['ads230'] = "Pictures";
$locale['ads231'] = "Location";
$locale['ads232'] = "Location:";
$locale['ads233'] = "Details about the car";
// Valg
$locale['ads299'] = "Edit Ad";
$locale['ads300'] = "Ads";
$locale['ads301'] = "Edit";
$locale['ads302'] = "Delete";
$locale['ads303'] = "Move down";
$locale['ads304'] = "Move up";
$locale['ads305'] = "Refresh Order";
$locale['ads308'] = "<font color='#ff0000'>No Ads in the Database!</font>";
$locale['ads309'] = "Delete this Ad ?";
$locale['ads310'] = "Back";
$locale['ads311'] = "Search";
$locale['ads312'] = "<font color='#ff0000'>*</font> Required information.";
$locale['ads313'] = "Print";
$locale['ads314'] = "Go to Ads";
$locale['ads315'] = "<font color='#0000ff'>*</font> Attach images when the Ad is written and saved.<br /> - Then press "Edit" and paste pictures.";
// Fejl
$locale['ads400'] = "Unable to add Ad.";
$locale['ads401'] = "Fill in the box Car brand and model!";
?>
Quote
Table 'hbt.fusion82245_ads' doesn't exist
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Name: infusion.php
| Author : Smokeman
| Email: smokeman@esenet.dk
| Web: http://www.phpfusion-tips.dk/
+--------------------------------------------------------+
| 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."car_list_panel/infusion_db.php";
if (file_exists(INFUSIONS."car_list_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."car_list_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."car_list_panel/locale/English.php";
}
$inf_title = $locale['ads100'];
$inf_description = $locale['ads101'];
$inf_version = "1.1";
$inf_developer = "Smokeman";
$inf_email = "smokeman@esenet.dk";
$inf_weburl = "http://www.phpfusion-tips.dk/";
$inf_folder = "car_list_panel";
$inf_newtable[1] = DB_ADS." (
car_id SMALLINT(3) NOT NULL,
car_order SMALLINT(2) NOT NULL,
car_model VARCHAR(50) NOT NULL DEFAULT '0',
car_year VARCHAR(50) NOT NULL,
car_km VARCHAR(100) NOT NULL,
car_pris VARCHAR(50) NOT NULL,
car_pic1 VARCHAR(50) DEFAULT '',
car_pic2 VARCHAR(50) DEFAULT '',
car_pic3 VARCHAR(50) DEFAULT '',
car_pic4 VARCHAR(50) DEFAULT '',
car_pic5 VARCHAR(50) DEFAULT '',
car_type VARCHAR(50) NOT NULL,
car_fuel VARCHAR(50) NOT NULL,
car_doors VARCHAR(10) NOT NULL,
car_color VARCHAR(50) NOT NULL,
car_udstyr VARCHAR(250) NOT NULL,
PRIMARY KEY (car_id)
) ENGINE=MyISAM;";
$inf_droptable[1] = DB_ADS;
$inf_adminpanel[1] = array(
"title" => $locale['ads100'],
"image" => "ads.jpg",
"panel" => "car_list_panel_admin.php",
"rights" => "ADS"
);
$inf_sitelink[1] = array(
"title" => $locale['ads102'],
"url" => "car_list.php",
"visibility" => "0"
);
?>
Quote
KasteR wrote:
There may not be an icon specified, that shouldn't prevent you from accessing the infusion. Perhaps there's an issue with the aid link not being included. I'd have to take a look later.
DESCRIPTION:
------------
Auto Database System - for sales of cars.
Make new ads for cars - upload up to 5 pictures in each ad.
Info about:
- Car model/brand
- Type
- Fuel type
- Year
- Miles
- Price
- Doors
- Color
- Equipment
Print function on all pages.
Go-back-function on all pages.
Search-function for searching after brand/model.
Mouse-over the small pictures will change the big picture of the cars.
Side-panel incl. that showing the 10 Latest Incoming Cars.
VERSION:
--------
1.1
INSTALLATION:
-------------
1. Upload the maps "administration", "images" and "infusions" to the root of the server.
2. CHMOD the map /images/cars to 777.
3. Log on to the site and go to: Admin Panel -->System Admin -->Infusions - and install "Car List Panel".
4. Now go to: Admin Panel -->System Admin -->Panels - and make a new side-panel, where you choose "car_list_panel" from the list. Remember to enable the panel.
5. Creating/editing/deleting ads via: Admin Panel -->Infusions -->Auto Database System.
AUTHOR:
-------
Auto Database System is written/coded by Robert Holm AKA Smokeman.
PHPFusion-Tips.dk
$inf_adminpanel[1] = array(
"title" => $locale['xxxx'],
"image" => "image.gif",
Quote
douwe_yntema wrote:
It can happen, if you have a long domain name, that the path to the icon is truncated.
This is the case if the icon is placed in a folder under the infusion.
Normally icons are placed in the folder /adminstration/images/ under the root of your fusion installation.
The databasefield for the path to the icon has a limitide length of 50 char's
In that case, remove the line to the icon in the infusion.php.
You get a standard infusion icon for the infusion.
Make the code like:Code Download source$inf_adminpanel[1] = array(
"title" => $locale['xxxx'],
"image" => "image.gif",
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions