<?php
require_once('../config/config.php');
require_once(CLASS_DIR.'dbClass.php');
$obj = new DBClass();
$cupage = 'liasoning';

$sql = "SELECT * FROM steave WHERE id = '".$_GET['id']."'";
$rs = $obj->executeQry($sql,$link);
$row = $obj->fetchrow();
require_once(INCLUDES_DIR.ADMHEADER); 
?>
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td height="29" align="center" class="submenu"><a href="liasoning.php">Liasoning & Lifting Services</a></td>
	<td height="29" align="center" class="submenu"><a href="transporter.php">Transportation & logistics</a></td>
	<td height="29" align="center" class="submenu"><a href="steave.php">Stevedores & Shiping agents</a></td>
  </tr>
</table>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="17"></td>
  </tr>
  <tr>
    <td><table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="pagehead"><table width="900" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="315" height="35">Liasoning & Lifting Service Details</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF" class="innermain"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="25">&nbsp;</td>
          </tr>
          <tr>
            <td valign="top" class="bdr4"><table width="800" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#990066" class="form_head">Name & Address</td>
                </tr>
              <tr>
                <td valign="top" class="form_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="form_txt1">
                  <tr>
                    <td width="118" align="left" valign="top">Name</td>
			<td width="10" align="center" valign="top">:</td>
                    <td width="679" valign="top"><? echo $row['person_name'];?></td>
                    </tr>  
                  <tr>
                    <td valign="top">Company name</td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['organisation_name'];?></td>
                    </tr>
                  
                  <tr>
                    <td valign="top">Address: </td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['address'];?></td>
                    </tr>
                  <tr>
                    <td valign="top">City: </td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['district'];?></td>
                    </tr>
                  <tr>
                    <td valign="top">State: </td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['state'];?></td>
                    </tr>
                  <tr>
                    <td valign="top">Zip: </td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['pincode'];?></td>
                    </tr>
                   <tr>
                    <td valign="top">Website: </td>
			<td valign="top">:</td>
                    <td valign="top"><? echo $row['website'];?></td>
                    </tr> 
                    
                  </table></td>
              </tr>
              <tr>
                <td bgcolor="#990066" class="form_head">Contact Details</td>
              </tr>
              <tr>
                <td valign="top" class="form_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="form_txt1">
                  <tr>
                    <td align="left" width="92">Email</td>
                    <td align="center" width="10">:</td>
                    <td width="705" align="left"><? echo $row['email1'];?></td>
                    </tr>
                  <tr>
                    <td align="left">Phone</td>
                    <td align="center" width="10">:</td>
			<td align="left"><? echo $row['phone'];?></td>
                  </tr>
                  <tr>
                    <td align="left">Fax</td>
                    <td align="center" width="10">:</td>
			<td align="left"><? echo $row['fax'];?></td>
                  </tr>
                  <tr>
                    <td align="left">Mobile</td>
                    <td align="center" width="10">:</td>
			<td align="left"><? echo $row['mobile1'];?></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td bgcolor="#990066" class="form_head">Working Details</td>
              </tr>
              <tr>
                <td valign="top" class="form_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="form_txt1">
                  <tr>
                    <td align="left" width="92">Country</td>
                    <td align="center" width="10">:</td>
                    <td width="705" align="left"><? echo $row['work_country'];?></td>
                    </tr>
                  <tr>
                    <td align="left">Port</td>
                    <td align="center" width="10">:</td>
			<td align="left"><? echo $row['port'];?></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td bgcolor="#990066" class="form_head">Status</td>
              </tr>
              <tr>
                <td align="left" valign="top" class="form_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="form_txt1">
                  <tr>
                    <td align="left" width="90">Added On</td>
                    <td align="center" width="5">:</td>
                    <td align="left"><? echo date("d-m-Y", strtotime($row['added_on']));?></td>
                    </tr>
                    <tr>
                    <td align="left" width="90">Activated On</td>
                    <td align="center" width="5">:</td>
                    <td align="left"><? echo date("d-m-Y", strtotime($row['actdate']));?></td>
                    </tr>
                  </table></td>
              </tr>
              </table></td>
          </tr>
          </table></td>
      </tr>
      </table></td>
  </tr>
  <tr>
    <td height="40">&nbsp;</td>
  </tr>
</table>
<?php require_once(INCLUDES_DIR.ADMFOOTER); ?>