<?php
$consignor_name         = $get_bill_details->consignor_name;
$consignor_addr1        = $get_bill_details->consignor_addr1;
$consignor_addr2        = $get_bill_details->consignor_addr2;
$consignor_addr3        = $get_bill_details->consignor_addr3;
$consignor_addr4        = $get_bill_details->consignor_addr4;
$consignor_pin          = $get_bill_details->consignor_pin;
$consignor_con_no       = $get_bill_details->consignor_con_no;
$consignor_fax          = $get_bill_details->consignor_fax;
$consignor_country      = $get_bill_details->consignor_country;
$consignor_state        = $get_bill_details->consignor_state;
$consignee_name         = $get_bill_details->consignee_name;
$consignee_addr1        = $get_bill_details->consignee_addr1;
$consignee_addr2        = $get_bill_details->consignee_addr2;
$consignee_addr3        = $get_bill_details->consignee_addr3;
$consignee_addr4        = $get_bill_details->consignee_addr4;
$consignee_pin          = $get_bill_details->consignee_pin;
$consignee_con_no       = $get_bill_details->consignee_con_no;
$consignee_fax          = $get_bill_details->consignee_fax;
$consignee_country      = $get_bill_details->consignee_country;
$consignee_state        = $get_bill_details->consignee_state;
$notify_name          = $get_bill_details->notify_name;
$notify_addr1         = $get_bill_details->notify_addr1;
$notify_addr2         = $get_bill_details->notify_addr2;
$notify_addr3         = $get_bill_details->notify_addr3;
$notify_addr4         = $get_bill_details->notify_addr4;
$notify_pin           = $get_bill_details->notify_pin;
$notify_con_no        = $get_bill_details->notify_con_no;
$notify_fax           = $get_bill_details->notify_fax;
$notify_country_name      = $get_bill_details->notify_country_name;
$notify_state_name        = $get_bill_details->notify_state_name;
$cmp_shrt_code          = $get_bill_details->cmp_shrt_code;
$branch_shrt_code       = $get_bill_details->branch_shrt_code;
$port_of_dis_shrt_code      = $get_bill_details->port_of_dis_shrt_code;
$bill_no            = $get_bill_details->bill_no;
$bill_products              = $get_bill_details->bill_products;
$date_of_issue              = $get_bill_details->date_of_issue;
$pre_carriage               = $get_bill_details->pre_carriage;
$voyage                     = $get_bill_details->voyage;
$delivery_of_goods          = $get_bill_details->delivery_of_goods;
$port_of_loading            = $get_bill_details->port_of_loading;
$no_of_bl                   = $get_bill_details->no_of_bl;
$freight_payment            = $get_bill_details->freight_payment;
$ocean_vessel               = $get_bill_details->ocean_vessel;
$place_of_delivery          = $get_bill_details->place_of_delivery;
$freight_charges            = $get_bill_details->freight_charges;
$place_receipt              = $get_bill_details->place_receipt;
$place_issue                = $get_bill_details->place_issue;
$port_of_dis_name           = $get_bill_details->port_of_dis_name;
$notify_name_party_2        = $get_bill_details->notify_name_party_2;
$notify_addr1_party_2       = $get_bill_details->notify_addr1_party_2;
$notify_addr2_party_2       = $get_bill_details->notify_addr2_party_2;
$notify_addr3_party_2       = $get_bill_details->notify_addr3_party_2;
$notify_addr4_party_2       = $get_bill_details->notify_addr4_party_2;

$container_no               = $get_bill_details->container_no;
$goods                      = $get_bill_details->goods;
$gross_weight               = $get_bill_details->gross_weight;
$cube_measure               = $get_bill_details->cube_measure;
$desc_goods                 = $get_bill_details->desc_goods;
$temp_cntrl                 = $get_bill_details->temp_cntrl;

?>
<table width="100%">
  <tr>
    <td width="100%">
      <table style="width:100%;">
      <tr style="width:100%;">
          <td style="width:22%;height:25px;border-top: 1px solid black;"><span style="color:#339dd9;margin-left:25px;font-weight:bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
          <td style="width:10%;border-left: 1px solid black;border-top: 1px solid black;"><span style="font-size:10px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
          <td style="width:68%;border-left: 1px solid black;border-top: 1px solid black;padding-left : 2px;"><span style="font-size:11px;font-weight: bold;">&nbsp;&nbsp;Temperature Control Instructions: </span><span style="font-size:11px;"><?php $temp_cntrl_upper = strtoupper($temp_cntrl);
                        echo nl2br($temp_cntrl_upper);?></span></td>
      </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%">
      <table border="0" width="100%" class="table_style">
        <tr>
          <td width="40%" style="vertical-align: top;">
            <table border="0" width="100%" class="table_style">
              <tr>
                <td style="vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:40%;padding:2px;height:65px;"><span style="font-size: 12px;font-weight: bold;">Freight Details, Charges etc:</span>
                  <br/>
                  <span style="font-size:13px;">
                  <?php $freight_charges_upper = strtoupper($freight_charges);
                              echo nl2br($freight_charges_upper);?>
                  </span>
                </td>
              </tr>
              <tr>
                <td style="height: 145px;border-bottom: 1px solid black;vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:40%;padding:2px;"><span style="font-size: 12px;font-weight: bold;">Delivery Agent</span>
                  <br/>
                  <span style="font-size:13px;">
                    <?php $delivery_of_goods_upper = strtoupper($delivery_of_goods);
                                    echo nl2br($delivery_of_goods_upper);?>
                  </span>
                </td>
              </tr>
            </table>
          </td>
          <td width="60%" style="vertical-align: top;">
            <table border="0" width="100%" class="table_style">
              <tr>
                <td style="width:60%;border-top: 1px solid black; padding:2px;height:25px;"><span style="font-size: 10px;text-align: justify;line-height:14px;">
                  RECEIVED by the carrier the Goods as specified above in apparent good order and condition unless otherwise stated to be transported to such place as agreed, authorised or permitted herein and subject to all the terms and conditions appearing on the front and reverse of this Bill of Lading to which the Merchant agrees by accepting this Bill of Lading, any local privilages and customs notwithstanding.<br/><br/>The particulars given above as stated by the shipper the weight, measure, quantity.. condition, contents and value of the Goods are unknown to the Carrier.
                  <br/><br/>
                  In WITNESS whereof one (1) original Bill of Lading has been signed if net otherwise stated above, the same being accomplished the other(s), if any, to be void, if required by the Carrier one (1) original Bill of Lading must be surrendered duly endorsed in exchange for the Goods or delivery order
                  </span>
                </td>
              </tr>
              <tr>
                <td valign="top" style="border-bottom: 1px solid black;width:60%;border-top: 1px solid black; padding:2px;height:50px;"><span style="font-size: 12px;font-weight: bold;">
               Place and Date of issue :</span>  <span style="font-size:13px;">
                <?php $place_issue_upper =  strtoupper($place_issue);
                          echo nl2br($place_issue_upper);?> &nbsp;&nbsp; <?php echo date("d/m/Y", strtotime($date_of_issue));?>
                </span>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>



    
      


    <!-- <td width="40%">
      <table border="0" width="100%" class="table_style">
        <tr>
          <td style="vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:40%;padding:2px;"><span style="font-size: 12px;font-weight: bold;">Freight Details, Charges ect:</span>
            <br/>
            <span style="font-size:13px;">
            <?php $freight_charges_upper = strtoupper($freight_charges);
                        echo nl2br($freight_charges_upper);?>
            </span>
          </td>
        </tr>
      </table>
    </td>
    <td width="60%">
      <table border="0" width="100%" class="table_style">
        <tr>
          <td style="width:60%;border-top: 1px solid black; padding:2px;height:25px;"><span style="font-size: 10px;text-align: justify;line-height:14px;">
           RECEIVED by the carrier the Goods as specified above in apparent good order and condition unless otherwise stated to be transported to such place as agreed, authorised or permitted herein and subject to all the terms and conditions appearing on the front and reverse of this Bill of Lading to which the Merchant agrees by accepting this Bill of Lading, any local privilages and customs notwithstanding.<br/>The particulars given above as stated by the shipper the weight, measure, quantity.. condition, contents and value of the Goods are unknown to the Carrier.
           <br/>
           In WITNESS whereof one (1) original Bill of Lading has been signed if net otherwise stated above, the same being accomplished the other(s), if any, to be void, if required by the Carrier one (1) original Bill of Lading must be surrendered duly endorsed in exchange for the Goods or delivery order
           </span>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table border="0" width="100%" class="table_style">
        <tr>
          <td style="border-bottom: 1px solid black;vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:40%;padding:2px;"><span style="font-size: 12px;font-weight: bold;">Delivery Agent</span>
            <br/>
            <span style="font-size:13px;">
            <?php $delivery_of_goods_upper = strtoupper($delivery_of_goods);
                        echo nl2br($delivery_of_goods_upper);?>
            </span>
          </td>
          <td valign="top" style="border-bottom: 1px solid black;width:60%;border-top: 1px solid black; padding:2px;height:50px;"><span style="font-size: 12px;font-weight: bold;">
           Place and Date of issue :</span>  <span style="font-size:13px;">
            <?php $place_issue_upper =  strtoupper($place_issue);
                      echo nl2br($place_issue_upper);?> &nbsp;&nbsp; <?php echo date("d/m/Y", strtotime($date_of_issue));?>
            </span></span>
          </td>
        </tr>
      </table></td>
  </tr> -->
<!--   <tr>
    <td><table border="0" width="100%" class="table_style">


      <tr>
          <td style="border-bottom: 1px solid black;border-left: 1px solid black;vertical-align: top;border-right: 1px solid black;border-top: 1px solid black;width:33%;padding:2px;"><span style="font-size: 9px;font-weight: bold;">Delivery Agent</span>
            <br/>
            <span style="font-size:10px;">
            <?php $delivery_of_goods_upper = strtoupper($delivery_of_goods);
                        echo nl2br($delivery_of_goods_upper);?>
            </span> </td>
          <td valign="top" style="border-bottom: 1px solid black;border-right: 1px solid black;width:67%;border-top: 1px solid black; padding:2px;height:50px;"><span style="font-size: 9px;font-weight: bold;">
           Place and Date of issue :  <span style="font-size:10px;">
            <?php $place_issue_upper =  strtoupper($place_issue);
                      echo nl2br($place_issue_upper);?> &nbsp;&nbsp; <?php echo date("d/m/Y", strtotime($date_of_issue));?>
            </span></span>
           </td>
        </tr>




     <!--    <tr style="height: 90px;vertical-align: top;">
          <td style="border-left: 1px solid black;border-right: 1px solid black;width:29%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">For Delivery of Goods</span>
            <br/>
            <span style="font-size:10px;">
            <?php $delivery_of_goods_upper = strtoupper($delivery_of_goods);
                      echo nl2br($delivery_of_goods_upper);?>
            </span></td>
          <td style="border-right: 1px solid black;width:14%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">Freight Payable at</span>
            <br/>
            <span style="font-size:10px;">
            <?php $freight_payment_upper = strtoupper($freight_payment);
                      echo nl2br($freight_payment_upper);?>
            </span></td>
          <td style="border-right: 1px solid black;width:11%;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;" valign="top"><span style="font-size: 9px;font-weight: bold;">Place Of Issue</span>
            <br/>
            <span style="font-size:10px;">
            <?php $place_issue_upper =  strtoupper($place_issue);
                      echo nl2br($place_issue_upper);?>
            </span></td>
          <td  style="border-right: 1px solid black;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;width:10.5%;" valign="top"><span style="font-size: 9px;font-weight: bold;">Date Of Issue</span>
            <br/>
            <span style="font-size:10px;"><?php echo date("d/m/Y", strtotime($date_of_issue));?></span></td>
          <td style="width:36.5%;border-right: 1px solid black;border-top: 1px solid black;border-bottom: 1px solid black;padding:2px;font-size: 9px;font-weight: bold;">Stamp & Signature<br/>
          <br/>
          <br/>
          <br/>
          <br/>
          <br/>
          As agents for the Carrier</td>
        </tr> -->


      <!-- </table></td>
  </tr> -->
</table>
<table width="100%"><tr><td align="right" style="font-size:12px; color:#333;">{PAGENO}{nbpg}</td></tr></table>
