Hi everybody,

For those who have multiple themes and would like to see on the profile of the member, what theme the member has chosen.

In [color=rgb(251, 160, 38)]account-details.php[/color] search :

//$country
$res = SQL_Query_exec("SELECT name FROM countries WHERE id=$user[country] LIMIT 1");
if (mysqli_num_rows($res) == 1){
   $arr = mysqli_fetch_assoc($res);
   $country = "$arr[name]";
}
if (!$country) $country = "<b>Aucun</b>";


Add after :

//$stylesheet
$res = SQL_Query_exec("SELECT name FROM stylesheets WHERE id=$user[stylesheet] LIMIT 1");
if (mysqli_num_rows($res) == 1){
   $arr = mysqli_fetch_assoc($res);
   $stylesheets = "$arr[name]";
}


Search :
<?php echo T_("USERCLASS"); ?>: <?php echo get_user_class_name($user["class"])?><br />


Add after :
<?php echo T_("THEME_NAME"); ?>: <?php echo $stylesheets?><br />


* Added to your lang file this line..
$LANG["THEME_NAME"] = "Theme Uses";