-
Notifications
You must be signed in to change notification settings - Fork 0
/
step01.php
executable file
·66 lines (52 loc) · 2.02 KB
/
step01.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<HTML>
<HEAD>
<script type="text/javascript" src="js/form_widget_editable_select.js"></script>
<script type="text/javascript" src="js/tab-view.js"></script>
<style type='text/css'>
.selectBoxArrow {
position: relative;
left: -4px;
top: 2px;
}
</style>
</HEAD>
<BODY>
<FONT style="font-family: Arial, Helvetica, sans-serif;">
<p><span style="border-bottom: 3px solid #FF3300;">
Enter <i>ExperimentName</i> directory
</span>
<ul><small>
<li>http://vesg.ipsl.upmc.fr/thredds/catalog/work_thredds/YourLogin/TagName/SpaceName/ExperimentName
<li>http://prodn.idris.fr/thredds/catalog/ipsl_public/YourLogin/TagName/SpaceName/ExperimentName
</ul>
</small>
</p>
<form name="formstep01" method="post" action="step02.php" target="step02">
<input type="text" name="url" style="width: 1000px; font-family: Arial, Helvetica, sans-serif;"
<?php
if (isset($_COOKIE['url'])) {
print("value=\"".$_COOKIE['url']."\"");
print("selectBoxOptions=\"".$_COOKIE['url'].";http://vesg.ipsl.upmc.fr/thredds/catalog/work_thredds/p86caub/IPSLCM6/DEVT/piControl;http://prodn.idris.fr/thredds/catalog/ipsl_public/rpsl003/IPSLCM5A/DEVT/pdControl\"");
} else {
print("value=\"http://vesg.ipsl.upmc.fr/thredds/catalog/work_thredds/p86caub/IPSLCM6/DEVT/pdControl\"");
print("selectBoxOptions=\"http://vesg.ipsl.upmc.fr/thredds/catalog/work_thredds/p86caub/IPSLCM6/DEVT/piControl;http://prodn.idris.fr/thredds/catalog/ipsl_public/rpsl003/IPSLCM5A/DEVT/pdControl\"");
}
?>
>
<p>
<input type="submit" value="List directories" name="list"
onclick="parent.showTab('dhtmlgoodies_tabView1',1);"
style="font-family: Arial, Helvetica, sans-serif;"
title="List all directories from the given URL">
<input type="submit" value="Append directories" name="append"
onclick="parent.showTab('dhtmlgoodies_tabView1',1);"
style="font-family: Arial, Helvetica, sans-serif;"
title="Append to the list all directories from the given URL">
</p>
</form>
<script type="text/javascript">
createEditableSelect(document.forms['formstep01'].url);
</script>
</FONT>
</BODY>
</HTML>