I'm trying to create my own them. It's my first theme so I'm using the X3 theme as template & till now everything is going well but I got a problem in Bandwidth bar " It doesn't work probably.
here is my code
here is my code
<?cp StatsBar::stat([tr class="row-%"][td nowrap="nowrap"][span ]%[/span][br /][/td][td align="left"]%/%[/td][/tr][tr][td colspan="2" bgcolor="#CCCCCC" height="2"][/td][/tr],*num,item,percent10,count,max) display=bandwidthusage ,infinitylang=true ?>
[/QUOTE]
the output is 0.00/100.00 MB it can't count the usage bandwidth. but when I use the X way
[QUOTE]
<cpanelfeature bandwidth>
<tr>
<td class="index1" nowrap><cpanel langprint="INDXBandwidth"></td>
<td class="index2"><cpanel Stats="countbandwidth()">
<cpanel printlang="BWMegabytes"></td>
</tr>
</cpanelfeature>
[/QUOTE]
the output is 62.67 Megabytes
Can someone explain this for me