kann mir jemand helfen die Statistikbox zu ändern?
im moment sieht es so aus

und wenn es fertig ist soll es so aussehen

also der online ist: text müsste weg
und wie kann ich den Besucher Gesamt: text im php formatieren?
also unterstreichen?
ich hänge mal die Statistik.php mit dran
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | <style type= "text/css" > .textformatierung{ text-align: center; font-weight: bold; text-decoration: underline; } </style> <table align= "center" border= "0" cellpadding= "0" cellspacing= "0" > <?php echo $content ; ?> </table> <?php 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); echo 'Heute: ' . $ges_heute . '<br />' ; echo 'Gestern: ' . $ges_gestern . '<br />' ; echo 'Gbook einträge: ' . $gbook . '<br />' ; echo 'Forum Posts: ' . $posts . '<br />' ; echo 'Forum Threads: ' . $topic . '<br /><br />' ; echo 'Besucher Gesamt: ' . $ges_visits . '<br />' ; { $gesOnBesucher = ges_online(); if ( $gesOnBesucher > 1 ) { $MOI = 'sind' ; } else { $MOI = 'ist' ; } echo '<br />Online ' . $MOI . ':<br />' ; $erg = db_query( 'SELECT DISTINCT * FROM `prefix_online` WHERE uid > "0"' ); while ( $row = db_fetch_object( $erg ) ) { echo '' . $row ->name. ' <wbr>' ; } } 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 . ' 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(); } ?> |
wäre sehr nett wenn mir jemand das abändern oder hilfestellung geben könnte
