<div dir="ltr"><br><br><div class="gmail_quote"><br><br><div dir="ltr">Hi all,<br><br>i installed yarts 0.3 with RT3.8.1 but that doesn't work, when i try to connect to <a href="http://yarts.localdomain" target="_blank">http://yarts.localdomain</a>, i found that:<br>
<br>Days Difference    = '. floor($sec/(60*60*24));
//echo '<br>Hours Difference   = '. floor($sec/(60*60));
//echo '<br>Minutes Difference = '. floor($sec/60);

  return round($sec/(60*60), 2).'h';

}


//////////////////////////////////////////////////////////////////////////////////////////////////// ?>

');
}

if ($yarts_css != "") {
  print('');
}

///////////////////////////////////////////////////////////////////////////////////////////////// ?>

    
  
    <h1>yarts: </h1>




  <form method="get" target="_blank" onsubmit="return window.confirm("Ces informations seront envoyées vers une page externe. \nVoulez-vous continuer ?");">" onchange="submit()">
    Queue:
    <select name="queue" size="1">
      <option value="0">All</option>
      </select>
    <br>
    Include disabled queues:
    <input name="enabledisabled" value="1" type="checkbox">>
    <input value="Go!" type="submit">
  </form>

  <h4>Tickets created</h4>
  ');
      for ($month = 1; $month <=12; $month++) {
        if ($cnt = $count_monthly[$month][$year]) {
          print("");
        }
      }
      print('');
      print('");
    }
  }


?>


    <table>
    <tbody><tr><th>Year</th><th>Jan</th><th>Feb</th><th>Mar</th><th>Apr</th><th>May</th><th>Jun</th><th>Jul</th><th>Aug</th><th>Sep</th><th>Oct</th><th>Nov</th><th>Dec</th><th>Average</th><th>Total</th></tr>

<tr><td>'.$year.'</td><td>$cnt<br>");
          $months_in_year++;
          $total_months++;
        } else {
          print("</td><td>$empty_cell</td><td>'.round($count_yearly[$year]/$months_in_year, 2).'</td><td>'.$count_yearly[$year]."</td></tr><tr><td>Total</td><td></td><td>
</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>

</td><td>

</td></tr>
  </tbody></table>


  <h4>Average ticket resolution time (hours)</h4>
  ');
      for ($month = 1; $month <=12; $month++) {
        if ($res_time = $restime_monthly[$month][$year])
          print("");
      }
      print('\n");
    }
  }


?>

    <table>
    <tbody><tr><th>Year</th><th>Jan</th><th>Feb</th><th>Mar</th><th>Apr</th><th>May</th><th>Jun</th><th>Jul</th><th>Aug</th><th>Sep</th><th>Oct</th><th>Nov</th><th>Dec</th><th>Total</th></tr>

<tr><td>'.$year.'</td><td>".seconds_to_hours($res_time)."<br>");
        else
          print("</td><td>$empty_cell</td><td>'.seconds_to_hours($restime_yearly[$year])."</td></tr><tr><td>Total</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>
</td><td></td><td></td><td></td><td>

</td></tr></tbody></table><br><br><br>Please can you help me,<br><br>Thank you,<br><br>Hanane<br></div>
</div><br></div>