Ejemplo n.º 1
0
    } else {
        $del = "";
        $edel = "";
    }
    $j++;
    if ($j % 2 == 1) {
        echo "<tr id=\"row{$j}\" onmouseover=\"javascript:setColor('{$j}')\" onmouseout=\"javascript:origColor('{$j}')\" bgcolor=\"#CCCCCC\">";
    } else {
        echo "<tr id=\"row{$j}\" onmouseover=\"javascript:setColor('{$j}')\" onmouseout=\"javascript:origColor('{$j}')\" bgcolor=\"#EEEEF8\">";
    }
    echo "<td><a href=\"index.php?menu=reservation&resid=" . $reslist[$idx]['reservation_id'] . "\" ><img src=\"images/button_view.png\" width=\"16\" height=\"16\" border=\"0\" title=\"view/edit reservation\"/></a></td>";
    echo "<td><a href=\"index.php?menu=booking&resid=" . $reslist[$idx]['reservation_id'] . "\" ><img src=\"images/bed.jpg\" width=\"16\" height=\"16\" border=\"0\" title=\"checkin guest\"/></a></td>";
    echo "<td><a href=\"index.php?menu=invoice&id=" . $reslist[$idx]['reservation_id'] . "\" ><img src=\"images/button_signout.png\" width=\"16\" height=\"16\" border=\"0\" title=\"invoice guest\"/></a></td>";
    echo "<td><a href=\"index.php?menu=reservationlist&resid=" . $reslist[$idx]['reservation_id'] . "&action=remove\"><img src=\"images/button_remove.png\" width=\"16\" height=\"16\" border=\"0\" title=\"delete reservation\"/></a></td>";
    echo "<td>" . $del . $reslist[$idx]['voucher_no'] . $edel . "</td>";
    echo "<td>" . get_res_status_text($reslist[$idx]['status']) . "</td>";
    echo "<td>" . $del . $reslist[$idx]['guestname'] . $edel . "</td>";
    echo "<td>" . $del . $reslist[$idx]['checkindate'] . $edel . "</td>";
    echo "<td>" . $del . $reslist[$idx]['checkoutdate'] . $edel . "</td>";
    echo "<td>" . $del . $reslist[$idx]['no_nights'] . $edel . "</td>";
    echo "<td>" . $del . $reslist[$idx]['no_pax'] . $edel . "</td>";
    echo "</tr>";
    //end of - data rows
}
//end of while row
?>
					</table>  
				  </div>
				</td>		
			  </tr>
			  <tr bgcolor="#66CCCC" ><td align="left"><div id="RequestDetails"></div></td></tr>
Ejemplo n.º 2
0
    ?>
"><?php 
    echo $_L['REG_gotores'];
    ?>
</a>
					<?php 
}
?>
					
				</td>
				<td>
				<?php 
// print STATUS if have
if ($res_id) {
    $res_sts = intval(get_reservation_status($res_id));
    $res_txt = get_res_status_text($res_sts);
    if ($res_txt == 'Check In' || $res_txt == 'Check Out') {
        echo $_L['RSV_status'];
        echo "&nbsp;&nbsp;<input type=\"text\" name=\"res_sts\" readonly id=\"res_sts\" size=10 value=\"{$res_txt}\"/> ";
    }
}
?>
				</td>
				
				</tr>
				<tr>
				<td align=left style="padding:7;"><?php 
echo $_L['REG_invoiceno'];
?>
 </td>
				<td>