' . $title_message . ' '; } $now = date("Y-m-d",time()); // 기간을 정하는 구간 $fromdate=date("Y-m-d"); $sql="select * from chandj.work where is_deleted IS NULL and cableworkStatus='결선중' order by endworkday desc"; $nowday=date("Y-m-d"); // 현재일자 변수지정 $start_num=1; try{ $stmh = $pdo->query($sql); $total_row = $stmh->rowCount(); } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } // print $sql; $total_work_wire_su_main = $total_row; ?>
fetch(PDO::FETCH_ASSOC)) { include $_SERVER['DOCUMENT_ROOT'] . '/work/_row.php'; $checkstep_str = ""; $font1 = "black"; switch ($checkstep) { case "상담요청" : $checkstep_str = "상담요청"; $font1 = "black"; break; case "방문요청" : $checkstep_str = "방문요청"; $font1 = "blue"; break; case "실측요청" : $checkstep_str = "실측요청"; $font1 = "red"; break; case "발주요청" : $checkstep_str = "발주요청"; $font1 = "grey"; break; case "결선요청" : $checkstep_str = "결선요청"; $font1 = "green"; break; case "견적요청" : $checkstep_str = "견적요청"; $font1 = "brown"; break; default: $font1 = "grey"; $checkstep_str = ""; } ?>
번호 시공완료일 현장명 발주처 담당자 연락처 공사담당 진행현황 시공내역
20) { echo htmlspecialchars(mb_substr($workplacename, 0, 20, 'UTF-8')) . '...'; } else { echo htmlspecialchars($workplacename); } ?> 20) { echo htmlspecialchars(mb_substr($worklist, 0, 20, 'UTF-8')) . '...'; } else { echo htmlspecialchars($worklist); } ?>