\n"; echo " \n"; if (!isset($_GET['desc']) && !isset($_POST['desc'])) { echo " \n"; } else { echo " \n"; } echo "

" . $GETtitle . " Timeline Chart

\n"; ?>
Another timeline chart? ' . "\n " . " function later() { \n" . ' var datalineprefix = " "; ' . "\n"; echo ' var datalinesuffix = ""; ' . "\n"; echo ' var extra = ""; ' . "\n"; echo ' var bits = ""; ' . "\n"; echo ' var task = ""; ' . "\n"; echo ' var ict = 0; ' . "\n"; echo ' var thisline = 1; ' . "\n"; echo ' var totalleft = 100.0; ' . "\n"; echo ' var title = prompt("Enter Timeline Chart Title (suffix by &onclick=y for added onclick functionality)", "US President"); ' . "\n"; echo ' if (title != null) { ' . "\n"; echo ' ttitle = title; ' . "\n" . ' task = prompt("Enter Number of " + title, "0"); ttask = task; ' . "\n"; echo ' if (task == null) { ' . "\n"; echo ' title = title; ' . "\n"; echo ' } else if (task != "0" && task.indexOf("-") == -1 && (task.length == 1 || task.length == 2)) { ' . "\n"; echo ' bits = "
Click here to Show Chart when All Filled out Below ...
";' . "\n"; echo ' num = task;' . "\n" . 'while (ict != task) { ' . "\n"; echo ' bits = bits + "";' . "\n"; echo ' ict = ict + 1;' . "\n"; echo ' bits = bits + "";' . "\n"; echo ' bits = bits + "";' . "\n"; echo ' bits = bits + "";' . "\n"; echo ' bits = bits + "";' . "\n"; //echo ' alert(ict + " -- " + bits);' . "\n"; echo ' } ' . "\n"; echo ' } else { alert("Can only handle 99 or less."); window.location = "./timeline_chart.php"; }' . "\n"; echo ' bits = bits + "
From" + title + "To
";' . "\n"; //echo ' alert(bits);' . "\n"; echo ' var ct = document.getElementById("calendar_table"); ' . "\n"; echo ' ct.innerHTML = bits;' . "\n"; //echo ' alert(ct.innerHTML);' . "\n"; echo ' if (ict != 0) { ict = 0; ' . "\n"; echo ' while (ict != task) { ' . "\n"; echo ' ict = ict + 1;' . "\n"; echo ' cals1(ict,0);' . "\n"; echo ' } } ' . "\n"; echo ' } ' . "\n"; echo "} \n" . '' . "\n"; } ?>