Aah
By: Xmoo | Date: Dec 1 2008 20:24 | Format: PHP | Expires: never | Size: 3.35 KB | Hits: 1202
- <?php
- case 'uitschrijven':
- $pid = ($_SESSION["pid"]);
- echo "<form method='post' action='?p=recepten&a=uitschrijven'>";
- { $pid = $info->pid;
- $_SESSION["pid"] = $pid;
- $name_first = $info->name_first;
- $_SESSION["name_first"] = $name_first;
- $name_2 = $info->name_2;
- $_SESSION["name_2"] = $name_2;
- $name_3 = $info->name_3;
- $_SESSION["name_3"] = $name_3;
- $name_middle = $info->name_middle;
- $_SESSION["name_middle"] = $name_middle;
- $name_last = $info->name_last;
- $_SESSION["name_last"] = $name_last;
- $date_birth = $info->date_birth;
- $_SESSION["date_birth"] = $date_birth;
- $addr_str = $info->addr_str;
- $_SESSION["addr_str"] = $addr_str;
- $addr_str_nr = $info->addr_str_nr;
- $_SESSION["addr_str_nr"] = $addr_str_nr;
- $addr_citytown_nr = $info->addr_citytown_nr;
- $_SESSION["addr_citytown_nr"] = $addr_citytown_nr;
- $phone_1_nr = $info->phone_1_nr;
- $_SESSION["phone_1_nr"] = $phone_1_nr;
- $cellphone_1_nr = $info->cellphone_1_nr;
- $_SESSION["cellphone_1_nr"] = $cellphone_1_nr;
- $email = $info->email;
- $_SESSION["email"] = $email;
- $sex = $info->sex;
- $_SESSION["sex"] = $sex;
- echo "<b>ID:</b> <input name='pid' type='text' size='49' value='".$pid."' /><br><br>";
- echo "<b>Naam:</b> ".$name_first." ".$name_2." ".$name_3." ".$name_middle." ".$name_last."<br>";
- echo "<b>Geslacht:</b> ".$sex." <b>Geboorte Datum:</b> ".$date_birth."<br>";
- echo "<b>Adres:</b> ".$addr_str." ".$addr_str_nr." ";
- { $xxx=mysql_query("SELECT name FROM care_address_citytown WHERE nr = '".$addr_citytown_nr."'") or die(mysql_error());
- { $name = $info->name;
- $_SESSION["name"] = $name_city;
- echo "<b>Woonplaats:</b> ".$name."<br>"; }
- echo "<b>Telefoon:</b> ".$phone_1_nr." <b>Mobiel:</b> ".$cellphone_1_nr."<br><b>E-Mail:</b> ".$email."";
- } }
- echo "<hr><b>Medicijn(en):</b><br><br>";
- { $mmm=mysql_query("SELECT * FROM recepten_temp WHERE sessie_id = '".$session_id."' ORDER BY id ASC") or die(mysql_error());
- { $id = $info->id;
- $artikelnum = $info->artikelnum;
- $_SESSION["artikelnum"]["aantal_" . $id] = $artikelnum;
- $artikelname = $info->artikelname;
- $_SESSION["artikelname"]["artikelname_" . $id] = $artikelname;
- echo "<b>Artikel nr:</b> ".$artikelnum." <b>Artikel naam:</b> ".$artikelname." <b>Artikel aantal:</b> <input name='aantal' type='text' size='5' /><br>"; }
- echo "<hr><b>Extra:</b><br><br><b>Naam:</b> <input name='invoerder' type='text' size='59' /><br>
- <b>Datum:</b> <input name='datum' type='text' size='10' value='".$datum."' /><br>
- <b>Tijd:</b> <input name='tijd' type='text' size='10' value='".$tijd."' /><br>
- <b>Commentaar:</b><br> <textarea rows='5' name='comment' cols='90' /></textarea><br>";
- echo "<br><br><a href='?p=recepten&a=uitschrijven'><b>Opslaan</b></a> - <a href='javascript:window.print()'><b><u>Printen</u></b></a>";
- echo "</form>";
- }
- break;
- ?>
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago