MyBB.de Forum

Normale Version: Grüner Balken und untere Forum Ico
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2
Auch hier bleibt alles beim alten. Hier meine original forumdisplay_threadlist. Vieleicht findest du in meinem forumdisplay_threadlist ein fehler.

PHP-Code:
<div class="float_left" style="padding-bottom: 4px;">
    {
$newthread}
</
div>
{
$multipage}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both;" >
    <
tr>
        <
td class="thead" colspan="{$colspan}">
            <
div style="float: right;">
                <
span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action=addsubscription&amp;type=forum&amp;fid={$fid}">{$lang->subscribe_forum}</a>{$clearstoredpass}</strong></span>
            </
div>
            <
div>
                <
strong>{$foruminfo['name']}</strong>
            </
div>
        </
td>
    </
tr>
    <
tr>
        <
td class="tcat" align="center" colspan="2">&nbsp;</td>
        <
td class="tcat" align="center" width="40%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong></span></td>
        <
td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {
$ratingcol}
        <
td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {
$inlinemodcol}
    </
tr>
    {
$announcementlist}
    {
$threads}
    <
tr>
        <
td class="tfoot" align="right" colspan="{$colspan}">
        <
form action="forumdisplay.php" method="get">
            <
input type="hidden" name="fid" value="{$fid}/>
            <
select name="sortby">
                <
option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                <
option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                <
option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                <
option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                {
$ratingsort}
                <
option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                <
option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
            </
select>
            <
select name="order">
                <
option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                <
option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
            </
select>
            <
select name="datecut">
                <
option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                <
option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                <
option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                <
option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                <
option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                <
option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                <
option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                <
option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                <
option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
            </
select>
            {
$gobutton}
        </
form>
        </
td>
    </
tr>
</
table>
<
div class="float_left" style="padding-top: 4px; padding-bottom:4px;">
    {
$newthread}
</
div>
{
$multipage}
<
br style="clear: both;" />
{
$inlinemod}

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both;" >
    <
tr>
        <
td class="trow1">
            <
table width="100%" border="0">
                <
tr>
                    <
td>
                        <
table width="5%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
                            <
tr>
                                <
td>
                                <
img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->new_thread}</span><br />
                                <
img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->new_hot_thread}</span><br />
                                <
img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}/>&nbsp;&nbsp;<span class="smalltext">{$lang->posts_by_you}</span>
                                </
td>
                                <
td>
                                    <
img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->no_new_thread}</span><br />
                                    <
img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->hot_thread}</span><br />
                                    <
img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->locked_thread}</span>
                                </
td>
                            </
tr>
                        </
table>
                    </
td>
                    <
td align="right">
                        {
$searchforum}<br /><br />
                        {
$forumjump}
                    </
td>
                </
tr>
            </
table>
        </
td>
    </
tr>
</
table>
{
$inline_edit_js
Also diesmal ist eigentlich alles richtig. Bist du ganz sicher, alles richtig geändert zu haben?
Ich denke schon das ist der php Code der ich geändert habe.

PHP-Code:
<div class="float_left" style="padding-bottom: 4px;">
    {$newthread}
</
div>
{
$multipage}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both;" >
    <tr>
        <td class="thead" colspan="{$colspan}">
            <div style="float: right;">
                <span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action=addsubscription&amp;type=forum&amp;fid={$fid}">{$lang->subscribe_forum}</a>{$clearstoredpass}</strong></span>
            </div>
            <div>
                <strong>{$foruminfo['name']}</strong>
            </div>
        </td>
    </tr>
    <tr>
        <td class="tcat" align="center" colspan="2">&nbsp;</td>
        <td class="tcat" align="center" width="40%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong></span></td>
        <td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {$ratingcol}
        <td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {$inlinemodcol}
    </tr>
    {$announcementlist}
    {$threads}
    <tr>
        <td class="tfoot" align="right" colspan="{$colspan}">
        <form action="forumdisplay.php" method="get">
            <input type="hidden" name="fid" value="{$fid}/>
            <select name="sortby">
                <option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                <option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                <option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                <option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                {$ratingsort}
                <option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                <option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
            </select>
            <select name="order">
                <option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                <option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
            </select>
            <select name="datecut">
                <option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                <option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                <option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                <option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                <option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                <option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                <option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                <option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                <option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
            </select>
            {$gobutton}
        </form>
        </td>
    </tr>
</
table>
<
div class="float_left" style="padding-top: 4px; padding-bottom:4px;">
    {$newthread}
</
div>
{
$multipage}
<
br style="clear: both;" />
{
$inlinemod}

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both;" >
    <tr>
        <td class="trow1">
            <table width="100%" border="0">
                <tr>
                    <td>
                        <table width="5%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
                            <tr>
                                <td>
                                <img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->new_thread}</span><br />
                                <img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->new_hot_thread}</span>
                                </td>
                                <td>
                                <img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}/>&nbsp;&nbsp;<span class="smalltext">{$lang->posts_by_you}</span><br />                                    <img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->no_new_thread}</span>
                                </td>        
                                
<td>
                                    <img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->hot_thread}</span><br />
                                    <img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}/>&nbsp;&nbsp;<span class="smalltext">{$lang->locked_thread}</span>                            </td>
                            </tr>
                        </table>
</
td>
                    <td align="right">
                        {$searchforum}<br /><br />
                        {$forumjump}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</
table>
{
$inline_edit_js
Dann stehe ich irgendwie aufm Schlauch... Muss sich jemand anders angucken...
So Mak
Jetzt läufts auf einmal, habe es nochmals ausbrobiert habe warscheindlich was falsch gemacht.

aber sieht irgendwie nach nicht so toll aus.
Hast du evt. noch eine idee um das ganze schöner zu  gestallten.

kannst es mal anschauen unter:
http://www.pc-tips.ch/forumdisplay.php?fid=33
Ersetze
Code:
<table width="5%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
durch
Code:
<table width="100%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
Hallo Michael
Wenn ich <table width="100%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
hinzufüge stimmt gar nichts mehr.

Schaue mal unter:
http://www.pc-tips.ch/forumdisplay.php?fid=33
Ersetze den Inhalt des Templates forumdisplay_threadlist bitte durch diesen:
Code:
<div class="float_left" style="padding-bottom: 4px;">
    {$newthread}
</div>
{$multipage}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
    <tr>
        <td class="thead" colspan="{$colspan}">
            <div style="float: right;">
                <span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action=addsubscription&amp;type=forum&amp;fid={$fid}">{$lang->subscribe_forum}</a>{$clearstoredpass}</strong></span>
            </div>
            <div>
                <strong>{$foruminfo['name']}</strong>
            </div>
        </td>
    </tr>
    <tr>
        <td class="tcat" align="center" colspan="2">&nbsp;</td>
        <td class="tcat" align="center" width="40%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong></span></td>
        <td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {$ratingcol}
        <td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {$inlinemodcol}
    </tr>
    {$announcementlist}
    {$threads}
    <tr>
        <td class="tfoot" align="right" colspan="{$colspan}">
        <form action="forumdisplay.php" method="get">
            <input type="hidden" name="fid" value="{$fid}" />
            <select name="sortby">
                <option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                <option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                <option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                <option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                {$ratingsort}
                <option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                <option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
            </select>
            <select name="order">
                <option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                <option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
            </select>
            <select name="datecut">
                <option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                <option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                <option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                <option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                <option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                <option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                <option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                <option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                <option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
            </select>
            {$gobutton}
        </form>
        </td>
    </tr>
</table>
<div class="float_left" style="padding-top: 4px; padding-bottom:4px;">
    {$newthread}
</div>
{$multipage}
<br style="clear: both;" />
{$inlinemod}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
    <tr>
        <td class="trow1">
            <table width="100%" border="0">
                <tr>
                    <td>
                        <table width="100%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
                            <tr>
                                <td>
                                <img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->new_thread}</span><br />
                                <img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->new_hot_thread}</span><br />
                                <img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" />&nbsp;&nbsp;<span class="smalltext">{$lang->posts_by_you}</span>
                                </td>
                                <td>
                                    <img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->no_new_thread}</span><br />
                                    <img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->hot_thread}</span><br />
                                    <img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->locked_thread}</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td align="right">
                        {$searchforum}<br /><br />
                        {$forumjump}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$inline_edit_js}
Danke Michael hat auf anhieb geklappt.
Seiten: 1 2