PHP Counter Select
Styles
This PHP Counter provides the following styels. You will
see the style names under /styles directory, which are also the directory
name for that named style.
| Styles |
Images |
| 7seg |
|
| 57chevy |
 |
| bbldotg |
 |
| bellbtm |
 |
| blgrv |
 |
| cntdwn |
 |
| ds9 |
 |
| fdb |
 |
| links |
 |
| marsil |
 |
| sbgs |
 |
| web1 |
 |
| computer |
 |
| led |
 |
PHPGcount comes with these image styles by default: 57chevy, 7seg,
bbldotg, bellbtm, blgrv, cntdwn, computer, ds9, fdb, led, links,
marsil, sbgs and web1.
You may set (test) these styles by adding "&style=STYLENAME" to
the SCRIPT SRC parameter. Replace STYLENAME with the name of the
style (names are CaSe SeNSiTiVE on most servers!). For example, if
you want to test how style "led" looks you would use this code to
display the counter:
<SCRIPT LANGUAGE="Javascript" SRC="http://www.domain.com/phpgcount/graphcount.php?page=PAGENAME&style=led"><!--
//--></SCRIPT>
As easy as that. If no &style=STYLENAME is added to the SRC
parameter PHPGcount will use the default style, as set in the $default_style
variable in the graphcount.php file. If you for example want to use
the "57chevy" as the default style you can just open graphcount.php
file and set
$default_style = "57chevy"
and this style will be used by default.
By adding the &style=STYLENAME you may use the same script on
multiple pages, each with its own style of display! You may even
add your own styles to the counter, more info on that further down.
This tutorial includes the following section:
|