$message) { $action_title = $_POST['action_title'][$index]; $action_description = $_POST['action_description'][$index]; $action_message = $_POST['action_message'][$index]; mysqli_query($conn, "INSERT INTO actions VALUES(null, '".$action_title."', '".$action_description."',".$action_message.")"); $actions[$index] = mysqli_insert_id($conn); } } $q = mysqli_query($conn, "INSERT INTO messages VALUES(null, '".$_POST['session']."', '".convert($_POST['title'])."', '".convert_mce($text[0])."', '".convert_mce($text[1])."', '$imagePath', '".implode(",", $actions)."', '".$_POST['hours'].":".$_POST['minutes'].":".$_POST['seconds']."', ".$_POST['progress'].")"); echo ""; } else { ?>
Session
".$rs['name']."\n"; } ?>
Message title
Message text
Image
Actions
Label
Description
Link to
".$rm['title']."\n"; } ?>
Schedule
Not scheduled
Schedule
Start after
Start after (HH:MM:SS)
".sprintf("%02d", $i)."\n"; } ?>
".sprintf("%02d", $i)."\n"; } ?>
".sprintf("%02d", $i)."\n"; } ?>
Progress
0
$i\n"; } ?>
Not scheduled
Add message