Example #1
0
            $nSign->setData(GS_NAME, $iName);
            $nSign->setData(GS_POS, $iPosition);
            $nSign->setData(GS_OFFICE, $iOffice);
            $nSign->update($bbo);
            $bbo = "";
            $iName = "";
            $iPosition = "";
            $iOffice = "";
            ?>
			<!--<body onload='javascript:alert ("Record Successfully Updated!!");'></body>-->
			<body onload='javascript:alert ("Data is successfully updated!!"); _FRM.iName.focus();'></body>
			<?php 
        }
    }
} elseif ($confx == 1) {
    $nSign = new EBPLSSign($dbLink, 'false');
    $nSign->delete($bbo);
    $bbo = "";
    ?>
	<body onload='javascript:alert ("Record Deleted!!"); _FRM.iName.focus();'></body>
	<?php 
}
if ($com == "edit") {
    $nSign = new EBPLSSign($dbLink, 'false');
    $nSign->search($bbo, NULL);
    $nResult = $nSign->out;
    $iName = stripslashes($nResult[gs_name]);
    $iPosition = stripslashes($nResult[gs_pos]);
    $iOffice = stripslashes($nResult[gs_office]);
}
include 'html/eBPLS_signatories.html';