ein anderer Fehler auf meiner Homepage beschäftigt mich nun.
Heute habe ich die hlogin 1.1 von externer Link exakt nach Anleitung installiert.
Folgende Fehlermeldung:
Zitat
Eine Modifikation der Modul-Dateien oder der tpl.php liegt NICHT vor.
Anbei die Code-Dateien:
index.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>{TITLE}</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="include/designs/DDvXv2/style.css"> <link rel="stylesheet" href="include/designs/DDvXv2/slider/themes/pascal/pascal.css" type="text/css" media="screen" /> <link rel="stylesheet" href="include/designs/DDvXv2/slider/themes/orman/orman.css" type="text/css" media="screen" /> <link rel="stylesheet" href="include/designs/DDvXv2/slider/slider.css" type="text/css" media="screen" /> <style type="text/css"> .hame { display: block; border:none; color: #0CF; font-size: 12px; width: 208px; text-indent: 50px; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:26px; background: url(include/designs/DDvXv2/Bilder/button_sitemenu.png); } .hame:hover { display: block; border:none; color: #0FF; font-size: 12px; width: 208px; text-indent: 50px; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:26px; background: url(include/designs/DDvXv2/Bilder/button_sitemenu_2.png); } /*--Setzt alle Abstände auf "Null"--*/ * { margin: 0; padding: 0; } /*--formatiert die Menüleiste + BGcolor Blau--*/ #menu { width: 1100px; height:38px; background: ; font-family: Verdana; font-size: 1em; line-height: 1.5; float: left; } /*--formatiert die Themenblöcke - Nebeneinander--*/ #menu ul { float: left; width: 119px; list-style-type: none; padding-top: 2px; } /*--definiert die Blocküberschriften--*/ #menu h3 { font-size: 11px; text-align: center; color: #CCC; border: 0px solid #003366; /*--erforderlich für IE 7--*/ background: url(include/designs/DDvXv2/Bilder/button.png); height: 29px; width: 119px; padding-top: 9px; } /*--definiert die Blocküberschriften--*/ #menu h3:hover { font-size: 11px; text-align: center; color: #3CF; border: 0px solid #003366; /*--erforderlich für IE 7--*/ height: 29px; width: 119px; background: url(include/designs/DDvXv2/Bilder/button_hover.png); padding-top: 9px; } /*--definiert die "Drop-Down-Links" im Normalzustand--*/ #menu a { text-decoration: none; display: block; border: 1px solid #222; text-align: center; background: url(include/designs/DDvXv2/Bilder/DropDownbutton.png); color: #3CF; height: 20px; } /*--definiert die "Drop-Down-Links" im Hoverzustand--*/ #menu a:hover { color: #000; background: url(include/designs/DDvXv2/Bilder/DropDownbutton_hover.png); } /*--definiert einen Einzellink im Normalzustand, wenn kein Drop-Down erforderlich--*/ #menu a.direkt:link { font-size: 11px; font-weight: bold; text-align: center; color: #CCC; border: 0px solid #003366; background: url(include/designs/DDvXv2/Bilder/button.png); height: 29px; width: 119px; padding-top: 9px; } /*--definiert einen Einzellink im Hoverzustand, wenn kein Drop-Down erforderlich--*/ #menu a.direkt:hover { font-size: 11px; font-weight: bold; text-align: center; color: #3CF; border: 0px solid #ccc; height: 29px; width: 119px; background: url(include/designs/DDvXv2/Bilder/button_hover.png); padding-top: 9px; } /* *verhindert im Zusammenhang mit position absolute bei ul ul *eine Höhenvergrößerung von #menu beim Hovern-- */ #menu li { position: relative; } /*--versteckt die "Drop-Down-Links", solange nicht gehovert wird--*/ #menu ul ul { position: absolute; z-index: 2; display: none; } /*--lässt die Dropdown-Links beim Hovern erscheinen--*/ #menu ul li:hover ul { display: block; } /*--nur für IE-Versionen kleiner gleich 6 erkennbar--*/ * html #menu ul li { float: left; width: 100%; } /*--nur für IE 7 erkennbar--*/ *+ html #menu ul li { float: left; width: 100%; } </style> </head> <body> <center> <table width="1200" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <table width="1200" border="0" cellpadding="0" cellspacing="0" background="include/designs/DDvXv2/Bilder/header.png"> <tr> <td width="120" height="246" align="right"> <div style="width:400px; padding-right:15px;">{_boxes_DDVX-LOGIN}</div> </td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="1100" height="5" align="right" background="include/designs/DDvXv2/Bilder/kante.png"> </td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0" background="include/designs/DDvXv2/Bilder/menu.png"> <tr> <td width="1100" height="49" align="left"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td style="padding-top: 2px;"> <a href="index.php" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/home.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/home_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/home.png'" border="0"></a><a href="?news" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/news.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/news_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/news.png'" border="0"></a><a href="?forum" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/forum.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/forum_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/forum.png'" border="0"></a><a href="?user" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/user.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/user_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/user.png'" border="0"></a><a href="?teams" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/teams.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/teams_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/teams.png'" border="0"></a><a href="?links" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/links.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/links_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/links.png'" border="0"></a><a href="?gbook" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/gbook.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/gbook_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/gbook.png'" border="0"></a><a href="?joinus" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/joinus.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/joinus_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/joinus.png'" border="0"></a><a href="?fightus" onClick="toggleMenu(1);"><img src="include/designs/DDvXv2/Bilder/submenu/fightus.png" onMouseOver="this.src='include/designs/DDvXv2/Bilder/submenu/fightus_hover.png'" onMouseOut="this.src='include/designs/DDvXv2/Bilder/submenu/fightus.png'" border="0"></a> </td> </tr> </table> </td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0" background="include/designs/DDvXv2/Bilder/lastbox.png"> <tr> <td width="350" height="199" valign="top"> <table width="100%"><tr> <td width="100%" style="padding-left: 10px; padding-top: 19px; padding-right:10px;">{_boxes_DDVX-LASTNEWS}</td></tr></table> </td> <td width="350" height="199" valign="top"> <table width="100%"><tr> <td width="100%" style="padding-left: 15px; padding-top: 19px;">{_boxes_DDVX-LASTFORUM}</td></tr></table> </td> <td width="350" height="199" valign="middle"> <table width="100%"><tr> <td width="100%" align="center" style="padding-left: 12px; padding-right:19px; padding-bottom:3px;"> <div id="wrapper"> <div class="slider-wrapper theme-default"> <div id="slider" class="nivoSlider"> <img src="include/designs/DDvXv2/slider/images/bf3.jpg" height="150" width="230" border="0" alt="" /> <img src="include/designs/DDvXv2/slider/images/cod.jpg" height="150" width="230" border="0" alt="" /> </div> </div> </div> <script type="text/javascript" src="include/designs/DDvXv2/slider/jquery-1.6.1.min.js"></script> <script type="text/javascript" src="include/designs/DDvXv2/slider/jquery.nivo.slider.pack.js"></script> <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider(); }); </script> </td></tr></table> </td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="1100" height="6" background="include/designs/DDvXv2/Bilder/page_bg_oben.png"></td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="1100" background="include/designs/DDvXv2/Bilder/page_bg.png"> <table width="1100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="230" align="left" valign="top"> {_list_menunr1@ <table width="230" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="230" height="51" align="center" background="include/designs/DDvXv2/Bilder/box_links_oben.png"><div style="color:#CCC;"><b>%1</b></div></td> </tr> <tr> <td width="230" align="left" valign="top" background="include/designs/DDvXv2/Bilder/box_links_mitte.png"> <table width="230" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td> <td align="left" valign="top">%2</td> <td width="15"> </td> </tr> </table> </td> </tr> <tr> <td width="230" height="15" background="include/designs/DDvXv2/Bilder/box_links_unten.png"></td> </tr> </table> } </td> <td width="640" align="left" valign="top"> <table width="638" cellpadding="0" cellspacing="0" border="0"> <tr> <td height="64" background="include/designs/DDvXv2/Bilder/hamanu.png"><div style="padding-left:15px; padding-bottom:20px;">{HMENU}</div></td> </tr> <tr> <td><div style="padding-left:10px; padding-right:10px; padding-bottom:20px;">{EXPLODE}</div></td> </tr> </table> </td> <td width="230" align="left" valign="top"> {_list_menunr2@ <table width="230" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="230" height="51" align="center" background="include/designs/DDvXv2/Bilder/box_rechts_oben.png"><div style="color:#CCC;"><b>%1</b></div></td> </tr> <tr> <td width="230" align="center" background="include/designs/DDvXv2/Bilder/box_rechts_mitte.png"> <table width="230" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td> <td align="center" valign="top">%2</td> <td width="15"> </td> </tr> </table> </td> </tr> <tr> <td width="230" height="17" background="include/designs/DDvXv2/Bilder/box_rechts_unten.png"></td> </tr> </table> } </td> </tr> </table> </td> </tr> </table> <table width="1100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="1100" height="130" valign="bottom"><img src="include/designs/DDvXv2/Bilder/footer.png" border="0" usemap="#Map"/> </td> </tr> </table> <br /> </td> </tr> </table> </center> <map name="Map" id="Map"> <area shape="rect" target="_blank" coords="27,90,281,118" href="http://www.dragondesigns.de" alt="copyright" /> <area shape="rect" coords="962,72,1017,115" href="#" alt="on top" /> </map> </body> </html> <!-- {_list_DDDmenupoint@<strong><big>·</big></strong><a %1 href="%2">%3</a><br />} {_list_hmenupoint@<li><a target="%1" href="%2">%3</a>|</li>|<br />|</ul></li>} {_list_hmenubegi@<ul>} {_list_hmenuende@</ul>} {_list_vmenupoint@<a target="%1" class="hame" href="%2">%3</a>} {_list_vmenubegi@} {_list_vmenuende@}//-->
tpl.php:
<?php # Copyright by Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); class tpl { var $parts; var $keys; var $lists; var $lang; var $ort; function tpl ($file, $ort = 0) { $this->parts = array(); $this->keys = array(); $this->lists = array(); $this->lang = array(); $this->ort = $ort; # file bearbeiten, weil file auch ohne .htm angegeben werden kann. if ( ($ort != 3) AND (substr ( $file, -4 ) != '.htm') ) { $file .= '.htm'; } # ort 0 = include/templates, ort 1 = include/admin/templates # bei ort 0 wird ausserdem gecheckt ob das template # evtl. im ordner include/design/DESIGN/templates liegt. # ort = 2 das template kommt von der design classe der pfad ist ab include # ort = 3 das template ist schon in der Variable $file geladen $design = $this->get_design (); if ( $this->ort == 0 ) { if ( file_exists ('include/designs/'.$design.'/templates/'.$file) ) { $file = 'include/designs/'.$design.'/templates/'.$file; } else { $file = 'include/templates/'.$file; } } elseif ( $this->ort == 1 ) { $file = 'include/admin/templates/'.$file; } elseif ( $this->ort == 2 ) { $file = 'include/'.$file; }elseif ( $this->ort == 3 ) { $inhalt = $file; } if ($ort != 3){ $inhalt = implode("", file($file) ); } global $lang; $this->lang = $lang; $inhalt = $this->replace_lang($inhalt); $inhalt = $this->replace_list($inhalt); $this->parts = explode ( '{EXPLODE}', $inhalt ); } function get_design () { if ( file_exists('include/designs/'.$_SESSION['authgfx'].'/index.htm')) { return ( $_SESSION['authgfx'] ); } elseif ( file_exists('include/designs/ilchClan/index.htm')) { return ( 'ilchClan' ); } else { $od = opendir('include/designs'); while ( $f = readdir($od) ) { if ( file_exists('include/designs/'.$f.'/index.htm')) { return ( $f ); break; } } closedir($od); } } function replace_lang ( $var ) { $lang_zwischenspeicher = array(); preg_match_all ("/\{_lang_([^\{\}]+)\}/" , $var , $lang_zwischenspeicher); foreach ( $lang_zwischenspeicher[1] as $v ) { if (empty($this->lang[$v])) { $this->lang[$v] = str_replace('_', '', $v); } $var = str_replace('{_lang_'.$v.'}',$this->lang[$v],$var); } return ( $var ); } function replace_list ( $var ) { $zwischenspeicher = array(); preg_match_all ("/\{_list_([^\{\}]+)\}/" , $var , $zwischenspeicher); foreach ( $zwischenspeicher[1] as $v ) { list ( $key , $val ) = explode('@',$v); $this->lists[$key] = $val; $var = str_replace('{_list_'.$v.'}','{'.$key.'}',$var); } return ( $var ); } function list_get ( $key , $ar ) { $zwischenspeicher = $this->lists[$key]; krsort($ar); foreach ( $ar as $k => $v ) { $i = $k + 1; $zwischenspeicher = str_replace('%'.$i,$v,$zwischenspeicher); } return ($zwischenspeicher); } function list_exists ( $key ) { if ( isset ( $this->lists[$key] ) ) { return ( true ); } else { return ( false ); } } function list_out ( $key , $ar ) { echo $this->list_get ( $key , $ar ); } function set ($k , $v) { #$this->keys[$k] = unescape($v); $this->keys[$k] = $v; } function set_ar ($ar) { foreach ($ar as $k => $v) { #$this->keys[$k] = unescape($v); $this->keys[$k] = $v; } } function set_ar_out ( $ar , $pos ) { $this->set_ar($ar); $this->out($pos); } function set_out ( $k , $v , $pos ) { $this->set($k , $v); $this->out($pos); } function set_ar_get ( $ar , $pos ) { $this->set_ar($ar); return ($this->get($pos)); } function set_get ( $k , $v , $pos ) { $this->set($k , $v); return ( $this->get($pos)); } function del ($k) { unset ($this->keys[$k]); } function del_ar ($ar) { foreach ($ar as $k => $v) { unset ($this->keys[$k]); } } function parse_if_do ($tr) { if ($tr[1] == 'SESSION_AUTHRIGHT') { $this->keys[$tr[1]] = $_SESSION['authright']; } if (isset($this->keys[$tr[1]]) AND ( ($tr[2] == '==' AND $this->keys[$tr[1]] == $tr[3]) OR (($tr[2] == '!=' OR $tr[2] == '<>') AND $this->keys[$tr[1]] != $tr[3]) OR ($tr[2] == '<=' AND $this->keys[$tr[1]] <= $tr[3]) OR ($tr[2] == '>=' AND $this->keys[$tr[1]] >= $tr[3]) OR ($tr[2] == '<' AND $this->keys[$tr[1]] < $tr[3]) OR ($tr[2] == '>' AND $this->keys[$tr[1]] > $tr[3]) ) ) { return ($tr[4]); } elseif (isset($this->keys[$tr[1]]) AND isset($tr[6])){ return ($tr[6]); } return (''); } function parse_if ($pos) { $toout = $this->parts[$pos]; $toout = preg_replace_callback ("/\{_if_\{([^\}]+)\}(==|!=|<>|<|>|<=|>=)'([^']+)'\}(.*)(\{_else_\}(.*))?\{\/_endif\}/Us", array(&$this, 'parse_if_do') , $toout); return ($toout); } function get ($pos) { $toout = $this->parse_if($pos); mt_srand((double)microtime()*1000000); $z = '##@@'.mt_rand().'@@##'; foreach ($this->keys as $k => $v) { $toout = str_replace('{'.$k.'}','{'.$z.$k.'}',$toout); } foreach ($this->keys as $k => $v) { $toout = str_replace( '{'.$z.$k.'}' , $v , $toout ); } return ($toout); } function out ($pos) { echo $this->get ($pos); } /* @ Diese Funktion war mal eingebaut ich denke aber wenn jemand die seite suchmaschienen optimieren will, dann sollte er schon soviel ahnung haben es selber hinzubekommen. diese funktion kann aber dabei helfen! ... ansonsten wird es von mir sicher mal einen mod geben der die aufgabe uebernimmt! diese funktion kann nicht einfach freigeschaltet (auskommentiert) werden sie hat dann ueberhaupt keine auswirkung ;)... function giveback ($c) { global $allgAr; # diese funktion gibt den inhalt aus. # damit kann der inhalt nochmal nachbereitet werden. # pruefen ob alle ?... durch ....htm ersetzt werden sollen # wenn ja tun und return c ;-) if ( $allgAr['replace_template_to_html'] == 1 AND ($this->ort == 0 OR $this->ort == 2) ) { $c = preg_replace ('%href=\"\?([^\"]+)\"%Uis',"href=\"index.php?\\1\"",$c); $c = preg_replace ('%href=\"index.php\?([-0-9A-Z]+)#([a-zA-Z0-9]+)\">%Uis',"href=\"\\1.html#\\2\">",$c); $c = preg_replace ('%href=\"index.php\?([-0-9A-Z]+)\">%Uis',"href=\"\\1.html\">",$c); $c = preg_replace ('%action=\"\?([^\"]+)\"%Uis',"action=\"index.php?\\1\"",$c); $c = preg_replace ('%URL=\?([^\"]+)\"%Uis',"URL=index.php?\\1\"",$c); } return ( $c ); } */ } ?>
Wo liegt der Fehler?
Gruß und Danke
sterope
betroffene Homepage: frankens-funfighter.de/Kim