Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    /**
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     * @license   propietary http://www.weban.de
     * @version   $Rev: 3992 $
     * @filesource
     * 
     */

    /**
     * 
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     */

    // SVN: $Id: body_shop.jpt.com.inc.php 3992 2011-10-13 07:50:14Z tiefland $

    $body = "To redeem your voucher, login at\n";
    $body2 = "shop.jpt.com.";
    $body3 = " Please enter your discount\n";
    $body4 = "certificate code during checkout and your\n";
    $body4 .= "discount will be calculated automatically.";

    $gs_info = "Voucher valid\nfrom " . substr( $gs["gueltig_von"], 0, 10 ) .
        " to " . substr( $gs["gueltig_bis"], 0, 10 ) . "\n$wert off";
    $g_info .= "\n\n";
    $desc1 = "PepMix™ Peptide Pools for your T-cell assays";
    $desc2 = "Peptide Microarrays enable parallel incubation of thousands of peptides";
    $desc3 = "Intelligent Peptide Collections for efficient enzyme profiling";
    $desc4 = "Amyloid beta A4 variants, major prion and control peptides quick and easy";
    $pdf->AliasNbPages();
    $pdf->AddPage();
    $pdf->setY( 45 );
    $pdf->setTextColor( 175, 26, 24 );
    $pdf->setFont( 'Arial', '', 16 );
    $pdf->cell( 50, 8, "Discount Certificate Code:" );
    $pdf->setTextColor( 0, 0, 0 );
    $pdf->ln( 8 );
    $pdf->SetX( 11.5 );
    $pdf->Cell( 50, 8, $gs["code"], 1, 1, "C" );
    $pdf->ln( 4 );
    $pdf->setTextColor( 175, 26, 24 );
    $pdf->setFontSize( 14 );
    $pdf->multiCell( 110, 6, $gs_info, "", "L", 0 );
    $pdf->ln( 4 );
    $pdf->setTextColor( 102, 102, 102 );
    $pdf->multiCell( 110, 6, $body, "", "L", 0 );
    $pdf->setTextColor( 175, 26, 24 );
    $pdf->setFont( 'Arial', 'b', 14 );
    $pdf->Write( 6, $body2 );
    $pdf->setTextColor( 102, 102, 102 );
    $pdf->setFont( 'Arial', '', 14 );
    $pdf->multiCell( 110, 6, $body3, "", "L", 0 );
    $pdf->SetX( 10 );
    $pdf->multiCell( 110, 6, $body4, "", "L", 0 );
    $pdf->setFontSize( 9 );
    $pdf->image( $webs["verzeichnis"] .
        "/images/webelemente/jpt_gutschein/bildleiste_neu.jpg", 170, 43, 40 );
    $pdf->setY( 59 );
    $pdf->setX( 124 );
    $pdf->multiCell( 40, 4, $desc1, "", "R" );
    $pdf->setY( 79 );
    $pdf->setX( 124 );
    $pdf->multiCell( 40, 4, $desc2, "", "R" );
    $pdf->setY( 105 );
    $pdf->setX( 124 );
    $pdf->multiCell( 40, 4, $desc3, "", "R" );
    $pdf->setY( 126 );
    $pdf->setX( 124 );
    $pdf->multiCell( 40, 4, $desc4, "", "R" );
?>