10c10
<
Reservations - RJM Programming - http://www.rjmprogramming.com.au (Copyright © 2013 rjmprogramming.com.au all rights reserved.)
---
> Timeline Chart - RJM Programming - http://www.rjmprogramming.com.au (Copyright © 2013 rjmprogramming.com.au all rights reserved.)
30c30
< $GETtitle = "My Place";
---
> $GETtitle = "US President";
32,33c32,33
< $GETdesc = "Reservations";
< $GETdata = '[ "Mr and Mrs Smith", new Date(2016, 0, 29), new Date(2016, 0, 31) ],[ "Ms Adams", new Date(2016, 1, 3), new Date(2016, 1, 12) ],[ "Mr Jefferson", new Date(2016, 1, 13), new Date(2016, 1, 27) ]';
---
> $GETdesc = "President";
> $GETdata = '[ "Washington", new Date(1789, 3, 29), new Date(1797, 2, 3) ],[ "Adams", new Date(1797, 2, 3), new Date(1801, 2, 3) ],[ "Jefferson", new Date(1801, 2, 3), new Date(1809, 2, 3) ]';
116,122d115
<
< function fixremail() {
< var re=document.getElementById('remail');
< if (re != null) re.innerHTML=re.innerHTML.replace(' Google Chart', ' Reservations');
< re=document.getElementById('zmenu');
< if (re != null) re.style.display='none';
< }
141c134
< window.location = "./reservation.php?title=" + ttitle.replace("'", "~~").replace('"', '~') + "&desc=" + ttitle.replace("'", "~~").replace('"', '~') + "&data=" + dt.replace("'", "~~").replace('"', '~');
---
> window.location = "./timeline_chart.php?title=" + ttitle.replace("'", "~~").replace('"', '~') + "&desc=" + ttitle.replace("'", "~~").replace('"', '~') + "&data=" + dt.replace("'", "~~").replace('"', '~');
147c140
< echo " " . $GETtitle . " Reservations
\n";
---
> echo " " . $GETtitle . " Timeline Chart
\n";
151c144
< Another Set of Reservations?
---
> Another timeline chart?
163c156
< echo ' var title = prompt("Enter Reservations Title", "My Place"); ' . "\n";
---
> echo ' var title = prompt("Enter Timeline Chart Title", "US President"); ' . "\n";
166c159
< echo ' ttitle = title; ' . "\n" . ' task = prompt("Enter Number of " + title + " Reservations", "0"); ttask = task; ' . "\n";
---
> echo ' ttitle = title; ' . "\n" . ' task = prompt("Enter Number of " + title, "0"); ttask = task; ' . "\n";
172c165
< echo ' bits = "
Click here to Show Reservations Timeline when All Filled out Below ...
| From | Description | To |
";' . "\n";
---
> echo ' bits = "
Click here to Show Chart when All Filled out Below ...
| From | " + title + " | To |
";' . "\n";
184c177
< echo ' } else { alert("Can only handle 99 or less."); window.location = "./reservation.php"; }' . "\n";
---
> echo ' } else { alert("Can only handle 99 or less."); window.location = "./timeline_chart.php"; }' . "\n";
201d193
<