<?php
include_once "template.php";
include_once 
"../class/clsTable.php";
include_once 
"../class/clsDepartment.php";
include_once 
"../class/clsPerson.php";
include_once 
"../link/function.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"../class/clsUmuser.php";

$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDP = new Department($oC);
$oDP2 = new Department($oC);
$oDP3 = new Department($oC);
$oPS = new person($oC);
$oDlc = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%"   border="0" cellpadding="0" cellspacing="0" align="center" style="border-collapse:collapse" bordercolor="#DADADA" ><tr>
<?
$oDlc
->SearchByKey($DLCID);
$oDlc->GetRecord();
$oDlp->SearchByKey($oDlc->DlpID);
$oDlp->GetRecord();
$oDP->SearchByKey($oDlc->deptId);
$oDP->GetRecord(); 
?>
<td align="left" height="30"><img src="../picture/reg.png"   border="0"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="3">&nbsp;<strong><? echo "".$oDlp->DlpName."&nbsp;(".$oDP->deptName.")"?></strong></font></td>
</tr></table>
</body>
</html>