start copy from cimac web

This commit is contained in:
2026-05-14 08:47:13 +02:00
commit dfc6ed40ae
3624 changed files with 899295 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
$checkwherestep = new WA_MySQLi_RS("checkwherestep",$cmctrfdb,0);
$checkwherestep->setQuery("SELECT * FROM `wheretrfstep` WHERE `wheretrfstep`.idtrf='$idtrf'");
$checkwherestep->execute();?>
<?php
$certstep = new WA_MySQLi_RS("certstep",$cmctrfdb,1);
$certstep->setQuery("SELECT * FROM certificationtype WHERE certificationtype.idcertificationtype='$idcertn'");
$certstep->execute();
$stepscertif=$certstep->getColumnVal("leftmenulist");
$stepscertif=explode(",",$stepscertif);
?>
<?php
$wa_startindex = 0;
while(!$checkwherestep->atEnd()) {
$wa_startindex = $checkwherestep->Index;
?><?php
$codelist[]=$checkwherestep->getColumnVal("code");
?>
<?php
$checkwherestep->moveNext();
}
$checkwherestep->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>