File "view.php"

Full path: /www/shinmoji/wg2/graph/view.php
File size: 3.19 KiB (3265 bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Back

<?php
//===============================================
//	CommonUtilities
//	備考		:	
//	更新		:	2012/11/29 KMK-Teraoka
//===============================================
$SCRIPT_TITLE = "新門司 水位管理システム";
$PENTA_OCEAN = "五洋建設株式会社";
$TAIL_PENTA_OCEAN = "penta-ocean";
$imgFileName = "data.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 = 'data.php'+uniq;";
print "}";
print "</SCRIPT>";
print "</head>";

//===============================================
//	HTML-BODY部開始-
//	備考		:	
//	更新		:	2012/10/18 KMK-Teraoka
//===============================================
print "<body>";

// ===============================================
// 上で保存した画像を表示
// 備考		:	
// 更新		:	2010/09/08 KMK T.Teraoka
// ===============================================

//print "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">";
//print "<tr bgcolor=\"#FFFFFF\">";
//print "<td >";	
print "<IMG SRC='" .$imgFileName ."' 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 "<br />";
//print "<a href=\"./index.php\">戻る</a>";


//===============================================
//	HTML終了処理
//	備考		:	
//	更新		:	2012/10/18 KMK-Teraoka
//===============================================
print "</body>";
print "</html>";

?>

PHP File Manager