why don't you use a ran control panel with add stats feature?
anyways , you can download a cpanel with add stat feature and copy the add stat php file itself, to your cpanel folder
and code your php files with the one you copy to make it visible on your control panel