web_area.htm
来自「我的比赛作品 第22届全国青少年科技创新大赛3等奨 备注: 同时使用VC及D」· HTM 代码 · 共 40 行
HTM
40 行
<?php
include template('header');
print <<<EOT
<H1>详细路线资料</H1>
<center><table cellpadding='2' cellspacing='1' class='itable' width='98%'>
<tr><td complist='smlfont'>
正在运行巴士:
<table width='100%' cellpadding='2' cellspacing='1' bgcolor="#cccccc">
<tr style='font-weight:bold;text-align:center;background-color:#bbddee'>
<td nowrap>巴士车号</td><td nowrap>预计到站时间</td><td>经过路线</td><td nowrap>COST</td>
</tr>
EOT;
foreach ($passRoute as $roid => $r)
{
echo "<tr bgcolor='#ffffff'>\n<td nowrap align='center'>";
echo $roadArray[$roid]."</td><td nowrap>";
echo $timeArray[$roid]."</td><td>";
$cost = 0;
foreach ($r as $k => $road)
{
if ($k!=0) echo " > ";
echo $station[$road['station']]."($road[station])";
$cost+=$road['cost'];
}
echo "</td><td>$cost</td></tr>";
}
print <<<EOT
</table>
<font color='red'>***代表可能目前该区塞车,导致统计数字出错</font>
<br>
<a href='index.php'>回到首页</a>
</td></tr>
</table>
</center>
EOT;
include template('footer');
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?