Example #1
0
$title = "SolarMonitor Slideshow";
$indexnum = "1";
$dir = "{$arm_data_path}data/{$date}/pngs";
?>

<html>
	<?php 
write_header($date, $title, $this_page);
?>
	<body onload="runSlideShow()">
		<center>
			<table background=common_files/brushed-metal.jpg width=830 border=0 cellpadding=0 cellspacing=0>
				<tr>
					<td background=common_files/brushed-top-big.jpg align=center colspan=3>
						<?php 
write_title($date, $title, $this_page, $indexnum);
?>
					</td>
				</tr>
				<tr>
					<td valign=top align=center>
						<?php 
write_left($date, -1);
?>
					</td>
    				<td>
						<table>
						<tr>
						<td align=center>
						<img src="./common_files/placeholder_681s.png" name="SlideShow" width="681" height="681">
						</td>
Example #2
0
<html>
	<head>
		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="refresh" content="300">
		<title><?php 
print $title;
?>
( Updates dynamically every 5-mins) </title>
		<link rel=stylesheet href="./common_files/arm-style.css" type="text/css">
	</head>
	<body>
		<table width="674" height="575" align=center valign=middle border=0 cellspacing=0 cellpadding=0 border=0>
			<tr>
				<td background=common_files/brushed-metal.jpg align=center>				
					<?php 
write_title($date, $title, $this_page, $indexnum = "1", $type, $width = "95%");
?>
				</td>
			</tr>
			<tr>
				<td align=center>
					&nbsp;<br><img src="<?php 
print $url;
?>
" autostart="true" width="640" height="512" /><br>&nbsp;</a>
				</td>
			</tr>
			<tr>
				<td background=common_files/brushed-metal.jpg align=center>
					<table width=100% border=0>
						<tr>
    */
?>

<html>
	<?php 
write_header($date, $title, $this_page);
?>
	<script language=JavaScript1.2>
	</script>
	<body onload="runSlideShow()">
		<center>
			<table width=780 border=0>
				<tr>
					<td bgcolor=gray align=center colspan=3>
						<?php 
write_title($date, $title, $this_page);
?>
					</td>
				</tr>
				<tr>
					<td bgcolor=gray valign=top align=center>
						<?php 
write_left($date, -1);
?>
					</td>
    				<td>
						<form method="post" action="./user_slideshow_disp.php?date=<?php 
print $date;
?>
">
							<table width=400 border=0>
Example #4
0
} else {
    $title = "No Title Found";
}
?>

<html>
	<?php 
write_header($date, $title, $this_page);
?>
	<body>
		<center>
			<table background=common_files/brushed-metal.jpg width=830 cellpadding=0 cellspacing=0>
				<tr>
					<td background=common_files/brushed-top-big.jpg align=center colspan=3>
						<?php 
write_title($date, $title, $this_page, NULL, $indexnum, 780, $region);
?>
					</td>
				</tr>
				<tr>
					<td valign=top align=center>
						<?php 
write_left($date, $region);
?>
					</td>
					<td bgcolor=white valign=top align=center>
						<?php 
write_region_body($date, $region);
?>
					</td>
					<td valign=top align=center>
Example #5
0
<html>
	<head>
		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="refresh" content="900">
		<title><?php 
print $title;
?>
</title>
		<link rel=stylesheet href="./common_files/arm-style.css" type="text/css">
	</head>
	<body>
		<table background=common_files/brushed-metal.jpg width="620" height="710" align=center valign=middle border=0 cellpadding=0 cellspacing=0>
			<tr>
				<td align=center>
					<?php 
write_title($date, $sub_title, $this_page, $indexnum, $type, $width = "95%", $region);
?>
				</td>
			</tr>
			<tr>
				<td bgcolor=#FFFFFF align=center>
					<?php 
print link_image($url, 604, false);
?>
				</td>
			</tr>
			<tr>
				<td bgcolor=#FFFFFF align=center>
					<table width=100% border=0 cellpadding=0 cellspacing=0>
						<tr>
							<?php 
Example #6
0
?>
<html>
	<head>
		<meta http-equiv="Pragma" content="no-cache">
		<title><?php 
print $title;
?>
</title>
		<link rel=stylesheet href="./common_files/arm-style.css" type="text/css">
	</head>
	<body>
		<table width="670" height="575" align=center valign=middle border=0 cellspacing=0 cellpadding=0>
			<tr>
				<td background=common_files/brushed-metal.jpg align=center>
					<?php 
write_title($date, $title, $this_page, NULL, $indexnum = "1", $width = "100%");
?>
				</td>
			</tr>
			<tr>
				<td align=left valign=top height=100%>
					<br>
					<?php 
$file = "{$arm_data_path}data/{$date}/meta/arm_mmmotd_{$date}.txt";
if (file_exists($file)) {
    //print("<pre>\n");
    print "\n";
    $lines = file($file);
    foreach ($lines as $line) {
        $part_line = $line;
        $count = substr_count($line, "<A");
Example #7
0
?>
<html>
	<head>
		<meta http-equiv="Pragma" content="no-cache">
		<title><?php 
print $title;
?>
</title>
		<link rel=stylesheet href="./common_files/arm-style.css" type="text/css">
	</head>
	<body>
		<table width="670" height="575" align=center valign=middle border=0>
			<tr>
				<td bgcolor=gray align=center>
					<?php 
write_title($date, $title, $this_page, NULL, $width = "100%");
?>
				</td>
			</tr>
			<tr>
				<td align=left valign=top height=100%>
					<br>
					<?php 
$yyyy = substr($date, 0, 4);
//@readfile("http://www.solarmonitor.org/data/${date}/meta/noaa_events_raw_${date}.txt");
@readfile("http://www.sec.noaa.gov/ftpdir/indices/{$yyyy}_events/{$date}events.txt");
//$lines = file_get_contents("http://www.sec.noaa.gov/ftpdir/indices/${yyyy}_events/${date}events.txt");
//print_r($lines);
//foreach($lines as $line)
//{
//	print("$line<br>\n");