<?php
if (isset($past_minutes))
{
$divider=$_POST['divider'];//use raw post data to save html tags - should be ok as input from admin!
$dbc = dbc::instance();
$q="UPDATE wmm_logged_in_config
SET none_msg = '$none_msg',
divider = '$divider',
display_total = '$display_total',
past_minutes ='$past_minutes'
WHERE id=1 LIMIT 1" ;
$result = $dbc->prepare($q);
$result = $dbc->execute($result);
$feedback->setShow("Changes saved");
}
include_once("logged_in_users.html");
?>