* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU Affero General Public License for more details. * * * * You should have received a copy of the GNU Affero General Public License * * along with this program. If not, see <http://www.gnu.org/licenses/>. * * * *******************************************************************************/ global $SqlDatabase, $args, $User; // // Status 0: pending // Status 1: verified // Status 2: fixed // include_once 'php/friend.php'; $d = new DbTable('FIssue'); if (!$d->Load()) { $SqlDatabase->query(' CREATE TABLE FIssue ( `ID` bigint(20) auto_increment NOT NULL, `IssueID` bigint(20) NOT NULL default \'0\', `UserID` bigint(20) default NULL, `Subject` varchar(255), `ShortDesc` text, `Description` text, `Reproduce` text, `Status` int(11), `IsDeleted` tinyint(4), `DateCreated` datetime, `DateModified` datetime, PRIMARY KEY(`ID`)