
@{
    Layout = null;
    Crypt cr = new Crypt();
    string student_id = cr.EncryptForQueryString(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 rel="shortcut icon" type="image/x-icon" href="~/img/application/hdrIcon.png" />
    <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>
        .se-pre-con {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            //background: #fff url(../img/application/loader.gif) center no-repeat;
            background: #fff url(../img/application/hdrIcon.PNG) center no-repeat;
        }
    </style>

    <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;
        }

        .welcometxt{margin-bottom:30px;}
.welcomediv a{white-space: nowrap;}
    </style>
    <!--Custom Css-->
    <title>UPES | Applicant Dashboard </title>

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-21981520-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag() { dataLayer.push(arguments); }
        gtag('js', new Date());

        gtag('config', 'AW-964693448');
        gtag('config', 'UA-21981520-1');
    </script>
    <!-- Remarketing Event Snippet -->
    <script>
        gtag('event', 'page_view', {
            'send_to': 'AW-964693448',
            'items': [{
                'id': 'replace with value',
                'location_id': 'replace with value',
                'google_business_vertical': 'education'
            }]
        });
    </script>
    <script>
    function myFunction() {
        $(".se-pre-con").fadeOut("slow");
    }
    </script>

    <!-- Facebook Pixel Code -->
    <script>       
        !function (f, b, e, v, n, t, s) {
            if (f.fbq) return; n = f.fbq = function () {
                n.callMethod ?
                    n.callMethod.apply(n, arguments) : n.queue.push(arguments)
            };
            if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0';
            n.queue = []; t = b.createElement(e); t.async = !0;
            t.src = v; s = b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t, s)
        }(window, document, 'script',
            'https://connect.facebook.net/en_US/fbevents.js');
        fbq('init', '667790006758005');
        fbq('track', 'PageView');
    </script>
    <noscript>
        <img height="1" width="1" style="display:none"
             src="https://www.facebook.com/tr?id=667790006758005&ev=PageView&noscript=1" />
    </noscript>
    <!-- End Facebook Pixel Code -->
	<!-- Bing Code -->
	<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"25050676"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script>
</head>
<body onload="myFunction();">
    <!-- GTM Body Part -->
    <noscript>
        <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5QTLTJ" height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
    <!--Application Template-->
    <div class="se-pre-con"></div>

    <header class="position-relative">
        <section class="HeaderPanel HeaderBanner">
            <div class="plr70">
                <div class="headerInner">
                    <a href="/">
                        <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">
                                @if (Convert.ToInt32(Session["stage"]) == 4)
                                {
                                    <div class="col-3">

                                        <a target="_blank" class="" href="/application/Editapplication?student_id=@student_id">
                                            <img src="~/img/application/application.png" class="img-fluid d-block mx-auto" />
                                            Edit Application
                                        </a>
                                    </div>
                                }

                                else
                                {
                                    <div class="col-3">

                                        <a target="_blank" class="" href="/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-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");-->
			window.open('https://app1.mioot.com/5069/livechat2.html','mioot chat software','toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=570, height=450, screenX=10, screenY=10')
        }
    </script>
    <!--Start of SuperBot Chat Script-->

    <script type="text/javascript">

        window.$superbot||(function(d,s){var sb=$superbot=function(c){sb._.push(c)},$=sb.s=d.createElement(s),e=d.getElementsByTagName(s)[0];sb.set=function(o){sb.set._.push(o)};sb._=[];sb.set._=[];$.async=!0;$.setAttribute("charset","utf-8");$.src="https://app.superbot.works/agent.js?a=bZm18BXLDz&l=en";sb.t=+new Date;$.type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");

    </script>

    <!--End of SuperBot Chat Script-->
</body>

</html>