Exemplo n.º 1
0
<?php

include_once "../Connections/connect.php";
require_once "../pagecheck.php";
include_once "../functions.php";
session_start();
$sql = GetRowData2("CompanyID", $_SESSION['UserID'], "companyusers");
$rows = mysql_num_rows($sql);
$row = mysql_fetch_assoc($sql);
?>
    <b>Current Company users: [ <?php 
echo $rows;
?>
 ]</b>
    <div  style="border: 5px solid #CCCCCC;padding:5px;width:100%;height:340px;overflow: auto">
      <?php 
if ($rows > 0) {
    ?>
        <table class="datatable sortable full" style="border:#CCCCCC 1px solid;">
    	<thead >
         <tr align="center">
			<th width="30px">Update/Del</th>
            <th width="50px">First name</th>
            <th width="50px">Last name</th>
            <th width="30px">Gender</th>
			<th width="100px">Email Address</th>
			<th width="40px">Phone Number</th>
            <th width="70px">User Level/ Rights</th>
         </tr>
       </thead>
     <tbody>
Exemplo n.º 2
0
<?php

require_once "../pagecheck.php";
include_once "../Connections/connect.php";
include_once "../functions.php";
session_start();
$sql = GetRowData2("CompanyID", $_SESSION['UserID'], "companyprofile");
$rows = mysql_num_rows($sql);
$row = mysql_fetch_assoc($sql);
?>
	<a href="#" id="showEdit" title="Change profile picture?"><img src='companyprofile/logos/<?php 
echo $row['Logo'];
?>
' width="150" height="150" alt='' border='0'/></a>
	
Exemplo n.º 3
0
    <td valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="2" valign="top"></td>
          <td width="971" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>
                <div align="center" id="content" style=" vertical-align:top; padding-left:6px;width:100%; overflow: auto">
<table width="100%" border="0">
  <tr>
    <td width="98%">
    <?php 
$sql = GetRowData2("CompanyID", $_SESSION['UserID'], "companyprofile");
$rows = mysql_num_rows($sql);
$row = mysql_fetch_assoc($sql);
$sql2 = GetRowData2("ID", $_SESSION['UserID'], "companies");
$row2 = mysql_fetch_assoc($sql2);
if ($rows != 0 || $rows > 0) {
    ?>
    
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
      <tr>
        <td colspan="3" align="left" class="heads" bgcolor="#FFFFFF"><b>Step 1 - Company Details</b><br></td>
                  </tr>
      <tr>
      <tr>
        <td colspan="3" align="left" class="heads" height="12" bgcolor=""></td>
                  </tr>
      <tr>
        <td width="18%" align="left" nowrap="nowrap">Company Name:</td>
                    <td width="33%" align="left" style="font-weight:bold;" <?php 
Exemplo n.º 4
0
require_once '../../functions.php';
?>
 <table width="100%" border="0">
  <tr>
    <td  align="left" bgcolor="" valign="top" >
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
     
      <tr>
        <td valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
  <tr>
    <td>
    
    	<?php 
$id = decryptValue($_GET['token']);
$sql = GetRowData2("CompanyID", $id, "companydrivers");
$rows = mysql_num_rows($sql);
$row = mysql_fetch_assoc($sql);
?>
      <?php 
if ($rows > 0) {
    ?>
        <table width="100%" border="0" cellpadding="10" class="datatable full" style="border:#CCCCCC 1px solid;">
    	<thead >
         <tr align="center">
            <th width="50px">Photo</th>
						<th width="50px">First name</th>
						<th width="50px">Last name</th>
						<th width="70px">Date of Birth</th>
						<th width="60px">Telephone</th>
                        <th width="70px">Experience</th>
Exemplo n.º 5
0
require_once '../../functions.php';
?>
 <table width="100%" border="0">
  <tr>
    <td  align="left" bgcolor="" valign="top" >
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
     
      <tr>
        <td valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
  <tr>
    <td>
    
    	<?php 
$id = decryptValue($_GET['token']);
$sql = GetRowData2("CompanyID", $id, "companyusers");
$rows = mysql_num_rows($sql);
$row = mysql_fetch_assoc($sql);
?>
      <?php 
if ($rows > 0) {
    ?>
        <table width="100%" border="0" cellpadding="10" class="datatable full" style="border:#CCCCCC 1px solid;">
    	<thead >
         <tr align="left">
            <th width="50px">First name</th>
            <th width="50px">Last name</th>
            <th width="30px">Gender</th>
			<th width="100px">Email Address</th>
			<th width="60px">Phone Number</th>
            <th width="70px">User Level/ Rights</th>