thrembobulator added
This commit is contained in:
@ -56,7 +56,14 @@ class Home extends Extension
|
|||||||
$length = strlen($strtotal);
|
$length = strlen($strtotal);
|
||||||
for ($n=0; $n<$length; $n++) {
|
for ($n=0; $n<$length; $n++) {
|
||||||
$cur = $strtotal[$n];
|
$cur = $strtotal[$n];
|
||||||
$counter_text .= "<img alt='$cur' src='$base_href/ext/home/counters/$counter_dir/$cur.gif' />";
|
|
||||||
|
if ($cur == 6 && rand(0, 2500) == 0) {
|
||||||
|
$counter_text .= "<img alt='$cur' src='$base_href/ext/home/counters/$counter_dir/Ϫ.gif' />";
|
||||||
|
} elseif ($cur == 7 && rand(0, 2500) == 0) {
|
||||||
|
$counter_text .= "<img alt='$cur' src='$base_href/ext/home/counters/$counter_dir/Ϫ.gif' />";
|
||||||
|
} else {
|
||||||
|
$counter_text .= "<img alt='$cur' src='$base_href/ext/home/counters/$counter_dir/$cur.gif' />";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the homelinks and process them
|
// get the homelinks and process them
|
||||||
|
Reference in New Issue
Block a user