Show bandwidth history and API. (SKINS)

Version 1.22

Feature
Finished

Show usage settings for previous months. Put link in user_stats.html as /CMD_USER_HISTORY?domain=|domain| (domain is not required, but just to make sure it shows up in the |TREE|) new page: user/show_history: ###################### |?TREE=&raquo; <a class=tree href="/CMD_SHOW_DOMAIN?domain=`domain`">`domain`</a> &raquo; <a class=tree href="/CMD_USER_STATS?domain=`domain`">User Stats for `USERNAME`</a> &raquo; <a class=tree href="/CMD_USER_HISTORY?domain=`domain`">User History</a>| |?HELP_SECTION=www.site-helper.com/stats.html| |HTM_USER_TOP| <b>User History</b><br> |HISTORY| |HTM_USER_BOTTOM| API: The Api returns the list of past months. All resets done within the same month will be added together. Since the reset is done on the first day of the month, all resets done on the first day of the month, including all days from the previous month (except the first day from the previous month) will be included in the last months totals. The default DA install does 1 reset per month on the 1st day. A format example is as follows: %32%30%30%34 %30%35=bandwidth%3D%31%34%34.%30%33%35%26quota%3D%32%32.%39%32%30%30%34 %30%36=bandwidth%3D%31%34%36.%30%33%35%26quota%3D%32%32.%39 Where decoded it looks like (it's all sent on one line): 2004 05=bandwidth=144.035&quota=22.9 2004 06=bandwidth=146.035&quota=22.9 All previous months will be included in the one query. User: CMD_API_USER_HISTORY Reseller: CMD_API_USER_HISTORY?user=bob

Interested to try DirectAdmin? Get a 30-day Free Trial!