コード例 #1
0
ファイル: forecast.php プロジェクト: AntoninaZ/Forecast
">
      </div>
      <table class="left_table">
          <td><img src="img/thermometer.png"></td>
          <td class="text-bold-g"><?php 
echo $tempMinDay_arr[3] . "°  " . $tempMaxDay_arr[3] . "°";
?>
</td>
          <td class="td-lb text-bold-gl"><?php 
echo $tempMinNight_arr[3] . "°  " . $tempMaxNight_arr[3] . "°";
?>
</td>
        </tr>
        <tr>
          <td><img src="<?php 
getWindSrcUlr($windDir_arr[3]);
?>
" width="30px"></td>
          <td colspan="2"><?php 
echo $windMin_arr[3] . " - " . $windMax_arr[3] . " м/с";
?>
</td>
        </tr>
        <tr>
          <td><img src="img/precipitation.png"></td>
          <td colspan="2"><?php 
echo getPrecipitationSrt($precipitation_arr[3]);
?>
</td>
        </tr>
        <?php 
コード例 #2
0
ファイル: table_forecast.php プロジェクト: AntoninaZ/Forecast
</td>
      <?php 
}
?>
    </tr>
    <tr>
      <td><img src="img/east_arrow.png" width="20px"></td>
      <?php 
for ($i = 2; $i >= 0; $i--) {
    ?>
        <td>
          <?php 
    echo number_format(($windMax_arr[$i] + $windMin_arr[$i]) / 2, 0);
    ?>
          <img src="<?php 
    getWindSrcUlr($windDir_arr[$i]);
    ?>
" width="10px">
        </td>
      <?php 
}
?>
    </tr>
    <tr>
      <td></td>
      <?php 
for ($i = 2; $i >= 0; $i--) {
    ?>
        <td>
          <img src="<?php 
    getSrcUlrMini($typeOfCloud_arr[$i], $precipitation_arr[$i]);