<?php
$san=getFame($char['fame_sandoria']);
$bas=getFame($char['fame_bastok']);
$win=getFame($char['fame_windurst']);
$norg=getFame($char['fame_norg']);
$jeuno=getFame($char['fame_jeuno']);
$sanwidth=$san/9*100;
$baswidth=$bas/9*100;
$winwidth=$win/9*100;
$norgwidth=$norg/9*100;
$jeunowidth=$jeuno/9*100;
echo '
<table class="table table-hover">
<tr><td><center><font size=small>San d&apos;Oria: '.$san.'</font></center><div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-danger" style="width:'.$sanwidth.'%"></div> 
</div></td></tr>
<tr><td><center><font size=small>Bastok: '.$bas.'</font></center>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" style="width:'.$baswidth.'%"></div> 
</div>
</td></tr>
<tr><td><center><font size=small>Windurst: '.$win.'</font></center>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-warning" style="width:'.$winwidth.'%"></div> 
</div>
</td></tr>
<tr><td><center><font size=small>Norg: '.$norg.'</font></center>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-info" style="width:'.$norgwidth.'%"></div> 
</div>
</td></tr>
<tr><td><center><font size=small>Jeuno: '.$jeuno.'</font></center>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-success" style="width:'.$jeunowidth.'%"></div> 
</div>
</td></tr>
</table></table>';

?>