Ver Mensaje Individual
  #8 (permalink)  
Antiguo 01/05/2009, 11:23
DarkCo0oL
 
Fecha de Ingreso: abril-2009
Mensajes: 27
Antigüedad: 15 años, 1 mes
Puntos: 0
Respuesta: Contador de visitas Online

Código PHP:
<?php

function template_main()
{
global 
$context$scripturl$boardurl ;
//Text To Display If No Guests Allowed Is On
$guesttext '<a href="'$boardurl '/index.php?action=register ">Register Today</a></br> Chat is not enabled for guests.';




echo
' <br></br> ';

echo 
'
<BODY text=black marginheight="0"
marginwidth="0" topmargin="0" leftmargin="20" link="#666666" background="images/colorsin2.jpg">
<table width="690" border="0" cellspacing="0" cellpadding="0" vspace="0" align="center" height="60">
  <tr>
    <td width="596" valign="bottom">
      <div align="left">
        <img border="0" src="images/seedradio.gif" width="231" height="97"><br>
        <embed type="application/x-mplayer2" src="enlace ala radio" name="NSPlay" pluginspage="enlace al plugin&amp;sbp=mediaplayer&amp;ar=media&amp;sba=plugin" showdisplay="0" showstatusbar="1" autostart="True" height="50" width="300"></div>
    </td>
  </tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=690 border=0 vspace="0" align="center">
  <TR>
    <TD vAlign=top align=left width=30 height="22"></TD>
    <TD vAlign=top colSpan=3 height="22" >
      <table border="0" cellspacing="0" cellpadding="0" align="right"  height="20">
        <tr>
          <td width="20" height="19"><img src="images/left1.gif" width="20" height="20"></td>
          <td height="19" background="images/barra1.png">
            <div align="center"><font color="#666666" face="Arial, Helvetica, sans-serif" size="2"><b>
                <a href="enlace a home /"TARGET=”_blank”>Home</a></b></font></div>
          </td>
          <td width="40" height="19"><img src="images/right1.gif" width="20" height="20"><img src="images/left1.gif" width="20" height="20"></td>
          <td height="19" background="images/barra1.png">
            <div align="center"><b>
                <font face="Arial, Helvetica, sans-serif" size="2">
                <a href="enlace a foros " TARGET=”_blank”>Foro</a></font></b></div>
          </td>
          <td width="40" height="19" ><img src="images/right1.gif" width="20" height="20"><img src="images/left1.gif" width="20" height="20"></td>
          <td height="19" background="images/barra1.png">
            <div align="center"><font color="#666666" face="Arial, Helvetica, sans-serif" size="2"><b>
                <a href="enlace a soporte" TARGET=”_blank”>Soporte</a></b></font></div>
          </td>
          <td width="20" height="19"><img src="images/right1.gif" width="20" height="20"></td>
          <td width="20" height="19" ><img src="images/left1.gif" width="20" height="20"></td>
          <td height="19" background="images/barra1.png">
            <div align="center"><b>
                <font face="Arial, Helvetica, sans-serif" size="2">
                <a href="enlace a registro" TARGET=”_blank”>Registra tu
                Nick</a></font></b></div>
          </td>
          <td width="20" height="19" ><img src="images/right1.gif" width="20" height="20"></td>
        </tr>
        <tr bgcolor="#9999FF">
          <td colspan="10" height="1".><img src="images/line1.gif" width="1" height="1"></td>
        </tr>
      </table>
    </TD>
    <TD vAlign=top align=right width="30" height="22"></TD>
  </TR>
  <TBODY>
  <TR>
    <TD vAlign=top align=left width=30 height=438 bgcolor="#FFFFFF"><img src="images/top_left.gif" width="30" height="30"><img border="0" src="images/barraizq.png" width="30" height="408"><BR>
    </TD>
    <TD vAlign=top colSpan=3 bgcolor="#FFFFFF"> <br>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="18" width="9"><img src="images/gph2.gif" width="9" height="18"></td>
          <td height="18" bgcolor="#084079"><b>
            <font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">
            SeeDRadio Web Chat</font></b></td>
          <td height="18" width="9"><img src="images/gph1.gif" width="9" height="18"></td>
        </tr>
      </table>
      <br>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="top" width="100%"><iframe src ="iframe del webchat" width="100%" height="407" name="chat" title="Chat" border="0" frameborder="0"> </iframe>
</td>
        </tr>
      </table>

    </TD>
    <TD vAlign=top align=right width="30" height="438" bgcolor="#FFFFFF"><img src="images/top_right.png" width="30" height="30">
      <BR>
      <img border="0" src="images/barraderecha.png" width="30" height="408"><BR>
    </TD>
  </TR>
  <TR>
    <TD vAlign=top align=left width=30 ><img src="images/bottom_left.gif" width="30" height="30"></TD>
    <TD colSpan=3>
    <img border="0" src="images/barraabajo.png" width="630" height="30"></TD>
    <TD vAlign=top align=right  width="30"><img src="images/bottom_right.gif" width="30" height="30"></TD>
  </TR>
  </TBODY>
</TABLE>
<table width="690" border="0" cellspacing="0" cellpadding="0" vspace="0" align="center">
  <tr>
    <td height="30">
      <div align="center"><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">
        Copyright © 2008 SeeDRO. All Rights Reserved</font></div>
    </td>
  </tr>
</table>
</BODY>

'
;

}

?>
Este template necesito que se inserte el contador, y cuente las personas que estan viendo siempre la pagina y me lo muestre en cualquier parte del sitio.