in meine Seite einfügen alles kein problem.
Nur ich möchte nicht die vorhandene Showpost.html überschreiben.
Wer kann mir bitte die alte Showpost.html so beschreiben das ich die weiterhin benutzen kann, sodass der Distanzierung Klapptext
mit drinne ist? Meine Methoden waren immer einfach alles überschreiben bis es zu fehlern mal kommt.
Showpost.html was ich behalten möchte
<span style="font-weight: bold; font-size: 22px; font-family: Verdana, Arial, Helvetica, sans-serif;">{TOPICNAME}</span><br /> {SITELINK} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="27%"><br /> {NEWTH}{ANTWORTEN} <br /></td> <td width="73%" align="left" valign="bottom"><strong>{HMENU}</strong></td> </tr> </table> <hr /> <br /> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="border"> <tr class="Chead" > <th height="30"><b>Author</b> <th height="30">Nachricht </tr> {EXPLODE} <tr class="{class}"> <td width="20%" valign="top"><a href="index.php?user-details-{erstid}"><strong>{erst}</strong></a> {land}<br /> <font class="smalfont">{rang}{posts}{avatar}{details}</font></td> <td width="80%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="middle"><span class="smalfont" style="float: left; width:50%;"><a class="smallfont" href="index.php?forum-showposts-{TID}#{id}" title="{i}. Post in diesem Thema">#</a> {date} </span></td> <td width="50%" align="right" valign="middle"> <a href="index.php?forum-inform-p{id}">melden</a> {delete} {change} <a href="index.php?forum-newpost-{TID}-z{id}">{_lang_quote}</a></td> </tr> </table> <hr align="left" /> <br /> <div style="font-size:12px">{txt}</div> {sig} </td> </tr> <tr class="{class}"> <td>{online}</td> <td><font class="smalfont">{pm} {email} {www} {icq}</font></td> </tr> <tr> <td colspan="2" class="Cmite" height="2"></td> </tr> {EXPLODE} </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%">{NEWTH}{ANTWORTEN}</td> <td width="50%" align="left"><strong>{HMENU}</strong></td> <td width="24%" align="right">{SITELINK}</td> </tr> </table> <br /> {EXPLODE} <br /> <strong><br /> {_lang_administrattopic}</strong><br /> <a href="javascript:renametopic()">{_lang_rename}</a> , <a href="index.php?forum-edittopic-{tid}-2">{_lang_delete}</a> , <a href="index.php?forum-edittopic-{tid}-3">{_lang_shift}</a> , <a href="index.php?forum-edittopic-{tid}-4-2">{status}</a> , <a href="index.php?forum-edittopic-{tid}-5">{festnorm}</a> <script language="JavaScript" type="text/javascript"> <!-- function renametopic () { var x = prompt ( "Bitte den neuen Namen vom Thema eintragen" , "" ); if ( x ) { document.location.href="index.php?forum-edittopic-{tid}-1=0&newTopic="+x; } } //--> </script>
Showpost.html wo der Distanzierung Klapptext drin ist
<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="60%">{SITELINK}</td> <td width="40%" align="right">{ANTWORTEN}</td> </tr> </table> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="border"> <tr class="Chead"> <th colspan="2" height="30"><b>{TOPICNAME}</b></td> </tr> {EXPLODE} <tr class="{class}"> <td width="20%" valign="top"><a name="{id}"></a>{erst}<br /><font class="smalfont">{rang}{avatar}{posts}</font></td> <td width="80%" valign="top"> <div style="float: left; width:50%;" class="smalfont"><a class="smallfont" href="index.php?forum-showposts-{TID}#{id}" title="{i}. Post in diesem Thema">#</a> {date}</div> <div style="float: right; width: 50%; text-align:right;">{delete} {change} <a href="index.php?forum-newpost-{TID}-z{id}">{_lang_quote}</a></div> <br /> <hr /> <br /> {txt} {sig} <hr /> <script type="text/javascript"> var open = 1; function dist_switch_{id}() { if(open == 0) { dist_close_{id}(); } else { dist_open_{id}(); } } function dist_open_{id}() { var plusid = 'plus' + '_{id}'; var hwid = 'hw' + '_{id}'; document.getElementById(plusid).style.height='0px'; document.getElementById(hwid).style.height='50px'; open = 0; } function dist_close_{id}() { var plusid = 'plus' + '_{id}'; var hwid = 'hw' + '_{id}'; document.getElementById(plusid).style.height='9px'; document.getElementById(hwid).style.height='0px'; open = 1; } </script> <fieldset onclick="dist_switch_{id}()" style="height: auto; border: 0px none; cursor: pointer;"> <img id="plus_{id}" src="include/images/icons/plus.gif" /> <small>Distanzierung</small> <div style="overflow: hidden; height: 0px;" id="hw_{id}"> <img id="plus_{id}" src="include/images/icons/minus.gif" /> Der Betreiber und die Moderatoren dieses Forums distanzieren sich hiermit Ausdrücklich von dem von <a href="index.php?user-details-{id}">{erst}</a> am {date} Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um eine <a href="index.php?contact">Benachrichtigung</a> </div> </fieldset> </td> </tr> <tr> <td colspan="2" class="Cdark" height="10"></td> </tr> {EXPLODE} </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="60%">{SITELINK}</td> <td width="40%" align="right">{ANTWORTEN}</td> </tr> </table> {EXPLODE} <br /> <strong>{_lang_administrattopic}</strong><br /> <a href="javascript:renametopic()">{_lang_rename}</a> , <a href="index.php?forum-edittopic-{tid}-2">{_lang_delete}</a> , <a href="index.php?forum-edittopic-{tid}-3">{_lang_shift}</a> , <a href="index.php?forum-edittopic-{tid}-4-2">{status}</a> , <a href="index.php?forum-edittopic-{tid}-5">{festnorm}</a> <script language="JavaScript" type="text/javascript"> <!-- function renametopic () { var x = prompt ( "Bitte den neuen Namen vom Thema eintragen" , "" ); if ( x ) { document.location.href="index.php?forum-edittopic-{tid}-1=0&newTopic="+x; } } //--> </script>