| Current Path : /var/www/cesa.co.za/members/AnnualDeclaration/ |
| Current File : /var/www/cesa.co.za/members/AnnualDeclaration/schedule1_page2.php4 |
<?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>Annual Declaration <?php echo $DeclarationYear; ?></title><body bgcolor="#FFFFFF">
<?php
include( '../inc/declaration.inc' );
?>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<table border=0 cellspacing=0 cellpadding=0 width="100%" height="89">
<tr>
<td width=288 valign=top class="Normal" height="89">
<h2> </h2>
</td>
<td width=69 valign=top class="Normal" height="89">
<h2> <font size="1" face="Times New Roman, Times, serif"><img width=66 height=84
src="images/image003.gif" v:shapes="_x0000_i1026"></font></h2>
</td>
<td width=120 valign=top class="Normal" height="89"> </td>
<td width=194 valign=top class="Normal" height="89">
<div align="right"><font size="1" face="Times New Roman, Times, serif"><b>SCHEDULE
1<br>
<?php echo $DeclarationYear; ?><br>
Page 2</b></font></div>
</td>
</tr>
</table>
<p style='text-align:justify;'><font size="1" face="Times New Roman, Times, serif"><b>A.�������
DETAILS OF ALL PRINCIPALS AND PROFESSIONAL STAFF <i><u>AT THIS BRANCH
ONLY</u></i></b></font></p>
<table border=1 cellspacing=0 cellpadding=0 width=100%>
<tr bgcolor="#999999">
<td width=81 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>SURNAME
</b></font></td>
<td width=69 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>INITIALS
</b></font></td>
<td width=95 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>ALSO
KNOWN AS(e.g. �Bill� for �William�) </b></font></td>
<td width=120 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>Professional
Registration (if any) number and date (PrEng, PrTechEng,Quantity Surveyor,
Architect, CA(SA) , <font size="1" face="Times New Roman, Times, serif"><b>full Membership of Institutions etc</b></font></b></font></td>
<td width=120 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>Qualifications
(Degrees/Diplomas etc) </b></font></td>
<td width=95 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>Field/s
of Expertise </b></font></td>
<td width=106 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>Active position
in firm(e.g. company director, partner, office manager, other)(**See
Note Below) </b></font></td>
<td valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>E-mail
address </b></font></td>
<td width=8 valign=top class="Normal" height="89"> <font size="1" face="Times New Roman, Times, serif"><b>Principal
</b></font></td>
<td width=8 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif"><b>YPF</b></font></td>
</tr>
<?php
//here we do a while to show the info
mysql_connect("$host","$user","$password") or die("Unable to connect to SQL server");
mysql_select_db("$db") or die("Unable to select database");
$query = "SELECT * FROM ADec_OfficeContacts WHERE OfficeContacts.OfficeID = '$SelectOfficeID'";
$result = mysql_query($query) or die("Select of id Failed");
while (($rs = mysql_fetch_array($result)))
{
$therightid = $rs[0];
// Get the relevant details to display
mysql_connect("$host","$user","$password") or die("Unable to connect to SQL server");
mysql_select_db("$db") or die("Unable to select database");
$query2 = "SELECT * FROM ADec_Contacts WHERE Contacts.ContactsID = '$therightid'";
$result2 = mysql_query($query2) or die("Select of id Failed");
$ps = mysql_fetch_array($result2);
?>
<tr>
<td width=81 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[1]; ?>
</font></td>
<td width=69 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[2]; ?>
</font></td>
<td width=95 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[3]; ?>
</font></td>
<td width=120 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[13]; ?>
</font></td>
<td width=120 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[14]; ?>
</font></td>
<td width=95 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[12]; ?>
</font></td>
<td width=106 valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $rs[1]; ?>
</font></td>
<td valign=top class="Normal"> <font size="1" face="Times New Roman, Times, serif">
<?php echo $ps[16]; ?>
</font></td>
<?php
$pictoshow1 = "../pics/unselected.jpg";
if ($rs[5] == 1)
{
$pictoshow1 = "../pics/selected.gif";
}
?>
<td width=8 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif"><img src="<?php echo $pictoshow1; ?>" ></font></td>
<?php
$pictoshow1 = "../pics/unselected.jpg";
if ($rs[11] == 'y')
{
$pictoshow1 = "../pics/selected.gif";
}
?>
<td width=8 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif"><img src="<?php echo $pictoshow1; ?>" ></font></td>
<td width=8 valign=top class="Normal"> </td>
</tr>
<tr>
<td width=81 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=69 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=95 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=120 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=120 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=95 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=106 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table> </td>
<td width=8 valign=top class="Normal">
<table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td><font size="1" face="Times New Roman, Times, serif"><img src="../pics/unselected.jpg" ></font></td>
</tr>
</table> </td>
<td width=8 valign=top class="Normal"> </td>
</tr>
<?php
// here we end the while
}
?>
</table>
<p align=center style='text-align:center'><font size="1" face="Times New Roman, Times, serif"><b><i><span style='font-size:10.0pt;
font-family:"Times New Roman"'>(Please us a BLANK form if you would
like to add staff)</span></i></b></font></p>
<p align=center style='text-align:center'><font size="1" face="Times New Roman, Times, serif"><b><span style='font-size:10.0pt;font-family:
"Times New Roman"'>NOTE:</span></b><span>�� </span><b>A FULL CURRICULUM
VITAE IN RESPECT OF EACH PRINCIPAL MUST <br>
BE ATTACHED UNLESS ALREADY SUPPLIED TO THE ASSOCIATION</b></font></p>
<p style='
text-align:justify;'><font size="1" face="Times New Roman, Times, serif"><b>B.�������
TOTAL STAFF <i><u>AT THIS BRANCH ONLY</u></i></b></font></p>
<table border=1 cellspacing=0 cellpadding=0 width="100%">
<tr>
<td colspan=2 valign=top class="Normal">
<p align=center style='text-align:center'><font size="1" face="Times New Roman, Times, serif"><span
style='font-size:10.0pt;font-family:"Times New Roman"'>TOTAL OF ALL PRINCIPALS,
PROFESSIONAL AND CONTRACT STAFF LISTED IN A ABOVE</span></font></p>
</td>
<td width=93 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif">
<?php echo $MemberProffStaff; ?>
</font></td>
</tr>
<tr>
<td colspan=2 valign=top class="Normal">
<p align=center style='
text-align:center'><font size="1" face="Times New Roman, Times, serif"><span
style='font-size:10.0pt;font-family:"Times New Roman"'>TOTAL OF NON-PROFESSIONAL
TECHNICAL AND CONTRACT STAFF (e.g. graduates, draughtsperson, laboratory
assistants, etc)</span></font></p>
</td>
<td width=93 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif">
<?php echo $MemberNonProff; ?>
</font></td>
</tr>
<tr>
<td colspan=2 valign=top class="Normal">
<p align=center style='
text-align:center'><font size="1" face="Times New Roman, Times, serif"><span
style='font-size:10.0pt;font-family:"Times New Roman"'>TOTAL OF OTHER STAFF
AND CONTRACT STAFF (e.g. secretaries, bookkeepers etc)</span></font></p>
</td>
<td width=93 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif">
<?php echo $MemberOtherStaff; ?>
</font></td>
</tr>
<tr>
<td width=421 valign=top class="Normal"> </td>
<td width=162 valign=top class="Normal">
<h4><font size="1" face="Times New Roman, Times, serif"><span style='font-size:12.0pt;'>TOTAL
OF ALL STAFF</span></font></h4>
</td>
<td width=93 valign=top class="Normal"><font size="1" face="Times New Roman, Times, serif">
<?php $Total = $MemberOtherStaff + $MemberNonProff + $MemberProffStaff; echo $Total; ?>
</font></td>
</tr>
<tr height=0>
<td width=421 class="Normal"></td>
<td width=162 class="Normal"></td>
<td width=93 class="Normal"></td>
</tr>
</table>
<p align=center style='text-align:center'><font size="1" face="Times New Roman, Times, serif">
** <b><i>At least 50% of the company directors, partners, members of the
close corporation for the firm as a whole must be professionally registered
in accordance with Clause 2.1.6<br>
A Principal of a Firm shall be any of the following who is in active practice in the firm:
A sole practitioner, where the firm is a partnership, all the partners;
where the Firm is a close corporation, all the members;
where the Firm is a company, all the directors appointed in terms of the Companies Act
or equivalent in the country of operation</i></b></font></p>
</td>
</tr>
</table>
<!-- End Page Content Here -->
<?php
// End page Includes
include( '../inc/footer2.inc' );
break;
case invalid:
header("Location: http://www.saace.co.za/login.php4?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;
}
?>