i will show how to make a bandwidth used bar
step 1 make a new php file eg bandwidth.php
step 2 add <?php
$sAuth = base64_encode("username:pass"); //your username:password for cpanel
$domain = "www.domain.com"; //domain of your website
$total = 10000; //amount of bandwidth you get in...