Пример #1
0
  <td width=50px ><b>位置码</td>
  <td width=100px ><b>表地址</td> 
  <td width=100px ><b>电表型号</td>
  <td width=100px ><b>采集参数项</td>  
  <td width=100px ><b>电表状态</td>
  <td width=100px style="background-color:#F8F8FF;border-left:1px;border-top:1px;border-right:1px;"><b>行动</td>
 </tr>

    <?php 
    while (($row = mysql_fetch_array($rs)) && $noterecs <= $pagesize - 1) {
        $info_id = $row['info_id'];
        $location_id = $row['location_id'];
        $meter_address = $row['meter_address'];
        $meter_model = $row['meter_model'];
        $data_select = $row['data_select'];
        $switch = ModMeterInfoHelper::getMeterStatus($location_id, $meter_address);
        ?>
 
 <tr  onmouseover="this.style.backgroundColor='#e5ff00'" onmouseout="this.style.backgroundColor='#ffffff'" style="font-size:12px;color:#000035;">
 
   <td align="center" >
      <a href="index.php/meter-info-fix?info_id=<?php 
        echo $info_id;
        ?>
	  " title="点击修改:<?php 
        echo $info_id . " &nbsp;&nbsp;&nbsp;&nbsp;位置码:" . $location_id . " &nbsp;&nbsp;&nbsp;&nbsp;电表地址:" . $meter_address . " &nbsp;&nbsp;&nbsp;&nbsp;电表型号:" . $meter_model;
        ?>
">
	  <?php 
        echo $info_id;
        ?>