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/schedule1b_page1GENERIC_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' );
	?>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<title>Annual Declaration <?php echo $DeclarationYear; ?></title>
<link rel="stylesheet" href="adecstyles.css" type="text/css">
<body bgcolor="#FFFFFF">
<!-- Start Page Content Here -->
<?php
include( '../inc/readnext.inc' );  
if ($action == "yes")
{
?>
<?php
	include( '../inc/submitcheck2b_A.inc' );
	?>
<table align="center" width="100%" cellpadding="0" cellspacing="0" border="1">
  <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> 
      <div align="center"><font face="sans-serif"><br>
        <?php echo $ErrorReport;
		if ($NextSection == "notcomplete")
		{
		echo "<p>Om die PROBLEEM op te los, gebruik die  ";
?>
        <font size = -2><a href="javascript:history.back(1)">TERUG</a></font></font> 
        <font face="sans-serif"> 
        <?php 
echo "knoppie om terug te keer na die vorige bladsy.<p>";
		}
		?>
        <br>
        </font></div>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#336699"> 
      <div align="center"> <font face="sans-serif"> 
        <?php 
	     if ($NextSection == "complete")
		 { ?>
        <font size="1"><b><font size="2" color="#CCCCCC">BYLAAG</font><font size="2" color="#CCCCCC"> 
        1B (vervolg) BLADSY 2 
        <?php echo "<a href=\"javascript:MM_openBrWindow('/members/AnnualDeclaration/schedule1b_page2GENERIC_A.php?SelectOfficeID=$SelectOfficeID&action=A','declaration2','scrollbars=yes,resizable=yes,width=800,height=400')\">Details of all Principals and Professional staff</a>"; ?>
        </font> </b></font></font> <font face="sans-serif"> 
        <?php 
		 }
		 if ($NextSection == "notcomplete")
		 {
		 ?>
        </font> 
        <div align="center"><font face="sans-serif" size="1"><b><font size="2" color="#CCCCCC">******** 
          GEBRUIK ASB DIE TERUG KNOPPIE******** </font> </b></font> <font face="sans-serif"> 
          <?php
		 }
	  ?>
          </font></div>
      </div>
    </td>
  </tr>
</table>  		
<?php
}
else
{	
?>	
<form method="post" action="<?php echo $PHP_SELF; ?>?action=yes" enctype="multipart/form-data">
  <table align="center" width="99%" cellpadding="0" cellspacing="0" border="1">
    <tr align="left" valign="top" bgcolor="#336699"> 
      <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> 
          <br>
          <font size="2"><font color="#CCCCCC">Alle </font><font size="2" color="#CCCCCC"><font color="#FF0000">VERPLIGTE</font></font><font color="#CCCCCC"> 
          vrae word aangedui deer die: <font color="#FF0000">*</font></font></font> 
          </b></font></div>
      </td>
    </tr>
    <tr> 
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="13%" align="left" valign="top"><font face="sans-serif"><b><font size="1"><img width=66 height=84
  src="images/image002.gif" v:shapes="_x0000_i1025"></font></b></font></td>
            <td width="76%" valign="middle" align="center"> 
              <div align="center"><font face="sans-serif"><b><font size="1">DIE 
                SUID-AFRIKAANSE VERENIGING VAN RAADGEWENDE INGENIEURS<br>
                BESONDERHEDE OOR KANTORE <i>BUITE</i> DIE REPUBLIEK VAN SUID-AFRIKA:<br>
                (Voltooi 'n afsonderlike vel vir elke kantoor)</font></b></font></div>
            </td>
            <td width="11%" align="right" valign="middle"> 
              <div align="right"><font face="sans-serif"><b><font size="1">BYLAAG 
                1B <br>
                (<?php echo $DeclarationYear; ?>)<br>
                BLADSY: 1 
                <?php
			 $selected1 = "";
			 $selected2 = "";
			 $selected3 = "";
			 $selected4 = "";			 			 			 			
		  if ($OfficeStatus == "Head Office")
		     {
			 $selected1 = "selected";
			 }
		  if ($OfficeStatus == "Branch")
		     {
			 $selected2 = "selected";
			 }
		  if ($OfficeStatus == "Only Office")
		     {
			 $selected3 = "selected";		 			 
			 }
		  if ($OfficeStatus == "Subsidiary Company")
		     {
			 $selected4 = "selected"; 			 
			 }
		  ?>
                </font></b></font></div>
            </td>
          </tr>
          <tr> 
            <td colspan="3"> 
              <table width="100%" border="0" cellspacing="2" cellpadding="0">
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"><span
  style='font-size:10.0pt;font-family:"Times New Roman"'>Naam van Firma:</span></font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[nameoffirm]" value="<?php echo $OfficeName; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td colspan="2" bgcolor="#CCCCCC"> 
                    <div align="center"><b><font face="sans-serif"><font size="1"><span
  style='font-size:10.0pt;font-family:"Times New Roman"'>Straat Adres:</span> 
                      </font></font></b></div>
                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Gebou:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[officebuilding]" value="<?php echo $OfficeBuilding; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"><span>�� 
                    </span>Straat:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[officestreet]" value="<?php echo $OfficeStreet; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"><span>�� 
                    </span>Voorstad:�:�</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[officesuburb]" value="<?php echo $OfficeSuburb; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"><span>�� 
                    </span>Stad/Dorp:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[officecity]" value="<?php echo $OfficeGeoLocation; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"><span>� 
                    </span>Provinsie:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[officeprovince]" value="<?php echo $OfficeProvince; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Country:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[country]" value="<?php echo $OfficeCountry; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"><b><b></b></b></div>
                  </td>
                </tr>
                <tr> 
                  <td colspan="2" bgcolor="#CCCCCC"> 
                    <div align="center"><b><font face="sans-serif"><font size="1"><span style='font-size:10.0pt;
  font-family:&quot;Times New Roman&quot;'>Pos Adres:</span></font></font></b></div>
                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Pos 
                    Bus:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[pobox]" value="<?php echo $OfficePostalAdd; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Ekstra:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[poextend]" value="<?php echo $OfficeAddress2; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Stad/Dorp:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[towncity]" value="<?php echo $OfficeTownCity; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Kode</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[code]" value="<?php echo $OfficeCode; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Telefoon 
                    No:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[tel]" value="<?php echo $OfficeTel; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Faks 
                    No:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[fax]" value="<?php echo $OfficeFax; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">E-pos:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[email]" value="<?php echo $OfficeEmail; ?>" size="30">
                    </font><font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"><b><font face="sans-serif"><font size="1">NAAM 
                      (REGISTRASIE EN KWALIFIKASIES, INDIEN ENIGE) VAN PERSOON 
                      IN BEVEL VAN KANTOOR : </font> </font></b></div>
                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Title:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[des]" value="<?php echo $HeadContactDesignation; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Naam</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[nam]" value="<?php echo $HeadContactFirstname; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Van:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[sur]" value="<?php echo $HeadContactSurname; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Registrasie:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[regis]" value="<?php echo $HeadContactRegistration; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1"> 
                    Kwalifikasie:</font></font></b></td>
                  <td width="65%"><font face="sans-serif"><b><font size="1"> 
                    <input type="text" name="form[qual]" value="<?php echo $HeadContactQualifications; ?>" size="30">
                    </font></b></font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"><b><b></b></b> </div>
                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Naam 
                    (Registrasie en kwalifikasie, indien enige) van persone in 
                    bevel van kantoor</font></font></b></td>
                  <td width="65%"> <font face="sans-serif"><b> 
                    <input type="text" name="form[hrname]" size="30">
                    <font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">E-pos</font></font></b></td>
                  <td width="65%"> <font face="sans-serif"><b> 
                    <input type="text" name="form[hrmail]" size="30">
                    <font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><b><font face="sans-serif"><font size="1">Naam 
                    van persoon verantwoordelik vir menslike hulpbronne/opleiding 
                    in die firma:</font></font></b></td>
                  <td width="65%"> <font face="sans-serif"><b> 
                    <select name="select[fidic]">
                      <option value="No">Nee</option>
                      <option value="Yes">Ja</option>
                    </select>
                    <font size="2"><font color="#CCCCCC"><font color="#FF0000">*</font></font></font></b></font></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td bgcolor="#336699"> 
        <div align="center"><font face="sans-serif"><b><font size="2"><font color="#CCCCCC">VOLTOOI 
          ASSEBLIEF DIE DOKUMENT EN DRUK DIE SUBMIT KNOPPIE OM VOORT TE GAAN</font><br>
          <input type="submit" name="Submit" value="Submit">
          </font></b></font></div>
      </td>
    </tr>
  </table>
<INPUT TYPE="HIDDEN" NAME="SelectOfficeID" VALUE ="<?php echo $SelectOfficeID; ?>">
</form>
<?php
}
?>
<!-- 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;
}
?>