PHP Code:
if ($_REQUEST['do'] == 'ventrilo')
{
eval('print_output("' . fetch_template('page_ventrilo') . '");');
}
else if ($_REQUEST['do'] == 'page1')
{
eval('print_output("' . fetch_template('page_page1') . '");');
}
else if ($_REQUEST['do'] == 'page2')
{
eval('print_output("' . fetch_template('page_page2') . '");');
}
else
{
eval('print_output("' . fetch_template('smedd_index') . '");');
}