Participation manner in LatSTE'2004
- lecturer (participate as a lector with presentation, demonstration or papers)
- organization (self-demonstration; participate in exhibition; for example, computer companies)
- visitor (participate just as a guest; attends only)
Registration form
include ('../config.php'); include (LATSTE2004.'/Participants.class.php'); if ($_POST) { $my_participant = new Participants(); $my_participant->row->name->set($_POST['name']); $my_participant->row->surname->set($_POST['surname']); $my_participant->row->degree->set($_POST['sience']); $my_participant->row->position->set($_POST['work']); $my_participant->row->organization->set($_POST['organization']); $my_participant->row->address->set($_POST['address']); $my_participant->row->email->set($_POST['email']); $my_participant->row->fax->set($_POST['fax']); $my_participant->row->phone->set($_POST['phone']); $my_participant->row->type->set($_POST['praticipation']); if ($my_participant->row->type->get() == 1) { // Piedalaas, kaa referents @$my_participant->row->theme->set($_POST['paper']); @$my_participant->row->paper->set($_POST['report']); @$my_participant->row->demonstration->set($_POST['demonstration']); @$my_participant->row->presentation->set($_POST['presentation']); } if ($my_participant->row->type->get() == 2) { // Piedalaas, kaa organizaacija if (@$_POST[stall]) { $my_participant->row->stall->set("1"); $my_participant->row->stall_space->set($_POST['stallsize']); } } $my_participant->row->tech_support->set($_POST['technical']); $my_participant->row->lodging->set($_POST['flophouse']); // English language $my_participant->row->language->set("1"); $my_participant->row->active->set("0"); $my_participant->row->posted->setByMySQLDatetime( date ("Y-m-d H:i:s") ); // collecting information for sending $part_text = ""; $participation = $_POST['praticipation']; if ($participation == 1) { $part_text = "'Referents' Tēma: " .@$_POST['paper']."; ("; if (@$_POST['report']) { $part_text .= "referāts;"; } if (@$_POST['demonstration']) { $part_text .= "demonstrējums;"; } if (@$_POST['presentation']) { $part_text .= "prezentācija;"; } $part_text .= ")"; } if ($participation == 2) { if (@$_POST[stall] == 1) { $part_text .= "'Organizācija' - stenda platība: ".@$_POST['stallsize']." m2; "; } else { $part_text .= "'Organizācija' - bet bez stenda"; } } if ($participation == 3) { $part_text .= "'Apmeklētājs' - pasīva dalība; "; } $lodging_text = ""; if ($_POST['flophouse'] == 0) { $lodging_text = "Nav nepieciešamas"; } else { $lodging_text = "Ir nepieciešamas"; } if ($_POST['agree'] == 1) { $my_participant->add(); $post_id = $my_participant->getLastId(); $subject = "LatSTE'2004 ir piereģistrējies jauns dalībnieks!"; $message = "--\n Vārds: ".$_POST['name']." Uzvārds: ".$_POST['surname']." Organizācija: ".$_POST['organization']." Adrese: ".$_POST['address']." E-pasts: ".$_POST['email']." Telefons: ".$_POST['phone']." Dalības veids: ".$part_text." Nepieciešamais tehniskais nodrošinājums: ".$_POST['technical']." Naktsmītnes: ".$lodging_text." Forma: Angļu valodā\n Ja vēlaties publicēt šī dalībnieka informāciju LatSTE'2004 Web lapā, tad noklikškiniet uz zemāk norādīto URL: ".USER_ACCEPT_URL.$post_id."\n\n--"; $subject = @iconv("UTF-8","Windows-1257",$subject); $message = @iconv("UTF-8","Windows-1257",$message); mail(SENDTO, $subject, $message, "From: webmaster@{$_SERVER['SERVER_NAME']}"); } echo "Now You are registered in our database! Thank you for your interest and we will contact with You soon!
"; } ?>









