<!--#include virtual="/includes/topofpage.asp"-->
<!--#include file="includes/dbfunctions.asp"-->
<html>
<head>
<title>Calendar</title>
<base target="MainLive">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../arrivares.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<!--<font class="calender-month"><%Response.Write Time %>-->
</font> 
<p>
  <STYLE>
BODY {SCROLLBAR-FACE-COLOR: #5e5ebe; SCROLLBAR-HIGHLIGHT-COLOR: #5e5ebe; SCROLLBAR-SHADOW-COLOR: #5e5ebe; SCROLLBAR-3DLIGHT-COLOR: #5e5ebe; SCROLLBAR-ARROW-COLOR:  #6666CC; SCROLLBAR-TRACK-COLOR: #E3E3E3; SCROLLBAR-DARKSHADOW-COLOR: #666666; }
</STYLE>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

  </table>
  
<div id="bckgrnd" style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 1; LEFT: -1px; BACKGROUND-IMAGE: url(/images/bckgrnd.jpg); OVERFLOW: visible; BORDER-LEFT: #000000 1px; WIDTH: 200px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 124px; HEIGHT: 366px; layer-background-image: url(/images/bckgrnd.jpg); visibility: visible"></div>
<div id="Layer1" style="Z-INDEX: 10; LEFT: 9px; WIDTH: 245px; POSITION: absolute; TOP: 34px; HEIGHT: 4px; visibility: visible"> 
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td width="58%" class="roomdetails-Hghlgt5e5ebe">&nbsp;Arrival Date</td>
      <td width="42%" class="roomdetails-Hghlgt5e5ebe" align="middle">&nbsp;Type</td>
    </tr>
  </table>
</div>
<div id="que" style="Z-INDEX: 9; LEFT: 10px; OVERFLOW: auto; WIDTH: 244px; POSITION: absolute; TOP: 47px; HEIGHT: 107px; visibility: visible"> 
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <%'Get Open Confirmations
		Dim SQLConf, RSConf, FileName, Status,Group_ID
			'Group_ID = ""
			'SQLConf = "Arrivares_Get_Itin_Conf_List @Group_ID = '" & Group_ID & "',@Block_Confirmed = '1'"
			SQLConf = "Arrivares_Get_Itin_Conf_List @Block_Confirmed = '1', @Realm_ID='" & Session("Admin_Realm") & "'"
		Set RSConf=Conn.Execute(SQLConf)
		
		If RSConf.eof Then
	%>
    <tr> 
      <td width="10%" height="6">No Pending Reservations<span class="que-list"><br></span></td>
    </tr>
    <tr> 
      <td colspan="2" class="1p-rule5e5ebe">&nbsp;</td>
    </tr>
    <%Else 
			Do while not RSConf.eof
			'Setting file name
			Status = RSConf("Product_Status")
			
			If Status = "1" Then FileName = "confirmation.asp" 'Reservation - Unconfirmed
			If Status = "3" Then FileName = "change.asp" 'Reservation - Change, Unconfirmed
			If Status = "5" Then FileName = "cancellation.asp" 'Reservation - Cancellation, Unconfirmed
    %>
    <tr> 
      <td width="60%" height="7"> <a class=que-list href="<%Response.Write FileName%>?@Itineary_ID=<%=RSConf("Itinerary_ID")%>&@Item_Id=<%=RSConf("Item_ID")%>&@Group_Id=<%=RSConf("Group_ID")%>"><%=RSConf("Arrival_Date")%></a></td>
      <td width="40%" class="que-list" height="7"> <%=RSConf("Status_Name_Abr")%></td>
    </tr>
    <tr> 
      <td width="60%" class="1p-rule5e5ebe">&nbsp;</td>
      <td width="40%" class="1p-rule5e5ebe">&nbsp;</td>
    </tr>
    <%'End List Table
				RSConf.movenext
			Loop
		End If
		RSConf.Close
	%>
  </table>
</div>
</body>
</html>
