Subversion Repositories wpShopGermany4

Rev

Rev 3237 | Rev 4866 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

        /**
         * Template für die Einbindung des Trusted Shops Bewertungs Links nach Bestellabschluß
         */

?>

<?php if ($this->view['wpsg_mod_trustedshops']['vote'] == '1') { ?>
<br /><br />
<a target="_blank" href="https://www.trustedshops.de/bewertung/bewerten_<?php echo $this->get_option('wpsg_mod_trustedshops_shopid'); ?>.html&buyerEmail=<?php echo urlencode(base64_encode($this->view['customer']['email'])); ?>&shopOrderID=<?php echo urlencode(base64_encode($this->view['order']['onr'])); ?>" title="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_orderdonetitle')); ?>">
        <img src="<?php echo $this->view['wpsg_mod_trustedshops']['voteurl']; ?>" alt="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_orderdonetitle')); ?>" />
</a>
<?php } ?>

<?php if ($this->get_option('wpsg_mod_trustedshops_warranty') == '1') { ?>
<br /><br />
<table width=400 border="0" cellspacing="0" cellpadding="4">
        <tr>
                <td width="90">
                        <form name="formSiegel" method="post" action="https://www.trustedshops.com/shop/certificate.php" target="_blank">
                                <input type="image" style="height:auto; width:auto; border:0px;" border="0" src="<?php echo $this->getRessourceURL('/mods/mod_trustedshops/gfx/siegel.gif'); ?>" title="<?php echo __('Trusted Shops Gütesiegel - Bitte hier Gültigkeit prüfen!', 'wpsg'); ?>">
                                <input name="shop_id" type="hidden" value="<?php echo $this->get_option('wpsg_mod_trustedshops_shopid'); ?>">
                        </form>
                </td>
                <td align="justify">
                        <form id="formTShops" name="formTShops" method="post" action="https://www.trustedshops.com/shop/protection.php" target="_blank">
                                <input name="_charset_" type="hidden" value="">
                                <input name="shop_id" type="hidden" value="<?php echo $this->get_option('wpsg_mod_trustedshops_shopid'); ?>">
                                <input name="email" type="hidden" value="<?php echo wpsg_hspc($this->view['customer']['email']); ?>">
                                <input name="amount" type="hidden" value="<?php echo wpsg_hspc($this->view['order']['price_gesamt']); ?>">
                                <input name="curr" type="hidden" value="EUR">
                                <input name="paymentType" type="hidden" value="<?php echo wpsg_hspc($this->arPayment[$this->view['order']['type_payment']]['name']); ?>">
                                <input name="kdnr" type="hidden" value="<?php echo wpsg_hspc($this->view['customer']['knr']); ?>">
                                <input name="ordernr" type="hidden" value="<?php echo wpsg_hspc($this->view['order']['onr']); ?>">
                                <?php echo __('Als zusätzlichen Service bieten wir Ihnen den Trusted Shops', 'wpsg'); ?>
                                <?php echo __('Käuferschutz an. Wir übernehmen alle Kosten dieser', 'wpsg'); ?>
                                <?php echo __('Garantie, Sie müssen sich lediglich anmelden.', 'wpsg'); ?>
                                <input type="submit" id="btnProtect" name="btnProtect" value="<?php echo __('Anmeldung zum Trusted Shops Käuferschutz', 'wpsg'); ?>">
                        </form>
                </td>
        </tr>
</table>
<?php } ?>