<%@ Page Language="C#" MasterPageFile="~/Flight/MasterPages/MasterPageOutSide.master" AutoEventWireup="true" 
    CodeFile="step1.aspx.cs" Inherits="step1_round"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript">
        //code to validate check box checked, written by Lavi

        function validate() {
            if (document.getElementById('ctl00_ContentPlaceHolder1_CheckBox1').checked==false) {
                alert('Please accept Terms and Conditions.');
                return false;
            }
            return true;
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="templatemo_content_wrapper">
        <div id="leftDetail">
            <div id="steps" class="current" style="margin: 0">
                <h5>
                    1</h5>
                <span>Review Your Selection</span></div>
        
            <div id="steps">
                <h5>
                    2</h5>
                <span>Give traveller names</span></div>
            <div id="steps">
                <h5>
                    3</h5>
                <span>Make payment</span></div>
            <div id="leftDetail_data">
                <h1>
                    <asp:Label runat="server" ID="lbl_source" Text="From" />
                    &nbsp;to
                    <asp:Label runat="server" ID="lbl_destination" Text="To"></asp:Label></h1>
                <table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top: 1px solid #c3c3c3">
                    <asp:Literal runat="server" ID="Literal_FlightInformation"></asp:Literal>
                </table>
                <div runat="server" id="div_round">
                    <h1>
                        <asp:Label runat="server" ID="lbl_source_round" Text="From" />
                        &nbsp;to
                        <asp:Label runat="server" ID="lbl_destination_round" Text="To"></asp:Label></h1>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top: 1px solid #c3c3c3">
                        
                        <asp:Literal runat="server" ID="LiteralFlight_info_Return"></asp:Literal>
                    </table>
                </div>
                <div id="clear">
                </div>
                
                <div style="margin-top:10px; padding: 5px 0 0 0; float: left; width: 850px; height: auto;
                    border-top: 0px solid #c3c3c3;">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr valign="top">
                            <td>
                                <asp:CheckBox ID="CheckBox1" runat="server" />
                            </td>
                            <td width="50%" style="border-right: 0px solid #e3e3e3; padding-right: 10px">
                                <p style="margin: 0; padding: 0; font-size: 13px">
                                    <label for="check">
                                        I understand and agree with the rules and restrictions of this fare</label>
                                    , the <a href="" onclick="window.open('../../User/booking_policy.html','shuaib','width=1303,height=400')">
                                        Booking Policy </a>and the <a href="" onclick="window.open('../../User/terms_conditions.html','shuaib','width=1303,height=400')">
                                            Terms &amp; Conditions </a>.
                                </p>
                            </td>
                            <td width="47%" align="right">
                                <p style="margin: 0 0 5px 0; padding: 0; font-size: 16px; line-height: 16px">
                                   <asp:Label ID="inrlabel" runat="server" Text="Total Fare: "></asp:Label>
                                   <asp:Label ID="sgdlabel" runat="server" Text="Total Fare: " Visible="false"></asp:Label>  <strong>
                                        <asp:Label runat="server" ID="lbl_price" Text="XXXX.XX"></asp:Label></strong></p>
                                <asp:Button ID="Button1" runat="server" Text="Continue" class="button active" OnClientClick="return validate();"
                                    OnClick="Button1_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
