"); */ $html->mPRINT('
Kde môže byť chyba?
Matúš Mirek
(22 hodnocení)
24. 11. 2012 10:16:12
Ak idem na web vyhodi mi tuto chybu
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /data/web/virtuals/6415/virtual/www/domains/darceky.eu/fun/system/SystemHeader.inc.php on line 1
a daný súbor obsahuje tieto údaje
n"; } public function StartLeftSide( $text, $color="red" ) { echo "
{$text}
n"; echo "n"; } public function StartLeftSideBig( $text, $color="red" ) { echo " "; } public function OpenRightMenu() { echo "{$name} n"; } public function AddThumb($text, $comments=0, $like=0, $image="", $link){ if(strlen($text)>25)$this->text=$this->sharp($text, 25); else $this->text=$text; echo "Zahrajte si online hry zdarma, akčné, športové hry "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "hry.php" && isset($_GET) && !isset($_GET )){ $html->mPRINT("Zahrajte si online hry zdarma, akčné, športové hry "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "hry.php" && isset($_GET) && isset($_GET )){$query = $mysql->DBquery("SELECT * FROM `".mysql_prefix."game` WHERE `id` = '".$mysql->mRES($_GET)."' ORDER BY `id` DESC"); $array = $mysql->DBarray($query); if( $array ) { $mysql->webWatch("game", $_GET); $html->mPRINT("".$array." "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } } } elseif ($currentFile == "videa.php"){ if($currentFile = "videa.php" && !isset($_GET) && !isset($_GET )){ $html->mPRINT("Nie len zábavné videá. Denne nové videá "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "videa.php" && isset($_GET) && !isset($_GET )){ $html->mPRINT("Nie len zábavné videá. Denne nové videá "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "videa.php" && isset($_GET) && isset($_GET )){ $query = $mysql->DBquery("SELECT * FROM `".mysql_prefix."video` WHERE `id` = '".$mysql->mRES($_GET)."' ORDER BY `id` DESC"); $array = $mysql->DBarray($query); if( $array ) { $mysql->webWatch("video", $_GET); $html->mPRINT("".$array." "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT("");function convertUrlQuery($query) { $queryParts = explode('&', $query); $params = array(); foreach ($queryParts as $param) { $item = explode('=', $param); $params] = $item; } return $params; } $parameter = convertUrlQuery($array); $html->mPRINT(""); } } } elseif ($currentFile == "obrazky.php"){ if($currentFile = "obrazky.php" && !isset($_GET) && !isset($_GET )){ $html->mPRINT("Nie len zábavné obrázky "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "obrazky.php" && isset($_GET) && !isset($_GET )){ $html->mPRINT("Nie len zábavné obrázky "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "obrazky.php" && isset($_GET) && isset($_GET )){ $html->mPRINT("Nie len zábavné obrázky "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); $query = $mysql->DBquery("SELECT * FROM `".mysql_prefix."image` WHERE `id` = '".$mysql->mRES($_GET)."' ORDER BY `id` DESC"); $array = $mysql->DBarray($query); if( $array ) { $mysql->webWatch("image", $_GET); $html->mPRINT("".$array." "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } } } elseif ($currentFile == "smsky.php"){ if($currentFile = "smsky.php" && !isset($_GET) && !isset($_GET )){ $html->mPRINT("Zábavné sms, Narodeninové sms, či smsky zadarmo "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "smsky.php" && isset($_GET) && !isset($_GET )){ $html->mPRINT("Zábavné sms, Narodeninové sms, či smsky zadarmo "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "smsky.php" && isset($_GET) && isset($_GET )){ $html->mPRINT("Zábavné sms, Narodeninové sms, či smsky zadarmo "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } } elseif ($currentFile == "vtipy.php"){ if($currentFile = "vtipy.php" && !isset($_GET) && !isset($_GET )){ $html->mPRINT("Vtipy o blondínkach, policajtoch, rómoch a iné "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "vtipy.php" && isset($_GET) && !isset($_GET )){ $html->mPRINT("Vtipy o blondínkach, policajtoch, rómoch a iné "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } if($currentFile = "vtipy.php" && isset($_GET) && isset($_GET )){ $html->mPRINT("Vtipy o blondínkach, policajtoch, rómoch a iné "); $html->mPRINT(""); $html->mPRINT(""); $html->mPRINT(""); } } else { $html->mPRINT("Mrkva.sk - HRY, VIDEA, TV "); $html->mPRINT(""); }$html->mPRINT(" ");/*============================================================== header */$html->mPRINT("");//$html->mPRINT("
{$text}
n"; echo "n"; } public function CloseLeft() { echo "
n"; } //============================================================================ public function OpenRight() { echo "n"; echo ""; } public function StartRightSide( $text, $color="black",$d=0 ) { echo "
n"; echo "{$text}
n"; if($d==0)echo "n"; } public function CloseRight() { echo "
n"; } //============================================================================ public function EndSide($d=0){ if($d==0) echo "- n"; } public function CloseRightMenu() { echo "
n"; echo " n"; echo "{$this->text} n"; echo "{$comments} n"; echo "{$like} n"; echo "{$image}n"; echo " n"; echo "
n"; }}require_once ("system/Settings.inc.php");require_once ("system/SystemHtmlFunctions.inc.php");require_once ("system/SystemMysqlFunctions.inc.php");$html = new WebHtml( );$header = new WHeader( );$mysql = new WebMysql( mysql_server, mysql_user, mysql_pass, mysql_db ); #language includerequire_once ("system/language/sk.inc.php");/* html started *///$html->mPRINT("");$html->mPRINT("");$html->mPRINT(' ');/*$html->mPRINT("");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");*/$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(' ');$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");/*$html->mPRINT(" ");$html->mPRINT(" ");$html->mPRINT(" ");*///$html->mPRINT(""); $currentFile = $_SERVER; $parts = Explode('/', $currentFile); $currentFile = $parts; if ($currentFile == "hry.php"){ if($currentFile = "hry.php" && !isset($_GET) && !isset($_GET )){ $html->mPRINT("");$html->mPRINT('
');//$html->mPRINT("
");$html->mPRINT('
');//$html->mPRINT("
"); $html->mPRINT(" "); $html->mPRINT(" ");$html->mPRINT(' '); /*$html->mPRINT("
"); $html->mPRINT(" ');$html->mPRINT('
- ');//$html->mPRINT("
- '.$LANGUAGE.' ');$html->mPRINT('
- '.$LANGUAGE.' ');$html->mPRINT('
- '.$LANGUAGE.' ');$html->mPRINT('
- '.$LANGUAGE.' ');//$html->mPRINT("
"); if (eregi("index", $_SERVER)) { $class="class='active'"; } else { $class=""; }if (eregi("register", $_SERVER)) { $class="class='active'"; } else { $class=""; }if (eregi("stats", $_SERVER)) { $class="class='active'"; } else { $class=""; }if (eregi("contact", $_SERVER)) { $class="class='active'"; } else { $class=""; }/*$html->mPRINT(" {$LANGUAGE} "); $html->mPRINT(" {$LANGUAGE}"); $html->mPRINT(" {$LANGUAGE}"); $html->mPRINT(" {$LANGUAGE}"); */$html->mPRINT('
"); $html->mPRINT("title
'); if ($mysql->IsLogin()){ $html->mPRINT(' '); }else{ $html->mPRINT(' '); } $html->mPRINT('
'.$LANGUAGE.' '.$mysql->GetUserDat("email").'
"); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); */$html->mPRINT('');$html->mPRINT(''); // '.$LANGUAGE.' /*$html->mPRINT("
"); $html->mPRINT(" "); $html->mPRINT(" "); if(!$mysql->IsLogin()) { $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT("
"); } else { $html->mPRINT(" "); $html->mPRINT(" {$LANGUAGE} "); $html->mPRINT("
"); $html->mPRINT(" "); $html->mPRINT("
"); }$html->mPRINT(" "); $html->mPRINT(" {$LANGUAGE} {$mysql->GetUserDat("email")}
"); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" {$LANGUAGE}"); $html->mPRINT("
"); $html->mPRINT(" "); *//*$html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT("
"); $html->mPRINT(" "); $html->mPRINT(" "); $html->mPRINT("
"); $html->mPRINT("
Petr Jeník
(71 hodnocení)
24. 11. 2012 10:32:24
zkus přidat na ten řádek 1 "php"
24. 11. 2012 10:32:24
Michal Brůžek
(58 hodnocení)
24. 11. 2012 10:45:35
Martin
(62 hodnocení)
24. 11. 2012 10:47:22
A taky zkus dávat kód do tagu k tomu určeným. Takhle je to brutalně nepřehledný.
24. 11. 2012 10:47:22
Kamil Hurajt
(8 hodnocení)
24. 11. 2012 12:44:27
Nasel jsem tam hned nekolik chyb, nektere if else nemas ukoncene, nektera z metod neni zakoncena } .A pokud chces zjistit skutecnou chybu tak sem posli zformatovanou verzi v tagu ... takovej bordel skoumat nikdo nebude ..
24. 11. 2012 12:44:27
Pro odpověď se přihlašte.
Přihlásit
Prodej
Více
Eshop na digitální licence her (Know-How) 🎮🔥💎
1 000 Kč
0 příhozů
Dropshipping eshop se sportovními doplňky
69 000 Kč
0 příhozů
👀 Prodám satirickou, fanouškovskou FB stránku obrovským potenciálem 🔥
1 000 Kč
0 příhozů
✅ Prodám rozpracovaný projekt na super doméně – Online tržiště PR článků a linků ❗️ WWW.LINKOVIŠTĚ.CZ ❗️
1 000 Kč
0 příhozů
Prodej domény WOODOO.CZ
4 000 Kč
0 příhozů