For Templates News & Updates follow us on Facebook

Community Forum

Welcome to our Gamer Templates Forum

Webspell anpassen, nur wie? o.

12 years 10 months ago #21 by Gamer-Templates
Replied by Gamer-Templates on topic Webspell anpassen, nur wie? o.
So sollte das ungefähr aussehen:

[code:1]<tr><td><?
if(!isset($site)) $site=\"news\";
//Sichheitslücke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.\".php\"«»)) $site = \"news\";
include($site.\".php\"«»);
?></td></tr>[/code:1]

No support via e-mail!

Please Log in or Create an account to join the conversation.

12 years 10 months ago #22 by Asu666
Replied by Asu666 on topic Webspell anpassen, nur wie? o.
also mein Fehler in Line 8 hab ich gefunden, nur ein Problem hab ich noch und zwar sind nachdem ich die ganzen Sachen implimentiert habe das Design total zerrissen.

HIER TEST SITE

Wie kann ichn das beheben? Naja, muss dann eh noch n bissl ändern weil ich die Navi gaaaaanz anders haben wollte. o.O<br /><br />Post geändert von: Jinnai, am: 15/03/2007 15:54

Please Log in or Create an account to join the conversation.

12 years 10 months ago #24 by Gamer-Templates
Replied by Gamer-Templates on topic Webspell anpassen, nur wie? o.
Da ist einfach \&quot;nur\&quot; der CODE falsch. Ãœberprüfe deinen CODE mal genau. Ich habe leider zur Zeit wenig Zeit um das zu überprüfen. Oder texte mal hier deinen CODE vieleicht schaut ja mal ein anderer hier hinein.

MfG

No support via e-mail!

Please Log in or Create an account to join the conversation.

12 years 10 months ago #28 by Asu666
Replied by Asu666 on topic Webspell anpassen, nur wie? o.
Also der Code ist:

&lt;?
include(\&quot;_mysql.php\&quot;);
include(\&quot;_settings.php\&quot;);
include(\&quot;_functions.php\&quot;);
?&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Jinnais Homepage&lt;/title&gt;
&lt;link href=\&quot;_stylesheet.css\&quot; rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot;&gt;
&lt;script src=\&quot;js/bbcode.js\&quot; language=\&quot;jscript\&quot; type=\&quot;text/javascript\&quot;&gt;&lt;/script&gt;
&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html; charset=iso-8859-1\&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=\&quot;#FFFFFF\&quot; leftmargin=\&quot;0\&quot; topmargin=\&quot;0\&quot; marginwidth=\&quot;0\&quot; marginheight=\&quot;0\&quot;&gt;
&lt;!-- ImageReady Slices (Privat Site.psd) --&gt;
&lt;table id=\&quot;Tabelle_01\&quot; width=\&quot;745\&quot; height=\&quot;550\&quot; border=\&quot;0\&quot; cellpadding=\&quot;0\&quot; cellspacing=\&quot;0\&quot;&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;6\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_01.gif\&quot; width=\&quot;744\&quot; height=\&quot;103\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;103\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;6\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_02.gif\&quot; width=\&quot;744\&quot; height=\&quot;7\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;7\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;6\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_03.gif\&quot; width=\&quot;744\&quot; height=\&quot;22\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;&lt;? include(\&quot;sc_scrolltext.php\&quot;); ?&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;22\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;6\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_04.gif\&quot; width=\&quot;744\&quot; height=\&quot;21\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;21\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=\&quot;12\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_05.gif\&quot; width=\&quot;8\&quot; height=\&quot;380\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td rowspan=\&quot;11\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_06.gif\&quot; width=\&quot;552\&quot; height=\&quot;376\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;tr&gt;&lt;td&gt;&lt;? if(!isset($site)) $site=\&quot;news\&quot;;
//Sichheitsl&amp;uuml;cke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.\&quot;.php\&quot;)) $site = \&quot;news\&quot;;
include($site.\&quot;.php\&quot;);
?&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;td colspan=\&quot;4\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_07.gif\&quot; width=\&quot;184\&quot; height=\&quot;1\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;1\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=\&quot;11\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_08.gif\&quot; width=\&quot;9\&quot; height=\&quot;379\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td colspan=\&quot;2\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_09.gif\&quot; width=\&quot;165\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td rowspan=\&quot;11\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_10.gif\&quot; width=\&quot;10\&quot; height=\&quot;379\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;2\&quot;&gt;
&lt;? include(\&quot;login.php\&quot;); ?&gt;
&lt;img src=\&quot;Bilder/jinnai_11.gif\&quot; width=\&quot;165\&quot; height=\&quot;76\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;76\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=\&quot;9\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_12.gif\&quot; width=\&quot;2\&quot; height=\&quot;285\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/jinnai_13.gif\&quot; width=\&quot;163\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;? include(\&quot;navigation.php\&quot;); ?&gt;
&lt;img src=\&quot;Bilder/jinnai_14.gif\&quot; width=\&quot;163\&quot; height=\&quot;71\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;71\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/jinnai_15.gif\&quot; width=\&quot;163\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;? include(\&quot;partners.php\&quot;); ?&gt;
&lt;img src=\&quot;Bilder/jinnai_16.gif\&quot; width=\&quot;163\&quot; height=\&quot;70\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;70\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/jinnai_17.gif\&quot; width=\&quot;163\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;? include(\&quot;shoutbox.php\&quot;); ?&gt;
&lt;img src=\&quot;Bilder/jinnai_18.gif\&quot; width=\&quot;163\&quot; height=\&quot;56\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;56\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/jinnai_19.gif\&quot; width=\&quot;163\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;18\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td rowspan=\&quot;2\&quot;&gt;
&lt;? include(\&quot;counter.php\&quot;); ?&gt;
&lt;img src=\&quot;Bilder/jinnai_20.gif\&quot; width=\&quot;163\&quot; height=\&quot;16\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;12\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/jinnai_21.gif\&quot; width=\&quot;552\&quot; height=\&quot;4\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;4\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=\&quot;6\&quot;&gt;
&lt;img src=\&quot;Bilder/jinnai_22.gif\&quot; width=\&quot;744\&quot; height=\&quot;17\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;img src=\&quot;Bilder/Abstandhalter.gif\&quot; width=\&quot;1\&quot; height=\&quot;17\&quot; alt=\&quot;\&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;!-- End ImageReady Slices --&gt;
&lt;/body&gt;
&lt;/html&gt;


Guck heute abend nochmal selber, aber kA ob ich alleine raus find was ich nun falsch gemacht habe. :blink:

Please Log in or Create an account to join the conversation.

12 years 10 months ago #29 by Gamer-Templates
Replied by Gamer-Templates on topic Webspell anpassen, nur wie? o.
Hier haben wir doch schon den Fehler:

[code:1]&lt;!-- ImageReady Slices --&gt;[/code:1]

Versuche lieber deinen eigenen Code zu erstellen.

Sehr gute Hilfe bekommst du hier: http://de.selfhtml.org/

MfG

No support via e-mail!

Please Log in or Create an account to join the conversation.