my $article = $main::cgi->param('article') || "none";
for ($article) {
if (/^1$/) {
!>
#include ./1.iphtml
} # do something
elsif (/^2$/) {
!>
#include ./2.iphtml
} # do something else
elsif (/^3$/) {
!>
#include ./3.iphtml
} # do something else
elsif (/^4$/) {
!>
#include ./4.iphtml
} # do something else
elsif (/^5$/) {
!>
#include ./5.iphtml
} # do something else
else {
# no article selected display only TOC
} # default
}
!>
#include ./TOC.iphtml
#include ../../../includes/wp-vos-footer.iphtml