ilch Forum » Ilch Clan 1.1 » Fehlersuche und Probleme » Schriftfarbe in der Statistikbox

Geschlossen
  1. #1
    User Pic
    grezz86 Mitglied
    Registriert seit
    28.04.2007
    Beiträge
    102
    Beitragswertungen
    2 Beitragspunkte
    Hallo, ich würde gerne die Schriftfarbe in meiner Statistikbox ändern finde aber nicht die Zeile wo ich das machen muss.
    In der Style.css hab ich schon alles geändert, aber die Farbe bleibt immer schwarz. In der statistik.php find ich keinen Eintrag.
    Wo genau änder ich jetzt die Farbe o.O?

    statistik.php

    <?php 
    #   Copyright by Manuel Staechele
    #   Support www.ilch.de
    #
    #   Umgeschrieben von Ilch 1.0.5 auf 1.1
    #   Dazu gekommen sind Usercheck abfrage und User Map
    #   Mod Copyright by DaGiZm0 - www.teod-clan.de
    #
    #   Danke an jihi für seine geniale Usermap !
    
    
    defined ('main') or die ( 'no direct access' );
    
    
    if (empty($_GET['sum'])) {
      
    	$heute = date ('Y-m-d');
    	
      $ges_visits = db_result(db_query("SELECT SUM(count) FROM prefix_counter"),0);
    	$ges_heute  = @db_result(db_query("SELECT count FROM prefix_counter WHERE date = '".$heute."'"),0);
    	$ges_gestern = @db_result(db_query('SELECT count FROM prefix_counter WHERE date < "'.$heute.'" ORDER BY date DESC LIMIT 1'),0);
     	$gbook  = @db_result(db_query("SELECT count(ID) FROM prefix_gbook"),0);
    	$posts  = @db_result(db_query("SELECT count(ID) FROM prefix_posts"),0);
    	$topic  = @db_result(db_query("SELECT count(ID) FROM prefix_topics"),0);
    	$gesuser  = @db_result(db_query("SELECT count(ID) FROM prefix_user"),0);
    	$usrchk  = @db_result(db_query("SELECT count(name) FROM prefix_usercheck"),0);
    	$map  = @db_result(db_query("SELECT count(uid) FROM prefix_map"),0);
    	
        echo $lang['whole'].': '.$ges_visits.'<br />';
    	echo $lang['today'].': '.$ges_heute.'<br />';
    	echo $lang['yesterday'].': '.$ges_gestern.'<br />';
    	echo 'Gästebuch: '.$gbook.'<br />';
    	echo 'Forum Posts: '.$posts.'<br />';
    	echo 'Forum Threads: '.$topic.'<br />';	
    	echo 'Angemeldete User: '.$gesuser.'<br />';
    	echo 'Wait a Email User: '.$usrchk.'<br />';
    	echo 'User in Map: '.$map.'<br />';
    	echo 'Online: '.ges_online().'<br />';
    	echo '<a class="box" href="index.php?statistik"><b>... '.$lang['more'].'</b></a>';
    	
    } else {
    
    $title = $allgAr['title'].' :: Statistik';
    $hmenu = 'Statistik';
    $design = new design ( $title , $hmenu , 0 );
    $design->header();
    
    	$anzahlShownTage = 7;
    	
    	echo '<br /><table width=90%" align="center" class="border" cellpadding="0" cellspacing="1" border="0"><tr><td>';
      echo '<table width="100%" border="0" cellpadding="5" cellspacing="0">';
      echo '<tr class="Chead"><td colspan="3" align="center"><b>Site Statistik</b></td></tr>';
    	
    	$max_in = 0;
    	$ges = 0;
    	$dat = array();
    	$max_width = 200;
    	
    	$maxErg = db_query('SELECT MAX(count) FROM `prefix_counter`');
    	$max_in = db_result($maxErg,0);
    	
    	$erg = db_query ("SELECT count, DATE_FORMAT(date,'%a der %d. %b') as datum FROM `prefix_counter` ORDER BY date DESC LIMIT ".$anzahlShownTage);
    	while ($row = db_fetch_row($erg) ) {
    	
    	  $value = $row[0];
    
    		if ( empty($value) ) {
    		  $bwidth = 0;
    	  } else {
    		  $bwidth = $value/$max_in * $max_width;
    		  $bwidth = round($bwidth,0);
    		}  
    		
    		echo '<tr class="Cnorm">';
    	  echo '<td>'.$row[1].'</td>';
    		echo '<td><table width="'.$bwidth.'" border="0" cellpadding="0" cellspacing="0">';
    		echo '<tr><td height="2" class="border"></td></tr></table>';		
    		echo '</td><td align="right">'.$value.'</td></tr>';
    	  
    		$ges += $value;
    	}
    	
    	$gesBesucher = db_query('SELECT SUM(count) FROM prefix_counter');
    	$gesBesucher = @db_result($gesBesucher,0);
    	
    	echo '<tr class="Cmite"><td colspan="3"><div align="right">';
    	echo 'Wochen Summe: '.$ges.'</div>';
    	echo 'Besucher Gesamt '.$gesBesucher.' &nbsp; Maximal '.$max_in.'<br /><br />';
    	echo '</td></tr><tr class="Cdark">';
    	echo '<td colspan="3" align="center">[ <a href="javascript:window.close()">Fenster Schliesen</a> ]</td>';
    	echo '</tr></table></td></tr></table><br />';
    	
    	$design->footer();
    	
    }
    ?>
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Chainy Mitglied
    Registriert seit
    26.09.2008
    Beiträge
    1.202
    Beitragswertungen
    1 Beitragspunkte
    stellst du trotzdem bitte deine style on, normal is das doch da
    "...mich interessiert nicht warum sich die Leute an mich erinnern, Hauptsache sie tun es!
    ----------------------GeT HaRdCoRe----------------------
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    grezz86 Mitglied
    Registriert seit
    28.04.2007
    Beiträge
    102
    Beitragswertungen
    2 Beitragspunkte
    body {
    margin: 0 auto 0 auto;
    background-color: #1f1f1f;
    }
    
    #site {
    	margin: 0 auto 0 auto;
    	width:979px;
    	background-image:url(Bilder/background.png);
    	background-repeat:repeat-y;
    }
    
    #header {
    	background-image:url(Bilder/header.png);
    	width:979px;
    	height:170px;
    	float:left;
    }
    
    #content {
    	width:979px;
    	background-image:url(Bilder/background.png);
    	background-repeat:repeat-y;
    }
    
    #leftcol {
    	width:195px;
    	float:left;
    }
    
    #nav_head {
    	background-image:url(Bilder/nav_head.png);
    	width:195px;
    	height:30px;
    	float:left;
    }
    
    .navhead {
    	margin-top:5px;
    	margin-left:15px;
    }
    
    .button_bg {
    	background-image:url(Bilder/button_bg.png);
    	width:195px;
    	height:20px;
    	float:left;
    }
    
    #tsviewer_head {
    	background-image:url(Bilder/tsviewer_head.png);
    	width:195px;
    	height:26px;
    	float:left;
    }
    
    #tsviewer_bg {
    	background-image:url(Bilder/tsviewer_bg.png);
    	background-repeat:repeat;
    	width:195px;
    	float:left;
    }
    
    #midcol {
    	width:597px;
    	float:left;
    }
    
    #content_boxes {
    	width:597px;
    	height:124px;
    	float:left;
    }
    
    #lastnews_head {
    	background-image:url(Bilder/lastnews_head.png);
    	width:199px;
    	height:20px;
    	float:left;
    }
    
    #lastnews_bg {
    	background-image:url(Bilder/lastnews_bg.png);
    	width:199px;
    	height:104px;
    	float:left;
    }
    
    #lastwars_head {
    	background-image:url(Bilder/lastwars_head.png);
    	width:199px;
    	height:20px;
    	float:left;
    }
    
    #lastwars_bg {
    	background-image:url(Bilder/lastwars_bg.png);
    	width:199px;
    	height:104px;
    	float:left;
    }
    
    #lastforum_head {
    	background-image:url(Bilder/lastforum.png);
    	width:199px;
    	height:20px;
    	float:left;
    }
    
    #lastforum_bg {
    	background-image:url(Bilder/lastforum_bg.png);
    	width:199px;
    	height:104px;
    	float:left;
    }
    
    #hmenue {
    	background-image:url(Bilder/hmenue_bg.png);
    	width:597px;
    	height:33px;
    	float:left;
    }
    
    #content_bg {
    	background-image:url(Bilder/content_bg.png);
    	background-repeat:repeat;
    	width:597px;
    	float:left;
    	height:300px;
    	color:#000;
    }
    
    #rightcol {
    	width:187px;
    	float:left;
    }
    
    #login_head {
    	background-image:url(Bilder/login_head.png);
    	width:187px;
    	height:24px;
    	float:left;
    }
    
    #login_bg {
    	background-image:url(Bilder/login_bg.png);
    	width:187px;
    	background-repeat:repeat;
    	float:left;
    }
    
    #poll_head {
    	background-image:url(Bilder/poll_head.png);
    	width:187px;
    	height:15px;
    	float:left;
    }
    
    #poll_bg {
    	background-image:url(Bilder/poll_bg.png);
    	width:187px;
    	background-repeat:repeat;
    	float:left;
    }
    
    #online_head {
    	background-image:url(Bilder/online_head.png);
    	width:187px;
    	height:16px;
    	float:left;
    }
    
    #online_bg {
    	background-image:url(Bilder/online_bg.png);
    	width:187px;
    	background-repeat:repeat;
    	float:left;
    }
    
    #shoutbox_head {
    	background-image:url(Bilder/shoutbox_head.png);
    	width:187px;
    	height:16px;
    	float:left;
    }
    
    #shoutbox_bg {
    	background-image:url(Bilder/shoutbox_bg.png);
    	background-repeat:repeat;
    	width:187px;
    	background-repeat:repeat;
    	float:left;
    }
    
    #static_head {
    	background-image:url(Bilder/statics_head.png);
    	width:187px;
    	height:16px;
    	float:left;
    }
    
    #static_bg {
    	background-image:url(Bilder/statics_bg.png);
    	width:187px;
    	background-repeat:repeat;
    	float:left;
    }
    
    #nav2_head {
    	background-image:url(Bilder/nav2_head.png);
    	width:187px;
    	height:16px;
    	float:left;
    	color:#FFF;
    }
    
    #nav2_bg {
    	background-image:url(Bilder/nav2_bg.png);
    	background-repeat:repeat;
    	width:187px;
    	float:left;
    }
    
    #footer {
    	background-image:url(Bilder/footer.png);
    	width:979px;
    	height:37px;
    	float:left;
    }
    
    .com_menu ul{				padding: 				0px;
    							margin:					0px;
    							margin-bottom:			0px;
    							list-style-type:		none;	}
    
    .com_menu li{				margin: 				0px;
    							padding: 				0px;
    							margin-bottom:			0px;							
    							list-style-type:		none;} 
    
    .com_menu li ul	{			margin-bottom:			0px;
    							padding: 				0px;
    							margin: 				0px;}
    
    .com_menu li li	{			margin-bottom:			0px;
    							padding: 				0px;
    							margin: 				0px;
    							margin-top:				0px;}
    								
    .com_menu li a{				margin-bottom:			0px;			
    							display:				block;
    							margin:					0px;
    							padding-top:			0px;
    							width:					195px;
    							height:					20px;
    							color: 					#ffffff;
    							text-indent:			15px;
    							font-size: 				11px;
    							font-family:	 		Arial, Helvetica, sans-serif;
    							font-weight: 			bold;
    							text-decoration: 		none;
    							background-image:url(Bilder/button_bg.png);
    }
    								
    .com_menu li a:hover{		margin-bottom:			0px;			
    							display:				block;
    							margin:					0px;
    							padding-top:			0px;
    							width:					195px;
    							height:					20px;
    							color: 					#000000;
    							text-indent:			15px;
    							font-size: 				11px;
    							font-family:	 		Arial, Helvetica, sans-serif;
    							font-weight: 			bold;
    							text-decoration: 		none;
    							background-image:url(Bilder/button_bg.png);}
    								
    .com_menu li li a{			margin-bottom:			0px;			
    							display:				block;
    							margin:					0px;
    							padding-top:			0px;
    							width:					195px;
    							height:					20px;
    							color: 					#000000;
    							text-indent:			15px;
    							font-size: 				11px;
    							font-family:	 		Arial, Helvetica, sans-serif;
    							font-weight: 			bold;
    							text-decoration: 		none;
    							background-image:url(Bilder/button_bg.png);}
    								
    .com_menu li li a:hover{	margin-bottom:			0px;			
    							display:				block;
    							margin:					0px;
    							padding-top:			0px;
    							width:					195px;
    							height:					20px;
    							color: 					#000000;
    							text-indent:			15px;
    							font-size: 				11px;
    							font-family:	 		Arial, Helvetica, sans-serif;
    							font-weight: 			bold;
    							text-decoration: 		none;
    							background-image:url(Bilder/button_bg.png);}
    							
    td 
    {
      font-family: Verdana; 
      font-size: 12px;
      color: #929292;				// Textfarbe
    }
    
    hr 
    { 
        height: 0px; 
    		border: solid #006600 0px; 
    		border-top-width: 1px; 
    }
    
    a, #left_col .Cmite a, #left_col .Cnorm a, #left_col .Cdark a 
    {
      color: #c3c3c3;  				// Hyperlinks
    	font-family: Verdana; 
    	font-size: 10px; 
    	text-decoration: none; 
    }
    
    a:hover 
    {   
      text-decoration: none;  
    }
    
    a.box 
    { 
      color: #c3c3c3; 			 	// Hyperlinks bei login und menuepunkte
    	font-family: Tahoma; 
    	font-size: 13px; 
    	text-decoration: none; 
    }
    
    a.box:hover 
    {   
      text-decoration: none;  
    }
    
    .Chead
    {
      background: #DBDADA;			// Schrift zb bei forum und Kalender
      color: #0066cc;
    }
    
    .Chead td, .Chead td strong, .Chead h4, .Chead td b
    {
      background: #DBDADA;
      color: #0066cc;				// überschriften
    }
    
    .Callg
    {
      background-color: #EFEFEF;
    	color: #000000;
    }
    
    .Callg td
    {
      color: #000000;
    }
    
    .Cnorm 
    {
      background-color: #2a2a2a;
    }
    .Cmite
    {
      background-color: #2a2a2a;
    }
    .Cdark
    {
      background-color: #2a2a2a;
    }
    
    .rand
    {
      border: solid #c0c0c0 1px;
    }
    
    .smalfont 
    { 
        font-size: 10px;
    		text-decoration: none; 
    }
    
    .border 
    { 
       background-color: #2a2a2a; 
    }
    hr 
    { 
        height: 0px; 
    		border: solid #6B6B6B 0px; 
    		border-top-width: 1px; 
    }
    
    input, textarea, select
    { 
        color: #c0c0c0;  
        font: 10px Verdana;  
        border-color: #1D1D1D;		
      	border-width: 1px;
        border-style: solid;  
        font-weight: none;  
        text-decoration: none;  
        background-color: #EFEFEF;
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Siggi Hall Of Fame
    Registriert seit
    08.02.2007
    Beiträge
    6.558
    Beitragswertungen
    327 Beitragspunkte
    dann versuch bei woche summe nen extra class einzubauen
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    grezz86 Mitglied
    Registriert seit
    28.04.2007
    Beiträge
    102
    Beitragswertungen
    2 Beitragspunkte
    würd ich gerne machen, wenn ich eine Ahnung hätte wie das geht ^^

    Hast du vill. ein Tip für mich bzw. was muss ich da reinschreiben?
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    grezz86 Mitglied
    Registriert seit
    28.04.2007
    Beiträge
    102
    Beitragswertungen
    2 Beitragspunkte
    keiner mehr eine Idee sauer?
    0 Mitglieder finden den Beitrag gut.
  7. #7
    User Pic
    Domme_09 Mitglied
    Registriert seit
    08.07.2008
    Beiträge
    267
    Beitragswertungen
    0 Beitragspunkte
    gib hier <td colspan="3"> doch einfach ne class mit, die du in deiner style.css einstellst ?!
    www.bvbsupporters-ms.de
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Fehlersuche und Probleme

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten