if ($Board=='gnews') {
$iconselect = $html -> icon_news();
$instant_ubbcode = $html -> instant_ubbcode();
}
elseif ($Board=='xnews') {
$iconselect = $html -> icon_xnews();
$instant_ubbcode = $html -> instant_ubbcode();
}
elseif ($Board=='cnews') {
$iconselect = $html -> icon_cnews();
$instant_ubbcode = $html -> instant_ubbcode();
}
elseif ($Board=='anews') {
$iconselect = $html -> icon_anews();
$instant_ubbcode = $html -> instant_ubbcode();
}
elseif ($Board=='bnews') {
$iconselect = $html -> icon_bnews();
$instant_ubbcode = $html -> instant_ubbcode();
}
elseif ($Board=='fnews') {
$iconselect = $html -> icon_fnews();
$instant_ubbcode = $html -> instant_ubbcode();
}
else {
$iconselect = $html -> icon_select();
$instant_ubbcode = $html -> instant_ubbcode();
}
I hope you follow the premise here