Esempio n. 1
0
					
				</div>

				<!-- End .content-box-content -->
              
        	<div id="popup" class="modal-box">  
	  <header>
		<h3>Select Driver</h3>
	  </header>
	  <div class="modal-body" id="item-list">
	  
		<table><tbody>
			<?php 
for ($i = 0; $i < sizeof($mDriverList); $i++) {
    $mDriver = new Driver($mDriverList[$i]);
    echo "<tr><td><img height='15' width='15' src='../../../images/driver_icon.png'>&nbsp;&nbsp;<b><a href='#' style='text-transform:uppercase;vertical-align:2px;' class='js-modal-close' onClick='setDriver(" . $mVehicle->getId() . "," . $mDriver->getId() . ")'>" . $mDriver->getName() . "</a><span style='float:right;'><img height='20' width='20' src='../../../images/phone_icon.png'><span style='vertical-align:5px;'>+91-" . $mDriver->getPhone() . "</span></span></b></td></tr>";
}
?>
		</tbody></table>
		
	  </div>
	  <footer>
		<a href="#" class="js-modal-close" style="color:#D3402B"><b>CANCEL</b></a>
	  </footer>
	</div>

<?php 
require_once "../../master/footerhome.php";
?>
      
Esempio n. 2
0
										</div> <!-- End .pagination -->
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
								<?php 
    $mDriverList = $mPreviousDriverList;
    for ($i = 0; $i < sizeof($mDriverList); $i++) {
        $mDriver = new Driver($mDriverList[$i]);
        $mJob = new Job($mDriver->getCurrentJob());
        $mVehicle = new Vehicle($mDriver->getCurrentVehicle());
        echo "<tr>";
        echo "<td>" . $mDriver->getName() . "</td>";
        echo "<td>" . $mDriver->getPhone() . "</td>";
        echo "<td><a href='../vehicle/detail.php?id=" . $mVehicle->getId() . "'>" . $mVehicle->getVehicleNumber() . "</a></td>";
        echo "\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<!-- Icons -->\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Edit'><img src='../../res/pencil.png' alt='Edit'></a>\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Delete' onClick='onDelete(" . $mDriver->getId() . ")'><img src='../../res/cross.png' alt='Delete'></a>&nbsp;&nbsp;\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Edit Meta'><img src='../../res/hammer_screwdriver.png' alt='Edit Meta'></a>\n\t\t\t\t\t\t\t\t\t</td>";
        echo "</tr>";
    }
    ?>
							</tbody>
							
						</table>
						<?php 
}
?>
					</div> <!-- End #prev -->

                   
				</div> <!-- End .content-box-content -->
Esempio n. 3
0
					
						<div id="address_info">
							<img id="address_icon" height="20" width="20" src="../../res/address.png" title="Address" alt="Address">&nbsp;
							<b><span id="address_view" style='vertical-align:2px;'>
								<?php 
echo $mDriver->getAddress();
?>
								</span>
							
						</div>
						<br><br>
						<div id="contact_info">
							<img id="contact_icon" height="20" width="20" src="../../res/phone_icon.png" title="Phone" alt="Phone">&nbsp;
							<b><span id="address_view" style='vertical-align:2px;'>
								<?php 
echo $mDriver->getPhone();
?>
								</span>
							
						</div>
						<br><br>
						<div id="joining_date_info">
							<img id="joining_date_icon" height="20" width="20" src="../../res/calendar.png" title="Joining Date" alt="Joining Date">&nbsp;
							<b><span id="address_view" style='vertical-align:2px;'>
								<?php 
echo $mDriver->getJoiningDate();
?>
								</span>
							
						</div>