Action = "insert";
$InsertQuery->Table = "wheretrfstep";
$InsertQuery->bindColumn("idtrf", "i", "$idtrf", "WA_DEFAULT");
$InsertQuery->bindColumn("code", "i", "$code", "WA_DEFAULT");
$InsertQuery->saveInSession("");
$InsertQuery->execute();
$InsertGoTo = "";
$InsertQuery->redirect($InsertGoTo);
}
?>
setQuery("SELECT * FROM `trf-details` WHERE `trf-details`.idtrfdetails='$idtrf'");
$trfnumberfinal->execute();
$idcertn=$trfnumberfinal->getColumnVal("idcertification");
?>
getColumnVal("idcertification"); ?>
setQuery("SELECT * FROM certificationtype WHERE certificationtype.idcertificationtype='$idcert'");
$certname->execute();?>
TRF CIMAC
getColumnVal("idcertification")!='5') { ?>
Aggiungi le foto
Aggiungi foto etc.....
getColumnVal("idarticletype")=='1') {
$photo1=$photoshoesside;
$photo2=$photoshoessole;
} elseif ($trfnumberfinal->getColumnVal("idarticletype")=='2') {
$photo1=$photogloveup;
$photo2=$photoglovebottom;
} elseif ($trfnumberfinal->getColumnVal("idarticletype")=='3') {
$photo1=$photomasksidea;
$photo2=$photomasksideb;
} ?>
|
|
|
|
|
|
|
getColumnVal("photoone"))) { ?>
" height="200" alt=""/> |
|
getColumnVal("phototwo"))) { ?> " height="200" alt=""/> |
setQuery("SELECT * FROM fileattached WHERE fileattached.idtrfdetails='$idtrf'");
$filenamelist->execute();
?>
|
|
|
atEnd()) {
$wa_startindex = $filenamelist->Index;
?>
| " target="_blank"> |
getColumnVal("description_fileattached")); ?> |
">
|
moveNext();
}
$filenamelist->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>