Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello Guys,
I'm having a little problem on the list of tickets. I changed the format of text / plain for text / html and template forgot_ticket_id.txt. The output list ticket is not separated by a line/ticket. Like....
ID: ....... Subject: .......... Status: ......... URL: ...........
ID: ....... Subject: .......... Status: ......... URL: ...........
......
...
Probably have to change something in this section:
File: Index.php
Section:
Code: Select all
while ($my_ticket=hesk_dbFetchAssoc($res))
{
$name = $name ? $name : $my_ticket['name'];
$tid_list .= "
$hesklang[trackID]: $my_ticket[trackid]
$hesklang[subject]: ".html_entity_decode($my_ticket['subject'])."
$hesklang[status]: ".$my_status[$my_ticket['status']]."
$hesk_settings[hesk_url]/ticket.php?track=$my_ticket[trackid]$email_param
";
}
/* Get e-mail message for customer */
$msg = hesk_getEmailMessage('forgot_ticket_id','',0,0,1);
$msg = str_replace('%%NAME%%',$name,$msg);
$msg = str_replace('%%NUM%%',$num,$msg);
$msg = str_replace('%%LIST_TICKETS%%',$tid_list,$msg);
echo 'LISTA ' .$tid_list;
exit();
$msg = str_replace('%%SITE_TITLE%%',$hesk_settings['site_title'],$msg);
$msg = str_replace('%%SITE_URL%%',$hesk_settings['site_url'],$msg);
Ricardo Gaspar