Проблем със скрипт PHP to PDF

virtuoso

Registered
Така не знам дали ще мога да го обясня правилно но ще опитам,надявам се някой да ми помогне.Проблема ми е че трябва да генерирам пдф от html форма,както ще видите по надолу до 9 въпрос съм ги направил обаче 10,11 и 12 са радио бутони със "yes" и "no" ако е yes нищо не се променя в темплейта но ако е no изчзва цял абзац и останалите след него се преномерират

кода:
Код:
<?php
require_once ("../../../..//nsdb/uarea/mysql_conn.php");



if ($_POST['sbm'] == "yes") {
	$subscr_date = trim (strip_tags ($_POST['subscr']));
	$expr_date = trim (strip_tags ($_POST['expr']));
	$uname = trim (strip_tags ($_POST['uname']));
	$umail = trim (strip_tags ($_POST['umail']));
	
	mysql_query ("UPDATE logins SET uname='$uname', email='$umail', subscr_date='$subscr_date', expr_date='$expr_date' WHERE id=$uid");
	header ("Location: index.php");
	exit;
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Nexus Business Support</title>
<link href="../global.css" rel="stylesheet" type="text/css" />

<style type="text/css">
.style18 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #336699;
	text-decoration: underline;
}
.style19 {
	font-size: 12px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
}
body {
	margin-left: 20px;
	margin-right: 20px;
}
div.scroll {
	cursor: default;
	font-family: verdana;
	font-size: 11px;
	color: #5D5D5D;
	overflow: auto;
	padding: 3px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #336699;
	border-bottom-color: #336699;
	border-left-color: #336699;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #336699;
}
.style20 {font-size: 5px}
</style>
<link href="../../../..//nsdb/v.css" rel="stylesheet" type="text/css" />
<style type="text/css">

</style>
</head>

<body>
<table width="100%" height="60" align="center">
  <tr>
    <td width="216"><a href="../../index.html"><img src="http://nexussupport.co.uk/images/logo2.jpg" border="0"></a></td>
    <td width="309"> </td>
    <td width="209" align="right" ><br>
 
      
        
       
               
       
    </td>
  </tr>
</table>
<hr><br><br><p> </p><br>
      <div>
       <table width="176"  border="0" align="left">
          <tr>
            <td width="170" nowrap="nowrap"><p align="left" ><a href="../../../admin/users.php"class="style18">Home</a></p>
              
          </tr>
          <tr>
            <td>  </td>
          </tr>
          <tr>
            <td><p align="left" ><a href="../../../admin/users.php"class="style18">Users</a></p></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td height="24"><a href="policy23.php"class="style18">Create HS Policy</a></td>
          </tr>
        </table>

        
 
  	<?php
	if ($_POST['submit'] == "Create Document") {
		$form_1 = trim (strip_tags ($_POST['1']));
		$form_2 = trim (strip_tags ($_POST['2']));
		$form_3 = trim (strip_tags ($_POST['3']));
		$form_4 = trim (strip_tags ($_POST['4']));
		$form_5 = trim (strip_tags ($_POST['5']));
		$form_6 = trim (strip_tags ($_POST['6']));
		$form_7 = trim (strip_tags ($_POST['7']));
		$form_8 = trim (strip_tags ($_POST['8']));
		$form_9 = trim (strip_tags ($_POST['9']));
		$form_10 = trim (strip_tags ($_POST['10']));
		$form_11 = trim (strip_tags ($_POST['11']));
		$form_12 = trim (strip_tags ($_POST['12']));
		
		$filename_template = "../templates/policy23.php";
		$handle_temlpate = fopen ($filename_template, "r");
		$contents = fread ($handle_temlpate, filesize ($filename_template));
		


		if (!empty ($form_2)) $contents = str_replace ("_________________________", "_________________________<br /><p> </p><p> </p>$form_2", $contents);
		
		
		if (!empty ($form_2)) $contents = str_replace ("safety is that of ,", "safety is that of ,$form_2", $contents);
			
			
		if (!empty ($form_1)) $contents = str_replace ("_________________________", "_________________________<br /><p> </p>$form_1", $contents);
		if (!empty ($form_1)) $contents = str_replace ("safety is that of ", "safety is that of $form_1", $contents);
		
		if (!empty ($form_3)) $contents = str_replace ("person this person is ", "person this person is $form_3 ", $contents);
		
		if (!empty ($form_3)) $contents = str_replace ("equipment should be  reported to ", "equipment should be  reported to $form_3 ", $contents);
		
		if (!empty ($form_4)) $contents = str_replace ("displayed at the Company Office ", "displayed at the Company Office $form_4.", $contents);
		
		
		
		if (!empty ($form_6)) $contents = str_replace ("person who will be identified by ,", "person who will be identified by ,$form_6", $contents);
		
		if (!empty ($form_5)) $contents = str_replace ("person who will be identified by ", "person who will be identified by $form_5", $contents);
		
		if (!empty ($form_7)) $contents = str_replace ("Training  records are kept at The Company office ,", "Training  records are kept at The Company office ,$form_7", $contents);
		
		
		if (!empty ($form_8)) $contents = str_replace ("The first aid box is kept at the Company  offices , questions ", "The first aid box is kept at the Company  offices , questions $form_8.", $contents);
		
		if (!empty ($form_9)) $contents = str_replace ("reporting  these back to the director/s.", "reporting  these back to the director/s.$form_9", $contents);
		
	
		
	if (!empty ($form_10)) $contents = str_replace ("<tag_17>","<tag_17> $form_10"
, $contents);
	
	if (!empty ($form_11)) $contents = str_replace ("<tag_17>","<tag_17> $form_10"
, $contents);
		
		if (!empty ($form_12)) $contents = str_replace ("", "n)	Set a personal example by conforming to the company’s Health & Safety Policy, Procedures and Site Rules. $form_12.", $contents);
		
		if (!empty ($form_16)) {
			$contents = str_replace ("(Free Text)", $form_16, $contents);
		} else {
			$contents = str_replace ("(Free Text)", "", $contents);
		}
 
		fclose ($handle_temlpate);
		
		$charset = 'abcdefghijklmnopqrst0123456789';
		for ($i = 0; $i < 30; $i++) {
			$rnd_filename .= $charset[(mt_rand(0,(strlen($charset)-1)))];
		}
		$rnd_filename .= ".php";

		$filename = "../tmp/$rnd_filename";
		$handle = fopen ($filename, 'w');
		fwrite ($handle, $contents);
		fclose ($handle);
		
	?>
	
	<p><strong>Policies & Procedures - Health and Safety Policy</strong></p>
	<p>Your document is ready for download. To view it, you must have Adobe Acrobat Reader (or similar) installed on your computer.</p>
	<p>The document is ready to print.</p>
	<p style="margin-bottom:20px;"><a href="../tmp/<?php echo ($rnd_filename); ?>" target="_blank">Click here to open the 'Health and Safety Policy' document in a new window.</a></p>
	<form action="savedocumenta.php" method="post">
		<input type="submit" name="submit" value="Save this document" />
		<input type="hidden" name="pdfname" value="<?php echo ($rnd_filename); ?>" />
		<input type="hidden" name="pdftype" value="Health and Safety Policy" />
	</form>
	
	<? } else { ?>
	
    
	<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<table width="599"  border="0" cellpadding="10">
		
  <tr>
    <td width="286" class="style19"><div align="right">Who is responsible for the health and safety of the company?</div></td>
    <td width="4"><span class="style20"></span></td>
    <td width="241"><input name="1" type="text" value="" size="40" /></td>
  </tr>
  <tr>
    <td width="286" class="style19"><div align="right">What is their position?</div></td>
    <td width="4"><span class="style20"></span></td>
    <td width="241"><input name="2" type="text" value="" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Who is responsible for plant and tools maintenance?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="3" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">What is the address where health and safety poster is displayed?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="4" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Who is responsible for under eighteens?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="5" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">What is their position?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="6" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Where are the employee training records kept?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="7" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Where is the First aid boxes kept?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="8" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Who is responsible for investigating absences and work related illnesses?</div></td>
    <td><span class="style20"></span></td>
    <td><input name="9" type="text" size="40" /></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Do you employ construction Managers?</div></td>
    <td><span class="style20"></span></td>
    <td><p>
      <label>
        <input type="radio" name="10" checked="checked" value=""/>   

        Yes</label>
      
      <label>
<input type="radio" name="10" value="" />        
No</label>
      <br />
    </p></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Do you employ site managers?</div></td>
    <td><span class="style20"></span></td>
    <td><p>
        <label>
          <input type="radio" name="11" value="radio" />
          Yes</label>
        
        <label>
          <input type="radio" name="11" value="radio" />
          No</label>
        <br />
      </p></td>
  </tr>
  <tr>
    <td class="style19"><div align="right">Do you employ office manager or managers?</div></td>
    <td><span class="style20"></span></td>
    <td><p>
      <label>
        <input type="radio" name="12" value="radio" />
        Yes</label>
      <label>
        <input type="radio" name="12" value="radio" />
        No</label>
      <br />
    </p></td>
  </tr>
</table>

		<tr>
			<td> </td>
			<td><div align="center"><input type="submit" name="submit" value="Create Document" style="width:160px;margin-top:10px;" /></div></td>
		</tr>
	</table>
	</form>
	
	<?php } ?>
  </div>
</div>

<div class="clear"></div>

<div id="footer">
<center>Copyright 2008 © Nexus Business Support. All Rights Reserved.</center></div>

</body>
</html>


темплейта
Код:
<?php include "../pdml/pdml.php"; ?>

<pdml>
<body>
<br><br><br><br><br><br>
 <br>
    <br>
 <br>
    <br>
    <br>
<font size=12pt face=times>
<b><u><cell width=90% align=center>Health & Safety Policy</cell></u></b>
<br>
    <br>
    <br>
    <br>
    Name of COMPANY FROM MAIN COMPANY  INFORMATION (here on after referred to  as the company)fully recognises the duties placed on it by the Health &  Safety at Work Act 1974 and all other relevant legislation. The Company recognises  that it has a duty to ensure the health, safety and welfare of all employees,  so far as is reasonably practicable. And is committed to ensuring that these  obligations are met and wherever reasonably practicable shall exceed them.<br>
    <br>
    The Company believes that the provision of a  safe working environment and systems will enhance the company’s health and  safety climate. It is therefore considered  that excellent health and safety performance directly contributes to our  commercial success.<br>
    <br>
    The Company recognises the duties it has not only to its  staff, but also to all trainees, those obtaining work experience through school  programmes, visitors, sub-contractors and any others who may be affected by its  activities.<br>
    <br>
    The Company recognises that all employees  must adhere to their duties under the Health & Safety at Work Act 1974 and  therefore ensures that employees do not endanger themselves or others working  with them. Neither must they interfere  with anything that has been provided for healthand safety. This is enforced through regular training and  communication with all affecte by the activities of the company.<br>
    <br>
  - The company is committed to the following  principles:
<br>
<br>
  - That activities and objectives should be set to ensure a continuous improvement in health and    safety. 

  <br>
  <br>

  - That active monitoring, through inspections, audits and safety reviews is an  essential element of    performance improvement.

  <br>
  <br>

  - That appropriate resources, both financial and physical will always be vailable to support this    policy.

  <br>
  <br>

  - That all employees will be provided with sufficient information, instruction, supervision and    training to enable them to work safely and efficiently. 
 <br>
  <br>
The Company undertakes to revise and review  this policy as often as future developments in health & safety legislation  renders appropriate.
 <br>
  <br>
_________________________<br />
   <br />
  <br />
  August 2007 Today’s date
Review date August 2008 one year from todays date


<page>

<b>Organisation of  Health & Safety</b> <br>
  <br>

         <b> 1.Health & Safety Responsibilities</b>
		 <br>
  <br>
Overall and final responsibility for health & safety is that of , . 
   <br>
  <br>
The directors are committed to regular site  inspections and meetings with the supervisors. The company has also appointed  Nexus Business Support Ltd as company Health and safety advisors and they are  committed to regular unannounced site visits.<br>
  <br>
All employees must co-operate with  Supervisors and Managers on all health & safety matters. In their employment with the company they  must not interfere with anything provided in the interests of health and  safety. They must also take reasonable  care for the health and safety of themselves and others who may be working with  or around them. It is the belief of the company  that all employees have extensive knowledge of their trade and the implications  of their actions on others who they may come into contact with. All employees must report all health &  safety concerns to an appropriate senior person this person must then report  these issues to the director responsible for health and safety or the health  and safety advisors for the company<br>
  <br>


     <b>2.Health & Safety Risks arising from Work Activities</b>

<br>
  <br>
All risk assessments will be carried out by a  competent person and all site audits will be carried out by Nexus Business  Support (company advisors) these site audits will be unannounced to  employees. The date, time and location  will only be known to the director or directors of the company.
The findings of these site audits will be  reported verbally to all employees undertaking the job that was being risk  assessed and to the Director/s in written format.<br>
  <br>
The action required to remove or control the  risks which were identified will be approved by the director/s.<br>
  <br>
The individuals named on the site audit as  those whom the action is to be implemented by will be responsible for ensuring that  all action is taken and signed off. That  individual will be determined by Nexus Business Support (company advisors)<br>
  <br>
Periodically Nexus Business Support (company  advisors) will check that the implemented actions have removed / reduced the  risks.<br>
  <br>
The risk assessments will be reviewed every six  months or when the work activity changes, whichever is soonest.<br>
  <br>


     <b>3.Consultation with employees</b>

The company policy is to consult with employees  directly. This is done by Site Foremen,  supervisors, directors and health and safety advisors, at periodic intervals.  Memos and information letters are also sent to employees and sub-contractors on  a periodic basis.<br>
  <br>
Directors, Managers and Supervisors will  encourage employee involvement in Health & Safety matters, either by  discussion through committees where formed, or by discussion with individuals.


  <page>
  
     <b>4.Safe Plant and Equipment</b>
<br>
  <br>
The Health & Safety at Work Act 1974  states that The Company has an obligation to ensure that all plant, tools and  or equipment that require maintenance is identified and this is the  responsibility of a competent appointed person this person is . Any plant obtained on a hire basis will  ensure come complete with full service records or certificates.<br>
  <br>
They will also be responsible for ensuring  effective maintenance procedures are drawn up and followed and will be  responsible for ensuring that all identified maintenance is implemented.<br>
  <br>
Any problems found with equipment should be  reported to . The Equipment will then be clearly  labelled before being taken out of use until the problem has been resolved /  repaired.<br>
  <br>
  He will also be responsible for checking and  ensuring all new equipment is CE stamped and meets all health & safety  standards before it is purchased.<br>
  <br><br>
  <br>



       <b>5.Safe Handling and Use of Substances</b>
 <br><br>
The Director responsible for health and  safety od his appointed competent person must assess the risks from all  substances hazardous to health. This  will de done in the form of COSHH Assessments 
The action required to remove / control the  risk identified by the use of the substance will be the responsibility of the  individual named on the COSHH Assessment.  They will also be responsible for ensuring this happens and is signed  off. That individual will be determined  by the Director responsible for health and safety. <br><br>
The Director responsible for health and  safety will be responsible for ensuring that all relevant employees are  informed of the contents of the COSHH Assessments and its implications for  their health. This will be done verbally  and recorded by the company. <br><br>
The Director responsible for health and  safety or the company advisors will be responsible for checking that all  new substances can be used safely before they are purchased. <br><br>
The COSHH Assessments will be reviewed every  six months or when the work activity changes, whichever is soonest. <br><br>
 <br><br>

      <b>6.Information,Instruction and Supervision</b>
<br><br>

The Health and Safety Law Poster is  displayed at the Company Office <br><br>

The Health & Safety Law poster is also  displayed on each site where the Company is the Principal Contractor or by the  principal contractor where the company is a sub contractor<br><br>

Health and Safety advice is available from Nexus  Business Support Ltd you are based at 26 Kings Hill Avenue, Kings Hill West  Malling Kent ME19 4AE<br><br>

 <page>
 
The  supervision of young persons obtaining work experience through school  programmes and trainees will be arranged and monitored by the director for  health and safety.<br><br> 
  The supervision will be undertaken by a  competent person who will be identified by ,.
Young persons are defined as being under the  age of 18 years. Children are defined as  being under the minimum school leaving age (currently 16 years of age.)<br><br>
Where it is intended to employ young  persons, specific risk assessments for the types of work they will be involved  in must be carried out. The risks and  precautionary measures must be communicated to the young person and to the parents  / guardians in the case of the children.<br><br>
Persons under 18 years of age are prohibited  from operating lifting appliances or giving signals, they are also prohibited  from using certain woodworking machines unless under supervision during  training sessions.<br><br>
Special consideration must be made when a  person under the age of 21 years is to operate certain vehicles or plant on the  public highway; ie the operator must be in possession of a valid Department of  Transport Driving Licence together with an accredited CPCS card.<br><br>
Where the company employees work at  locations under the control of other employers the principal contractor will be  delivering the relevant health and safety information through site Inductions. <br><br><br><br>

      <b>7.Competency for Tasks and Training</b>
<br><br><br><br>
All employees must be given health and safety  induction training when they commence work with the company. This will include the basics such as first  aid and fire safety. This induction  training will be provided for all employees by the Site Foreman/ supervisors for  the site they have been allocated to work at. If they are still on this site  after six months then this induction training will be given again.<br><br>
All inductions are site specific and  therefore it is necessary that they be carried out for each new site that an  employee or sub-contractors begins work on.<br><br>
The Health and Safety at Work Act 1974 also  requires that all employees receive job specific training and this will be  provided by a competent person who will be determined by the company manager  under whose control they have been placed.<br><br>
Specific  jobs requiring special training are determined on an ad hoc basis as and when  required.
Training  records are kept at The Company office ,.<br><br>
Training  will be identified, arranged and monitored by Nexus Business Support the  company training advsors. Training will  only be undertaken by competent individuals <br><br>



 <page>


  <br><br>
        <b>8.Accidents,First Aid and Work – Related Ill Health</b>
<br><br>
Employees must receive specialist health  surveillance for certain work. However  there has been no such work identified for the company .<br><br>
The first aid box is kept at the Company  offices , questions  There are also first aid packs on each site  where The Company are the Principal Contractor.<br><br>
When operating as the Principal Contractor  arrangements must be made to ensure an adequate supply of First Aid equipment  is available. The type and content of  first aid provisions will be dependent on the site assessment.<br><br>
A fully trained first aider or appointed  person will be appointed dependent on the assessed risk. Signs will be displayed on the site  indicating the location of the First Aid Equipment and also the First Aider  responsible.<br><br>
The director responsible for health and safety  is responsible for reporting accidents, diseases and dangerous occurrences to  the enforcing authority, in this case the Health and Safety Executive. Site Foremen are responsible for identifying  accidents, diseases, dangerous occurrences and near misses to the appropriate  director, who in turn will notify Nexus Business Support Ltd Health & Safety Advisor for The Company .<br><br>
All accidents must be investigated within 72  hours. Wherever possible this  investigation will be completed by Nexus. When this is not possible they will  delegate to another individual who will provide a full investigation. <br><br><br><br>

      <b>9.Monitoring</b> 
<br><br>
The Company recognises that unannounced spot  checks, inspections, audits and safety reviews are an essential element of performance  improvement and Nexus Business Supportis  responsible for said inspections and checks.  This ensures that safe working practices are being followed.<br><br>
Nexus Business Support, who act as Health  & Safety Advisors for The Company is  responsible for investigating accidents, recording the findings and reporting  these back to the director/s.<br><br>
 is responsible for  investigating work-related ill causes of sickness absence and recording his  findings.<br><br>
All employees and sub-contractors are  responsible for acting on investigation findings to prevent a recurrence.<br><br>






 <page>

       <b>10.Emergency Procedures – Fire and Evacuation</b>
<br><br>
The Principal  Contractor will carry out a Fire Assessment for the project and produce a plan  for all necessary arrangements, which will include adequate fire fighting  equipment, alarms, detection, supervision and all necessary controls.<br><br>

All equipment  supplied will be routinely inspected and maintained. The site foreman will ensure that the  equipment is installed in the agreed positions immediately once the site is in  operation.
Where a contractor  is involved in “Hot Working” it will be their responsibility to provide  specific fire fighting equipment within their area. <br><br>

All hot works will  be carried out with a Permit to Work authorised by Senior Site Management.
<br><br>

    <b>11.Alcohol and Drugs Policy</b>

<br><br>

All persons employed by the company either  directly or as a sub-contractor will be subject to the following rules  concerning the use / misuse of alcohol and drugs.<br><br>

No employee will report for work whilst under  the influence of either alcohol or drugs.  In the case of alcohol the term “influence” is defined as that laid down  by statutory or contract requirements, or as decreed by the employers  supervisor.<br><br>

No employee shall consume alcohol on or off  the premises during working hours, and if found in breach of this will be  subjected to disciplinary action.<br><br>

The use of drugs by an employee will only be  permitted if they are prescribed or instructed by a medical practitioner, and  in the opinion of that specialist, will not impair the performance of the  employee.<br><br>

The use of illegal substances at any time is  not permitted and any person contravening this will be subject to disciplinary  action.<br><br>

Any person previously dismissed or suspended  for contravening the above terms will be required to provide medical  confirmation of their state of health prior to being considered for  re-employment.
Any employee involved in safety critical  activities for a Client will be required to satisfy that Clients policies in  relation to alcohol and drug screening which includes random screening and  their disciplinary procedures.<br><br>

Any person found or suspected of being under  the influence of alcohol or drugs at work will be required to immediately  vacate the site or premises controlled by the company.<br />
<br><br>
<br><br>
<br><br>


<page><br><br>
<br><br>

  <b>Organisation and Responsibilities</b>
<br><br>
<br><br>

  
   <b>2.1 Director  in charge of Health & Safety (Managing Director)</b>
  


<br><br>
<br><br>

     a)Approve  a Health & Safety Policy for the company. Review and amend the policy where       applicable on an annual basis or as may be necessary in light of current or  future developments.

<br><br>

    b)Appoint  one or more competent person(s) to assist in undertaking the measures needed to  comply  with Health & Safety statutory provisions.

 
<br><br>

   c)Set  out the arrangements for Health & Safety within the company including the  planning, organisation, control, monitoring and review of the preventative and  protective measures needed.

<br><br>

   d)Delegate,  where appropriate, aspects of control and implementation of the Health &  Safety Policy to other directors and or senior staff.-

 <br><br>


   e)Agree  with such directors and or senior staff clear limits to the extent of their  authority and responsibility for Health & Safety-

<br><br>

   f)Ensure  that reports on Health & Safety performance are included in the agenda for  all board meetings.-

 <br><br>


   g)Ensure  that adequate allowances are made for Health, Safety and Welfare arrangements  when budgets are being prepared.-

<br><br>

   h)Ensure  that adequate allowances are made for all grades of staff to receive necessary  and appropriate training to discharge their responsibilities.
 <br><br>


   i)Ensure  that statutory records are maintained of all examinations, tests, inspections,  accidents and incidents as required by Regulations.

<br><br>

   j)Have  available adequate resources and systems in order to ensure that the company  operations are planned, co-ordinated, managed and executed in such a manner as  to conform fully to all Statutory Health & Safety Legislation.
  <br><br>


 

   k)Promote  a pro-active approach to the management and awareness of Health & Safety  throughout the company by ensuring effective communication, training and setting  of standards to be achieved.

<br><br>

   l)Ensure  that Health & Safety reports are produced as required by the company’s  policy and procedures and that the information, including safety performances, is  monitored with remedial action agreed.
  <br><br>


 

   m)Together  with Health & Safety Advisors, review and recommend policy amendments in  line with changes in legislation and or company procedure.
<br><br>


   n)Set  a personal example in conforming to the company’s Health & Safety Policies,  Procedures and Site Rules.
<br><br>
<br><br>

 
 
 
<page>
<br><br>
<br><br>

 <br><br>

  <b> 2.2Construction Senior Managers, Foremen and supervisors</b>
<br><br>
a)	Administer the Health & Safety Policy and arrangements within the limits agreed with the Director in charge of Health & Safety.
<br><br>
b)	Take the lead in discharging the duties of the “Principal Contractor” under the Construction (Design & Management) Regulations 1994 on behalf of the company.
<br><br>
c)	Ensure that adequate attention is given to Health & Safety issues at the planning stage of the contract, taking into account any special hazards or problems involved, when assisting in the production of the Health & Safety Plan.
<br><br>
d)	Ensure that the Health & Safety Plan is adequately developed prior to the commencement of the construction phase.
<br><br>
e)	Ensure that relevant information from the Pre-Tender Health & Safety Plan is given to contractors, particularly where this could influence their working methods.
<br><br>
f)	Ensure that adequate allowance is made in site establishment costs for all necessary Health, Safety and Welfare equipment and facilities.
<br><br>
g)	Ensure that procedures are established and are understood to enable statutory notifications to be made within the permitted time scales, particularly form F2508, report of Accidents or Dangerous Occurrences.
<br><br>
h)	Determine when risk assessments and method statements are required and ensure they are prepared and are approved prior to work commencing.
<br><br>
i)	Establish appropriate arrangements to ensure the competence, co-ordination and co-operation of contractor.
<br><br>
j)	Ensure that adequate and appropriate training is provided for all site staff and operatives under their control.
<br><br>
k)	Initiate a system for implementing advice given during regular site inspections carried out by the company’s Health & Safety Advisors.
<br><br>
l)	Monitor the Health & Safety performance of sites and contractors in consultation with the company’s Health & Safety Advisors.
<br><br>
m)	Make reasonable enquiries in order to determine the competence and commitment of the contractors to Health & Safety prior to appointing them.
<br><br>
n)	Set a personal example by conforming to the company’s Health & Safety Policy, Procedures and Site Rules.


 <br><br><br><br>
 
 
 
<page>

  <br><br>
<br><br>
<br><br>

    <b>2.3	Site Managers if theanswer to question 9 is yes drop this section in</b>
<br><br>
a)	Understand the company’s Health & Safety Policy and ensure that it is then implemented by all of the operatives under their control.
<br><br>
b)	Pre-plan operations in conjunction with Senior Managers and Contractors to co-ordinate Health & Safety controls for the benefit of all people on site, taking into account any special hazards and information contained within the Health & Safety Plan.
<br><br>
c)	Assist in the development of the Health & Safety Plan.
<br><br>
d)	Be aware of and understand the legal requirements relating to operations under their control and ensure that they are fully and correctly implemented in accordance with the appropriate risk assessments and or method statements.
<br><br>
e)	Ensure that statutory inspections of scaffolding, excavations, lifting appliances, work equipment, etc. are carried out and that records are maintained in the appropriate site registers.
<br><br>
f)	Ensure that adequate first aid stocks are maintained and that a trained first aider or appointed person is available on site.
<br><br>
g)	Record and report all accidents, diseases and dangerous occurrences in accordance with both company and legal requirements.
<br><br>
h)	Ensure that the site welfare arrangements are adequate for the number of persons on site, properly maintained and kept in a clean condition.
<br><br>
i)	Ensure that plant and equipment supplied to the site whether owned by the company, a contractor, or hired to either is safe condition and is accompanied by all appropriate certificates of test, inspection and examination.
<br><br>
j)	Ensure that persons operating mobile plant, power tools and similar equipment are suitable trained and certified to do so.
<br><br>
k)	Ensure that persons who are new to the company and or to the site are given appropriate induction training.
<br><br>
l)	Set a personal example by conforming to the company’s Health & Safety Policies and Procedures.
<br><br>
m)	Co-operate with visiting Health & Safety Advisors to achieve compliance with the company’s Health & Safety policy, procedures and legal duties.
<br><br>
n)	Ensure that all practicable precautions are taken to remove hazards or reduce risks to members of the public.
<br><br>
o)	Ensure that adequate stocks are maintained of Health & Safety equipment, including personal protective equipment and training is given its proper use.


	
  <br><br>
<br><br>


 


 
<page>
<br><br>
<br><br>
<br><br>

  
  <b>2.4Trade Foremen</b>
  
<br><br>
<br><br>




   a)Be  aware of and understand the legal requirements relating to operations under  their control and ensure that they are fully and correctly implemented in  accordance with the appropriate risk assessments and or method statements.

<br><br>

   b)Ensure  that clear instruction and close supervision is given to employees, in  particular to young persons.

 <br><br>


   c)Report  any defects in plant, tools, equipment and means of access/egress to the site  manager.
<br><br>


   d)Set  a personal example in behaviour and the use of personal protective  equipment. Insist that safe working  procedures are adopted and conform to all site rules.

 <br><br>


   f)Ensure  that all operatives make full and proper use of the personal protective  equipment provided.
<br><br>
<br><br>


  
 <b>2.5Tradesmen / Operatives</b>
  
<br><br>
<br><br>


All tradesmen and site operatives are  responsible for:
<br><br>

  a)Using  the correct tools and equipment for the job.  Keeping the tools in good condition and properly maintained, reporting  defects in any tool or piece of equipment.

 <br><br>


  b)Wearing  or using correctly personal protective equipment such as hard hats, steel toe  capped boots, gloves, hearing protection etc.  Keeping this equipment clean and reporting any defects or damage.
<br><br>


  c)Carrying  out tasks in accordance with instructions included in any risk assessments or  method statements.

 <br><br>


  d)Using  only proper means of access and egress.

<br><br>

  e)Not  interfering with or misusing ladders, scaffold or any other equipment provided  for Health & Safety.

 
<br><br>

  f)Developing  a personal concern for their own health & safety and that of others.

<br><br>
  g)Refraining  from “horseplay”.

 
<br><br>

  h)Keeping  the mess room and welfare facilities clean and tidy.
<br><br>


  i)Attending  Health & Safety talks, presentations and training that may be given.

 <br><br>


  j)Conforming  to the site’s Health & Safety rules.
<br><br>
<br><br>
<br><br>

 
 
 
 
 
<page>
<br><br>
<br><br>
<br><br>

  
    <li><strong><u>Sub-Contractors</u></strong>
  


  <li>To  carry out their work efficiently and safely in accordance with the Health &  Safety at Work Etc., Act 1974 and all other statutory requirements and Approved  Codes of Practice. To produce safety  procedures for their operations.

 

  <li>Carry  out risk assessments for the work that they will be engaged in, outlining the  hazards associated with the works and detailing the safety provisions.


  <li>Produce  and submit method statements.

 

  <li>Provide  full COSHH Assessments for any hazardous materials.


  <li>Appoint  a Safety Supervisor who will ensure that the works are carried out in  accordance with the method statement provided and encourage safe methods of  work.

 

  <li>To  set up and maintain an efficient and adequate system of first aid and welfare  facilities for their employees unless shared facilities are provided by others.


  <li>To  maintain good, safe working relationships with The Company employees, clients,  planning supervisors and fellow sub-contractors. To ensure that their actions do not result in  hazardous conditions for other persons who may be working in the same area.

 

  <li>To  co-operate with The Company management, Health & Safety Advisor and  Client’s personal in the furtherance of their duties. To maintain a good working relationship with  safety representatives and safety committees established in accordance with  current legislation.


  <li>To  ensure that work is carried out by suitable and competent operatives and to  ensure that they are properly supervised and trained.

 

  <li>The  Company require all employees of Sub-Contractors to receive a safety induction  before they commence work.


  <li>To  reprimand and discipline any of their employees who are careless in regard to  their own and others safety. (Note: The Company will not hesitate to instruct  the removal of offenders).

 

  <li>To  provide appropriate personal protective equipment and to ensure that their  employees use both clothing and equipment when required.


  <li>To  complete all statutory registers and forms.

 

  <li>To  report all hazards to management and to report all accidents to The Company.

 
 
 
 
 
 
<page>

  
    <li><strong><u>Office Managers IF  THE ANSWER TO QUESTION </u></strong>
  


  <li>Understand  the company’s Health & Safety Policy and the legal requirements relating to  tasks and operations under their control.

 

  <li>Ensure  that the policies are correctly implemented by all departmental managers and  also by staff that are under their control. Take and develop any additional advice that  may be necessary.


  <li>Ensure  that first aid stocks are properly maintained and that a trained first aider or  appointed person is available on the premises.

 

  <li>Record  and report all accidents and dangerous occurrences.


  <li>Ensure  that the welfare and sanitary arrangements are adequate, properly maintained  and are kept in a clean condition.

 

  <li>Ensure  that Health & Safety induction training is given to new employees and that  all staff receives appropriate health, safety and fire training.


  <li>Appoint  sufficient fire marshalls to supervise escape from the premises and to ensure  that fire escape drills are practised at regular intervals.

 

  <li>Ensure  that the fire alarms, smoke detectors, fire extinguishers, and similar  equipment is subjected to regular tests and that accurate records are kept.


  <li>Ensure  that offices are adequately ventilated, heated and lit.

 

  <li>Co-operate  with the company’s Health & Safety Advisor to achieve compliance with the  Health & Safety policy and procedures.

 

  
    <li><strong><u>Office Staff</u></strong>
  

<strong><u></u></strong>
Office based staff are responsible to their  line manager and or the office manager for:

  <li>Develop  a concern for their Health & Safety and that of others working with them.

 

  <li>Carrying  out tasks in accordance with instructions; avoiding improvisation or misuse of  equipment that may entail unnecessary risks.  Taking special care when working with electrical equipment – seeking  specialist advice should it fail or not work properly.


  <li>Using  only proper means of access and egress.

 

  <li>Refrain  from “horseplay”.


  <li>Keeping  the sanitary and welfare facilities clean and tidy.

 

  <li>Suggesting  ways of improving safety conditions either individually or as part of a safety  committee; co-operate with the company’s Health & Safety Advisors on all  matters relating to Health & Safety.

<page>

  <li>Attending  Health & Safety talks, presentations and training sessions that may be  given.

 

  
    <li><strong><u>Health & Safety Advisors</u></strong>
  


  <li>Provide  advice and guidance on Health & Safety Policy matters to the Directors,  Managers, and workforce and liaise with Clients and suppliers etc.

 

  <li>Assist  in keeping up to date all relevant statutory provisions, Codes of Practices and  guidance materials, assist in formation of appropriate internal guidance and  documentation.


  <li>Assist  in setting internal Health & Safety standards or targets whilst monitoring  compliance.

 

  <li>Assist  in the production and implementation of risk assessments and method statements.


  <li>Undertake  periodic inspections of sites and offices controlled by the company and report  on hazards, precautions and compliance with statutory requirements and also  company policies and procedures.

 

  <li>Produce  reports on performance, including details of significant accidents.


  <li>Liaise  when required to do so with the Health & Safety Executive and any other  appropriate enforcement or advisory bodies.

 

  <li>Assist  with Health & Safety training by identifying suitable training providers  and conducting suitable training courses.


  <li>Provide  advice on the specification of personal protective equipment where its use is  necessary.

 

  <li>Attend  meetings when requested to do so to advise managers on the planning and  co-ordination relative to the Health & Safety Plan.<br />
  
  <li>Attend  safety review meetings when requested to do so to advise on all matters  relating to Health & Safety.


  <li>Arrange,  participate or carry out accident investigations on behalf, producing reports,  complete statutory notifications, recommending actions and advising on  improvements to existing systems.

 

  <li>Set  a personal example when working on site by conforming to all site Health &  Safety rules and instructions.

 
 
 
 
 
 
 
<page>

  
    <li><strong><u>Health and Safety  Advisors Visiting Sites</u></strong>
  

 

  <li>Undertake  periodic inspections of sites and offices controlled by the company and report  on hazards, precautions and compliance with statutory requirements and also  company policies and procedures.


  <li>Arrange,  participate or carry out accident investigations on behalf of the company.

 

  <li>Provide  advice on the specification of personal protective equipment where its use is  necessary.


  <li>Produce  reports on performance, including details of significant accidents.

 

  <li>Attend  safety review meetings when requested to do so to advise on all matters  relating to Health & Safety.


  <li>Set  a personal example when working on site by conforming to all site Health &  Safety rules and instructions.

 

  <li>Assist  management in producing a Health & Safety Policy for the company.

 </font>
</body>
</pdml>
 

Back
Горе