<?php
$feld121 = '';
if ( $_POST['send'] == 1 ) {
$name = substr($_POST['pass'], 0, -4);
$name = ucfirst($name);
$feld121 = 'Bestätigt von Hr. '.$name.$_POST[''].'';
if ( $_POST['pass'] == 'etges1574' ) {
} elseif ( $_POST['pass'] == 'horst2345') {
} elseif ( $_POST['pass'] == 'grund1234') {
} else {
$feld121 = 'Keine Kennung';
}
}
?>
<html>
<head>
<title>Leistungsschein TNT - - - I N T E R N E T - - -</title>
</head>
<body>
<?php
$host = "............";
$user = ".............";
$password = "............";
$dbname = "............";
$tabelle ="tnt";
error_reporting(E_ALL);
$dbverbindung = mysql_connect ($host, $user, $password);
mysql_select_db(".................", $dbverbindung);
$feld1 = "";
$feld2 = "";
$feld3 = "";
$feld4 = "";
$feld5 = "";
$feld6 = "";
$feld7 = "";
$feld8 = "";
$feld9 = "";
$feld10 = "";
$feld11 = "";
$feld12 = "";
$feld13 = "";
$feld14 = "";
$feld15 = "";
$feld16 = "";
$feld17 = "";
$feld18 = "";
$feld19 = "";
$feld20 = "";
$feld21 = "";
$feld22 = "";
$feld23 = "";
$feld24 = "";
$feld25 = "";
$feld26 = "";
$feld27 = "";
$feld28 = "";
$feld29 = "";
$feld30 = "";
$feld31 = "";
$feld32 = "";
$feld33 = "";
$feld34 = "";
$feld35 = "";
$feld36 = "";
$feld37 = "";
$feld38 = "";
$feld39 = "";
$feld40 = "";
$feld41 = "";
$feld42 = "";
$feld43 = "";
$feld44 = "";
$feld45 = "";
$feld46 = "";
$feld47 = "";
$feld48 = "";
$feld49 = "";
$feld50 = "";
$feld51 = "";
$feld52 = "";
$feld53 = "";
$feld54 = "";
$feld55 = "";
$feld56 = "";
$feld57 = "";
$feld58 = "";
$feld59 = "";
$feld60 = "";
$feld61 = "";
$feld62 = "";
$feld63 = "";
$feld64 = "";
$feld65 = "";
$feld66 = "";
$feld67 = "";
$feld68 = "";
$feld69 = "";
$feld70 = "";
$feld71 = "";
$feld72 = "";
$feld73 = "";
$feld74 = "";
$feld75 = "";
$feld76 = "";
$feld77 = "";
$feld78 = "";
$feld79 = "";
$feld80 = "";
$feld81 = "";
$feld82 = "";
$feld83 = "";
$feld84 = "";
$feld85 = "";
$feld86 = "";
$feld87 = "";
$feld88 = "";
$feld89 = "";
$feld90 = "";
$feld91 = "";
$feld92 = "";
$feld93 = "";
$feld94 = "";
$feld95 = "";
$feld96 = "";
$feld97 = "";
$feld98 = "";
$feld99 = "";
$feld100 = "";
$feld101 = "";
$feld102 = "";
$feld103 = "";
$feld104 = "";
$feld105 = "";
$feld106 = "";
$feld107 = "";
$feld108 = "";
$feld109 = "";
$feld110 = "";
$feld111 = "";
$feld112 = "";
$feld113 = "";
$feld114 = "";
$feld115 = "";
$feld116 = "";
$feld117 = "";
$feld118 = "";
$feld119 = "";
$feld120 = "";
$feld121 = "";
$feld122 = "";
$feld123 = "";
$feld124 = "";
if(isset($_GET["load_ds"])) {
$result = mysql_query("select * from tnt order by id desc limit 1") or die(mysql_error());
if($row = mysql_fetch_array($result, MYSQL_NUM)) {
$feld1 = $row[1];
$feld2 = $row[2];
$feld3 = $row[3];
$feld4 = $row[4];
$feld5 = $row[5];
$feld6 = $row[6];
$feld7 = $row[7];
$feld8 = $row[8];
$feld9 = $row[9];
$feld10 = $row[10];
$feld11 = $row[11];
$feld12 = $row[12];
$feld13 = $row[13];
$feld14 = $row[14];
$feld15 = $row[15];
$feld16 = $row[16];
$feld17 = $row[17];
$feld18 = $row[18];
$feld19 = $row[19];
$feld20 = $row[20];
$feld21 = $row[21];
$feld22 = $row[22];
$feld23 = $row[23];
$feld24 = $row[24];
$feld25 = $row[25];
$feld26 = $row[26];
$feld27 = $row[27];
$feld28 = $row[28];
$feld29 = $row[29];
$feld30 = $row[30];
$feld31 = $row[31];
$feld32 = $row[32];
$feld33 = $row[33];
$feld34 = $row[34];
$feld35 = $row[35];
$feld36 = $row[36];
$feld37 = $row[37];
$feld38 = $row[38];
$feld39 = $row[39];
$feld40 = $row[40];
$feld41 = $row[41];
$feld42 = $row[42];
$feld43 = $row[43];
$feld44 = $row[44];
$feld45 = $row[45];
$feld46 = $row[46];
$feld47 = $row[47];
$feld48 = $row[48];
$feld49 = $row[49];
$feld50 = $row[50];
$feld51 = $row[51];
$feld52 = $row[52];
$feld53 = $row[53];
$feld54 = $row[54];
$feld55 = $row[55];
$feld56 = $row[56];
$feld57 = $row[57];
$feld58 = $row[58];
$feld59 = $row[59];
$feld60 = $row[60];
$feld61 = $row[61];
$feld62 = $row[62];
$feld63 = $row[63];
$feld64 = $row[64];
$feld65 = $row[65];
$feld66 = $row[66];
$feld67 = $row[67];
$feld68 = $row[68];
$feld69 = $row[69];
$feld70 = $row[70];
$feld71 = $row[71];
$feld72 = $row[72];
$feld73 = $row[73];
$feld74 = $row[74];
$feld75 = $row[75];
$feld76 = $row[76];
$feld77 = $row[77];
$feld78 = $row[78];
$feld79 = $row[79];
$feld80 = $row[80];
$feld81 = $row[81];
$feld82 = $row[82];
$feld83 = $row[83];
$feld84 = $row[84];
$feld85 = $row[85];
$feld86 = $row[86];
$feld87 = $row[87];
$feld88 = $row[88];
$feld89 = $row[89];
$feld90 = $row[90];
$feld91 = $row[91];
$feld92 = $row[92];
$feld93 = $row[93];
$feld94 = $row[94];
$feld95 = $row[95];
$feld96 = $row[96];
$feld97 = $row[97];
$feld98 = $row[98];
$feld99 = $row[99];
$feld100 = $row[100];
$feld101 = $row[101];
$feld102 = $row[102];
$feld103 = $row[103];
$feld104 = $row[104];
$feld105 = $row[105];
$feld106 = $row[106];
$feld107 = $row[107];
$feld108 = $row[108];
$feld109 = $row[109];
$feld110 = $row[110];
$feld111 = $row[111];
$feld112 = $row[112];
$feld113 = $row[113];
$feld114 = $row[114];
$feld115 = $row[115];
$feld116 = $row[116];
$feld117 = $row[117];
$feld118 = $row[118];
$feld119 = $row[119];
$feld120 = $row[120];
$feld121 = $row[121];
$feld122 = $row[122];
$feld123 = $row[123];
$feld124 = $row[124];
}
}
?>