%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/buggy-booking/
Upload File :
Create Path :
Current File : //var/www/html/buggydubrovnik.com/buggy-booking/voucher.php

<?php
/**
 * Created by PhpStorm.
 * User: Leo
 * Date: 21.3.2017.
 * Time: 9:57
 */
$datParts=explode(" ", $row["vrijeme_izleta"]);

$datTime=substr($datParts[1], 0, 5);
$datDate=date("d.m.Y", strtotime($row["vrijeme_izleta"]));


$html='<div style="padding:0;margin:0">
    <table width="100%" border="0" cellpadding="0" cellspacing="0"
           style="background-color:#ffffff;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#333333;text-align:left;font-weight:normal">
        <tbody>
        <tr>
            <td>
                <table width="100%" height="80" style="background-color:#f58220;border-bottom:1px solid #e6e6e6">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center">
                                <tbody>
                                <tr>
                                    <td width="30%"><a href="https://www.buggydubrovnik.com/" target="_blank"><img
                                                style="border:none"
                                                src="https://www.buggydubrovnik.com/wp-content/uploads/2017/01/buggy-dubrovnik-logo.png"></a></td>
                                    <td width="70%" valign="bottom">

                                        <table width="20%" valign="bottom" align="right" style="text-align:right">
                                            <tbody>
                                            <tr>
                                                <td><a href="https://www.facebook.com/buggydubrovnik/" target="_blank">
                                                        <img style="border:none;width: 30px;" src="https://www.buggydubrovnik.com/wp-content/uploads/2017/03/facebook-1.png"></a></td>

                                                <td width="35"><a
                                                        href="https://www.instagram.com/buggydubrovnik/" target="_blank"><img style="border:none;width: 30px;" src="https://www.buggydubrovnik.com/wp-content/uploads/2017/03/instagram-1.png"</a></td>

                                            </tr>
                                            </tbody>
                                        </table>

                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table width="100%" style="border-top:12px solid #ffffff;">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center" style="border-bottom:1px solid #cecece">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:22px;color:#333333;text-align:center">VOUCHER No. '.$row["id_rezervacija_temp"].'
                                    </td>
                                </tr>
                                </tbody>
                            </table>

                            <table width="90%" align="center" style="border-top:0px solid #ffffff;line-height:20px">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333;padding-top:0;">
                                        Datum i mjesto izdavanja:<br>
                                        Date and place of issue: Dubrovnik, '.date("d.m.Y.").'
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%" cellpadding="10" cellspacing="0">
                    <tbody>
                    <tr>
                        <td style="padding-top:0">
                            <table width="90%" cellpadding="10" cellspacing="0" align="center">
                                <tbody>
                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333" width="40%">
                                        REZERVACIJA <br> <b>RESERVATION</b>
                                    </td>


                                    <td style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333" align="right" width="35%">
                                        KONTAKT NADLEŽNE OSOBE / AGENT<br>
                                        <b>CONTACT OF AUTHORIZED PERSON / AGENT</b>
                                    </td>

                                </tr>

                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333" width="40%">
                                        <b>'.$row["title"].' '.$row["ime"].' '.$row["prezime"].'</b><br>
                                        <b>'.$row["drzava"].'</b><br>
                                        <b>'.$row["telefon"].'</b><br>
                                        <b>'.$row["mail"].'</b><br>

                                    </td>


                                    <td style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333" align="right" width="35%">
                                        <b>Marina Raič Bobić</b><br>
                                        +385 98 166 9730<br>
                                        info@buggydubrovnik.com
                                        
                                    </td>

                                </tr>


                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center" style="border-top:5px solid #ffffff;line-height:20px">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333;text-align:center">
                                        INFORMACIJE O USLUZI / <b>SERVICE INFORMATION</b>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table width="100%" cellpadding="10" cellspacing="0">
                    <tbody>
                    <tr>
                        <td style="padding-top:0">
                            <table width="90%" cellpadding="8" cellspacing="0" style="border:1px solid #e6e6e6"
                                   align="center">
                                <tbody>
                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">

                                        Vrsta / tip usluge:<br>
                                        <b>Type of service:</b>
                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.$tour["naziv"].'
                                    </td>

                                </tr>

                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Datum:<br>
                                        <b>Date:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.$datDate.'
                                    </td>

                                </tr>
                                   <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Vrijeme:<br>
                                        <b>Time:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.$datTime.'
                                    </td>

                                </tr>';
                if($tour["privatni"]){
                    $html.='
                                  <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Mjesto kupljenja:<br>
                                        <b>Pickup location:</b>

                                    </td>
                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%"> '.$pickup_location.'
                                    </td>
                                </tr>';
                }
                else {
                    $html.='
                                  <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Mjesto nalaženja:<br>
                                        <b>Meeting point:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%"> Port of Gruž / in front of Tourist Board office <br/>
                                           Address: Obala Ivana Pavla II, 1, 20000 Dubrovnik
                                    </td>

                                </tr>';
                }



                            $html.='<tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Broj osoba:<br>
                                        <b>Pax:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.intval($row["odrasli"]).'
                                    </td>

                                </tr>

                        
                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Ukupna cijena s popustom:<br>
                                        <b>Total price with discount:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.formatMoney(($row["cijena_odrasli"]+$row["cijena_djeca"])). ' EUR
                                    </td>

                                </tr>
                                 <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        width="40%">
                                        Napomena:<br>
                                        <b>Customer comment:</b>

                                    </td>


                                    <td
                                        style="border-bottom:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333"
                                        align="center" width="35%">'.$row["napomena_gost"].'
                                    </td>

                                </tr>';




                                $html.='</tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%">
                    <tbody>
                    <tr>
                        <td style="padding-bottom:0">
                            <table width="90%" align="center" style="border-top:5px solid #ffffff;line-height:20px">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333;text-align:center">
                                        OSTALE INFORMACIJE I NAPOMENE / <b>ADDITIONAL INFORMATION AND NOTES</b>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%" cellpadding="10" cellspacing="0">
                    <tbody>
                    <tr>
                        <td style="padding: 0;padding-bottom: 10px;">
                            <table width="90%" cellpadding="10" cellspacing="0" style="border:1px solid #e6e6e6" align="center">
                                <tbody>
                                <tr style="border-bottom:1px solid #e4e4e4">
                                    <td style="border-bottom:1px solid #e4e4e4;border-right:1px solid #e4e4e4;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#333333" width="40%">
                                        <ul style="margin-bottom:0;">
                                            <li>Children (up to 18 years old) can ride only in parents supervision and must be at least 120 cm tall for security reasons</li>
                                            <li>It is recommended to wear older or easy-washable clothes</li>
                                        </ul>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#333333;text-align:left">
                                        Molimo vas da na početku usluge pokažete ovu uplatnicu, u elektronskom ili tiskanom obliku, autoriziranom osoblju.<br>
                                        <b>You can present either a paper or an electronic voucher for this activity.</b><br><br>
                                        *Napomena! Ukoliko je ova uplatnica izdana u elektronskom obliku, valjana je bez pečata i potpisa!<br>
                                        <b>*Please note! If this voucher has been issued in electronic form, it is valid without stamp and signature!</b>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center">
                                <tbody>
                                <tr width="100%">
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#333333;text-align:center">
                                        <b>NOT TRANSFERABLE – NON REFUNDABLE – NO CASH VALUE</b><br>
                                        NE MOŽE SE PRENIJETI NA DRUGU OSOBU – NE MOŽE SE VRATITI – NEMA NOVČANU VRIJEDNOST<br>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table width="100%" style="background-color:#000;border-top:3px solid #f58220">
                    <tbody>
                    <tr>
                        <td>
                            <table width="90%" align="center" style="color:#999;font-size:11px">
                                <tbody>
                                <tr>
                                    <td height="8"></td>
                                </tr>
                                <tr>
                                    <td width="80%"
                                        style="font-weight:bold;font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#999999">
                                        © <span class="il">Buggy Safari </span> Dubrovnik
                                    </td>
                                    <td width="20%"></td>
                                </tr>
                                <tr height="30">
                                    <td width="70%">
                                        <table cellpadding="0" cellspacing="0"
                                               style="font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#999999">
                                            <tbody>
                                            <tr>
                                                <td><span class="il">BUGGY </span> d.o.o.</td>
                                            </tr>
                                            <tr>
                                                <td>Gornji Kono 56E, 20 000 Dubrovnik, Croatia</td>
                                            </tr>
                                            <tr>
                                                <td>TEL: +385 98 166 9730</td>
                                            </tr>
                                            <tr>
                                                <td>MB: 04174062 | OIB: 17998219966</td>
                                            </tr>
                                            <tr height="5">
                                                <td></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="30%" valign="bottom" style="text-align:right">
                                        <img style="height:100px" src="https://www.buggydubrovnik.com/wp-content/uploads/2017/02/buggy-safari-dubrovnik-footer.png">
                                    </td>
                                </tr>

                                <tr>
                                    <td height="8"></td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>

            </td>
        </tr>
        </tbody>
    </table>
</div>';

Zerion Mini Shell 1.0