| | |
| Stránka: 1 z 1
| [ Príspevkov: 3 ] | |
Autor | Správa |
---|
Registrovaný: 18.05.08 Prihlásený: 06.03.09 Príspevky: 14 Témy: 8 Bydlisko: Michalovce | Napísal LipFi: 09.02.2009 21:31 | |
|
Upol som zencart na webzdarma.cz a pri spusteny mi vypisalo chybu Parse error: parse error in /3w/xf.cz/l/lipfi/index.php on line 58 neviete mi poradit preco mi to nejde??
|
|
Registrovaný: 09.09.07 Prihlásený: 07.11.16 Príspevky: 3114 Témy: 233 Bydlisko: Nové Zámky |
hod sem tie riadky, priblizne od riadku 45 po riadok 65 v subore index.php
_________________ "It took a lot of work, but this latest Linux patch enables support for machines with 4096 CPUs, up from the old limit of 1024." "Do you have support for smooth full-screen flash video yet?" "No, but who uses that?"
- ak dlho neodpisujem do témy, zabudol som na ňu, takže ma upozornite SS, ak chcete moju odpoveď |
|
Registrovaný: 18.05.08 Prihlásený: 06.03.09 Príspevky: 14 Témy: 8 Bydlisko: Michalovce | Napísal autor témy LipFi: 09.02.2009 23:04 | |
|
Kód: require($code_page_directory . '/' . $value); } /** * We now load the html_header.php file. This file contains code that would appear within the HTML <head></head> code * it is overridable on a template and page basis. * In that a custom template can define its own common/html_header.php file */ require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php'); /** * Define Template Variables picked up from includes/main_template_vars.php unless a file exists in the * includes/pages/{page_name}/directory to overide. Allowing different pages to have different overall * templates. */ require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php'); /** * Read the "on_load" scripts for the individual page, and from the site-wide template settings * NOTE: on_load_*.js files must contain just the raw code to be inserted in the <body> tag in the on_load="" parameter. * Looking in "/includes/modules/pages" for files named "on_load_*.js" */ $directory_array = $template->get_template_part(DIR_WS_MODULES . 'pages/' . $current_page_base, '/^on_load_/', '.js'); foreach ($directory_array as $value) { $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value; $read_contents=''; ........................................riadok58 foreach($lines as $line) { $read_contents .= $line; } $za_onload_array[] = $read_contents; } /** * now read "includes/templates/TEMPLATE/jscript/on_load/on_load_*.js", which would be site-wide settings */ $directory_array=array(); $tpl_dir=$template->get_template_dir('.js', DIR_WS_TEMPLATE, 'jscript/on_load', 'jscript/on_load_'); $directory_array = $template->get_template_part($tpl_dir ,'/^on_load_/', '.js'); foreach ($directory_array as $value) { $onload_file = $tpl_dir . '/' . $value; $read_contents=''; $lines = @file($onload_file); foreach($lines as $line) { $read_contents .= $line; } $za_onload_array[] = $read_contents;
|
|
| Stránka: 1 z 1
| [ Príspevkov: 3 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|