File "view_new.php"
Full path: /www/shimooguni/view_new.php
File size: 6.8 KiB (6960 bytes)
MIME-type: text/x-php
Charset: utf-8
<?php
//===============================================
// CommonUtilities
// 備考 :
// 更新 : 2012/11/29 KMK-Teraoka
//===============================================
$SCRIPT_TITLE = "簡易気象";
$PENTA_OCEAN = "五洋建設株式会社";
$TAIL_PENTA_OCEAN = "penta-ocean";
$imgFileName = "view_map.php";
//===============================================
// HTML-HEAD-
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
print "<html>";
print "<head>";
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">";
//print "<meta http-equiv=\"Refresh\" content=\"6000\">";
print "<title>". $SCRIPT_TITLE. "</title>";
print "<style type=\"text/css\">";
print "html {font-size: 80%; font-family:\"MS ゴシック\"; overflow-y:scroll;}";
print "table {font-size: 100%; font-family:\"MS ゴシック\"; text-align:center;}";
print "input {font-size: 100%; font-family:\"MS ゴシック\";}";
print "select {font-size: 100%; font-family:\"MS ゴシック\";}";
print "pre {font-size: 100%; font-family:\"MS ゴシック\";}";
print "</style>";
print "<SCRIPT LANGUAGE='JavaScript'>";
print "function RefreshImg()";
print "{";
print "uniq = new Date();";
print "uniq = \"?\"+uniq.getTime();";
print "newImage = document.imgToLoad.src;";
print "index = newImage.indexOf(\"?\", 0);";
print " if (index > 0)";
print " {";
print " newImage = newImage.substr(0, index);";
print " }";
print " document.imgToLoad.src = 'view_map.php'+uniq;";
print "}";
print "</SCRIPT>";
print "</head>";
//===============================================
// HTML-BODY部開始-
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
print "<body>";
// ===============================================
// 上で保存した画像を表示
// 備考 :
// 更新 : 2010/09/08 KMK T.Teraoka
// ===============================================
//if(isset($_POST["username"])) setcookie("username", $_POST["username"], time()+120);
//print "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">";
//print "<tr bgcolor=\"#FFFFFF\">";
//print "<td >";
print "<IMG SRC='" .$imgFileName ."' usemap='#map_1' ALT='LiveCamera' name=imgToLoad onload='setTimeout(\"RefreshImg()\", 1000)' onerror='setTimeout(\"RefreshImg()\", 5000)' onabort='setTimeout(\"RefreshImg()\", 10000)' id=imgToLoad naturalsizeflag=0 \">";
//print "<IMG SRC='" .$imgFileName ."' ALT='LiveCamera' name=imgToLoad onload='setTimeout(\"RefreshImg()\", 3000)' onerror='setTimeout(\"RefreshImg()\", 5000)' onabort='setTimeout(\"RefreshImg()\", 10000)' id=imgToLoad naturalsizeflag=0>";
// print "<IMG SRC='" .$imgFileName ."?t=" .time() ."' ALT='LiveCamera' name=imgToLoad onload='setTimeout(\"RefreshImg()\", 3000)' onerror='setTimeout(\"RefreshImg()\", 5000)' onabort='setTimeout(\"RefreshImg()\", 10000)' id=imgToLoad naturalsizeflag=0 width=\"755\" height=\"455\">";
//print "</td>";
//print "</tr>";
//print "</table>";
/*
print "<map name='map_1'>";
print "<area shape='rect'";
print "coords='175,25,325,45'";
print "href='http://genkai.i-con.xyz/genkai/view_wind.php?time=daily' alt='風向・風速データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='365,10,490,30'";
print "href='http://genkai.i-con.xyz/genkai/view_rain.php?time=daily' alt='雨量データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='200,315,325,335'";
print "href='http://genkai.i-con.xyz/genkai/view_lnclination.php?time=daily' alt='傾斜計データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='355,365,570,385'";
print "href='http://genkai.i-con.xyz/genkai/view_water.php?time=daily&id=1' alt='W2水質計データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='440,475,630,495'";
print "href='http://genkai.i-con.xyz/genkai/view_water.php?time=daily&id=2' alt='W3水質計データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='638,185,667,197'";
//print "href='http://genkai.i-con.xyz/genkai/view_dust.php?time=daily&id=2' alt='E1粉塵データ表示' target='_blank'>";
//print "<area shape='rect'";
//print "coords='638,199,667,243'";
//print "href='http://genkai.i-con.xyz/genkai/view_vib.php?time=daily&id=2' alt='E1振動データ表示' target='_blank'>";
//print "<area shape='rect'";
//print "coords='638,245,667,264'";
//print "href='http://genkai.i-con.xyz/genkai/view_noise.php?time=daily&id=2' alt='E1騒音データ表示' target='_blank'>";
*/
/*
print "href='http://genkai.i-con.xyz/genkai/view_dust.php?time=daily&id=3' alt='E1粉塵データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='638,199,667,243'";
print "href='http://genkai.i-con.xyz/genkai/view_vib.php?time=daily&id=3' alt='E1振動データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='638,245,667,264'";
print "href='http://genkai.i-con.xyz/genkai/view_noise.php?time=daily&id=3' alt='E1騒音データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='841,317,870,329'";
print "href='http://genkai.i-con.xyz/genkai/view_dust.php?time=daily&id=1' alt='E2粉塵データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='841,331,870,375'";
print "href='http://genkai.i-con.xyz/genkai/view_vib.php?time=daily&id=1' alt='E2振動データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='841,377,870,396'";
print "href='http://genkai.i-con.xyz/genkai/view_noise.php?time=daily&id=1' alt='E2騒音データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='799,538,828,550'";
print "href='http://genkai.i-con.xyz/genkai/view_dust.php?time=daily&id=2' alt='E3粉塵データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='799,552,828,596'";
print "href='http://genkai.i-con.xyz/genkai/view_vib.php?time=daily&id=2' alt='E3振動データ表示' target='_blank'>";
print "<area shape='rect'";
print "coords='799,598,828,617'";
print "href='http://genkai.i-con.xyz/genkai/view_noise.php?time=daily&id=2' alt='E3騒音データ表示' target='_blank'>";
*/
/*
print "<area shape='circle'";
print "coords='130,50,30'";
print "href='link_circle.html' alt='円形' target='_blank'>";
print "<area shape='poly'";
print "coords='210,20,180,80,240,80'";
print "href='link_poly1.html' alt='三角形' target='_blank'>";
print "<area shape='poly'";
print "coords='260,35,260,65,300,65,300,80,330,50,300,20,300,35'";
print "href='link_poly2.html' alt='矢印' target='_blank'>";
*/
print "</map>";
// 戻る
//print "<br />";
//print "<a href=\"./index.php\">戻る</a>";
//===============================================
// HTML終了処理
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
print "</body>";
print "</html>";
?>