Mach vorher ein Backup fals es nich funzt ^^
Newstemplate: (das im Templateordner)
<div style="padding-left:45px; border: dotted #000000; border-width: 0px 0px 1px 0px "/>
<strong>{datum}</strong>
</div>
<div style="padding-left:45px; float:left;">
<strong><a href="index.php?news-{id}">{title}</a></strong>
<div style="float:left; width:50%; text-align:center; ">{kate}</div>
<div style="float:left; width:50%; padding-top:25px; ">
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="cbg1">
<tr>
</tr>
<tr>
</tr>
</table>
</div><br style="clear:both; " />
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2">{text}</td>
</tr>
<tr>
<td width="100%"><a href="index.php?news-{id}">{kom} {_if_{kom}=='1'}{_lang_comment}{_else_}{_lang_comments}{/_endif} </a></td>
<td width="100%">
<div align="CENTER">{readwholenews}</div>
</td>
</tr>
</table>
</div>
</div>
<br />
<br />
<br />
<br />
{EXPLODE}
<br />
<br /><center>{SITELINK}</center>
{EXPLODE}
<!-- News Kommentare und Mehr lesen -->
<table class="border" width="100%" cellpadding="5" cellspacing="1" border="0">
<tr class="Chead">
<th height="25"><b>{NAME}</b></th>
</tr>
<tr>
<td height="25" class="Cdark">{_lang_message}</td>
</tr>
<tr>
<td class="Cnorm">
<div style="float:left; ">{KATE}</div>
<div style="float:left; padding-left:10px; ">{TEXT}</div><br style="clear:both; " />
<p></p>
<a href="index.php?news"><b>«</b> {_lang_back}</a> </td>
</tr>
<tr>
<td height="25" class="Cmite">{_lang_commentsfor} {NAME}</td>
</tr>
<tr>
<td class="Cnorm">
{EXPLODE}
<form action="index.php?news-{NID}" method="POST">
<fieldset>
<legend>{_lang_writecomment}</legend>
<input type="text" name="name" value="{uname}" /> {ANTISPAM} <input type="submit" value="{_lang_enter}"><br />
<textarea style="width: 98%" cols="50" rows="2" name="txt"></textarea><br />
</fieldset>
</form>
<br />
{EXPLODE}
<span class="Cmite"># <b>{ZAHL}</b> von {NAME}</span>
<br />{TEXT}<br /><br />
{EXPLODE}
<br />
<a href="index.php?news"><b>«</b> {_lang_back}</a>
</td>
</tr>
</table>
{EXPLODE}
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="rand">
<tr class="mite">
<td width="65%"><b>{NAME}</b></td>
<td width="15%">{FUER}</td>
<td width="20%" align="right">{DATE}</td>
</tr><tr class="norm">
<td valign="top" colspan="2">{TEXT}{MEHR}</td>
<td valign="top" rowspan="2" align="center">{KATE}</td>
</tr><tr class="norm">
<td valign="bottom" height="20" colspan="2" align="center">
<b>{_lang_from} {UNAME}</b> [ {KOM} <a href="index.php?news-1&nid={ID}">{_lang_comments}</a> ]
</td>
</tr>
</table>
Newstemplate: (das im Designordner [muss neu erstellt werden]) name der Datei: "index_news.htm"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{TITLE}</title>
<meta name="keywords" content="http://www.designs2gazeat.de">
<meta name="description" content="(C) by Designs 2 Gaze @">
<link href="include/designs/hcd/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
*{ color:#000000;}
.Stil1 {font-family: Georgia, "Times New Roman", Times, serif}
.Stil2 {font-family: Georgia, "Times New Roman", Times, serif; font-weight: bold; }
</style>
</head>
<body style="background-image: url(include/designs/hcd/images/fixbg.jpg);background-attachment:fixed;">
<div align="center">
<!-----------Beginn Head Bereich----------->
<table table id="Header" width="1000" heigth="178" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="178" title="Header">
<param name="movie" value="include/designs/hcd/images/header.swf" />
<param name="quality" value="high" />
<embed src="include/designs/hcd/images/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="178"></embed>
</object>
</div>
</td>
</tr>
</table>
<!-----------Ende Head Bereich----------->
<!-----------Anfang Aufteilung----------->
<!-----------Ende Aufteilung----------->
<!-----------Anfang Content ----------->
<table table id="Content" width="1000" bgcolor="#666666" border="0" cellpadding="0" cellspacing="0" height="474">
<tr><!--Linke Navi Anfang-->
<td background="include/designs/hcd/images/bg.jpg" bgcolor="#666666" width="179" valign="top">
<div id="left_nav">
{_list_menunr1@
<div class="head_navi">
<div align="center" class="Stil2">%1</div>
</div>
<div align="center"><span class="Stil2">%2} </span></div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table></td>
<!--Misc Navi Anfang-->
<!--Content mitte Anfang-->
<td width="641" valign="top" bgcolor="666666">
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#666666" width="642">
<tr><td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#666666" width="588" id="table2">
<tr>
</tr>
</table>
<img src="include/designs/hcd/images/content.jpg"></td></tr>
<tr>
<td background="#" valign="top" width="4"> </td>
<td align="center" style="text-align:center;" valign="top" width="580"><b>»</b>{HMENU}<br>{EXPLODE}</td>
<td background="#" valign="top" width="4"> </td>
</tr>
<tr><td colspan="3"> </td>
</tr>
</table>
<!--Rechte Navi Anfang-->
<td width="179" valign="top" background="include/designs/hcd/images/bg.jpg">
{_list_menunr2@
<div class="head_navi Stil1">
<div align="center"><strong>%1</strong></div>
</div>
<div align="center"><span class="Stil2">%2} </span><strong>
</strong>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<!-----------Ende Content----------->
<table border="0" width="1000" cellpadding="0" cellspacing="0">
<tr><td>
<table border="0" width="1000" cellpadding="0" cellspacing="0" id="table3">
<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="include/designs/hcd/images/ende1.jpg" width="180" height="20" /></td>
<td><img src="include/designs/hcd/images/footer-1.jpg" width="485" height="20" /></td>
<td><a href="http://hardcore-dev.de"><img name="grafik01" onMouseOver="grafik01.src='include/designs/hcd/images/footer-2-mo.jpg'" onMouseOut="grafik01.src='include/designs/hcd/images/footer-2.jpg'" src="include/designs/hcd/images/footer-2.jpg" width="155" height="20" border="0" alt="" /></a></td>
<td><img src="include/designs/hcd/images/ende2.jpg" width="180" height="20" /></td>
</tr>
</table></td>
</tr>
</table>
</td></tr>
</table>
</div>
</body>
</html>
{_list_hmenupoint@<a target="%1" class="horz_menu" href="%2">%3</a>|||}
{_list_hmenubegi@}
{_list_hmenuende@}
{_list_vmenupoint@<a target="%1" class="leftbox-menupunkte" href="%2">%3</a>|||}
{_list_vmenubegi@}
{_list_vmenuende@}
<script language="JavaScript1.2">
var snowsrc="Schnee.gif"
var no = 30;
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp;
var am, stx, sty;
var i, doc_width = 900, doc_height = 2200;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0;
xp[i] = Math.random()*(doc_width-50);
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
if (ns4up) {
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"></a></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"></a></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"></div>");
}
}
}
function snowNS() {
for (i = 0; i < no; ++ i) {
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}
function snowIE() {
for (i = 0; i < no; ++ i) {
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
</script>
Konfigurationsdatei: (gibt es schon beim standartdesign dabei [im Designordner][alles andere vorher rauslöschen])
news = "index_news.htm"
sollte eig. schon gewesen sein
mfg