Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
    /**
4
     * @package   Content-management
5
     * @author    Webagentur Niewerth <tiefland@weban.de>
6
     * @copyright 2011 Webagentur Niewerth
7
     * @license   propietary http://www.weban.de
8
     * @version   $Rev: 3992 $
9
     * @filesource
10
     *
11
     */
12
 
13
    /**
14
     *
15
     * @package   Content-management
16
     * @author    Webagentur Niewerth <tiefland@weban.de>
17
     * @copyright 2011 Webagentur Niewerth
18
     */
19
 
20
    // SVN: $Id: body_shop.jpt.com.inc.php 3992 2011-10-13 07:50:14Z tiefland $
21
 
22
    $body = "To redeem your voucher, login at\n";
23
    $body2 = "shop.jpt.com.";
24
    $body3 = " Please enter your discount\n";
25
    $body4 = "certificate code during checkout and your\n";
26
    $body4 .= "discount will be calculated automatically.";
27
 
28
    $gs_info = "Voucher valid\nfrom " . substr( $gs["gueltig_von"], 0, 10 ) .
29
        " to " . substr( $gs["gueltig_bis"], 0, 10 ) . "\n$wert off";
30
    $g_info .= "\n\n";
31
    $desc1 = "PepMix™ Peptide Pools for your T-cell assays";
32
    $desc2 = "Peptide Microarrays enable parallel incubation of thousands of peptides";
33
    $desc3 = "Intelligent Peptide Collections for efficient enzyme profiling";
34
    $desc4 = "Amyloid beta A4 variants, major prion and control peptides quick and easy";
35
    $pdf->AliasNbPages();
36
    $pdf->AddPage();
37
    $pdf->setY( 45 );
38
    $pdf->setTextColor( 175, 26, 24 );
39
    $pdf->setFont( 'Arial', '', 16 );
40
    $pdf->cell( 50, 8, "Discount Certificate Code:" );
41
    $pdf->setTextColor( 0, 0, 0 );
42
    $pdf->ln( 8 );
43
    $pdf->SetX( 11.5 );
44
    $pdf->Cell( 50, 8, $gs["code"], 1, 1, "C" );
45
    $pdf->ln( 4 );
46
    $pdf->setTextColor( 175, 26, 24 );
47
    $pdf->setFontSize( 14 );
48
    $pdf->multiCell( 110, 6, $gs_info, "", "L", 0 );
49
    $pdf->ln( 4 );
50
    $pdf->setTextColor( 102, 102, 102 );
51
    $pdf->multiCell( 110, 6, $body, "", "L", 0 );
52
    $pdf->setTextColor( 175, 26, 24 );
53
    $pdf->setFont( 'Arial', 'b', 14 );
54
    $pdf->Write( 6, $body2 );
55
    $pdf->setTextColor( 102, 102, 102 );
56
    $pdf->setFont( 'Arial', '', 14 );
57
    $pdf->multiCell( 110, 6, $body3, "", "L", 0 );
58
    $pdf->SetX( 10 );
59
    $pdf->multiCell( 110, 6, $body4, "", "L", 0 );
60
    $pdf->setFontSize( 9 );
61
    $pdf->image( $webs["verzeichnis"] .
62
        "/images/webelemente/jpt_gutschein/bildleiste_neu.jpg", 170, 43, 40 );
63
    $pdf->setY( 59 );
64
    $pdf->setX( 124 );
65
    $pdf->multiCell( 40, 4, $desc1, "", "R" );
66
    $pdf->setY( 79 );
67
    $pdf->setX( 124 );
68
    $pdf->multiCell( 40, 4, $desc2, "", "R" );
69
    $pdf->setY( 105 );
70
    $pdf->setX( 124 );
71
    $pdf->multiCell( 40, 4, $desc3, "", "R" );
72
    $pdf->setY( 126 );
73
    $pdf->setX( 124 );
74
    $pdf->multiCell( 40, 4, $desc4, "", "R" );
75
?>