Smarty
<div ID="News">
{if TOP5_ACTIVE && $top5userStatus == 1}
<script type="text/javascript" src="{@RELATIVE_WBB_DIR}js/Tooltip.class.js"></script>
<script type="text/javascript" src="{@RELATIVE_WBB_DIR}js/Previewbox.class.js"></script>
<div id="topxbox">
<table id="topxtable">
<tr class="topxhead">
<td class="topxthreadtitle">
{lang}wbb.box.subject{/lang}
</td>
<td class="topxlastposter">
{lang}wbb.box.author{/lang}
</td>
<td class="topxlastposttime">
{lang}wbb.box.date{/lang}
</td>
</tr>
{if $top5threads|count == 0}
<tr>
<td colspan="3">
<p>{lang}wbb.top5.noposts{/lang}</p>
</td>
</tr>
{else}
{assign var="startIndex" value=1}
{foreach from=$top5threads item=thread}
<tr>
<td class="topxthreadtitle" {if $thread->isNew() && TOP5_MARKNEW}style="font-weight: bold;"{/if}>
<a id="threadLink0{$startIndex}{@$thread->threadID}" href="index.php?page=Thread&threadID={@$thread->threadID}&action=firstNew{@SID_ARG_2ND}">
{if $thread->isNew() && TOP5_MARKNEW}
<img src="{@RELATIVE_WCF_DIR}icon/signatureS.png" alt="" />
{else}
<img src="icon/goToLastPostS.png" alt="" />
{/if}
{if $thread->prefix}{lang}{$thread->prefix}{/lang} {/if}
<span>
{if TOP5_THREADCUT_ACTIVE}
{$thread->topic|truncate:TOP5_THREADCUT_ITEMS:"..."}
{else}
{$thread->topic}
{/if}
</span>
</a>
</td>
<td class="topxlastposter">
{if $thread->lastPosterID != 0}
<a href="index.php?page=User&userID={@$thread->lastPosterID}{@SID_ARG_2ND}">
<span>{$thread->lastPoster}</span>
</a>
{else}
<span>{$thread->lastPoster}</span>
{/if}
</td>
<td class="topxlastposttime">
{@$thread->lastPostTime|shorttime}
</td>
</tr>
{assign var="startIndex" value=$startIndex + 1}
{/foreach}
{/if}
</table>
<script type="text/javascript">
//<![CDATA[
initList('top5', {@$top5status});
//]]>
</script>
</div>
<div id="previewbox">
<script>
/***********************************************
* Featured Content Slider- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<a href="{BOX1_LINK}" onmouseover="Tip ('<strong><u>{BOX1_TITLE}</u></strong><br /><p><br>{BOX1_TEXT}<strong><br><br>Click to read more!</strong><br</p>')" onmouseout="UnTip()">
<img src="{IMAGE_PATH}{BOX1_IMAGE}" id="image1" alt="Preview1" />
</div>
<div class="contentdiv">
<a href="{BOX2_LINK}" onmouseover="Tip ('<strong><u>{BOX2_TITLE}</u></strong><br /><p><br>{BOX2_TEXT}<strong><br><br>Click to read more!</strong><br</p>')" onmouseout="UnTip()">
<img src="{IMAGE_PATH}{BOX2_IMAGE}" id="image2" alt="Preview2" />
</div>
<div class="contentdiv">
<a href="{BOX3_LINK}" onmouseover="Tip ('<strong><u>{BOX3_TITLE}</u></strong><br /><p><br>{BOX3_TEXT}<strong><br><br>Click to read more!</strong><br</p>')" onmouseout="UnTip()">
<img src="{IMAGE_PATH}{BOX3_IMAGE}" id="image3" alt="Preview31" />
</div>
<div class="contentdiv">
<a href="{BOX4_LINK}" onmouseover="Tip ('<strong><u>{BOX4_TITLE}</u></strong><br /><p><br>{BOX4_TEXT}<strong><br><br>Click to read more!</strong><br</p>')" onmouseout="UnTip()">
<img src="{IMAGE_PATH}{BOX4_IMAGE}" id="image4" alt="Preview4" />
</div>
<div class="contentdiv">
<a href="{BOX5_LINK}" onmouseover="Tip ('<strong><u>{BOX5_TITLE}</u></strong><br /><p><br>{BOX5_TEXT}<strong><br><br>Click to read more!</strong><br</p>')" onmouseout="UnTip()">
<img src="{IMAGE_PATH}{BOX5_IMAGE}" id="image5" alt="Preview5" />
</div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Prev.", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
</div>
{/if}
Display More
So habe ich das LatestPost Addon angepasst und schon hat es mir den Footer zerschossen...
Hat jemand ne Idee woran das liegen könnte?
Das ganze ist ziemlich profisorisch gecodet, also können ne Menge Cod-Fehler drin sein
der Footer:
sore-crew.de