Sorry, there is a problem with your username. You must Log in to view this page.

"); exit(); } $dtnum = $_GET['dtnum']; $chunk_dtnum = chunk_split($dtnum, 2, ':'); $chunk_arr = explode(":", $chunk_dtnum); $note_date = $chunk_arr[2].'/'.$chunk_arr[3].'/'.$chunk_arr[0].$chunk_arr[1]; $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); ?>
 Project Notes   All Projects   Project       
Project Name: 
New Note:
Error retrieving Project Note.
' . 'Error: '. mysql_error(). '

'); }else{ $not = mysql_fetch_array($note_1); $note = $not['note']; $notdtnum = $not['dtnum']; $chunk_notdtnum = chunk_split($notdtnum, 2, ':'); $chunk_arrt = explode(":", $chunk_notdtnum); if($note == ""){ echo("

No original note.

"); }else{ echo("

$chunk_arrt[2]/$chunk_arrt[3]/$chunk_arrt[0]$chunk_arrt[1] - $note

"); } } $noteit = @mysql_query("SELECT PID,note,dtnum FROM task_notes WHERE PID='$ID' ORDER BY dtnum"); if (!$noteit) { echo('

Error retrieving Project Notes.
' . 'Error: '. mysql_error(). '

'); }else{ $numrows = mysql_num_rows($noteit); if($numrows < 1){ echo("

No Further Notes

"); }else{ while($rown = mysql_fetch_array($noteit)){ $PID = $rown['PID']; $noten = $rown['note']; $ndtnum = $rown['dtnum']; $chunk_ndtnum = chunk_split($ndtnum, 2, ':'); $chunk_arrn = explode(":", $chunk_ndtnum); echo("

$chunk_arrn[2]/$chunk_arrn[3]/$chunk_arrn[0]$chunk_arrn[1] - $noten

"); } } } ?>