#1 2012-01-20 18:03:11

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

Čaute prepáčte že zakladam tak veľa témi. ale jak si idem dať svoj deisgn  už viem ako big_smile smile a dalej si to otvorím na webe a už ale mne tam ukaže toto NabĂ­zĂ­me silnĂ© magnety a magnet prodej. ModernĂ­ zdravotnĂ­ matrace, kterĂ© pomáhajĂ­ od bolesti - matrace UNAR. grily weber. Nábytek, Ĺľidle a nábytkovĂ© doplĹky na lino.cz
Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/users/omdomdomdomdomd/monnsterss.6f.sk/web/themes/design_gaming/theme.php on line 23   Prosííím pomožte lebo ja newiem de je chiba či v index.php ja newiem

Offline

#2 2012-01-20 18:09:21

Martin
Endora rádce
Místo: Plzeň
Registrován: 2011-01-19
Příspěvky: 1,375
Web

Re: Chyba ?

Chyba je někde v souboru theme.php kolem řádky 23...


Nejnovější článek: www.zeminem.cz ...
Černé díry jsou místa, kde Bůh dělil nulou...
Endora plugin!

Offline

#3 2012-01-20 18:25:28

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

dobré díík pozrem sa nato wink

Offline

#4 2012-01-20 18:28:56

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

prepáč mi za toto ale ja tam nič nevidím

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "");
define("web_width", "1001");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
	
	global $settings, $main_style, $locale;

	echo "<div align='center'>";
  //Subheader
  echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
	echo "<td class='subheader'><div style='float: left'>Vitejte na </div><div style='color: #84a903; float:left;'> Monnsterss</div></td>\n";
	echo "</tr>\n</table>\n";
       
	//Header
	echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
	echo

function render_news($subject, $text, $info) {

  $news = mysql_fetch_array(mysql_query("SELECT * FROM fusion_news WHERE news_id='".$info['news_id']."'"));
  
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='news-cap'>".$subject."<div style='float: right;'>Datum: ".showdate("longdate", $news['news_datestamp'])."</div></div></td>\n";
	echo "</tr>\n</table>\n";
	echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
	echo "<td class='main-body'>".$text."<div style='width: 100%; height: 5px;'> </div>
	"; 
  if (empty($_GET['readmore'])) {
    echo "<a href='".BASEDIR."news.php?readmore=".$news['news_id']."' target='_top'><div class='read-more'>Cist vice</div></a>";
  } 
  echo "
  </td>\n";
	echo "</tr>\n<tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
	
	echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
	echo "<td class='capmain'>".$subject."</td>\n";
	echo "</tr>\n</table>\n";
	echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
	echo "<td class='main-body middle-border'>".($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%'>\n<tr>\n";
	echo "<td class='capmain'>".$title."</td>\n";
	echo "</tr>\n</table>\n";
	echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
	echo "<td class='main-body'>\n";

}

function closetable() {

	echo "</td>\n";
	echo "</tr><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%'>\n<tr>\n";
	echo "<td class='scapmain'>$title</td>\n";
	if ($collapse == true) {
		$boxname = str_replace(" ", "", $title);
		echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
	}
	echo "</tr>\n</table>\n";
	echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
	echo "<td class='side-body'>\n";	
	if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
	
	global $panel_collapse;

	if ($panel_collapse == true) { echo "</div>\n"; }	
	echo "</td>\n</tr>\n</table>\n";

}

?>

EDIT: zeminem - obalení [code]

Offline

#5 2012-01-20 18:35:06

davidg
Endora uživatel
Registrován: 2010-09-23
Příspěvky: 208
Web

Re: Chyba ?

To Moderators : Upravte ten prispevok a dajte to do code pls nech to nevyzera tak hrozne ..

To Kax0 : upni ten skript na rapid a posli sem link ja ti to skusim pozret .. hlavne tu nevypisuj cely kod ..
s tohto sa moc nevyznam ...  resp. posli original skript smile a hod sem link .. pomozem ak budem vediet smile


----------PC Expert---------
Digital World Only ...           +
--------------------------------
Overenie ci je stranka bezpecna alebo nie : http://site.cekuj.net/

Offline

#6 2012-01-20 18:40:54

davidg
Endora uživatel
Registrován: 2010-09-23
Příspěvky: 208
Web

Re: Chyba ?

Okej nasiel som error ..
skus toto :

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "");
define("web_width", "1001");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
   
   global $settings, $main_style, $locale;

   echo "<div align='center'>";
  //Subheader
  echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
   echo "<td class='subheader'><div style='float: left'>Vitejte na </div><div style='color: #84a903; float:left;'> Monnsterss</div></td>\n";
   echo "</tr>\n</table>\n";
       
   //Header
   echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
   //echo

function render_news($subject, $text, $info) {

  $news = mysql_fetch_array(mysql_query("SELECT * FROM fusion_news WHERE news_id='".$info['news_id']."'"));
 
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='news-cap'>".$subject."<div style='float: right;'>Datum: ".showdate("longdate", $news['news_datestamp'])."</div></div></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>".$text."<div style='width: 100%; height: 5px;'> </div>
   ";
  if (empty($_GET['readmore'])) {
    echo "<a href='".BASEDIR."news.php?readmore=".$news['news_id']."' target='_top'><div class='read-more'>Cist vice</div></a>";
  }
  echo "
  </td>\n";
   echo "</tr>\n<tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".($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%'>\n<tr>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr><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%'>\n<tr>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}

?>

Chybu som nasiel na 21 riadku kde bola funkcia echo avsak nie spravne zapisana ...

echo

odkomentoval som to cim som ju odstavil ..

Nahodov si neupravoval ten subor ? lebo to tam originalne podla mna nebolo ..
To moderators : Dik za upravu tej hroznej spravy smile


----------PC Expert---------
Digital World Only ...           +
--------------------------------
Overenie ci je stranka bezpecna alebo nie : http://site.cekuj.net/

Offline

#7 2012-01-20 18:48:07

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

dobré skúsim dakujém Vám všetkým

Offline

#8 2012-01-20 18:50:48

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

nejde Ploty, pletiva a oplocenĂ­ od svÄ›tovĂ©ho vĂ˝robce plotĹŻ, Tvorba webovĂ˝ch stránek, ModernĂ­ zdravotnĂ­ matrace, kterĂ© pomáhajĂ­ od bolesti - matrace UNAR, OblĂ©káme se stylovÄ› - obleÄŤenĂ­ a hip hop obleÄŤenĂ­, Nábytek, Ĺľidle a nábytkovĂ© doplĹky na lino.cz
Parse error: syntax error, unexpected $end in /home/users/omdomdomdomdomd/monstter.clanweb.eu/web/themes/design_gaming/theme.php on line 99

Offline

#9 2012-01-21 18:27:37

kaxO
Člen
Registrován: 2012-01-10
Příspěvky: 29

Re: Chyba ?

joj prosím jadite chybu lebo ja sa vtym neviznam

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "");
define("web_width", "1001");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
	
	global $settings, $main_style, $locale;

	echo "<div align='center'>";
  //Subheader
  echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
	echo "<td class='subheader'><div style='float: left'>Vitejte na </div><div style='color: #84a903; float:left;'> Monnsterss</div></td>\n";
	echo "</tr>\n</table>\n";
       
	//Header
	echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
	echo

function render_news($subject, $text, $info) {

  $news = mysql_fetch_array(mysql_query("SELECT * FROM fusion_news WHERE news_id='".$info['news_id']."'"));
  
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='news-cap'>".$subject."<div style='float: right;'>Datum: ".showdate("longdate", $news['news_datestamp'])."</div></div></td>\n";
	echo "</tr>\n</table>\n";
	echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
	echo "<td class='main-body'>".$text."<div style='width: 100%; height: 5px;'> </div>
	"; 
  if (empty($_GET['readmore'])) {
    echo "<a href='".BASEDIR."news.php?readmore=".$news['news_id']."' target='_top'><div class='read-more'>Cist vice</div></a>";
  } 
  echo "
  </td>\n";
	echo "</tr>\n<tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
	
	echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
	echo "<td class='capmain'>".$subject."</td>\n";
	echo "</tr>\n</table>\n";
	echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
	echo "<td class='main-body middle-border'>".($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%'>\n<tr>\n";
	echo "<td class='capmain'>".$title."</td>\n";
	echo "</tr>\n</table>\n";
	echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
	echo "<td class='main-body'>\n";

}

function closetable() {

	echo "</td>\n";
	echo "</tr><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%'>\n<tr>\n";
	echo "<td class='scapmain'>$title</td>\n";
	if ($collapse == true) {
		$boxname = str_replace(" ", "", $title);
		echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
	}
	echo "</tr>\n</table>\n";
	echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
	echo "<td class='side-body'>\n";	
	if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
	
	global $panel_collapse;

	if ($panel_collapse == true) { echo "</div>\n"; }	
	echo "</td>\n</tr>\n</table>\n";

}

?>

Offline

#10 2012-01-23 00:21:22

davidg
Endora uživatel
Registrován: 2010-09-23
Příspěvky: 208
Web

Re: Chyba ?

Kde presne mas tu chybu ?
http://monstter.clanweb.eu/news.php

jak pozeram tvuj web mne tam nic nehlasi smile


----------PC Expert---------
Digital World Only ...           +
--------------------------------
Overenie ci je stranka bezpecna alebo nie : http://site.cekuj.net/

Offline

#11 2012-01-23 13:18:15

kyborek
Člen
Registrován: 2011-06-08
Příspěvky: 78
Web

Re: Chyba ?

Zaprvé tam bylo zbytečné echo a navíc funkce render_page nebyla uzavřená, proto to hlásí unexpected <cokoliv> protože očekává ukončení funkce. Pokud jste dělal nedávno změny tak zkuste soubor nahrát znovu protože je zřejmě poškozený, pokud ne tak zkuste vložit toto:

    <?php
    if (!defined("IN_FUSION")) { die("Access Denied"); }

    define("THEME_BULLET", "");
    define("web_width", "1001");

    require_once INCLUDES."theme_functions_include.php";

    function render_page($license=false) {

       global $settings, $main_style, $locale;

       echo "<div align='center'>";
      //Subheader
      echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
       echo "<td class='subheader'><div style='float: left'>Vitejte na </div><div style='color: #84a903; float:left;'> Monnsterss</div></td>\n";
       echo "</tr>\n</table>\n";

       //Header
       echo "<table cellpadding='0' cellspacing='0' width='".web_width."'>\n<tr>\n";
       }

    function render_news($subject, $text, $info) {

      $news = mysql_fetch_array(mysql_query("SELECT * FROM fusion_news WHERE news_id='".$info['news_id']."'"));

       echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
       echo "<td class='news-cap'>".$subject."<div style='float: right;'>Datum: ".showdate("longdate", $news['news_datestamp'])."</div></div></td>\n";
       echo "</tr>\n</table>\n";
       echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
       echo "<td class='main-body'>".$text."<div style='width: 100%; height: 5px;'> </div>
       ";
      if (empty($_GET['readmore'])) {
        echo "<a href='".BASEDIR."news.php?readmore=".$news['news_id']."' target='_top'><div class='read-more'>Cist vice</div></a>";
      }
      echo "
      </td>\n";
       echo "</tr>\n<tr>\n</table>\n";

    }

    function render_article($subject, $article, $info) {

       echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
       echo "<td class='capmain'>".$subject."</td>\n";
       echo "</tr>\n</table>\n";
       echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
       echo "<td class='main-body middle-border'>".($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%'>\n<tr>\n";
       echo "<td class='capmain'>".$title."</td>\n";
       echo "</tr>\n</table>\n";
       echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
       echo "<td class='main-body'>\n";

    }

    function closetable() {

       echo "</td>\n";
       echo "</tr><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%'>\n<tr>\n";
       echo "<td class='scapmain'>$title</td>\n";
       if ($collapse == true) {
          $boxname = str_replace(" ", "", $title);
          echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
       }
       echo "</tr>\n</table>\n";
       echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
       echo "<td class='side-body'>\n";
       if ($collapse == true) { echo panelstate($state, $boxname); }

    }

    function closeside() {

       global $panel_collapse;

       if ($panel_collapse == true) { echo "</div>\n"; }
       echo "</td>\n</tr>\n</table>\n";

    }
    ?>

Robotická online hra zdarma: Bamgame.net

Offline

Zápatí

Založeno na FluxBB | CZ a SK