Well, I'm trying to do this modification of my hack :
https://vborg.vbsupport.ru/showthrea...394#post404394
But that's what I get on my forum

I use this code :
PHP Code:
$classes=$DB_site->query("SELECT * FROM usertitleclass ORDER BY displayorder");
while ($classe=$DB_site->fetch_array($classes)) {
$titles=$DB_site->query("SELECT * FROM usertitle WHERE usertitleclass='$classe[usertitleclassid]' ORDER BY minposts");
while ($title=$DB_site->fetch_array($titles)) {
if ($j == 1) $color2 = "#1C5780";
else $color2 = "#13486D";
eval("\$liste .= \"".gettemplate('usertitles_liste')."\";");
$j = $j + 1;
if ($j == 2) $j=0;
}
eval("\$clas .= \"".gettemplate('usertitles_class')."\";");
}
Why does it display all previous datas from the usertitle's table whereas only those who has the same userstylecass equal to the userstyleclassid of my userclass' table would be shown
I've tried using a free_result without success .....
Any idea ?