counter einbinden

virus50

Grünschnabel
Hi all,
schaffe es einfach nicht nen Counter einzubinden so das meine Seite nicht zerschossen wird.Habe den Counter installiert und will ihn im meinem Template anzeigen lassen.Das funktioniert auch nur ist allesviel zu gross.Wo liegt der Fehler?

Hier zur Seite KLICK

gruss virus

Ausserdem will ich das der Hintergrund vom Template bleibt und nicht weiss ist.

Danke für die Hilfe

Hier mal meine Index.htm

Code:
<HTML><HEAD><TITLE>[FURTIVO] HTTP://WORLDPHANTON.UNI.CC</TITLE> 
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> 
<STYLE type=text/css>BODY { 
MARGIN-TOP: 2px; MARGIN-BOTTOM: 0px 
} 
BODY { 
FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif 
} 
TD { 
FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif 
} 
TH { 
FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif 
} 
A:link { 
COLOR: #003366 
} 
A:visited { 
COLOR: #003366 
} 
A:hover { 
COLOR: #006699 
} 
A:active { 
COLOR: #006699 
} 
</STYLE> 
<!-- base --> 
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD> 
<BODY bgColor=#f3f3f3> 
<P>&nbsp;</P> 
<P>&nbsp;</P> 
<CENTER> 
<TABLE cellSpacing=0 cellPadding=0 width=800 background=index_archivos/bg.jpg 
border=0> 
<TBODY> 
<TR> 
<TD colSpan=4><IMG height=110 alt=Header src="index_archivos/top.gif" 
width=800></TD></TR> 
<TR> 
<TD width=1 background=index_archivos/pixel.gif height=83></TD> 
<TD vAlign=top align=middle width=150><BR> 


<!-- Anfang 1ter Kasten --> 
<TABLE cellSpacing=0 cellPadding=0 width=145 border=0> 
<TBODY> 
<TR> 
<TD colSpan=3><IMG height=17 alt="Main Menu" 
src="index_archivos/menu_main.jpg" width=145></TD></TR> 
<TR> 
<TD width=1 background=index_archivos/pixel.gif></TD> 
<TD vAlign=top align=middle width=143 bgColor=#ffffff> 
<TAblE cellSpacing=1 cellPadding=1 width="100%" border=0> 
<TBODY> 
<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- href="content/kontakt.html" gibt die datei an die aufgerufen wird wenn der link geclickt wird --> 
<!-- target="iframe" gibt das ziel Fenster an (in diesem Fall das iframe) --> 

<!-- der erste Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="" target="iframe"><FONT color="#000000">link.1....</FONT></A></DIV></TD></TR> 

<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- der zweite Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="" target="iframe"><FONT color="#000000">Link.2....</FONT></A></DIV></TD></TR> 

<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- der dritte Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="" target="iframe"><FONT color=#000000>Link 3...</FONT></A></DIV></TD></TR> 

<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- der vierte Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="EasyPiG_v.2.0/index.php" target="iframe"><FONT color=#000000>Gallery</FONT></A></DIV></TD></TR> 

<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 
<DIV align=left>&nbsp;</DIV></TD></TR> 
<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 
<DIV align=left>&nbsp;</DIV></TD></TR> 
<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- der fünfte Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="kontaktformular/kontaktformular.php" target="iframe"><FONT color=#000000>Contact</FONT></A></DIV></TD></TR> 

<TR> 
<TD onmouseover="this.style.background='#BAD785'" 
style="BACKGROUND: rgb(233,233,233) 0% 50%; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial" 
onmouseout="this.style.background='#E9E9E9'" bgColor=#e9e9e9> 

<!-- der sechste Link --> 
<DIV align=left><A style="TEXT-DECORATION: none" href="artmedic_guestbook/artmedic_guestbook_index.php" target="iframe"><FONT color=#000000>Gästebuch</FONT></A></DIV></TD></TR> 

</TBODY> 
</TABLE> 
</TD> 
<TD width=1 background=index_archivos/pixel.gif></TD></TR> 
<TR> 
<TD colSpan=3><IMG height=11 alt=- src="index_archivos/menu_bottom.jpg" width=145></TD> 
</TR> 
</TBODY> 
</TABLE> 
<BR> 

<!-- Ende 1ter Kasten --> 

<!-- Anfang 2ter Kasten --> 
<TABLE cellSpacing=0 cellPadding=0 width=145 border=0> 
<TBODY> 
<TR> 
<TD colSpan=3><IMG height=17 alt=Affiliates src="index_archivos/menu_affiliates.jpg" width=145> 
</TD> 
</TR> 
<TR> 
<TD width=1 background=index_archivos/pixel.gif></TD> 
<TD width=143 background=index_archivos/bg.jpg bgColor=#ffffff> 
<DIV align=center></DIV> 
</TD> 

<TD> 
<MARQUEE onmouseover=this.stop() onmouseout=this.start() 
scrollAmount=1 scrollDelay=50 direction=up width=135 height=123><BR> 
<CENTER> 
<A href="#" target=_blank><IMG height=31 alt="CORE Security" src="index_archivos/core.gif" width=92 border=0></A> 
<BR><BR> 
<A href="#" target=_blank><IMG height=31 alt=NEXIT src="index_archivos/core.gif" width=92 border=0></A> 
<BR><BR> 
</CENTER> 
</MARQUEE> 
</TD> 

<TD width=1 background=index_archivos/core.gif></TD></TR> 
<TR> 
<TD colSpan=3><IMG height=11 alt=- src="index_archivos/menu_bottom.jpg" width=145></TD> 
</TR> 
</TBODY> 
</TABLE> 

<!-- Ende 2ter Kasten --> 

<br> 
<!-- Anfang 3ten Kasten (NEU) --> 

<TABLE cellSpacing=0 cellPadding=0 width=145 border=0> 
<TBODY> 
<TR> 
<TD colSpan=3><IMG height=17 alt=Affiliates src="index_archivos/menu_stats.jpg" width=145> 
</TD> 
</TR> 
<TR> 
<TD width=1 background=index_archivos/pixel.gif></TD> 
<TD width=143 background=index_archivos/bg.jpg bgColor=#ffffff> 
<!-- Hier kommt der Inhalt des neuen Kastens rein --> 
<!-- Der Kasten ändert seine Größe je nachdem wie viel Platz sein Inhalt in anspruch nimmt --> 

<iframe src="http://ph2s566.s004-ct-ffm-r01.ec-c.net/furtivo1/test.php" name="Counterbox" frameborder="0" scrolling="no"></iframe>





</TD> 
<TD> 


</TD> 

<TD width=1 background=index_archivos/core.gif></TD></TR> 
<TR> 
<TD colSpan=3><IMG height=11 alt=- src="index_archivos/menu_bottom.jpg" width=145></TD> 
</TR> 
</TBODY> 
</TABLE> 

<!-- Ende 3ten Kasten (NEU) --> 


<!-- Wenn du den Kasten nach oben oder unten haben willst musst du den gesamten kasten 
(vom Anfangskommentar bis zum Endekommentar) vor bzw hinter den anfang oder das ende kommentar eines anderen Kastens --> 



<BR> 
</TD> 
<TD vAlign=top align=middle width=648><BR> 
<TABLE height=244 cellSpacing=0 cellPadding=0 width=642 border=0> 
<TBODY> 
<TR> 
<TD colSpan=3 height=17><IMG height=17 alt=Content src="index_archivos/content_top.jpg" width=642></TD> 
</TR> 
<TR> 
<TD width=1 background=index_archivos/pixel.gif height=216></TD> 
<TD width=641 bgColor=#ffffff height=216> 

<!-- in das iframe werden durch das anclicken der links die neuen Seiten geladen --> 
<!-- das macht man durch die angabe des iframe namen im target eines links --> 

<IFRAME name="iframe" src="" frameBorder=0 width=631 height=412></IFRAME> 


<!-- --> 

</TD> 
<TD width=1 background=index_archivos/pixel.gif height=216></TD></TR> 
<TR> 
<TD colSpan=3 height=11><IMG height=11 alt="" 
src="index_archivos/content_bottom.jpg" 
width=642></TD></TR></TBODY></TABLE><BR></TD> 
<TD width=1 background=index_archivos/pixel.gif></TD></TR> 
<TR> 
<TD colSpan=4><IMG height=28 alt="Zonabyte Networks Security" 
src="index_archivos/bottom.gif" width=800 
border=0></TD></TR></TBODY></TABLE></CENTER> 
<P align=center>&nbsp;</P> 
<p>&nbsp;</p> 

</BODY></HTML> 

<center><span style="width: 100%; font-family: helvetica; font-size: 6px;"> 
Design downloaded from <a href="http://www.freewebtemplates.com" style="font-family: helvetica; font-size: 6px;">FreeWebTemplates.com</a><br> 
Free web design, web templates, web layouts, and website resources! 
</span></center><br><br>

und hier mal die test.php wo der Counter eingebunden ist

PHP:
<?php
include('counter/counter.php');
?>
 
Zuletzt bearbeitet:
Geb dem iframe ne feste Breite und leg dann innerhalb der test.php eine kleinere Schriftgröße fest.

Im Übrigen könntest du den Counter auch gleich direkt includen und nicht den Umweg über einen iframe einschlagen.
 
und wie muss die Zeile den aussehen wenn ich den counter direkt include?.Und wie schaffe ich es das der Hintergrund gleich bleibt und nicht weiss wird.?

Welches Programm würdet Ihr mir überhaupt empfehlen mit dem ich arbeiten sol?

Gruss Virus
 
Einfach das aus der test.php in deine Page rein, da wo der Counter angezeigt werden soll.
Und damit das da besser reinpasst musst du die Schrift von deinem Counter kleiner machen.

Gruß GalaxyWarrior
 
cool danke jetzt noch ne kurze frage und zwar möchte ich nur folgende Sachen anzeigen lassen.
Online: 1
Heute: 6
Gestern: 49
Rekord 135
Gesamt: 11900

in der beschreibung steht :
3.2.4: individuelles Template
----------------------------
Unabhängig von dem globalen Template (=Layoutvorlage) kann beim
Einbinden des Counters ein eigenes Template definiert werden.
Beispiel:

<?php
$chCounter_template = <<<TEMPLATE
Mit dieser Zeile beginnt das Template... z.B.:
Besucher: {V_TOTAL_VISITORS}<br />
gerade online: {V_VISITORS_CURRENTLY_ONLINE}
... und nach dieser Zeile endet das Template.
TEMPLATE;
include('pfad_zum_counter/counter.php');
?>

GANZ WICHTIG: Wird auf diesem Weg ein Template angegeben, darf die Zeile
"TEMPLATE;" niemals eingerückt werden, noch anderweitig verändert
werden!

in welcher Datei mus ich die Sachen rauspicken und wie muss es dann aussehen?

Gruss Virus
 
Ok, ich werde es mir mal ansehen, aber in der test.php steht das doch alles drinn was du haben willst, was hast du nun anders gemacht? :confused:

Gruß GalaxyWarrior
 
Zurück