
@{
    Layout = null;
    Crypt cr = new Crypt();
    string student_id = cr.Encrypt(Convert.ToString(Session["student_id"]));


}
@using upes_admission.Gutils



<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!--Style-->
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,800,900" rel="stylesheet">
    <link href="../css/component.css" rel="stylesheet" />
    <link href="../css/main.css" rel="stylesheet" />
    <link href="../css/ApplicationTemplate.css" rel="stylesheet" />
    <link href="../css/LoginTemplate.css" rel="stylesheet" />
    <style>
        .logoutcl {
            position: absolute;
            top: 2%;
            right: 1%;
        }
      .formBlkStyle {
    width: 65vw!important;
}
        .DetailList {
         display:block;
         height:auto;
        
        }
        main.ApplicationTemplate {
    height: 80vh;
}
 .welcomediv a {
            display: inline-block;
            text-decoration: none;
            color: #000000;
    font-size: 14px;
}
        .FormPanel {
         visibility:hidden;
        
        }
        .welcometxt {
            font-size: 2vw;
            font-weight: 600;
            padding: 0px;
            text-transform:capitalize;
        }

        /
    </style>
    <!--Custom Css-->
    <title>UPES | Application Form Thankyou</title>
</head>
<body>
    <!--Application Template-->
    <header class="position-relative">
        <section class="HeaderPanel HeaderBanner">
            <div class="plr70">
                <div class="headerInner">
                    <a href="application-form.html">
                        <img src="../img/application/upes logo.png" class="img-fluid" alt="Logo" />
                    </a>
                </div>
            </div>
            <!--Helpline Chat-->
            <div class="helplineChatPanel ">
                <div class="plr70">
                    <div class="helplineChatInner fontBold ">
                        <a href="tel:18001028737">
                            <img src="../img/application/helpline.png" class="img-fluid" alt="helpline" />
                            <span>Helpline</span>
                        </a>
                        <a href="javascript:void(0);" onclick="openChat();">
                            <img src="../img/application/chat.png" class="img-fluid" alt="helpline" />
                            <span>Chat</span>
                        </a>
                    </div>
                </div>
            </div>
        </section>

    
    </header>
    <main role="main" class="ApplicationTemplate">
        <section class="FormTemplate formBlkStyle">
            <div class="FormPosition">

                <div class="DetailList bg-white">
                    <div class="row detailRow">
                        <div class="welcomediv w-100 detailInn">
                           
                            <h2 class="welcometxt">Welcome, @Convert.ToString(Session["firstname"])</h2>

                            @*@Html.ActionLink("My Application", "Apply", "Home", new { student_id = student_id }, null)*@
                                
                            <div class="row">
                                <div class="col-3">
                            <a target="_blank" class="" href="/Home/Apply?student_id=@student_id">
                                <img src="~/img/application/application.png" class="img-fluid d-block mx-auto" />
                                My Application</a> 
                                    </div>
                                <div class="col-3">
                                   
                                    <a target="_blank" href="/application/PrintForm?student_id=@student_id"> 
                                        <img src="~/img/application/printer.png" class="img-fluid d-block mx-auto" />
                                    Print My Application</a> 
                                    @*@Html.ActionLink("Print Application", "PrintForm", "Application", new { student_id = student_id }, null)*@
                                    </div>
                                <div class="col-3">
                                    <a target="_blank" href="@Url.Action("changepassword","Application")">
                                        <img src="~/img/application/password.png" class="img-fluid d-block mx-auto"/>
                                    Change Password</a> 
                                    </div>
                                <div class="col-sm-3">
                                    <a href="@Url.Action("logout","Application")">
                                        <img src="~/img/application/logout.png" class="img-fluid d-block mx-auto" />
                                    Logout</a>
                                    </div>


                                </div>
                            <!--details row-->
                            <div class="row app_details_row">
                                <div class="col-sm-4 bor-right">
                                    <div class="app_details">
                                        <h4><span class="d-block">Your Application No</span> @Convert.ToInt32(Session["appno"])</h4>
                                        </div>
                                    </div>
                                <div class="col-sm-4 bor-right">
                                    <div class="app_details">
                                        <h4>
                                            <span class="d-block">
                                                Status
                                            </span> @Convert.ToString(Session["complate_status"])
                                                
                                            </h4>
                                    </div>
                                    </div>
                                <div class="col-sm-4">
                                    @if (Convert.ToInt32(Session["stage"]) == 4)
                                    {

                                        // <h4>Your application No: @Convert.ToInt32(Session["appno"]) Status: @Convert.ToString(Session["complate_status"]).</h4>
                                        // <h4> Your Application Status : @Convert.ToString(Session["complate_status"])</h4>
                                        <div class="app_details">
                                            <h4>
                                                <span class="d-block">Your Payment Status </span> Done
                                            </h4>
                                            </div>

                                         //   @Html.ActionLink("Print Application", "PrintForm", "Application", new { student_id = student_id }, null)

                                            }
                                            else
                                            {
                                            //<h4> Your Application Status : @Convert.ToString(Session["complate_status"])</h4>
                                           

                                            if (Convert.ToInt32(Session["stage"]) == 3)
                                            {
                                            <div class="app_details">
                                                <h4><span class="d-block">Your Payment Status </span> Done</h4>
                                            </div>
                                            }
                                            else
                                            {
                                            <div class="app_details">
                                                <h4><span class="d-block">Your Payment Status </span> Pending</h4>
                                            </div>
                                            }




                                            }
                                        </div>

                                </div>
                    </div>
                </div>
                <div class="col-12 detailInn">
                    

                  




                </div>


                <!--Form Panel-->
                <div class="FormPanel">
                    <!--Thank you-->
                    <div class="FormPanelInner noborder" id="thankYou">
                        <div class="whatHappenPanel">

                            <ul class="steps">
                                <li>

                                    @*<span>
                                @if (Convert.ToInt32(Session["stage"]) == 4)
                                {
                                    <div id="compl"> Application Status: @Convert.ToString(Session["complate_status"])</div>

                                }
                                else
                                {
                                    <div id="compl"> Application Status: @Convert.ToString(Session["complate_status"])</div>


                                    @Html.ActionLink("Go to stage", "Apply", "Home", new { student_id = student_id}, null)


                                }
                            </span>*@
                                </li>
                                @*<li>
                            <img src="../img/application/share.png" class="img-fluid" alt="icon" />
                            <span>
                                <a href="javascript:void(0);">Share this news with friends and family.</a>
                            </span>
                            <!-- Go to www.addthis.com/dashboard to customize your tools -->
                            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5c50271bfb341b69"></script>

                        </li>*@

                            </ul>
                        </div>
                    </div>
                    <div class="FollowingPanel fontBold">
                        <div class="FormPanelInner noborder d-flex align-items-center">
                            <p>Follow UPES on</p>
                            <div class="followingIcons">
                                <a href="https://www.facebook.com/UniversityofPetroleumandEnergyStudies" target="_blank">
                                    <img src="../img/application/facebook-white.png" class="img-fluid" alt="icon" />
                                </a>
                                <a href="https://twitter.com/UPESDehradun" target="_blank">
                                    <img src="../img/application/twitter.png" class="img-fluid" alt="icon" />
                                </a>
                                <a href="https://www.instagram.com/upes_dehradun/" target="_blank">
                                    <img src="../img/application/insta.png" class="img-fluid" alt="icon" />
                                </a>
                                <a href="https://www.youtube.com/user/UPESUniversity/featured" target="_blank">
                                    <img src="../img/application/youtube.png" class="img-fluid" alt="icon" />
                                </a>
                                <a href="https://www.linkedin.com/school/university-of-petroleum-and-energy-studies/" target="_blank">
                                    <img src="../img/application/linkedin.png" class="img-fluid" alt="icon" />
                                </a>
                            </div>
                        </div>
                    </div>
                    <div class="FormPanelInner noborder">
                        <p class="fontBold serviceText">
                            We are always at your service through the
                            <a href="tel:18001028737">helpline</a> or
                            <a href="javascript:void(0);" onclick="openChat();">chat.</a>
                        </p>
                        <div class="FormButtonStyle row no-gutters">
                            <div class="text-left col-6">
                                @*<button class="btn btn-primary BtnStyle BtnStyleforBack" onclick="backtoHome()">Back to home</button>*@
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </section>
    </main>
    <!--Footer-->
    <footer>
        <section class="FooterPanel">
            <div class="foot_Btm foot_Btm_Height">
                <div class="plr70">
                    <div class="footBtmRow foot_Btm_Height row align-items-center no-gutters">
                        <div class="col-sm-6 copyRights">
                            <h5 style="display:inline;" class="text-uppercase fontBold">
                                &copy; @DateTime.Now.Year UPES. All Rights Reserved.
                            </h5>
                            <span> <a style="color:#000;text-decoration:underline;" class="text-uppercase fontBold" href="/home/termsandconditions" target="_blank">Terms and Conditions</a></span>
                        </div>
                        <div class="col-sm-6 SocialIcon d-flex justify-content-end align-items-center">
                            <p class="text-uppercase fontBold">Follow Us On:</p>
                            <div class="social_icon_menus">
                                <a href="https://www.facebook.com/UniversityofPetroleumandEnergyStudies" target="_blank">
                                    <img src="../img/application/facebook-black.png" class="img-fluid" />
                                </a>
                                <a href="https://twitter.com/UPESDehradun" target="_blank">
                                    <img src="../img/application/twitter-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.instagram.com/upes_dehradun/" target="_blank">
                                    <img src="../img/application/insta-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.youtube.com/user/UPESUniversity/featured" target="_blank">
                                    <img src="../img/application/youtube-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.linkedin.com/school/university-of-petroleum-and-energy-studies/" target="_blank">
                                    <img src="../img/application/linkedin-black.png" class="img-fluid" />
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </footer>


    <script type="text/javascript" src="../scripts/component.js"></script>
    <script type="text/javascript" src="../scripts/upes-appliaction.js"></script>
    <script>
        $('#datepicker').datepicker({
        });
        function openChat() {
            window.open("http://ameyo.delhi.upes.ac.in:8888/ameyochatjs/defaultChat/chatOfflinePage.html", "popupWindow", "width=600, height=720, scrollbars=yes");
        }
    </script>
</body>
</html>