<?php
class Style
{
var $currentstyledata;
function init()
{
$file = fopen("style/styledata.mlt",r);
$size = filesize("style/styledata.mlt");
$filein = fread($file,$size);
fclose($file);
$this->currentstyledata=$filein;
}
function top($inhalt)
{
str_replace("PlaceholderId : h1",$inhalt,$this->currentstyledata);
}
function nav($inhalt)
{
str_replace("PlaceholderId : Nav",$inhalt,$this->currentstyledata);
}
function main($inhalt)
{
str_replace("PlaceholderId : Main",$inhalt,$this->currentstyledata);
}
function display()
{
if($this->currentstyledata)
{
print($this->currentstyledata);
}
$this->currentstyledata="";
}
}
?>
Felder die momentan untereinander stehen zukünftig nebenreinander anordnen
Mark69 06.03.2007 - 83 Hits - 2 Antworten
von benutzer defenierte methode
js_rulez 23.07.2007 - 40 Hits - 4 Antworten
Kleines Problem mit DOM und FireFox
Dr.Ma-Busen 03.12.2007 - 59 Hits - 3 Antworten
suche kosenlose webspace wo man auch *.class unterladen kann
Dreamteam1130 15.12.2007 - 93 Hits - 1 Antwort
FSB OC des MSI K9N6GM - V Class
Etoxa 19.01.2008 - 23 Hits -