PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 38937
Šiandien: 14
Prisijungę nariai
» Svečių: 6
» Narių: 0

» Viso narių: 10,235
» Naujausias: ruslanas tuk

Prisijungimų istorija:
tabux13:00:20
sanpernepamenu
Zbigniew@nepamenu
CepelinasXnepamenu
VV91DDnepamenu
Minusnepamenu
priezilviciunepamenu
EdvinasG1337nepamenu
rolandas94nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2026-03-21 19:07

2025-07-13 17:07
svx, smagu kad dar atsiranda naujų narių Šypsosi2

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

Shoutbox Archive
Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Taisymas
 Spausdinti temą
v7 Naujienose klaida keiiant i? dviej vien kolon.
autoaina
#1 Spausdinti pranešimą
parašyta 2012-01-08 17:35
Naujokas



Reputacija: 0

Pranešimai: 7
Įstojo: 2011-11-06

PHP v7. Reikia sutvarkyti kad naujien nustatymuose perjungus naujienas rodym viena kolona i? dviej , nemest klaidos : Notice: Undefined index: cat_image in /home/galeolt/domains/autoaina.lt/public_html/themes/RedCar/theme.php on line 144. 144 eilut pa?ymjau raudonai !

Download source  Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Car Theme for PHP-Fusion V7.02.xx
| Author: jikaka
| Web: www.rusfusion.com
+--------------------------------------------------------+
| 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\"); }

define(\"THEME_BULLET\", \"''\");

require_once THEME.\"functions.php\";
require_once INCLUDES.\"theme_functions_include.php\";

function render_page($license = false) {
   
   add_handler(\"theme_output\");
   global $settings, $main_style, $locale, $mysql_queries_time;
   
   echo \"
\n\";
   
   //Header
   echo \"
\n\";
   echo \"
\".showbanners().\"
\n\";
   echo \"
\n\";
   echo \"
''
\n\";
   echo \"
\n\";
   echo \">\n\";
   echo \"\n\";
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\".showsublinks(\"\",\"\").\"
\n\";
   echo \"
\".showsubdate().\"
\n\";
   echo \"
\n\";

   // Content
   echo \"
\n\";
   if ($_SERVER['SCRIPT_NAME'] == \"/news.php\") {
      require_once THEME.\"slide.php\";
   }
   if (LEFT) { echo \"
\".LEFT.\"
\n\"; }
   if (RIGHT) { echo \"
\".RIGHT.\"
\n\"; }
   echo \"
\";
   echo \"
\".U_CENTER.\"
\n\";
   echo \"
\".CONTENT.\"
\n\";
   echo \"
\".L_CENTER.\"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   
   //Footer
   echo \"
\n\";

}

function render_comments($c_data, $c_info){
   global $locale;
   
   if (!empty($c_data)){
      echo \"
\n\";
      
   if ($c_info['admin_link'] !== false) {
       echo \"
\n\";
       echo \"
\".$c_info['admin_link'].\"
\n\";
      echo \"
\n\";
   }

      foreach($c_data as $data) {
         
         echo \"
\n\";
         echo \"
\n\";
      if ($data['edit_dell'] !== false) { echo \"
\".$data['edit_dell'].\"\n
\n\"; }
         echo \"#\".$data['i'].\" |\n\";
         echo \"\".$data['comment_name'].\"\n\";
         echo \"\".$data['comment_datestamp'].\"\n\";
         echo \"
\n
\".$data['comment_message'].\"
\n\";
         echo \"
\n\";
         
      }
      
   if ($c_info['c_makepagenav'] !== false) {
         echo \"
\n\";
         echo \"
\".$c_info['c_makepagenav'].\"
\n\";
         echo \"
\n\";
   }
      
      echo \"
\n\";
         
   } else {
       echo \"
\".$locale['c101'].\"
\n\";
   }
 
}

function render_news($subject, $news, $info) {
global $locale, $settings, $aidlink;

set_image(\"edit\", THEME.\"images/icons/news_edit.png\");
   
   echo \"
\n\";
   echo \"
\".$subject.\"
\n\";
   echo \"
\n\";
   echo \"\n\";
   if (iADMIN && checkrights(\"N\")) {
      echo \"
\n\";
      echo \"'\".$locale['global_076'].\"'\n\";
      echo \"
\n\";
   }
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   if ($info['news_sticky'] == \"1\") {
      echo \"
'sticky'
\";
   }
   echo $info['cat_image'].$news.\"
\n\";

   echo \"
\n\";
   echo \"\n\";
   if (!isset($_GET['readmore']) && $info['news_ext'] == \"y\") {
      echo \"
\n\";
      echo \"\".$locale['global_072'].\"\n\";
      echo \"
\n\";
      
   }
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";

}

function render_article($subject, $article, $info) {
global $locale, $settings, $aidlink;

set_image(\"edit\", THEME.\"images/icons/article_edit.png\");
   
   echo \"
\n\";
   echo \"
\".$subject.\"
\n\";
if (iADMIN && checkrights(\"A\")) {
   echo \"
\n\";
    echo \"'\".$locale['global_076'].\"'\n\";
   echo \"
\n\"; }
   echo \"
\n\";
   echo \"
\n\";
   echo \"
\n\";
   echo \"\n\";
    echo \"
\n\";
   echo \"
\".($info['article_breaks'] == \"y\" ? nl2br($article) : $article).\"
\n\";
   echo \"
\n\";
   
}

function opentable($title) {

   echo \"
\".$title.\"
\n\";
   echo \"
\n\";

}

function closetable() {

   echo \"
\n\";

}

function openside($title, $collapse = false, $state = \"on\") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo \"
\n\";
   echo \"
\".$title.\"
\n\";
   if ($collapse == true) {
      $boxname = str_replace(\" \", \"\", $title);
      echo \"
\".panelbutton($state, $boxname).\"
\n\";
   }
   echo \"
\n\";
   
   echo \"
\n\";
   if ($collapse == true) { echo panelstate($state, $boxname); }
   
}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo \"
\n\"; }
   echo \"
\n\";

}

?>



Mums ne vis vien !
A? vis dar mokausi.
 
PM
Peršokti į forumą: