PHP Code:
<if condition="$forum[displayorder] % 2 == 0">alt1<else />alt2</if>
or you can add this to your files ... insert code before any eval(templates) that you want to alternate colors
PHP Code:
// ######## GT OPTION
$bgclass = (++$i%2)?"alt1":"alt2";
// ######### END GT
TIP: For easier vb upgrading... never remove code from defualt vb files.
you should comment them out
PHP Code:
// ##### GT DISABLE OPTION
//function existingcode(){
// print_no_permission();
//}
// ###### GT END
When adding code make it stand out.
PHP Code:
// ###### GT OPTION
function newCode(){$goeshere;}
// ######### END GT