<input type="image" src="/images/btGo.gif" value="Go" border="0"/> <BR>Each file should be under 5 Mb </form> </div> </TD> </TR> <TR> <TD valign=top align=right><div style='margin-right:5px; margin-top:2px;'><b>Add Comment:</b></div></TD> <TD align='center'> <textarea id='newcomment_ta' rows=2 cols=50></textarea> <div style="margin-top:5px;"> <label><input type='checkbox' id='newcomment_notify'> Notify about this Comment</label> </div> <div style="margin-top:10px;"> <span class='bluebuttonSmall' onclick="_$('newcomment_ta').value=''; _$('newcomment_ta').focus();">reset</span> <span class='bluebuttonSmall' onclick="EditTaskJsFunction.addComment();"><b>Add Comment</b></span> </div> </TD> </TR> </TABLE> <?php $manageWorks->get_workComments($TASKID); ?> </div> </BODY> </HTML>
<?php include_once "include_db.php"; header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 include_once "include_functions.php"; if (!$_SESSION["uname"]) { exit; } $ACTION = @$_GET["action"]; $USERNAME = $_SESSION["uname"]; switch ($ACTION) { case 'getcomments': $taskid = get_GET_var("taskid"); $manageWorks = new manageWorks(); $manageWorks->get_workComments($taskid, true); exit; break; default: break; }