auf meiner Page habe ich unter dem Login-Bereich den Counter.
Den würde ich nun aber gerne rechts neben "Lost PW?" hinkriegen in dieses kleine Feld.
Kann mir jemand erklären, wie ich das hinkrieg?
index.htm:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>{TITLE}</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" media="screen" href="include/designs/myhorizon/master.css"> </head> <body><div align="center"> <table width="960" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="960" height="36" align="left" valign="top" background="include/designs/myhorizon/Bilder/img_02.jpg">{_boxes_login} {_boxes_statistik}</td> </tr> <tr> <td width="960" height="33" align="left" valign="top" background="include/designs/myhorizon/Bilder/img_04.jpg"><table width="960" height="33" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="320" height="33"><div class="wcome">Welcome to MyHorizon</div></td> <td height="33"><div class="nticker"><marquee direction="left" scrollamount="3" scrolldelay="1">We're currently working on our Design! There may be cases, where our site is not completely viewable!</marquee></div></td> </tr> </table></td> </tr> <tr> <td width="960" height="133" align="left" valign="top" background="include/designs/myhorizon/Bilder/img_05.jpg"><div class="advert"> <img src="./include/images/partner/advertising.jpg"> </div></td> </tr> <tr> <td class="content" width="960" align="left" valign="top"><table width="960" border="0" cellspacing="0" cellpadding="0"> <tr align="left" valign="top"> <td width="189" background="include/designs/myhorizon/Bilder/menubg.jpg"><table width="189" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="189" height="38" background="include/designs/myhorizon/Bilder/img_06.jpg">{_list_menunr1@</td> </tr> <tr> <td width="189" height="41" background="include/designs/myhorizon/Bilder/navi_title.jpg"><div class="nav">.%1<br> Navigation</div></td> </tr> <tr> <td width="189" valign="middle">%2</td> </tr> <tr> <td>}</td> </tr> </table></td> <td width="498"><table width="498" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="498" height="139" align="left" valign="top" background="include/designs/myhorizon/Bilder/specialbox.jpg"> </td> </tr> <tr> <td width="498" height="179" align="left" valign="top" background="include/designs/myhorizon/Bilder/boxcont.jpg">{_boxes_lastnews} {_boxes_lastwars}</td> </tr> <tr> <th width="498" align="left" valign="top">{EXPLODE}</th> </tr> </table></td> <td background="include/designs/myhorizon/Bilder/menubg_right.jpg" width="273"><table width="273" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="38" align="left" valign="top" background="include/designs/myhorizon/Bilder/img_07.jpg"> </td> </tr> <tr> <td align="left" valign="top"><table width="273" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="273">{_list_menunr2@</td> </tr> <tr> <td width="273" height="41" background="include/designs/myhorizon/Bilder/navi2_bg.jpg"><div class="nav2">.%1<br> Navigation</div></td> </tr> <tr> <td width="273" valign="middle"><div class="box">%2</div></td> </tr> <tr> <td width="273">}</td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td width="960" height="69" align="left" valign="top" background="include/designs/myhorizon/Bilder/footer.jpg"><div class="copy">Copyright © 2008 by <a href="#">myHorizon</a> - Alle Rechte vorbehalten.<br> <a href="#" target="_blank">Design by VisionTech </a><br><a href="./index.php?impressum">Imprint</a> - <a href="./index.php?contact">Contact</a> - <a href="./index.php?teams">Teams</a></div></td> </tr> </table> </div></body> </html> {_list_hmenupoint@<a class="navi" target="%1" href="%2">.%3</a><br>} {_list_hmenubegi@} {_list_hmenuende@} {_list_vmenupoint@<a class="navi" target="%1" href="%2">.%3</a><br>} {_list_vmenuende@}
statistik.php:
<?php # Copyright by Manuel # Support www.ilch.de 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); echo '<font size="3px" color="#ffffff">'; echo $lang['today'].': '.$ges_heute.' '; echo $lang['yesterday'].': '.$ges_gestern.' '; echo $lang['whole'].': '.$ges_visits.' '; echo 'Online: '.ges_online().' '; 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(); } ?>
thx und mfg
SeToY
Zuletzt modifiziert von SeToY am 14.10.2011 - 09:46:42