";
$meta .= "
";
$meta .= "Macbeth Act 1 Scene 1 by William Shakespeare";
$meta .= '';
$meta .= '';
$meta .= " \n";
$meta .= '';
$meta2 .= '';
$gt = "";
$aa = "";
$tts = "";
if (isset($_GET['thingtosay'])) {
$tts = $_GET['thingtosay'];
}
if (file_exists(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".html")) {
$gt = file_get_contents(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".html");
}
if (file_exists(dirname(__FILE__) . "/aatest" . $suffix . ".html")) {
$aa = file_get_contents(dirname(__FILE__) . "/aatest" . $suffix . ".html");
}
if (file_exists(dirname(__FILE__) . "/aaatest" . $suffix . ".html")) {
$aa = file_get_contents(dirname(__FILE__) . "/aaatest" . $suffix . ".html");
}
if (file_exists(dirname(__FILE__) . "/aaaatest" . $suffix . ".html")) {
$aa = file_get_contents(dirname(__FILE__) . "/aaaatest" . $suffix . ".html");
}
if (file_exists(dirname(__FILE__) . "/aaaaatest" . $suffix . ".html")) {
$aa = file_get_contents(dirname(__FILE__) . "/aaaaatest" . $suffix . ".html");
}
if (file_exists(dirname(__FILE__) . "/aaaaaatest" . $suffix . ".html")) {
$aa = file_get_contents(dirname(__FILE__) . "/aaaaaatest" . $suffix . ".html");
}
if (!isset($_GET['thingtosay']) && $aa == "") { // Python = First Witch
if (file_exists(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".htm")) {
unlink(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".htm");
}
if (file_exists(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".html")) {
unlink(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".html");
}
exec("/usr/bin/python " . dirname(__FILE__) . "/conversation1.py >> " . dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".htm");
file_put_contents(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".html", str_replace($origurl, "./conversation_supervisor.php?stage=" . $stage . "&thingtosay=" . rawurlencode (shorten(file_get_contents("http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . $subplace . "macbeth_act1_scene1" . $suffix . ".htm"))), $meta . $meta2) . file_get_contents(dirname(__FILE__) . "/macbeth_act1_scene1" . $suffix . ".htm") . "