OK, that doesn't help as the files are still missing.
How about this, not as pretty, but works and can be customised...
BACKUP EVERYTHING BEFORE YOU START
Download this
(http://www.walterzorn.de/en/tooltip/tooltip_e.htm)
and extract wz_tooltip.js to root/js on your OSticket installation.
( you'll need to create the folder js )
Using the file include\staff\tickets.inc.php
ADD as the very first line: ( before the <?php )
<script type="text/javascript" language="javascript" src="../js/wz_tooltip.js"></script>
FIND <td><a <?if($flag) { ?> class="Icon <?=$flag?>Ticket" title="<?=ucfirst($flag)?> Ticket" <?}?>
href="tickets.php?id=<?=$row?>"><?=$subject?></a> and comment it out like this :
<td><a <?if($flag) { ?> class="Icon <?=$flag?>Ticket" title="<?=ucfirst($flag)?> Ticket" <?}?>
href="tickets.php?id=<?=$row?>"><?=$subject?></a>
ADD the following:
<?
$ticket_id=$row;
$sql_message = mysql_query("SELECT UNIX_TIMESTAMP(created) FROM ost_ticket_message WHERE ticket_id=$ticket_id ORDER BY created DESC LIMIT 1");
$message_created_row = mysql_fetch_array($sql_message);
$message_created = $message_created_row;
$sql_response = mysql_query("SELECT UNIX_TIMESTAMP(created) FROM ost_ticket_response WHERE ticket_id=$ticket_id ORDER BY created DESC LIMIT 1");
$response_created_row = mysql_fetch_array($sql_response);
$response_created = $response_created_row;
if( $response_created < $message_created ):
$title = mysql_query("SELECT message FROM ost_ticket_message WHERE ticket_id=$ticket_id AND created=FROM_UNIXTIME($message_created) LIMIT 1");
$lookup = message;
else:
$title = mysql_query("SELECT response FROM ost_ticket_response WHERE ticket_id=$ticket_id AND created=FROM_UNIXTIME($response_created) LIMIT 1");
$lookup = response;
endif;
while ($TITLE = mysql_fetch_assoc($title)) {
$MESSAGE=$TITLE;
}
$MESSAGE = str_replace("'","`",$MESSAGE);
$MESSAGE = preg_replace("/[^A-Za-z0-9/", ' ', $MESSAGE);
$MESSAGE = str_replace("\r\n","<br/>",$MESSAGE);
$MESSAGE = str_replace("", "", $MESSAGE);
$MESSAGE = substr($MESSAGE,0,300);
?>
<td>
<span class="hotspot" onmouseover="Tip('<div align=\'left\' class=\'message\'><?=$MESSAGE?>...</div>')" onmouseout="UnTip()">
<a <?if($flag) { ?> class="Icon <?=$flag?>Ticket" <?}?> href="tickets.php?id=<?=$row?>"><?=$subject?></a></span>
That should be it !!
Colour and layout can be changed by editing wz_tooltip.js, you can also add balloon tips following the example on the tooltip web site.
Hope this helps :)