Hello. I have problem. I just writed a script to display pictures above reputation power.
My script is:
In templates it dosn't work.
I want to have like vB:
<picture of reputation> (<Reputation Power> )
ex. [][] (10)
Please help me with code
Thanks
#edit
reputation-pic 1green will be changed to <img src="green1.gif">
My script is:
if($reputation == 0){
echo "reputation-pic 0";
}
if($reputation => 1){
echo "reputation-pic 1green";
}
if($reputation => 10){
echo "reputation-pic 2green";
}
...
I don't know where to put it...In templates it dosn't work.
I want to have like vB:
<picture of reputation> (<Reputation Power> )
ex. [][] (10)
Please help me with code
Thanks
#edit
reputation-pic 1green will be changed to <img src="green1.gif">