Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: KŽ | Peržiūrų: 1686 |
KŽ Narys Pulkininkas Pranešimai: 397 Įstojęs: 2011 Bal. 22 22:04:46 | |
Parse error: syntax error, unexpected T_ELSEIF in /home/ksky/domains/kmc.wu.lt/public_html/themes/Leland/theme.php on line 63 Šitą rašė, kai įdiegiau temą. themes.php: <?php |
|
MaFetas Administratorius Ekspertas Pranešimai: 3453 Įstojęs: 2005 Lie. 16 13:07:41 | |
63 eilutė pabandyk pasikeist į: else if (iMEMBER) { Adminas - ban'o laisvė www.KIETEKAS.com |
|
KŽ Narys Pulkininkas Pranešimai: 397 Įstojęs: 2011 Bal. 22 22:04:46 | |
Daba.. Parse error: syntax error, unexpected T_ELSE in .. |
|
timas126 Narys Margas Pranešimai: 96 Įstojęs: 2010 Gru. 6 22:12:58 | |
va bandy <?php /*-------------------------------------------------------+ | Theme: Leland | Author: Jure Sakelšek (include) +--------------------------------------------------------+ | http://phpfusion-si.com/ +--------------------------------------------------------*/ if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "100%"); define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />"); require_once INCLUDES."theme_functions_include.php"; function get_head_tags() { echo "<script language='javascript'> function show(id) { el = document.getElementById(id); if (el.style.display == 'none') { el.style.display = ''; el = document.getElementById('more' + id); el.innerHTML = '<img src=\"".THEME."images/prijava_skrij.png\" border=\"0\">'; } else { el.style.display = 'none'; el = document.getElementById('more' + id); } } </script>\n"; } function render_page($license=false) { global $settings, $main_style, $userdata; /* -------------------------------------------- */ $logo = ""; //Slika logotipa (250 x 80) /* -------------------------------------------- */ //Header /*echo "<table cellpadding='0' cellspacing='0' class='glava'>\n"; echo "<tr>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "<td class='glava_zgoraj logo'><img src='".THEME."images/{$logo}' /></td>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='menu'><div class='menu_levo'></div></td>\n"; echo "<td>\n";*/ echo "<table cellpadding='0' cellspacing='0' class='glava'>\n"; echo "<tr>\n"; echo "<td class='glava_zgoraj'></a></td>\n"; echo "<td class='ozadje_zgoraj'>\n"; echo "<table class='zgoraj' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='ozadje_zl'><a href='".BASEDIR."index.php'><img src='".THEME."images/{$logo}' border='0'></td>\n"; } if (iMEMBER) { echo "<table height='72' width='100%' border='0' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='prijavljen' valign='top'>Pozdravljen, ".$userdata['user_name']."</td>\n"; echo "<td><a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/godjava.png' border='0'></a></td>\n"; echo "</tr>\n"; echo "</table>\n"; } echo "</div>\n"; echo "<div class='prikazi'><a id='moreinfo' onclick=\"javascriptdrovushow('info');return false;\" href='#'>\n"; echo "<img src='".THEME."images/prijava_prikazi.png' border='0'></a>\n"; echo "</div>\n"; echo "</td>\n"; echo "<td class='ozadje_zd'>\n"; echo "<div class='oznake'>\n"; echo "<a href='".BASEDIR."messages.php'><img src='".THEME."images/zs.png' border='0'/></a><a href='".BASEDIR."faq.php'><img src='".THEME."images/pomoc.png' border='0'/></a><a href='". BASEDIR."contact.php'><img src='".THEME."images/kontakt.png' border='0'/></a><a href='".BASEDIR."search.php'><img src='".THEME."images/iskanje.png' border='0'/></a>\n"; echo "</div>\n"; echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='menu'><div class='menu_levo'></div></td>\n"; echo "<td>\n"; //Header - menu echo "<table cellpadding='0' cellspacing='0' class='menu_center'>\n"; echo "<tr>\n"; echo "<td class='prazno_levo'></td>\n"; echo "<td class='prazno'>\n"; echo "<div id='navigacija'>\n"; echo "<ul>\n"; echo "<li><span>".showsublinks("","white")."</span></li>\n"; echo "</ul>\n"; echo "</div>\n"; echo "</td>\n"; echo "<td class='prazno_desno'></td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; echo "<td class='menu'><div class='menu_desno'></div></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td colspan='3' class='glava_spodaj'></td>\n"; echo "</tr>\n"; echo "</table>\n"; //Content echo "<table cellpadding='0' cellspacing='0' align='center' width='1100' height='100%' class='vsebina'>\n"; echo "<tr>\n"; echo "<td class='paleta_zl'></td>\n"; if (LEFT) { echo "<td rowspan='2' class='side-border-left' valign='top'>".LEFT."</td>\n"; } echo "<td class='paleta_z'></td>\n"; echo "<td rowspan='2'>"; echo "<table width='100%' height='100%' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='sredina_l'></td>\n"; echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n"; echo "<td class='sredina_d'></td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; if (LEFT OR RIGHT) { echo "<td class='paleta_z'></td>\n"; } if (RIGHT) { echo "<td rowspan='2' class='side-border-right' valign='top'>".RIGHT."</td>\n"; } echo "<td class='paleta_zd'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='paleta_sl'></td>\n"; echo "<td class='paleta_s'></td>\n"; if (LEFT OR RIGHT) { echo "<td class='paleta_s'></td>\n"; } echo "<td class='paleta_sd'></td>\n"; echo "</tr>\n"; echo "</table>\n"; //Footer echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' class='noga'>\n"; echo "<tr>\n"; echo "<td class='noga_ozadje'></td>\n"; echo "<td class='noga_sredina' valign='top'><div class='noga_vsebina'>© Si-fusion. Vse pravice pridr?ane. Powered by <a href='http://www.php-fusion.co.uk/'>PHP-fusion</a>.\n"; echo "Designed by <a href='http://www.phpfusion-si.com/'>Si-Fusion</a>.</div></td>\n"; echo "<td class='noga_ozadje'></td>\n"; echo "</tr>\n"; echo "</table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".$news."\n"; echo "<div class='news-footer'>".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])."</div>\n"; echo "</td>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td>\n</tr>\n</table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\n<tr>\n"; echo "<td class='capmain'>".$title."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td>\n</tr>\n</table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n"; echo "<td><div class='scapmain'>".$title."</div></td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\n"; echo "<td".($collapse == true ? " colspan='2'" : "")."><div class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside($collapse = false) { global $panel_collapse; if ($panel_collapse == true) { echo "</div></div>\n"; } echo "</td>\n</tr>\n</table>\n"; } ?> |
|
KŽ Narys Pulkininkas Pranešimai: 397 Įstojęs: 2011 Bal. 22 22:04:46 | |
Parse error: syntax error, unexpected '}' in /home/ksky/domains/..../public_html/themes/Leland/theme.php on line 159 Dabar šitas.. |
|
timas126 Narys Margas Pranešimai: 96 Įstojęs: 2010 Gru. 6 22:12:58 | |
<?php /*-------------------------------------------------------+ | Theme: Leland | Author: Jure Sakelšek (include) +--------------------------------------------------------+ | http://phpfusion-si.com/ +--------------------------------------------------------*/ if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "100%"); define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />"); require_once INCLUDES."theme_functions_include.php"; function get_head_tags() { echo "<script language='javascript'> function show(id) { el = document.getElementById(id); if (el.style.display == 'none') { el.style.display = ''; el = document.getElementById('more' + id); el.innerHTML = '<img src=\"".THEME."images/prijava_skrij.png\" border=\"0\">'; } else { el.style.display = 'none'; el = document.getElementById('more' + id); } } </script>\n"; } function render_page($license=false) { global $settings, $main_style, $userdata; /* -------------------------------------------- */ $logo = ""; //Slika logotipa (250 x 80) /* -------------------------------------------- */ //Header /*echo "<table cellpadding='0' cellspacing='0' class='glava'>\n"; echo "<tr>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "<td class='glava_zgoraj logo'><img src='".THEME."images/{$logo}' /></td>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='menu'><div class='menu_levo'></div></td>\n"; echo "<td>\n";*/ echo "<table cellpadding='0' cellspacing='0' class='glava'>\n"; echo "<tr>\n"; echo "<td class='glava_zgoraj'></a></td>\n"; echo "<td class='ozadje_zgoraj'>\n"; echo "<table class='zgoraj' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='ozadje_zl'><a href='".BASEDIR."index.php'><img src='".THEME."images/{$logo}' border='0'></td>\n"; } echo "<table height='72' width='100%' border='0' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='prijavljen' valign='top'>Pozdravljen, ".$userdata['user_name']."</td>\n"; echo "<td><a href='".BASEDIR."setuser.php?logout=yes'><img src='".THEME."images/godjava.png' border='0'></a></td>\n"; echo "</tr>\n"; echo "</table>\n"; } echo "</div>\n"; echo "<div class='prikazi'><a id='moreinfo' onclick=\"javascriptdrovushow('info');return false;\" href='#'>\n"; echo "<img src='".THEME."images/prijava_prikazi.png' border='0'></a>\n"; echo "</div>\n"; echo "</td>\n"; echo "<td class='ozadje_zd'>\n"; echo "<div class='oznake'>\n"; echo "<a href='".BASEDIR."messages.php'><img src='".THEME."images/zs.png' border='0'/></a><a href='".BASEDIR."faq.php'><img src='".THEME."images/pomoc.png' border='0'/></a><a href='". BASEDIR."contact.php'><img src='".THEME."images/kontakt.png' border='0'/></a><a href='".BASEDIR."search.php'><img src='".THEME."images/iskanje.png' border='0'/></a>\n"; echo "</div>\n"; echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; echo "<td class='glava_zgoraj'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='menu'><div class='menu_levo'></div></td>\n"; echo "<td>\n"; //Header - menu echo "<table cellpadding='0' cellspacing='0' class='menu_center'>\n"; echo "<tr>\n"; echo "<td class='prazno_levo'></td>\n"; echo "<td class='prazno'>\n"; echo "<div id='navigacija'>\n"; echo "<ul>\n"; echo "<li><span>".showsublinks("","white")."</span></li>\n"; echo "</ul>\n"; echo "</div>\n"; echo "</td>\n"; echo "<td class='prazno_desno'></td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; echo "<td class='menu'><div class='menu_desno'></div></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td colspan='3' class='glava_spodaj'></td>\n"; echo "</tr>\n"; echo "</table>\n"; //Content echo "<table cellpadding='0' cellspacing='0' align='center' width='1100' height='100%' class='vsebina'>\n"; echo "<tr>\n"; echo "<td class='paleta_zl'></td>\n"; if (LEFT) { echo "<td rowspan='2' class='side-border-left' valign='top'>".LEFT."</td>\n"; } echo "<td class='paleta_z'></td>\n"; echo "<td rowspan='2'>"; echo "<table width='100%' height='100%' cellpadding='0' cellspacing='0'>\n"; echo "<tr>\n"; echo "<td class='sredina_l'></td>\n"; echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n"; echo "<td class='sredina_d'></td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</td>\n"; if (LEFT OR RIGHT) { echo "<td class='paleta_z'></td>\n"; } if (RIGHT) { echo "<td rowspan='2' class='side-border-right' valign='top'>".RIGHT."</td>\n"; } echo "<td class='paleta_zd'></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class='paleta_sl'></td>\n"; echo "<td class='paleta_s'></td>\n"; if (LEFT OR RIGHT) { echo "<td class='paleta_s'></td>\n"; } echo "<td class='paleta_sd'></td>\n"; echo "</tr>\n"; echo "</table>\n"; //Footer echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' class='noga'>\n"; echo "<tr>\n"; echo "<td class='noga_ozadje'></td>\n"; echo "<td class='noga_sredina' valign='top'><div class='noga_vsebina'>© Si-fusion. Vse pravice pridr?ane. Powered by <a href='http://www.php-fusion.co.uk/'>PHP-fusion</a>.\n"; echo "Designed by <a href='http://www.phpfusion-si.com/'>Si-Fusion</a>.</div></td>\n"; echo "<td class='noga_ozadje'></td>\n"; echo "</tr>\n"; echo "</table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".$news."\n"; echo "<div class='news-footer'>".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])."</div>\n"; echo "</td>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td align='center' class='news-footer'>\n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td>\n</tr>\n</table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>\n<tr>\n"; echo "<td class='capmain'>".$title."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td>\n</tr>\n</table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n"; echo "<td><div class='scapmain'>".$title."</div></td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\n"; echo "<td".($collapse == true ? " colspan='2'" : "")."><div class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside($collapse = false) { global $panel_collapse; if ($panel_collapse == true) { echo "</div></div>\n"; } echo "</td>\n</tr>\n</table>\n"; } ?> |
|
KŽ Narys Pulkininkas Pranešimai: 397 Įstojęs: 2011 Bal. 22 22:04:46 | |
Parse error: syntax error, unexpected '}' in /home/ksky/domains/.../public_html/themes/Leland/theme.php on line 70 |
|
KŽ Narys Pulkininkas Pranešimai: 397 Įstojęs: 2011 Bal. 22 22:04:46 | |
Nagi, kas nors padėkite.. Parse error: syntax error, unexpected '}' in /home/ksky/domains/.../public_html/themes/Leland/theme.php on line 70 |
Peršokti į forumą: |