Your IP : 216.73.217.117


Current Path : /var/www/cesa.co.za/members/AnnualDeclaration/
Upload File :
Current File : /var/www/cesa.co.za/members/AnnualDeclaration/schedule2GENERIC_A.php

<?php
// Configuration and Autentication
include( '../inc/auth.inc' );
include( '../inc/func.inc' );
switch ($auth) {
    case valid:
        // System Includes
        //include( '../inc/pref.inc' );
        // Variables Unique to page
        $title = "members.saace.co.za - Annual Declaration " & $DeclarationYear;
        $description = "South African Association of Consulting Engineers. Annual Declaration " & $DeclarationYear & ".";
        $keywords = "online, services, members, consulting, engineers";

        // Start Page Includes
        include( '../inc/conf.inc' );
        // include( '../inc/header.inc' );

        include( '../inc/db.inc' );
        ?>
        <!-- Start Page Content Here -->
        <script language="JavaScript">
            <!--
            function MM_openBrWindow(theURL, winName, features) { //v2.0
                window.open(theURL, winName, features);
            }
            //-->
        </script>
        <title>Jaarlikse Verklaring <?php echo $DeclarationYear; ?></title>
        <style type="text/css">
            <!--
            a {
                font-family: sans-serif;
                font-size: 10px;
                font-weight: bolder;
                color: #FF0000;
                text-decoration: none
            }
            -->
        </style>

        <body bgcolor="#FFFFFF">
            <?php
            include( '../inc/declaration.inc' );
// Set default values
            $checked1 = "";
            $checked2 = "";
            $checked3 = "";
            $checked4 = "";
            $checked5 = "";
            $checked6 = "";
            $checked7 = "";
            $checked8 = "";
            $checked9 = "";
            $checked10 = "";
            $checked11 = "";
            $checked12 = "";
            $checked13 = "";
            $checked14 = "";
            $checked15 = "";
            $checked16 = "";
            $checked17 = "";
            $checked18 = "";
            $checked19 = "";
            $checked20 = "";
            $checked21 = "";
            $checked22 = "";
            $checked23 = "";
            $checked24 = "";
            $checked25 = "";
            $checked26 = "";
            $checked27 = "";

// Check to see if the information is selected
            if ($M1 == "1") {
                $checked1 = "checked";
            }
            if ($M2 == "1") {
                $checked2 = "checked";
            }
            if ($M3 == "1") {
                $checked3 = "checked";
            }
            if ($M4 == "1") {
                $checked4 = "checked";
            }
            if ($M5 == "1") {
                $checked5 = "checked";
            }
            if ($M6 == "1") {
                $checked6 = "checked";
            }
            if ($M7 == "1") {
                $checked7 = "checked";
            }
            if ($M8 == "1") {
                $checked8 = "checked";
            }
            if ($M9 == "1") {
                $checked9 = "checked";
            }
            if ($M10 == "1") {
                $checked10 = "checked";
            }
            if ($M11 == "1") {
                $checked11 = "checked";
            }
            if ($M12 == "1") {
                $checked12 = "checked";
            }
            if ($M13 == "1") {
                $checked13 = "checked";
            }
            if ($M14 == "1") {
                $checked14 = "checked";
            }
            if ($M15 == "1") {
                $checked15 = "checked";
            }
            if ($M16 == "1") {
                $checked16 = "checked";
            }
            if ($M17 == "1") {
                $checked17 = "checked";
            }
            if ($M18 == "1") {
                $checked18 = "checked";
            }
            if ($M19 == "1") {
                $checked19 = "checked";
            }
            if ($M20 == "1") {
                $checked20 = "checked";
            }
            if ($M21 == "1") {
                $checked21 = "checked";
            }
            if ($M22 == "1") {
                $checked22 = "checked";
            }
            if ($M24 == "1") {
                $checked23 = "checked";
            }
            if ($M25 == "1") {
                $checked24 = "checked";
            }
            if ($M26 == "1") {
                $checked25 = "checked";
            }
            if ($M27 == "1") {
                $checked26 = "checked";
            }
            if ($M28 == "1") {
                $checked27 = "checked";
            }
            ?>
            <form method="post" action="<?php echo $PHP_SELF; ?>?action=yes" enctype="multipart/form-data">
                <table width="100%" border="1" cellspacing="1" cellpadding="0">
                    <tr>
                        <td bgcolor="#336699">
                            <div align="left"><font face="sans-serif"><b><font color="#CCCCCC" size="2">Welkom
                                    by die <font color="#999999">AANLYNSE JAARLIKSE VERKLARING VORM</font>.<br>
                                    Vul asseblief al die <font color="#999999">FELDE</font> in en druk die
                                    <font color="#999999">SUBMIT</font> knoppie on aan te gaan..</font>
                                    <font size="2" color="#CCCCCC"><br>
                                    Enigge vrae? Kontak gerus: <a href="mailto:members@saace.co.za">SUPPORT</a></font></b></font>
                                <font face="sans-serif"><br>
                                <font size="2"><b><font color="#CCCCCC">Alle </font><font size="2" color="#CCCCCC"><b><font color="#FF0000">VERPLIGTE</font></b></font><font color="#CCCCCC">
                                    vrae word aangedui deer die: <font color="#FF0000">*</font></font></b></font></font>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top"> <font face="sans-serif">
                            <?php
                            if ($action == "yes") {
                                $showbutton = "no";
                                $errormessage = "Dankie dat u die dokument voltooi het. Maak ASB hierdie venster toe en keer terug na die Beheer Bladsy.";
// Perform the update
                                if ($checkbox1 == "checkbox") {
                                    $checkbox1 = 1;
                                } else {
                                    $checkbox1 = 0;
                                }
                                if ($checkbox2 == "checkbox") {
                                    $checkbox2 = 1;
                                } else {
                                    $checkbox2 = 0;
                                }
                                if ($checkbox3 == "checkbox") {
                                    $checkbox3 = 1;
                                } else {
                                    $checkbox3 = 0;
                                }
                                if ($checkbox4 == "checkbox") {
                                    $checkbox4 = 1;
                                } else {
                                    $checkbox4 = 0;
                                }
                                if ($checkbox5 == "checkbox") {
                                    $checkbox5 = 1;
                                } else {
                                    $checkbox5 = 0;
                                }
                                if ($checkbox6 == "checkbox") {
                                    $checkbox6 = 1;
                                } else {
                                    $checkbox6 = 0;
                                }
                                if ($checkbox7 == "checkbox") {
                                    $checkbox7 = 1;
                                } else {
                                    $checkbox7 = 0;
                                }
                                if ($checkbox8 == "checkbox") {
                                    $checkbox8 = 1;
                                } else {
                                    $checkbox8 = 0;
                                }
                                if ($checkbox9 == "checkbox") {
                                    $checkbox9 = 1;
                                } else {
                                    $checkbox9 = 0;
                                }
                                if ($checkbox10 == "checkbox") {
                                    $checkbox10 = 1;
                                } else {
                                    $checkbox10 = 0;
                                }
                                if ($checkbox11 == "checkbox") {
                                    $checkbox11 = 1;
                                } else {
                                    $checkbox11 = 0;
                                }
                                if ($checkbox12 == "checkbox") {
                                    $checkbox12 = 1;
                                } else {
                                    $checkbox12 = 0;
                                }
                                if ($checkbox13 == "checkbox") {
                                    $checkbox13 = 1;
                                } else {
                                    $checkbox13 = 0;
                                }
                                if ($checkbox14 == "checkbox") {
                                    $checkbox14 = 1;
                                } else {
                                    $checkbox14 = 0;
                                }
                                if ($checkbox15 == "checkbox") {
                                    $checkbox15 = 1;
                                } else {
                                    $checkbox15 = 0;
                                }
                                if ($checkbox16 == "checkbox") {
                                    $checkbox16 = 1;
                                } else {
                                    $checkbox16 = 0;
                                }
                                if ($checkbox17 == "checkbox") {
                                    $checkbox17 = 1;
                                } else {
                                    $checkbox17 = 0;
                                }
                                if ($checkbox18 == "checkbox") {
                                    $checkbox18 = 1;
                                } else {
                                    $checkbox18 = 0;
                                }
                                if ($checkbox19 == "checkbox") {
                                    $checkbox19 = 1;
                                } else {
                                    $checkbox19 = 0;
                                }
                                if ($checkbox20 == "checkbox") {
                                    $checkbox20 = 1;
                                } else {
                                    $checkbox20 = 0;
                                }
                                if ($checkbox21 == "checkbox") {
                                    $checkbox21 = 1;
                                } else {
                                    $checkbox21 = 0;
                                }
                                if ($checkbox22 == "checkbox") {
                                    $checkbox22 = 1;
                                } else {
                                    $checkbox22 = 0;
                                }
                                if ($checkbox23 == "checkbox") {
                                    $checkbox23 = 1;
                                } else {
                                    $checkbox23 = 0;
                                }
                                if ($checkbox24 == "checkbox") {
                                    $checkbox24 = 1;
                                } else {
                                    $checkbox24 = 0;
                                }
                                if ($checkbox25 == "checkbox") {
                                    $checkbox25 = 1;
                                } else {
                                    $checkbox25 = 0;
                                }
                                if ($checkbox26 == "checkbox") {
                                    $checkbox26 = 1;
                                } else {
                                    $checkbox26 = 0;
                                }
                                if ($checkbox27 == "checkbox") {
                                    $checkbox27 = 1;
                                } else {
                                    $checkbox27 = 0;
                                }
                                mysql_connect("$host", "$user", "$password") or die("Unable to connect to SQL server");
                                mysql_select_db("$db") or die("Unable to select database");
                                $query2 = "UPDATE ADec_tblMemberFirms SET Acoustics = '$checkbox1', Agricultural = '$checkbox2', BuildingServices = '$checkbox3', Chemical = '$checkbox4', Civil = '$checkbox5', "
                                        . "Development = '$checkbox6', Electrical = '$checkbox7', Electronic = '$checkbox8', Environmental = '$checkbox9', Geotechnical = '$checkbox10', Industrial = '$checkbox11', "
                                        . "Mechanical = '$checkbox12', Marine = '$checkbox13', Mining = '$checkbox14', Process = '$checkbox15', Structural = '$checkbox16', Transportation = '$checkbox17', "
                                        . "Architecture = '$checkbox18', RuralDevelopment = '$checkbox19', ProjectManagement = '$checkbox20', QuantitySurveying = '$checkbox21', TownPlanning = '$checkbox22', "
                                        . "DisputeResolution = '$checkbox23', ExpertWitness = '$checkbox24', InformationSystems = '$checkbox25', FacilitiesManagement = '$checkbox26', GIS = '$checkbox27', "
                                        . "AcousticsName = '$textfield1', AgriculturalName = '$textfield2', BuildingServicesName = '$textfield3', ChemicalName = '$textfield4', CivilName = '$textfield5', "
                                        . "DevelopmentName = '$textfield6', ElectricalName = '$textfield7', ElectronicName = '$textfield8', EnvironmentalName = '$textfield9', GeotechnicalName = '$textfield10', "
                                        . "IndustrialName = '$textfield11', MechanicalName = '$textfield12', MarineName = '$textfield13', MiningName = '$textfield14', ProcessName = '$textfield15', "
                                        . "StructuralName = '$textfield16', TransportationName = '$textfield17', ArchitectureName = '$textfield18', RuralDevelopmentName = '$textfield19', "
                                        . "ProjectManagementName = '$textfield20', QuantitySurveyingName = '$textfield21', TownPlanningName = '$textfield22', DisputeResolutionName = '$textfield23', "
                                        . "ExpertWitnessName = '$textfield24', InformationSystemsName = '$textfield25', FacilitiesManagementName = '$textfield26', GISName = '$textfield27' "
                                        . "WHERE Prev_FirmID = '$MemberFirmID' AND DeclarationYear = $DeclarationYear";
                                mysql_query($query2) or die("Update of TABLE ADec_tblMemberFirms Failed");

                                $query101 = "SELECT FirmID, Prev_FirmID FROM ADec_tblMemberFirms WHERE Prev_FirmID = '$MemberFirmID' AND DeclarationYear = $DeclarationYear";
                                $Hresult = mysql_query($query101) or die("Select failed");
                                $Hrow = mysql_fetch_array($Hresult);
                                $Hf[1] = $Hrow['FirmID'];
                                $reftype = "FirmID";
                                $refdoc = "Schedule2";
                                $adecdate = date("M d Y g:iA");
                                $query102 = "INSERT INTO ADec_Done (RefID,RefType,RefDoc,ADecDate, DeclarationYear) values ('$Hf[1]','$reftype','$refdoc','$adecdate', $DeclarationYear)";
                                $Jresult = mysql_query($query102) or die("Insert Failed");
                            } else {
                                $showbutton = "yes";
                                $errormessage = "Voltooi ASB die dokument en gebruik die knoppie om voort te gaan.";
                                ?>
                                </font>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td><font size="1" face="sans-serif"><img width=66 height=84  src="images/image002.gif" v:shapes="_x0000_i1025"></font></td>
                                        <td>
                                            <div align="center"><font size="1" face="sans-serif"><b>DIE SUID-AFRIKAANSE
                                                    VERENIGING VAN RAADGEWENDE INGENIEURS</b></font></div>
                                        </td>
                                        <td>
                                            <div align="right"><font size="1" face="sans-serif"><b>BYLAAG 2<br>
                                                    (<?php echo $DeclarationYear; ?>)</b></font></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">
                                            <table width="100%" border="0" cellspacing="1" cellpadding="0">
                                                <tr bgcolor="#CCCCCC">
                                                    <td colspan="2">
                                                        <div align="center"><font size="1" face="sans-serif"><b>DISSIPLINE</b></font></div>
                                                    </td>
                                                    <td>
                                                        <div align="center"><font size="1" face="sans-serif"><b>NAAM
                                                                VAN GEREGISTREERDE PERSOON ONDER WIE SE TOESIG WERK IN HIERDIE
                                                                DISSIPLINE ONDERNEEM WORD**</b></font></div>
                                                        <div align="center"></div>
                                                    </td>
                                                </tr>
                                                <tr bgcolor="#336699">
                                                    <td colspan="3">
                                                        <div align="center"><font size="1" face="sans-serif"><b>INGENIEURSWESE</b></font><font size="1" face="sans-serif" color="#000000"><b>
                                                            </b></font></div>
                                                    </td>
                                                </tr>
                                                <tr bgcolor="#CCCCCC">
                                                    <td colspan="3">
                                                        <div align="center"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox1" value="checkbox" <?php echo $checked1; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Akoestiek</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield1" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox2" value="checkbox"<?php echo $checked2; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Landbou</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield2" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox3" value="checkbox"<?php echo $checked3; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Boudienste</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield3" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox4" value="checkbox"<?php echo $checked4; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Chemies</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield4" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox5" value="checkbox"<?php echo $checked5; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Siviel</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield5" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox6" value="checkbox"<?php echo $checked6; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Ontwikkeling</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield6" size="50" value="<?php echo $N1; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox7" value="checkbox"<?php echo $checked7; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Elektries</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield7" size="50" value="<?php echo $N7; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox8" value="checkbox"<?php echo $checked8; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Elektronies</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield8" size="50" value="<?php echo $N8; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox9" value="checkbox"<?php echo $checked9; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Omgewing</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield9" size="50" value="<?php echo $N9; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox10" value="checkbox"<?php echo $checked10; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Geotegnies</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield10" size="50" value="<?php echo $N10; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox11" value="checkbox"<?php echo $checked11; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Industrieel</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield11" size="50" value="<?php echo $N11; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox12" value="checkbox"<?php echo $checked12; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Meganies</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield12" size="50" value="<?php echo $N12; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox13" value="checkbox"<?php echo $checked13; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Marine</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield13" size="50" value="<?php echo $N13; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox14" value="checkbox"<?php echo $checked14; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Mynbou</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield14" size="50" value="<?php echo $N14; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox15" value="checkbox"<?php echo $checked15; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Prosesingenieurswese</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield15" size="50" value="<?php echo $N15; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox16" value="checkbox"<?php echo $checked16; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Struktuur</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield16" size="50" value="<?php echo $N16; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox17" value="checkbox"<?php echo $checked17; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Vervoer</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield17" size="50" value="<?php echo $N17; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="3" bgcolor="#336699">
                                                        <div align="center"><font face="sans-serif" size="1"><b>ANDER</b></font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox18" value="checkbox"<?php echo $checked18; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Argitektuur</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield18" size="50" value="<?php echo $N18; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox19" value="checkbox"<?php echo $checked19; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Plattelandse
                                                            Ontwikkeling</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield19" size="50" value="<?php echo $N19; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox20" value="checkbox"<?php echo $checked20; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Projekbestuur<font color="#000000">t</font></b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield20" size="50" value="<?php echo $N20; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox21" value="checkbox"<?php echo $checked21; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Bourekenkunde</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield21" size="50" value="<?php echo $N21; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox22" value="checkbox"<?php echo $checked22; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Stadsbeplanning</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield22" size="50" value="<?php echo $N22; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox23" value="checkbox"<?php echo $checked23; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Dispuutoplossing</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield23" size="50" value="<?php echo $N24; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox24" value="checkbox"<?php echo $checked24; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Spesialisgetuie
                                                            / Versekeringseise</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield24" size="50" value="<?php echo $N25; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox25" value="checkbox"<?php echo $checked25; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Inligtingstelsels
                                                            en -tegnologie</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield25" size="50" value="<?php echo $N26; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox26" value="checkbox"<?php echo $checked26; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Instandhoudingsbestuur
                                                            / Bestuur van fasiliteite</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield26" size="50" value="<?php echo $N27; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="4%"> <font face="sans-serif">
                                                        <input type="checkbox" name="checkbox27" value="checkbox"<?php echo $checked27; ?>>
                                                        </font></td>
                                                    <td width="18%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Geografiese
                                                            Inligtingstelsels</b></font></td>
                                                    <td>
                                                        <div align="center"> <font face="sans-serif">
                                                            <input type="text" name="textfield27" size="50" value="<?php echo $N28; ?>">
                                                            </font></div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td bgcolor="#CCCCCC">
                                            <div align="center"><font size="1" face="sans-serif"><b>**����������
                                                    SAVRI SE GEDRAGSKODE VEREIS DAT HIERDIE INLIGTING VERSKAF WORD.
                                                    INDIEN DIE NAAM VAN 'N GEREGISTREEDE PERSOON NIE VERSKAF WORD
                                                    NIE, SAL DIE BETROKKE DISSIPLINE NIE IN DIE SAVRI-FIRMAGIDS OF
                                                    OP DIE SAVRI-WEBBLAD VERTOON WORD NIE.</b> </font></div>
                                        </td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </table>
                                <font face="sans-serif">
                                <?php
                            }
                            ?>
                            </font></td>
                    </tr>
                    <tr>
                        <td bgcolor="#336699">
                            <div align="center"><font face="sans-serif" size="2"><b><font color="#CCCCCC">
                                    <?php echo $errormessage; ?>
                                    :</font> <br>
                                    <?php if ($showbutton == "yes") { ?>
                                        <input type="submit" name="Submit" value="Submit">
                                    <?php } ?>
                                </b></font></div>
                        </td>
                    </tr>
                </table>
                <INPUT TYPE="HIDDEN" NAME="MemberFirmID" VALUE ="<?php echo $MemberFirmID; ?>">
            </form>
            <!-- End Page Content Here -->
            <?php
            // End page Includes
            include( '../inc/footer2.inc' );
            break;
        case invalid:
            header("Location: http://www.saace.co.za/login.php?pageurl=" . $_SERVER['REQUEST_URI']);
            //systemerror("Login Error","Initial Login Failure",getenv ("PATH_INFO"), $authorized);
            break;
        default:
            systemerror("System Error", "System Failure on Authentication", getenv("PATH_INFO"), "There is a problem logging into our system. Try again later or if the problem persists, please contact SAACE to report the problem.");
            break;
    }
    ?>