
<!doctype html>
<html class="no-js" lang="">

<head>
<?php error_reporting(0); ?>
    <!-- meta -->
    <meta charset="utf-8">
    <meta name="description" content="Flat, Clean, Responsive, application admin template built with bootstrap 3">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
    <!-- /meta -->

    <title>Carbon Blue</title>

    <!-- page level plugin styles -->
    <link rel="stylesheet" href="plugins/responsive-tables/theme.css">
    <!-- /page level plugin styles -->

    <!-- core styles -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.css">
    <link rel="stylesheet" href="css/themify-icons.css">
    <link rel="stylesheet" href="css/animate.min.css">
    <!-- /core styles -->

    <!-- template styles -->
    <link rel="stylesheet" href="css/skins/palette.css">
    <link rel="stylesheet" href="css/fonts/font.css">
    <link rel="stylesheet" href="css/main.css">
    <!-- template styles -->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- load modernizer -->
    <script src="plugins/modernizr.js"></script>
	

	<link rel="stylesheet" href="awesomplete-gh-pages/awesomplete.css" />
<script src="awesomplete-gh-pages/awesomplete.js" async></script>
	
	<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
  <script src="//code.jquery.com/jquery-1.10.2.js"></script>
  <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
	
	<link rel="stylesheet" type="text/css" media="all" href="date/jsDatePick_ltr.min.css" />
	<script type="text/javascript" src="date/jsDatePick.min.1.3.js"></script>
	 
	 
		<?php
		 
		
		
	$cookie_name = "user_con";
	
if(!isset($_COOKIE[$cookie_name])) {
   // echo "Cookie named '" . $cookie_name . "' is not set!";
	header('Location: sign-in.php');
	exit;
} else {
    //echo "Cookie '" . $cookie_name . "' is set!<br>";
    //echo "Value is: " . $_COOKIE[$cookie_name];
}
?>

  
							   <?php
									
										 $_con_id =  $_COOKIE[$cookie_name];
									
									$con = mysql_connect('localhost', 'root', 'Boom95z') or die(mysql_error());
									mysql_select_db('orion9', $con);
								
									$result = mysql_query("select company_name from contractors where con_id=" . $_con_id);
									while($row = mysql_fetch_array($result))
									{    
										$company_name = $row['company_name']; 
									}
									
									
									
				$filterbox = $_POST['filterbox'];
			 
				$qryAdd = " 1=1 ";
				
				if ($filterbox != "")
				{
					$qryAdd = " UPPER(text) like '%" . strtoupper($filterbox) . "%'";
				}
				 
				
				//$result1 = mysql_query("SELECT a.*,b.PID from records a, process b where a.status='COMPLETE' and  a.RID = b.RID and b.stage='LEAD'");
				 $result1 = mysql_query("select a.stage, a.pid,
					(select text from content_val g where a.pid=g.pid and g.fid=74) as 'Project Name',
					(select g1.representative from content_val g, internal_people g1 where a.pid=g.pid and g1.int_id = g.text and g.fid=84) as 'Project Manager',	
					(select text from content_val g where  a.pid=g.pid and g.fid=78) as 'Organisation'
						from process a
						where a.discard is null and
(exists (select 1 from content_val mm where  a.pid=mm.pid and mm.text in ('PRE-INSTALL','INSTALLATION','POST-INSTALL') and mm.fid=176)) and						
						((exists (select 1 from content_val b where a.pid=b.pid and b.fid=193 and text='" . $_con_id . "'))
						or (exists (select 1 from content_val b where a.pid=b.pid and b.fid=55 and text='" . $_con_id . "'))) 
						and 
((exists (select 1 from content_val h where " . $qryAdd . " and h.pid=a.pid and h.fid=78))
or (exists (select 1 from content_val i where " . $qryAdd . " and i.pid=a.pid and i.fid=74)))"
				 );
									
									
									
									
									$n = $_GET['n'];
				 $v = $_GET['v'];
				 $inpid = $_GET['inpid'];
				 $showFile = $_GET['showFile'];	
									
									
									
									$showThis = false; 
				if ($v == '1')
				{
					$showThis = true; 
				}	
				 
				 
									?>
							   
 
</head>

<!-- body -->

<body>

 							  
    <div class="app">
        <!-- top header -->
        
 
 
  

<header class="header header-fixed navbar" style="background-color:#59b2ff;">

            <div class="brand" style="background-color:#ccc;"><center>
                <!-- toggle offscreen menu -->
          
                <a href="home.php?x=ocNvi07amIHwp7J6Zfr3fIvqLNE4h0UFdHbvHiF31nAqujxtzZxPI2ftQUx7VrN89YEQhkUiHvJbOhFogceYftr5oZckrZsAY6rf" class="navbar-brand">
                    <img src="unnamed.png"  alt="">
                     
                </a> </center>
            </div>

            <ul class="nav navbar-nav">
                <li class="hidden-xs"> 
                     
                </li> 
            </ul> 
            <ul class="nav navbar-nav navbar-right"> 
                <li class="off-right">
                    <a href="javascript:;" data-toggle="dropdown">
                        
                         <span class="hidden-xs ml10" style='font-family:calibri;'><?php echo $company_name;?></span>
                        <i class="ti-angle-down ti-caret hidden-xs"></i>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight">
                     
                        <li>
                            
							 <a href="log_con_out.php" onclick="">Logout</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </header>
        <!-- /top header -->

        <section class="layout">
            <!-- sidebar menu -->
           <aside style='display:none;' class="sidebar offscreen-left" style="border-right:solid 1px #ccc;">
                <!-- main navigation -->
                <nav class="main-navigation" data-height="auto" data-size="6px" data-distance="0" data-rail-visible="true" data-wheel-step="10">
                    <br/>
                    <ul class="nav">
                        <!-- dashboard -->
                        <li style="background-color:#008362; font-family:calibri;  color:white; border-bottom:solid 1px white;">
                            <a href="home.php" onclick="checkChangesSideBar('home.php','ocNvi07amIHwp7J6Zfr3fIvqLNE4h0UFdHbvHiF31nAqujxtzZxPI2ftQUx7VrN89YEQhkUiHvJbOhFogceYftr5oZckrZsAY6rf')">
                              
                                <span style="color:white;"><i class="fa fa-rocket" style='font-size:15px;' aria-hidden="true"></i> PROJECTS</span>
                            </a>
                        </li>  
						   <li style="background-color:#438dcc;  font-family:calibri;  color:white; border-bottom:solid 1px white;">
                             <a href="contacts.php" >
                              
                                <span style="color:white;"><i class="fa fa-user" style='font-size:15px;' aria-hidden="true"></i> CONTACTS</span>
                            </a>
							<ul class="sub-menu" style="display: block;">
                                <li class="active">
                                    
									<a href="internal-contacts.php">
                                        <span>Internal Contacts</span>
                                    </a>
									<a href="contacts.php">
                                        <span>External Contacts</span>
                                    </a>
                                </li>
                             
                            </ul>
                        </li> 
						 <li style="background-color:#438dcc; font-family:calibri;   color:white; border-bottom:solid 1px white;">
                            <?php

if (date('D') == 'Sun')
	$lastSunday = date('d-m-Y');
else
	$lastSunday = date('d-m-Y', strtotime('last Sunday'));

?>



							<a href="timesheet.php?periodA=<?php echo $lastSunday; ?>">
                              
                                <span style="color:white;"><i class="fa fa-clock-o" style='font-size:15px;' aria-hidden="true"></i> TIMESHEETS</span>
                            </a>
                        </li> 
						 
						 <li style="background-color:#438dcc;   font-family:calibri;  color:white; border-bottom:solid 1px white;">
                           <a href="report-module.php">
                              
                                <span style="color:white;"><i class="fa fa-table" style='font-size:15px;' aria-hidden="true"></i> REPORTS</span>
                            </a>
                        </li>
                        <!-- /dashboard -->
     
                    </ul> 
                </nav>
            </aside>
            <!-- /sidebar menu -->

            <!-- main content -->
            <section class="main-content">

                <!-- content wrapper -->
                <div class="content-wrap">

								
				<br/>
				<br/><br/><br/><br/>
				
				
				
				 
				
				
                    <!-- inner content wrapper -->
                    <div class="wrapper">
					
					                        <section class="panel">
                            <!--<header class="panel-heading" style="background-color:#15acdc; color:white;">Home</header>-->
                            <div class="panel-body" style='padding:0px;'>
							
							 
							   
							   
							 
							   
							   
							   
							   <!-- search -->
							   
							   	<div id="searchNow1" style="background-color:white; border: solid 1px #e8e8e8;;">
							 	<div id="ggg" style="background-color:white;  padding:20px; padding-top:3px; ">
							<form class="form-inline" id="searchNow" name="searchNow" action="home.php?x=ocNvi07amIHwp7J6Zfr3fIvqLNE4h0UFdHbvHiF31nAqujxtzZxPI2ftQUx7VrN89YEQhkUiHvJbOhFogceYftr5oZckrZsAY6rf" method="POST">
										
									
								<div style='height:10px;'></div>
									 
									  
		 
		<!--<div style='background-color:#ccc; font-family:calibri;padding:2px;color:white;'><center>PROJECT DETAILS</center></div>-->
					
					
<div id="sResults" class="table-responsive" style='display:<?php if ($showThis) echo 'none';?>;'>
								
						 
								
								
								<!--<small><a href="project-view.php?pid=<?php echo $pid;?>"><i class="fa fa-caret-left" aria-hidden="true"></i> back to <i>project view</i></a></small>
								-->
								
								<div align='right'>
								<a href="contractor-home.php" class="btn btn-info" style='background-color:#ccc; border:solid 1px #ccc;'>Requests and Tasks</a>
								<a href="contractor-projects.php" class="btn btn-info" style='background-color:#59b2ff; border:solid 1px #59b2ff;'>My Projects</a>
								 <a href="contractor-documents.php" class="btn btn-info" style='background-color:#ccc; border:solid 1px #ccc;'>My Documents</a>
								<a href="contractor-details.php" class="btn btn-info" style='background-color:#ccc; border:solid 1px #ccc;'>My Details</a>

<a href="contractor-managed-projects.php" class="btn btn-info" style='background-color:#ccc; border:solid 1px #ccc;'>Projects I'm Managing</a>
								</div>
								
								<div style='height:3px;'></div>
								<div class="row" id='b1'>
									<div class="col-md-6">
										<br><span style="font-size:25px; font-family:calibri;"><u><?php echo $totalResults;?></u> My Projects</span>
									</div>
									<div class="col-md-6">
									 </div>
								</div>
								
								<script>
								function saveStatus(req_id)
								{
									var val = document.getElementById('mas_' + req_id).value;
									
									
									var xmlhttpv = new XMLHttpRequest();
									xmlhttpv.onreadystatechange = function() {
										if (xmlhttpv.readyState == 4 && xmlhttpv.status == 200) {
											//document.getElementById("lPerson").innerHTML = xmlhttp.responseText;
											var response = xmlhttpv.responseText; 
											alert(response);
										}
									};
									xmlhttpv.open("GET", "saveStatus.php?req_id=" + req_id + "&val=" + val, true);
									xmlhttpv.send();
									
								}
								
								</script>
								
								<br>
                                    <table class="table table-bordered table-striped" style="font-size:15px; font-family:calibri;" id='b2'>
                                        <thead>
                                            <tr>
												<!--<th>PID</th>-->
												<th>Stage</th> 
                                                <th>Project Name</th> 
                                                <th>Organisation</th>  
												<th>Project Manager</th> 
												<th></th>
                                            </tr>
                                        </thead> 
                                        <tbody> 
									
										 <?php
											while($row = mysql_fetch_array($result1))
											{	  
												$pidAA = $row['pid'];
												$stage = $row['stage'];
                                                $pn = $row['Project Name'];
												$pm = $row['Project Manager'];
												$org = $row['Organisation'];  
                                                 
												echo "<tr>";
												echo "<td>";
												echo $stage;
												echo "</td>";
												echo "<td>";
												echo $pn;
												echo "</td>";
												echo "<td>";
												echo $org;
												echo "</td>";
												echo "<td>";
												echo $pm;
												echo "</td>"; 
												echo "<td>";
												echo "<a class='btn btn-info' style='width:100%;' href='contractor-projects.php?n=1&x=" . $x . "&v=1&inpid=" . $pidAA . "'>VIEW</a>";
												echo "</td>"; 
												echo "</tr>";
											}	
																		 
											  
										?>
										
                                        </tbody>
                                    </table>
                                </div>

			 					<!-- ......................... -->
	 
	 <div  class="table-responsive" id="dDetails" style="display:<?php if (!$showThis) echo 'none';?>;">
								
								<a href="contractor-projects.php"><small>< Back to Projects</small></a>
								<br/><br/>
								
								<?php
								
								
								$result2 = mysql_query("select stage from process where pid=" . $inpid);
								
								$thisSt = "";
					 while($row = mysql_fetch_array($result2))
											{	  
												$thisSt = $row['stage'];
												
											}
								$sFid = "";

									if (strtoupper($thisSt) == "PROJECT")
										$sFid = "176";
									
									if (strtoupper($thisSt) == "OPPORTUNITY")
										$sFid = "174";
									
									if (strtoupper($thisSt) == "LEAD")
										$sFid = "173";
									$thisStat = "";		
									$result2 = mysql_query("select text from content_val where pid=" . $inpid . " and fid=" . $sFid);		
											 while($row = mysql_fetch_array($result2))
											{	  
												$thisStat = $row['text'];
												
											}
								
									 $result2 = mysql_query("select a.*, c.label, b.fid, b.text from process a, content_val b, content c where a.pid = b.pid and b.fid=c.fid and a.pid=" . $inpid . " and b.fid in (78,74,84,62,53,45,79,64,72,65,67,68,71,70,63,69) order by a.stage, form, orderof asc");
		 
		 $result2b = mysql_query("select a.*, c.label, b.fid, b.text, d.company_name from process a, content_val b, content c, general_people d where d.gp_id = b.text and a.pid = b.pid and b.fid=c.fid and a.pid=" . $inpid . " and b.fid in (251) order by a.stage, form, orderof asc");
		 
								
					$result3 = 	mysql_query("select representative,email,mobile from internal_people where int_id=" . 
					"(select g.TEXT from content_val g, internal_people g1 where g.pid = " . $inpid . " and g1.int_id = g.text and g.fid=84)"	
					);
					
					
					$result4 = 	mysql_query("select a.docu_id,a.doc_title, DATE_FORMAT(a.date_uploaded,'%d-%m-%Y') as 'datef',a.uploaded_by, b.representative from 
					project_documents a, internal_people b where a.uploaded_by = b.int_id and a.pid=" . 	$inpid
					);
				 
				  			?>
								
								<div class='row'>
							      <div class='col-md-6'>
                                    <table class="table table-bordered table-striped" style="font-size:12px;">
                                       <tr><th style='background-color:#59b2ff;color:white;' colspan='2'>PROJECT DETAILS</th></tr>
									  
                                        <tbody>
                                            
											 
											<tr><td width='280px'><b>Stage</b></td>
												<td><?php echo $thisSt;?></td></tr>
												
												<tr><td width='280px'><b>Status</b></td>
												<td><?php echo $thisStat;?></td></tr>

											<?php
											 
											 
											 while($row = mysql_fetch_array($result2))
											{	  
												$lbl = $row['label'];
												$vl = $row['text']; 
                                                 
												echo "<tr>";
												echo "<td width='280px'><b>";
												echo $lbl;
												echo "</b></td>";
												echo "<td>";
												echo $vl;
												echo "</td>";
												echo "</tr>";
											}	
												 
											 while($row = mysql_fetch_array($result2b))
											{	  
												$lbl = $row['label'];
												$vl = $row['company_name']; 
                                                 
												echo "<tr>";
												echo "<td width='280px'><b>";
												echo $lbl;
												echo "</b></td>";
												echo "<td>";
												echo $vl;
												echo "</td>";
												echo "</tr>";
											}		

 while($row = mysql_fetch_array($result3))
											{	  
												$email = $row['email'];
												$pm = $row['representative']; 
												$mobile = $row['mobile']; 
                                                 
												echo "<tr><td width='280px'><b>Project Manager</b></td><td>" . $pm . "</td></tr>";
												echo "<tr><td width='280px'><b>Email</b></td><td>" . $email . "</td></tr>";
												echo "<tr><td width='280px'><b>Mobile</b></td><td>" . $mobile . "</td></tr>";
											}							 
											 											
											 
											 ?>
											 
											 
											 
                                        </tbody>
                                    </table>
                                </div> 
								
								<div class='col-md-6'>
								  <table class="table table-bordered table-striped" style="font-size:12px;">
								    <tr><th style='background-color:#59b2ff;color:white;' >PROJECT ATTACHMENTS</th>
									<th style='background-color:#59b2ff;color:white;' >DATE UPLOADED</th>
									<th style='background-color:#59b2ff;color:white;' >UPLOADED BY</th>
									</tr>
								   <?php
								   while($row = mysql_fetch_array($result4))
											{	  
												$docu_id = $row['docu_id'];
												$doc_title = $row['doc_title']; 
												$date_uploaded = $row['datef'];
												$representative = $row['representative'];
                                                 
												echo "<tr>";
												echo "<td width='280px'><b>";
												echo "<a href='http://69.64.46.61/orion9/project_docs/" . $doc_title . "' target='blank'>" . $doc_title  . "</a>";
												echo "</b></td>";
												echo "<td>";
												echo $date_uploaded;
												echo "</td>";
												echo "<td>";
												echo $representative;
												echo "</td>";
												echo "</tr>";
											}	
											
											
									?>		
								  </table>
								</div>
								
								</div>
								
								
								<?php
								$result206 = mysql_query("select * from evidence_status where pid =" . $inpid);
 
										$pre_1_fob = "";
										$pre_2_olis = "";
										$pre_3_ec  = "";
										$pre_4_ac = "";
										$pre_5_ebum = "";
										$pre_6_ldu = "";
										$pre_7_swmsp = "";
										$pre_picc = "";
										$post_ccew = "";
										$post_prercps = "";
										$post_posrcps = "";
										$post_ids = "";
										$post_ti = "";
										$post_llm = "";
										$post_rc = "";
										$post_lqs = "";
										$post_og = "";
										$post_ob = "";
										$post_nlis = "";
										$post_nlmn = "";
										$post_nldn = "";
										$post_nlc = "";
										$post_recy = "";
										$post_picc  = "";
										//--
										$pre_1_fob_comm  = "";
										$pre_2_olis_comm  = "";
										$pre_3_ec_comm  = "";
										$pre_4_ac_comm  = "";
										$pre_5_ebum_comm  = "";
										$pre_6_ldu_comm  = "";
										$pre_7_swmsp_comm  = "";
										$pre_picc_comm  = "";
										$post_ccew_comm  = "";
										$post_prercps_comm  = "";
										$post_posrcps_comm  = "";
										$post_ids_comm  = "";
										$post_ti_comm  = "";
										$post_llm_comm  = "";
										$post_rc_comm  = "";
										$post_lqs_comm  = "";
										$post_og_comm  = "";
										$post_ob_comm  = "";
										$post_nlis_comm  = "";
										$post_nlmn_comm  = "";
										$post_nldn_comm  = "";
										$post_nlc_comm  = "";
										$post_recy_comm  = "";
										$post_picc_comm  = "";
										
										while($row = mysql_fetch_array($result206))
										{	 
											$pre_1_fob = $row['pre_1_fob'];
											$pre_2_olis = $row['pre_2_olis'];
											$pre_3_ec  = $row['pre_3_ec'];
											$pre_4_ac = $row['pre_4_ac'];
											$pre_5_ebum = $row['pre_5_ebum'];
											$pre_6_ldu = $row['pre_6_ldu'];
											$pre_7_swmsp = $row['pre_7_swmsp'];
											$pre_picc = $row['pre_picc'];
											$post_ccew = $row['post_ccew'];
											$post_prercps = $row['post_prercps'];
											$post_posrcps = $row['post_posrcps'];
											$post_ids = $row['post_ids'];
											$post_ti = $row['post_ti'];
											$post_llm = $row['post_llm'];
											$post_rc = $row['post_rc'];
											$post_lqs = $row['post_lqs'];
											$post_og = $row['post_og'];
											$post_ob = $row['post_ob'];
											$post_nlis = $row['post_nlis'];
											$post_nlmn = $row['post_nlmn'];
											$post_nldn = $row['post_nldn'];
											$post_nlc = $row['post_nlc'];
											$post_recy = $row['post_recy'];
											$post_picc  = $row['post_picc'];
								
										}
										
										 
										?>
																<?php
   
   
		 
		 $zpre_1_fob = "";
											$zpre_2_olis = "";
											$zpre_3_ec  =  "";
											$zpre_4_ac =  "";
											$zpre_5_ebum =  "";
											$zpre_6_ldu = "";
											$zpre_7_swmsp =  "";
											$zpre_picc =  "";
											
											$zpost_ccew =  "";
											$zpost_prercps =  "";;
											$zpost_posrcps =  "";
											$zpost_ids =  "";
											$zpost_ti =  "";
											$zpost_llm =  "";
											$zpost_rc =  "";
											$zpost_lqs =  "";
											$zpost_og =  "";
											$zpost_ob =  "";
											$zpost_nlis =  "";
											$zpost_nlmn =  "";
											$zpost_nldn =  "";
											$zpost_nlc =  "";
											$zpost_recy =  "";
											$zpost_picc  =  "";
		 
		 $result15 = mysql_query("select fid, TEXT from content_val where pid=" . $inpid . 
		 " and fid in (218,219,220,221,222,223,224,253, 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240)");
 
		   while($row = mysql_fetch_array($result15))
	 {	 
 
		$fidin = $row['fid'];
		$val = $row['TEXT'];
 
				if 	($fidin	== 218) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_1_fob = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_1_fob = 'NOT APPROVED';
					else if (($pre_1_fob == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_1_fob = 'AMBER';
					}
					else
						$zpre_1_fob = 'NOT APPROVED';
				 
				
					//echo $pre_1_fob . " XXX " . 	$val;  echo " +++ " . $zpre_1_fob . "<br/>";	
				}	

				if 	($fidin	== 219) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_2_olis = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_2_olis = 'NOT APPROVED';
					else if (($pre_2_olis == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_2_olis = 'AMBER';
						 
					}
					else $zpre_2_olis = 'NOT APPROVED';
				}	
				
				if 	($fidin	== 220) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_3_ec = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_3_ec = 'NOT APPROVED';
					else if (($pre_3_ec == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_3_ec = 'AMBER';
						 
					}
					else $zpre_3_ec = 'NOT APPROVED';
				}	
				
				if 	($fidin	== 221) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_4_ac = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_4_ac = 'NOT APPROVED';
					else if (($pre_4_ac == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_4_ac = 'AMBER';
						 
					}
					else $zpre_4_ac = 'NOT APPROVED';
				}	
				
				if 	($fidin	== 222) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_5_ebum = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_5_ebum = 'NOT APPROVED';
					else if (($pre_5_ebum == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_5_ebum = 'AMBER';
						 
					}
					else 	$zpre_5_ebum = 'NOT APPROVED';
				}
				
				if 	($fidin	== 223) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_6_ldu = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_6_ldu = 'NOT APPROVED';
					else if (($pre_6_ldu == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_6_ldu = 'AMBER';
						 
					}
					else $zpre_6_ldu = 'NOT APPROVED';
				}
				
				if 	($fidin	== 224) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_7_swmsp = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_7_swmsp = 'NOT APPROVED';
					else if (($pre_7_swmsp == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_7_swmsp = 'AMBER';
						 
					}
					else $zpre_7_swmsp = 'NOT APPROVED';
				}
				
				if 	($fidin	== 253) 
				{ 
					if (strtoupper($val) == 'APPROVED')  
						$zpre_picc = 'APPROVED';
					
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpre_picc = 'NOT APPROVED';
					
					else if (($pre_picc == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpre_picc = 'AMBER';
						 
					}
					else  $zpre_picc = 'NOT APPROVED';
				}
				
				//post
				if 	($fidin	== 225) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_ccew = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_ccew = 'NOT APPROVED';
					else if (($post_ccew == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_ccew = 'AMBER';
					}
					else
						$zpost_ccew = 'NOT APPROVED';
				}
				
				if 	($fidin	== 226) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_prercps = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_prercps = 'NOT APPROVED';
					else if (($post_prercps == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_prercps = 'AMBER';
					}
					else
						$zpost_prercps = 'NOT APPROVED';
				}
				
				if 	($fidin	== 227) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_posrcps = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_posrcps = 'NOT APPROVED';
					else if (($post_posrcps == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_posrcps = 'AMBER';
					}
					else
						$zpost_posrcps = 'NOT APPROVED';
				}
				
				if 	($fidin	== 228) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_ids = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_ids = 'NOT APPROVED';
					else if (($post_ids == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_ids = 'AMBER';
					}
					else
						$zpost_ids = 'NOT APPROVED';
				}
				if 	($fidin	== 229) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_ti = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_ti = 'NOT APPROVED';
					else if (($post_ti == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_ti = 'AMBER';
					}
					else
						$zpost_ti = 'NOT APPROVED';
				}
				if 	($fidin	== 230) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_llm = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_llm = 'NOT APPROVED';
					else if (($post_llm == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_llm = 'AMBER';
					}
					else
						$zpost_llm = 'NOT APPROVED';
				}
				if 	($fidin	== 231) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_rc = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_rc = 'NOT APPROVED';
					else if (($post_rc == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_rc = 'AMBER';
					}
					else
						$zpost_rc = 'NOT APPROVED';
				}
				
				if 	($fidin	== 232) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_lqs = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_lqs = 'NOT APPROVED';
					else if (($post_lqs == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_lqs = 'AMBER';
					}
					else
						$zpost_lqs = 'NOT APPROVED';
				}
				
				if 	($fidin	== 233) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_og = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_og = 'NOT APPROVED';
					else if (($post_og == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_og = 'AMBER';
					}
					else
						$zpost_og = 'NOT APPROVED';
				}
				
				if 	($fidin	== 234) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_ob = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_ob = 'NOT APPROVED';
					else if (($post_ob == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_ob = 'AMBER';
					}
					else
						$zpost_ob = 'NOT APPROVED';
				}
				if 	($fidin	== 235) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_nlis = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_nlis = 'NOT APPROVED';
					else if (($post_nlis == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_nlis = 'AMBER';
					}
					else
						$zpost_nlis = 'NOT APPROVED';
				}
				
				if 	($fidin	== 236) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_nlmn = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_nlmn = 'NOT APPROVED';
					else if (($post_nlmn == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_nlmn = 'AMBER';
					}
					else
						$zpost_nlmn = 'NOT APPROVED';
				}
				
				if 	($fidin	== 237) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_nldn = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_nldn = 'NOT APPROVED';
					else if (($post_nldn == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_nldn = 'AMBER';
					}
					else
						$zpost_nldn = 'NOT APPROVED';
				}
				
				if 	($fidin	== 238) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_nlc = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_nlc = 'NOT APPROVED';
					else if (($post_nlc == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_nlc = 'AMBER';
					}
					else
						$zpost_nlc = 'NOT APPROVED';
				}
				
				if 	($fidin	== 239) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_recy = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_recy = 'NOT APPROVED';
					else if (($post_recy == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_recy = 'AMBER';
					}
					else
						$zpost_recy = 'NOT APPROVED';
				}
						
					if 	($fidin	== 240) 
				{ 
			 
					if (strtoupper($val) == 'APPROVED')  
						$zpost_picc = 'APPROVED';
					else if (strtoupper($val) == 'NOT APPROVED')  
						$zpost_picc = 'NOT APPROVED';
					else if (($post_picc == 'Yes') && (($val == '-') || (strlen($val) == 0)   ))
					{	
						$zpost_picc = 'AMBER';
					}
					else
						$zpost_picc = 'NOT APPROVED';
				}						//$zpre_2_olis = $row['pre_2_olis'];
											//$zpre_3_ec  = $row['pre_3_ec'];
											//$zpre_4_ac = $row['pre_4_ac'];
											//$zpre_5_ebum = $row['pre_5_ebum'];
											//$zpre_6_ldu = $row['pre_6_ldu'];
											//$zpre_7_swmsp = $row['pre_7_swmsp'];
											
											//$zpost_ccew = $row['post_ccew'];
											//$zpost_prercps = $row['post_prercps'];
											//$zpost_posrcps = $row['post_posrcps'];
											//$zpost_ids = $row['post_ids'];
											//$zpost_ti = $row['post_ti'];
											//$zpost_llm = $row['post_llm'];
											//$zpost_rc = $row['post_rc'];
											//$zpost_lqs = $row['post_lqs'];
											//$zpost_og = $row['post_og'];
											//$zpost_ob = $row['post_ob'];
											//$zpost_nlis = $row['post_nlis'];
											//$zpost_nlmn = $row['post_nlmn'];
											//$zpost_nldn = $row['post_nldn'];
											//$zpost_nlc = $row['post_nlc'];
											//$zpost_recy = $row['post_recy'];
											//$zpost_picc  = $row['post_picc'];
			 }
										 
	  ?>
   <div class="row">
   <div class="col-md-12"> 
	<hr/>
	<center><b>PRE-INSTALL COMPLIANCE CHECKLIST</b></center>
	</div>
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_1_fob == 'APPROVED') echo '#42ad42'; if ($zpre_1_fob == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_1_fob == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_1_fob != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i> 
		<b>Pre-Install</b>
		<br/>
Photo Evidence - Front of Building
		</center> 
	</div>
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color: <?php if ($zpre_2_olis == 'APPROVED') echo '#42ad42'; if ($zpre_2_olis == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_2_olis == 'AMBER') echo '#e08e09;' ?>; ; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_2_olis != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
	<b>Pre-Install</b>
		<br/>
Photo Evidence - Original light in situ
		</center> 
	</div>
<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_3_ec == 'APPROVED') echo '#42ad42'; if ($zpre_3_ec == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_3_ec == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_3_ec != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
Photo Evidence - Existing Controls
		</center> 
	</div>
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_4_ac == 'APPROVED') echo '#42ad42'; if ($zpre_4_ac == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_4_ac == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_4_ac != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
Photo Evidence - Air-Conditioning<br/><br/>
		</center> 
	</div>
	</div>
	<div class="row">
	
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_5_ebum == 'APPROVED') echo '#42ad42'; if ($zpre_5_ebum == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_5_ebum == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_5_ebum != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
Electricity Bill/Photo of Utility Meter (showing NMI)
		</center> 
	</div>
	
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_6_ldu == 'APPROVED') echo '#42ad42'; if ($zpre_6_ldu == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_6_ldu == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_6_ldu != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
Lighting Design undertaken (where required)
		</center> 
	</div>
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_7_swmsp == 'APPROVED') echo '#42ad42'; if ($zpre_7_swmsp == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_7_swmsp == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpre_7_swmsp != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
SWMS provided<br/><br/>
		</center> 
	</div>
	
	<div onclick="jumpToEv()" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpre_picc == 'APPROVED') echo '#42ad42'; if ($zpre_picc == 'NOT APPROVED') echo '#e35f40;'; if ($zpre_picc == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($preIsSubmitted == 1) echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Pre-Install</b>
		<br/>
Compliance Complete (Partner Declaration)<br/><br/>
		</center> 
	</div>
	
	<div class="col-md-12"> 
	<hr/>
	<center><b>POST-INSTALL COMPLIANCE CHECKLIST</b></center>
	</div>
 
	
	<div class="row">
	
	<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_ccew == 'APPROVED') echo '#42ad42'; if ($zpost_ccew == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_ccew == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_ccew != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
CCEW + Additional Details Supplied<br/><br/>
		</center> 
	</div>
	
	<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_prercps == 'APPROVED') echo '#42ad42'; if ($zpost_prercps == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_prercps == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_prercps != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Pre-RCP Supplied<br/><br/>
		</center> 
	</div>
	
		<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_posrcps == 'APPROVED') echo '#42ad42'; if ($zpost_posrcps == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_posrcps == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_posrcps != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Post-RCP Supplied (if different to Pre-RCP)<br/><br/>
		</center> 
	</div>
	
		<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_ids == 'APPROVED') echo '#42ad42'; if ($zpost_ids == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_ids == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_ids != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Installer Declaration Supplied<br/><br/><br/>
		</center> 
	</div>
	</div>
	
	 <div onclick="jumpToEv('picd')" class="row">
		<div class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_ti == 'APPROVED') echo '#42ad42'; if ($zpost_ti == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_ti == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_ti != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Tax Invoice (if supplied from Partner Organisation)<br/><br/>
		</center> 
	</div>
	
		<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_llm == 'APPROVED') echo '#42ad42'; if ($zpost_llm == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_llm == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_llm != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Lux level measurements (if not inserted onto post RCP)<br/><br/>
		</center>
	</div>
	
	<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_rc == 'APPROVED') echo '#42ad42'; if ($zpost_rc == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_rc == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_rc != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Recycling Certificate (if managed by Partner Organisation)<br/><br/>
		</center>
	</div>
	
	 
	
	<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_lqs == 'APPROVED') echo '#42ad42'; if ($zpost_lqs == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_lqs == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_lqs != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Lighting Quality Statement (if project delivered by Partner)<br/><br/>
		</center>
	</div>
	
	</div>
	<div class="row">
	
		<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_og == 'APPROVED') echo '#42ad42'; if ($zpost_og == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_og == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_og != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - Original Globes<br/><br/><br/>
		</center>
	</div>
	
	
			<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_ob == 'APPROVED') echo '#42ad42'; if ($zpost_ob == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_ob == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_ob != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - Original Ballasts<br/><br/><br/>
		</center>
	</div>
	
				<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_nlis == 'APPROVED') echo '#42ad42'; if ($zpost_nlis == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_nlis == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_nlis != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - New Lights in situ<br/><br/>
		</center>
	</div>

				<div onclick="jumpToEv('picd')"  class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_nlmn == 'APPROVED') echo '#42ad42'; if ($zpost_nlmn == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_nlmn == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_nlmn != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - New Lamp model #<br/><br/>
		</center>
	</div>
	</div>
	<div class="row">
	
				<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_nldn == 'APPROVED') echo '#42ad42'; if ($zpost_nldn == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_nldn == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_nldn != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - New Lamp driver #<br/><br/>
		</center>
	</div>	
	
		
				<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_nlc == 'APPROVED') echo '#42ad42'; if ($zpost_nlc == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_nlc == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_nlc != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - New Lighting Controls<br/><br/>
		</center>
	</div>	
	
			
				<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_recy == 'APPROVED') echo '#42ad42'; if ($zpost_recy == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_recy == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_recy != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Photo Evidence - Recycling<br/><br/><br/>
		</center>
	</div>	

				<div onclick="jumpToEv('picd')" class="col-md-3" style="min-height:130px;background-color:<?php if ($zpost_picc == 'APPROVED') echo '#42ad42'; if ($zpost_picc == 'NOT APPROVED') echo '#e35f40;'; if ($zpost_picc == 'AMBER') echo '#e08e09;' ?>; color:white; border:solid 15px white;">
		<center>
		<br/>
		<i style="font-size:16px;" class="fa fa-<?php if ($zpost_picc != '') echo 'chec11'; else echo 'times11'?>" aria-hidden="true"></i>
		<b>Post-Install</b>
		<br/>
Post Install Compliance Complete (Partner declaration)<br/><br/>
		</center>
	</div>	
	
	</div>
	
	 
   
	</div>
  
  <!-- end evi here -->
								
								
								
								
								
								
								
								
								
								
								</div>
								
																
								 
								 
								 
	                    </section>
					
					
			 
					
					<input type="hidden" value="">
                    </div>
                    <!-- /inner content wrapper -->

                </div>
                <!-- /content wrapper -->
                <a class="exit-offscreen"></a>
            </section>
            <!-- /main content -->
        </section>

    </div>
    <!-- core scripts -->
    <script src="plugins/jquery-1.11.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.js"></script>
    <script src="plugins/jquery.slimscroll.min.js"></script>
    <script src="plugins/jquery.easing.min.js"></script>
    <script src="plugins/appear/jquery.appear.js"></script>
    <script src="plugins/jquery.placeholder.js"></script>
    <!-- /core scripts -->

    <!-- page level scripts -->
    <script src="plugins/responsive-tables/responsive-tables.js"></script>
    <!-- /page level scripts -->

    <!-- template scripts -->
    <script src="js/offscreen.js"></script>
    <script src="js/main.js"></script>
    <!-- /template scripts -->

    <!-- page script -->
    <!-- /page script -->

	
	
</body>
<!-- /body --> 
</html>
