-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Apr 13, 2026 at 12:42 PM
-- Server version: 10.11.16-MariaDB
-- PHP Version: 8.4.19

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `invtecsa_thadbse`
--

-- --------------------------------------------------------

--
-- Table structure for table `account`
--

CREATE TABLE `account` (
  `id` int(11) NOT NULL,
  `acc_H` varchar(200) NOT NULL,
  `memID` text NOT NULL,
  `aType` text NOT NULL,
  `aName` text NOT NULL,
  `currency` text NOT NULL,
  `symbol` text NOT NULL,
  `aBal` float(10,2) NOT NULL,
  `dateOpened` datetime NOT NULL,
  `COT` text NOT NULL,
  `tax` text NOT NULL,
  `antiTerror` text NOT NULL,
  `demurrage` text NOT NULL,
  `aNum` text NOT NULL,
  `cLimit` float(10,2) NOT NULL,
  `status` varchar(5) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `account`
--

INSERT INTO `account` (`id`, `acc_H`, `memID`, `aType`, `aName`, `currency`, `symbol`, `aBal`, `dateOpened`, `COT`, `tax`, `antiTerror`, `demurrage`, `aNum`, `cLimit`, `status`) VALUES
(16, 'f_Acc', 'johnmark001', 'CURRENT ACCOUNT', 'JOHN MARK', 'United States Dollar', '$', 20000000.00, '2026-03-23 00:00:00', '1232', '', '', '', '098110223', 0.00, '0'),
(15, 'f_Acc', 'Adamid', 'Savings', 'Savings', 'United States Dollar', '$', 100000.00, '2026-04-04 00:01:00', '20948', '', '', '', '34875859838', 0.00, '0');

-- --------------------------------------------------------

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int(11) NOT NULL,
  `fullname` text NOT NULL,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `email` text NOT NULL,
  `contact` text NOT NULL,
  `cDate` datetime NOT NULL,
  `LLogin` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `fullname`, `username`, `password`, `email`, `contact`, `cDate`, `LLogin`) VALUES
(1, 'MAIN ADMIN', 'admin', 'tctfa111', 'admin@tctfa.com', '', '2026-03-06 07:31:54', '2026-03-23 08:11:08');

-- --------------------------------------------------------

--
-- Table structure for table `bene`
--

CREATE TABLE `bene` (
  `bid` int(11) NOT NULL,
  `memID` text NOT NULL,
  `beneType` text NOT NULL,
  `bankName` text NOT NULL,
  `accName` text NOT NULL,
  `accType` text NOT NULL,
  `accNo` text NOT NULL,
  `iban` text NOT NULL,
  `routNo` text NOT NULL,
  `swfCode` text NOT NULL,
  `remark` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `bene`
--

INSERT INTO `bene` (`bid`, `memID`, `beneType`, `bankName`, `accName`, `accType`, `accNo`, `iban`, `routNo`, `swfCode`, `remark`) VALUES
(1, '7890782234', 'International', 'fnb', 'ima', 'savings', '788823410', '788823410', '6799023', 'FNBZAJJ', 'INSURRANCE'),
(2, '4337822310979318', 'International', 'AMERIKA SAMOA BANK', 'Fanette Svanlaugsson', 'CURRENT', '4337822273694904', '4337822273694904', '4337822273694904', 'AMESAXXX', 'PAYMENT'),
(3, '4337822310979318', 'Local', 'MASTERCARD', 'Evald Valdimarsdttir', 'Current Account', '5430411538785492', '5430411538785492', '5430411538785492', 'NBSDRXXX', 'PAYMENT'),
(4, '4389580000791925', 'International', 'FNB', 'POWER HOLDINGS', 'CURRENT', '90086766654', 'IBANK27293764646474849', '46474849', 'FIRNZAJJ', 'PERSONAL FUNDS'),
(5, '6120106119416805', 'International', 'Standard Bank', 'Freshgrow Agritech Pty Ltd', 'Cheque', '10166240379', '051001', '', 'SBZAZAJJ', 'Business'),
(6, '6120106119416805', 'Local', 'Standard Bank', 'Cangonamix Pty Ltd', 'Cheque', '10163178346', '051001', '', 'SBZAZAJJ', 'Business'),
(7, 'Adamid', 'Local', 'absa', 'savings', 'savings', '98463789299', '234432', '2343', '34543', 'Bill'),
(8, 'johnmark001', 'Local', 'ABSA', 'HENRY JUNIOR', 'SAVINGS', '234001', 'WWD445', '123433', '1333', 'INSURANCE');

-- --------------------------------------------------------

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` int(11) NOT NULL,
  `memID` text NOT NULL,
  `subject` text NOT NULL,
  `content` text NOT NULL,
  `attachedFile` text DEFAULT NULL,
  `date` datetime NOT NULL,
  `sender` text NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `messages`
--

INSERT INTO `messages` (`id`, `memID`, `subject`, `content`, `attachedFile`, `date`, `sender`, `status`) VALUES
(11, 'Adamid', 'C.O.T Enquiry', 'KINDLY INFORM COT', NULL, '2026-03-23 07:22:57', 'Adamid', 1);

-- --------------------------------------------------------

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `memID` text NOT NULL,
  `sA1` text NOT NULL,
  `sA2` text NOT NULL,
  `sA3` text NOT NULL,
  `eP` text NOT NULL,
  `eB` text NOT NULL,
  `eT` text NOT NULL,
  `e3D` text NOT NULL,
  `eEa` text NOT NULL,
  `eSa` text NOT NULL,
  `b2` text NOT NULL,
  `b3` text NOT NULL,
  `b4` text NOT NULL,
  `b5` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `memID`, `sA1`, `sA2`, `sA3`, `eP`, `eB`, `eT`, `e3D`, `eEa`, `eSa`, `b2`, `b3`, `b4`, `b5`) VALUES
(10, 'johnmark001', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'yes', 'no', 'yes', 'no', 'no', 'no'),
(9, 'Adamid', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 'yes', 'yes', 'yes', 'yes');

-- --------------------------------------------------------

--
-- Table structure for table `trans`
--

CREATE TABLE `trans` (
  `tid` int(11) NOT NULL,
  `memID` text NOT NULL,
  `tDate` datetime NOT NULL,
  `pAccno` text NOT NULL,
  `rAccno` text NOT NULL,
  `amount` float NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'DEBIT',
  `status` varchar(200) NOT NULL DEFAULT 'pending'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `trans`
--

INSERT INTO `trans` (`tid`, `memID`, `tDate`, `pAccno`, `rAccno`, `amount`, `type`, `status`) VALUES
(1, '7890782234', '2021-03-15 07:13:47', '', '67112093423', 37600000, 'CREDIT', 'complete'),
(2, '7890782234', '2021-03-15 08:37:19', '', '62145509651', 890000, 'CREDIT', 'complete'),
(3, '4337822310979318', '2021-03-21 11:13:13', '', '6734120900', -559140, 'CREDIT', 'complete'),
(4, '4337822310979318', '2021-03-21 11:14:07', '', '6734120900', 859140, 'CREDIT', 'complete'),
(5, '4337822310979318', '2021-03-21 11:14:30', '6734120900', '5430411538785492', 1890, 'DEBIT', 'complete'),
(6, '4337822310979318', '2021-03-30 04:24:05', '6734120900', '5430411538785492', 89000, 'DEBIT', 'complete'),
(7, '4572866836378202', '2021-04-07 10:15:28', '', '8906212241', 0, 'CREDIT', 'complete'),
(8, '4389580000791925', '2022-07-29 03:34:46', '', '4389580000791925', 0, 'CREDIT', 'complete'),
(9, '4389580000791925', '2022-07-29 03:40:49', '', '4389580000791925', 890, 'CREDIT', 'complete'),
(10, '4389580000791925', '2022-07-29 03:41:37', '', '4389580000791925', 889110, 'CREDIT', 'complete'),
(11, '4389580000791925', '2022-07-29 03:44:24', '4389580000791925', '90086766654', 87600, 'DEBIT', 'cot'),
(12, '4389580000791925', '2022-07-30 11:55:18', '4389580000791925', '90086766654', 4567, 'DEBIT', 'cot'),
(13, '4389580000791925', '2022-08-12 01:39:13', '4389580000791925', '90086766654', 78999, 'DEBIT', 'cot'),
(14, '4389580000791925', '2022-08-12 04:28:26', '4389580000791925', '90086766654', 9088, 'DEBIT', 'tax'),
(15, 'Adamid', '2026-03-05 01:49:42', '34875859838', '98463789299', 100, 'DEBIT', 'cot'),
(16, 'JIDESOUTH102', '2026-03-10 06:56:33', '', '2567810019', 25, 'CREDIT', 'complete'),
(17, 'JIDESOUTH102', '2026-03-10 07:09:23', '', '1234567', 2500000000, 'CREDIT', 'complete'),
(18, 'JIDESOUTH102', '2026-03-23 07:09:47', '', '1234567', 25000000, 'CREDIT', 'complete'),
(19, 'Adamid', '2026-03-23 07:21:00', '34875859838', '98463789299', 20000, 'DEBIT', 'cot'),
(20, 'johnmark001', '2026-03-23 07:57:10', '', '', 20, 'CREDIT', 'complete'),
(21, 'johnmark001', '2026-03-23 08:01:16', '', '', 20000000, 'CREDIT', 'complete'),
(22, 'johnmark001', '2026-03-23 08:10:24', '098110223', '234001', 20000, 'DEBIT', 'cot');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `uID` int(11) NOT NULL,
  `fn` text DEFAULT NULL,
  `ln` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `townCity` text DEFAULT NULL,
  `state` text DEFAULT NULL,
  `country` text DEFAULT NULL,
  `zip` text DEFAULT NULL,
  `pNumber` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `gender` text DEFAULT NULL,
  `nation` text DEFAULT NULL,
  `occu` text DEFAULT NULL,
  `memID` text DEFAULT NULL,
  `pass` text DEFAULT NULL,
  `cDate` datetime DEFAULT NULL,
  `LLogin` datetime DEFAULT NULL,
  `picture` text DEFAULT NULL,
  `rat` text DEFAULT NULL,
  `reCur` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `token` text DEFAULT NULL,
  `close` int(11) NOT NULL DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`uID`, `fn`, `ln`, `address`, `townCity`, `state`, `country`, `zip`, `pNumber`, `email`, `dob`, `gender`, `nation`, `occu`, `memID`, `pass`, `cDate`, `LLogin`, `picture`, `rat`, `reCur`, `status`, `token`, `close`) VALUES
(15, 'John', 'Mark', '12 CHURCH STREET', 'JOHANNESBURG', 'GAUTENG', 'South Africa', '1816', '0670123073', 'john.mark202020@mail.com', '2026-03-23', 'male', 'SOUTH AFRICA', 'TEACHER', 'johnmark001', 'NNENNA12', '2026-03-23 00:00:00', '2026-03-23 08:05:28', '64528.jpg', NULL, NULL, '1', '1201', 1),
(11, 'Adam', 'Guyy', '1 cpt rd', 'Cape Town', 'Cape Town', 'South Africa', '10001', '0720911880', 'testinmail@gmail.com', '1999-07-07', 'male', 'South African', 'Electrician', 'Adamid', 'Adam123', '2026-03-05 00:00:00', '2026-03-23 07:19:56', NULL, NULL, NULL, '1', '123456', 1);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `account`
--
ALTER TABLE `account`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bene`
--
ALTER TABLE `bene`
  ADD PRIMARY KEY (`bid`);

--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `trans`
--
ALTER TABLE `trans`
  ADD PRIMARY KEY (`tid`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`uID`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `account`
--
ALTER TABLE `account`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `bene`
--
ALTER TABLE `bene`
  MODIFY `bid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `trans`
--
ALTER TABLE `trans`
  MODIFY `tid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `uID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
