?> <div class="right" id="right-nav"> <h2>Recent Conversations</h2> <?php if (isset($_REQUEST['purge-old'])) { purge_old_logs(); } ?> <p><button type="submit" name="purge-old" value="month">Purge Old Log Entries</button></p> <?php $sessions = JxBotConverse::latest_sessions(); JxWidget::grid(array(array('id' => 0, 'visible' => false, 'key' => true), array('id' => 1, 'label' => 'Client', 'link' => '?page=chat&subpage=logs&convo=$$')), $sessions); ?> </div> <div id="centre-content"> <h2>Transcript</h2> <style type="text/css"> .log { line-height: 1.7em; } .log-cl