Fetch_Result_Array($Query); ?>
onclick="handleFileUpload(this);" style="width: 20px;height: 20px;" checked="checked" value="yes" name="document_received"/> onclick="handleFileUpload(this);" style="width: 20px;height: 20px;" value="no" name="document_received"/>
Fetch_Result_Array($Query); $Client_short = $status_Cli['client_short']; $Query1 = "SELECT NewField1 FROM jvtasks WHERE task_id='$task_id'"; $status_C = $ClassForm->Fetch_Result_Array($Query1); $Field1 = $status_C['NewField1']; $Query2 = "SELECT NewField2 FROM jvtasks WHERE task_id='$task_id'"; $status_C2 = $ClassForm->Fetch_Result_Array($Query2); $Field2 = $status_C2['NewField2']; $Query3 = "SELECT NewField3 FROM jvtasks WHERE task_id='$task_id'"; $status_C3 = $ClassForm->Fetch_Result_Array($Query3); $Field3 = $status_C3['NewField3']; $Query = "SELECT * FROM file_manager WHERE task_id ='$task_id'"; $db_file = $ClassForm->Fetch_Numeric_Array($Query, 'file_id,file_name,file_desc,file_path'); $task_directory = '../../LMS_DIRECTORY/' . $Client_short . '/Task_' . $task_id . '/'; $file_array = scandir($task_directory); $file_index = 0; $present = false; for ($index = 0; $index < count($file_array); $index++) { $file_name_path = $file_array[$index]; if ($file_name_path !== '.' && $file_name_path !== '..' && $file_name_path) { if (!strpos($file_name_path, '(')) { $file_index++; $file_name = explode(".", $file_array[$index]); $file_name = $file_name[0]; for ($indexK = 0; $indexK < count($db_file); $indexK++) { if ($file_name === $db_file[$indexK]['file_name']) { $file_description = $db_file[$indexK]['file_desc']; $file_path = 'LMS_DIRECTORY/' . $Client_short . '/Task_' . $task_id . '/' . $file_name_path; $present = true; break; } else { $present = false; } } if (!$present) { $file_description = ''; $file_path = 'LMS_DIRECTORY/' . $Client_short . '/Task_' . $task_id . '/' . $file_name_path; $entry = array( 'task_id' => $task_id, 'file_name' => $file_name, 'file_desc' => '', 'created_by' => 'system', 'created_date' => $dt->format('Y-m-d H:i:s'), 'updated_by' => 'system' ); $status = $ClassForm->f_mysql_insert_array('file_manager', $entry); } $present = false; ?>
Browse File Name description Download Remove
add
>
<
onclick="handleRecurring(this);" style="width: 20px;height: 20px;" checked="checked" value="recurring" name="task_type"/> onclick="handleRecurring(this);" style="width: 20px;height: 20px;" value="non_recurring" name="task_type"/>
">
format('Y-m-d'); ?>
format('Y-m-d'); ?>
Fetch_Result_Array($Query5); $Field5 = $status_Ch['JvDate']; $sample=count($Field5); //echo($sample); if($sample==0) { // echo('joii'); } else { // echo('welcome'); date_default_timezone_set('asia/kolkata'); // $formatted_date = DateTime::createFromFormat('m-d-Y', $date); $formatted_date = DateTime::createFromFormat('Y-m-d H:i:s', $status_Ch['JvDate'])->format('Y-m-d'); } ?>

* Required Fields


Cancel