?> "> <div class="led_name"><?php echo $row['table_name']; ?> </div> <div class="led_ip"><?php echo $row['table_ip']; ?> </div> <div class="meja_title"> <?php $last_id = get_last_id($row['table_id']); if ($last_id) { $get_value = read_last_id($last_id); //echo $get_value['value']; } else { //echo "kosong"; } ?> <canvas id="myCanvas<?php echo $row['table_id']; ?> " width="250" height="60"><div class="canvasfallback">[No canvas support]</div></canvas> </div> <span class="tooltip-content clearfix"> <?php
<thead> <tr> <th width="5%">No</th> <th>Gate name</th> <th>Gate IP</th> <th>Value</th> <!--<th>Status</th>--> <th>Date / time</th> <th>User</th> </tr> </thead> <tbody> <?php $no = 1; while ($row = mysql_fetch_array($query)) { $get_value = read_last_id($row['transaction_id']); if ($get_value['type'] == 2) { $led_value = $get_value['value1']; } else { $led_value = $get_value['value1'] . " | " . $get_value['value2_name'] . " | " . $get_value['value3_name']; } ?> <tr> <td><?php echo $no; ?> </td> <td><?php echo $row['table_name']; ?> </td>