예제 #1
0
<?php

require_once 'autoload.php';
$meet = new Meeting();
$_SESSION['LAST_ACTIVITY'] = time();
if (isset($_POST['pointsdiscussed'])) {
    //print_r($_POST);
    if (isset($_POST['pointsdiscussed'])) {
        $meet->setValue('pointsdiscussed', $_POST['pointsdiscussed']);
    }
    if (isset($_POST['agenda'])) {
        $meet->setValue('agenda', $_POST['agenda']);
    }
    if (isset($_POST['Conductedby'])) {
        $meet->setValue('conductedby', $_POST['Conductedby']);
    }
    if (isset($_POST['meetingdatedb'])) {
        $meet->setValue('meetingdatedb', $_POST['meetingdatedb']);
    }
    if (isset($_POST['opid'])) {
        $meet->setValue('participants', implode(',', $_POST['opid']));
    }
    if (isset($_POST['meetingpointid'])) {
        $meet->setValue('meetingpointid', $_POST['meetingpointid']);
        $mpid = $_POST['meetingpointid'];
    } else {
        $mpid = '';
    }
    if (isset($_POST['Meeting_ID'])) {
        $meet->setValue('meetingid', $_POST['Meeting_ID']);
        $mid = $_POST['Meeting_ID'];