<?php

if (!defined('ROOT')) exit('Can\'t Access !');

class table_announcement extends table_mode {
    function add_before(act $act=null) {
        front::$post['adddate'] = date('Y-m-d H:i:s');
    }
  
    function save_before() {
		front::$post['content'] = stripcslashes(htmlspecialchars_decode(front::$post['content']));
    }
}