<div id="edit_url"> <span>Size: </span><?php echo formatBytesToHumanReadable($FILEINFO['fileSize']); ?> </div> <div id="edit_url"> <span>Uploaded by: </span><?php echo $FileUploadInfo['uploadedBy']; ?> </div> <div id="edit_url"> <span>Uploaded Date: </span><?php echo caldateTS_to_humanWithTS($FileUploadInfo['uploadedDate']); ?> </div> </td> </tr> </tbody> </table> <div class="sep"></div> <table align="center" cellpadding="4" width="95%"> <tbody> <tr> <td rowspan="2" valign="top" width="50%">
public function get_workComments($workID, $foriPhone = false) { $result = mysql_query("select comment_date, comment_by, comment from COMMENTS where workID='{$workID}' ORDER BY comment_date DESC"); $lastCommentPerson = ''; if ($foriPhone) { echo "<div id='taskcomments_" . $workID . "' class='divViewComments'>"; while ($row = mysql_fetch_assoc($result)) { if ($lastCommentPerson != $row['comment_by']) { echo '<div class="commentBy">' . $row['comment_by'] . ' said:</div>'; } echo '<div class="commentBdesc">' . format_makeLinks(mynl2br($row['comment'])) . '</div>'; echo '<div class="commentDate">' . caldateTS_to_humanWithTS($row['comment_date']) . '</div>'; $lastCommentPerson = $row['comment_by']; } echo "</div>"; return; } echo "<table align=center width='97%' cellpadding=2 cellspacing=2 border=0 style='font-size: 95%; margin-top:15px;'>"; while ($row = mysql_fetch_assoc($result)) { ?> <tr><td valign='top' align='right' width='125'> <span style='font-weight:bold; color: #65869E;'> <?php if ($lastCommentPerson != $row['comment_by']) { echo $row['comment_by']; } ?> </span> </td> <td><div class='rcs1'> <div class='ncd1'><?php echo format_makeLinks(mynl2br($row['comment'])); ?> </div> <div class='nct1'><?php echo caldateTS_to_humanWithTS($row['comment_date']); ?> </div> </div> </td> </tr> <?php $lastCommentPerson = $row['comment_by']; } echo "</table>"; }
<p id="files_result" style="display:none; color:red; font-size:14px;"></p> <div id="search"> <input type='text' class='date_input' size=12 id='files_date'><input type="button" id="Go" name="Go" value="Go" onclick="searchFiles()" /> </div> <div id='BOOKMARKSLIST'> <?php $MF = new ManageFiles(); $LASTX_FILES_SQL = $MF->get_Last_XFiles_RelatedToUser_fullDetails_sql($CURRENT_USERID, 200); $result = mysql_query($LASTX_FILES_SQL); while ($row = mysql_fetch_array($result)) { $FUPLOAD_INFO = $MF->getChatFileUploadInfo($row['fileId']); // fileId, fileName, fileRandomName, fileExt, fileSize, fileCode, fileType $tmp_preview_str = "<div style='margin-top: 10px; padding: 10px; background-color: #F1F4E3; border-bottom: 2px solid #E7E7E7; text-align:left; display: table; width: 96%;'>"; $tmp_preview_str .= "<div style='float:left; line-height:150%;'><a href=\"chatfiledownload.php?fc={$row['fileId']}\">{$row['fileName']}</a>"; if (in_array($row['fileExt'], array('jpg', 'png', 'gif', 'bmp', 'jpeg', 'pjpeg'))) { $tmp_preview_str .= "<br/><a href=\"chatfiledownload.php?fc={$row['fileId']}\"><img src=files/chat_files/thumbs/{$row['fileRandomName']}></a>"; } $tmp_preview_str .= "</div>"; $tmp_preview_str .= "<div style='float:right;color: #C7AD8B; margin-right: 10px;'>" . caldateTS_to_humanWithTS($GMU->convert_to_UsersTimeZone($FUPLOAD_INFO['uploadedDate'])) . "</div>"; $tmp_preview_str .= "<div style='float:right; color: #C7AD8B; margin-right: 10px;'>- {$FUPLOAD_INFO['uploadedBy']}</div>"; $tmp_preview_str .= "<div style='float:right; color: #C7AD8B; margin-right: 10px;'>" . formatBytesToHumanReadable($row['fileSize']) . "</div>"; $tmp_preview_str .= "</div>"; echo $tmp_preview_str; } ?> </div> </center> <?php include_once "include_footer.php";
<TD class='oddrow'> <span id=''><?php echo caldateTS_to_humanWithTS($taskDetails["work_startDate"]); ?> </span> </TD> <?php } else { echo "<td class='oddrow' colspan=2> </td>"; } if ($workStatus == $DE_GLOBALS_WORK_COMPLETED || $workStatus == $DE_GLOBALS_WORK_CLOSED) { ?> <TD class='oddrow'>Completed On :</TD> <TD class='oddrow'> <span id=''><?php echo caldateTS_to_humanWithTS($taskDetails["work_completeDate"]); ?> </span> </TD> <?php } else { echo "<td class='oddrow' colspan=2> </td>"; } ?> </TR> <?php } ?> <TR><TD class='evenrow' valign='top'>Description:</TD> <TD class='evenrow' colspan=3> <?php