X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fview_usage.html;fp=fs_selfservice%2FFS-SelfService%2Fcgi%2Fview_usage.html;h=40aec7bcfed65f5cde38d7c4a8b97ed2912bf3ea;hp=0000000000000000000000000000000000000000;hb=dbb388836b7951a3db49deda05a1ff9ba5125c17;hpb=12c852be6d4cabcc89fd9db901a6b315efbc1e97 diff --git a/fs_selfservice/FS-SelfService/cgi/view_usage.html b/fs_selfservice/FS-SelfService/cgi/view_usage.html new file mode 100644 index 000000000..40aec7bcf --- /dev/null +++ b/fs_selfservice/FS-SelfService/cgi/view_usage.html @@ -0,0 +1,49 @@ +MyAccount +MyAccount

+<%= $url = "$selfurl?session=$session_id;action="; ''; %> +<%= include('myaccount_menu') %> + + +Service usage

+ +
+ + + + + + + + + + +<%= foreach my $svc ( @svcs ) { + my $totalbytes = ''; + if ( ($svc->{'upbytes'} + 0) eq $svc->{'upbytes'} + || ($svc->{'downbytes'} + 0) eq $svc->{'downbytes'} ) { + + $totalbytes = $svc->{'upbytes'} + $svc->{'downbytes'}; + } + + $OUT .= ''; + } %> + +
AccountTime remainingUpload remainingDownload remainingTotal remaining
'; + $OUT .= $svc->{'label'}. ': '. $svc->{'value'}; + $OUT .= ''; + $OUT .= $svc->{'seconds'}; + $OUT .= ''; + $OUT .= $svc->{'upbytes'}; + $OUT .= ''; + $OUT .= $svc->{'downbytes'}; + $OUT .= ''; + $OUT .= $totalbytes; + $OUT .= '
+
+ +
+ + +
+powered by freeside +