Hej. Chcia?em wkomponowa? w Fusion'a ksi?g? go?ci. Utworzy?em "czyst? stron?" kgosci.php:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: contact.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| 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/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."kgosci.php";
add_to_title($locale['global_200'].$locale['400']);
{
opentable($locale['400']);
include "lazarusgb/gbinclude.php";
closetable();
}
require_once THEMES."templates/footer.php";
?>
Kliknij i zaczekaj na załadowanie kodu ...
do tego plik w localu:
<?php
/// Ksi?ga go?ci
$locale['400'] = "Ksi?ga go?ci";
?>
Kliknij i zaczekaj na załadowanie kodu ...
Ksi?ga go?ci wy?wietla si? poprawnie na stroni? ale nie wida? linków w g?ównym poziomym menu. Prosz? o poprawienie kodu :)
EDYCJA:
Na dole strony wywala b??d:
Warning: mysql_close(): no MySQL-Link resource supplied in D:\xampp\htdocs\test\fusion\themes\templates\footer.php on line 41
Edytowane przez BenLomax dnia 07.10.2008 14:45:10
|