25-11-2016, 12:45 PMlinkzy Wrote: For getting a progress bar, follow this - after line 85. add PHP Code:<tr> <td class="trow1" colspan=2> <div style="background:grey; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"> <div style="background:green;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{$widthpercent}%; height:18px;"> {$fetch}/{$postgoal} </div> </div> </td> </tr> then in line 133 - add PHP Code://Percentage count for progress bar $widthpercent = ($fetch / $postgoal) * 100; The result - Check what i have posted. Modify the code/style according to your will.
<tr> <td class="trow1" colspan=2> <div style="background:grey; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"> <div style="background:green;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{$widthpercent}%; height:18px;"> {$fetch}/{$postgoal} </div> </div> </td> </tr>
//Percentage count for progress bar $widthpercent = ($fetch / $postgoal) * 100;
Loading Info...