예제 #1
0
Get_HotelSettings($hotel, $altname, $company, $register, $ebridgeid, $tax1, $tax2, $phone, $fax, $IM, $street, $city, $citycode, $state, $postcode, $countrycode, $country, $logo, $latitude, $longitude, $language, $email, $web, $ota, $chaincode);
?>
       <table height="500" class="listing-table">	        
	       <tbody>
	       	<tr>      	
	 		<?php 
if (accessNew('reports') && $menu == 'shiftReport') {
    print_rightMenu_reports();
} elseif ($menu == 'myShift') {
    print_rightMenu_mySettings();
}
?>
 
	          <td valign="top">  
	          <?php 
if (is_ebridgeCustomer() && accessNew('reports') || is_ebridgeCustomer() && $menu == 'myShift') {
    include dirname(__FILE__) . "/../OTA/reports/shift_rpt.php";
} else {
    ?>
				<form action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
" name="reportres" id="reportres"  method="post" enctype="multipart/form-data">
				<table width=100%>
				
					<tr class="tdbgcl">
						<td align="left"></td>	
					</tr>
					<tr class="tdbgcl">
					<td>	
					  	<table>	
예제 #2
0
load_language($lang);
$logofile = Get_LogoFile();
date_default_timezone_set(TIMEZONE);
// Get the current settings
Get_HotelSettings($hotel, $altname, $company, $register, $ebridgeid, $tax1, $tax2, $phone, $fax, $IM, $street, $city, $citycode, $state, $postcode, $countrycode, $country, $logo, $latitude, $longitude, $language, $email, $web, $ota, $chaincode);
?>
       <table height="500" class="listing-table">	        
	       <tbody>
	       	<tr>      	
	 		<?php 
print_rightMenu_reports();
?>
 
	          <td valign="top">  
	          <?php 
if (is_ebridgeCustomer() && accessNew('reports')) {
    include dirname(__FILE__) . "/../OTA/reports/hotel_receipt_rpt.php";
} else {
    ?>
 
				<form action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
" name="reportres" id="reportres"  method="post" enctype="multipart/form-data">
				<table width=100%>

					<tr class="tdbgcl">
						<td align="left"></td>	
					</tr>
					<tr class="tdbgcl">
					<td>	
예제 #3
0
"/></td></tr>				
						
								<?php 
}
?>
								  									  
								</table>
							  </div>
							</td>	
						  </tr>
						  <tr bgcolor="#66CCCC" ><td align="left" colspan="2"><div id="RequestDetails"></div></td></tr>
						</table>
					  </td>
					</tr>
					  <?php 
if (accessNew("admin") && $_GET['menu'] == "userSetup") {
    ?>
					  			<tr class="tdbgcl" ><td>&nbsp;</td></tr>
								<tr class="tdbgcl" align="right"><td colspan="4"><input class="button" type="submit" name="Submit" value="<?php 
    echo isset($myuser['userid']) ? $_L['BTN_update'] : $_L['USR_adduser'];
    ?>
"/>
								<input class="button" type="button" name="Submit" value="<?php 
    echo $_L['USR_listuser'];
    ?>
" onclick="self.location='index.php?menu=usersList'"/>
								&nbsp;&nbsp;</td></tr>
					  <?php 
}
?>
	
예제 #4
0
/**
 * 
 * This prints the right menu pane for Reports page
 */
function print_rightMenu_reports()
{
    global $_L;
    echo '         
	<td class="border-right" height="365" valign="top" width="150">
		<table border="0" cellpadding="2" cellspacing="2" width="100%">         
			<tbody>';
    if (accessNew("reports")) {
        echo '
             <tr>
                <td class="modules-heading"><strong>Reports</strong></td>
              </tr>
              <tr>
                <td><div class="listing">
                  <ul>
                     <ul>
                		<li><a href="/hotelmis/index.php?menu=holidayReport" title="' . $_L['RT_Holidayrpt'] . '">' . $_L['RT_holidayRpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=guestReport" title="' . $_L['RT_hotelguestrpt'] . '">' . $_L['RT_GuestReport'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=onlineBookingReport" title="' . $_L['RT_OnlineBookingrpt'] . '">' . $_L['RT_onlineBookingRpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=roomStatusReport" title="' . $_L['RT_roomstatusrpt'] . '">' . $_L['RT_roomrpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=receiptDailyReport" title="' . $_L['RT_ReceiptDailyrpt'] . '">' . $_L['RT_ReceiptDailyrpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=receiptReport" title="' . $_L['RT_Receiptrpt'] . '">' . $_L['RT_Receiptrpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=roomUsabilityReport" title="' . $_L['RT_roomusabilityrpt'] . '">' . $_L['RT_roomusabilityrpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=shiftReport" title="' . $_L['RT_shiftrpt'] . '">' . $_L['RT_shiftRpt'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=taxReport" title="' . $_L['RT_taxreport'] . '">' . $_L['RT_taxreport'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=agodaReport" title="' . $_L['RT_agodareport'] . '">' . $_L['RT_agodareport'] . '</a></li>  
						<li><a href="/hotelmis/index.php?menu=tourismReport" title="' . $_L['RT_tourismreport'] . '">' . $_L['RT_tourismreport'] . '</a></li>  
                  </ul>
                  </ul>
                </div></td>
              </tr>';
    }
    echo '              
            </tbody>
		</table>
	</td>';
}
예제 #5
0
    echo "<td>" . $rooms[$idx]['no_adults'] . "</td>";
    echo "<td>" . $rooms[$idx]['no_child'] . "</td>";
    echo "<td>" . $rooms[$idx]['status'] . "</td>";
    echo "</tr>";
    //end of - data rows
}
//end of while row
echo "</table>";
?>
							  </div>
							</td>		
						  </tr>		
						  <tr class="tdbgcl" ><td>&nbsp;</td></tr>	
						  <tr align="right"><td colspan="2">
						  	<?php 
if (accessNew('rooms')) {
    ?>
						  		<input class="button" type="button" name="Submit" value="<?php 
    echo $_L['RM_addroom'];
    ?>
" onclick="self.location='index.php?menu=roomSetup'"/>
						  	<?php 
}
?>
						  	<input class="button" type="button" name="Submit" value="<?php 
echo $_L['RM_listroom'];
?>
" onclick="self.location='index.php?menu=roomsList'"/>
						  </td></tr>
						  <tr><td>&nbsp;</td></tr>						  				
						  <tr class="tdbgcl" ><td align="left" colspan="2"><div id="RequestDetails"></div></td></tr>
예제 #6
0
     include "admin.php";
 } else {
     if ($_GET['menu'] == 'exportInvoice') {
         include "invoice_export.php";
     } else {
         if ($_GET['menu'] == 'reports') {
             include "reportsSummary.php";
         } else {
             if ($_GET['menu'] == 'admin') {
                 if (accessNew('admin')) {
                     include "hotelSetupTabs.php";
                 } elseif (accessNew('rates')) {
                     include "rates.php";
                 } elseif (accessNew('rooms')) {
                     include "rooms.php";
                 } elseif (accessNew('agents')) {
                     include "agents.php";
                 }
             } else {
                 if ($_GET['menu'] == 'myShift') {
                     $menu = 'myShift';
                     include "reports/shift_rpt.php";
                 } else {
                     if ($_GET['menu'] == 'userSetup') {
                         include "admin.php";
                     } else {
                         if ($_GET['menu'] == 'usersList') {
                             include "users_list.php";
                         } else {
                             if ($_GET['menu'] == 'websiteSetup') {
                                 include "hotelweb_setup.php";