source: trunk/www/dch/download.php@ 20103

Last change on this file since 20103 was 19944, checked in by Daniela Dorner, 5 years ago
improved documentation and updated defaults
File size: 21.8 KB
Line 
1<!DOCTYPE HTML>
2<html>
3<head>
4 <meta name="Author" content="The FACT Group" />
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <title>FACT Project</title>
7
8 <link rel="StyleSheet" type="text/css" href="../../style.css" />
9 <link rel="stylesheet" href="//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">
10 <script src="//code.jquery.com/ui/1.11.0/jquery-ui.js"></script>
11</head>
12<body>
13<?php
14
15function print_popup($text)
16{
17 echo "<script type=\"text/javascript\" language=\"Javascript\">\n";
18 echo "alert(\"".$text."\")\n";
19 echo "</script>\n";
20}
21$maintenance=0;
22#$maintenance=1;
23
24if ($maintenance)
25{
26 echo "<hr>\n <p style='font-size:xx-large'> MAINTENANCE ONGOING </p>\n";
27 echo "<p>check again later...</p>\n<p>\n<hr>\n<p>\n<p>\n";
28}
29
30
31$tables=array(
32 "AnalysisResultsRunLP" => "QLA",
33 "AnalysisResultsRunISDC" => "ISDC",
34 "AnalysisResultsRunCutsLC" => "CutsLC",
35 );
36
37$times=array(
38 "timestamp" => "timestamp [YYYY-MM-DD HH:MM:SS]",
39 "unix" => "unix-timestamp [seconds]",
40 "mjd" => "modified julian date [days]",
41 );
42
43$zdcuts=array(
44 "all" => "all data",
45 "75" => "zd<75",
46 "45" => "zd<45",
47 "35" => "zd<35",
48 "30" => "zd<30",
49 );
50
51$thcuts=array(
52 "all" => "all data",
53 "550" => "th<550",
54 "350" => "th<350",
55 );
56$lights=array(
57 "all" => "all data",
58 "nomoon" => "no moon",
59 "dark" => "only dark night",
60 );
61
62
63$dchs=array(
64 "no" => "all data",
65 "yes" => "apply data check (R750)",
66 );
67
68$rmemptyrows=array(
69 "no" => "all data",
70 "yes" => "remove rows with empty columns",
71 );
72
73$dusts=array(
74 "all" => "all data",
75 "20" => "dust<20",
76 "10" => "dust<10",
77 "1.0" => "dust<1",
78 );
79
80$factorcuts=array(
81 "all" => "all data",
82 "0.1" => "zdfactor * thfactor > 0.1",
83 "0.2" => "zdfactor * thfactor > 0.2",
84 "0.3" => "zdfactor * thfactor > 0.3",
85 "0.4" => "zdfactor * thfactor > 0.4",
86 "0.5" => "zdfactor * thfactor > 0.5",
87 "0.6" => "zdfactor * thfactor > 0.6",
88 "0.7" => "zdfactor * thfactor > 0.7",
89 "0.8" => "zdfactor * thfactor > 0.8",
90 "0.9" => "zdfactor * thfactor > 0.9",
91 );
92
93$timebins=array(
94 "5" => "5 minutes",
95 "10" => "10 minutes",
96 "20" => "20 minutes",
97 "30" => "30 minutes",
98 "40" => "40 minutes",
99 "60" => "1 hour",
100 "90" => "1.5 hours",
101 "120" => "2 hours",
102 "180" => "3 hours",
103 "240" => "4 hours",
104 "300" => "5 hours",
105 "360" => "6 hours",
106 "-1" => "1 night",
107 "-2" => "2 nights",
108 "-3" => "3 nights",
109 "-4" => "4 nights",
110 "-5" => "5 nights",
111 "-6" => "6 nights",
112 "-7" => "7 nights",
113 "-10" => "10 nights",
114 "00" => "period",
115 );
116
117$timebinsext=array(
118 "20" => "20 minutes",
119 "-1" => "1 night",
120 );
121
122// get/define initial values
123
124if (!empty($_POST["start"]))
125 $start=$_POST["start"];
126
127if (!empty($_POST["stop"]))
128 $stop=$_POST["stop"];
129
130if (!empty($_POST["dch"]))
131 $dch=$_POST["dch"];
132else
133 $dch="yes";
134
135if (!empty($_POST["dust"]))
136 $dust=$_POST["dust"];
137else
138 $dust="novalue";
139
140if (!empty($_GET["expert"]))
141 $_POST["expert"]=$_GET["expert"];
142
143if (!empty($_POST["expert"]))
144 $expert=$_POST["expert"];
145else
146 $expert="no";
147
148if (!empty($_POST["email"]))
149 $email=$_POST["email"];
150else
151 $email="";
152
153if (!empty($_POST["light"]))
154 $light=$_POST["light"];
155else
156 $light="novalue";
157
158if (!empty($_POST["source"]))
159 $source=$_POST["source"];
160else
161 $source=-1;
162
163if (!empty($_POST["timebin"]))
164 $timebin=$_POST["timebin"];
165else
166 $timebin="novalue";
167
168if (!empty($_POST["time"]))
169 $time=$_POST["time"];
170else
171 $time="novalue";
172
173if (!empty($_POST["factorcut"]))
174 $factorcut=$_POST["factorcut"];
175else
176 $factorcut="0.3";
177
178if (!empty($_POST["table"]))
179 $table=$_POST["table"];
180else
181 $table="AnalysisResultsRunLP";
182
183if (!empty($_POST["rmemptyrow"]))
184 $rmemptyrow=$_POST["rmemptyrow"];
185else
186 $rmemptyrow="novalue";
187
188if (!empty($_POST["th"]))
189 $th=$_POST["th"];
190else
191 $th="novalue";
192
193if (!empty($_POST["zd"]))
194 $zd=$_POST["zd"];
195else
196 $zd="novalue";
197
198if (!empty($_POST["crabflux"]))
199 $crabflux=$_POST["crabflux"];
200else
201 $crabflux="-";
202
203//variable for non-combinable date/source
204$warn="";
205
206
207include ("db.php");
208$db_id = mysql_connect($host, $user, $pw);
209mysql_select_db($db);
210
211ini_set("display_errors", "On");
212ini_set("mysql.trace_mode", "On");
213
214echo "<h1><u>FACT Quick Look Analysis - Download Area</u></h1>\n";
215//echo "<hr>\n";
216echo "<h2>Data Usage Policy</h2>\n";
217
218if ($expert=="yes")
219{
220 echo "As a member or associated member of the FACT Collaboration, you have access to internal information.<br>\n";
221 echo "Any publication using FACT internal information has to have the full FACT author list.<br><br>\n";
222}
223else
224{
225 echo "<b>Using data from the FACT Quick Look Analysis, you agree to cite the FACT design paper (H. Anderhub et al. JINST 8 P6008) ";
226// echo "<a target='_blank' href='http://iopscience.iop.org/1748-0221/8/06/P06008'>FACT design paper</a>\n ";
227 echo "and the quick look analysis (https://fact-project.org/monitoring).</b>\n";
228 echo "<br><br>\n \n ";
229 echo "<u>References:</u>\n";
230 echo "<ul>\n";
231 echo "<li>Website Quick Look Analysis: <a target='_blank' href='https://fact-project.org/monitoring'>https://fact-project.org/monitoring </a></li>\n";
232 echo "<li>FACT Design Paper: H. Anderhub et al. JINST 8 P6008 <a target='_blank' href='http://adsabs.harvard.edu/abs/2013JInst...8P6008A'>ADS</a>\n ";
233 echo "<a target='_blank' href='http://iopscience.iop.org/1748-0221/8/06/P06008'>open access</a>\n</li>\n";
234 echo "<li>FACT Performance Paper: A. Biland et al. JINST 9 P10012 <a target='_blank' href='http://adsabs.harvard.edu/abs/2014JInst...9P0012B'>ADS</a>\n ";
235 echo "<a target='_blank' href='http://iopscience.iop.org/1748-0221/9/10/P10012/'>open access</a>\n</li>\n";
236 echo "<li>Information on the Quick Look Analysis: D. Dorner et al. Proceedings Fermi Symposium 2014 <a target='_blank' href='http://adsabs.harvard.edu/abs/2015arXiv150202582D'>ADS</a>\n ";
237 echo "<a target='_blank' href='https://arxiv.org/pdf/1502.02582v1.pdf'>open access</a>\n</li>\n";
238 echo "</ul>\n";
239}
240
241
242echo "If you intend to use data or information from this website, please let us know for reference.<br>\n";
243
244
245//echo "<hr>\n";
246echo "<form name='formular' action='download.php' METHOD='POST'>\n";
247
248//$query="SELECT fSourceKey, fSourceName, (SELECT COUNT(*) FROM ".$_POST["table"]." LEFT JOIN RunInfo USING(fNight, fRunID) WHERE fRunTypeKey=1 AND RunInfo.fSourceKey=Source.fSourceKey) AS num FROM Source WHERE fSourceTypeKey=1";
249$query="SELECT fSourceKey, fSourceName, COUNT(*) AS num FROM RunInfo LEFT JOIN Source USING(fSourceKey) WHERE fSourceTypeKey=1 AND fRunTypeKey=1 GROUP BY fSourceKey ORDER BY num DESC";
250//echo $query."<br>";
251
252$sources=array();
253$result=mysql_query($query);
254while ($row = mysql_fetch_row($result))
255 $sources[$row[0]]=$row[1];
256mysql_free_result($result);
257
258//$query="SELECT Min(fNight), Max(fNight) FROM ".$_POST["table"];
259$query="SELECT Min(fNight), Max(fNight) FROM RunInfo";
260//echo $query."<br>";
261
262$result=mysql_query($query);
263while ($row = mysql_fetch_row($result))
264{
265 if (empty($start))
266 $start=$row[0];
267 if (empty($stop))
268 $stop=$row[1];
269}
270mysql_free_result($result);
271
272if (strpos($email, "@")!= false && $source<0)
273 print_popup("Please select a source.");
274
275if (strpos($email, "@")!= false && $time=="novalue")
276 print_popup("Please select a time format.");
277
278if (strpos($email, "@")!= false && $timebin=="novalue")
279 print_popup("Please select a time binning.");
280
281if (empty($email) && $time!="novalue" && $timebin!="novalue" && $source>0)
282 print_popup("Please provide an email address.");
283
284
285if (strpos($email, "@")!= false && empty($_POST["emailcopy"]))
286 print_popup("Please agree that a copy of the email is stored.");
287
288
289if (strpos($email, "@")!= false && $source>0 && !empty($_POST["emailcopy"]))
290{
291 //echo "<h2>Sending data...</h2>\n";
292 //print_popup("Sent email to ".$email." containing the data of ".$sources[$source]." from ".$start." till ".$stop." for ".$timebins[$timebin]." binning.");
293 print_popup("Email with data sent to ".$email);
294 if ($maintenance)
295 echo $start." ".$stop." ".$source." ".$timebin." ".$email." ".$table." ".$time." ".$expert." ".$dch." ".$zd." ".$th." ".$light." ".$dust." ".$rmemptyrow." ".$factorcut." ".$crabflux."<br>\n";
296 $sent=shell_exec("/users/fact/SW.automatic.processing/DataCheck/Tools/get_data.sh ".$start." ".$stop." ".$source." ".$timebin." ".$email." ".$table." ".$time." ".$expert." ".$dch." ".$zd." ".$th." ".$light." ".$dust." ".$rmemptyrow." ".$factorcut." ".$crabflux);
297 echo $sent;
298 if (!empty($_POST["newsletter"]))
299 {
300 $query_interested="SELECT * FROM memberlist.interested WHERE email='".$email."'";
301 $result_interested=mysql_query($query_interested);
302 //echo "num rows: ".mysql_num_rows($result_interested)."<br>\n";
303 //while ($row = mysql_fetch_row($result_interested))
304 // echo $row[0]." ".$row[1]." ".$row[2]." ".$row[3]."<br>\n";
305 if (mysql_num_rows($result_interested)>0)
306 $query_interested="UPDATE ";
307 else
308 $query_interested="INSERT ";
309 $query_interested.=" memberlist.interested SET date=NOW(), email='".$email."'";
310 if (mysql_num_rows($result_interested)>0)
311 $query_interested.=" WHERE email='".$email."'";
312 //echo $query_interested;
313 mysql_free_result($result_interested);
314 $result_interested=mysql_query($query_interested);
315 if ($maintenance)
316 echo "num affected rows: ".mysql_affected_rows()."<br>\n";
317 }
318}
319
320//#DFE6FA #CDD7F4
321echo "<br>\n<div style='background-color: #DFE6FA; padding-left: 20px; padding-right: 20px; padding-top: 1px; padding-bottom: 10px; border: 3px solid #394979; border-radius: 20px'>\n";
322echo "<h2>Select here the settings for your data sample:</h2>\n";
323
324// SOURCE
325echo "<select name='source' size='1'>\n";
326if ($source == -1)
327 printf("<option value='-1' selected>Select Source</option>\n");
328else
329 printf("<option value='-1'>Select Source</option>\n");
330foreach ($sources as $key => $sourcename)
331{
332 if ($source==$key)
333 printf("<option value='%s' selected>%s</option>\n", $key, $sourcename);
334 else
335 printf("<option value='%s'>%s</option>\n", $key, $sourcename);
336}
337echo "</select><sup>*</sup>\n";
338
339// Time Format
340echo "<select name='time' size='1'>\n";
341if ($time == "")
342 printf("<option value='novalue' selected>Select Time Format</option>\n");
343else
344 printf("<option value='novalue'>Select Time Format</option>\n");
345foreach ($times as $key => $name)
346{
347 if ($time == $key)
348 printf("<option value='%s' selected>%s</option>\n", $key, $name);
349 else
350 printf("<option value='%s'>%s</option>\n", $key, $name);
351}
352echo "</select><sup>*</sup>\n ";
353
354// Binning
355echo "<select name='timebin' size='1'>\n";
356if ($timebin == "novalue")
357 printf("<option value='novalue' selected>Select Binning</option>\n");
358else
359 printf("<option value='novalue'>Select Binning</option>\n");
360if ($expert != "yes")
361 $timebins=$timebinsext;
362foreach ($timebins as $key => $name)
363{
364 if ($timebin == $key)
365 printf("<option value='%s' selected>%s</option>\n", $key, $name);
366 else
367 printf("<option value='%s'>%s</option>\n", $key, $name);
368}
369echo "</select><sup>*</sup>\n";
370echo "<br>\n";
371
372printf("Time Range: from <input name='start' type='text' size='8' maxlength='8' value='%s'> \n", $start);
373printf("to <input name='stop' type='text' size='8' maxlength='8' value='%s'> \n ", $stop);
374//echo "<input class='Width' type='button' value='Reset' onClick='self.location.href=\"download.php\"'><br>\n";
375echo "<input class='Width' type='button' value='Reset' onClick='self.location.href=\"download.php";
376if ($expert == "yes")
377 echo "?expert=yes";
378echo "\"'><br>\n";
379
380if ($expert == "yes")
381{
382 echo "<h2>Further settings for internal use: </h2>\n";
383 echo "<input type='hidden' name='expert' value='yes'>\n";
384
385 echo "Select Analysis: <select name='table' size='1'>\n";
386 foreach ($tables as $key => $name)
387 {
388 if ($table == $key)
389 printf("<option value='%s' selected>%s</option>\n", $key, $name);
390 else
391 printf("<option value='%s'>%s</option>\n", $key, $name);
392 }
393 echo "</select><br>\n";
394
395 echo "Cuts: \n";
396 //DATACHECK
397 echo "<select name='dch' size='1'>\n";
398 if ($dch == "novalue")
399 printf("<option value='novalue' selected>Select DataCheck</option>\n");
400 else
401 printf("<option value='novalue'>Select DataCheck</option>\n");
402 foreach ($dchs as $key => $name)
403 {
404 if ($dch == $key)
405 printf("<option value='%s' selected>%s</option>\n", $key, $name);
406 else
407 printf("<option value='%s'>%s</option>\n", $key, $name);
408 }
409 echo "</select>\n ";
410
411 //DUST
412 echo "<select name='dust' size='1'>\n";
413 if ($dust == "novalue")
414 printf("<option value='novalue' selected>Select Calima-Cut</option>\n");
415 else
416 printf("<option value='novalue'>Select Calima-Cut</option>\n");
417 foreach ($dusts as $key => $name)
418 {
419 if ($dust == $key)
420 printf("<option value='%s' selected>%s</option>\n", $key, $name);
421 else
422 printf("<option value='%s'>%s</option>\n", $key, $name);
423 }
424 echo "</select>\n ";
425
426 //ZD
427 echo "<select name='zd' size='1'>\n";
428 if ($zd == "novalue")
429 printf("<option value='novalue' selected>Select Zd-Cut</option>\n");
430 else
431 printf("<option value='novalue'>Select Zd-Cut</option>\n");
432 foreach ($zdcuts as $key => $name)
433 {
434 if ($zd == $key)
435 printf("<option value='%s' selected>%s</option>\n", $key, $name);
436 else
437 printf("<option value='%s'>%s</option>\n", $key, $name);
438 }
439 echo "</select>\n ";
440
441 //TH
442 echo "<select name='th' size='1'>\n";
443 if ($th == "novalue")
444 printf("<option value='novalue' selected>Select Threshold-Cut</option>\n");
445 else
446 printf("<option value='novalue'>Select Threshold-Cut</option>\n");
447 foreach ($thcuts as $key => $name)
448 {
449 if ($th == $key)
450 printf("<option value='%s' selected>%s</option>\n", $key, $name);
451 else
452 printf("<option value='%s'>%s</option>\n", $key, $name);
453 }
454 echo "</select>\n ";
455
456 echo "<select name='light' size='1'>\n";
457 if ($light == "novalue")
458 printf("<option value='novalue' selected>Select Light-Condition-Cut</option>\n");
459 else
460 printf("<option value='novalue'>Select Light-Condition-Cut</option>\n");
461 foreach ($lights as $key => $name)
462 {
463 if ($light == $key)
464 printf("<option value='%s' selected>%s</option>\n", $key, $name);
465 else
466 printf("<option value='%s'>%s</option>\n", $key, $name);
467 }
468 echo "</select>\n";
469
470 echo "<select name='factorcut' size='1'>\n";
471 if ($factorcut == "novalue")
472 printf("<option value='novalue' selected>Select Factor-Cut</option>\n");
473 else
474 printf("<option value='novalue'>Select Factor-Cut</option>\n");
475 foreach ($factorcuts as $key => $name)
476 {
477 if ($factorcut == $key)
478 printf("<option value='%s' selected>%s</option>\n", $key, $name);
479 else
480 printf("<option value='%s'>%s</option>\n", $key, $name);
481 }
482 echo "</select>\n";
483
484 echo "<select name='rmemptyrows' size='1'>\n";
485 if ($rmemptyrow == "novalue")
486 printf("<option value='novalue' selected>Empty Rows (data w/o zd/th info lack corr. fluxes)</option>\n");
487 else
488 printf("<option value='novalue'>Empty Rows (data w/o zd/th info lack corr. fluxes)</option>\n");
489 foreach ($rmemptyrows as $key => $name)
490 {
491 if ($rmemptyrow == $key)
492 printf("<option value='%s' selected>%s</option>\n", $key, $name);
493 else
494 printf("<option value='%s'>%s</option>\n", $key, $name);
495 }
496 echo "</select>\n <br>\n";
497 printf("Custom conversion factor to flux: <input name='crabflux' type='text' size='4' maxlength='4' value='%s'>[10^-11 ph/s/cm2] <br>\n", $crabflux);
498}
499
500echo "<h2>Get data:</h2>\n";
501
502echo "Provide your email address to receive the data: \n";
503printf("<input name='email' type='text' size='20' maxlength='50' value='%s'><sup>*</sup>\n<br>\n", $email);
504
505if (empty($_POST["emailcopy"]))
506 echo "<input type='checkbox' name='emailcopy'><sup>*</sup> I agree that a copy of the email is stored for the statistical evaluation of data requests.<br>\n";
507else
508 echo "<input type='checkbox' name='emailcopy' checked><sup>*</sup> I agree that a copy of the email is stored for the statistical evaluation of data requests.<br>\n";
509if (empty($_POST["newsletter"]))
510 echo "<input type='checkbox' name='newsletter'> I would like to receive updates on the data and agree that my email address is stored for this purpose.<br><br>\n";
511else
512 echo "<input type='checkbox' name='newsletter' checked> I would like to receive updates on the data and agree that my email address is stored for this purpose.<br><br>\n";
513
514echo "Clicking on the button, you agree to the data usage policy: <br><br>\n";
515//echo "Clicking on the button, you agree to the data usage policy and that a copy of my email is stored: <br><br>\n";
516echo "<input type='button' style='width: 250px; height: 40px; font-size: 22px; ' value='Send data by Email' onClick='submit()'><br>\n";
517//border: 3px solid #394979; border-radius: 10px
518echo "<sup>*</sup> required<br>\n";
519
520
521echo "</form>\n";
522echo "</div>\n";
523//echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* required<br>\n";
524
525echo "<h2>Remarks:</h2> ";
526
527
528if ($expert=="yes")
529{
530 echo "<ul>\n";
531 echo "<li>The correction formula to correct the excess rate for the effects of zd and threshold is not yet final.</li>\n";
532 //echo "<li>The CU conversion is currently only valid for QLA and until summer 2016.</li>\n";
533 echo "<li>The data quality selection based on the artificial trigger rate R750 \n";
534 echo "<ul>\n";
535 echo "<li>might not work for all data (effect of lidar).</li>\n";
536 echo "<li>might not be available for the newest data (reference value needs to be determined).</li>\n";
537 echo "</ul></li>\n";
538 echo "<li>Not for all data dust measurements are available.</li>\n";
539 echo "<li>Empty columns: Be aware that no corrected rates and fluxes can be calculated if the zenith distance and/or threshold are missing.</li>\n";
540 echo "<li>Conversion factors:<br>\n";
541 echo "<ul>\n";
542 echo "<li>Be aware that the conversion factors to flux are for a slope of -2.63. If your source has a different spectrum, ";
543 echo "the conversion factor has to be adapted because of a changing energy threshold.</li>\n";
544 echo "<li>For the conversion factors the Crab spectrum from the PL of the HESS publication in 2006 has been used.</li>\n";
545 echo "<li>If you use a custom conversion factor to flux, make sure that it is consistent with the analysis you choose.</li>\n";
546 echo "</ul></li>\n";
547 echo "</ul>";
548}
549else
550{
551 echo "<ul>\n";
552 //echo "<li>The results shown on this page are <b><i>PRELIMINARY</i></b>.</li>";
553 echo "<li>These are the results of a <b>fast quick look analysis</b> on site, i.e. they are <b>preliminary</b>.</li>\n";
554 echo "<li>The quick look analysis includes all data, i.e. no data selection done.</li>\n";
555 //echo "<li><b>NO data check</b> is included in the analysis.</li>";
556 echo "<li>The shown curves are not fluxes but <b>excess rates</b> (number of excess events per effective ontime), \n";
557 echo "i.e. there is a dependence on trigger threshold and zenith distance of the observation (with the current \n";
558 echo "analysis for zenith distance > 40 degree and trigger threshold > 500 DAC counts).</li>\n";
559 //echo "i.e. a dependence on trigger threshold and zenith distance of the observation is expected ";
560 //echo "for zenith distance larger than 40 degree and very strong moon light.</li>";
561 //echo "<li><b>NO corrections</b> for the dependence on zenith distance and trigger threshold of the observation are applied so far.</li>";
562 //echo "<li>This webpage shows the <b>excess rates</b> (black), i.e. number of excess events ";
563 //echo "(signal minus background in the signal region) devided by the ontime of the observation, ";
564 //echo "and the <b>background rates</b> (blue), i.e. number of background events devided by ontime. </li>";
565 echo "<li>The curves are provided with 20 min binning and nightly binning.</li>\n";
566 echo "<li>In case, you need further details about the data or a different binning, please do not hesitate to contact us.</li>\n";
567 echo "<li>QLA results are available for the data since 12.12.2012. For older data, please contact us.</li>\n";
568 echo "<li>New software versions were introduced at the following dates: 24.5.2014</li>\n";
569 echo "</ul>\n";
570 echo "In case you are interested in more than the public data, please contact us.\n";
571}
572
573echo "<h2>Contact</h2>";
574echo "<i>qla&lt;at&gt;fact-project.org</i><br>";
575//echo "You acknowledge these regulations by clicking on the 'Show' button.</b></big> <br><br><br>";
576
577/*
578$ranges=array(
579// "5min" => " 5 min",
580// "10min" => "10 min",
581 "20min" => "20 min",
582 "30min" => "30 min",
583 "40min" => "40 min",
584 "60min" => "60 min",
585 "90min" => "90 min",
586 "120min" => "120 min",
587 "180min" => "180 min",
588 "240min" => "240 min",
589 "300min" => "300 min",
590 "360min" => "360 min",
591// "0001nights" => "1 night",
592// "0002nights" => "2 nights",
593// "0004nights" => "4 nights",
594// "0008nights" => "8 nights",
595// "0016nights" => "16 nights",
596 );
597
598echo "</body>";
599echo "</html>";
600*/
601//$dom = new DOMDocument();
602//$dom->loadHTML("download.php");
603//echo $dom->getElementById("logged");
604
605?>
606</body>
607</html>
Note: See TracBrowser for help on using the repository browser.