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(); ?>
getColumnVal("idcertification") != '5') and ($trfnumberfinal->getColumnVal("idcertification") != '6')) { ?>
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;
} elseif ($trfnumberfinal->getColumnVal("idarticletype") == '4') {
$photo1 = ($lang === 'en') ? 'Front photo' : 'Foto fronte';
$photo2 = ($lang === 'en') ? 'Back photo' : 'Foto retro';
} elseif ($trfnumberfinal->getColumnVal("idarticletype") == '5') {
$photo1 = ($lang === 'en') ? 'Photo 1' : 'Foto 1';
$photo2 = ($lang === 'en') ? 'Photo 2' : 'Foto 2';
} ?>
|
|
|
|
|
|
|
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);
?>
setQuery("SELECT * FROM additionalphotos WHERE additionalphotos.idtrf='$idtrf'");
$additionalphotoslist->execute();
?>
| - |
|
atEnd()) {
$wa_startindex = $additionalphotoslist->Index;
?>
" target="_blank">
" class="thumbnail">
|
">
|
moveNext();
}
$additionalphotoslist->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>