Script URL: http://best-pariuri-online.com/counter/ ... &style=fdb
Version of script: 1.2
Hosting company: MX hosting
URL of phpinfo.php: http://best-pariuri-online.com/Bwin.php
URL of session_test.php: http://best-pariuri-online.com/Bwin.php
What terms did you try when SEARCHING for a solution: counter background, counter back
Write your message below: Hello I want to implement in the "graphcount.php" an unic background in a position for my counter!
This is my html code that I want to include in script: "<div align="center" style="background-image: url(/barca-counter.png); height: 120px; width: 120px;"><br><br><br><br><br>"
Thanks!
Counter background
Re: Counter background
Hello nsanyi23,
You should try the following
And don't forget to read the readme file to change the setting right in the graphcount.php file
offcourse change the page=test to the file name you choose for the file which stores the count.
Greetings,
Henrie
You should try the following
Code: Select all
<div align="center" style="background-image: url(barca-counter.png); height: 121px; width: 128px;">
<br><br><br><br>
<script language="Javascript" src="graphcount.php?page=test"><!--
//--></script>
</div>
offcourse change the page=test to the file name you choose for the file which stores the count.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Re: Counter background
Thanks for reply, but I want to include this code in graphcount.php!
In this way I want to reduce the code , so I want to use only the script to show my conter with the background!
In this way I want to reduce the code , so I want to use only the script to show my conter with the background!
Re: Counter background
Ah, than i misunderstood you.
Than this is what you want:
In graphcount.php Version: 1.1 find: and replace it with:
Greetings,
Henrie
Than this is what you want:
In graphcount.php Version: 1.1 find:
Code: Select all
/* Print out Javascript code and exit */
$len = strlen($count);
for ($i=0;$i<$len;$i++) {
echo 'document.write(\'<img src="'.$base_url . $style_dir . substr($count,$i,1) . '.' . $ext .'" border="0">\');';
}
exit();
Code: Select all
/* Print out Javascript code and exit */
$len = strlen($count);
echo 'document.write(\'<div style="background-image: url(barca-counter.png); width: 128px; height: 121px; text-align:center;"><span style="line-height:70px"> </span><br />\');';
for ($i=0;$i<$len;$i++) {
echo 'document.write(\'<img src="'.$base_url . $style_dir . substr($count,$i,1) . '.' . $ext .'" style="border:none;">\');';
}
echo 'document.write(\'</div>\');';
exit();
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.