= 3) { if ($infind == "") { $selin = explode("", $sels[2]); $xsel = explode(">", $selin[0]); $ih = str_replace(($xsel[0] . ">"), "", $selin[0]); return ""; } else { $selin = explode("", $sels[2]); $xsel = explode(">", $selin[0]); $ih = str_replace(($xsel[0] . ">"), "", $selin[0]); $newih = ""; $lotsnewih = explode("", $ih); for ($i=0; $i" . $infind . " ") !== false) $newih = str_replace("", "" . str_replace("MyNew-", $infind . "MyNew-", $lotsnewih[$i]) . "", $newih); } return ""; } } return ""; } if (isset($_GET['show'])) { if (file_exists("../PHP/" . $_SERVER['REMOTE_ADDR'] . "_courses.html")) { $bodyi = ""; } } if (isset($_POST['coursename'])) { $tuts = explode(",", $_POST['coursesq']); $ltuts = explode(",", $_POST['courselsq']); $prev = ""; $next = ""; $first = "http://www.rjmprogramming.com.au/wordpress/?p=" . $tuts[0]; for ($i=0; $i", "" . $_POST['coursename'] . "", file_get_contents("../PHP/" . $_SERVER['REMOTE_ADDR'] . "_courses.html"))); } else { file_put_contents("../PHP/" . $_SERVER['REMOTE_ADDR'] . "_courses.html", "Ask About Course
" . $_POST['coursename'] . "
"); } echo "Ask About Course" . $bodyi . "

Course Designer

Thanks for your " . $_POST['coursename'] . " Course Design

" . str_replace("ChangeTutNow(this);", " var ahuh=this.value.split(\"=\"); location.href = \"./design_a_course.php?topic=\" + ahuh[ahuh.length - 1]; ", via("")) . "


" . ""; } else if (isset($_GET['topic'])) { $pretopics = explode("title=", $_GET['topic']); $topics = explode(" ", str_replace("_", " ", $pretopics[sizeof($pretopics) - 1])); $thetopic = $topics[0]; echo "Ask About Course" . $bodyi . "

" . $thetopic . " Course Designer


Course Name:
" . str_replace("ChangeTutNow(this);", " var ahuh=this.value.split(\"=\"); if (ahuh[ahuh.length - 1] != \"\") { var bhuh=ahuh[1].split(\"&\"); document.getElementById(\"coursesq\").value = document.getElementById(\"coursesq\").value + comma + bhuh[0]; document.getElementById(\"courselsq\").value = document.getElementById(\"courselsq\").value + comma + ahuh[ahuh.length - 1].replace(/_/g, \" \"); document.getElementById(\"sofar\").innerHTML = document.getElementById(\"sofar\").innerHTML + \"<\" + \"br\" + \">\" + ahuh[ahuh.length - 1].replace(/_/g, \" \"); document.getElementById(\"topic\").innerHTML = document.getElementById(\"topic\").innerHTML.replace(ahuh[ahuh.length - 1],\"\").replace(ahuh[ahuh.length - 1],\"\"); comma=\",\"; } ", via($topics[0])) . "


" . ""; } else { echo "Ask About Course" . $bodyi . "

Course Designer

" . str_replace("ChangeTutNow(this);", " var ahuh=this.value.split(\"=\"); location.href = \"./design_a_course.php?topic=\" + ahuh[ahuh.length - 1]; ", via("")) . "


" . ""; } ?>