File "index.php"
Full path: /www/html5/index.php
File size: 2.86 KiB (2930 bytes)
MIME-type: text/x-php
Charset: utf-8
<?php
//===============================================
// CommonUtilities
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
$PENTA_OCEAN = "五洋建設株式会社";
$TAIL_PENTA_OCEAN = "penta-ocean";
$SCRIPT_TITLE = "HTML5仕様確認";
$LINK_LIST = array(
array("path" => "./sample1/draw_triangle.html", "title" => "Canvasを使用してみる"),
array("path" => "./sample2/eventhandler.html", "title" => "イベントハンドラを使用してみる"),
array("path" => "./sample3/canvas.html", "title" => "簡単なWebGL"),
array("path" => "./sample4/testjq.html", "title" => "jQueryを使用してみる"),
array("path" => "./sample5/test_three.html", "title" => "Three.jsを使用して簡単な3Dモデリング"),
array("path" => "./sample6/texture.html", "title" => "テクスチャを貼る"),
array("path" => "./sample7/pcg3d.html", "title" => "3次元コンピュータグラフィックス"),
array("path" => "./test1/test_text.html", "title" => "テキスト描画"),
array("path" => "./test2/test_gradation.html", "title" => "グラデーション"),
array("path" => "./test3/test_text3.html", "title" => "ファイル読み込み"),
array("path" => "./chkbox/chkbox.html", "title" => "チェックボックス"),
);
//===============================================
// HTML-HEAD-
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
print "<html>";
print "<head>";
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">";
print "<link rel=\"stylesheet\" type=\"text/css\" href=\"/ansys/config/css/style.css\">";
print "<link rel=\"shortcut icon\" href=\"/ansys/config/favicon.ico\">";
print "<title>". $SCRIPT_TITLE. "</title>";
print "</head>";
//===============================================
// HTML-BODY部開始-
// 備考 :
// 更新 : 2012/10/18 KMK-Teraoka
//===============================================
print "<body>";
print "<center>";
print "<font size=\"3\">";
print "<b>";
print "". $SCRIPT_TITLE. "<br>";
print "【". $PENTA_OCEAN. "】";
print "</b>";
print "</font>";
print "</center>";
print "<hr />";
//===========================
// リンクの作成
//===========================
$num = count($LINK_LIST);
print "<b>";
for($iCount = 0; $iCount < $num; $iCount++)
{
print "<font size=\"3\">";
print "<a href=\"". $LINK_LIST[$iCount]["path"]. "\">". $LINK_LIST[$iCount]["title"]. "</a>";
print "</font>";
print "<br />";
if (($iCount + 1) < $num)
{
print "<br />";
}
}
print "</b>";
//===========================
// 終端
//===========================
print "<hr />";
print "<font size=\"3\" color=\"#000000\" face=\"Arial\">";
print "<center>";
print "<b>";
print "<i>";
print $TAIL_PENTA_OCEAN;
print "</i>";
print "</b>";
print "</center>";
print "</font>";
print "</body>";
print "</html>";
?>