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(); ?> <?php echo $titlepage; ?>

95%
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 = "Foto fronte"; $photo2 = "Foto retro"; } ?>
">
">
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; ?> moveNext(); } $filenamelist->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
" target="_blank"> getColumnVal("description_fileattached")); ?> ">


setQuery("SELECT * FROM additionalphotos WHERE additionalphotos.idtrf='$idtrf'"); $additionalphotoslist->execute(); ?>

atEnd()) { $wa_startindex = $additionalphotoslist->Index; ?> moveNext(); } $additionalphotoslist->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
-
" target="_blank"> " class="thumbnail"> ">