<<<perl>
$testwert="T E S T";
my $link="http://unifit-daten.de/baseportal/praemien_system/pdf_1_BILD";
if($pdf==0)
{
out '<a href="'.$link.'?pdf=1">Diese Seite als PDF</a><br><br>';
} elsif($pdf==1)
{
$_header="Content-type: application/pdf\n\n";
out get "http://pdf.baseportal.de?url=".convert_url("$link?pdf=2")."jpeg=100&permissions=no-modify&textcolor=003366&header=d.1&footer=d.1&headfootfont=Arial&headfootsize=15&fontspacing=50&fontsize=10&bodycolor=ffffff&left=2cm&top=2cm"."&.pdf";
}
out<<EOF;
<html>
<head>
<META NAME="robots" CONTENT="noindex,nofollow">
<!--
.sel { font-size: 11px;
width: 110px;}
.o {background-color : #CFF0CE;}
.c {background-color : #FFF7BD;}
}
-->
</style>
<style>
body { background-color:#ffffff;font-family:Arial,sans-serif;font-size:16px;color:#336699 }
td { font-size:12px }
a:link { text-decoration:none;color:#990000; }
a:visited { text-decoration:none;color:#990000; }
a:active {text-decoration:none; color:#FF8000; }
a:hover { text-decoration:none; color:#FF8000 }
</style>
</head>
<body>
<font face=arial>
<table width="680" align="center">
<TR>
<TD>testwert:</TD>
<TD>$testwert</TD>
</TR>
<TR>
<TD><img src="../files/unifit_50_20.jpg" width="100"></TD
<TD></TD>
</TR>
</TABLE>
</font>
</body>
</html>
EOF
</perl>
<<