ilch Forum » Ilch Clan 1.1 » Fehlersuche und Probleme » 4 last forum post anzeigen lassen ?

Geschlossen
  1. #1
    User Pic
    revo2005 Mitglied
    Registriert seit
    29.12.2009
    Beiträge
    23
    Beitragswertungen
    0 Beitragspunkte
    hallo ich habe ein problem und zwar wenn ihr bei uns auf die homepage geht oben links bei last forum post möchte ich nur 4 post anzeigen lassen wo ändere ich die in welcher datei?

    css datei

    @charset "iso-8859-1";
    
    /* 
    ### Stylesheet für SynerGi-Gaming ###
    ### Ertellungsdatum: 23.11.2006 ###
    */
    
    
    /*
    ------------------------------------------------------------------------------------------------------
    ###Allgemeine Einstellungen vornehmen###
    ------------------------------------------------------------------------------------------------------
    */
    
    
    /* kritischen Werte setzen */
    *
    {
      margin:0;
      padding:0;
      border-collapse:collapse;
      border-spacing:0;
      vertical-align:top;
    }
    
    /* html- und Body-Element formatieren */
    html,
    body
    {
      background-color:#333;
      font:11px Tahoma;
      color:#FFF;
    }
    
    /*Voreinstellungen für Bilder treffen*/
    img
    {
      border:0px;
    }
    
    /*Links formatieren*/
    a
    {
      color:#0091D4;
    }
    
    a:link
    {
      color:#0091D4;
    }
    
    a:focus
    {
      color:#0091D4;
    }
    
    a:active
    {
      color:#0091D4;
    }
    
    a:visited
    {
      color:#0091D4;
    }
    
    a:hover
    {
      color:#00AEFF;
    }
    
    /*Formularfelder*/
    option,
    textarea,
    input,
    select,
    file {  
      font-family: Verdana, Arial, Helvetica, sans-serif; 
      font-size: 10px; 
      color: #000000; 
      background-color: #FFFFFF; 
      border: 1px solid #333333;
    }
    
    /*Tabellen formatieren ()nur für den Contentbereich*/
    #content table
    {
      border-top:1px solid #000;
      border-left:1px solid #000;
    }
    
    #content tr
    {
      border-bottom:1px solid #000;
    }
    
    #content td
    {
      border-right:1px solid #000;
      padding:2px 5px 2px 5px;
    }
    
    /*
    ------------------------------------------------------------------------------------------------------
    ###Formatierung per IDs vornehmen###
    ------------------------------------------------------------------------------------------------------
    */
    
    /*Hauptcontainer*/
    #main
    {
      width:900px;
      margin:auto;
    }
    
    /*Header*/
    #header
    {
      height:200px;
      background-image:url(../images/header_bg.jpg);
    }
    
    /*Userbereich*/
    #login_area
    {
      height:20px;
      background-color:#000;
      padding:5px 0px 0px 20px;
    }
    
    /*Schnellinformationen (Boxen)*/
    #boxen
    {
      height:151px;
      background-image:url(../images/boxen_bg.gif);
    }
    
    /*last Forum*/
    #last_forum
    {
      position:absolute;
      margin:15px 0px 0px 20px;
      width:170px;
    }
    
    /*last Wars*/
    #last_wars
    {
      position:absolute;
      margin:21px 0px 0px 225px;
      width:170px;
    }
    
    /*next Wars*/
    #next_wars
    {
      position:absolute;
      margin:21px 0px 0px 460px;
      width:200px;
    }
    
    /*Sponsoren*/
    #sponsors
    {
      position:absolute;
      margin:26px 0px 0px 681px;
      width:200px;
    }
    
    /*Navigationen und Inhalt*/
    #main_content_area
    {
      min-height:450px;
      height:auto !important;
      height:450px;
      background-image:url(../images/main_bg.gif);
      overflow:hidden;
    }
    
    * html #main_content_area
    {
      overflow:visible;
    }
    
    /*Linke Navigation*/
    #left_side
    {
      width:181px;
      float:left;
      list-style-type:none;
    }
    
    /*Seitennavigation*/
    #navigation
    {
      list-style-type:none;
    }
    
    /*Rechte Navigation*/
    #right_side
    {
      width:181px;
      float:right;
      list-style-type:none;
    }
    
    /*Seiteninhalt*/
    #content
    {
      width:524px;
      margin:auto;
      padding:10px 0px 20px 0px;
    }
    
    /*Fußzeile*/
    #footer
    {
      height:21px;
      background-image:url(../images/footer_bg.gif);
      clear:both;
    }
    
    /*
    ------------------------------------------------------------------------------------------------------
    ###Klassen###
    ------------------------------------------------------------------------------------------------------
    */
    
    /*unsichtbar*/
    .invis
    {
      display:none;
    }
    
    /*Innenabstand*/
    .innenabstand
    {
      padding:5px;
    }
    
    /*
    ------------------------------------------------------------------------------------------------------
    ###Ilch Einstellungen##
    ------------------------------------------------------------------------------------------------------
    */
    
    .Chead
    {
      background: #16639b;
      color: #9dbdd4;
    }
    
    .Chead td, .Chead td strong, .Chead h4, .Chead td b
    {
      background: #16639b;
      color: #9dbdd4;
    }
    
    .Callg
    {
      background-color: #F8300F;
    	color: #000000;
    }
    
    .Callg td
    {
      color: #000589;
    }
    
    .Cnorm 
    {
      background-color: #404041;
    }
    .Cmite
    {
      background-color: #232424;
    }
    .Cdark
    {
      background-color: #202121;
    }
    
    .rand
    {
      border: solid #185685 1px;
    }
    
    .smalfont 
    { 
        font-size: 10px;
    		text-decoration: none; 
    }
    
    .border 
    { 
       background-color: #185685; 
    }


    danke im voraus

    betroffene Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    MVN050 Mitglied
    Registriert seit
    20.09.2008
    Beiträge
    1.273
    Beitragswertungen
    29 Beitragspunkte
    include/boxes/lastforum.php
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    revo2005 Mitglied
    Registriert seit
    29.12.2009
    Beiträge
    23
    Beitragswertungen
    0 Beitragspunkte
    und welcher befehl ?

    <?php 
    #   Copyright by Manuel Staechele
    #   Support www.ilch.de
    
    defined ('main') or die ( 'no direct access' );
    
    $query = "SELECT a.id, a.name, a.rep, c.erst as last, c.id as pid, c.time
    FROM prefix_topics a
      LEFT JOIN prefix_forums b ON b.id = a.fid
      LEFT JOIN prefix_posts c ON c.id = a.last_post_id
    WHERE (b.view >= ".$_SESSION['authright']." OR b.reply >= ".$_SESSION['authright']." OR b.start >= ".$_SESSION['authright'].")
    ORDER BY c.time DESC
    LIMIT 0,3";
    $resultID = db_query($query);
    while ($row = db_fetch_assoc($resultID)) {
    	$row['date'] = date('d.m-H:i',$row['time']);
    	$row['page'] = ceil ( ($row['rep']+1)  / $allgAr['Fpanz'] );
    	echo'<p style="background:#555;"><a href="?forum-showposts-'.$row['id'].'-p'.$row['page'].'#'.$row['pid'].'" style="font-weight:bold;">'.((strlen($row['name'])<12) ? $row['name'] : substr($row['name'],0,10).'..').'</a></strong></p>
    	<p style="padding-bottom:5px;border-bottom:1px dotted #FFF;">von <a href="?forum-showposts-'.$row['id'].'-p'.$row['page'].'#'.$row['pid'].'">'.$row['last'].'</a> am <em>'.$row['date'].'</em></p>';
    }
    ?>
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    revo2005 Mitglied
    Registriert seit
    29.12.2009
    Beiträge
    23
    Beitragswertungen
    0 Beitragspunkte
    Close das thema habs gefunden

    dank
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Fehlersuche und Probleme

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten