with the help of google, I modified a little by adding multi language :
https://github.com/Owned67/MySQL_Ban
Demo :
http://blablabla.olympe.in/bans.php
If people want to improve or modify it ... join me on GitHub
There are just these two codes are not translate with no knowledge :
PHP Code:
if($currentPage>1){
echo '<a href="',$pageUrl,($currentPage-1),'">Previous</a> ';
}
$totalPages = ceil($pageResults/$config['perpage']);
for($i=1;$i<=$totalPages;++$i){
echo '<a href="',$pageUrl,$i,'">',$i,'</a> ';
}
if($currentPage<$totalPages){
echo '<a href="',$pageUrl,($currentPage+1),'">Next</a> ';