It is a very old theme with the flash part of the code and it is no longer supported by browsers, so the navigation menu is removed from the header right now, but maybe it can be fixed somehow.
The second part of the code:
$ss_r = mysql_query("SELECT * from stylesheets") or die;
$ss_sa = array();
while ($ss_a = mysql_fetch_array($ss_r))
{
$ss_id = $ss_a["id"];
$ss_name = $ss_a["name"];
$ss_sa[$ss_name] = $ss_id;
}
ksort($ss_sa);
reset($ss_sa);
while (list($ss_name, $ss_id) = each($ss_sa))
{
if ($ss_id == $CURUSER["stylesheet"]) $ss = " selected=\"selected\""; else $ss = "";
$stylesheets .= "<option value=\"$ss_id\" $ss>$ss_name</option>\n";
}
is also old and needs to be replaced and mysql parts changes to mysqli
$ss_r = SQL_Query_exec("SELECT * from stylesheets") or die;
$ss_sa = array();
while ($ss_a = mysqli_fetch_array($ss_r))
{
$ss_id = $ss_a["id"];
$ss_name = $ss_a["name"];
$ss_sa[$ss_name] = $ss_id;
}
ksort($ss_sa);
reset($ss_sa);
while (list($ss_name, $ss_id) = each($ss_sa))
{
if ($ss_id == $CURUSER["stylesheet"]) $ss = " selected=\"selected\""; else $ss = "";
$stylesheets .= "<option value=\"$ss_id\" $ss>$ss_name</option>\n";
}
But from some reason "theme change" wont work on this way but I'll be back if I fix it later
www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB