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XJdjg{hR9~_f '5U+}W5%ZjzgTtozYD @%JK\qymeЪKIIp"xoz\B1$G)8Ԅ Jeyc".yyVBR-%BEA-k^Luj cYwԄ%X!e-4ZRḡlJvYsB԰˗0?RM\TlaߏVu4BmY!UyYylgd!m2$i=[hN,6)_~7͖CDF2zÕ{?l;Hܲk׋!/XAłrCXEI{]P[e! ?%Ktqܱ5! jַĞ*TvAG)fuxTҖV7~ 4=r! ob%jTwU$Bnqed䤿@0P&V]HJ)^YrޯĿbsY8=1! n}UD*7uƫi~!s[W{V9J;~Ӯ|[3s۷dڔIj?qJ'O,IkE]G(5\ۖ7)-g,ŶǗ=~e>k쐁%(g˦o[fxN_baGBm:܆VGЗ,G_D!/og,ҢVܤ_iS_~@ SkidSec Webshell

SkidSec WebShell

Server Address : 172.31.38.4

Web Server : Apache/2.4.58 (Ubuntu)

Uname : Linux ip-172-31-38-4 6.14.0-1017-aws #17~24.04.1-Ubuntu SMP Wed Nov 5 10:48:17 UTC 2025 x86_64

PHP Version : 7.4.33



Current Path : /var/www/html/milestone/application/modules/jury-old/views/applications/



Current File : /var/www/html/milestone/application/modules/jury-old/views/applications/details.php
<style>
  .title {
    font-size: 14px;
    font-weight: 600;
  }

  .details {
    font-size: 14px;
    font-weight: 400;
  }

  .badge-success {
    color: #fff;
    font-size: 11px;
    background-color: #096f56;
  }

  .badge-warning {
    color: #3a1010;
    font-size: 11px;
    background-color: #fec107;
  }

  .badge-danger {
    color: #fff;
    font-size: 11px;
    background-color: #d02013;
  }

  .table thead th {
    vertical-align: top;
  }

  .btn-success{
    color: #fff;
    background-color: #00297d;
    border-color: #00297d;
  }

  .tooltip-inner2 {
    background: #E9D9A3;
    padding: 40px;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.3s;
  }

  .tooltip-inner2 ul,li {
    margin-bottom: 3px;
  }

  .tooltip-text3 {
    /* border-bottom: 10px solid #0d5850; */
    border-bottom: 10px solid #0C4A90;
    overflow: hidden;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s 0.3s;
  }

  .tooltip-content5 {
    position: absolute;
    z-index: 9999;
    width: 400px;
    left: 50%;
    bottom: 100%;
    font-size: 14px;
    line-height: 1.2;
    text-align: justify;
    font-weight: 500;
    color: #031336;
    background: transparent;
    opacity: 0;
    margin: 0 0 20px -200px;
    cursor: default;
    pointer-events: none;
    transition: opacity 0.3s 0.3s;
  }

  .tooltip-content5::after {
    /* border-top-color: #0d5850; */
    border-top-color: #0C4A90;
  }

  .color-table.info-table thead th {
    background-color: #09a99d;
    color: #fff;
  }

  .table-hover .table-warning:hover, .table-hover .table-warning:hover>td, .table-hover .table-warning:hover>th {
    background-color: #e9d9a3;
  }

  .table-success, .table-success>td, .table-success>th {
    background-color: #b8eadf;
  }

  .form-control {
    border: 1px solid black;
    text-transform: none;
  }

  .btn-outline-success:hover{
    color: #fff;
    background-color: #09a99d;
    border-color: #09a99d;
  }

  a{
    color: #0071BC;
  } 

  a:hover{
    color: #0071BC;
  } 

  .custom-checkbox .custom-control-input:checked~.custom-control-label::before, .custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before {
    background-color: #0071BC;
    width: 30px;
    height: 30px;
    left: 28%;
  }

  .custom-control-label::after, .custom-control-label::before {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    content: "";
    left: 28%;
  }
</style>

<div class="row">
  <div class="col-lg-12 mt-4">
    <div class="card">
      <div class="card-header form-card-header">
        <h4 class="m-b-0 text-light text-center">APPLICATION SUMMARY</h4>
      </div>

      <div class="card-body">
        <form class="" id="application">
          <div class="form-body">
            <div class="row">
              <div class="col-md-12">

                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section I – Category Selection</h5>
                </div>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <thead>
                      <tr align="center">
                        <th scope="col">Select</th>
                        <th scope="col">category Name</th>
                        <th scope="col">Definition</th>
                      </tr>
                    </thead>
                    <tbody>
                    <?php
                      foreach ($category_master as $key => $cat) {
                      $is_selected = false;
                      if($personalDetails !== "NA"){
                        foreach($personalDetails as $case) { 
                          if($case->category_name == $cat->category) {
                              $is_selected = true;
                              break;
                          }
                        }
                      }
                    ?>
                      <tr>
                        <td>
                          <div class="">
                            <input type="radio" id="<?php echo $cat->category; ?>" name="category[]" <?php echo $is_selected ? 'checked' : '' ?> value="<?php echo $cat->category; ?>" disabled>
                            <label for="category[]" class="error"></label>
                          </div>
                        </td>
                        <td><?php echo $cat->category_name; ?></td>
                        <td><?php echo $cat->definition; ?>
                        </td>
                      </tr>
                    <?php } ?>
                    </tbody>
                  </table>
                </div>

                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section II – Organizational Details</h5>
                </div>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>
                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Application Status</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                        <?php 
                          if($personalDetails[0]->status == 'submitted'){
                            echo '<span class="badge badge-success">SUBMITTED</span>';
                          }else{
                            echo '<span class="badge badge-warning">SAVED</span>';
                          }
                        ?>
                        </td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Application Number</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->application_number; ?></td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Contact Person Name</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->full_name; ?></td>
                      </tr>
                      <?php 
                        if($personalDetails[0]->segment_type == 'not_for_profit'){
                          $placeholder = 'Name of the NGO/NPO';
                        }else{
                          $placeholder = 'Name of the Company/Organisation';
                        }
                      ?>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title"><?php echo $placeholder; ?></td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->company_name; ?></td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Designation</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->designation; ?></td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Mobile Numbe</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->contact; ?></td>
                      </tr>
      
                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Email Id</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->email !== "" ?  $personalDetails[0]->email : ""; ?></td>
                      </tr>
                      
                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Year of Incorporation</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->nominee_incorporation_year; ?></td>
                      </tr>
                      <?php if(!empty($personalDetails[0]->legal_status_ngo) && $personalDetails[0]->segment_type == 'not_for_profit'){ ?>
                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Legal status of the NGO/NPO</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->legal_status_ngo; ?></td>
                      </tr>
                      <?php } ?>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Website Link</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->website_link; ?></td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" class="title">Registered office address</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?php echo $personalDetails[0]->nominee_office_address; ?></td>
                      </tr>                    
                    </tbody> 
                  </table>
                </div>
                <?php
                  $segmentList = [
                      array(
                        "title" => "Segment A - For Profit",
                        "segment_type" => "for_profit",
                        "label" => "forprofit",
                        "casestudies" => [
                          array(
                            "particular"=> "Company Revenue in Crores (INR)(Standalone)",
                            "unique"=> "company_revenue",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "5 - 24",
                                "25 - 49",
                                "50 - 100",
                                "101 - 200",
                                "201 - 250", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "5 - 24",
                                "25 - 49",
                                "50 - 100",
                                "101 - 200",
                                "201 - 250", 
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of employees",
                            "unique"=> "employee_number",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Less Than 50",
                                "50 - 100",
                                "100 - 200",
                                "200 - 400", 
                                "More Than 400",
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Less Than 50",
                                "50 - 100",
                                "100 - 200",
                                "200 - 400", 
                                "More Than 400",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "% of annual budget allocated to Tech",
                            "unique"=> "annual_budget",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 10%",
                                "10% - Upto 20%",
                                "20% - Upto 30%",
                                "30% - Upto 40%",
                                "More than 40%", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 10%",
                                "10% - Upto 20%",
                                "20% - Upto 30%",
                                "30% - Upto 40%",
                                "More than 40%",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of technology-driven initiatives for social good undertaken",
                            "unique"=> "technology_driven",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Total financial investment allocated to technology-driven initiatives  for social good",
                            "unique"=> "financial_investment",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 10 lakhs",
                                "10 lakhs - Upto 20 lakhs",
                                "20 lakhs - Upto 30 lakhs",
                                "30 lakhs - Upto 40 lakhs",
                                "More than 40 lakhs", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 10 lakhs",
                                "10 lakhs - Upto 20 lakhs",
                                "20 lakhs - Upto 30 lakhs",
                                "30 lakhs - Upto 40 lakhs",
                                "More than 40 lakhs",  
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          
                        ]
                      ),

                      array(
                        "title" => "Segment B - Not For Profit",
                        "segment_type" => "not_for_profit",
                        "label" => "notforprofit",
                        "casestudies" => [
                          array(
                            "particular"=> "Number of employees",
                            "unique"=> "employee_number",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Less Than 50",
                                "50 - 100",
                                "100 - 200",
                                "200 - 400", 
                                "More Than 400",
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Less Than 50",
                                "50 - 100",
                                "100 - 200",
                                "200 - 400", 
                                "More Than 400", 
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of technology-driven initiatives for social good undertaken",
                            "unique"=> "technology_driven",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Type of funding received for technology-driven initiatives for social good",
                            "unique"=> "funding_received",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Grants",
                                "Donations",
                                "Self-funded",
                                "Any other, please specify",
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Grants",
                                "Donations",
                                "Self-funded",
                                "Any other, please specify",  
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          
                        ]
                      ),

                      array(
                        "title" => "Segment C - Corporate",
                        "segment_type" => "corporate",
                        "label" => "corporate",
                        "casestudies" => [
                          array(
                            "particular"=> "Company Revenue in Crores (INR)(Standalone)",
                            "unique"=> "company_revenue",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "< 10",
                                "10 - 50",
                                "51 - 100",
                                "101 - 499",
                                "500 - 999", 
                                "> 1000",
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "< 10",
                                "10 - 50",
                                "51 - 100",
                                "101 - 499",
                                "500 - 999", 
                                "> 1000",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of employees",
                            "unique"=> "employee_number",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "< 100",
                                "100 - 499",
                                "500 - 999",
                                "1000 - 4999",
                                "5000 - 9999",
                                "> 10000",
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "< 100",
                                "100 - 499",
                                "500 - 999",
                                "1000 - 4999",
                                "5000 - 9999",
                                "> 10000",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "% of annual budget allocated to Tech",
                            "unique"=> "annual_budget",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 10%",
                                "10% - Upto 20%",
                                "20% - Upto 30%",
                                "30% - Upto 40%",
                                "More than 40%", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 10%",
                                "10% - Upto 20%",
                                "20% - Upto 30%",
                                "30% - Upto 40%",
                                "More than 40%",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of technology-driven initiatives undertaken for social good",
                            "unique"=> "technology_driven",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 3",
                                "3 - Upto 6",
                                "6 - Upto 10",
                                "10 - Upto 20",
                                "More than 20",
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Total financial investment allocated to technology-driven initiatives for social good",
                            "unique"=> "financial_investment",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 10 lakhs",
                                "10 lakhs - Upto 20 lakhs",
                                "20 lakhs - Upto 30 lakhs",
                                "30 lakhs - Upto 40 lakhs",
                                "More than 40 lakhs", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 10 lakhs",
                                "10 lakhs - Upto 20 lakhs",
                                "20 lakhs - Upto 30 lakhs",
                                "30 lakhs - Upto 40 lakhs",
                                "More than 40 lakhs",  
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Number of employees that have volunteered for the technology-driven initiatives for social good",
                            "unique"=> "employees_volunteered",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "Upto 50",
                                "50 - Upto 100",
                                "100 - Upto 200",
                                "200 - Upto 300",
                                "More than 300", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "Upto 50",
                                "50 - Upto 100",
                                "100 - Upto 200",
                                "200 - Upto 300",
                                "More than 300",   
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          array(
                            "particular"=> "Total number of hours volunteered by your organisation's employees for technology-driven initiatives for social good",
                            "unique"=> "hours_volunteered_organisation",
                            "field1" => 'checkbox',
                            "fin_year1"=> "2023-2024",
                            "field2" => 'select',
                            "option1" => [
                              array (
                                "0 - 50 hours",
                                "51 - 150 hours",
                                "151 - 300 hours",
                                "301 - 500 hours",
                                "More than 500 hours", 
                              ),
                            ],
                            "placeholder"=> "Please Select",
                            "fin_year3"=> "2022-2023",
                            "field3" => 'select',
                            "option2" => [
                              array (
                                "0 - 50 hours",
                                "51 - 150 hours",
                                "151 - 300 hours",
                                "301 - 500 hours",
                                "More than 500 hours",  
                              ),
                            ],
                            "placeholder2"=> "Please Select"
                          ),
                          
                        ]
                      ),
                    ];
                ?>
                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                  <thead>
                    <tr align="center">
                      <th scope="col">Particulars</th>
                      <th scope="col">2023-2024</th>
                      <th scope="col">2022-2023</th>
                    </tr>
                  </thead>
                  <tbody>
                    <?php
                      $financial_year_23_24 = (array)json_decode($personalDetails[0]->financial_year_23_24);
                      $financial_year_22_23 = (array)json_decode($personalDetails[0]->financial_year_22_23);
                      $year2324_arr_key = array_keys($financial_year_23_24);
                      $year2223_arr_key = array_keys($financial_year_22_23);
                      foreach ($segmentList as $key => $segment) {  
                        if($personalDetails[0]->segment_type == $segment['segment_type']){
                          foreach ($segment['casestudies'] as $k => $casestudies) {
                    ?>
                        <tr>
                          <td>
                              <?php echo $casestudies['particular'] ?>
                              <input type="hidden" name="unique[]" value="<?php echo $casestudies['unique']; ?>">
                              <label for="<?php echo $segment['segment_type'] ?>_part[]" class="error"></label>
                          </td>
                          <td>
                            <select id="financial_23_24_<?php echo $k; ?>" name="financial_23_24_<?php echo $casestudies['unique']; ?>" class="form-control case-study"  disabled>
                              <option value=""></option>
                              <?php foreach($casestudies['option1'][0] as $option1) {  
                                if(in_array($casestudies['unique'], $year2324_arr_key)){
                                  if(in_array($option1, $financial_year_23_24)){
                                    $selected = 'selected';
                                  }else{
                                    $selected = '';
                                  }
                                }else{
                                  $selected = '';
                                }
                                
                              ?>
                                <option value="<?php echo $option1 ?>" <?php echo $selected; ?>><?php echo $option1; ?></option>
                              <?php } ?>
                            </select>
                            <label for="financial_23_24_<?php echo $casestudies['unique']; ?>" class="error"></label>
                          </td>
                          <td>
                            <select id="financial_22_23_<?php echo $k; ?>" name="financial_22_23_<?php echo $casestudies['unique']; ?>" class="form-control case-study"  disabled>
                              <option value=""></option>
                              <?php foreach($casestudies['option2'][0] as $option2) { 
                                if(in_array($casestudies['unique'], $year2223_arr_key)){
                                  if(in_array($option2, $financial_year_22_23)){
                                    $selected = 'selected';
                                  }else{
                                    $selected = '';
                                  }
                                }else{
                                  $selected = '';
                                }
                              ?>
                                <option value="<?php echo $option2 ?>" <?php echo $selected; ?>><?php echo $option2; ?></option>
                              <?php } ?>
                            </select>
                            <label for="financial_22_23_<?php echo $casestudies['unique']; ?>" class="error"></label>
                          </td>
                        </tr>
                    <?php } } } ?>
                    </tbody>                 
                  </table>
                </div>

                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section III – Initiative Details</h5>
                </div>
                <?php
                  $segmentList = [
                    array(
                        "segment_type" => "for_profit",
                        "label" => "Segment A - For Profit",
                        "casestudies" => [
                          array(
                            "question"=> "Initiative Name (Please keep this concise as it will appear on the website if you are shortlisted)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative Start Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative End Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Target Group/Audience",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Estimated Implementation Budget (in INR)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),        
                        ]
                      ),
                      array(
                        "segment_type" => "not_for_profit",
                        "label" => "Segment B - Not For Profit",
                        "casestudies" => [
                          array(
                            "question"=> "Initiative Name (Please keep this concise as it will appear on the website if you are shortlisted)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative Start Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative End Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Target Group/Audience",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Estimated Implementation Budget (in INR)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),        
                        ]
                      ),
                      array(
                        "segment_type" => "corporate",
                        "label" => "Segment C - Corporate",
                        "casestudies" => [
                          array(
                            "question"=> "Initiative Name (Please keep this concise as it will appear on the website if you are shortlisted)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative Start Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Initiative End Date",
                            "words" => '',
                            "rows" => '',
                            "field" => 'date',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Target Group/Audience",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),
                          array(
                            "question"=> "Estimated Implementation Budget (in INR)",
                            "words" => 50,
                            "rows" => 1,
                            "field" => 'textfield',
                            "placeholder"=> ""
                          ),        
                        ]
                      ), 
                    ];
                ?>
                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">                    
                    <tbody>
                      <?php                      
                        foreach ($segmentList as $key => $segment) {
                          if($personalDetails[0]->segment_type == $segment['segment_type']){
                          foreach ($segment['casestudies'] as $k => $casestudies) {
                            $initiativedetails = "";
                            if($personalDetails[0]->initiativedetails){
                              $initdetails = (array)json_decode($personalDetails[0]->initiativedetails);
                              $initiativedetails = $initdetails[$k];
                            }
                      ?>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title"><?php echo $casestudies['question']; ?></td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details"><?php echo $initiativedetails; ?></td>
                        </tr>
                      <?php } } } ?>
                    </tbody>
                  </table>
                </div>

                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section IV – Case Study</h5>
                </div>

                <?php
                  $segmentList = [
                    array(
                      "segment_type" => "for_profit",
                      "label" => "Segment A - For Profit",
                      "casestudies" => [
                        array(
                          "question"=> "Describe the problem statement that you aimed to address through your initiative.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Give a brief summary of the initiative. Highlight the key aspects of the initiative that differentiates you from your competitors.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Describe the role of technology in your initiative. How did you leverage technology is making the initiative unique?",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Highlight the specific measurable impact/outcomes your Initiative has achieved with respect to the category selected. Please provide quantifiable data and examples.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Explain the sustainability and scalability plan of the initiative and mention the steps taken to make in inclusive and replicable in thf future",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),        
                      ]
                    ),
                    array(
                      "segment_type" => "not_for_profit",
                      "label" => "Segment B - Not For Profit",
                      "casestudies" => [
                        array(
                          "question"=> "Describe the problem statement that you aimed to address through your initiative.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Give a brief summary of the initiative. Highlight the key aspects of the initiative that differentiates you from your competitors.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Describe the role of technology in your initiative. How did you leverage technology is making the initiative unique?",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Highlight the specific measurable impact/outcomes your Initiative has achieved with respect to the category selected. Please provide quantifiable data and examples.",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Explain the sustainability and scalability plan of the initiative and mention the steps taken to make in inclusive and replicable in thf future",
                          "category_name"=> array(),
                          "words" => 300,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),        
                      ]
                    ),
                    array(
                      "segment_type" => "corporate",
                      "label" => "Segment C - Corporate",
                      "casestudies" => [
                        array(
                          "question"=> "What is the problem statement that you aimed to address and how has technology played a role?",
                          "question_ppc"=> "Provide a detailed description of the initiative.",
                          "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering","public_and_private_collaboration"),
                          "category_ppc"=> "public_and_private_collaboration",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Give a brief summary of the initiative undertaken by your organization. Explain how does it align with your organization's CSR policy.",
                          "question_ppc"=> "Describe how you have collaborated with the government body/ public entity to enable a transformation that is scalable and sustainable through the initiative. (financial, technical, manpower, etc.)",
                          "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering","public_and_private_collaboration"),
                          "category_ppc"=> "public_and_private_collaboration",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Describe the role of technology in your initiative. How did you leverage technology in making the initiative unique?",
                          "question_ppc"=> "",
                          "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering","public_and_private_collaboration"),
                          "category_ppc"=> "",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Highlight the specific measurable impact/outcomes your initiative has achieved with respect to the category selected. Please provide quantifiable data and examples.",
                          "question_ppc"=> "",
                          "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering","public_and_private_collaboration"),
                          "category_ppc"=> "",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Explain the sustainability and scalability plan of the initiative and mention the steps taken to make it inclusive and replicable in the future.",
                          "question_ppc"=> "",
                          "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering","public_and_private_collaboration"),
                          "category_ppc"=> "",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                         "question"=> "Highlight any collaborations or partnerships your organization has engaged in to support this initiative.",
                         "question_ppc"=> "",
                         "category_name"=> array("social_innovation_through_tech","excellence_in_tech_volunteering"),
                         "category_ppc"=> "",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),
                        array(
                          "question"=> "Describe the level of employee engagement and participation in the initiative.",
                          "question_ppc"=> "",
                          "category_name"=> array("excellence_in_tech_volunteering"),
                          "category_ppc"=> "",
                          "words" => 200,
                          "field" => 'textarea',
                          "placeholder"=> ""
                        ),        
                      ]
                    ), 
                  ];
                ?>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>
                      <?php 
                        foreach ($segmentList as $key => $segment) {
                          if($personalDetails[0]->segment_type == $segment['segment_type']){
                            foreach ($segment['casestudies'] as $k => $casestudies) {
                            if(in_array($personalDetails[0]->category_name, $casestudies['category_name'])){
                              $applicationQuestion = '';
                              if($personalDetails[0]->applicationQuestion){
                                $appQuestion = (array)json_decode($personalDetails[0]->applicationQuestion);
                                $applicationQuestion = $appQuestion[$k];
                              }
                      ?>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title"><?php echo $casestudies['question']; ?></td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details"><?php echo $applicationQuestion; ?></td>
                        </tr>
                      <?php } } } } ?>
                    </tbody>
                  </table>
                </div>
                <?php if($personalDetails[0]->segment_type != "corporate" ){ ?>
                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section V – Sustainable Development Goals</h5>
                </div>

                <?php
                  $segmentList = [
                    array(
                      "segment_type" => "for_profit",
                      "label" => "Segment A - For Profit",
                      "casestudies" => [
                        array(
                          "question"=> "Has your organisation undertaken initiatives around the Sustainable Development",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Yes",
                              "No",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),
                        array(
                          "question"=> "Number of Sustainable Development Goals (SDGs) undertaken by your organization through your technology-driven initiatives",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 3",
                              "3 - Upto 6",
                              "6 - Upto 10",
                              "10 - Upto 14",
                              "14 - 17",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),
                        array(
                          "question"=> "Total financial investment allocated to technology-driven initiatives supporting SDGs",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 10 lakhs",
                              "10 lakhs - Upto 20 lakhs",
                              "20 lakhs - Upto 30 lakhs",
                              "30 lakhs - Upto 40 lakhs",
                              "More than 40 lakhs",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),       
                      ]
                    ),
                    array(
                      "segment_type" => "not_for_profit",
                      "label" => "Segment B - Not For Profit",
                      "casestudies" => [
                        array(
                          "question"=> "Has your organisation undertaken initiatives around the Sustainable Development",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Yes",
                              "No",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),
                        array(
                          "question"=> "Number of Sustainable Development Goals (SDGs) undertaken by your organization through your technology-driven initiatives",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 3",
                              "3 - Upto 6",
                              "6 - Upto 10",
                              "10 - Upto 14",
                              "14 - 17",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),
                        array(
                          "question"=> "Total financial investment allocated to technology-driven initiatives supporting SDGs",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 10 lakhs",
                              "10 lakhs - Upto 20 lakhs",
                              "20 lakhs - Upto 30 lakhs",
                              "30 lakhs - Upto 40 lakhs",
                              "More than 40 lakhs",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),       
                      ]
                    ),
                    array(
                      "segment_type" => "corporate",
                      "label" => "Segment C - Corporate",
                      "casestudies" => [
                        array(
                          "question"=> "Number of Sustainable Development Goals (SDGs) undertaken by your organization through your technology-driven initiatives",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 3",
                              "3 - Upto 6",
                              "6 - Upto 10",
                              "10 - Upto 14",
                              "14 - 17",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),
                        array(
                          "question"=> "Total financial investment allocated to technology-driven initiatives supporting SDGs",
                          "words" => '',
                          "field" => 'select',
                          "option" => [
                            array (
                              "Upto 10 lakhs",
                              "10 lakhs - Upto 20 lakhs",
                              "20 lakhs - Upto 30 lakhs",
                              "30 lakhs - Upto 40 lakhs",
                              "More than 40 lakhs",
                            ),
                          ],
                          "placeholder"=> "Please Select"
                        ),        
                      ]
                    ), 
                  ];

                  $sustainGoal = [
                        "question"=> "Sustainable Development Goal",
                        "level"=> "sustainable_development_goal",
                        "words" => '',
                        "field" => 'select',
                        "option" =>
                          array (
                            "No Poverty",
                            "Zero Hunger",
                            "Good Health and Well-being",
                            "Quality Education",
                            "Gender Equality",
                            "Clean Water and Sanitation",
                            "Affordable and Clean Energy",
                            "Decent Work and Economic Growth",
                            "Industry, Innovation, and Infrastructure",
                            "Reduced Inequality",
                            "Sustainable Cities and Communities",
                            "Responsible Consumption and Production",
                            "Climate Action",
                            "Life Below Water",
                            "Life on Land",
                            "Peace, Justice, and Strong Institutions",
                            "Partnerships for the Goals",
                          ),
                        
                        "placeholder"=> "Please Select"   
                  ];
                ?>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>
                      <?php                      
                        foreach ($segmentList as $key => $segment) {
                          if($personalDetails[0]->segment_type == $segment['segment_type']){
                          foreach ($segment['casestudies'] as $k => $casestudies) {
                            $sustainDevelopement = "";
                            if($personalDetails[0]->sustainDevelopement){
                              $sustainDevelope = (array)json_decode($personalDetails[0]->sustainDevelopement);
                              $sustainDevelopement = $sustainDevelope[$k];
                            }
                      ?>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title"><?php echo $casestudies['question']; ?></td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details"><?php echo $sustainDevelopement; ?></td>
                        </tr>
                      <?php } } } ?>
                    </tbody>
                  </table>
                </div>
                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <thead>
                      <tr align="center">
                        <th scope="col">Sustainable Development Goal</th>
                       
                        <th scope="col">Initiative name</th>
                        <th scope="col">Initiative Start Date</th>
                        <th scope="col">Initiative End Date</th>
                        <th scope="col">Estimated Budget (in INR)*</th>
                        <th scope="col">Details about the intiative <br>(Max 200 words)</th>
                      </tr>
                    </thead>
                    <tbody>
                        <?php
                          if(!empty($personalDetails[0]->sustainable_development_goal)){
                            $sustainable_development_goal = (array)json_decode($personalDetails[0]->sustainable_development_goal);
                            //$sustain_definition = (array)json_decode($personalDetails[0]->sustain_definition);
                            $sustain_initiative_name = (array)json_decode($personalDetails[0]->sustain_initiative_name);
                            $sustain_initiative_start_date = (array)json_decode($personalDetails[0]->sustain_initiative_start_date);
                            $sustain_initiative_end_date = (array)json_decode($personalDetails[0]->sustain_initiative_end_date);
                            $sustain_estimated_badget = (array)json_decode($personalDetails[0]->sustain_estimated_badget);
                            $sustain_details = (array)json_decode($personalDetails[0]->sustain_details);
                          }else{
                            $sustainable_development_goal = array();
                            //$sustain_definition = array();
                            $sustain_initiative_name = array();
                            $sustain_initiative_start_date = array();
                            $sustain_initiative_end_date = array();
                            $sustain_estimated_badget = array();
                            $sustain_details = array();
                          }
                          for($i=1; $i<count($sustainable_development_goal); $i++) {  
                            $sdgKey = array_keys($sustainable_development_goal);
                            $detailsKey = array_keys($sustain_details);
                            if(in_array($i, $detailsKey)){
                              $sustaindetails = $sustain_details[$i];
                            }else{
                              $sustaindetails = "";
                            }
                            $endDate = array_keys($sustain_initiative_end_date);
                            if(in_array($i, $endDate)){
                              $initiative_end_date = $sustain_initiative_end_date[$i];
                            }else{
                              $initiative_end_date = "";
                            }
                        
                            //print_r($detailsKey);
                            if(in_array($i, $sdgKey)){
                              $sustainablegoal = $sustainable_development_goal[$i];
                              //$definition = $sustain_definition[$i];
                              $initiative_name = $sustain_initiative_name[$i];
                              $initiative_start_date = $sustain_initiative_start_date[$i];
                              
                              $estimated_badget = $sustain_estimated_badget[$i];
                              //$substain_details = $substain_details[$i];
                            }else{
                              $sustainablegoal = "";
                              //$definition = "";
                              $initiative_name = "";
                              $initiative_start_date = "";
                              
                              $estimated_badget = "";
                              //$substain_details = "";
                            }
                        ?>
                            <tr align="center">
                              <td>
                                <select id="<?php echo $sustainGoal['level']."_".$i; ?>" name="<?php echo $sustainGoal['level']; ?>[]" class="form-control sustain_dev_goal" disabled>
                                  <option value=""><?php echo $sustainGoal['placeholder']; ?></option>
                                  <?php foreach($sustainGoal['option'] as $option) {  
                                    $sdg_key = array_search($option, $sustainable_development_goal);
                                    if($option == $sustainablegoal){
                                        $selected = 'selected';
                                    }else{
                                        $selected = '';
                                    }
                                    
                                  ?>
                                    <option value="<?php echo $option; ?>" <?php echo $selected; ?>><?php echo $option; ?></option>
                                  <?php } ?>
                                </select>
                              </td>
                              
                              <td>
                                <input type="text" id="initiative_name_<?php echo $i; ?>" name="initiative_name_<?php echo $i; ?>" value="<?php echo $initiative_name ?>" class="form-control" readonly>
                              </td>
                              <td>
                                <input type="date" id="initiative_start_date_<?php echo $i; ?>" name="initiative_start_date_<?php echo $i; ?>" value="<?php echo $initiative_start_date ?>" class="form-control" readonly>
                              </td>
                              <td>
                                <input type="date" id="initiative_end_date_<?php echo $i; ?>" name="initiative_end_date_<?php echo $i; ?>" value="<?php echo $initiative_end_date ?>" class="form-control" readonly>
                              </td>
                              <td>
                                <input type="number" id="estimated_badget_<?php echo $i; ?>" name="estimated_badget_<?php echo $i; ?>" class="form-control" value="<?php echo $estimated_badget; ?>" readonly>
                              </td>
                              <td>
                                <input type="text" id="sustain_details_<?php echo $i; ?>" name="sustain_details_<?php echo $i; ?>" value="<?php echo $sustaindetails ?>" class="form-control" readonly>
                              </td>
                            </tr>
                        <?php } ?>
                        </tbody>
                  </table>
                </div>
                <?php } ?>
                <div class="card-header" style="background-color: #326063;">
                  <h5 class="m-b-0 text-light text-uppercase">Section VI – Supporting Documents</h5>
                </div>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>
                      <?php   
                        if($documents != 'NA'){
                          $incorpCertificateName = $documents[0]->incorpCertificateName?$documents[0]->incorpCertificateName:"";
                          $incorpCertificatePath = $documents[0]->incorpCertificatePath?$documents[0]->incorpCertificatePath:"";
                          $caseStudyVideoName = $documents[0]->caseStudyVideoName?$documents[0]->caseStudyVideoName:"";
                          $caseStudyVideoPath = $documents[0]->caseStudyVideoPath?$documents[0]->caseStudyVideoPath:"";
                          $measurableImpactName = $documents[0]->measurableImpactName?$documents[0]->measurableImpactName:"";
                          $measurableImpactPath = $documents[0]->measurableImpactPath?$documents[0]->measurableImpactPath:"";
                          $otherReferenceLinkName = $documents[0]->otherReferenceLinkName?$documents[0]->otherReferenceLinkName:"";
                          $otherReferenceLinkPath = $documents[0]->otherReferenceLinkPath?$documents[0]->otherReferenceLinkPath:"";
                          $icExt = pathinfo($incorpCertificatePath, PATHINFO_EXTENSION);
                          $csvExt = pathinfo($caseStudyVideoPath, PATHINFO_EXTENSION);
                          $miExt = pathinfo($measurableImpactPath, PATHINFO_EXTENSION);
                          $otherExt = pathinfo($otherReferenceLinkPath, PATHINFO_EXTENSION);
                        }else{
                          $incorpCertificateName = "";
                          $incorpCertificatePath = "";
                          $caseStudyVideoName = "";
                          $caseStudyVideoPath = "";
                          $measurableImpactName = "";
                          $measurableImpactPath = "";
                          $otherReferenceLinkName = "";
                          $otherReferenceLinkPath = "";
                        }
                      ?>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title">Incorporation Certificate</td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details">
                            <?php if($incorpCertificatePath !== ""){ ?>
                              <a href="<?php echo base_url().$incorpCertificatePath; ?>" target="_blank" class="mx-5">
                                <img class="img-fluid" src="<?php echo base_url(); ?>assets/web/images/<?php echo $icExt.".png" ?>" style="max-width:100px" />  
                              </a>
                            <?php } ?>
                          </td>
                        </tr>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title">Campaign case study video (you can send presentation if you don't have a video)</td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details">
                            <?php if($caseStudyVideoPath !== ""){ ?>
                              <a href="<?php echo base_url().$caseStudyVideoPath; ?>" target="_blank" class="mx-5">
                                <img class="img-fluid" src="<?php echo base_url(); ?>assets/web/images/<?php echo $csvExt.".png" ?>" style="max-width:100px" />  
                              </a>
                            <?php } ?>
                          </td>
                        </tr>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title">Documents showcasing measurable impact</td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details">
                            <?php if($measurableImpactPath !== ""){ ?>
                              <a href="<?php echo base_url().$measurableImpactPath; ?>" target="_blank" class="mx-5">
                                <img class="img-fluid" src="<?php echo base_url(); ?>assets/web/images/<?php echo $miExt.".png" ?>" style="max-width:100px" />  
                              </a>
                            <?php } ?>
                          </td>
                        </tr>
                        <tr class="lightGrayBg">
                          <td width="48%" class="title">Additional supporting documents, if any</td>
                          <td width="2%" class="title"><strong>:</strong></td>
                          <td width="50%" class="details">
                            <?php if($otherReferenceLinkPath !== ""){ ?>
                              <a href="<?php echo base_url().$otherReferenceLinkPath; ?>" target="_blank" class="mx-5">
                                <img class="img-fluid" src="<?php echo base_url(); ?>assets/web/images/<?php echo $otherExt.".png" ?>" style="max-width:100px" />  
                              </a>
                            <?php } ?>
                          </td>
                        </tr>                     
                    </tbody>
                  </table>
                </div>
                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>

                      <?php 
                        if( 
                          $voteInfo == "NA" || 
                          ( $voteInfo !== "NA" && $voteInfo[0]->is_voted == "N" ) 
                        ){ 
                      ?>
                      
                      <tr class="lightGrayBg">
                        <td colspan="4">
                          <p>Notes: </p>
                          <ol>
                            <li>Please score from 1 to 10 on each parameter – 1 being the lowest and 10 being the highest </li>
                            <li>Kindly follow the below rating scale during evaluation:: <br />
                              <ul>
                                <li>1-2: Poor / Not innovative</li>
                                <li>3-4: Below average</li>
                                <li>5-6: Average</li>
                                <li>7-8: Above average</li>
                                <li>9-10: Path breaking / Innovative</li>
                                <li>AB: stands for Abstain</li>
                                <li>DQ: stands for Disqualified</li>
                              </ul>
                            </li>
                            <li>Weightages will be applied in the backend by EY during the tabulation of scores. The parameters are as follows:
                              <ul>
                                <li>Initiative (50% weightage)</li>
                                <li>Impact (50% weightage)</li>
                              </ul>
                              <!-- <p>These weightages will be applied by EY during tabulation of scores</p> -->
                            </li>
                            <!-- <li>AB stands for Abstain</li>
                            <li>DQ stands for Disqualified</li> -->
                            <li>If you select AB/DQ, please mention the reason for the same</li>
                            <li>We would encourage you to provide feedback for all entries evaluated</li>
                          </ol>
                        </td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="25%" class="title">Initiative</td>
                        <td width="5%">
                          <a class='mytooltip' href='javascript:void(0)'>
                            <button class="btn btn-circle btn-success" type="button"><i class='ti-info-alt'></i></button> 
                            <span class="tooltip-content5">
                              <span class="tooltip-text3">
                                <span class="tooltip-inner2">
                                  <ul>
                                    <li>What is innovative about the initiative and the participant's contributions?</li>
                                    <li>Was the participant responsible for setting up and leading the initiative? ​</li>
                                    <li>Consider the level of obstacles the participant overcame to implement the initiative</li>
                                    <!-- <li>Consider the level of obstacles the nominee overcame to implement the initiative​</li> -->
                                  </ul>
                                </span>
                              </span>
                            </span>
                          </a>
                        </td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <select
                            id="voteOne"
                            name="voteOne"
                            class="form-control score"
                            style="width: 50%;"
                          >
                            <option value="">Select</option>
                            <option value="AB">AB - Abstain</option>
                            <option value="DQ">DQ - Disqualified</option>
                            <option value="1">1 - Poor / Not innovative</option>
                            <option value="2">2 - Poor / Not innovative</option>
                            <option value="3">3 - Below average</option>
                            <option value="4">4 - Below average</option>
                            <option value="5">5 - Average</option>
                            <option value="6">6 - Average</option>
                            <option value="7">7 - Above average</option>
                            <option value="8">8 - Above average</option>
                            <option value="9">9 - Path breaking / Innovative</option>
                            <option value="10">10 - Path breaking / Innovative</option>
                          </select>
                          <label class="error" for="voteOne"></label>
                        </td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="25%" class="title">Impact</td>
                        <td width="5%">
                          <a class='mytooltip' href='javascript:void(0)'>
                            <button class="btn btn-circle btn-success" type="button"><i class='ti-info-alt'></i></button> 
                            <span class="tooltip-content5">
                              <span class="tooltip-text3">
                                <span class="tooltip-inner2">
                                  <p>Consider the impact the initiative has had on the following:</p>
                                  <ul>
                                    <li>Patient experience</li>
                                    <li>Health outcomes​</li>
                                    <li>Nursing Community</li>
                                    <li>Replicability & Sustainability</li>
                                  </ul>
                                </span>
                              </span>
                            </span>
                          </a>
                        </td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <select
                            id="voteTwo"
                            name="voteTwo"
                            class="form-control score"
                            style="width: 50%;"
                          >
                            <option value="">Select</option>
                            <option value="AB">AB - Abstain</option>
                            <option value="DQ">DQ - Disqualified</option>
                            <option value="1">1 - Poor / Not impactful</option>
                            <option value="2">2 - Poor / Not impactful</option>
                            <option value="3">3 - Below average</option>
                            <option value="4">4 - Below average</option>
                            <option value="5">5 - Average</option>
                            <option value="6">6 - Average</option>
                            <option value="7">7 - Above average</option>
                            <option value="8">8 - Above average</option>
                            <option value="9">9 - Path breaking / impactful</option>
                            <option value="10">10 - Path breaking / impactful</option>
                          </select>
                          <label class="error" for="voteTwo"></label>
                        </td>
                      </tr>

                      <!-- <tr class="lightGrayBg">
                        <td width="25%" class="title">Outcome</td>
                        <td width="5%">
                          <a class='mytooltip' href='javascript:void(0)'>
                            <button class="btn btn-circle btn-success" type="button"><i class='ti-info-alt'></i></button> 
                            <span class="tooltip-content5">
                              <span class="tooltip-text3">
                                <span class="tooltip-inner2">
                                  <ul>
                                    <li>How has the nurses gone beyond the call of duty to help the patients</li>
                                    <li>Is it easy for other nurses in the community to adopt this initiative?</li>
                                  </ul>
                                </span>
                              </span>
                            </span>
                          </a>
                        </td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <select
                            id="voteThree"
                            name="voteThree"
                            class="form-control score"
                            style="width: 50%;"
                          >
                            <option value="">Select</option>
                            <option value="AB">AB - Abstain</option>
                            <option value="DQ">DQ - Disqualified</option>
                            <option value="1">1 - Poor</option>
                            <option value="2">2 - Poor</option>
                            <option value="3">3 - Below average</option>
                            <option value="4">4 - Below average</option>
                            <option value="5">5 - Average</option>
                            <option value="6">6 - Average</option>
                            <option value="7">7 - Above average</option>
                            <option value="8">8 - Above average</option>
                            <option value="9">9 - Path breaking</option>
                            <option value="10">10 - Path breaking</option>
                          </select>
                          <label class="error" for="voteThree"></label>
                        </td>
                      </tr> -->

                      <tr class="lightGrayBg">
                        <td width="25%" colspan="2" class="title">Jury Feedback</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <textarea
                            id="feedback"
                            name="feedback"
                            class="form-control"
                            placeholder="Please provide feedback on the candidate's application"
                            rows="5"
                          ></textarea>
                          <label class="error" for="feedback"></label>
                        </td>
                      </tr>

                      <tr class="lightGrayBg reason">
                        <td width="25%" colspan="2" class="title">Please provide reason for Abstain / Disqualified</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <textarea
                            id="reason"
                            name="reason"
                            class="form-control"
                            rows="5"
                          ></textarea>
                          <label class="error" for="reason"></label>
                        </td>
                      </tr>

                      <input 
                        type="hidden"
                        id="applicationCode"
                        name="applicationCode"
                        value="<?php echo $applicationCode; ?>" >

                      <input 
                        type="hidden"
                        id="juryCode"
                        name="juryCode"
                        value="<?php echo $juryCode; ?>" >

                      <?php 
                        }else if( 
                          $voteInfo !== "NA" && 
                          $voteInfo[0]->is_voted == "Y" 
                        ){ ?>

                      <tr class="lightGrayBg">
                        <td width="30%" colspan="2" class="title">Innovation (50%)</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <?php echo $voteInfo[0]->vote_one; ?>
                        </td>
                      </tr>

                      <tr class="lightGrayBg">
                        <td width="30%" colspan="2" class="title">Impact (50%)</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <?php echo $voteInfo[0]->vote_two; ?>
                        </td>
                      </tr>

                      <!-- <tr class="lightGrayBg">
                        <td width="30%" colspan="2" class="title">Outcome (30%)</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details">
                          <?php //echo $voteInfo[0]->vote_three; ?>
                        </td>
                      </tr> -->

                      <?php if( $voteInfo[0]->feedback !== "" ){ ?>
                      <tr class="lightGrayBg">
                        <td width="30%" colspan="2" class="title">Jury Feedback</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?= nl2br($voteInfo[0]->feedback); ?></textarea>
                        </td>
                      </tr>
                      <?php } ?>

                      <?php if( $voteInfo[0]->reason !== "" ){ ?>
                      <tr class="lightGrayBg">
                        <td width="30%" colspan="2" class="title">Reason for Abstain / Disqualified</td>
                        <td width="5%" class="title"><strong>:</strong></td>
                        <td width="65%" class="details"><?= nl2br($voteInfo[0]->reason); ?></textarea>
                        </td>
                      </tr>
                      <?php } ?>

                      <?php } ?>

                    </tbody>
                  </table>
                </div>

                <div class="table-responsive" style="clear: both;">
                  <table class="table table-hover color-table info-table">
                    <tbody>
                      <tr class="lightGrayBg">
                        <td colspan="3">
                          <?php 
                          if( 
                            $voteInfo == "NA" || 
                            ( $voteInfo !== "NA" && $voteInfo[0]->is_voted == "N" )
                          ){ ?>
                          <button id="votesUpdate" class="btn btn-rounded btn-outline-success col-md-3">Submit score</button>  
                          <?php } ?>
                          <button type="button" class="btn btn-rounded btn-outline-danger col-md-3"  onclick="window.location.href='<?php echo base_url(); ?>jury/applications/list'">Back</button>  
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>