ilch Forum » Ilch Clan 1.1 » Module und Modifikationen » topmatch box im aussehen verzerrt

Geschlossen
  1. #1
    User Pic
    Schommie Mitglied
    Registriert seit
    13.06.2008
    Beiträge
    86
    Beitragswertungen
    1 Beitragspunkte
    hi leute! ich hab nen problem mit der topmatch box vom advancedwars modul

    und zwar stimmt da die formatierung und die position nicht.

    der coder des designs meint, es liegt an der box, ich glaube es liegt am design template.

    naja da ich mir nicht sicher bin, poste ich hier mal die teile des design codes und die topmatch.php, und einen screen, dass den fehler verbildlichen soll...

    gesperrtes Bild

    [ktext=index.htm][html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!--[ DZCP © by Frank "deV!L" Herrmann - www.dzcp.de & Patrick "Richy" Richert - www.my-starmedia.de]-->
    <html>
    <head>
    <title>{TITLE}</title>
    <meta http-equiv="title" content="{TITLE}" />
    <meta http-equiv="classification" content="General" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <link rel="stylesheet" type="text/css" href="include/designs/entrio/css/stylesheet.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="include/designs/entrio/css/design.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="include/designs/entrio/css/ilch.css" media="screen" />
    <link rel="stylesheet" href="include/designs/entrio/css/imageflow.css" type="text/css" />

    <script type="text/javascript" src="include/designs/entrio/js/slideshow.js"></script>
    <script language="javascript" type="text/javascript" src="include/designs/entrio/js/imageflow.js"></script>
    <script language="javascript" type="text/javascript" src="include/designs/entrio/js/switch.js"></script>
    </head>
    <body>
    <div align="center">
    <div id="wrapper">
    <div id="logincounterarea{_boxes_logged}">{_boxes_statistik_entrio}{_boxes_login_entrio}</div>
    <div id="header">
    <!--img src="include/designs/entrio/images/header.png" id="hfont" alt=""/-->
    </div>
    <div id="infocontent">
    <div id="slider1" class="sliderwrapper">{_boxes_slider_entrio}</div>
    <div id="paginate-slider1" class="pagination"></div>
    <script type="text/javascript"> featuredcontentslider.init({ id: "slider1", contentsource: ["inline", ""], toc: "#increment", nextprev: ["", "»"], revealtype: "click", enablefade: [true, 0.2], autorotate: [true, 3000], onChange: function(previndex, curindex){} })</script>
    <div id="navi">
    {_list_menunr1@
    <table width="950" cellspacing="0">
    <tr>
    %2
    </tr>
    </table>
    }
    </div>
    <div id="art">{_boxes_lastnews_entrio}</div>
    <div id="forum">{_boxes_lastforum_entrio}</div>
    <div id="kalender" align="center"><center>{_boxes_topmatch}</center></div>
    </div>
    <table width="1002" cellspacing="0" cellpadding="0">
    <tr>
    <td id="lefttable">
    <div id="search">{_boxes_search_entrio}</div>
    <div id="content">{HMENU}<br />{EXPLODE}</div>
    </td>
    <td id="righttable" rowspan="2">
    {_list_menunr2@
    <div id="boxhead">%1</div>
    <div class="rightbgfunction">%2</div>
    <div class="boxend"></div>
    }
    </td>
    </tr>
    <tr>
    <td id="adverttd"></td>
    </tr>
    </table>
    <div id="footer">
    <div id="community">
    <b>Über uns</b><br />
    <a href="../index.php?teams" target="_self" class="footerlink" title="Teams">- Teams</a><br />
    <a href="../index.php?user" target="_self" class="footerlink" title="Member">- Member</a><br />
    <a href="../index.php?wars" target="_self" class="footerlink" title="Clanwars">- Clanwars</a><br />
    <a href="../index.php?awards" target="_self" class="footerlink" title="Awards">- Awards</a><br />
    <a href="../index.php?forum" target="_self" class="footerlink" title="Forum">- Forum</a><br />
    </div>
    <div id="spielen">
    <b>Spielen</b><br />
    <a href="../index.php?news" target="_self" class="footerlink" title="Server">- Server</a><br />
    <a href="../index.php?news" target="_self" class="footerlink" title="Serverliste">- Serverliste</a><br />
    <a href="../index.php?news" target="_self" class="footerlink" title="Teamspeak">- Teamspeak</a><br />
    </div>
    <div id="support">
    <b>Hilfe und Support</b><br />
    <a href="../index.php?gallery" target="_self" class="footerlink" title="Galerie">- Galerie</a><br />
    <a href="../index.php?contact" target="_self" class="footerlink" title="Kontakt">- Kontakt</a><br />
    <a href="../index.php?joinus" target="_self" class="footerlink" title="JoinUs">- JoinUs</a><br />
    <a href="../index.php?statistik" target="_self" class="footerlink" title="Statistiken">- Statistiken</a><br />
    <a href="../index.php?impressum" target="_self" class="footerlink" title="Impressum">- Impressum</a><br />
    </div>
    <div id="partner">
    <b>Partner</b><br />
    <!--a href="http://www.intel.de" target="_blank"><img src="http://lordalper.de/demo/entrio/banner/partners/footer_intel.png" alt="http://www.intel.de" title="www.intel.de" /></a>--><!--a href="http://www.steelseries.com/de" target="_blank"><img src="http://lordalper.de/demo/entrio/banner/partners/footer_steelseries.png" alt="http://www.steelseries.com/de" title="www.steelseries.com/de"></a-->
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>

    {_list_hmenupoint@<td><a href="%2" target="%1" class="naviorange" title=%3">%3</a> &nbsp;</td>|||}
    {_list_hmenubegi@}
    {_list_hmenuende@}

    {_list_vmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br /><ul>|</ul></li>}
    {_list_vmenubegi@<ul>}
    {_list_vmenuende@</ul>}[/html]
    [/ktext]

    [ktext=design.css][css]/*---------------------------------------------
    Allgemeine Elemente - by eSport-Designs.de
    ---------------------------------------------*/

    #hfont {position:absolute;margin:10px 0px 0px 20px}

    a {outline:none}
    td {vertical-align:top}
    #preloader {display:none}
    #wrapper {width:1013px;text-align:left;}

    #logincounterarea {width:1013px;height:39px;background:url(../images/et_04.jpg);}
    #logincounterarealogged {width:1013px;height:39px;background:url(../images/et_04logged.jpg);}
    #header {background:url(../images/header.jpg);width:1013px;height:170px;}
    #infocontent {background:url(../images/et_10.jpg);width:1013px;height:197px;}
    #search {background:url(../images/et_11.jpg);width:769px;height:50px;}
    #lefttable {background:url(../images/et_23.gif);width:769px;}
    #righttable {background:url(../images/vote_14.jpg);width:233px;}
    #footeradvert {background:url(../images/advert.png);width:769px;height:108px;position:relative;cursor:pointer;margin-top:-107px;bottom:0px}
    #footeradvertpic {position:relative;margin: 20px 0 0 35px;width:727px;height:87px;}

    #partnerhead {background:url(../images/et_12.jpg);width:233px;height:31px;}
    #footer {background:url(../images/footer.jpg);width:1013px;height:139px;}


    #content {width:731px;margin: 0 5px 0 33px}


    /*---------------------------------------------
    RECHTE SEITE - by eSport-Designs.de
    ---------------------------------------------*/

    #boxhead {padding: 7px 0px 0px 15px; color: #FFF; background:url(../images/vote_12.jpg) no-repeat;width:218px;height:31px;}
    .rightbgfunction {padding: 5px 12px 8px 12px; background:url(../images/vote_14x.jpg);width:209px;}
    .boxend {background:url(../images/vote_19.jpg) no-repeat;width:233px;height:7px;}

    /*---------------------------------------------
    HEADER - by eSport-Designs.de
    ---------------------------------------------*/



    #sA,#sC,#sE {position:absolute;margin:60px 0px 0px 500px;display:block;height:74px;width:40px;background:url(../images/goleft.png);z-index:9999}
    #sB,#sD,#sF {position:absolute;margin:60px 0px 0px 960px;display:block;height:74px;width:40px;background:url(../images/goright.png);z-index:9999}
    #sD,#sC,#sF,#sE {display:none}

    #sbox2,#sbox3 {display:none;}
    #sbox1,#sbox2,#sbox3,#sbox4 {position:absolute}
    #sbox2 {background:url(../images/warbg.png) no-repeat;width:366px;height:140px;margin: 20px 0px 0px 560px;padding:8px 0 0 20px}
    #sbox3 {background:url(../images/tmbg.png) no-repeat;width:386px;height:148px;margin: 20px 0px 0px 560px;}

    #sbox3 img {position:absolute;margin:20px 0px 0px 20px;padding:2px;border: 1px solid #cccccc}
    #sbox3 div#s {position:absolute;margin:20px 0px 0px 144px;color:#fff;font-size:12px;}
    #sbox3 div#s div {text-align:justify;width:220px;margin-top:6px;}
    a#wmore {width:79px;height:22px;background:url(../images/wmore.png);display:block;position:absolute;margin:110px 0px 0px 290px}


    /*---------------------------------------------
    CONTENT - by eSport-Designs.de
    ---------------------------------------------*/


    #adverttd {height:108px;background:url(../images/et_23.gif)}



    /*---------------------------------------------
    INFOCONTENT - by eSport-Designs.de
    ---------------------------------------------*/







    #forum {position:absolute;margin: 70px 0 0 570px}
    #forum img {margin-top:8px;}
    a.ftopics:link,a.ftopics:visited {color: #FFFFFF;font-weight: normal;font-size:11px;display:block;padding:9px 0 10px 0;width:180px;text-shadow: 1px 1px #252525}
    a.ftopics:hover,a.ftopics:active {color: #dc5123;}
    span.fdate {position:absolute;margin:0px 0 0 134px;color:#c3c3c3;font-size:8px;}
    #kalender {
    position:absolute;
    width:220px;
    vertical-align: middle;
    text-shadow: 1px 1px #252525;
    text-align: center;
    color:#e1e1e1;
    margin-top: 70px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 788px;
    }

    /*---------------------------------------------
    FOOTER - by eSport-Designs.de
    ---------------------------------------------*/

    #community {position:absolute;margin:20px 0px 0px 50px;}
    #spielen {position:absolute;margin:20px 0px 0px 200px;}
    #support {position:absolute;margin:20px 0px 0px 350px;}
    #partner {position:absolute;margin:20px 0px 0px 540px;}

    #community b,
    #spielen b,
    #partner b,
    #support b {color:#FFF;font-size:13px;}

    a.footerlink {color:#e1e1e1;line-height:17px}
    a.footerlink:hover {color:#a0a0a0;}









    /*---------------------------------------------
    LOGIN COUNTER SEARCHBOX - by eSport-Designs.de
    ---------------------------------------------*/

    input.luser {width:104px;height:14px;position:absolute;margin:12px 0 0 58px;padding:0px;border:0px;color:#cccccc;background:transparent}
    input.lpwd {width:104px;height:14px;position:absolute;margin:12px 0 0 194px;padding:0px;border:0px;color:#cccccc;background:transparent}
    input.go {width:26px;height:24px;position:absolute;margin:8px 0 0 308px;padding:0px;border:0px;color:#cccccc;background:transparent;cursor:pointer}
    a#signup {width:47px;height:13px;position:absolute;margin:13px 0 0 350px;color:#FFFFFF;display:block;font-weight:normal;text-align:center;border-bottom:1px solid #1f669e}
    a#lostpw {width:84px;height:13px;position:absolute;margin:13px 0 0 414px;color:#FFFFFF;display:block;font-weight:normal;text-align:center;border-bottom:1px solid #1f669e}


    div#counter {position:absolute;margin:15px 0px 0px 718px;color:white;width:280px;text-align:left;}
    div#counter a {position:absolute;margin:-3px 0px 0px -25px;width:30px;height:20px;display:block;}



    #searchpanel {width:162px;height:14px;position:absolute;margin:18px 0 0 570px;padding:0px;border:0px;color:#656565;background:transparent}
    input.searchSubmit {width:14px;height:14px;position:absolute;margin:18px 0 0 740px;padding:0px;border:0px;;background:transparent;cursor:pointer}





    #art {position:absolute;margin: 77px 0 0 370px}
    .lheight {height:40px;cursor:pointer}
    .lInhalt {width:186px;}
    .aTitel {position:absolute;margin:6px 0 0 20px;color:#FFF}
    .aDate {position:absolute;margin:20px 0 0 20px;color:#909090}



    a.wtopics:link,a.wtopics:visited {color: #FFFFFF;font-weight: bold;font-size:11px;display:block;padding:8px 0 12px 0;width:330px;text-shadow: 1px 1px #252525;}
    a.wtopics:hover,a.wtopics:active {color: #dc5123;}
    span.wdate {position:absolute;margin:0px 0 0 244px;color:#c3c3c3;text-align:right;width:80px}
    .wico {margin:7px 0px 0px 0px;}
    .wdate img {margin:-2px 0px 0px 0px;}





    input.voteSubmiteD {width:78px;height:23px;padding:0px;border:0px;background:url(../images/votebutton.jpg) no-repeat;cursor:pointer}
    input.voteSubmiteD:hover {background:url(../images/votebutton2.jpg) no-repeat;}

    #navi {position:absolute;margin: 11px 0 0 43px}
    a.naviorange {background:url(../images/nav1.png) no-repeat;width:81px;height:22px;display:block;color:white;text-align:center;line-height:21px}
    a.naviorange:hover {background:url(../images/nac2.png) no-repeat;color:white}



    /*---------------------------------------------
    NEWS - by eSport-Designs.de
    ---------------------------------------------*/

    img.newspic {width:337px;height:70px;margin: -5px 0px 13px 11px;}
    p.newsTitel {font-size:12px;font-weight:bold;color:#07285d;padding: 12px 0 0 15px;}
    p.subTitel {font-size:9px;font-weight:normal;color:#bdbdbd;padding: 0px 0 0 15px;}
    p.subTitel a {font-size:9px;font-weight:normal;color:#bdbdbd;padding:0px;}
    p.subTitel img {display:none}



    div.news1,
    div.news2 {
    position: relative;
    width: 357px; height: 277px;
    background:url(../images/et_16.jpg) no-repeat;
    text-align: left;
    }

    div.news1 {margin-left:370px;margin-top:-277px;}
    div.news2 {margin-left:0px;margin-top:0px;}


    div.news1 div.newsc,
    div.news2 div.newsc {position: absolute;height: 166px;overflow: hidden;}
    .newsContent p {text-align:justify;color:#727272;padding:0px;}
    a.readall {position:absolute;right:15px;top:229px;display:block;width:77px;height:23px;}
    a.readall:hover {background:url(../images/readmore.jpg);}
    td.newsText {padding:0 10px 0 12px;text-align:justify;color:#727272;line-height:140%;}
    td.newsText p {line-height:140%;}



    td.forumHead {
    height: 26px;
    padding: 9px;
    color: #FFF;
    vertical-align: middle;
    background:url(../images/forum.jpg);
    text-align: left;
    }




    .sliderwrapper {
    overflow: hidden;
    width: 338px;
    height: 149px;
    position:absolute;
    margin: 48px 0px 0px 30px;
    }



    .sliderwrapper .contentdiv {
    width: 100%;
    height: 100%;
    filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    }


    .sliderwrapper .contentdiv {
    z-index: 1;
    }

    .pagination {
    width: 140px;
    text-align: right;
    margin: 54px 0 0 420px;
    z-index: 100;
    position:absolute;
    }

    /* IE HACK */
    *+ html .pagination {
    width: 255px;
    }

    .pagination a {
    text-decoration: none;
    color: #FFFFFF;
    background-color: #373737;
    display:block;
    width:20px;
    height:15px;
    text-align:center;
    line-height:14px;
    float:left;
    margin:0 2px 0 0;
    text-shadow: 1px 1px #000
    }

    .pagination a:hover, .pagination a.selected {
    background-color: #5b5b5b;
    }
    [/css][/ktext]

    [ktext=topmatch.php][php]<?php
    # Copyright by: Tobias Schwarz
    # Support www.ilch.de


    defined ('main') or die ( 'no direct access' );

    echo '<table width="100%" border="0" cellpadding="2" cellspacing="0">';
    $akttime = date('Y-m-d');
    $erg = @db_query("SELECT DATE_FORMAT(datime,'&nbsp; %d.%m.%y - %H:%i Uhr') as time,oid, id, game, status, tid, owp, opp, wlp FROM prefix_wars WHERE topmatch = 1 ORDER BY datime LIMIT 5");
    if ( @db_num_rows($erg) == 0 ) {
    echo '<tr><td>kein Topmatch gesetzt</td></tr>';
    } else {
    while ($row = @db_fetch_object($erg) ) {

    if($row->status == 2) {
    $war = "next";
    } else {
    $war = "last";
    }

    if($row->wlp == 1) {
    $color = "green";
    }elseif ($row->wlp == 2) {
    $color = "red";
    } else {
    $color = "black";
    }

    $row->gegner = '<img width="50" height="50" src="'.get_opponent_details('logo', $row->oid).'" alt="'.get_opponent_details('name', $row->oid).'" />';
    $row->team = '<img width="50" height="50" src="'.get_team_details('logo', $row->tid).'" alt="'.get_team_details('name', $row->tid).'" />';

    echo '<tr>
    <td>'.$row->team.'</td>
    <td style="vertical-align:middle;font-size:14px;"><b>VS</b></td>
    <td>'.$row->gegner.'</td>
    </tr>';
    if($war == "last") {
    echo '<tr>
    <td colspan="3" align="center" style="color: '.$color.'">'.$row->owp.':'.$row->opp.'</td>
    </tr>';
    }
    echo '<tr>
    <td colspan="3" style="font-size:10px;"><b>'.$row->time.'</b></td>
    </tr>
    <tr>
    <td align="center" colspan="3"><a href="index.php?wars-'.$war.'-'.$row->id.'" style="font-size: 10px;">MATCHANSICHT</a></td>
    </tr>';
    }
    }
    echo '</table>';
    ?>[/php][/ktext]

    betroffene Homepage: test.schommie.de
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    dastiii Mitglied
    Registriert seit
    27.12.2005
    Beiträge
    2.354
    Beitragswertungen
    84 Beitragspunkte
    <td>'.$row->team.'</td>


    zu

    <td style="text-align: center;">'.$row->team.'</td>


    <td style="vertical-align:middle;font-size:14px;"><b>VS</b></td>


    zu

    <td style="text-align: center; vertical-align:middle;font-size:14px;"><b>VS</b></td>



    <td>'.$row->gegner.'</td>


    zu

    <td style="text-align: center;">'.$row->gegner.'</td>


    <td colspan="3" style="font-size:10px;"><b>'.$row->time.'</b></td>


    zu

    <td colspan="3" style="font-size:10px; text-align: center;"><b>'.$row->time.'</b></td>



    Das war glaub ich dann alles
    1 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Schommie Mitglied
    Registriert seit
    13.06.2008
    Beiträge
    86
    Beitragswertungen
    1 Beitragspunkte
    mist, also doch die box^^

    danke dir DaStIaC, werds nachdem ich einkaufen war, direkt mal testen.
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Module und Modifikationen

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten