
@{
    Layout = null;
}

<html>
<head>
    <title>UPES | Applicant Dashboard | Print Application </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <base target="_blank">
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,800,900" rel="stylesheet">
    <style>
        td:nth-child(even) {
            padding: 15px 10px !important;
        }
    </style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="font-family: 'Montserrat', sans-serif;">

    <a id="printbutton" href="#" onclick="CallPrint('tblprint')" style="display: block;width: 300px;
    margin: 10px auto;
    background: #ef3f3e;
    color: #fff;
    padding: 10px;
    text-align:center;
    border-radius: 4px;
    text-decoration: none;">Print Your Application Form</a>

    <table border="0" width="800" cellpadding="0" cellspacing="0" align="center" id="tblprint">
        <tr>
            <td><img src="/img/application/upes%20logo.png" style="margin-bottom:20px;"></td>
            <td style="text-align:center;">
                <span style="color:#013F92;"><b>UPES - @ViewBag.ApplyYear</b></span><br />
                <b>Online Application Form</b>
            </td>
            <td style="text-align:center; font-size: 10px;">University of Petroleum & Energy Studies<br />Energy Acres, Bidholi, Dehradun,<br />Uttrakhand 248007.</td>
        </tr>
        <tr bgcolor="#FFCA08" style="height: 50px;">
            <td colspan="3" style="padding-left: 20px; ">Application Number:@ViewBag.appno</td>
        </tr>

        <tr bgcolor="#F3F3F3" style="height: 50px;">
            <td colspan="3" style="text-align:center;"><b>Personal Details:</b></td>
        </tr>
        <tr>
            <td colspan="3">



                <table border="0" width="100%" cellspacing="0" cellpadding="0">
                    <tr style="height: 35px;" bgcolor="#F3F3F3">
                        <td style="padding-left: 20px;">Full Name</td>
                        <td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.fname</td>
                        <td rowspan="5" style="width: 170px;">

                            @if (ViewBag.uploadimg != "")
                            {
                                <img src="/profileimages/@ViewBag.uploadimg" align="right" style="width:170px;height:220px">
                            }


                        </td>
                    </tr>
                    <tr style="height: 35px;">
                        <td style="padding-left: 20px;">Email Id</td>
                        <td style="padding-left: 20px;">@ViewBag.email</td>
                    </tr>
                    @if (@ViewBag.Nationality == "indian")
                    {
                        <tr style="height: 100px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">Address</td>
                            <td style="padding-left: 20px;text-transform:capitalize;">
                                @ViewBag.address1
                                <br /> @ViewBag.address2
                                <br />@ViewBag.address3

                                <br />   @ViewBag.city  @ViewBag.pincode

                            </td>


                        </tr>
                    }

                    else
                    {
                        <tr style="height: 35px;" bgcolor="#F3F3F3">

                            <td style="padding-left: 20px;text-transform:capitalize;">&nbsp;</td>

                            <td style="padding-left: 20px;text-transform:capitalize;">&nbsp;</td>


                        </tr>
                    }

                    <tr style="height: 35px;">
                        <td style="padding-left: 20px;">Date of Birth</td>
                        <td style="padding-left: 20px;">@ViewBag.dob</td>
                    </tr>

                    @if (@ViewBag.Nationality == "indian")
                    {
                        <tr style="height: 35px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">Nationality</td>
                            <td style="padding-left: 20px; text-transform:capitalize; ">@ViewBag.country</td>
                        </tr>
                        <tr style="height: 35px;">
                            <td style="padding-left: 20px;">State</td>
                            <td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.state</td>
                        </tr>
                        <tr style="height: 35px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">City</td>
                            <td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.city</td>
                            <td style="width: 170px;">&nbsp;</td>
                        </tr>


                    }

                    @if (@ViewBag.Nationality == "nri")
                    {
                        <tr style="height: 35px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">Nationality</td>
                            <td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.country</td>
                        </tr>
                        <tr style="height: 35px;">
                            <td style="padding-left: 20px;">City</td>
                            <td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.nricity</td>
                            <td style="width: 170px;">&nbsp;</td>
                        </tr>



                    }

                    <tr style="height: 35px;">
                        <td style="padding-left: 20px;">Mobile No.</td>
                        <td style="padding-left: 20px;">@ViewBag.phone</td>
                        <td style="width: 170px;">&nbsp;</td>
                    </tr>
                    <tr style="height: 35px;" bgcolor="#F3F3F3">
                        <td colspan="3" style="text-align:center;"><b>Academic Details:</b></td>
                        @*<td  style="text-align:center;"><b>Personal Details:</b></td>*@
                    </tr>

                    <tr style="height: 35px;" bgcolor="#F3F3F3">
                        <td style="padding-left: 20px;width:310px;">Course selected for UPES</td>
                        <td style="padding-left: 20px;width:320px;">@ViewBag.coursename</td>
                        <td style="width: 170px;">&nbsp;</td>
                    </tr>

                    @if (@ViewBag.program1 != "")
                    {
                        <tr style="height: 35px;">
                            <td style="padding-left: 20px;">Program Preferences</td>
                            <td style="padding-left: 20px;">1.)@ViewBag.program1</td>
                            <td style="width: 170px;">&nbsp;</td>
                        </tr>
                    }
                    @if (@ViewBag.program2 != "")
                    {
                        <tr style="height: 35px;">
                            <td style="padding-left: 20px;"></td>
                            <td style="padding-left: 20px;">2.) @ViewBag.program2</td>
                            <td style="width: 170px;">&nbsp;</td>
                        </tr>
                    }

                    @if (@ViewBag.program3 != "")
                    {
                        <tr style="height: 35px;">
                            <td style="padding-left: 20px;"></td>
                            <td style="padding-left: 20px;">3.) @ViewBag.program3</td>
                            <td style="width: 170px;">&nbsp;</td>
                        </tr>
                    }

                    @if (@ViewBag.Nationality == "indian")
                    {

                        <tr style="height: 35px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">Application Category</td>
                            <td style="padding-left: 20px;">@ViewBag.appcat</td>
                            <td style="padding-left: 20px;">&nbsp;</td>
                        </tr>
                    }

                    else
                    {
                        <tr style="height: 35px;" bgcolor="#F3F3F3">
                            <td style="padding-left: 20px;">Application Category</td>
                            <td style="padding-left: 20px;">Non Exam</td>
                            <td style="padding-left: 20px;">&nbsp;</td>
              

            </tr>
                    }
                    <tr style="height: 35px;">
                        <td style="padding-left: 20px; text-align:center;" colspan="3">Payment Details: Application fee paid through online mode with the below particulars.</td>
                    </tr>

                </table>



            </td>
        </tr>
        <tr style="height:30px;">
            <td style="padding-left: 20px;"><b>Transaction Number</b></td>
            <td style="padding-left: 20px; text-align:center;"><b>Transaction Date</b></td>
            <td style="padding-left: 20px; text-align:center;"><b>Transaction Amount (INR)</b></td>
        </tr>
        <tr style="height:30px;">
            <td style="padding-left: 20px;">@ViewBag.transactionNo</td>
            <td style="padding-left: 20px; text-align:center;">@ViewBag.paymentdate</td>
            <td style="padding-left: 20px; text-align:center;">@ViewBag.amount</td>
        </tr>
        <tr style="height:40px;">
            <td colspan="3">&nbsp;</td>
        </tr>



    </table>

<!--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>

<script type="text/javascript" src="../scripts/component.js?qr=@DateTime.Now.Ticks"></script>
<script type="text/javascript" src="../scripts/loader-min.js?qr=@DateTime.Now.Ticks"></script>

<script language="javascript">
    function CallPrint(strid) {
       // $("#displayimage").css("display", "block");
       // var prtContent = document.getElementById(strid);
       // var WinPrint =
       //window.open('', '', 'letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,sta­tus=0');
       // WinPrint.document.write(prtContent.innerHTML);
       // WinPrint.document.close();
       // WinPrint.focus();
       // WinPrint.print();
       // WinPrint.close();
        $("#printbutton").css("display", "none");
        window.print();
    }


</script>