 | | | |  | |
if ($_GET['pid'] == "paradigm" & $_GET['text'] == true) { ?>
| |  | |
} ?>
|
//
// HEADERS START
//
if ($_GET['pid'] == "analyse") {
?>
// HEADER FOR ANALYSE
if ($_GET['cmd'] != 'go') {
echo $lang['ANALYSE_salutation'];
}
?>
}
// HEADER FOR GENERATE
elseif ($_GET['pid'] == "generate") {
?>
if ($_GET['cmd'] != 'go') {
echo $lang['GENERATE_salutation'];
}
?>
}
// HEADER FOR PARADIGM
elseif ($_GET['pid'] == "paradigm") {
?>
if ($_GET['cmd'] != 'go') {
echo $lang['PARADIGM_salutation'];
}
?>
}
else {
}
//
// HEADERS END
//
?>
//
// IF WE ARE GOING TO ANALYSE OR GENERATE AND
// TEXT IS SELECTED. WE NEED COMMAND GO.
//
if ($_GET['cmd'] == 'go') {
if ($_GET['pid'] == "paradigm") {
// Processing tool for paradigm generator
include $global['PATH_TO_PARADIGM'];
}
else {
// Processing tool for analyzer and generator
include $global['PATH_TO_LOOKUP'];
}
}
else {
//
// TOOL BODY PAGES START
//
//
// ANALYSE
//
if ($_GET['pid'] == "analyse") { ?>
}
//
// GENERATE
//
elseif ($_GET['pid'] == "generate") {
echo " ";
// STEP 1
if ($_GET['word_class'] == '') {
$wclass = preg_split('/\:/', $lang['GENERATE_word_class']);
?>
}
// STEP 2
else {
?>
} ?>
}
//
// PARADIGM
//
elseif ($_GET['pid'] == "paradigm") {
$wclass = preg_split('/\:/', $lang['PARADIGM_word_class']);
?>
}
//
// TOOL BODY PAGES END
//
?>
} ?>
if ($_GET['pid'] == true) { ?>
} ?>
|
|
|
 |
|
|