-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.php
26 lines (26 loc) · 1.01 KB
/
main.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php namespace Vanderbilt\DataModelBrowserExternalModule; ?>
<body>
<?php
if($_REQUEST['option'] !== 'search' && $_REQUEST['option'] !== 'variableInfo' && $_REQUEST['option'] !== 'json') {
include('downloadButtons.php');
}
?>
<div class="container-fluid wiki_container">
<?PHP
if( !array_key_exists('option', $_REQUEST) )
{
include('pages/wiki_tables.php');
}else if( array_key_exists('option', $_REQUEST) && $_REQUEST['option'] === 'variables' )
{
include('pages/wiki_variables.php');
}else if( array_key_exists('option', $_REQUEST) && $_REQUEST['option'] === 'variableInfo' )
{
include('pages/wiki_variable_info.php');
}else if( array_key_exists('option', $_REQUEST) && $_REQUEST['option'] === 'search' )
{
include('pages/wiki_variable_search.php');
}else if( array_key_exists('option', $_REQUEST) && $_REQUEST['option'] === 'json' ) {
include('jsoncopy/copyfiles.php');
}
?>
</div>