Viewing file: uploadDocSended.php (3.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?PHP function manageDocAtt($DLCID,$DocID){ include_once("../../class/clsConnection.php"); include_once("../../class/clsDB.php"); include_once "../global.php"; include_once "../link/function.php"; include_once "../link/functionshow.php"; include_once "funct.php"; include_once "../link/keyThai.php"; include_once "../class/clsDocattatches.php"; include_once "../class/clsDocattatchesTmp.php"; include_once "../class/clsSysConfig.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']); $oDatt = new Docattatches($oC); $oDatt2 = new Docattatches($oC); $oDatt3 = new Docattatches($oC); $oDatt1 = new Docattatches($oC); $oDtmp = new DocattatchesTmp($oC); $oSys = new sysConfig($oC);
$oSys->RSsysConfig(); $oSys->GetRecord();
$countAllDoc=$oDatt->CountDocByDocIDSended($DocID); if($countAllDoc>0){ $showdetaildoc="<table width=\"100%\" border=0 cellpadding=\"0\" cellspacing=\"0\" align=left>"; $showdetaildoc=$showdetaildoc."<tr><td align=left>"; $oDatt->SearchByDocIDSended($DocID); while($oDatt->GetRecord()){ $c++; $pathfile=$GLOBALS['path_download_documents'].$oDatt->DaUpFileName; $showdetaildoc=$showdetaildoc."<a href=".$pathfile." target=\"_blank\"><img src=\"../picture/allregistered_ico.gif\" title=\"嗷源促峥榱斯学首蚛" border=\"0\" style=\"cursor:pointer;\" ></a> "; $showdetaildoc=$showdetaildoc."<img src=\"../picture/delete1.gif\" title=\"藕峥榱斯学首蚛" border=\"0\" style=\"cursor:pointer;\" onClick=\"startDel(".$oDatt->DaID.")\"> "; $showdetaildoc=$showdetaildoc." ".$oDatt->DaFileName."<br>"; } $showdetaildoc=$showdetaildoc."</td></tr></table>"; return $showdetaildoc; } } function manageDocAtt2($DocID){ include_once("../../class/clsConnection.php"); include_once("../../class/clsDB.php"); include_once "../global.php"; include_once "../link/function.php"; include_once "../link/functionshow.php"; include_once "funct.php"; include_once "../link/keyThai.php"; include_once "../class/clsDocattatches.php"; include_once "../class/clsDocattatchesTmp.php"; include_once "../class/clsSysConfig.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']); $oDatt = new Docattatches($oC); $oDatt2 = new Docattatches($oC); $oDatt3 = new Docattatches($oC); $oDatt1 = new Docattatches($oC); $oDtmp = new DocattatchesTmp($oC); $oSys = new sysConfig($oC);
$oSys->RSsysConfig(); $oSys->GetRecord();
$countAllDoc=$oDatt->CountDocByDocIDSended($DocID); if($countAllDoc>0){ $showdetaildoc="<br> <font size=2 color=".$GLOBALS["COLOR_FONT_2"].">峥榱斯学首袜驹枇嗟粤 (ㄒ〉楣嗝阻艇) ".a2th($countAllDoc)." 靡隆颐</font><br>"; $showdetaildoc.="<table width=\"100%\" border=0 cellpadding=\"0\" cellspacing=\"0\" align=left>"; $showdetaildoc=$showdetaildoc."<tr><td align=left> "; $c=0; $oDatt->SearchByDocIDSended($DocID); while($oDatt->GetRecord()){ $c++; $pathfile=$GLOBALS['path_download_documents'].$oDatt->DaUpFileName; $showdetaildoc=$showdetaildoc."<a href=".$pathfile." target=\"_blank\"><img src=\"../picture/allregistered_ico.gif\" title=\"嗷源促峥榱斯学首蚛" border=\"0\" style=\"cursor:pointer;\" ></a>"; $showdetaildoc=$showdetaildoc." ".$c.". ".$oDatt->DaFileName."<br> "; } $showdetaildoc=$showdetaildoc."</td></tr></table>"; return $showdetaildoc; } } ?>
|