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.php

<?php 
// Configuration and Authentication
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">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<body bgcolor="#FFFFFF">
<!-- Start Page Content Here -->
<?php
include( '../inc/readnext.inc' );  
if ($action == "yes")
{
?>
<?php
	include( '../inc/submitcheck2b.inc' );
	?>
<table align="center" width="100%" cellpadding="0" cellspacing="0" border="1">
  <tr> 
    <td bgcolor="#336699"> 
      <div align="center"> </div>
      <div align="left"><font face="sans-serif"><b><font color="#CCCCCC" size="2">Welcome 
        to the <font color="#999999">ONLINE ANNUAL DECLARATION FORM</font>.<br>
        Please complete all the <font color="#999999">FIELDS</font> and the click 
        on the <font color="#999999">SUBMIT</font> button to continue..</font> 
        <font size="2" color="#CCCCCC"><br>
        If you have any questions please contact us via Mail:</font></b><font size="2"> 
        </font></font></div>
    </td>
  </tr>
  <tr> 
    <td> 
      <div align="center"><font face="sans-serif"><br>
        <?php echo $ErrorReport;
		if ($NextSection == "notcomplete")
		{
		echo "<p>To fix the ERROR you can simply click on the ";
?>
        <font size = -2><a href="javascript:history.back(1)">BACK</a></font></font> 
        <font face="sans-serif"> 
        <?php 
echo "button to go back to the previous page.<p>";
		}
		?>
        <br>
        </font></div>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#336699"> 
      <div align="center"> <font face="sans-serif"> 
        <?php 
	     if ($NextSection == "complete")
		 { 
			echo "<script language='Javascript'>document.location='schedule1b_page2GENERIC.php?officenum=$officenum&SelectOfficeID=$SelectOfficeID&action=A';</script>";
		 }
		 if ($NextSection == "notcomplete")
		 {
		 ?>
        </font> 
        <div align="center"><font face="sans-serif" size="1"><b><font size="2" color="#CCCCCC">******** 
          PLEASE USE THE BACK BUTTON ******** </font> </b></font> <font face="sans-serif"> 
          <?php
		 }
	  ?>
          </font></div>
      </div>
    </td>
  </tr>
</table>  		
<?php
}
else
{	
?>	
<?php
	include( '../inc/declaration_nav.php' );
?>
<form method="post" action="<?php echo $PHP_SELF; ?>?action=yes&officenum=<?php echo $officenum; ?>" 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="center"> 
          <div align="center"> </div>
          <div align="left">
            <TABLE WIDTH=700 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 bgcolor="#336699">
              <TR>
                <TD COLSPAN=2 ROWSPAN=3> <IMG SRC="images/stepnum4.jpg" WIDTH=65 HEIGHT=60 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_02.jpg" WIDTH=20 HEIGHT=16 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_03.jpg" WIDTH=155 HEIGHT=16 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_04.jpg" WIDTH=52 HEIGHT=16 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_05.jpg" WIDTH=387 HEIGHT=16 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_06.jpg" WIDTH=21 HEIGHT=16 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_07.jpg" WIDTH=20 HEIGHT=29 ALT=""></TD>
                <TD COLSPAN=3 bgcolor="#336699">
                  <center>
                    <font color="white">OFFICES <em>OUTSIDE</em> SOUTH AFRICA</font>
                                                                                                                                                                </center></TD>
                <TD> <IMG SRC="images/navigation_09.jpg" WIDTH=21 HEIGHT=29 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_10.jpg" WIDTH=20 HEIGHT=15 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_11.jpg" WIDTH=155 HEIGHT=15 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_12.jpg" WIDTH=52 HEIGHT=15 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_13.jpg" WIDTH=387 HEIGHT=15 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_14.jpg" WIDTH=21 HEIGHT=15 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_15.jpg" WIDTH=13 HEIGHT=36 ALT=""></TD>
                <TD COLSPAN=3><a href="#" onClick="javascript:ShowNav();"><IMG SRC="images/stepseq4.jpg" WIDTH=227 HEIGHT=36 ALT="" usemap="#Map"></a></TD>
                <TD> <IMG SRC="images/navigation_17.jpg" WIDTH=52 HEIGHT=36 ALT=""></TD>
                <TD ROWSPAN=3 bgcolor="#336699"><font color="#FFFFFF" size="2"> Please complete the form below, then click the Save and Continue button at the bottom of the page.<br>
      Questions? <a href="mailto:julia@xe.co.za"><font color=white>Click here for help</font></a>. </font></TD>
                <TD> <IMG SRC="images/navigation_19.jpg" WIDTH=21 HEIGHT=36 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_20.jpg" WIDTH=13 HEIGHT=5 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_21.jpg" WIDTH=52 HEIGHT=5 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_22.jpg" WIDTH=20 HEIGHT=5 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_23.jpg" WIDTH=155 HEIGHT=5 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_24.jpg" WIDTH=52 HEIGHT=5 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_25.jpg" WIDTH=21 HEIGHT=5 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_26.jpg" WIDTH=13 HEIGHT=18 ALT=""></TD>
                <TD COLSPAN=3 bgcolor="#336699"><table border=0 width=100%><tr><td align="left" style="color:#FFFFFF; font-size:11px; font-weight:bold;">Office <?php echo $officenum; ?> of <?php echo $OfficeCountInternat; ?> </td><td align="right"><a href="#" onClick="javascript:ShowOfficesInternat();" style="color:#FFFFFF; font-size:11px; font-weight:bold;">View all</a></td></tr></table> </TD>
                <TD> <IMG SRC="images/navigation_28.jpg" WIDTH=52 HEIGHT=18 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_29.jpg" WIDTH=21 HEIGHT=18 ALT=""></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/navigation_30.jpg" WIDTH=13 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_31.jpg" WIDTH=52 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_32.jpg" WIDTH=20 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_33.jpg" WIDTH=155 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_34.jpg" WIDTH=52 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_35.jpg" WIDTH=387 HEIGHT=11 ALT=""></TD>
                <TD> <IMG SRC="images/navigation_36.jpg" WIDTH=21 HEIGHT=11 ALT=""></TD>
              </TR>
            </TABLE>
            <font face="sans-serif" color="white"><b>
<p>You have <?php echo $OfficeCountInternat; ?> office(s) outside South Africa. Please verify the details below of:<br>
    Office <?php echo $officenum; ?> of <?php echo $OfficeCountInternat; ?>, <?php echo $OfficeName; ?> </p>
            </b></font></div>
        </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" size="1"><img width=66 height=84
  src="images/image002.gif" v:shapes="_x0000_i1025"></font></td>
            <td width="76%" valign="middle" align="center"> 
              <div align="center"><font size="1" face="sans-serif">THE SOUTH AFRICAN 
                ASSOCIATION OF CONSULTING ENGINEERS<br>
                DETAILS OF OFFICES <b><i>OUTSIDE</i></b> THE REPUBLIC OF SOUTH 
                AFRICA:<br>
                (Complete <b>a separate sheet</b> for each office)</font> </div>
            </td>
            <td width="11%" align="right" valign="middle"> 
              <div align="right"><font face="sans-serif" size="2"><b>SCHEDULE 
                1B <br>
                (<?php echo $DeclarationYear; ?>)<br>
                PAGE: 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"; 			 
			 }
		  ?>
                </b></font></div>
            </td>
          </tr>
          <tr> 
            <td colspan="3"> 
              <table width="100%" border="0" cellspacing="2" cellpadding="0">
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1"><span
  style='font-size:10.0pt;font-family:"Times New Roman"'>Name of Firm:</span></font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[nameoffirm]" value="<?php echo $OfficeName; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td colspan="2" bgcolor="#CCCCCC"> 
                    <div align="center"><font face="sans-serif"><b><font size="1"><span
  style='font-size:10.0pt;font-family:"Times New Roman"'>Physical Address:</span></font></b><font size="1"> 
                      </font></font></div>                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Building:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[officebuilding]" value="<?php echo $OfficeBuilding; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Street:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[officestreet]" value="<?php echo $OfficeStreet; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Suburb:�</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[officesuburb]" value="<?php echo $OfficeSuburb; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">City/Town:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[officecity]" value="<?php echo $OfficeGeoLocation; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Province:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[officeprovince]" value="<?php echo $OfficeProvince; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Country:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[country]" value="<?php echo $OfficeCountry; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"></div>                  </td>
                </tr>
                <tr> 
                  <td colspan="2" bgcolor="#CCCCCC"> 
                    <div align="center"><font face="sans-serif"><b><font size="1"><span style='font-size:10.0pt;
  font-family:&quot;Times New Roman&quot;'>Postal Address:</span></font></b><font size="1"> 
                      </font></font></div>                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">PO 
                    Box: </font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[pobox]" value="<?php echo $OfficePostalAdd; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC">&nbsp;</td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[poextend]" value="<?php echo $OfficeAddress2; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Town/City:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[towncity]" value="<?php echo $OfficeTownCity; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Code:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[code]" value="<?php echo $OfficeCode; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Telephone 
                    No:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[tel]" value="<?php echo $OfficeTel; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">Fax 
                    No:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[fax]" value="<?php echo $OfficeFax; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif"><b><font size="1">E-mail:</font></b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[email]" value="<?php echo $OfficeEmail; ?>" size="30">
                    </font><font face="sans-serif"><font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"><font size="1" face="sans-serif"><b>NAME 
                      (REGISTRATION AND QUALIFICATIONS, IF ANY) OF PERSON IN CHARGE 
                      OF OFFICE :</b></font></div>                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font size="1" face="sans-serif"><b>Designation</b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[des]" value="<?php echo $HeadContactDesignation; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font size="1" face="sans-serif"><b>First 
                    Name </b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[nam]" value="<?php echo $HeadContactFirstname; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font size="1" face="sans-serif"><b>Last 
                    Name </b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[sur]" value="<?php echo $HeadContactSurname; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font size="1" face="sans-serif"><b>Registration</b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[regis]" value="<?php echo $HeadContactRegistration; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font size="1" face="sans-serif"><b>Qualifications</b></font></td>
                  <td width="65%"><font face="sans-serif" size="1"> 
                    <input type="text" name="form[qual]" value="<?php echo $HeadContactQualifications; ?>" size="30">
                    </font></td>
                </tr>
                <tr> 
                  <td colspan="2"> 
                    <div align="center"> </div>                  </td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif" size="1"><b>Are 
                    you a MEMBER of the local FIDIC affiliated Member Association: 
                    </b></font></td>
                  <td width="65%"> <font face="sans-serif"> 
                    <select name="select[fidic]">
                      <option value="No">No</option>
                      <option value="Yes">Yes</option>
                    </select>
                    <font face="sans-serif"><font face="sans-serif" size="2"><b><font color="#CCCCCC"><font color="#FF0000">*</font></font></b></font></font></font></td>
                </tr>
                <tr> 
                  <td width="35%" bgcolor="#CCCCCC"><font face="sans-serif" size="2"><b>Place a tick here if you would like this office to be <u>deleted</u> from our database: </b></font></td>
                  <td width="65%"> <font face="sans-serif"> 
                    <input type="checkbox" name="form[deleteoffice]" value="ON"<?php if (strstr($OfficeName,"- *** DELETED ***")) { echo " checked"; } ?>>
                    </font></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td bgcolor="#336699"> 
        <div align="center"><font face="sans-serif" size="2"><b><font color="#CCCCCC">Please 
          complete the document and click on the button to continue:</font> <br>
</b></font><font color="#000000"><b><font face="sans-serif" size="2">
<input name="imageField" type="image" src="images/save.jpg" width="200" height="100" border="0">
</font></b></font><font face="sans-serif" size="2"><b>          </b></font></div>
      </td>
    </tr>
  </table>
<INPUT TYPE="HIDDEN" NAME="SelectOfficeID" VALUE ="<?php echo $SelectOfficeID; ?>">
</form>
<?php
}
?>
<!-- End Page Content Here -->
<map name="Map">
          <area shape="circle" coords="68,19,16" href="#" onClick="javascript:ShowNav();" alt="Annual Declaration">
          <area shape="circle" coords="96,18,13" href="#" onClick="javascript:ShowNav();" alt="Schedule 1: Offices within South Africa">
          <area shape="circle" coords="124,17,13" href="#" onClick="javascript:ShowNav();" alt="Schedule 1A: Firms to be treated as one">
          <area shape="circle" coords="148,18,14" href="#" onClick="javascript:ShowNav();" alt="Schedule 1B: Offices outside South Africa">
          <area shape="circle" coords="175,17,13" href="#" onClick="javascript:ShowNav();" alt="Schedule 2: Fields of expertise">
          <area shape="circle" coords="201,18,14" href="#" onClick="javascript:ShowNav();" alt="Documents to be printed">
</map>
<?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;
}
?>