Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
echasl23 /
annualdec /
print /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-sr-x
2010-05-27 06:28
inc_printheader.php
269
B
-rw-r--r--
2010-05-27 04:41
inc_schedule1.php
15.67
KB
-rw-r--r--
2011-01-18 10:48
inc_schedule1b.php
10.88
KB
-rw-r--r--
2011-01-18 10:48
inc_schedule1p2.php
18.59
KB
-rw-r--r--
2011-03-31 07:59
part1.php
98.26
KB
-rw-r--r--
2025-11-20 13:55
part2.php
2.91
KB
-rw-r--r--
2018-08-01 08:49
Save
Rename
<?php // Get this office $Squery = "SELECT * FROM ".$sOfficesTable." WHERE OfficeID = '$SelectOfficeID'"; $Sresult = mysql_query($Squery) or die("Select of id Failed"); $Srow = mysql_fetch_array($Sresult); $OfficeID = $Srow['OfficeID']; $OfficeStatus = $Srow['OfficeStatus']; $OfficeName = $Srow['OfficeName']; $OfficeBuilding = $Srow['BldgName']; $OfficeStreet = $Srow['StreetName']; $OfficeSuburb = $Srow['Suburb']; $OfficeTownCity = $Srow['TownCity']; $OfficeCountry = $Srow['Country']; $OfficeCode = $Srow['PostalCode']; $OfficeProvince = $Srow['Province']; $OfficePostalAdd = $Srow['PostalAddress']; $OfficeTel = $Srow['Telephone']; $OfficeFax = $Srow['Fax']; $OfficeEmail = $Srow['Email']; $OfficeLanguage = $Srow['Language']; $OfficeLocalM = $Srow['GeoLocationLocal']; $OfficeDistrict = $Srow['GeoLocationDistrict']; $OfficeAddress2 = $Srow['Address2']; $OfficeGeoLocation = $Srow['GeoLocation']; $pictoshow1 = "../pics/unselected.jpg"; $pictoshow2 = "../pics/unselected.jpg"; $pictoshow3 = "../pics/unselected.jpg"; $pictoshow4 = "../pics/unselected.jpg"; if ($OfficeStatus == "Head Office") { $pictoshow1 = "../pics/selected.gif"; } if ($OfficeStatus == "Branch") { $pictoshow3 = "../pics/selected.gif"; } if ($OfficeStatus == "Only Office") { $pictoshow2 = "../pics/selected.gif"; } if ($OfficeStatus == "Subsidiary Company") { $pictoshow4 = "../pics/selected.gif"; } ?> <table width="100%" align="center"> <tr> <td align="center" valign="top"><table width="100%" border="0"> <tr> <td width="14%"><span >Name of Firm:</span></td> <td width="39%"> <?php echo $OfficeName; ?> </td> <td width="47%" rowspan="3"><table border=0 cellspacing=0 cellpadding=0> <tr> <td width=25% valign=top class="Normal" height="14"><p align=center style='text-align:center'><b>Head Office</b></p></td> <td width=25% valign=top class="Normal" height="14"><p align=center style='text-align:center'><b>Only Office</b></p></td> <td width=25% valign=top class="Normal" height="14"><p align=center style='text-align:center'><b>Branch Office</b></p></td> <td width=25% valign=top class="Normal" height="14"><p align=center style='text-align:center'><b>Subsidiary Company </b></p></td> </tr> <tr> <td width=25% valign=top class="Normal"><p align=center style='text-align:center'><span style='font-size:16.0pt;font-family:"Monotype Sorts"; "Monotype Sorts"'><img src="<?php echo $pictoshow1; ?>" ></span></p></td> <td width=25% valign=top class="Normal"><p align=center style='text-align:center'><span style='font-size:16.0pt;font-family:"Monotype Sorts"; "Monotype Sorts"'><img src="<?php echo $pictoshow2; ?>" ></span></p></td> <td width=25% valign=top class="Normal"><p align=center style='text-align:center'><span style='font-size:16.0pt;font-family:"Monotype Sorts"; "Monotype Sorts"'><img src="<?php echo $pictoshow3; ?>" ></span></p></td> <td width=25% valign=top class="Normal"><p align=center style='text-align:center'><span style='font-size:16.0pt;font-family:"Monotype Sorts"; "Monotype Sorts"'><img src="<?php echo $pictoshow4; ?>" ></span></p></td> </tr> </table></td> </tr> <tr> <td><span style="font-size:10.0pt; font-family:"Times New Roman"">Postal Address:</span></td> <td><?php if (trim($OfficePostalAdd."") =="") { //show the physical address echo $OfficeBuilding."<br>".$OfficeStreet."<br>".$OfficeSuburb."<br>".$OfficeGeoLocation; } else { echo $OfficePostalAdd."<br>".$OfficePostalAddress2."<br>".$OfficeTownCity; } ?> <br> <?php echo $OfficeCode; ?> </td> </tr> <tr> <td>Telephone No:</td> <td><?php echo $OfficeTel; ?></td> </tr> </table> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0" style="page-break-before:always;"> <tr> <td align="center" valign="top"><p><b>DETAILS OF ALL PRINCIPALS AND PROFESSIONAL STAFF <i><u>AT THIS BRANCH ONLY</u></i></b></p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <?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 ContactsID, ".$sContactsID.", ContactPosition, MandatedPrincipal, OfficeHead, OfficeID, ".$sOfficeID.", Principal, Email, Mail, OfficeLiaison, OfficeLiaisonB, SchoolMail, YPF FROM ".$sOfficeContactsTable." WHERE OfficeID = '$SelectOfficeID'"; $result = mysql_query($query) or die("Select of id Failed"); $iRecordNum = 0; $iCellNum = 0; while (($rs = mysql_fetch_array($result))) { $therightid = $rs[0]; $iRecordNum++; $iCellNum++; // 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 ContactsID, ContactSurname, ContactInitials, ContactFirstName, ProfessionalRegistrations, Qualifications, Comments, PreferredEmail, IDNumber, CellPhone FROM ".$sContactsTable." WHERE ContactsID = '$therightid'"; $result2 = mysql_query($query2) or die("Select of id Failed"); $ps = mysql_fetch_array($result2); $pictoshow1 = "../pics/unselected.jpg"; if ($rs[7] == 1) { $pictoshow1 = "../pics/selected.gif"; } $pictoshow2 = "../pics/unselected.jpg"; if ($rs[13] == 'y') { $pictoshow2 = "../pics/selected.gif"; } $bBeginRow = false; $bEndRow = false; if ($iCellNum == 1) $bBeginRow = true; if ($iCellNum == 4) { $bEndRow = true; $iCellNum = 0; } if ($bBeginRow) { ?> <tr> <td valign="top" width="25%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td style="border:1px solid black"><b>SURNAME</b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td style="border:1px solid black"><b>INITIALS</b></td> </tr> <tr> <td valign="top"><img src=images/spacer.gif width="1" height=40></td> <td valign="top" style="border:1px solid black"><b>KNOWN AS </b><span class="style2">(e.g. “Bill” for “William”) </span></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=80></td> <td valign="top" style="border:1px solid black"><b>Professional Registration (if any) number and date </b><span class="style2">(PrEng, PrTechEng,Quantity Surveyor, Architect, CA(SA) , full Membership of Institutions etc)</span></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=65></td> <td valign="top" style="border:1px solid black"><b>Qualifications (Degrees/Diplomas etc)</b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=65></td> <td valign="top" style="border:1px solid black"><b>Field/s of Expertise</b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=45></td> <td valign="top" style="border:1px solid black"><b>Active position in firm</b> <span class="style2">(partner, office manager, YPF,other) (**See Note Below)</span> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=40></td> <td valign="top" style="border:1px solid black"><b>E-mail address </b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign="top" style="border:1px solid black"><b>Principal</b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign="top" style="border:1px solid black"><b>ID Number</b></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign="top" style="border:1px solid black"><b>Cellphone Number</b></td> </tr> </table></td> <?php } ?> <td valign="top" width="25%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign="top" bgcolor="#EEEEEE"><center> <b><?php echo $iRecordNum; ?></b> </center> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign="top" style="border:1px solid black"><?php echo $ps[1]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign=top style="border:1px solid black"> <?php echo $ps[2]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=40></td> <td valign=top style="border:1px solid black"> <?php echo $ps[3]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=80></td> <td valign=top style="border:1px solid black"> <?php echo $ps[4]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=65></td> <td valign=top style="border:1px solid black"> <?php echo $ps[5]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=65></td> <td valign=top style="border:1px solid black"> <?php echo $ps[6]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=45></td> <td valign=top style="border:1px solid black"> <?php echo $rs[2]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=40></td> <td valign=top style="border:1px solid black"> <?php echo $ps[7]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign=top style="border:1px solid black"><img src="<?php echo $pictoshow1; ?>" width="22" height="24" ></td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign=top nowrap style="border:1px solid black"><?php echo $ps[8]; ?> </td> </tr> <tr> <td><img src=images/spacer.gif width="1" height=24></td> <td valign=top style="border:1px solid black"><?php echo $ps[9]; ?> </td> </tr> </table></td> <?php if ($bEndRow) { ?> </tr> <?php } // here we end the while } // was the row properly ended? if (!$bEndRow) { for ($i=$iCellNum+1; $i <= 4; $i++) { ?> <td> </td> <?php } ?> </tr> <?php } ?> <tr> <td> </td> <td bgcolor="#EEEEEE"><center> <b><?php echo $iRecordNum+1; ?></b> </center> </td> <td bgcolor="#EEEEEE"><center> <b><?php echo $iRecordNum+2; ?></b> </center> </td> <td bgcolor="#EEEEEE"><center> <b><?php echo $iRecordNum+3; ?></b> </center> </td> </tr> <tr> <td style="border:1px solid black"><b>SURNAME</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>INITIALS</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>KNOWN AS </b><span class="style2">(e.g. “Bill” for “William”) </span></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Professional Registration (if any) number and date </b><span class="style2">(PrEng, PrTechEng,Quantity Surveyor, Architect, CA(SA) , full Membership of Institutions etc)</span></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Qualifications (Degrees/Diplomas etc)</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Field/s of Expertise</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Active position in firm</b> <span class="style2">(partner, office manager, YPF,other) (**See Note Below) </span></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>E-mail address </b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Principal</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"><img src="../pics/unselected.jpg" width="22" height="24" ></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"><img src="../pics/unselected.jpg" width="22" height="24" ></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"><img src="../pics/unselected.jpg" width="22" height="24" ></td> </tr> <tr> <td style="border:1px solid black"><b>ID Number</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> <tr> <td style="border:1px solid black"><b>Cellphone Number</b></td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> <td valign=top style="border:1px solid black; background-color:#CCCCCC"> </td> </tr> </table> <p align=center style='text-align:center'><b><i><span style='font-size:10.0pt; font-family:"Times New Roman"'>(If insufficient space please supply an additional list)</span></i></b></p> <p align=center style='text-align:center'><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></p> <p>** <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 <u>who is in active practice in the firm</u>: 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></p> </td> </tr> </table>