Loving SimpleDesk? Help us spread the word!
$alt = false;
$last_id_member = -1;
while ($reply = $context['get_replies']())
{
if ($last_id_member != $reply['id_member'])
$alt = !$alt;
$last_id_member = $reply['id_member'];
if (!empty($reply['is_new']))
echo '
<a id="new"></a>';
echo '
<div class="', $alt? 'description' : 'information', ' shd_reply', (!empty($context['ticket']['display_recycle']) && $reply['message_status'] == MSG_STATUS_DELETED ? ' errorbox' : ''), '" id="msg', $reply['id'], '">
while ($reply = $context['get_replies']())
{
if (!empty($reply['is_new']))
echo '
<a id="new"></a>';
echo '
<div class="description shd_reply', (!empty($context['ticket']['display_recycle']) && $reply['message_status'] == MSG_STATUS_DELETED ? ' errorbox' : ''), '" id="msg', $reply['id'], '">
$alt = false;
while ($reply = $context['get_replies']())
{
$alt = !$alt;
if (!empty($reply['is_new']))
echo '
<a id="new"></a>';
echo '
<div class="', $alt? 'description' : 'information', ' shd_reply', (!empty($context['ticket']['display_recycle']) && $reply['message_status'] == MSG_STATUS_DELETED ? ' errorbox' : ''), '" id="msg', $reply['id'], '">
Page created in 0.024 seconds with 14 queries.