Beispiel #1
0
<?php

$clinic_id = Request::Field("clinic_id");
$vnd_id = intval(Request::Field("vnd_id"));
$Doctor = new Doctor($vnd_id);
if ($vnd_id < 1 && Request::Wants("novalid")) {
    $Doctor->loadFromRequest();
}
$Message = Request::Field("Message");
$Message = showMessage($Message, Request::Wants("novalid"));
$Smarty->assign("clinic_id", $clinic_id);
$Smarty->assign("Message", $Message);
$Smarty->assign("GetDoctor", $Doctor->data);
$Smarty->assign("vnd_id", $vnd_id);
$Smarty->display("dashboard/doctors/edit.tpl");