<%--
  Created by IntelliJ IDEA.
  User: sqp
  Date: 2015-11-12
  Time: 11:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=9">
    <meta charset="utf-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>注册信息</title>
    <link href="/resource/front/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="/resource/front/css/animate.min.css" rel="stylesheet" type="text/css"/>
    <link href="/resource/front/css/syalert.min.css" rel="stylesheet" type="text/css"/>
    <script src="/resource/home/js/jquery-1.8.1.min.js"></script>
    <script src="/resource/home/js/ajaxfileupload.js"></script>
    <script src="/resource/front/js/photoUpload.js"></script>
    <script src="/resource/front/js/info.js"></script>
    <script src="/resource/front/js/syalert.min.js"></script>
</head>
<div class="wrapper">
    <div id="top"><IMG src="/resource/front/img/banner.png" width=1024 height=204></div>
    <div class="pp"></div>
    <table width="" border="0" cellpadding="0" cellspacing="0" style="width:100%;min-height:612px;">
        <tr>
            <td>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td align="center" class="title1">
                            <yh:yh id="0_spanParticipantsRegistrationInformation"
                                   ENGLISH="Participants Registration Information"
                                   ISNOTNULL="0">考生信息查询</yh:yh>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <hr/>
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
                        <!--开始 -->
                        <table class="body" border="0" cellpadding="0" cellspacing="2" width="100%" id="feijrr">
                            <tbody>
                            <tr>
                                <td class="title" background="/resource/front/img/dh.gif" height="24" colspan="3">&ensp;重要须知</td>
                            </tr>
                            <tr>
                                <td class="name">1.</td>
                                <td colspan="3">
                                    <p>本页信息考生无法修改，如需修改考生信息，请根据科目将修改内容发送至以下邮箱：</p>
                                    <p>CDCS&ensp;请发送至&ensp;cdcschina@ccpit.org;&emsp;
                                        CITF&ensp;请发送至&ensp;citfchina@ccpit.org;</p>
                                    <p>CSDG&ensp;请发送至&ensp;csdgchina@ccpit.org;&emsp;
                                        CertPAY&ensp;请发送至&ensp;certpaychina@ccpit.org;</p>
                                    <p>CTFC&ensp;请发送至&ensp;ctfcchina@ccpit.org;&emsp;
                                        CSCF&ensp;请发送至&ensp;cscfchina@ccpit.org;</p>
                                </td>
                            </tr>
                            <tr>
                                <td class="name">2.</td>
                                <td colspan="3">
                                    <p>本系统仅用于考试报名信息的采集工作，并于每年12月31日自动重置，次年1月1日后登录本系统需重新注册。</p>
                                </td>
                            </tr>
                            <tr>
                                <td class="name">3.</td>
                                <td colspan="3">
                                    <p>考生可同时报名多项考试，请自行把握复习时间，缴费成功后，可登陆<a href="https://my.libf.ac.uk/Account/login.aspx?site=myifslearning&ReturnUrl=%2f"
                                                                         target="_blank">My LIBF</a>系统查看报名情况并进行学习。</p>
                                </td>
                            </tr>
                            <tr>
                                <td td="" colspan="3" class="title" align="left" background="/resource/front/img/dh.gif"
                                    height="24"><yh:yh id="0_ParticipantsInformation"
                                                       english="Participant's Information"
                                                       isnotnull="0">考生基本信息</yh:yh></td>
                            </tr>
                            <input type="hidden" id="registerInfo_id" value="${registerInfo.id}">
                            <c:if test="${registerInfo.regType}">
                                <tr name="trEmial">
                                    <td class="name" width="25%" style="font-weight: bold;font-size: 15px">已报名科目:</td>
                                    <td colspan="2">
                                        <c:forEach items="${subjectInfos}" var="sub_info">
                                            <table width="100%" >
                                                <tbody>
                                                    <tr>
                                                        <td width="35%">
                                                            <c:forEach items="${subject}" var="sub">
                                                                <font style="font-size: 17px;font-weight: bold">
                                                                    <c:if test="${sub_info.subject == sub.dataNameId}">${sub.dataName} &emsp;</c:if></font>
                                                            </c:forEach>
                                                        </td>
                                                        <td width="45%">
                                                            (当前状态：
                                                            <c:forEach items="${status}" var="s">
                                                                <c:if test="${sub_info.registerStatus == s.dataNameId}">${s.dataName} </c:if>
                                                            </c:forEach>&ensp;<a href="javascript:void(0);" onclick="lookInvoice('${sub_info.invoiceTitle}',
                                                                '${sub_info.taxpayerNum}','${sub_info.addressName}','${sub_info.telephone}','${sub_info.bankAddress}',
                                                                '${sub_info.bankAccount}','${sub_info.taxIssue}','${sub_info.invoiceInfo}','${sub_info.appreciationTaxType}','${sub_info.subject}')" >查看发票信息</a>)
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>


                                        </c:forEach>
                                    </td>
                                </tr>
                            </c:if>
                            <div class="sy-alert sy-alert-alert animated" sy-enter="zoomIn" sy-leave="zoomOut" sy-type="alert" sy-mask="true" id="alert2">
                                <div class="sy-title"></div>
                                <div class="invoiceWin"></div>
                                <div class="sy-btn">
                                    <button onClick="ok('alert2')">确定</button>
                                </div>
                            </div>
                            <div class="sy-alert sy-alert-alert animated" sy-enter="zoomIn" sy-leave="zoomOut" sy-type="alert" sy-mask="true" id="alert3">
                                <div class="bm-title"></div>
                                <div class="bm-message"></div>
                                <div class="sy-btn">
                                    <button onClick="ok('alert3')">确定</button>
                                </div>
                            </div>
                            <c:if test="${!registerInfo.regType}">
                                <tr name="trEmial">
                                    <td class="name" width="25%">报名科目:</td>
                                    <td>
                                        <c:forEach items="${subject2}" var="s">
                                            <c:if test="${registerInfo.subject2 == s.dataNameId}">${s.dataName} </c:if>
                                        </c:forEach>
                                    </td>
                                </tr>
                            </c:if>
                            <c:if test="${not empty registerInfo.standby1}">
                                <tr name="">
                                    <td class="name" width="25%">备注:</td>
                                    <td style="font-size:16px;color:red;font-weight:bold">
                                            ${registerInfo.standby1}
                                    </td>
                                </tr>
                            </c:if>
                            <c:if test="${registerInfo.regType}">
<%--                                <tr id="" name="trEmial">--%>
<%--                                    <td class="name" width="25%">报名状态:</td>--%>
<%--                                    <td style="font-size:16px;color:red;font-weight:bold">--%>
<%--                                        <c:forEach items="${status}" var="s">--%>
<%--                                            <c:if test="${registerInfo.registerStatus == s.dataNameId}">${s.dataName} </c:if>--%>
<%--                                        </c:forEach>--%>
<%--                                    </td>--%>
<%--                                </tr>--%>
                                <c:if test="${not empty registerInfo.dcNumber}">
                                    <tr id="" name="trEmial">
                                        <td class="name" width="25%">LIBF NUMBER:</td>
                                        <td>${registerInfo.dcNumber}</td>
                                    </tr>
                                </c:if>
                                <c:if test="${not empty registerInfo.payTime}">
                                    <tr id="" name="trEmial">
                                        <td class="name" width="25%">缴费时间:</td>
                                        <td>${fn:substringBefore(registerInfo.payTime," ")}</td>
                                    </tr>
                                </c:if>
                            </c:if>
                            <c:if test="${!registerInfo.regType}">
                                <tr id="" name="trEmial">
                                    <td class="name" width="25%">报名状态:</td>
                                    <td style="font-size:16px;color:red;font-weight:bold">
                                        <c:forEach items="${status2}" var="s">
                                            <c:if test="${registerInfo.registerStatus2 == s.dataNameId}">${s.dataName} </c:if>
                                        </c:forEach>
                                    </td>
                                </tr>
                            </c:if>
                            <tr id="trEmial" name="trEmial">
                                <td class="name" width="25%"><yh:yh id="1_Info_Email" english="E-mail:"
                                                                    isnotnull="1">邮箱:</yh:yh></td>
                                <td>${registerInfo.email}</td>
                            </tr>

                            <tr id="trChinaName" name="trChinaName">
                                <td class="name">姓名（中文）:</td>
                                <td>${registerInfo.name}</td>

                            </tr>

                            <c:if test="${registerInfo.regType}">
                                <tr id="trSex" name="trSex">
                                    <td class="name">性别:</td>
                                    <td>${registerInfo.gender}</td>

                                </tr>
                                <tr>
                                    <td class="name">出生日期:</td>
                                    <td>${fn:substringBefore(registerInfo.birthday," ")}</td>

                                </tr>
                                <tr id="trCompany" name="trCompany">
                                    <td class="name">工作单位:</td>
                                    <td>${registerInfo.company}</td>

                                </tr>
                                <tr id="trAddress" name="trAddress">
                                    <td class="name">联系地址:</td>
                                    <td>${registerInfo.province}${registerInfo.chengshi}${registerInfo.district}${registerInfo.address}</td>

                                </tr>
                                <tr id="trMobileTel" name="trMobileTel">
                                    <td class="name">手机:</td>
                                    <td>${registerInfo.mobileTel}</td>

                                </tr>
                                <tr id="trFixedTel" name="trFixedTel">
                                    <td class="name">固定电话:</td>
                                    <td>${registerInfo.telphone}</td>

                                </tr>
                                <tr style="display: none">
                                    <td class="name">增值税发票:</td>
                                    <td>
                                        <c:if test="${registerInfo.appreciationTaxType == 1}">增值税普通发票 </c:if>
                                        <c:if test="${registerInfo.appreciationTaxType == 2}">增值税专用发票 </c:if>
                                    </td>
                                </tr>
                                <tr style="display: none">
                                    <td class="name">发票抬头:</td>
                                    <td id="invoiceTitle_id">${registerInfo.invoiceTitle}</td>
                                </tr>
                                <tr style="display: none">
                                    <td class="name">发票内容:</td>
                                    <td id="invoiceInfo_id">${registerInfo.invoiceInfo}</td>
                                </tr>
                                <tr style="display: none">
                                    <td class="name">纳税人识别号:</td>
                                    <td id="taxpayerNum_id">${registerInfo.taxpayerNum}</td>
                                </tr>
                                <c:if test="${registerInfo.appreciationTaxType == 2}">
                                    <tr style="display: none">
                                        <td class="name">公司地址:</td>
                                        <td id="addressName_id">${registerInfo.addressName}</td>
                                    </tr>
                                </c:if>
                                <c:if test="${registerInfo.appreciationTaxType == 2}">
                                    <tr style="display: none">
                                        <td class="name">公司电话:</td>
                                        <td id="telephone_id">${registerInfo.telephone}</td>
                                    </tr>
                                </c:if>
                                <c:if test="${registerInfo.appreciationTaxType == 2}">
                                    <tr style="display: none">
                                        <td class="name">开户行:</td>
                                        <td id="bankAddress_id">${registerInfo.bankAddress}</td>
                                    </tr>
                                </c:if>
                                <c:if test="${registerInfo.appreciationTaxType == 2}">
                                    <tr style="display: none">
                                        <td class="name">银行账号:</td>
                                        <td id="bankAccount_id">${registerInfo.bankAccount}</td>
                                    </tr>
                                </c:if>
                            </c:if>
                            <tr>
                                <td class="name">是否购买CDCS/CSDG</br>考前培训:</td>
                                <c:if test="${registerInfo.ifBuyFee == 1}">
                                    <td>是</td>
                                </c:if>
                                <c:if test="${registerInfo.ifBuyFee == 2}">
                                    <td>否</td>
                                </c:if>
                            </tr>
                            <tr>
                                <td class="name">Family Name:</td>
                                <td>${registerInfo.name_en}</td>

                            </tr>
                            <tr>
                                <td class="name">Given Name:</td>
                                <td>${registerInfo.name_en_last}</td>

                            </tr>
                            <tr>
                                <td class="name">TITLE:</td>
                                <td>${registerInfo.title}</td>
                            </tr>
                            <tr>
                                <td class="name">GENDER:</td>
                                <td>${registerInfo.gender_en}</td>
                            </tr>
                            <tr>
                                <td class="name">DATE OF BIRTH:</td>
                                <td>${fn:substringBefore(registerInfo.dateOfBirth," ")}</td>

                            </tr>

                            <tr>
                                <td class="name">COMPANY NAME:</td>

                                <td>${registerInfo.company_en}</td>
                            </tr>
                            <tr>
                                <td class="name">ADDRESS:</td>
                                <td>${registerInfo.address_en}</td>

                            </tr>
                            <tr>
                                <td class="name">PHONE:</td>
                                <td>${registerInfo.phone}</td>

                            </tr>
                            <tr>
                                <td class="name">COUNTRY:</td>
                                <td>中国</td>
                            </tr>
<%--                            <tr>--%>
<%--                                <td class="title" background="/resource/front/img/dh.gif" height="24" colspan="3">--%>
<%--                                    上传考生名片--%>
<%--                                </td>--%>
<%--                            </tr>--%>
<%--                            <tr>--%>
<%--                                <td class="name">选择科目</td>--%>
<%--                                <td align="left" width="30%">--%>
<%--                                    <select id="choose_subject_id">--%>
<%--                                        <c:forEach items="${subjectInfos}" var="subj">--%>
<%--                                            <option value="${subj.id}">--%>
<%--                                                <c:forEach items="${subject}" var="s">--%>
<%--                                                    <c:if test="${subj.subject == s.dataNameId}">${s.dataName} </c:if>--%>
<%--                                                </c:forEach>--%>
<%--                                            </option>--%>
<%--                                        </c:forEach>--%>
<%--                                    </select>--%>
<%--                                </td>--%>
<%--                            </tr>--%>
<%--                            <tr>--%>
<%--                                <td class="name">考生名片:</td>--%>
<%--                                <td align="left" width="30%">--%>
<%--                                    <input id="imageUrlId1" class="PhotoUpload" type="file" name='file'/>--%>
<%--                                </td>--%>
<%--                                <td align="left">--%>
<%--                                    <input data-target="imageUrlId1" class="PhotoUploadButton" type="button" value="上传"--%>
<%--                                           name="upload" style="width:80px;height:20px">--%>
<%--                                </td>--%>
<%--                            </tr>--%>
<%--                            <tr>--%>
<%--                                <td></td>--%>
<%--                                <td>--%>
<%--                                    <div><img data-target="imageUrlId1" id="img1" src="${registerInfo.img1}"--%>
<%--                                              style="width:150px;height:100px"></div>--%>
<%--                                </td>--%>
<%--                                <td align="left" valign="top">--%>
<%--                                    <p style="color: #000000">图片支持式为：bmp、gif、jpeg、jpg、png,图片大小不要超过1M</p>--%>
<%--                                    <p style="color: red;font-size:16px">如开具增值税专用发票，请考生上传个人名片，</p>--%>
<%--                                    <p style="color: red;font-size:16px">或其他可证明考生供职于发票抬头所在单位的证明文件，如工牌、入职证明书（拍照即可）等</p>--%>
<%--                                </td>--%>
<%--                            </tr>--%>
<%--                            <tr>--%>
<%--                                <td></td>--%>
<%--                                <td>--%>
<%--                                    <Button id="saveCertificateId" style="width:80px;height:20px">保存照片</Button>--%>
<%--                                </td>--%>
<%--                            </tr>--%>

                            <tr>
                                <td class="title" background="/resource/front/img/dh.gif" height="24" colspan="3">My LIBF 登录
                                </td>
                            </tr>
                            <tr>
                                <td class=""></td>
                                <td><a style="font-size:16px;"
                                       href="https://my.libf.ac.uk/Account/login.aspx?site=myifslearning&ReturnUrl=%2f"
                                       target="_blank">
                                    <button>My LIBF 快捷登录</button>
                                </a></td>
                                <td>
                                    <p style="color: #000000">考生缴费成功后3到5个工作日，会收到LIBF的确认邮件，</br>请考生登录My LIBF系统，激活账号用于学习</p>
                                </td>
                            </tr>
                            <tr>
                                <td class="name"><font style="font-size: 14px;color: red">您是否要报考其他国际贸易</br>金融6C专家考试？</font></td>
                                <td width="30%">
                                    <select id="other_subject_id" style="width: 220px">
                                        <option value="">请选择</option>
                                        <option value="1">是</option>
                                        <option value="2">否</option>
                                    </select>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                            <tr>
                                <td>
                                    <hr>
                                </td>
                            </tr>
                            <form id="form" >
                                <table id="tabThesis" name="tabThesis" align="center" border="0" cellpadding="0" cellspacing="0" width="100%" >
                                    <tbody>
                                        <tr>
                                            <td class="title" colspan="4" background="/resource/front/img/dh.gif" height="24">报名考试科目 </td>
                                        </tr>
                                        <tr>
                                            <td class="body" colspan="4">
                                                <table border="0" cellpadding="3" cellspacing="3" width="100%">
                                                    <tbody>
                                                    <tr>
                                                        <td width="3%">&nbsp;</td>
                                                        <td id="tdBase" name="tdBase" width="97%">
                                                            <table class="body" width="100%">
                                                                <tr valign="top">
                                                                    <c:forEach items="${subject}" var="g" varStatus="s">
                                                                    <c:if test="${s.index>0 && s.index%3==0}"> </tr>
                                                                <tr valign="top"></c:if>
                                                                    <td width="33%"><input
                                                                            <c:if test="${s.index==0}">checked="checked"</c:if>
                                                                            id="disid" name="subject"
                                                                            disid="23242AA2BE0E1782E050A8C0480173A9"
                                                                            rowindex="0" type="radio"
                                                                            value="${g.dataNameId}">${g.dataName}</td>
                                                                    </c:forEach>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <hr>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="name"><span style="color: red;">*</span>增值税发票:
                                            </td>
                                            <td><select class="required" id="appreciationTaxTypeId"
                                                        name="appreciationTaxType" style="width:220px">
                                                <option value="">请选择</option>
                                                <option value="1">增值税普通发票</option>
                                                <option value="2">增值税专用发票</option>
                                            </select></td>
                                            <td><span class="reg_body"></span></td>
                                        </tr>
                                        <tr name="trCompanyName" id="companyNameId" >
                                            <td class="name"><span style="color: red;">*</span>发票抬头:</td>
                                            <td><input id="companyNameId01" class="required" name="invoiceTitle"
                                                       style="width:220px" type="text"></td>
                                            <td><span class="reg_body">必填：请填写您的单位全称</span></td>
                                        </tr>
                                        <tr id="subjectNameId" name="trSubjectName" >
                                            <td class="name"><span style="color: red;">*</span>发票内容:</td>
                                            <!-- <td><input id="subjectNameId01" class="required" name="subjectName" style="width:220px" type="text"></td> -->
                                            <td>
                                                <p>发票内容为相应考试的考试费，如CDCS考试费。</p>
                                            </td>
                                            <td><span class="reg_body">考试只能开具与之相对应的考试费发票</span></td>
                                        </tr>
                                        <tr id="taxpayerNumId" name="trTaxpayerNum" >
                                            <td class="name"><span style="color: red;">*</span>纳税人识别号:</td>
                                            <td><input id="taxpayerNumId01" class="required" name="taxpayerNum"
                                                       style="width:220px" type="text"></td>
                                            <td><span class="reg_body">必填：请填写您的纳税人识别号</span></td>
                                        </tr>
                                        <tr id="addressNameId" name="trAddressName" >
                                            <div>
                                                <td class="name"><span id="dizhi_id" style="color: red;display :none">*</span>公司地址:</td>
                                                <td><input id="addressNameId01" class="required" name="addressName"
                                                           style="width:220px" type="text"></td>
                                                <td><span class="reg_body "><span class="xuantian" style="display: none">选填：</span><span class="bitian" style="display: none;color: red">必填：</span>请填写您的公司地址</span></td>
                                            </div>
                                        </tr>
                                        <tr id="telephoneId" name="trTelephone" >
                                            <div>
                                                <td class="name"><span id="dianhua_id" style="color: red;display :none">*</span>公司电话:</td>
                                                <td><input id="telephoneId01" class="required" name="telephone"
                                                           style="width:220px" type="text"></td>
                                                <td><span class="reg_body "><span class="xuantian" style="display: none">选填：</span><span class="bitian" style="display: none;color: red">必填：</span>请填写您的公司电话</span></td>
                                            </div>
                                        </tr>
                                        <tr id="bankAddressId" name="trBankAddress" >
                                            <div>
                                                <td class="name"><span id="kaihuhang_id" style="color: red;display :none">*</span>开户行:</td>
                                                <td><input id="bankAddressId01" class="required" name="bankAddress"
                                                           style="width:220px" type="text"></td>
                                                <td><span class="reg_body "><span class="xuantian" style="display: none">选填：</span><span class="bitian" style="display: none;color: red">必填：</span>请填写您的开户行</span></td>
                                            </div>
                                        </tr>
                                        <tr id="bankAccountId" name="trBankAccount" >
                                            <div>
                                                <td class="name"><span id="zhanghao_id" style="color: red;display :none">*</span>银行账号:</td>
                                                <td><input id="bankAccountId01" class="required" name="bankAccount"
                                                           style="width:220px" type="text"></td>
                                                <td><span class="reg_body "><span class="xuantian" style="display: none">选填：</span><span class="bitian" style="display: none;color: red">必填：</span>请填写您的开户行账号</span></td>
                                            </div>
                                        </tr>
                                        <tr>
                                            <td class="name"><span style="color: red;">*</span><yh:yh id="1_customitem6"
                                                                                                      english="Custom Item6:"
                                                                                                      isnotnull="0">发票开具时间:</yh:yh>
                                            </td>
                                            <td><select class="required" id="taxIssueId" name="taxIssue"
                                                        style="width:220px">
                                                <option value="">请选择</option>
                                                <option value="1">款项到账当年开具</option>
                                                <option value="2">款项到账次年开具</option>
                                            </select></td>
                                            <td><span class="reg_body">必填：当年开具为款项到账后的两个月内，次年开具为到账第二年的1月31日前</span></td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <div class="message"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" COLSPAN="4">
                                                <input id="submit" name="BtnSubmit" class="buttonstyle1" value="提交" onclick="javascript:;" type="button">
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </form>
                </table>
            </td>
        </tr>
    </table>
</div>
<div class="pp">
</div>
<div id="foot">
    <p>&copy;版权所有：中国国际贸易促进委员会（中国国际商会）培训中心 &nbsp;地址：北京市西城区桦皮厂胡同2号国际商会大厦2层 邮编：100035电话：010-82217206 传真：010-82217272<br>
        邮箱：training@ccpit.org &nbsp;技术支持：中贸促信息技术有限责任公司</p>
</div>
</div>
<%--<script src="/resource/front/js/jquery.min.js" type="text/javascript"></script>--%>
<script src="/resource/front/js/jquery.form.min.js" type="text/javascript"></script>
<script src="/resource/front/js/jquery-ui-datepicker.js" type="text/javascript"></script>
<script src="/resource/front/js/checkSocialCreditCode.js" type="text/javascript"></script>
</body>
</html>
