array( "Back to accounting" => "accounting-main.php" ), )); if ($_POST['frmaction'] == "add") { ?>
Name
Link to policy
Track
Period
Message Count Limit
Message Cumulative Size Limit Kbyte
Verdict
Data
Stop processing here
Comment
Policy ID cannot be empty
Name cannot be empty
Track cannot be empty
Stop procesing here field cannot be empty
prepare(" INSERT INTO ${DB_TABLE_PREFIX}accounting ( PolicyID, Name, Track, AccountingPeriod, MessageCountLimit, MessageCumulativeSizeLimit, Verdict, Data, LastAccounting, Comment, Disabled ) VALUES (?,?,?,?,?,?,?,?,?,?,1)"); $res = $stmt->execute(array( $_POST['accounting_policyid'], $_POST['accounting_name'], $accountingTrack, $_POST['accounting_period'], $_POST['accounting_messagecountlimit'], $_POST['accounting_messagecumulativesize'], $_POST['accounting_verdict'], $_POST['accounting_data'], $_POST['accounting_lastaccounting'], $_POST['accounting_comment'] )); if ($res) { ?>
Accounting created
Failed to create accounting
errorInfo()) ?>
Invalid invocation