<?/*
Copyright (C) 2003 Media Net Link, Inc. Danville, CA 94526 USA

This file is part of AthenaRMS.

AthenaRMS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

AthenaRMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/?>
<?php
 ## $comment_id_list - array of hashes which each hash containing comment info for the ticket
 ## $ticket - object filled with current ticket info
 ## $ticket_id
 ## $problem - name of the problem for the ticket (from $ticket->Get ('problem_id'))
 ## $config - config object to get CRM parameters and such


  require_once 'attribute_display.php';
  $ad = new Attribute_Display (); # get attribute names
  $attv = new Attribute_Value (); # get attribute values

  $person = $person_p->Info_by_Person_ID ($ticket->Get('user_person_id'));

if ($action) {
?>
<script type="text/javascript">
<!--
opener.location.reload(true)
window.close()
//-->
</script>
<?php }
?>

<center>

<!-- Begin Assistance Table  -->


<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
<br />
<!-- Begin Inner Table  -->
            <table bgcolor="#e6f0ce" border="0" cellpadding="3" cellspacing="0">
            <tr>
              <td class="textsm"><div class="athenatitleshadowongreen">Needing further assistance?<div class="athenatitle">Needing further assistance?</div></div>
</td>
            </tr>
            <tr>
              <td class="textsm">Add comments:<br /><textarea name="comments" rows="5" cols="50" class="textsm"></textarea></td>
            </tr>
            <tr>
              <td colspan="2" class="textsm">Attach file:<br /><input type="file" class="textsm" name="afile" /></td>
            </tr>
            <tr>
              <td class="textsm" align="center"><br />

<table cellspacing="0" cellpadding="1" border="0" bgcolor="#de0000">
<tr>
<td>
<input type="submit" value="Submit" onclick="javascript:fetch('<?php echo $_SERVER['PHP_SELF'];?>')" name="action" class="textsm" /></td>
</tr>
</table>


              </td>
            </tr>
            <tr>
              <td class="red" align="center">Note: This will reopen your current ticket!</td>
            </tr>
            </table>

<!-- End Inner Table  -->


</form>


<!-- End Assistance Table  -->

<!-- begin footer -->

</body>

<?php
  $time2 = time ();
  $tots = $time2 - $time1;
  $totm = $tots/60;

  print "<!-- $tots seconds or $totm minutes -->\n";
?>

<!-- <?php echo date ('Y/m/d H:i:s'); ?> -->

<!-- end footer -->

</html>

