please help me with my smf forum
I've been asking these to the forum but no one answers i maybe you guys can help me
I've been trying to display users on the online list. please take a look.

where dyou think or to which file should i paste this code please?

function randomGen($min, $max)
    //  setup our seed
    srand((float) microtime() * 10000000);
    //  Generate the number
    $random = rand($min,$max);
   // Return  the number
    return $random;
/*adjust these numbers to  display a random number within a range-
make sure the low number is  on the left.*/

$random_number = randomGen(10,25);
echo  "<br/>There are " .$random_number. " visitors online";