PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Joseluis Laso   jlaso Contador   test.php   Download  
File: test.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: jlaso Contador
Record user visits with MySQL database using PDO
Author: By
Last change: Update of test.php
Date: 5 months ago
Size: 1,095 bytes
 

Contents

Class file image Download
<?php

/*
 * Probado con IE8, Safari 5.1.2, FF 9.0.1, Chrome 16.0 en Win-XP
 */

?>
<html>
    <head>
    
    <title>Demo de contador | m&aacute;s info en http://jaitec.net/blog/contador-visitas</title>
    <script type="text/javascript" src="firebug-lite/build/firebug-lite.js"></script>
    <!-- thanks to Dean Edwards -->
    <!--[if lt IE 7]>
        <script src="/ie7/ie7.js" type="text/javascript"></script>
    <![endif]-->
    <!--[if IE 8]>
        <script src="/ie7/ie8.js" type="text/javascript"></script>
    <![endif]-->
    <!--[if IE 9]>
        <script src="/ie7/ie9.js" type="text/javascript"></script>
    <![endif]-->
    <?php require(dirname(__FILE__).'/contador.inc.php'); ?>


    </head>
   
    <body>
       
    <div>
        Contador:
        <div id ="contador"></div>
    </div>
  </body>
    <script type="text/javascript">
       window.onload = function(){
           var contador = new Contador(0,999999,6,1,"contador","/contador",42,17);
           contador.show();
           contador.animar();
       }
    </script>
</html>