myGully.com

myGully.com (https://mygully.com/index.php)
-   Entwicklung & Programmierung (https://mygully.com/forumdisplay.php?f=72)
-   -   Content ohne CMS (https://mygully.com/showthread.php?t=2062932)

bola 16.06.10 21:39

Moin,
ich arbeite bisher immer mit Webspell, möchte nun allerdings mit und ohne CMS arbeiten. Mit CMS soll nun eigentlich nur das Gästebuch und das Kontaktformular laufen. Den Rest möchte ich frei gestalten.

Nun besteht das Problem, dass jede frei gestaltete Seite aufgerufen wird, nur die News nicht.

Der Code, um den Content anzuzeigen, sieht so aus:

Zitat:

<td width="415" height="809" valign="top" background="slices/ifx_21.jpg" td class=\"transparent_class\"><p><div style="overflow:auto;height:790px;width:410px"><?
if(!isset($site)) $site="news";
//Sichheitsl&uuml;cke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");
?>
</p></td>
Wie müsste denn der Code ausshehen, wenn ich komplett ohne CMS arbeiten möchte?


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:23 Uhr.

Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.