P2P Кредитная Биржа 1:1
shamil918

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
shamil918 разместил(а) новый скрипт:

P2P Кредитная Биржа 1:1 - P2P Кредитная Биржа 1:1

Инвестиционно-игровой модуль «P2P Кредитная Биржа 1:1 (Credit Network)» с арбитражем ставок и авто-выплатами для FastCore
Готовый P2P-модуль взаимного кредитования для буксов, САР и экономических игр на движке FastCore (по механике популярной биржи Webtransfer). Пользователи выдают и берут займы друг у друга на основной баланс money_p, зарабатывают на ежедневных процентах или арбитраже ставок, а администратор получает тройную монетизацию с комиссий без риска увода...

Посмотреть страницу этого скрипта...
 

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
Hi! Thank you for your purchase. Follow these 3 simple steps to install the P2P Credit Network module on your FastCore website (no AJAX files or Cron jobs required):
Step 1: Run the SQL Queries (phpMyAdmin → SQL)

Open your database in phpMyAdmin, go to the SQL tab, paste the following queries, and click Go:
sql
ALTER TABLE `db_users`
ADD COLUMN `loan_balance` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_pool` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_profit` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_deals` int(11) NOT NULL DEFAULT 0;

CREATE TABLE `db_loan_orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`username` varchar(50) NOT NULL,
`type` varchar(10) NOT NULL,
`source` varchar(10) NOT NULL DEFAULT 'balance',
`amount` decimal(14,4) NOT NULL,
`daily_rate` decimal(6,2) NOT NULL,
`days` int(11) NOT NULL,
`status` varchar(15) NOT NULL DEFAULT 'open',
`created_at` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE `db_loan_contracts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) NOT NULL,
`lender_id` int(11) NOT NULL,
`lender_name` varchar(50) NOT NULL,
`lender_source` varchar(10) NOT NULL DEFAULT 'balance',
`borrower_id` int(11) NOT NULL,
`borrower_name` varchar(50) NOT NULL,
`amount` decimal(14,4) NOT NULL,
`daily_rate` decimal(6,2) NOT NULL,
`days` int(11) NOT NULL,
`days_paid` int(11) NOT NULL DEFAULT 0,
`next_payout` int(11) NOT NULL,
`end_time` int(11) NOT NULL,
`status` varchar(15) NOT NULL DEFAULT 'active',
`created_at` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

Используйте код с осторожностью.

Step 2: Upload the 3 Module Files
Upload the files from the archive into the matching folders on your server:
  • inc/loans_engine.php → into /inc/
  • pages/user/loans.php → into /pages/user/
  • pages/user/loans_create.php → into /pages/user/
Step 3: Add Routes & Menu Link
  1. Open your router file (where /user/... routes are defined) and add these 2 lines:
php
'/user/loans' => 'loans.php',
'/user/loans_create' => 'loans_create.php',

Используйте код с осторожностью.

  1. Add a link to /user/loans in your user sidebar menu.
Done! Everything works automatically (daily interest payouts and contract settlements run automatically when users open the exchange). Let me know if you need any help!
 

santoshshiva

Местный
Участник
 
 
 
 
Sir SQL is showing error
 

Вложения

  • 612144.jpg
    612144.jpg
    9 МБ · Просмотры: 19

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
Hi! In your database (gainhegd_digiweb), the users table has a different prefix instead of db_users (for example, users or fc_users).
  1. Please check the exact name of your users table in the left sidebar of phpMyAdmin.
  2. Replace db_users with your actual users table name in the query and run it again:
sql


ALTER TABLE `YOUR_USERS_TABLE_NAME`
ADD COLUMN `loan_balance` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_pool` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_profit` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN `loan_deals` int(11) NOT NULL DEFAULT 0;
 

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
Hi! Here is the complete, error-free SQL script for the P2P Credit Network module.
Important Note:
If your users table has a different name/prefix instead of db_users (for example, users or fc_users), simply replace db_users in the first query with your actual users table name.
Open phpMyAdmin → select your database → click the "SQL" tab, paste all of the code below, and click Go:
sql
-- 1. Add P2P Loan columns to your users table (replace `db_users` if your prefix is different)
ALTER TABLE `db_users`
ADD COLUMN IF NOT EXISTS `loan_balance` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN IF NOT EXISTS `loan_pool` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN IF NOT EXISTS `loan_profit` decimal(14,4) NOT NULL DEFAULT 0.0000,
ADD COLUMN IF NOT EXISTS `loan_deals` int(11) NOT NULL DEFAULT 0;
 

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
Hi! According to the rules of this marketplace, I am not allowed to share my Telegram or external contact links. Please message me directly here in the site chat anytime — I will gladly help you with everything!
Also, there is a live demo site available for preview — the link is listed right on the product page where you can purchase the script.
 

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
If you want to contact me or test the full module live, go to the product page where my module is listed — you will see a "Demo" button/link there. Click on it, and it will redirect you directly to my live demo website where you can message me!
 

shamil918

Известный
Топ участник
 
 
 
 
 
 
 
 
 
Сверху