nuriiptv
@@ -0,0 +1 @@
|
||||
3331 132412624
|
||||
@@ -0,0 +1,128 @@
|
||||
<?php
|
||||
|
||||
require 'includes/check.php';
|
||||
$ifofuser_check = $_SESSION['id'];
|
||||
$jsondata_admin = file_get_contents('./includes/appsnscripts.json');
|
||||
$data_admin = json_decode($jsondata_admin, true);
|
||||
$json_admin = $data_admin['info'];
|
||||
$col_admin = $json_admin['oo'];
|
||||
|
||||
if ($col_admin == '0') {
|
||||
header('Location: app.php');
|
||||
}
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
$db177 = new SQLite3('./api/user_logs.db');
|
||||
$db177->exec('CREATE TABLE IF NOT EXISTS logging(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, appid TEXT, version TEXT, device TEXT, pkg TEXT, app TEXT, cid TEXT, uid TEXT, status TEXT, d TEXT, time TEXT, last_online TEXT, ping TEXT, ip TEXT)');
|
||||
$res176 = $db177->query('SELECT * FROM logging');
|
||||
|
||||
if (isset($_GET['delete'])) {
|
||||
$db1->exec('DELETE FROM logging WHERE id=' . $_GET['delete']);
|
||||
header('Location: all_users.php');
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo '<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">' . "\n";
|
||||
echo ' <div class="modal-dialog">' . "\n";
|
||||
echo ' <div class="modal-content">' . "\n";
|
||||
echo ' <div class="modal-header">' . "\n";
|
||||
echo ' <h2>Confirm</h2>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="modal-body">' . "\n";
|
||||
echo ' Do you really want to delete?' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="modal-footer">' . "\n";
|
||||
echo ' <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>' . "\n";
|
||||
echo ' <a class="btn btn-danger btn-ok">Delete</a>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo '</div>' . "\n";
|
||||
echo '<main role="main" class="col-15 pt-4 px-5"><div class="row justify-text-center"><div class="chartjs-size-monitor" style="position:absolute ; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;"><div class="chartjs-size-monitor-expand" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="chartjs-size-monitor-shrink" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div></div>' . "\n";
|
||||
echo ' <div id="main">' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class=" h3 mb-1 text-gray-800"> All User Management</h1>' . "\n";
|
||||
echo ' <a button class="btn btn-primary btn-icon-split" id="button" href="./users.php">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-arrow-left"></i></span><span class="text"> ' . $numRows_count . ' Online Users</span>' . "\n";
|
||||
echo ' </button></a>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\t\t" . '<div class="table-responsive">' . "\n";
|
||||
echo "\t\t\t" . '<table class="table table-striped table-sm">' . "\n";
|
||||
echo "\t\t\t" . '<thead class= "text-primary">' . "\n";
|
||||
echo "\t\t\t\t" . '<tr>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>User ID</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>IP Address</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Online</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Last Online</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>App ID</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Version</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Device</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Package Name</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>App Name</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Customer ID</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>First Registered</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Last Connection</th>' . "\n";
|
||||
echo "\t\t\t\t" . '<th>Delete</th>' . "\n";
|
||||
echo "\t\t\t\t" . '</tr>' . "\n";
|
||||
echo "\t\t\t" . '</thead>' . "\n";
|
||||
|
||||
while ($row177 = $res176->fetchArray()) {
|
||||
$id123 = $row177['id'];
|
||||
$userid123 = $row177['uid'];
|
||||
$appid123 = $row177['appid'];
|
||||
$status123 = $row177['status'];
|
||||
$version123 = $row177['version'];
|
||||
$device123 = $row177['device'];
|
||||
$app123 = $row177['app'];
|
||||
$pkg123 = $row177['pkg'];
|
||||
$cid123 = $row177['cid'];
|
||||
$time123 = $row177['time'];
|
||||
$last_online123 = $row177['last_online'];
|
||||
$ping123 = $row177['ping'];
|
||||
$ipadd123 = $row177['ip'];
|
||||
echo "\t\t\t" . '<tbody>' . "\n";
|
||||
echo "\t\t\t\t" . '<tr>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $userid123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $ipadd123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td><center>';
|
||||
|
||||
if ($status123 == 'yes') {
|
||||
echo '<span class="icon text-white-50"><i class="fas fa-fw fa fa-check"style="font-size:20px;color:green"></i></span>';
|
||||
}
|
||||
else {
|
||||
echo '<span class="icon text-white-50"><i class="fas fa-fw fa fa-times"style="font-size:20px;color:red"></i></span>';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t" . '<td>' . $last_online123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $appid123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $version123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $device123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $pkg123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $app123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $cid123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $time123 . '</td>' . "\n";
|
||||
echo "\t\t\t\t" . '<td>' . $ping123 . '</td>' . "\n";
|
||||
echo ' <td><a class="btn btn-icon" href="#" data-href="./all_users.php?delete=' . $id123 . '" data-toggle="modal" data-target="#confirm-delete"><span class="icon text-white-50"><i class="fas fa-fw fa fa-trash-o"style="font-size:20px;color:red"></i></span></a></td>' . "\n";
|
||||
echo "\t\t\t\t" . '</tr>' . "\n";
|
||||
echo "\t\t\t" . '</tbody>' . "\n";
|
||||
}
|
||||
|
||||
echo "\t\t\t" . '</table>' . "\n";
|
||||
echo "\t\t" . '</div>' . "\n";
|
||||
echo '</main>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
$jsondata = file_get_contents('./api/ann.json');
|
||||
$json = json_decode($jsondata, true);
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
|
||||
$announcement = $json['announcement'];
|
||||
$status = $json['status'];
|
||||
$channel = $json['channel'];
|
||||
$expire = $json['expire'];
|
||||
$interval = $json['interval'];
|
||||
$disappear = $json['disappear'];
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./api/ann.json');
|
||||
|
||||
if ($_POST['status'] == 'ACTIVE') {
|
||||
$success = '1';
|
||||
}
|
||||
else {
|
||||
$success = '0';
|
||||
}
|
||||
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
$replacementData = ['success' => $success, 'announcement' => $_POST['announcement'], 'status' => $_POST['status'], 'channel' => $_POST['channel'], 'expire' => $_POST['expire'], 'interval' => $_POST['interval'], 'disappear' => $_POST['disappear']];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_UNESCAPED_UNICODE);
|
||||
file_put_contents('./api/ann.json', $newJsonData);
|
||||
header('Location: announcement.php?message=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
$statusINACTIVE = ($json['status'] == 'INACTIVE' ? 'selected' : '');
|
||||
$statusACTIVE = ($json['status'] == 'ACTIVE' ? 'selected' : '');
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Announcement</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-6">' . "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-bullhorn"></i> Edit Announcement</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="announcement">' . "\n";
|
||||
echo ' <strong>Announcement:</strong> ' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo '<input class="form-control text-primary" id="announcement" name="announcement" value="' . $announcement . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="select">' . "\n";
|
||||
echo ' <strong> Status:</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <select class="select form-control text-primary text-primary" id="select" name="status">' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '<option value="INACTIVE" ' . $statusINACTIVE . '>INACTIVE</option>' . "\n";
|
||||
echo ' <option value="ACTIVE" ' . $statusACTIVE . '>ACTIVE</option>' . "\n";
|
||||
echo ' </select>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="channel">' . "\n";
|
||||
echo ' <strong>Channel: </strong>(All or Channel Name)</label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="channel" name="channel" value="' . $channel . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="date">' . "\n";
|
||||
echo ' <strong>Expiration:</strong> ' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input type="text" class="form-control text-primary" name="expire" placeholder="YYYY-MM-DD" id="datetimepicker" value="' . $expire . '">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="interval">' . "\n";
|
||||
echo ' <strong>Display Interval:</strong> (Minute)</label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="interval" name="interval" placeholder="0 min" value="' . $interval . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="disappear">' . "\n";
|
||||
echo ' <strong>Disappear: </strong>(Minute)<div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="disappear" name="disappear" placeholder="0 min" value="' . $disappear . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <br><br><br>' . "\n";
|
||||
include 'includes/footer.php';
|
||||
echo ' <script>' . "\n";
|
||||
echo '$(document).ready(function () {';
|
||||
echo '$(\'#flash-msg\').delay(3000).fadeOut(\'slow\');' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo ' </script>' . "\n";
|
||||
echo '</body>' . "\n";
|
||||
echo '</html>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,221 @@
|
||||
<?php
|
||||
|
||||
function real_ip()
|
||||
{
|
||||
$ip = 'undefined';
|
||||
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
||||
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
else if (isset($_SERVER['HTTP_CLIENT_IP'])) {
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
}
|
||||
}
|
||||
else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) {
|
||||
$ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
}
|
||||
else if (getenv('HTTP_CLIENT_IP')) {
|
||||
$ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
}
|
||||
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
date_default_timezone_set('Europe/London');
|
||||
$PING = date('d-m-Y H:i:s');
|
||||
$jsondata = file_get_contents('./ann.json');
|
||||
$json = json_decode($jsondata, true);
|
||||
$announcement = $json['announcement'];
|
||||
$ann_status = $json['status'];
|
||||
$ann_expire = $json['expire'];
|
||||
$ann_interval = $json['interval'];
|
||||
$ann_disappear = $json['disappear'];
|
||||
|
||||
if (isset($_GET['userid'])) {
|
||||
$UserID = $_GET['userid'];
|
||||
}
|
||||
|
||||
if (isset($_GET['cid'])) {
|
||||
$cid = $_GET['cid'];
|
||||
}
|
||||
|
||||
if (isset($_GET['aid'])) {
|
||||
$aid = $_GET['aid'];
|
||||
}
|
||||
|
||||
if (isset($_GET['l'])) {
|
||||
$lic = $_GET['l'];
|
||||
}
|
||||
|
||||
if (isset($_GET['b'])) {
|
||||
$bb = $_GET['b'];
|
||||
}
|
||||
|
||||
if (isset($_GET['a'])) {
|
||||
$app = $_GET['a'];
|
||||
}
|
||||
|
||||
if (isset($_GET['appid'])) {
|
||||
$appid = $_GET['appid'];
|
||||
}
|
||||
|
||||
if (isset($_GET['version'])) {
|
||||
$version = $_GET['version'];
|
||||
}
|
||||
|
||||
if (isset($_GET['device_type'])) {
|
||||
$device = $_GET['device_type'];
|
||||
}
|
||||
|
||||
if (isset($_GET['p'])) {
|
||||
$p = $_GET['p'];
|
||||
}
|
||||
|
||||
if (isset($_GET['an'])) {
|
||||
$a_name = $_GET['an'];
|
||||
}
|
||||
|
||||
if (isset($_GET['customerid'])) {
|
||||
$customer = $_GET['customerid'];
|
||||
}
|
||||
|
||||
if (isset($_GET['online'])) {
|
||||
$online = $_GET['online'];
|
||||
}
|
||||
|
||||
if (isset($_GET['did'])) {
|
||||
$did = $_GET['did'];
|
||||
}
|
||||
|
||||
if (isset($_GET['ans'])) {
|
||||
$LASTTIME = date('d-m-Y H:i:s');
|
||||
$Tag = $_GET['ans'];
|
||||
|
||||
if ($Tag == 'licv3') {
|
||||
echo bin2hex(openssl_encrypt(file_get_contents('./main.json'), 'AES-128-CBC', 'Anspanelskeymain', OPENSSL_RAW_DATA, 'Anspanelskeypara'));
|
||||
}
|
||||
|
||||
if ($Tag == 'connv2') {
|
||||
$TIME = date('d-m-Y H:i:s');
|
||||
$IPADDRESS = real_ip();
|
||||
|
||||
if (isset($_GET['userid'])) {
|
||||
$UserID = $_GET['userid'];
|
||||
}
|
||||
else {
|
||||
$UserID = '';
|
||||
}
|
||||
|
||||
$db1 = new SQLite3('./user_logs.db');
|
||||
$db1->exec('CREATE TABLE IF NOT EXISTS logging(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, appid TEXT, version TEXT, device TEXT, pkg TEXT, app TEXT, cid TEXT, uid TEXT, status TEXT, d TEXT, time TEXT, last_online TEXT, ping TEXT, ip TEXT)');
|
||||
$res1 = $db1->query('SELECT * FROM logging WHERE uid=\'' . $UserID . '\'');
|
||||
|
||||
while ($row5 = $res1->fetchArray()) {
|
||||
$app_id = $row5['appid'];
|
||||
}
|
||||
|
||||
if (empty($app_id)) {
|
||||
$db1->exec('INSERT INTO logging(appid, version, device, pkg, app, cid, uid, status, d, time, ping, ip) VALUES(\'' . $_GET['appid'] . '\', \'' . $_GET['version'] . '\', \'' . $_GET['device_type'] . '\', \'' . $_GET['p'] . '\',\'' . $_GET['an'] . '\', \'' . $_GET['customerid'] . '\', \'' . $_GET['userid'] . '\', \'' . $_GET['online'] . '\', \'' . $_GET['did'] . '\', \'' . $TIME . '\', \'' . $PING . '\', \'' . $IPADDRESS . '\')');
|
||||
}
|
||||
else if ($_GET['online'] == 'yes') {
|
||||
$db1->exec('UPDATE logging SET appid=\'' . $_GET['appid'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' version=\'' . $_GET['version'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' device=\'' . $_GET['device_type'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' pkg=\'' . $_GET['p'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' app=\'' . $_GET['an'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' cid=\'' . $_GET['customerid'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' status=\'' . $_GET['online'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' d=\'' . $_GET['did'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' last_online=\'' . $LASTTIME . '\',' . "\r\n\t\t\t\t\t\t\t" . ' ping=\'' . $PING . '\',' . "\r\n\t\t\t\t\t\t\t" . ' ip=\'' . $IPADDRESS . '\'' . "\r\n\t\t\t\t\t\t" . ' WHERE ' . "\r\n\t\t\t\t\t\t\t" . ' uid=\'' . $_GET['userid'] . '\'');
|
||||
}
|
||||
else {
|
||||
$db1->exec('UPDATE logging SET appid=\'' . $_GET['appid'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' version=\'' . $_GET['version'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' device=\'' . $_GET['device_type'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' pkg=\'' . $_GET['p'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' app=\'' . $_GET['an'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' cid=\'' . $_GET['customerid'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' status=\'' . $_GET['online'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' d=\'' . $_GET['did'] . '\',' . "\r\n\t\t\t\t\t\t\t" . ' ping=\'' . $PING . '\',' . "\r\n\t\t\t\t\t\t\t" . ' ip=\'' . $IPADDRESS . '\'' . "\r\n\t\t\t\t\t\t" . ' WHERE ' . "\r\n\t\t\t\t\t\t\t" . ' uid=\'' . $_GET['userid'] . '\'');
|
||||
}
|
||||
|
||||
$db = new SQLite3('./user_message.db');
|
||||
$res = $db->query('SELECT * ' . "\r\n\t\t\t\t\t\t" . 'FROM messages ' . "\r\n\t\t\t\t\t\t" . 'WHERE userid=\'' . $UserID . '\'');
|
||||
|
||||
while ($row = $res->fetchArray()) {
|
||||
$message = $row['message'];
|
||||
$userid = $row['userid'];
|
||||
$status = $row['status'];
|
||||
$expire = $row['expire'];
|
||||
}
|
||||
|
||||
if (empty($message)) {
|
||||
echo '{"tag":"connv2","success":"1","api_ver":"1.0v","message":"","msgid": "1646","msg_status":"INACTIVE","msg_expire": "2021-01-30 05:00:00","announcement": "' . $announcement . '","ann_status": "' . $ann_status . '","ann_expire": "' . $ann_expire . '","ann_interval": "' . $ann_interval . '","ann_disappear": "' . $ann_disappear . '"}';
|
||||
}
|
||||
else {
|
||||
echo '{"tag":"connv2","success": "1","api_ver":"1.0v","message":"' . $message . '","msgid": "1646","msg_status":"' . $status . '","msg_expire":"' . $expire . '","announcement":"' . $announcement . '","ann_status":"' . $ann_status . '","ann_expire":"' . $ann_expire . '","ann_interval":"' . $ann_interval . '","ann_disappear":"' . $ann_disappear . '"}';
|
||||
}
|
||||
}
|
||||
|
||||
if ($Tag == 'whatsup') {
|
||||
echo '{' . "\r\n\t\t\t" . '"tag":"whatsup",' . "\r\n\t\t\t" . '"success":"0",' . "\r\n\t\t\t" . '"api_ver":"1.0v",' . "\r\n\t\t\t" . '"whatsup":"no"' . "\r\n\t\t" . '}';
|
||||
}
|
||||
|
||||
if ($Tag == 'gfilter_n') {
|
||||
echo '{"tag":"gfilter_n","success":"0","api_ver":"1.0v","status":"No","filter":[]}';
|
||||
}
|
||||
|
||||
if ($Tag == 'vpnconfigV2') {
|
||||
if (isset($cid)) {
|
||||
$db = new SQLite3('appsnscriptspanelsvpn.db');
|
||||
$res = $db->query('SELECT * FROM vpn');
|
||||
|
||||
while ($row = $res->fetchArray()) {
|
||||
$vpn_status = $row['vpn_status'];
|
||||
}
|
||||
|
||||
if (empty($vpn_status)) {
|
||||
$ansvpn = '{"tag":"ERROR","success":"0","api_ver":"1.0v","msg":"JSON ERROR"}';
|
||||
}
|
||||
else {
|
||||
while ($rows = $res->fetchArray(SQLITE3_ASSOC)) {
|
||||
$data[] = $rows;
|
||||
}
|
||||
|
||||
$ans = json_encode($data);
|
||||
$ansvpn = '{"tag":"vpnconfigV2","success":"1","api_ver":"1.0v","vpnconfigs":' . $ans . '}';
|
||||
}
|
||||
|
||||
echo bin2hex(openssl_encrypt($ansvpn, 'AES-128-CBC', 'Anspanelskeymain', OPENSSL_RAW_DATA, 'Anspanelskeypara'));
|
||||
}
|
||||
else {
|
||||
echo '{"tag":"ERROR","success":"0","api_ver":"1.0v","msg":"JSON ERROR"}';
|
||||
}
|
||||
}
|
||||
|
||||
if ($Tag == 'intro') {
|
||||
$real_file_location_path_or_url = (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] !== 'off') ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF'], 2) . '/intro.mp4';
|
||||
ob_start();
|
||||
|
||||
if (isset($_SERVER['HTTP_RANGE'])) {
|
||||
$opts['http']['header'] = 'Range: ' . $_SERVER['HTTP_RANGE'];
|
||||
}
|
||||
|
||||
$opts['http']['method'] = 'HEAD';
|
||||
$conh = stream_context_create($opts);
|
||||
$opts['http']['method'] = 'GET';
|
||||
$cong = stream_context_create($opts);
|
||||
$out[] = file_get_contents($real_file_location_path_or_url, false, $conh);
|
||||
$out[] = $http_response_header;
|
||||
ob_end_clean();
|
||||
array_map('header', $http_response_header);
|
||||
readfile($real_file_location_path_or_url, false, $cong);
|
||||
}
|
||||
|
||||
if ($Tag == 'checkupdate') {
|
||||
$jsondata1 = file_get_contents('./main.json');
|
||||
$data1 = json_decode($jsondata1, true);
|
||||
$json1 = $data1['app'];
|
||||
$apkurl1 = $json1['apkurl'];
|
||||
$version_code1 = $json1['version_code'];
|
||||
echo '{"tag":"checkupdate","success":"1","api_ver":"1.0v","version_code":"' . $version_code1 . '","apkurl":"' . $apkurl1 . '"}';
|
||||
}
|
||||
}
|
||||
else {
|
||||
include 'index.php';
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
{"tag":"ann","success":"1","api_ver":"1.0v","announcement":" ","status":"ACTIVE","channel":"","expire":"2023-10-02 00:30:00","interval":"1","disappear":"2"}
|
||||
@@ -0,0 +1,273 @@
|
||||
<?php
|
||||
|
||||
////Get User IP
|
||||
function real_ip() {
|
||||
$ip = 'undefined';
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
elseif (isset($_SERVER['HTTP_CLIENT_IP'])) $ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
} else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) $ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
elseif (getenv('HTTP_CLIENT_IP')) $ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
function get_os() {
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$os_platform = "Unknown OS Platform";
|
||||
$os_array = array(
|
||||
'/windows nt 10/i' => 'Windows 10',
|
||||
'/windows nt 6.3/i' => 'Windows 8.1',
|
||||
'/windows nt 6.2/i' => 'Windows 8',
|
||||
'/windows nt 6.1/i' => 'Windows 7',
|
||||
'/windows nt 6.0/i' => 'Windows Vista',
|
||||
'/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
|
||||
'/windows nt 5.1/i' => 'Windows XP',
|
||||
'/windows xp/i' => 'Windows XP',
|
||||
'/windows nt 5.0/i' => 'Windows 2000',
|
||||
'/windows me/i' => 'Windows ME',
|
||||
'/win98/i' => 'Windows 98',
|
||||
'/win95/i' => 'Windows 95',
|
||||
'/win16/i' => 'Windows 3.11',
|
||||
'/macintosh|mac os x/i' => 'Mac OS X',
|
||||
'/mac_powerpc/i' => 'Mac OS 9',
|
||||
'/linux/i' => 'Linux',
|
||||
'/ubuntu/i' => 'Ubuntu',
|
||||
'/iphone/i' => 'iPhone',
|
||||
'/ipod/i' => 'iPod',
|
||||
'/ipad/i' => 'iPad',
|
||||
'/android/i' => 'Android',
|
||||
'/blackberry/i' => 'BlackBerry',
|
||||
'/webos/i' => 'Mobile'
|
||||
);
|
||||
foreach ($os_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$os_platform = $value;
|
||||
}
|
||||
}
|
||||
return $os_platform;
|
||||
}
|
||||
|
||||
function Browser_type() {
|
||||
$user_agent= $_SERVER['HTTP_USER_AGENT'];
|
||||
$browser = "Unknown Browser";
|
||||
$browser_array = array(
|
||||
'/msie/i' => 'Internet Explorer',
|
||||
'/Trident/i' => 'Internet Explorer',
|
||||
'/firefox/i' => 'Firefox',
|
||||
'/safari/i' => 'Safari',
|
||||
'/chrome/i' => 'Chrome',
|
||||
'/edge/i' => 'Edge',
|
||||
'/opera/i' => 'Opera',
|
||||
'/netscape/i' => 'Netscape',
|
||||
'/maxthon/i' => 'Maxthon',
|
||||
'/konqueror/i' => 'Konqueror',
|
||||
'/ubrowser/i' => 'UC Browser',
|
||||
'/mobile/i' => 'Handheld Browser'
|
||||
);
|
||||
foreach ($browser_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$browser = $value;
|
||||
}
|
||||
}
|
||||
return $browser;
|
||||
}
|
||||
|
||||
function get_device(){
|
||||
$tablet_browser = 0;
|
||||
$mobile_browser = 0;
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));
|
||||
$mobile_agents = array(
|
||||
'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
|
||||
'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
|
||||
'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
|
||||
'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
|
||||
'newt','noki','palm','pana','pant','phil','play','port','prox',
|
||||
'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
|
||||
'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
|
||||
'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
|
||||
'wapr','webc','winw','winw','xda ','xda-');
|
||||
if (in_array($mobile_ua,$mobile_agents)) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
|
||||
$mobile_browser++;
|
||||
//Check for tablets on opera mini alternative headers
|
||||
$stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])?$_SERVER['HTTP_X_OPERAMINI_PHONE_UA']:(isset($_SERVER['HTTP_DEVICE_STOCK_UA'])?$_SERVER['HTTP_DEVICE_STOCK_UA']:''));
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
}
|
||||
if ($tablet_browser > 0) {
|
||||
// do something for tablet devices
|
||||
return 'Tablet';
|
||||
}
|
||||
else if ($mobile_browser > 0) {
|
||||
// do something for mobile devices
|
||||
return 'Mobile';
|
||||
}
|
||||
else {
|
||||
// do something for everything else
|
||||
return 'Computer';
|
||||
}
|
||||
}
|
||||
|
||||
///Use of Tor browser
|
||||
function IsTorExitPoint(){
|
||||
if (gethostbyname(ReverseIPOctets($_SERVER['REMOTE_ADDR']).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") {
|
||||
return 'True';
|
||||
}else{
|
||||
return 'False';
|
||||
}
|
||||
}
|
||||
function ReverseIPOctets($inputip){
|
||||
$ipoc = explode(".",$inputip);
|
||||
return $ipoc[3].".".$ipoc[2].".".$ipoc[1].".".$ipoc[0];
|
||||
}
|
||||
|
||||
//If geo ip fails so will script!!
|
||||
//
|
||||
//Get Geo IP
|
||||
$ipl = real_ip();
|
||||
$details = json_decode(file_get_contents("https://ipinfo.io/{$ipl}/json"));
|
||||
$country = $details->country;
|
||||
$state = $details->region;
|
||||
$city = $details->city;
|
||||
$isp = $details->org;
|
||||
$isp = preg_replace("/AS\d{1,}\s/","",$isp); //Remove AS##### from ISP name
|
||||
$loc = $details->loc;
|
||||
|
||||
|
||||
?>
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono|Montserrat:700");
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: radial-gradient( black 10%, #000000 99%);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
div {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
width: 70vw;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
margin: 0 auto;
|
||||
padding: 30px 30px 10px;
|
||||
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
P {
|
||||
font-family: "", monospace;
|
||||
color: #f5f5f5;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #1800f0;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #ffe600;
|
||||
}
|
||||
|
||||
j {
|
||||
color: #26c91a
|
||||
}
|
||||
|
||||
div a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
b {
|
||||
color: #09ff00;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #ff1e00;
|
||||
}
|
||||
|
||||
@keyframes slide {
|
||||
from {
|
||||
right: -100px;
|
||||
transform: rotate(360deg);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
right: 15px;
|
||||
transform: rotate(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<p><span>Message From The Egg</span>: <j>" </j><i>GET YOUR OWN SH!T !!!!!</i><j> "</j></p>
|
||||
<p><a>Access Denied !!! You Do Not Have The Permission To Access !!!</a></p>
|
||||
<p>>>>>> <span>Time Of Arrival</span>: <i><?php echo date('d-m-Y H:i:s')?></i></p>
|
||||
<p>>>>>> <span>IP Address</span>: <i><?php echo real_ip()?></i></p>
|
||||
<p>>>>>> <span>Country</span>: <i><?php echo $country?></i></p>
|
||||
<p>>>>>> <span>State</span>: <i><?php echo $state ?></i></p>
|
||||
<p>>>>>> <span>City</span>: <i><?php echo $city ?></i></p>
|
||||
<p>>>>>> <span>Location</span>: <i><?php echo $loc ?></i></p>
|
||||
<p>>>>>> <span>ISP</span>: <i><?php echo $isp ?></i></p>
|
||||
<p>>>>>> <span>Operating System</span>: <i><?php echo get_os() ?></i></p>
|
||||
<p>>>>>> <span>Browser</span>: <i><?php echo Browser_type() ?></i></p>
|
||||
<p>>>>>> <span>Device</span>: <i><?php echo get_device() ?></i></p>
|
||||
<p>>>>>> <span>Tor Browser</span>: <i><?php echo IsTorExitPoint() ?></i></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Logging Session And Recording Ip:</i> <j> " Completed . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Preparing to DDos Recorded Ip:</i> <j>" Successful . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <j>" </j><a>!!! You Will Be Blacklisted Shortly.... !!!</a><j> "</j></i></p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var str = document.getElementsByTagName('div')[0].innerHTML.toString();
|
||||
var i = 0;
|
||||
document.getElementsByTagName('div')[0].innerHTML = "";
|
||||
|
||||
setTimeout(function() {
|
||||
var se = setInterval(function() {
|
||||
i++;
|
||||
document.getElementsByTagName('div')[0].innerHTML = str.slice(0, i) + "|";
|
||||
if (i == str.length) {
|
||||
clearInterval(se);
|
||||
document.getElementsByTagName('div')[0].innerHTML = str;
|
||||
}
|
||||
}, 10);
|
||||
},0);
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{"tag":"licV3","success":"1","api_ver":"1.0v","which":"licV3","app":{"id":"399","appname":"NURI TV APK","customerid":"V1903","expire":"LIFETIME","version_code":"722","login_type":"login","portal":"","portal2":"","portal3":"","portal4":"","portal5":"","portal_name":" GİRİŞ 1","portal2_name":"","portal3_name":"","portal4_name":"","portal5_name":"","portal_vod":"no","portal_series":"no","apkurl":"https:\/\/forzaiptv.net\/FORZATV.apk","backupurl":"https:\/\/he28.ottrun.com\/api3\/","logurl":"https:\/\/drpm.site\/nuritv\/api\/","apkautoupdate":"no","support_email":"ForzaTV","support_phone":"https:\/\/google.com.tr","status":"ACTIVE","filter_status":"No","epg_mode":"yes","btn_live":"Yes","btn_live2":"Yes","btn_live3":"Yes","btn_live4":"Yes","btn_live5":"Yes","btn_vod":"Yes","btn_vod2":"Yes","btn_vod3":"Yes","btn_vod4":"Yes","btn_vod5":"Yes","btn_epg":"Yes","btn_epg2":"Yes","btn_epg3":"Yes","btn_epg4":"Yes","btn_epg5":"Yes","btn_series":"Yes","btn_series2":"Yes","btn_series3":"Yes","btn_series4":"Yes","btn_series5":"Yes","btn_radio":"Yes","btn_radio2":"Yes","btn_radio3":"Yes","btn_radio4":"Yes","btn_radio5":"Yes","btn_catchup":"No","btn_catchup2":"No","btn_catchup3":"No","btn_catchup4":"No","btn_catchup5":"No","btn_account":"yes","btn_account2":"yes","btn_account3":"yes","btn_account4":"yes","btn_account5":"yes","btn_pr":"no","btn_rec":"no","btn_vpn":"no","btn_noti":"yes","btn_update":"yes","btn_login_settings":"yes","btn_login_account":"yes","show_expire":"yes","agent":"no","all_cat":"yes","stream_type":"ts","player":"EXO","player_tv":"EXO","player_vod":"VLC","player_series":"VLC","player_catchup":"VLC","whichplayer":"EXO","whichplayer_tv":"EXO","whichplayer_vod":"EXO","whichplayer_series":"EXO","whichplayer_catchup":"EXO","message_enabled":"yes","announcement_enabled":"yes","updateuserinfo_enabled":"yes","whatsupcheck_enabled":"no","login_logo":"yes","ms":"no","ms2":"no","ms3":"no","ms4":"no","ms5":"no","btn_fav":"yes","btn_fav2":"yes","btn_fav3":"yes","btn_fav4":"yes","btn_fav5":"yes","btn_signup":"no","bjob":"no","settings_app":"yes","settings_account":"yes","logs":"no","panel":"xtreamcodes","epg_url":"no","ovpn_url":"yes","app_language":"en","load_last_channel":"no","admob_banner_id":"no","admob_interstitial_id":"no","show_cat_count":"yes","activation_url":"no","mnt_message":"Maintenance Message","mnt_status":"INACTIVE","mnt_expire":"2019-05-31 23:59:00","theme":"new_layout"}}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"code": "",
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": ""
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
if ($_POST) {
|
||||
|
||||
require_once("../conf/functions.php");
|
||||
|
||||
$bouquets = $byakman->guvenlik($_POST["bouqet"]);
|
||||
$post_data = array(
|
||||
'username' => $byakman->userInfo('username'),
|
||||
'password' => $byakman->userInfo('password'),
|
||||
'user_data' => array(
|
||||
'bouquet' => json_encode($bouquets)));
|
||||
|
||||
$api_re = json_decode($byakman->_curl($siteInfo->site_xtream . "api.php?action=user&sub=edit", $post_data), true);
|
||||
|
||||
if ($api_re["result"] == 1) {
|
||||
echo 1;
|
||||
} else {
|
||||
echo 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,43 @@
|
||||
<!-- header wrapper -->
|
||||
<div class="header-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 navbar p-0">
|
||||
<a href="index.php?page=homepage" class="logo ml-5"><img src="files/<?= $siteInfo->site_logo; ?>" alt="logo" class="light"><img src="files/<?= $siteInfo->site_logo; ?>" alt="logo" class="dark"></a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||
<div class="hidden-lg-up mb-5 mt-5">
|
||||
<div class="typeahead__container">
|
||||
<div class="typeahead__field">
|
||||
<div class="typeahead__query">
|
||||
<input class="fast-search col-md-12" id="fast-search" name="country_v1[query]" placeholder="<?= SEARCH_INPUT_TEXT; ?>" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="navbar-nav nav-menu float-none text-center">
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('homepage'); ?>"><?= MENU_HOMEPAGE; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('livetv'); ?>"><?= MENU_LIVETV; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('movies'); ?>"><?= MENU_MOVIES; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('series'); ?>"><?= MENU_SERIES; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('guides'); ?>"><?= MENU_GUIDES; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('profile'); ?>"><?= MENU_PROFILE; ?></a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $byakman->route('logout'); ?>"><?= MENU_LOGOUT; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="search-div">
|
||||
<div class="typeahead__container">
|
||||
<div class="typeahead__field">
|
||||
<div class="typeahead__query">
|
||||
<input class="fast-search col-md-12" id="fast-search" name="country_v1[query]" placeholder="<?= SEARCH_INPUT_TEXT; ?>" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- header wrapper -->
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
|
||||
if ($_POST) {
|
||||
|
||||
require_once("../conf/functions.php");
|
||||
$type = $byakman->guvenlik($_POST["type"]);
|
||||
if ($type == 1) {
|
||||
$bouquet_cat = $byakman->guvenlik($_POST["cat"]);
|
||||
if (isset($bouquet_cat)) {
|
||||
|
||||
if ($bouquet_cat != "") {
|
||||
|
||||
if (is_numeric($bouquet_cat)) {
|
||||
$get_url = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_live_streams&category_id=", $bouquet_cat);
|
||||
$urldata = json_decode($get_url, true);
|
||||
$xml = $byakman->player_epg($byakman->userInfo('username'), $byakman->userInfo('password'));
|
||||
$now = time();
|
||||
$data = array();
|
||||
$i = 1;
|
||||
foreach ($urldata as $item) {
|
||||
if ($item['epg_channel_id'] != null OR $item['epg_channel_id'] != "0" OR $item['epg_channel_id'] != "") {
|
||||
$filtered = $xml->xpath('//programme[@channel="'.$item["epg_channel_id"].'"]');
|
||||
$array = json_decode(json_encode((array)$filtered), TRUE);
|
||||
$epg_data = array();
|
||||
$e = 0;
|
||||
foreach($array AS $filter) {
|
||||
if((strtotime($filter["@attributes"]["start"]) <= $now) AND (strtotime($filter["@attributes"]["stop"]) >= $now)) {
|
||||
$epg_data["title"] = $filter["title"];
|
||||
}
|
||||
$e++;
|
||||
}
|
||||
$data[$i]["epg_title"] = $epg_data["title"];
|
||||
} else {
|
||||
}
|
||||
$data[$i]["stream_id"] = $item['stream_id'];
|
||||
$data[$i]["stream_icon"] = $item['stream_icon'];
|
||||
$data[$i]["name"] = $item['name'];
|
||||
$i++;
|
||||
}
|
||||
echo json_encode($data, true);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
} else if ($type == 2) {
|
||||
|
||||
$channel = $byakman->guvenlik($_POST["channel"]);
|
||||
|
||||
$channel_url = $siteInfo->site_xtream."live/".$byakman->userInfo("username")."/".$byakman->userInfo("password")."/".$channel.".m3u8";
|
||||
|
||||
echo $channel_url;
|
||||
|
||||
} else if ($type == 3) {
|
||||
|
||||
$channel = $byakman->guvenlik($_POST["channel"]);
|
||||
|
||||
$epg_url = $byakman->player_api($byakman->userInfo('username'), $byakman->userInfo('password'), "&action=get_simple_data_table&stream_id=".$channel."");
|
||||
|
||||
$cat_get = $byakman->get_curl($epg_url);
|
||||
$getCat = json_decode($cat_get, true);
|
||||
$data = array();
|
||||
$now = time();
|
||||
$i = 1;
|
||||
foreach ($getCat["epg_listings"] as $item) {
|
||||
if (strtotime($item["start"]) >= $now) {
|
||||
$cevir_start = strtotime($item["start"]);
|
||||
$cevir_end = strtotime($item["end"]);
|
||||
$data[$i]["title"] = base64_decode($item["title"]);
|
||||
$data[$i]["description"] = base64_decode($item["description"]);
|
||||
$data[$i]["start"] = date("H:m", $cevir_start);
|
||||
$data[$i]["end"] = date("H:m", $cevir_end);
|
||||
if ($i++ == 4) break;
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo json_encode($data, true);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,118 @@
|
||||
<?
|
||||
if ($_POST) {
|
||||
session_start();
|
||||
include("../conf/functions.php");
|
||||
|
||||
$type = $byakman->guvenlik($_POST["type"]);
|
||||
|
||||
if ($type == 1) {
|
||||
|
||||
$username = $byakman->guvenlik($_POST["username"]);
|
||||
$password = $byakman->guvenlik($_POST["password"]);
|
||||
$captcha = $_POST["captcha"];
|
||||
$remember = isset($_POST['remember']) ? 1 : 0;
|
||||
|
||||
$data_url = $byakman->player_api($username, $password, "");
|
||||
$get_data = $byakman->get_http_response_code($data_url);
|
||||
if ($get_data !== "200") {
|
||||
echo 4;
|
||||
} else {
|
||||
$connect_url = file_get_contents($data_url);
|
||||
$get_url_data = json_decode($connect_url, true);
|
||||
$data_auth = $get_url_data["user_info"]["auth"];
|
||||
if ($data_auth) {
|
||||
|
||||
$recaptcha_url = 'https://www.google.com/recaptcha/api/siteverify';
|
||||
$recaptcha_secret = $siteInfo->recaptcha_secret;
|
||||
$recaptcha_response = $captcha;
|
||||
$recaptcha = file_get_contents($recaptcha_url . '?secret=' . $recaptcha_secret . '&response=' . $recaptcha_response);
|
||||
$recaptcha = json_decode($recaptcha);
|
||||
if ($recaptcha->score >= 0.5) {
|
||||
echo 2;
|
||||
} else {
|
||||
|
||||
if ($get_url_data["user_info"]["status"] === 'Active') {
|
||||
|
||||
if ($siteInfo->unlimited_login == 0 AND $get_url_data["user_info"]["exp_date"] == null) {
|
||||
echo 5;
|
||||
} else {
|
||||
|
||||
$_SESSION["login"] = true;
|
||||
$_SESSION["user_info"] = $get_url_data["user_info"];
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$username, time()+ 31536000);
|
||||
setcookie('password',$password, time()+ 31536000);
|
||||
|
||||
}
|
||||
echo 1;
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
echo 3;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
echo 4;
|
||||
}
|
||||
}
|
||||
|
||||
} else if ($type == 2) {
|
||||
|
||||
$mac = $byakman->guvenlik($_POST["mac"]);
|
||||
$captcha = $_POST["captcha"];
|
||||
$remember = isset($_POST['remember']) ? 1 : 0;
|
||||
|
||||
$post_data = array( 'mac' => strtoupper($mac) );
|
||||
$opts = array( 'http' => array(
|
||||
'method' => 'POST',
|
||||
'header' => 'Content-type: application/x-www-form-urlencoded',
|
||||
'content' => http_build_query( $post_data ) ) );
|
||||
|
||||
$context = stream_context_create( $opts );
|
||||
$api_result = json_decode( file_get_contents("".$siteInfo->site_xtream . "api.php?action=stb&sub=info", false, $context ), true );
|
||||
if ($api_result['result'] == 1) {
|
||||
$recaptcha_url = 'https://www.google.com/recaptcha/api/siteverify';
|
||||
$recaptcha_secret = $siteInfo->recaptcha_secret;
|
||||
$recaptcha_response = $captcha;
|
||||
$recaptcha = file_get_contents($recaptcha_url . '?secret=' . $recaptcha_secret . '&response=' . $recaptcha_response);
|
||||
$recaptcha = json_decode($recaptcha);
|
||||
if ($recaptcha->score >= 0.5) {
|
||||
echo 2;
|
||||
} else {
|
||||
|
||||
if($api_result["result"] == "1"){
|
||||
if ($siteInfo->unlimited_login == 0 AND $api_result["user_info"]["exp_date"] == null) {
|
||||
echo 5;
|
||||
} else {
|
||||
$_SESSION['login'] = true;
|
||||
$_SESSION['userInfo'] = $api_result['user_info'];
|
||||
$_SESSION['mac_address'] = $mac;
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$api_result['user_info']['username'], time()+ 31536000);
|
||||
setcookie('password',$api_result['user_info']['password'], time()+ 31536000);
|
||||
setcookie('mac', $api_result['mag_device']['mac']);
|
||||
|
||||
}
|
||||
echo 1;
|
||||
}
|
||||
} else {
|
||||
echo 3;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo 4;
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
include("../conf/functions.php");
|
||||
|
||||
if ($_POST) {
|
||||
if ($siteInfo->password_change == 1) {
|
||||
$password = $byakman->guvenlik($_POST["password"]);
|
||||
$password_c = $byakman->guvenlik($_POST["password_c"]);
|
||||
if ($password == "" OR $password_c == "") {
|
||||
echo 2;
|
||||
} else if ($password != $password_c) {
|
||||
echo 3;
|
||||
} else {
|
||||
|
||||
$post_data = array(
|
||||
'username' => $byakman->userInfo('username'),
|
||||
'password' => $byakman->userInfo('password'),
|
||||
'user_data' => array(
|
||||
'password' => $password));
|
||||
|
||||
$opts = array('http' => array(
|
||||
'method' => 'POST',
|
||||
'header' => 'Content-type: application/x-www-form-urlencoded',
|
||||
'content' => http_build_query($post_data)));
|
||||
|
||||
$context = stream_context_create($opts);
|
||||
$api_re = json_decode(file_get_contents($siteInfo->site_xtream . "api.php?action=user&sub=edit", false, $context), true);
|
||||
if ($api_re["result"] == 1) {
|
||||
echo 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
|
||||
if ($_POST) {
|
||||
include("../conf/functions.php");
|
||||
$type = $byakman->guvenlik($_POST["type"]);
|
||||
$item = $byakman->guvenlik($_POST["item"]);
|
||||
$file = $byakman->guvenlik($_POST["file"]);
|
||||
switch ($tip){
|
||||
case 'mkv':
|
||||
$tip = '.mkv';
|
||||
$mime = 'video/x-matroska';
|
||||
break;
|
||||
case 'mp4':
|
||||
$tip = '.mp4';
|
||||
$mime = 'video/mp4';
|
||||
break;
|
||||
case 'avi':
|
||||
$tip = '.avi';
|
||||
$mime = 'video/x-msvideo';
|
||||
break;
|
||||
|
||||
}
|
||||
if ($type == 1) {
|
||||
|
||||
$data = array();
|
||||
$data["type"] = $type;
|
||||
$data["item"] = $item;
|
||||
$data["file"] = $tip;
|
||||
$data["mime"] = $mime;
|
||||
echo json_encode($data, true);
|
||||
|
||||
echo json_encode($movie_url, true);
|
||||
|
||||
} else if ($type == 2) {
|
||||
|
||||
|
||||
$data = array();
|
||||
$data["type"] = $type;
|
||||
$data["item"] = $item;
|
||||
$data["file"] = $tip;
|
||||
$data["mime"] = $mime;
|
||||
echo json_encode($data, true);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
|
||||
|
||||
if ($_POST) {
|
||||
include("../conf/functions.php");
|
||||
$type = $byakman->guvenlik($_POST["type"]);
|
||||
|
||||
if ($type == 1) {
|
||||
|
||||
function SaveSipTv($mac='',$url='',$pin='')
|
||||
{
|
||||
$data = array(
|
||||
'mac' => $mac,
|
||||
'sel_countries' => "USSR",
|
||||
'sel_logos' => 0,
|
||||
'keep' => "on",
|
||||
'lang' => "en",
|
||||
'url1' => $url,
|
||||
'epg1' => "",
|
||||
'pin' => $pin,
|
||||
'url_count' => 1,
|
||||
'file_selected' => 0,
|
||||
'plist_order' => 0,
|
||||
);
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, 'https://siptv.eu/scripts/up_url_only.php');
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
|
||||
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
|
||||
$headers = array();
|
||||
$headers[] = 'Connection: keep-alive';
|
||||
$headers[] = 'Pragma: no-cache';
|
||||
$headers[] = 'Cache-Control: no-cache';
|
||||
$headers[] = 'Accept: */*';
|
||||
$headers[] = 'Sec-Fetch-Dest: empty';
|
||||
$headers[] = 'X-Requested-With: XMLHttpRequest';
|
||||
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36';
|
||||
$headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8';
|
||||
$headers[] = 'Origin: https://siptv.eu';
|
||||
$headers[] = 'Sec-Fetch-Site: same-origin';
|
||||
$headers[] = 'Sec-Fetch-Mode: cors';
|
||||
$headers[] = 'Referer: https://siptv.eu/mylist/';
|
||||
$headers[] = 'Accept-Language: tr,en;q=0.9';
|
||||
$headers[] = 'Cookie: origin=valid; captcha=1';
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
$result = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
return $result;
|
||||
}
|
||||
$url_create = ''.$siteInfo->site_xtream.'get.php?username='.$byakman->guvenlik($_POST["username"]).'&password='.$byakman->guvenlik($_POST["password"]).'&type=m3u_plus&output=ts';
|
||||
$result = SaveSipTv($_POST['mac'],$url_create,$_POST['pin']);
|
||||
if ($result == 'MAC address is not found!') {
|
||||
echo 0;
|
||||
} else if ($result == '1 URL added! Restart the App.') {
|
||||
echo 1;
|
||||
}
|
||||
|
||||
} else if ($type == 2) {
|
||||
|
||||
function SaveRoyalIpTv($mac='',$url='')
|
||||
{
|
||||
$data = array(
|
||||
'mac' => $mac,
|
||||
'url' => $url,
|
||||
);
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, 'https://www.royaliptvapp.com/php/addMac.php');
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
|
||||
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
|
||||
$headers = array();
|
||||
$headers[] = 'Authority: www.royaliptvapp.com';
|
||||
$headers[] = 'Pragma: no-cache';
|
||||
$headers[] = 'Cache-Control: no-cache';
|
||||
$headers[] = 'Accept: */*';
|
||||
$headers[] = 'Sec-Fetch-Dest: empty';
|
||||
$headers[] = 'X-Requested-With: XMLHttpRequest';
|
||||
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36';
|
||||
$headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8';
|
||||
$headers[] = 'Origin: https://www.royaliptvapp.com';
|
||||
$headers[] = 'Sec-Fetch-Site: same-origin';
|
||||
$headers[] = 'Sec-Fetch-Mode: cors';
|
||||
$headers[] = 'Referer: https://www.royaliptvapp.com/myList.html';
|
||||
$headers[] = 'Accept-Language: tr,en;q=0.9';
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
$result = curl_exec($ch);
|
||||
if (curl_errno($ch)) {
|
||||
echo 'Error:' . curl_error($ch);
|
||||
}
|
||||
curl_close($ch);
|
||||
return $result;
|
||||
}
|
||||
$url_create = ''.$siteInfo->site_xtream.'get.php?username='.$byakman->guvenlik($_POST["username"]).'&password='.$byakman->guvenlik($_POST["password"]).'&type=m3u_plus&output=ts';
|
||||
$sonuc = trim(SaveRoyalIpTv($_POST['mac'],$url_create));
|
||||
if ($sonuc == mb_strtoupper($_POST['mac'])) {
|
||||
echo 1;
|
||||
}else{
|
||||
echo 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
session_start();
|
||||
if ($_SESSION["login"] != true AND $_SESSION["user_info"] == "") {
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
} else {
|
||||
header('Content-Type: application/json');
|
||||
|
||||
include("../conf/functions.php");
|
||||
$data = array();
|
||||
$query = $_POST["query"];
|
||||
$livetv = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_live_streams", "");
|
||||
$getLive = json_decode($livetv, true);
|
||||
$lv = array();
|
||||
$d = 0;
|
||||
foreach(@$getLive AS $gl) {
|
||||
$lv[$d]["name"] = $gl["name"];
|
||||
$lv[$d]["id"] = $gl["stream_id"];
|
||||
$d++;
|
||||
}
|
||||
|
||||
$movies = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_streams", "");
|
||||
$getMovies = json_decode($movies, true);
|
||||
$mv = array();
|
||||
$m = 0;
|
||||
foreach(@$getMovies AS $gm) {
|
||||
$mv[$m]["name"] = $gm["name"];
|
||||
$mv[$m]["id"] = $gm["stream_id"];
|
||||
$m++;
|
||||
}
|
||||
|
||||
$series = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'),"get_series", "");
|
||||
$getSeries = json_decode($series, true);
|
||||
$sr = array();
|
||||
$s = 0;
|
||||
foreach(@$getSeries AS $gs) {
|
||||
$sr[$s]["name"] = $gs["name"];
|
||||
$sr[$s]["id"] = $gs["series_id"];
|
||||
$s++;
|
||||
}
|
||||
|
||||
|
||||
echo json_encode(array(
|
||||
"status" => true,
|
||||
"error" => null,
|
||||
"data" => array(
|
||||
"livetv" => $lv,
|
||||
"movies" => $mv,
|
||||
"series" => $sr
|
||||
)
|
||||
));
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$jsondata = file_get_contents('./api/main.json');
|
||||
$data = json_decode($jsondata, true);
|
||||
$json = $data['app'];
|
||||
$admob_banner_id = $json['admob_banner_id'];
|
||||
$admob_interstitial_id = $json['admob_interstitial_id'];
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./api/main.json');
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
$replacementData = [
|
||||
'app' => ['admob_banner_id' => $_POST['admob_banner_id'], 'admob_interstitial_id' => $_POST['admob_interstitial_id']]
|
||||
];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_UNESCAPED_UNICODE);
|
||||
file_put_contents('./api/main.json', $newJsonData);
|
||||
header('Location: appads.php?message=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">App Ads</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-12">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-rocket"></i> Ad Customisation</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="admob_banner_id">' . "\n";
|
||||
echo ' <strong> Admob Banner Id</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="description" name="admob_banner_id" value="' . $admob_banner_id . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="admob_interstitial_id">' . "\n";
|
||||
echo ' <strong> Admob Interstitial Id</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input type="text" class="form-control text-primary" name="admob_interstitial_id" id="date" value="' . $admob_interstitial_id . '">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo ' </body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$jsondata = file_get_contents('./includes/appsnscripts.json');
|
||||
$data = json_decode($jsondata, true);
|
||||
$json = $data['info'];
|
||||
$col = $json['aa'];
|
||||
$lang = ($json['aa'] == '1' ? 'selected' : '');
|
||||
$lang1 = ($json['aa'] == '2' ? 'selected' : '');
|
||||
$lang2 = ($json['aa'] == '3' ? 'selected' : '');
|
||||
$lang3 = ($json['aa'] == '4' ? 'selected' : '');
|
||||
$lang4 = ($json['aa'] == '5' ? 'selected' : '');
|
||||
$lang5 = ($json['aa'] == '6' ? 'selected' : '');
|
||||
$lang6 = ($json['aa'] == '7' ? 'selected' : '');
|
||||
$lang7 = ($json['aa'] == '8' ? 'selected' : '');
|
||||
$lang8 = ($json['aa'] == '9' ? 'selected' : '');
|
||||
$lang9 = ($json['aa'] == '11' ? 'selected' : '');
|
||||
$lang10 = ($json['aa'] == '12' ? 'selected' : '');
|
||||
$lang11 = ($json['aa'] == '13' ? 'selected' : '');
|
||||
$lang12 = ($json['aa'] == '14' ? 'selected' : '');
|
||||
$lang13 = ($json['aa'] == '15' ? 'selected' : '');
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Theme Updated!</h4></div>';
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./includes/appsnscripts.json');
|
||||
$date = date('d-m-Y H:i:s');
|
||||
$time = time();
|
||||
$egg = base64_encode($date);
|
||||
$egg1 = sha1($egg);
|
||||
$egg2 = $json['ii'] + 1;
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
$replacementData = [
|
||||
'info' => ['aa' => $_POST['aa'], 'bb' => $date, 'cc' => $time, 'dd' => $egg, 'ff' => $egg2, 'gg' => $egg1]
|
||||
];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_UNESCAPED_UNICODE);
|
||||
file_put_contents('./includes/appsnscripts.json', $newJsonData);
|
||||
header('Location: colour.php?m=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['m'])) {
|
||||
echo $_GET['m'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Colour Changes</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-12">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-paintbrush"></i> Colours</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="aa" >' . "\n";
|
||||
echo ' <strong> Pick Your Colour</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <select class="select form-control text-primary" id="select" name="aa">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="1"' . $lang . '>Purple</option>' . "\n";
|
||||
echo ' <option value="2"' . $lang1 . '>Blue</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="3"' . $lang2 . '>Red</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="4"' . $lang3 . '>Orange</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="13"' . $lang11 . '>Yellow</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="5" ' . $lang4 . '>Green</option>' . "\n";
|
||||
echo ' <option value="6"' . $lang5 . '>Teal</option>' . "\n";
|
||||
echo ' <option value="7"' . $lang6 . '>Cyan</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="8"' . $lang7 . '>Gray</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="9"' . $lang8 . '>Dark-Gray</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="14"' . $lang12 . '>Black</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="15"' . $lang13 . '>Dark Gray - With Black</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="11"' . $lang9 . '>Purple-Black</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="12"' . $lang10 . '>Black-Gray</option>' . "\n";
|
||||
echo ' </select>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
define("DB_HOST","localhost");
|
||||
define("DB_USER", "jobokyjn_forzap");
|
||||
define("DB_PASS", "besiktasK1903*");
|
||||
define("DB_DATA", "jobokyjn_forzap");
|
||||
?>
|
||||
@@ -0,0 +1,323 @@
|
||||
<?
|
||||
|
||||
if (!function_exists('curl_init') OR !function_exists('curl_exec') OR !function_exists('curl_setopt'))
|
||||
die('PHP Curl Library not found');
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
|
||||
date_default_timezone_set('Europe/Istanbul');
|
||||
setlocale(LC_TIME, "turkish");
|
||||
session_start();
|
||||
|
||||
class ByAkman {
|
||||
|
||||
function __construct () {
|
||||
require "config.php";
|
||||
try
|
||||
{
|
||||
$this->pdo = new \PDO("mysql:host=".DB_HOST.";dbname=".DB_DATA.";charset=utf8", "".DB_USER."", "".DB_PASS."");
|
||||
$this->pdo->exec("SET NAMES utf8");
|
||||
$this->pdo->setAttribute(\PDO::ATTR_DEFAULT_FETCH_MODE, \PDO::FETCH_OBJ);
|
||||
$this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
|
||||
}
|
||||
catch(\PDOException $e)
|
||||
{
|
||||
echo '<div align="center" style="-webkit-border-radius: 0;border-radius: 0;padding: 10px 15px;background-color: #f2dede;border-color: #eed3d7;color: #b94a48;margin-bottom: 20px;border: 1px solid transparent;">
|
||||
<strong>Veritabanı Bağlantı Hatası!</strong><p>'.$e->getMessage().'</p>
|
||||
</div>';
|
||||
die();
|
||||
}
|
||||
|
||||
return $this->pdo;
|
||||
|
||||
}
|
||||
|
||||
public function guvenlik($post)
|
||||
{
|
||||
if (is_scalar($post)) {
|
||||
return addslashes(htmlspecialchars(strip_tags($post)));
|
||||
} else {
|
||||
return $post;
|
||||
}
|
||||
|
||||
}
|
||||
public function get_user($a,$b) {
|
||||
$query = $this->pdo->prepare("SELECT * FROM admins WHERE username = :username AND pass = :pass");
|
||||
$query->execute([
|
||||
'username' => "$a",
|
||||
'pass' => "$b"
|
||||
]);
|
||||
$veriler = $query->fetch();
|
||||
return $veriler;
|
||||
}
|
||||
|
||||
public function site_setting() {
|
||||
$query = $this->pdo->prepare("SELECT * FROM settings WHERE id = :id");
|
||||
$query->execute([
|
||||
'id' => "1"
|
||||
]);
|
||||
$veriler = $query->fetch();
|
||||
return $veriler;
|
||||
}
|
||||
public function player_api($username, $password, $veri) {
|
||||
|
||||
$url = $this->site_setting();
|
||||
define("PANEL_ADRES", $url->site_xtream);
|
||||
return PANEL_ADRES."player_api.php?username=".$username."&password=".$password."".$veri."";
|
||||
|
||||
}
|
||||
public function get_curl($url){
|
||||
$curl = curl_init();
|
||||
curl_setopt_array($curl, array(
|
||||
CURLOPT_RETURNTRANSFER => 1,
|
||||
CURLOPT_URL => $url,
|
||||
));
|
||||
$resp = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
return $resp;
|
||||
}
|
||||
public function player_api2($username, $password, $veri, $id) {
|
||||
$url = $this->site_setting();
|
||||
$now = time();
|
||||
$user_hash = sha1($username."-".$password."-");
|
||||
switch($veri) {
|
||||
|
||||
case 'get_live_streams':
|
||||
$file_name = "live_streams.json";
|
||||
break;
|
||||
case 'get_live_categories':
|
||||
$file_name = "live_categories.json";
|
||||
break;
|
||||
case 'get_live_streams&category_id=':
|
||||
$file_name = "live_streams_category_$id.json";
|
||||
break;
|
||||
case 'get_simple_data_table&stream_id=':
|
||||
$file_name = "get_simple_data_table_$id.json";
|
||||
break;
|
||||
case 'get_vod_streams':
|
||||
$file_name = "get_vod_streams.json";
|
||||
break;
|
||||
case 'get_vod_streams&category_id=':
|
||||
$file_name = "get_vod_streams_$id.json";
|
||||
break;
|
||||
case 'get_vod_categories':
|
||||
$file_name = "get_vod_categories.json";
|
||||
break;
|
||||
case 'get_vod_info&vod_id=':
|
||||
$file_name = "get_vod_info_$id.json";
|
||||
break;
|
||||
case 'get_series':
|
||||
$file_name = "get_series.json";
|
||||
break;
|
||||
case 'get_series_info&series_id=':
|
||||
$file_name = "get_series_info_$id.json";
|
||||
break;
|
||||
case 'get_series_categories':
|
||||
$file_name = "get_series_categories.json";
|
||||
break;
|
||||
case 'get_series&category_id=':
|
||||
$file_name = "get_series_$id.json";
|
||||
break;
|
||||
|
||||
|
||||
|
||||
}
|
||||
$dosya_yolu = "".realpath(realpath(dirname(__FILE__) . '/..'))."/cache/".$user_hash."_".$file_name."";
|
||||
if (file_exists($dosya_yolu)) {
|
||||
$write = 1;
|
||||
} else {
|
||||
$create_file = touch($dosya_yolu);
|
||||
$write = 0;
|
||||
}
|
||||
$guncelleme_suresi = 60*60;
|
||||
$time = filemtime($dosya_yolu);
|
||||
if ($time <= ($now-$guncelleme_suresi) OR $write == 0) {
|
||||
$adres = $this->get_curl($url->site_xtream."player_api.php?username=".$username."&password=".$password."&action=".$veri."".$id."");
|
||||
$save_file = fopen($dosya_yolu, "w");
|
||||
fwrite($save_file, json_encode($adres, true));
|
||||
fclose($save_file);
|
||||
$datas = file_get_contents($dosya_yolu);
|
||||
} else {
|
||||
$datas = file_get_contents($dosya_yolu);
|
||||
}
|
||||
return json_decode($datas, true);
|
||||
|
||||
}
|
||||
|
||||
public function player_epg($username, $password) {
|
||||
$url = $this->site_setting();
|
||||
$now = time();
|
||||
$user_hash = sha1($username."-".$password."-");
|
||||
$dosya_yolu = "".realpath(realpath(dirname(__FILE__) . '/..'))."/cache/".$user_hash."_epg.xml";
|
||||
if (file_exists($dosya_yolu)) {
|
||||
$write = 1;
|
||||
} else {
|
||||
$create_file = touch($dosya_yolu);
|
||||
$write = 0;
|
||||
}
|
||||
$guncelleme_suresi = 60*60;
|
||||
$time = filemtime($dosya_yolu);
|
||||
if ($time <= ($now-$guncelleme_suresi) OR $write == 0) {
|
||||
$adres = $this->get_curl($url->site_xtream."xmltv.php?username=".$username."&password=".$password."");
|
||||
file_put_contents($dosya_yolu, $adres);
|
||||
$datas = @simplexml_load_file($dosya_yolu);
|
||||
} else {
|
||||
$datas = @simplexml_load_file($dosya_yolu);
|
||||
}
|
||||
return $datas;
|
||||
|
||||
}
|
||||
public function api($mac) {
|
||||
$url = $this->site_setting();
|
||||
define("PANEL_ADRES", $url->site_xtream);
|
||||
return PANEL_ADRES."api.php?action=stb&sub=info&portaluser=".$mac."";
|
||||
|
||||
}
|
||||
|
||||
function userInfo($prm){
|
||||
return isset($_SESSION['user_info']) ? $_SESSION['user_info'][$prm] : null;
|
||||
}
|
||||
|
||||
|
||||
public function get_http_response_code($url) {
|
||||
$headers = get_headers($url);
|
||||
return substr($headers[0], 9, 3);
|
||||
}
|
||||
|
||||
public function get_epg_data($url, $channel) {
|
||||
|
||||
|
||||
$xml = simplexml_load_file($url);
|
||||
$now = time();
|
||||
$it = new IteratorIterator($xml->programme);
|
||||
|
||||
foreach ($it as $programm)
|
||||
{
|
||||
$start = strtotime($programm['start']);
|
||||
$end = strtotime($programm['end']);
|
||||
if (($channel != $programm["channel"]) AND ($end <= $now AND $start >= $now))
|
||||
exit();
|
||||
}
|
||||
return $programm->title;
|
||||
|
||||
}
|
||||
|
||||
public function descriptions($yazi, $limit)
|
||||
{
|
||||
$yazi = strip_tags($yazi, '<p></p><br>');
|
||||
$explode = explode(' ',$yazi);
|
||||
$string = '';
|
||||
$ucnokta = '...';
|
||||
if(count($explode) <= $limit){
|
||||
$ucnokta = '';
|
||||
}
|
||||
for($i=0;$i<$limit;$i++){
|
||||
$string .= $explode[$i]." ";
|
||||
}
|
||||
if ($ucnokta) {
|
||||
$string = substr($string, 0, strlen($string));
|
||||
}
|
||||
return $string.$ucnokta;
|
||||
|
||||
}
|
||||
|
||||
public function route($find)
|
||||
{
|
||||
return "?page=" . $find;
|
||||
}
|
||||
public function _curl($url, $data){
|
||||
|
||||
$curl = curl_init();
|
||||
curl_setopt_array($curl, array(
|
||||
CURLOPT_RETURNTRANSFER => 1,
|
||||
CURLOPT_URL => $url,
|
||||
CURLOPT_USERAGENT => 'Web Panel',
|
||||
CURLOPT_POST => 1,
|
||||
CURLOPT_SSL_VERIFYPEER => 0,
|
||||
CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
|
||||
CURLOPT_CONNECTTIMEOUT => 5,
|
||||
CURLOPT_TIMEOUT => 3,
|
||||
CURLOPT_HTTPHEADER => array('Accept: application/json'),
|
||||
CURLOPT_POSTFIELDS => http_build_query($data),
|
||||
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4
|
||||
));
|
||||
$resp = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
|
||||
return $resp;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function get_category($page)
|
||||
{
|
||||
$prm = '';
|
||||
switch ($page) {
|
||||
case "live":
|
||||
$prm= 'get_live_categories';
|
||||
break;
|
||||
case "movies":
|
||||
$prm = 'get_vod_categories';
|
||||
break;
|
||||
case "series":
|
||||
$prm = 'get_series_categories';
|
||||
break;
|
||||
case "movie_streams":
|
||||
$prm = 'get_vod_streams';
|
||||
break;
|
||||
case "series_streams":
|
||||
$prm = 'get_series';
|
||||
break;
|
||||
case "live_stream":
|
||||
$prm = 'get_live_streams';
|
||||
break;
|
||||
}
|
||||
|
||||
return '&action='.$prm;
|
||||
}
|
||||
|
||||
public function formatSizeUnits($bytes)
|
||||
{
|
||||
if ($bytes >= 1073741824)
|
||||
{
|
||||
$bytes = number_format($bytes / 1073741824, 2) . ' GB';
|
||||
}
|
||||
elseif ($bytes >= 1048576)
|
||||
{
|
||||
$bytes = number_format($bytes / 1048576, 2) . ' MB';
|
||||
}
|
||||
elseif ($bytes >= 1024)
|
||||
{
|
||||
$bytes = number_format($bytes / 1024, 2) . ' KB';
|
||||
}
|
||||
elseif ($bytes > 1)
|
||||
{
|
||||
$bytes = $bytes . ' bytes';
|
||||
}
|
||||
elseif ($bytes == 1)
|
||||
{
|
||||
$bytes = $bytes . ' byte';
|
||||
}
|
||||
else
|
||||
{
|
||||
$bytes = '0 bytes';
|
||||
}
|
||||
|
||||
return $bytes;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
$byakman = new ByAkman();
|
||||
|
||||
$siteInfo = $byakman->site_setting();
|
||||
|
||||
|
||||
require_once(dirname(__FILE__).'/../lang/'.$siteInfo->site_lang.'.php');
|
||||
|
||||
if (($_SESSION["admin"]["username"] != "") AND ($_SESSION["admin"]["password"] != "")) {
|
||||
$userInfo = $byakman->get_user($_SESSION["admin"]["username"], $_SESSION["admin"]["password"]);
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$db1 = new SQLite3('./api/user_message.db');
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$db1->exec('INSERT INTO messages(message, userid, status, expire) VALUES(\'' . $_POST['message'] . '\', \'' . $_POST['userid'] . '\', \'' . $_POST['status'] . '\', \'' . $_POST['expire'] . '\')');
|
||||
header('Location: send_message.php');
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Message\'s</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-12">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-comment"></i> Create Message</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="message">' . "\n";
|
||||
echo ' <strong>Message</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="description" name="message" placeholder="Message" value=\'\' type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="userid">' . "\n";
|
||||
echo ' <strong>Username</strong> ' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="description" name="userid" placeholder="Username" value=\'\' type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="status" >' . "\n";
|
||||
echo ' <strong>Status</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <select class="select form-control text-primary" id="select" name="status">' . "\n";
|
||||
echo ' <option value="ACTIVE">' . "\n";
|
||||
echo ' ACTIVE' . "\n";
|
||||
echo ' </option>' . "\n";
|
||||
echo ' <option value="INACTIVE">' . "\n";
|
||||
echo ' INACTIVE' . "\n";
|
||||
echo ' </option>' . "\n";
|
||||
echo ' </select>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="message">' . "\n";
|
||||
echo ' <strong>Expire</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input type="text" class="form-control text-primary" name="expire" placeholder="YYYY-MM-DD" id="datetimepicker" autocomplete="off"> ' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo ' </body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,250 @@
|
||||
.datepicker {
|
||||
|
||||
position: absolute;
|
||||
top: 18px;
|
||||
left: 18px;
|
||||
background: #FFF;
|
||||
padding: 4px;
|
||||
border: 1px solid #CCC;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
z-index: 50;
|
||||
/* box-shadow */
|
||||
-webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.datepicker * {
|
||||
|
||||
/* box-sizing */
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.datepicker .tip {
|
||||
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: -12px;
|
||||
z-index: 5;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 12px solid #CCC;
|
||||
}
|
||||
|
||||
.datepicker .tip:before {
|
||||
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
left: -8px;
|
||||
top: 2px;
|
||||
z-index: 20;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-bottom: 10px solid #FFF;
|
||||
}
|
||||
|
||||
.datepicker a {
|
||||
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.datepicker .row {
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.datepicker .row.header {
|
||||
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.datepicker .row.header a {
|
||||
|
||||
margin: 0 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datepicker .row.header .prev {
|
||||
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.datepicker .row.header .next {
|
||||
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.datepicker .row.header .prev .arrow{
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-right: 6px solid #000;
|
||||
border-bottom: 5px solid transparent;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.datepicker .row.header .next .arrow{
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-left: 6px solid #000;
|
||||
border-bottom: 5px solid transparent;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.datepicker .row.header .prev.disabled {
|
||||
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.datepicker .row.header .next.disabled {
|
||||
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.datepicker .row.header .prev.disabled .arrow {
|
||||
|
||||
border-right-color: #DDD;
|
||||
}
|
||||
|
||||
.datepicker .row.header .next.disabled .arrow {
|
||||
|
||||
border-left-color: #DDD;
|
||||
}
|
||||
|
||||
.datepicker .cell {
|
||||
|
||||
display: block;
|
||||
float: left;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
padding: 0 3px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.datepicker .cell.large {
|
||||
|
||||
width: 59px;
|
||||
padding: 0;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datepicker .cell.large.double {
|
||||
|
||||
line-height: 25px;
|
||||
word-wrap: break-word;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.datepicker .day {
|
||||
|
||||
color: #000;
|
||||
cursor: pointer;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.datepicker .cell.day.today {
|
||||
|
||||
color: #000;
|
||||
background: #D6EAFF;
|
||||
}
|
||||
|
||||
.datepicker .cell.day:hover,
|
||||
.datepicker .cell.month:hover,
|
||||
.datepicker .cell.year:hover,
|
||||
.datepicker .cell.decade:hover {
|
||||
|
||||
background: #3298FF;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.datepicker .cell.blank,
|
||||
.datepicker .cell.blank:hover {
|
||||
|
||||
background: none;
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.datepicker .cell.day.selected,
|
||||
.datepicker .cell.month.selected,
|
||||
.datepicker .cell.year.selected,
|
||||
.datepicker .cell.decade.selected {
|
||||
|
||||
background: #0065CC;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.datepicker .cell.grayed {
|
||||
|
||||
color: #CCC;
|
||||
}
|
||||
|
||||
.datepicker .days .cell {
|
||||
|
||||
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.datepicker .decades .cell span {
|
||||
|
||||
|
||||
display: block;
|
||||
padding: 5px 5px 0;
|
||||
}
|
||||
|
||||
.datepicker .calendar,
|
||||
.datepicker .decades,
|
||||
.datepicker .years,
|
||||
.datepicker .months {
|
||||
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.datepicker .decades,
|
||||
.datepicker .years,
|
||||
.datepicker .months {
|
||||
|
||||
display: none;
|
||||
}
|
||||
|
||||
.datepicker .decades .header,
|
||||
.datepicker .years .header,
|
||||
.datepicker .months .header {
|
||||
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.form-signin {
|
||||
width: 100%;
|
||||
max-width: 330px;
|
||||
padding: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
.form-signin .checkbox {
|
||||
font-weight: 400;
|
||||
}
|
||||
.form-signin .form-control {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.form-signin .form-control:focus {
|
||||
z-index: 2;
|
||||
}
|
||||
.form-signin input[type="email"] {
|
||||
margin-bottom: -1px;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
.form-signin input[type="password"] {
|
||||
margin-bottom: 10px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
@@ -0,0 +1,311 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$jsondata = file_get_contents('./api/main.json');
|
||||
$data = json_decode($jsondata, true);
|
||||
$json = $data['app'];
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./api/main.json');
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
|
||||
if (empty($_POST['show_cat_count'])) {
|
||||
$show_cat_count = 'yes';
|
||||
}
|
||||
else {
|
||||
$show_cat_count = $_POST['show_cat_count'];
|
||||
}
|
||||
|
||||
if (empty($_POST['load_last_channel'])) {
|
||||
$load_last_channel = 'no';
|
||||
}
|
||||
else {
|
||||
$load_last_channel = $_POST['load_last_channel'];
|
||||
}
|
||||
|
||||
if (empty($_POST['login_logo'])) {
|
||||
$login_logo = 'yes';
|
||||
}
|
||||
else {
|
||||
$login_logo = $_POST['login_logo'];
|
||||
}
|
||||
|
||||
if (empty($_POST['logs'])) {
|
||||
$logs = 'no';
|
||||
}
|
||||
else {
|
||||
$logs = $_POST['logs'];
|
||||
}
|
||||
|
||||
if (empty($_POST['all_cat'])) {
|
||||
$all_cat = 'yes';
|
||||
}
|
||||
else {
|
||||
$all_cat = $_POST['all_cat'];
|
||||
}
|
||||
|
||||
if (empty($_POST['filter_status'])) {
|
||||
$filter_status = 'No';
|
||||
}
|
||||
else {
|
||||
$filter_status = $_POST['filter_status'];
|
||||
}
|
||||
|
||||
if (empty($_POST['agent'])) {
|
||||
$agent = 'appsnscriptsXC';
|
||||
}
|
||||
else {
|
||||
$agent = $_POST['agent'];
|
||||
}
|
||||
|
||||
if (empty($_POST['login_type'])) {
|
||||
$login_type = 'login';
|
||||
}
|
||||
else {
|
||||
$login_type = $_POST['login_type'];
|
||||
}
|
||||
|
||||
if (empty($_POST['btn_login_settings'])) {
|
||||
$btn_login_settings = 'Yes';
|
||||
}
|
||||
else {
|
||||
$btn_login_settings = $_POST['btn_login_settings'];
|
||||
}
|
||||
|
||||
if (empty($_POST['stream_type'])) {
|
||||
$stream_type = 'ts';
|
||||
}
|
||||
else {
|
||||
$stream_type = $_POST['stream_type'];
|
||||
}
|
||||
|
||||
$replacementData = [
|
||||
'app' => ['login_type' => $login_type, 'show_cat_count' => $show_cat_count, 'load_last_channel' => $load_last_channel, 'login_logo' => $login_logo, 'logs' => $logs, 'all_cat' => $all_cat, 'filter_status' => $filter_status, 'btn_login_settings' => $btn_login_settings, 'stream_type' => $stream_type, 'agent' => $agent]
|
||||
];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_UNESCAPED_UNICODE);
|
||||
file_put_contents('./api/main.json', $newJsonData);
|
||||
header('Location: extra.php?message=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Extras</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
$login = ($json['login_type'] == 'login' ? 'selected' : '');
|
||||
$mac = ($json['login_type'] == 'mac' ? 'selected' : '');
|
||||
$code = ($json['login_type'] == 'activation' ? 'selected' : '');
|
||||
echo ' <!-- Second Column -->' . "\n";
|
||||
echo ' <div class="col-lg-6">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Background Gradient Utilities -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-wrench"></i> Extra Settings</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo "\t\t\t\t" . ' ' . "\t" . '<form method="post">' . "\n";
|
||||
echo "\t\t" . ' ' . "\t\t\t" . '<div class="form-group inline">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="login_type" >' . "\n";
|
||||
echo ' <strong> Login Type</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<select class="form-control text-primary" id="select" name="login_type">' . "\n";
|
||||
echo ' <option value="login" ' . $login . ' >User / Pass</option>' . "\n";
|
||||
echo ' <option value="mac" ' . $mac . ' >Mac Address</option>' . "\n";
|
||||
echo ' <option value="activation" ' . $code . ' >Activation Code</option>' . "\n";
|
||||
echo ' </select> ' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '<div class="form-group">' . "\n";
|
||||
echo ' <label class="control-label " for="agent">' . "\n";
|
||||
echo ' <strong> User Agent</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" name="agent" value="' . $json['agent'] . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\t\t\t\t\t" . ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t" . ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="logs" >' . "\n";
|
||||
echo ' <strong> Show App Logs</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p>' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>True' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="logs" value="yes" ' . "\n";
|
||||
|
||||
if ($json['logs'] == 'yes') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>False' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="logs" value="no" ' . "\n";
|
||||
|
||||
if ($json['logs'] == 'no') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo "\t\t\t\t\t" . ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t" . ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="all_cat" >' . "\n";
|
||||
echo ' <strong> Show All Categories</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p>' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>True' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="all_cat" value="yes" ' . "\n";
|
||||
|
||||
if ($json['all_cat'] == 'yes') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>False' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="all_cat" value="no" ' . "\n";
|
||||
|
||||
if ($json['all_cat'] == 'no') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo "\t\t\t\t\t" . ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t" . ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="show_cat_count" >' . "\n";
|
||||
echo ' <strong> Show Category Count</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p>' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>True' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="show_cat_count" value="yes" ' . "\n";
|
||||
|
||||
if ($json['show_cat_count'] == 'yes') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>False' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="show_cat_count" value="No" ' . "\n";
|
||||
|
||||
if ($json['show_cat_count'] == 'No') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo "\t\t\t\t\t" . ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '<div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="load_last_channel" >' . "\n";
|
||||
echo ' <strong> Load Last Channel</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p>' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>True' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="load_last_channel" value="Yes" ' . "\n";
|
||||
|
||||
if ($json['load_last_channel'] == 'Yes') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>False' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="load_last_channel" value="no" ' . "\n";
|
||||
|
||||
if ($json['load_last_channel'] == 'no') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo "\t\t\t\t\t\t" . '<div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="btn_login_settings" >' . "\n";
|
||||
echo ' <strong> Show Settings On Login</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p>' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>True' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="btn_login_settings" value="yes" ' . "\n";
|
||||
|
||||
if ($json['btn_login_settings'] == 'yes') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>False' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="btn_login_settings" value="no" ' . "\n";
|
||||
|
||||
if ($json['btn_login_settings'] == 'no') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label" for="stream_type" >' . "\n";
|
||||
echo ' <strong> Stream Format</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <p' . "\t\t\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>HLS' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="stream_type" value="m3u8" ' . "\n";
|
||||
|
||||
if ($json['stream_type'] == 'm3u8') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t" . '>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<label>MPEGTS' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<input type="radio" name="stream_type" value="ts" ' . "\n";
|
||||
|
||||
if ($json['stream_type'] == 'ts') {
|
||||
echo 'checked=\\"checked\\"';
|
||||
}
|
||||
|
||||
echo "\t\t\t\t\t\t\t" . ' ' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>';
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Update App Settings</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div> ' . "\n";
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,251 @@
|
||||
<?php
|
||||
|
||||
function real_ip()
|
||||
{
|
||||
$ip = 'undefined';
|
||||
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
||||
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
else if (isset($_SERVER['HTTP_CLIENT_IP'])) {
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
}
|
||||
}
|
||||
else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) {
|
||||
$ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
}
|
||||
else if (getenv('HTTP_CLIENT_IP')) {
|
||||
$ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
}
|
||||
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
function get_os()
|
||||
{
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$os_platform = 'Unknown OS Platform';
|
||||
$os_array = ['/windows nt 10/i' => 'Windows 10', '/windows nt 6.3/i' => 'Windows 8.1', '/windows nt 6.2/i' => 'Windows 8', '/windows nt 6.1/i' => 'Windows 7', '/windows nt 6.0/i' => 'Windows Vista', '/windows nt 5.2/i' => 'Windows Server 2003/XP x64', '/windows nt 5.1/i' => 'Windows XP', '/windows xp/i' => 'Windows XP', '/windows nt 5.0/i' => 'Windows 2000', '/windows me/i' => 'Windows ME', '/win98/i' => 'Windows 98', '/win95/i' => 'Windows 95', '/win16/i' => 'Windows 3.11', '/macintosh|mac os x/i' => 'Mac OS X', '/mac_powerpc/i' => 'Mac OS 9', '/linux/i' => 'Linux', '/ubuntu/i' => 'Ubuntu', '/iphone/i' => 'iPhone', '/ipod/i' => 'iPod', '/ipad/i' => 'iPad', '/android/i' => 'Android', '/blackberry/i' => 'BlackBerry', '/webos/i' => 'Mobile'];
|
||||
|
||||
foreach ($os_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$os_platform = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $os_platform;
|
||||
}
|
||||
|
||||
function Browser_type()
|
||||
{
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$browser = 'Unknown Browser';
|
||||
$browser_array = ['/msie/i' => 'Internet Explorer', '/Trident/i' => 'Internet Explorer', '/firefox/i' => 'Firefox', '/safari/i' => 'Safari', '/chrome/i' => 'Chrome', '/edge/i' => 'Edge', '/opera/i' => 'Opera', '/netscape/i' => 'Netscape', '/maxthon/i' => 'Maxthon', '/konqueror/i' => 'Konqueror', '/ubrowser/i' => 'UC Browser', '/mobile/i' => 'Handheld Browser'];
|
||||
|
||||
foreach ($browser_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$browser = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $browser;
|
||||
}
|
||||
|
||||
function get_device()
|
||||
{
|
||||
$tablet_browser = 0;
|
||||
$mobile_browser = 0;
|
||||
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
|
||||
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if ((0 < strpos(strtolower($_SERVER['HTTP_ACCEPT']), 'application/vnd.wap.xhtml+xml')) || (isset($_SERVER['HTTP_X_WAP_PROFILE']) || isset($_SERVER['HTTP_PROFILE']))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
|
||||
$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));
|
||||
$mobile_agents = ['w3c ', 'acs-', 'alav', 'alca', 'amoi', 'audi', 'avan', 'benq', 'bird', 'blac', 'blaz', 'brew', 'cell', 'cldc', 'cmd-', 'dang', 'doco', 'eric', 'hipt', 'inno', 'ipaq', 'java', 'jigs', 'kddi', 'keji', 'leno', 'lg-c', 'lg-d', 'lg-g', 'lge-', 'maui', 'maxo', 'midp', 'mits', 'mmef', 'mobi', 'mot-', 'moto', 'mwbp', 'nec-', 'newt', 'noki', 'palm', 'pana', 'pant', 'phil', 'play', 'port', 'prox', 'qwap', 'sage', 'sams', 'sany', 'sch-', 'sec-', 'send', 'seri', 'sgh-', 'shar', 'sie-', 'siem', 'smal', 'smar', 'sony', 'sph-', 'symb', 't-mo', 'teli', 'tim-', 'tosh', 'tsm-', 'upg1', 'upsi', 'vk-v', 'voda', 'wap-', 'wapa', 'wapi', 'wapp', 'wapr', 'webc', 'winw', 'winw', 'xda ', 'xda-'];
|
||||
|
||||
if (in_array($mobile_ua, $mobile_agents)) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
|
||||
if (0 < strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'opera mini')) {
|
||||
$mobile_browser++;
|
||||
$stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA']) ? $_SERVER['HTTP_X_OPERAMINI_PHONE_UA'] : (isset($_SERVER['HTTP_DEVICE_STOCK_UA']) ? $_SERVER['HTTP_DEVICE_STOCK_UA'] : ''));
|
||||
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
}
|
||||
|
||||
if (0 < $tablet_browser) {
|
||||
return 'Tablet';
|
||||
}
|
||||
else if (0 < $mobile_browser) {
|
||||
return 'Mobile';
|
||||
}
|
||||
else {
|
||||
return 'Computer';
|
||||
}
|
||||
}
|
||||
|
||||
function IsTorExitPoint()
|
||||
{
|
||||
if (gethostbyname(ReverseIPOctets($_SERVER['REMOTE_ADDR']) . '.' . $_SERVER['SERVER_PORT'] . '.' . ReverseIPOctets($_SERVER['SERVER_ADDR']) . '.ip-port.exitlist.torproject.org') == '127.0.0.2') {
|
||||
return 'True';
|
||||
}
|
||||
else {
|
||||
return 'False';
|
||||
}
|
||||
}
|
||||
|
||||
function ReverseIPOctets($inputip)
|
||||
{
|
||||
$ipoc = explode('.', $inputip);
|
||||
return $ipoc[3] . '.' . $ipoc[2] . '.' . $ipoc[1] . '.' . $ipoc[0];
|
||||
}
|
||||
|
||||
$ipl = real_ip();
|
||||
$details = json_decode(file_get_contents('https://ipinfo.io/' . $ipl . '/json'));
|
||||
$country = $details->country;
|
||||
$state = $details->region;
|
||||
$city = $details->city;
|
||||
$isp = $details->org;
|
||||
$isp = preg_replace('/AS\\d{1,}\\s/', '', $isp);
|
||||
$loc = $details->loc;
|
||||
date_default_timezone_set('Europe/London');
|
||||
$line = '---------------------------------------------' . "\n" . '[TOA] ' . date('Y-m-d H:i:s') . ' [IPV6] ' . real_ip() . "\n" . '[Country] ' . $country . ' [City] ' . $city . ' [State] ' . $state . ' [ISP] ' . $isp . "\n" . ' [Location] ' . $loc . "\n" . ('[UA] ' . $_SERVER['HTTP_USER_AGENT']) . ' [OS] ' . get_os() . "\n" . ' [Browser] ' . Browser_type() . "\n" . ' [Device] ' . get_device() . "\n" . '[Tor Browser] ' . IsTorExitPoint() . "\n";
|
||||
$logname = date('d-m-Y H:i:s') . '.log';
|
||||
|
||||
if (file_exists('snoop/' . $logname)) {
|
||||
file_put_contents('snoop/' . $logname . '', $line . PHP_EOL, FILE_APPEND);
|
||||
}
|
||||
else {
|
||||
file_put_contents('snoop/' . $logname . '', $line . PHP_EOL, FILE_APPEND);
|
||||
}
|
||||
|
||||
echo '<style>' . "\n";
|
||||
echo '@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono|Montserrat:700");' . "\n";
|
||||
echo "\n";
|
||||
echo '* {' . "\n";
|
||||
echo ' margin: 0;' . "\n";
|
||||
echo ' padding: 0;' . "\n";
|
||||
echo ' border: 0;' . "\n";
|
||||
echo ' font-size: 100%;' . "\n";
|
||||
echo ' font: inherit;' . "\n";
|
||||
echo ' vertical-align: baseline;' . "\n";
|
||||
echo ' box-sizing: border-box;' . "\n";
|
||||
echo ' color: inherit;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'body {' . "\n";
|
||||
echo ' height: 100%;' . "\n";
|
||||
echo "\t" . 'background-position: center;' . "\n";
|
||||
echo ' background-repeat: no-repeat;' . "\n";
|
||||
echo ' background-size: cover;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'div {' . "\n";
|
||||
echo ' background: rgba(0, 0, 0, 0);' . "\n";
|
||||
echo ' width: 70vw;' . "\n";
|
||||
echo ' position: relative;' . "\n";
|
||||
echo ' top: 50%;' . "\n";
|
||||
echo ' transform: translateY(-50%);' . "\n";
|
||||
echo ' margin: 0 auto;' . "\n";
|
||||
echo ' padding: 30px 30px 10px;' . "\n";
|
||||
echo ' box-shadow: 0 0 150px -20px rgba(0, 0, 0, 0.5);' . "\n";
|
||||
echo ' z-index: 3;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'P {' . "\n";
|
||||
echo ' font-family: "Share Tech Mono", monospace;' . "\n";
|
||||
echo ' color: #f5f5f5;' . "\n";
|
||||
echo ' margin: 0 0 20px;' . "\n";
|
||||
echo ' font-size: 17px;' . "\n";
|
||||
echo ' line-height: 1.2;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'span {' . "\n";
|
||||
echo ' color: #F0DA00;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'i {' . "\n";
|
||||
echo ' color: #36FE00;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'div a {' . "\n";
|
||||
echo ' text-decoration: none;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'b {' . "\n";
|
||||
echo ' color: #81a2be;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo 'a {' . "\n";
|
||||
echo ' color: #FF2D00;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo '@keyframes slide {' . "\n";
|
||||
echo ' from {' . "\n";
|
||||
echo ' right: -100px;' . "\n";
|
||||
echo ' transform: rotate(360deg);' . "\n";
|
||||
echo ' opacity: 0;' . "\n";
|
||||
echo ' }' . "\n";
|
||||
echo ' to {' . "\n";
|
||||
echo ' right: 15px;' . "\n";
|
||||
echo ' transform: rotate(0deg);' . "\n";
|
||||
echo ' opacity: 1;' . "\n";
|
||||
echo ' }' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo '</style>' . "\n";
|
||||
echo "\n";
|
||||
echo '<div>' . "\n";
|
||||
echo '<center>' . "\n";
|
||||
echo '<p><span><a>Goodbye!</a></span></p>' . "\n";
|
||||
echo '<p>$ <span><a>This panel was brought to you by InfinityAdre</a></span></p>' . "\n";
|
||||
echo '<br>' . "\n";
|
||||
echo '<br>' . "\n";
|
||||
echo '<p>$ <span>Logged out at</span>: <i>"';
|
||||
echo date('d-m-Y H:i:s');
|
||||
echo '<i>"</p>' . "\n";
|
||||
echo '<br>' . "\n";
|
||||
echo '<br>' . "\n";
|
||||
echo '<p>$ <span><a>Click close to exit this page!!</a></span></p>' . "\n";
|
||||
echo '<br>' . "\n";
|
||||
echo '<span><a button class="btn btn-warning btn-icon-split" id="button" href="./login.php">' . "\n";
|
||||
echo '<span class="icon text-red"><i class="fa fa-cross"></i></span><span class="text">Close</span>' . "\n";
|
||||
echo '</button></a></span>' . "\n";
|
||||
echo "\t\t\n";
|
||||
echo '<script>' . "\n";
|
||||
echo 'var str = document.getElementsByTagName(\'div\')[0].innerHTML.toString();' . "\n";
|
||||
echo 'var i = 0;' . "\n";
|
||||
echo 'document.getElementsByTagName(\'div\')[0].innerHTML = "";' . "\n";
|
||||
echo "\n";
|
||||
echo 'setTimeout(function() {' . "\n";
|
||||
echo ' var se = setInterval(function() {' . "\n";
|
||||
echo ' i++;' . "\n";
|
||||
echo ' document.getElementsByTagName(\'div\')[0].innerHTML = str.slice(0, i) + \'|\';' . "\n";
|
||||
echo ' if (i == str.length) {' . "\n";
|
||||
echo ' clearInterval(se);' . "\n";
|
||||
echo ' document.getElementsByTagName(\'div\')[0].innerHTML = str;' . "\n";
|
||||
echo ' }' . "\n";
|
||||
echo ' }, 10);' . "\n";
|
||||
echo '},0);' . "\n";
|
||||
echo "\n";
|
||||
echo '</script>';
|
||||
|
||||
?>
|
||||
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 352 KiB |
|
After Width: | Height: | Size: 101 KiB |
@@ -0,0 +1,272 @@
|
||||
<?php
|
||||
////Get User IP
|
||||
function real_ip() {
|
||||
$ip = 'undefined';
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
elseif (isset($_SERVER['HTTP_CLIENT_IP'])) $ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
} else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) $ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
elseif (getenv('HTTP_CLIENT_IP')) $ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
function get_os() {
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$os_platform = "Unknown OS Platform";
|
||||
$os_array = array(
|
||||
'/windows nt 10/i' => 'Windows 10',
|
||||
'/windows nt 6.3/i' => 'Windows 8.1',
|
||||
'/windows nt 6.2/i' => 'Windows 8',
|
||||
'/windows nt 6.1/i' => 'Windows 7',
|
||||
'/windows nt 6.0/i' => 'Windows Vista',
|
||||
'/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
|
||||
'/windows nt 5.1/i' => 'Windows XP',
|
||||
'/windows xp/i' => 'Windows XP',
|
||||
'/windows nt 5.0/i' => 'Windows 2000',
|
||||
'/windows me/i' => 'Windows ME',
|
||||
'/win98/i' => 'Windows 98',
|
||||
'/win95/i' => 'Windows 95',
|
||||
'/win16/i' => 'Windows 3.11',
|
||||
'/macintosh|mac os x/i' => 'Mac OS X',
|
||||
'/mac_powerpc/i' => 'Mac OS 9',
|
||||
'/linux/i' => 'Linux',
|
||||
'/ubuntu/i' => 'Ubuntu',
|
||||
'/iphone/i' => 'iPhone',
|
||||
'/ipod/i' => 'iPod',
|
||||
'/ipad/i' => 'iPad',
|
||||
'/android/i' => 'Android',
|
||||
'/blackberry/i' => 'BlackBerry',
|
||||
'/webos/i' => 'Mobile'
|
||||
);
|
||||
foreach ($os_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$os_platform = $value;
|
||||
}
|
||||
}
|
||||
return $os_platform;
|
||||
}
|
||||
|
||||
function Browser_type() {
|
||||
$user_agent= $_SERVER['HTTP_USER_AGENT'];
|
||||
$browser = "Unknown Browser";
|
||||
$browser_array = array(
|
||||
'/msie/i' => 'Internet Explorer',
|
||||
'/Trident/i' => 'Internet Explorer',
|
||||
'/firefox/i' => 'Firefox',
|
||||
'/safari/i' => 'Safari',
|
||||
'/chrome/i' => 'Chrome',
|
||||
'/edge/i' => 'Edge',
|
||||
'/opera/i' => 'Opera',
|
||||
'/netscape/i' => 'Netscape',
|
||||
'/maxthon/i' => 'Maxthon',
|
||||
'/konqueror/i' => 'Konqueror',
|
||||
'/ubrowser/i' => 'UC Browser',
|
||||
'/mobile/i' => 'Handheld Browser'
|
||||
);
|
||||
foreach ($browser_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$browser = $value;
|
||||
}
|
||||
}
|
||||
return $browser;
|
||||
}
|
||||
|
||||
function get_device(){
|
||||
$tablet_browser = 0;
|
||||
$mobile_browser = 0;
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));
|
||||
$mobile_agents = array(
|
||||
'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
|
||||
'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
|
||||
'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
|
||||
'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
|
||||
'newt','noki','palm','pana','pant','phil','play','port','prox',
|
||||
'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
|
||||
'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
|
||||
'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
|
||||
'wapr','webc','winw','winw','xda ','xda-');
|
||||
if (in_array($mobile_ua,$mobile_agents)) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
|
||||
$mobile_browser++;
|
||||
//Check for tablets on opera mini alternative headers
|
||||
$stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])?$_SERVER['HTTP_X_OPERAMINI_PHONE_UA']:(isset($_SERVER['HTTP_DEVICE_STOCK_UA'])?$_SERVER['HTTP_DEVICE_STOCK_UA']:''));
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
}
|
||||
if ($tablet_browser > 0) {
|
||||
// do something for tablet devices
|
||||
return 'Tablet';
|
||||
}
|
||||
else if ($mobile_browser > 0) {
|
||||
// do something for mobile devices
|
||||
return 'Mobile';
|
||||
}
|
||||
else {
|
||||
// do something for everything else
|
||||
return 'Computer';
|
||||
}
|
||||
}
|
||||
|
||||
///Use of Tor browser
|
||||
function IsTorExitPoint(){
|
||||
if (gethostbyname(ReverseIPOctets($_SERVER['REMOTE_ADDR']).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") {
|
||||
return 'True';
|
||||
}else{
|
||||
return 'False';
|
||||
}
|
||||
}
|
||||
function ReverseIPOctets($inputip){
|
||||
$ipoc = explode(".",$inputip);
|
||||
return $ipoc[3].".".$ipoc[2].".".$ipoc[1].".".$ipoc[0];
|
||||
}
|
||||
|
||||
//If geo ip fails so will script!!
|
||||
//
|
||||
//Get Geo IP
|
||||
$ipl = real_ip();
|
||||
$details = json_decode(file_get_contents("https://ipinfo.io/{$ipl}/json"));
|
||||
$country = $details->country;
|
||||
$state = $details->region;
|
||||
$city = $details->city;
|
||||
$isp = $details->org;
|
||||
$isp = preg_replace("/AS\d{1,}\s/","",$isp); //Remove AS##### from ISP name
|
||||
$loc = $details->loc;
|
||||
|
||||
|
||||
?>
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono|Montserrat:700");
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: radial-gradient( black 10%, #000000 99%);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
div {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
width: 70vw;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
margin: 0 auto;
|
||||
padding: 30px 30px 10px;
|
||||
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
P {
|
||||
font-family: "", monospace;
|
||||
color: #f5f5f5;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #1800f0;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #ffe600;
|
||||
}
|
||||
|
||||
j {
|
||||
color: #26c91a
|
||||
}
|
||||
|
||||
div a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
b {
|
||||
color: #09ff00;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #ff1e00;
|
||||
}
|
||||
|
||||
@keyframes slide {
|
||||
from {
|
||||
right: -100px;
|
||||
transform: rotate(360deg);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
right: 15px;
|
||||
transform: rotate(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<p><span>Message From The Egg</span>: <j>" </j><i>GET YOUR OWN SH!T !!!!!</i><j> "</j></p>
|
||||
<p><a>Access Denied !!! You Do Not Have The Permission To Access !!!</a></p>
|
||||
<p>>>>>> <span>Time Of Arrival</span>: <i><?php echo date('d-m-Y H:i:s')?></i></p>
|
||||
<p>>>>>> <span>IP Address</span>: <i><?php echo real_ip()?></i></p>
|
||||
<p>>>>>> <span>Country</span>: <i><?php echo $country?></i></p>
|
||||
<p>>>>>> <span>State</span>: <i><?php echo $state ?></i></p>
|
||||
<p>>>>>> <span>City</span>: <i><?php echo $city ?></i></p>
|
||||
<p>>>>>> <span>Location</span>: <i><?php echo $loc ?></i></p>
|
||||
<p>>>>>> <span>ISP</span>: <i><?php echo $isp ?></i></p>
|
||||
<p>>>>>> <span>Operating System</span>: <i><?php echo get_os() ?></i></p>
|
||||
<p>>>>>> <span>Browser</span>: <i><?php echo Browser_type() ?></i></p>
|
||||
<p>>>>>> <span>Device</span>: <i><?php echo get_device() ?></i></p>
|
||||
<p>>>>>> <span>Tor Browser</span>: <i><?php echo IsTorExitPoint() ?></i></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Logging Session And Recording Ip:</i> <j> " Completed . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Preparing to DDos Recorded Ip:</i> <j>" Successful . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <j>" </j><a>!!! You Will Be Blacklisted Shortly.... !!!</a><j> "</j></i></p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var str = document.getElementsByTagName('div')[0].innerHTML.toString();
|
||||
var i = 0;
|
||||
document.getElementsByTagName('div')[0].innerHTML = "";
|
||||
|
||||
setTimeout(function() {
|
||||
var se = setInterval(function() {
|
||||
i++;
|
||||
document.getElementsByTagName('div')[0].innerHTML = str.slice(0, i) + "|";
|
||||
if (i == str.length) {
|
||||
clearInterval(se);
|
||||
document.getElementsByTagName('div')[0].innerHTML = str;
|
||||
}
|
||||
}, 10);
|
||||
},0);
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1 @@
|
||||
{"app":"yyy","info":{"aa":"3","bb":false,"cc":1607189724,"dd":"","ee":"da39a3ee5e6b4b0d3255bfef95601890afd80709","ff":3,"gg":"","ii":"2"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"app":"XCIPTV","info":{"aa":"2","bb":"29-04-2025 20:28:09","cc":1745958489,"dd":"MjktMDQtMjAyNSAyMDoyODowOQ==","ee":"895f1a9171c39563e256cc6dfcf1c86101ce2f7b","ff":3,"gg":"d8eeee0ee962d498d7d5a068dbfa62e693508100","ii":"2","kk":"1","mm":"1","oo":"1","qq":"1","ss":"1","uu":"appsnscripts","ww":"https:\/\/t.me\/keeney98\/","yy":"address-card"}}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
echo ' <script> ' . "\n";
|
||||
echo '$(document).ready(function () {' . "\n";
|
||||
echo ' $(\'#flash-msg\').delay(3000).fadeOut(\'slow\');' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo ' </script>' . "\n";
|
||||
echo ' <script>' . "\n";
|
||||
echo '$(\'#confirm-delete\').on(\'show.bs.modal\', function(e) {' . "\n";
|
||||
echo ' $(this).find(\'.btn-ok\').attr(\'href\', $(e.relatedTarget).data(\'href\'));' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo ' </script>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
if(session_status() === PHP_SESSION_NONE) session_start();
|
||||
?>
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
echo " <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js\"></script>\n";
|
||||
echo " <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js\"></script>\n";
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="sticky-footer">
|
||||
<center></center>
|
||||
<div class="container">
|
||||
<div class="copyright text-center">
|
||||
<span><a href="https://t.me/keeney98" target="_blank">©appsnscripts XCIPTV Manager</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- End of Footer -->
|
||||
|
||||
</div>
|
||||
<!-- End of Content Wrapper -->
|
||||
|
||||
</div>
|
||||
<!-- End of Page Wrapper -->
|
||||
|
||||
<!-- Scroll to Top Button-->
|
||||
<a class="scroll-to-top rounded" href="#page-top">
|
||||
<i class="fas fa-angle-up"></i>
|
||||
</a>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript-->
|
||||
<script src="vendor/jquery/jquery.min.js"></script>
|
||||
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Core plugin JavaScript-->
|
||||
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
|
||||
|
||||
|
||||
<!-- Custom scripts for all pages-->
|
||||
<script src="js/sb-admin-2.min.js"></script>
|
||||
<script src="js/jquery.datetimepicker.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
var today = new Date();
|
||||
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();
|
||||
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
|
||||
var dateTime = date+' '+time;
|
||||
|
||||
$('#datetimepicker').datetimepicker({
|
||||
//value:dateTime,
|
||||
step:30,
|
||||
format:'Y-m-d H:i:s',
|
||||
});
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#flash-msg").delay(3000).fadeOut("slow");
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,33 @@
|
||||
<center></center>
|
||||
|
||||
<!-- Bootstrap core JavaScript-->
|
||||
<script src="vendor/jquery/jquery.min.js"></script>
|
||||
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Core plugin JavaScript-->
|
||||
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
|
||||
|
||||
|
||||
<!-- Custom scripts for all pages-->
|
||||
<script src="js/sb-admin.min.js"></script>
|
||||
<script src="js/jquery.datetimepicker.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
var today = new Date();
|
||||
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();
|
||||
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
|
||||
var dateTime = date+' '+time;
|
||||
|
||||
$('#datetimepicker').datetimepicker({
|
||||
//value:dateTime,
|
||||
step:30,
|
||||
format:'Y-m-d H:i:s',
|
||||
});
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#flash-msg").delay(3000).fadeOut("slow");
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,268 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
require 'check.php';
|
||||
|
||||
if (!isset($_SESSION['appsnscriptsxc'])) {
|
||||
header('location:login.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
$ifofuser = $_SESSION['id'];
|
||||
$jsondataversion = file_get_contents('./api/main.json');
|
||||
$dataversion = json_decode($jsondataversion, true);
|
||||
$jsonversion = $dataversion['app'];
|
||||
$version_codeversion = $jsonversion['version_code'];
|
||||
$conn_count = new SQLite3('./api/user_logs.db');
|
||||
$rows_count = $conn_count->query('SELECT COUNT(*) as count FROM logging WHERE status=\'yes\'');
|
||||
$row_count = $rows_count->fetchArray();
|
||||
$numRows_count = $row_count['count'];
|
||||
$db_header = new SQLite3('./api/appsnscriptspanels.db');
|
||||
$res_header = $db_header->query('SELECT * ' . "\n\t\t\t\t" . ' FROM USERS ' . "\n\t\t\t\t" . ' WHERE id=\'' . $ifofuser . '\'');
|
||||
$row_header = $res_header->fetchArray();
|
||||
$name_header = $row_header['NAME'];
|
||||
$logo_header = $row_header['LOGO'];
|
||||
echo '<!DOCTYPE html>' . "\n";
|
||||
echo '<html lang="en">' . "\n";
|
||||
echo "\n";
|
||||
echo '<head>' . "\n";
|
||||
echo "\n";
|
||||
$jsondata111 = file_get_contents('./includes/appsnscripts.json');
|
||||
$json111 = json_decode($jsondata111, true);
|
||||
$col1 = $json111['info'];
|
||||
$col2 = $col1['aa'];
|
||||
$col3 = $col1['kk'];
|
||||
$col4 = $col1['mm'];
|
||||
$col5 = $col1['oo'];
|
||||
$col6 = $col1['qq'];
|
||||
$col7 = $col1['ss'];
|
||||
$colname = $col1['uu'];
|
||||
$collink = $col1['ww'];
|
||||
$colicon = $col1['yy'];
|
||||
echo ' <meta charset="utf-8">' . "\n";
|
||||
echo ' <meta http-equiv="X-UA-Compatible" content="IE=edge">' . "\n";
|
||||
echo ' <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">' . "\n";
|
||||
echo ' <meta name="description" content="">' . "\n";
|
||||
echo ' <meta name="author" content="">' . "\n";
|
||||
echo ' <meta name="google" content="notranslate">' . "\n";
|
||||
echo ' <script src="https://kit.fontawesome.com/3794d2f89f.js" crossorigin="anonymous"></script>' . "\n";
|
||||
echo ' <title>Ultra XC</title>' . "\n";
|
||||
echo ' <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">' . "\n";
|
||||
echo ' <link rel="icon" href="favicon.ico" type="image/x-icon">' . "\n";
|
||||
echo ' <!-- Custom styles for this template-->' . "\n";
|
||||
echo ' <link href="css/sb-admin-' . $col2 . '.css" rel="stylesheet">' . "\n";
|
||||
echo ' <link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.min.css"/>' . "\n";
|
||||
echo ' <!-- Custom fonts for this template-->' . "\n";
|
||||
echo ' <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">' . "\n";
|
||||
echo ' <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo '</head> ' . "\n";
|
||||
echo '<body id="page-top">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Page Wrapper -->' . "\n";
|
||||
echo ' <div id="wrapper">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Sidebar -->' . "\n";
|
||||
echo ' <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if ($logo_header != NULL) {
|
||||
echo ' <!-- Sidebar - Brand -->' . "\n";
|
||||
echo ' <a class="sidebar-brand d-flex align-items-center justify-content-center" href="colour.php">' . "\n";
|
||||
echo ' <div class="sidebar-brand-icon">' . "\n";
|
||||
echo ' <img class="img-profile rounded-circle" width="65px" src="' . $logo_header . '">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
}
|
||||
else {
|
||||
echo ' <!-- Sidebar - Brand -->' . "\n";
|
||||
echo ' <a class="sidebar-brand d-flex align-items-center justify-content-center" href="colour.php">' . "\n";
|
||||
echo ' <div class="sidebar-brand-icon">' . "\n";
|
||||
echo ' <img class="img-profile rounded-circle" width="65px" src="img/xciptv.png">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
}
|
||||
|
||||
echo "\n";
|
||||
echo ' </a>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Divider -->' . "\n";
|
||||
echo ' <hr class="sidebar-divider my-0">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if ($ifofuser == '2') {
|
||||
echo ' <!-- Nav Item -->' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="admin.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-cog"></i>' . "\n";
|
||||
echo ' <span>Panel Control</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
}
|
||||
|
||||
echo ' <!-- Nav Item -->' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="app.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-home"></i>' . "\n";
|
||||
echo ' <span>Main App</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="extra.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-wrench"></i>' . "\n";
|
||||
echo ' <span>Extras</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="announcement.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-bullhorn"></i>' . "\n";
|
||||
echo ' <span>Announcement</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="maintenance.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-tachometer-alt"></i>' . "\n";
|
||||
echo ' <span>Maintenance</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="send_message.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-comment"></i>' . "\n";
|
||||
echo ' <span>Send Message</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if ($col7 == '1') {
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="vpn.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-user-shield"></i>' . "\n";
|
||||
echo ' <span>VPN</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
}
|
||||
|
||||
if ($col4 == '1') {
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="snoop.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-eye"></i>' . "\n";
|
||||
echo ' <span>Snoop</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
}
|
||||
|
||||
if ($col5 == '1') {
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="users.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-user-plus"></i>' . "\n";
|
||||
echo ' <span>Connected Users (' . $numRows_count . ')</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
}
|
||||
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseUtilities" aria-expanded="true" aria-controls="collapseUtilities">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-wrench"></i>' . "\n";
|
||||
echo ' <span>Utilities</span>' . "\n";
|
||||
echo ' </a>' . "\n";
|
||||
echo ' <div id="collapseUtilities" class="collapse" aria-labelledby="headingUtilities" data-parent="#accordionSidebar">' . "\n";
|
||||
echo ' <div class="bg-white py-2 collapse-inner rounded">' . "\n";
|
||||
echo ' <h6 class="collapse-header">Custom Utilities:</h6>' . "\n";
|
||||
echo ' <a class="collapse-item" href="player.php"><i class="fas fa-fw fa-play"></i><span> Player Options</span></a>' . "\n";
|
||||
|
||||
if ($col3 == '1') {
|
||||
echo ' <a class="collapse-item" href="theme.php"><i class="fas fa-fw fa-paint-brush"></i><span> Theme Change</span></a>' . "\n";
|
||||
}
|
||||
|
||||
if ($col6 == '1') {
|
||||
echo ' <a class="collapse-item" href="intro.php"><i class="fas fa-fw fa-video"></i><span> Update Intro</span></a>' . "\n";
|
||||
}
|
||||
|
||||
echo ' <a class="collapse-item" href="language.php"><i class="fas fa-fw fa-globe"></i><span> Languages</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="parent.php"><i class="fas fa-fw fa-unlock"></i><span> Parental Reset</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="appads.php"><i class="fas fa-fw fa-rocket"></i><span> App Ads</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="update.php"><i class="fas fa-fw fa-upload"></i><span> Push Update</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="profile.php"><i class="fas fa-fw fa-user"></i><span> Update Profile</span></a>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages" aria-expanded="true" aria-controls="collapsePages">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-cloud"></i>' . "\n";
|
||||
echo ' <span>Cloud</span>' . "\n";
|
||||
echo ' </a>' . "\n";
|
||||
echo ' <div id="collapsePages" class="collapse" aria-labelledby="headingPages" data-parent="#accordionSidebar">' . "\n";
|
||||
echo ' <div class="bg-white py-2 collapse-inner rounded">' . "\n";
|
||||
echo ' <h6 class="collapse-header">Cloud Uploads:</h6>' . "\n";
|
||||
echo ' <a class="collapse-item" href="https://www.filelinked.com/login" target="_blank"><i class="fas fa-fw fa-share"></i><span> FileLinked</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="https://db.tt" target="_blank"><i class="fas fa-fw fa-share"></i><span> DropBox</span></a>' . "\n";
|
||||
echo ' <a class="collapse-item" href="https://mega.nz/" target="_blank"><i class="fas fa-fw fa-share"></i><span> Mega</span></a>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="' . $collink . '" target="_blank">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa-' . $colicon . '"></i>' . "\n";
|
||||
echo ' <span>' . $colname . '</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <li class="nav-item">' . "\n";
|
||||
echo ' <a class="nav-link" href="logout.php">' . "\n";
|
||||
echo ' <i class="fas fa-fw fa fa-sign-out"></i>' . "\n";
|
||||
echo ' <span>Logout</span></a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Divider -->' . "\n";
|
||||
echo ' <hr class="sidebar-divider d-none d-md-block">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Sidebar Toggler (Sidebar) -->' . "\n";
|
||||
echo ' <div class="text-center d-none d-md-inline">' . "\n";
|
||||
echo ' <button class="rounded-circle border-0" id="sidebarToggle"></button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </ul>' . "\n";
|
||||
echo ' <!-- End of Sidebar -->' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Content Wrapper -->' . "\n";
|
||||
echo ' <div id="content-wrapper" class="d-flex flex-column">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Main Content -->' . "\n";
|
||||
echo ' <div id="content">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Topbar -->' . "\n";
|
||||
echo ' <nav class="navbar navbar-expand navbar-light topbar mb-4 static-top shadow">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Sidebar Toggle (Topbar) -->' . "\n";
|
||||
echo ' <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">' . "\n";
|
||||
echo ' <i class="fa fa-bars"></i>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo '<div><h5 class="m-0 text-primary">Ultra XC <sup> ' . $version_codeversion . ' +</sup><br>' . $name_header . ' </br></h5></div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Topbar Navbar -->' . "\n";
|
||||
echo ' <ul class="navbar-nav ml-auto">' . "\n";
|
||||
echo "\n";
|
||||
echo "\n";
|
||||
echo ' <div class="topbar-divider d-none d-sm-block"></div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Nav Item - Logout -->' . "\n";
|
||||
echo ' <li class="nav-item dropdown no-arrow mx-1">' . "\n";
|
||||
echo ' <a class="nav-link dropdown-toggle" href="logout.php"><span class="badge badge-danger">Logout</span>' . "\n";
|
||||
echo ' <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-red-400"></i>' . "\n";
|
||||
echo ' </a>' . "\n";
|
||||
echo ' </li>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </ul>' . "\n";
|
||||
echo "\n";
|
||||
echo ' </nav>' . "\n";
|
||||
echo ' <!-- End of Topbar -->' . "\n";
|
||||
echo "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,272 @@
|
||||
<?php
|
||||
////Get User IP
|
||||
function real_ip() {
|
||||
$ip = 'undefined';
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
elseif (isset($_SERVER['HTTP_CLIENT_IP'])) $ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
} else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) $ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
elseif (getenv('HTTP_CLIENT_IP')) $ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
function get_os() {
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
$os_platform = "Unknown OS Platform";
|
||||
$os_array = array(
|
||||
'/windows nt 10/i' => 'Windows 10',
|
||||
'/windows nt 6.3/i' => 'Windows 8.1',
|
||||
'/windows nt 6.2/i' => 'Windows 8',
|
||||
'/windows nt 6.1/i' => 'Windows 7',
|
||||
'/windows nt 6.0/i' => 'Windows Vista',
|
||||
'/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
|
||||
'/windows nt 5.1/i' => 'Windows XP',
|
||||
'/windows xp/i' => 'Windows XP',
|
||||
'/windows nt 5.0/i' => 'Windows 2000',
|
||||
'/windows me/i' => 'Windows ME',
|
||||
'/win98/i' => 'Windows 98',
|
||||
'/win95/i' => 'Windows 95',
|
||||
'/win16/i' => 'Windows 3.11',
|
||||
'/macintosh|mac os x/i' => 'Mac OS X',
|
||||
'/mac_powerpc/i' => 'Mac OS 9',
|
||||
'/linux/i' => 'Linux',
|
||||
'/ubuntu/i' => 'Ubuntu',
|
||||
'/iphone/i' => 'iPhone',
|
||||
'/ipod/i' => 'iPod',
|
||||
'/ipad/i' => 'iPad',
|
||||
'/android/i' => 'Android',
|
||||
'/blackberry/i' => 'BlackBerry',
|
||||
'/webos/i' => 'Mobile'
|
||||
);
|
||||
foreach ($os_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$os_platform = $value;
|
||||
}
|
||||
}
|
||||
return $os_platform;
|
||||
}
|
||||
|
||||
function Browser_type() {
|
||||
$user_agent= $_SERVER['HTTP_USER_AGENT'];
|
||||
$browser = "Unknown Browser";
|
||||
$browser_array = array(
|
||||
'/msie/i' => 'Internet Explorer',
|
||||
'/Trident/i' => 'Internet Explorer',
|
||||
'/firefox/i' => 'Firefox',
|
||||
'/safari/i' => 'Safari',
|
||||
'/chrome/i' => 'Chrome',
|
||||
'/edge/i' => 'Edge',
|
||||
'/opera/i' => 'Opera',
|
||||
'/netscape/i' => 'Netscape',
|
||||
'/maxthon/i' => 'Maxthon',
|
||||
'/konqueror/i' => 'Konqueror',
|
||||
'/ubrowser/i' => 'UC Browser',
|
||||
'/mobile/i' => 'Handheld Browser'
|
||||
);
|
||||
foreach ($browser_array as $regex => $value) {
|
||||
if (preg_match($regex, $user_agent)) {
|
||||
$browser = $value;
|
||||
}
|
||||
}
|
||||
return $browser;
|
||||
}
|
||||
|
||||
function get_device(){
|
||||
$tablet_browser = 0;
|
||||
$mobile_browser = 0;
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));
|
||||
$mobile_agents = array(
|
||||
'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
|
||||
'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
|
||||
'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
|
||||
'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
|
||||
'newt','noki','palm','pana','pant','phil','play','port','prox',
|
||||
'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
|
||||
'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
|
||||
'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
|
||||
'wapr','webc','winw','winw','xda ','xda-');
|
||||
if (in_array($mobile_ua,$mobile_agents)) {
|
||||
$mobile_browser++;
|
||||
}
|
||||
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
|
||||
$mobile_browser++;
|
||||
//Check for tablets on opera mini alternative headers
|
||||
$stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])?$_SERVER['HTTP_X_OPERAMINI_PHONE_UA']:(isset($_SERVER['HTTP_DEVICE_STOCK_UA'])?$_SERVER['HTTP_DEVICE_STOCK_UA']:''));
|
||||
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) {
|
||||
$tablet_browser++;
|
||||
}
|
||||
}
|
||||
if ($tablet_browser > 0) {
|
||||
// do something for tablet devices
|
||||
return 'Tablet';
|
||||
}
|
||||
else if ($mobile_browser > 0) {
|
||||
// do something for mobile devices
|
||||
return 'Mobile';
|
||||
}
|
||||
else {
|
||||
// do something for everything else
|
||||
return 'Computer';
|
||||
}
|
||||
}
|
||||
|
||||
///Use of Tor browser
|
||||
function IsTorExitPoint(){
|
||||
if (gethostbyname(ReverseIPOctets($_SERVER['REMOTE_ADDR']).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") {
|
||||
return 'True';
|
||||
}else{
|
||||
return 'False';
|
||||
}
|
||||
}
|
||||
function ReverseIPOctets($inputip){
|
||||
$ipoc = explode(".",$inputip);
|
||||
return $ipoc[3].".".$ipoc[2].".".$ipoc[1].".".$ipoc[0];
|
||||
}
|
||||
|
||||
//If geo ip fails so will script!!
|
||||
//
|
||||
//Get Geo IP
|
||||
$ipl = real_ip();
|
||||
$details = json_decode(file_get_contents("https://ipinfo.io/{$ipl}/json"));
|
||||
$country = $details->country;
|
||||
$state = $details->region;
|
||||
$city = $details->city;
|
||||
$isp = $details->org;
|
||||
$isp = preg_replace("/AS\d{1,}\s/","",$isp); //Remove AS##### from ISP name
|
||||
$loc = $details->loc;
|
||||
|
||||
|
||||
?>
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono|Montserrat:700");
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: radial-gradient( black 10%, #000000 99%);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
div {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
width: 70vw;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
margin: 0 auto;
|
||||
padding: 30px 30px 10px;
|
||||
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
P {
|
||||
font-family: "", monospace;
|
||||
color: #f5f5f5;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #1800f0;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #ffe600;
|
||||
}
|
||||
|
||||
j {
|
||||
color: #26c91a
|
||||
}
|
||||
|
||||
div a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
b {
|
||||
color: #09ff00;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #ff1e00;
|
||||
}
|
||||
|
||||
@keyframes slide {
|
||||
from {
|
||||
right: -100px;
|
||||
transform: rotate(360deg);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
right: 15px;
|
||||
transform: rotate(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<p><span>Message From The Egg</span>: <j>" </j><i>GET YOUR OWN SH!T !!!!!</i><j> "</j></p>
|
||||
<p><a>Access Denied !!! You Do Not Have The Permission To Access !!!</a></p>
|
||||
<p>>>>>> <span>Time Of Arrival</span>: <i><?php echo date('d-m-Y H:i:s')?></i></p>
|
||||
<p>>>>>> <span>IP Address</span>: <i><?php echo real_ip()?></i></p>
|
||||
<p>>>>>> <span>Country</span>: <i><?php echo $country?></i></p>
|
||||
<p>>>>>> <span>State</span>: <i><?php echo $state ?></i></p>
|
||||
<p>>>>>> <span>City</span>: <i><?php echo $city ?></i></p>
|
||||
<p>>>>>> <span>Location</span>: <i><?php echo $loc ?></i></p>
|
||||
<p>>>>>> <span>ISP</span>: <i><?php echo $isp ?></i></p>
|
||||
<p>>>>>> <span>Operating System</span>: <i><?php echo get_os() ?></i></p>
|
||||
<p>>>>>> <span>Browser</span>: <i><?php echo Browser_type() ?></i></p>
|
||||
<p>>>>>> <span>Device</span>: <i><?php echo get_device() ?></i></p>
|
||||
<p>>>>>> <span>Tor Browser</span>: <i><?php echo IsTorExitPoint() ?></i></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Logging Session And Recording Ip:</i> <j> " Completed . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <i>Preparing to DDos Recorded Ip:</i> <j>" Successful . . . "</j></p>
|
||||
<p>>>>>> <span>@admin</span>: <j>" </j><a>!!! You Will Be Blacklisted Shortly.... !!!</a><j> "</j></i></p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var str = document.getElementsByTagName('div')[0].innerHTML.toString();
|
||||
var i = 0;
|
||||
document.getElementsByTagName('div')[0].innerHTML = "";
|
||||
|
||||
setTimeout(function() {
|
||||
var se = setInterval(function() {
|
||||
i++;
|
||||
document.getElementsByTagName('div')[0].innerHTML = str.slice(0, i) + "|";
|
||||
if (i == str.length) {
|
||||
clearInterval(se);
|
||||
document.getElementsByTagName('div')[0].innerHTML = str;
|
||||
}
|
||||
}, 10);
|
||||
},0);
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
header('Location: http://www.google.com/');
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$folder_name = '';
|
||||
$intro_img = $folder_name . 'intro.mp4';
|
||||
|
||||
if (isset($_POST['images'])) {
|
||||
$errors = [];
|
||||
$file_name = $_FILES['image']['name'];
|
||||
$file_size = $_FILES['image']['size'];
|
||||
$file_tmp = $_FILES['image']['tmp_name'];
|
||||
$file_type = $_FILES['image']['type'];
|
||||
$file_ext = strtolower(end(explode('.', $_FILES['image']['name'])));
|
||||
$extensions = ['jpeg', 'jpg', 'png', 'gif', 'JPEG', 'JPG', 'PNG', 'GIF', 'mp4', 'MP4'];
|
||||
|
||||
if (in_array($file_ext, $extensions) === false) {
|
||||
$errors[] = 'extension not allowed, please choose a JPEG or PNG or GIF or MP4 file.';
|
||||
}
|
||||
|
||||
if (11242880 < $file_size) {
|
||||
$errors[] = 'File size must not exceed 5 MB';
|
||||
}
|
||||
|
||||
if (empty($errors)) {
|
||||
if ($_POST['image'] == 'intro') {
|
||||
$file_name1 = 'intro.mp4';
|
||||
}
|
||||
|
||||
move_uploaded_file($file_tmp, $folder_name . $file_name1);
|
||||
header('Location: ' . $_SERVER['PHP_SELF']);
|
||||
}
|
||||
else {
|
||||
print_r($errors);
|
||||
}
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Intro Video</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-12">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-video"></i> Intro Video</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<div class="form-group">' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '<form method="post" enctype="multipart/form-data">';
|
||||
echo ' <label class="control-label " for="intro">' . "\n";
|
||||
echo ' <strong> Upload Intro Video File</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo '<div class="input-group">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<div class="custom-file">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t\t" . '<input type="file" class="custom-file-input" name="image" id="intro" placeholder="Choose Intro" onchange="uploadintro(this)" aria-describedby="intro">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t\t" . '<label class="custom-file-label" for="intro" placeholder="Choose Intro"><span id="image-intro"></span></label>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t\t" . '<input type="hidden" name="image" value="intro">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<button type="submit" name="images" class="btn btn-primary">Upload</button>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '</form>' . "\n";
|
||||
echo "\t\t\t\t\t\t" . '<br>' . "\n";
|
||||
echo "\t\t\t\t\t\t\n";
|
||||
echo "\t\t\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t" . '</div>';
|
||||
echo ' <!-- Theme -->' . "\n";
|
||||
echo ' <div class="wrapper">' . "\n";
|
||||
echo ' <div class="col-lg">' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow py-2">' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <div class="row no-gutters align-items-center">' . "\n";
|
||||
echo ' <div class="col mr-2">' . "\n";
|
||||
echo ' <div class="text-xs font-weight-bold text-primary text-uppercase mb-1">Current Intro</div>' . "\n";
|
||||
echo ' <div class="h5 mb-0 font-weight-bold text-gray-800"><video controls="" autoplay="" name="media" width="500"><source src="' . $intro_img . '?' . time() . '" type="video/mp4"></video></div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo '<br><br>' . "\n";
|
||||
echo '<br><br>' . "\n";
|
||||
echo '<footer>' . "\n";
|
||||
echo '</footer>' . "\n";
|
||||
echo ' </body>' . "\n";
|
||||
echo '</html>';
|
||||
echo '<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>' . "\n";
|
||||
echo '<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>' . "\n";
|
||||
echo '<script>' . "\n";
|
||||
echo 'function uploadintro(target) {' . "\n";
|
||||
echo "\t" . 'document.getElementById("image-intro").innerHTML = target.files[0].name;' . "\n";
|
||||
echo '}' . "\n";
|
||||
echo "\n";
|
||||
echo '$(document).ready(function() {' . "\n";
|
||||
echo ' if (location.hash) {' . "\n";
|
||||
echo ' $("a[href=\'" + location.hash + "\']").tab("show");' . "\n";
|
||||
echo ' }' . "\n";
|
||||
echo ' $(document.body).on("click", "a[data-toggle=\'tab\']", function(event) {' . "\n";
|
||||
echo ' location.hash = this.getAttribute("href");' . "\n";
|
||||
echo ' });' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo '$(window).on("popstate", function() {' . "\n";
|
||||
echo ' var anchor = location.hash || $("a[data-toggle=\'tab\']").first().attr("href");' . "\n";
|
||||
echo ' $("a[href=\'" + anchor + "\']").tab("show");' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo "\n";
|
||||
echo '</script>';
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,56 @@
|
||||
(function($) {
|
||||
"use strict"; // Start of use strict
|
||||
|
||||
// Toggle the side navigation
|
||||
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
|
||||
$("body").toggleClass("sidebar-toggled");
|
||||
$(".sidebar").toggleClass("toggled");
|
||||
if ($(".sidebar").hasClass("toggled")) {
|
||||
$('.sidebar .collapse').collapse('hide');
|
||||
};
|
||||
});
|
||||
|
||||
// Close any open menu accordions when window is resized below 768px
|
||||
$(window).resize(function() {
|
||||
if ($(window).width() < 768) {
|
||||
$('.sidebar .collapse').collapse('hide');
|
||||
};
|
||||
|
||||
// Toggle the side navigation when window is resized below 480px
|
||||
if ($(window).width() < 480 && !$(".sidebar").hasClass("toggled")) {
|
||||
$("body").addClass("sidebar-toggled");
|
||||
$(".sidebar").addClass("toggled");
|
||||
$('.sidebar .collapse').collapse('hide');
|
||||
};
|
||||
});
|
||||
|
||||
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
|
||||
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
|
||||
if ($(window).width() > 768) {
|
||||
var e0 = e.originalEvent,
|
||||
delta = e0.wheelDelta || -e0.detail;
|
||||
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
// Scroll to top button appear
|
||||
$(document).on('scroll', function() {
|
||||
var scrollDistance = $(this).scrollTop();
|
||||
if (scrollDistance > 100) {
|
||||
$('.scroll-to-top').fadeIn();
|
||||
} else {
|
||||
$('.scroll-to-top').fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
// Smooth scrolling using jQuery easing
|
||||
$(document).on('click', 'a.scroll-to-top', function(e) {
|
||||
var $anchor = $(this);
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: ($($anchor.attr('href')).offset().top)
|
||||
}, 1000, 'easeInOutExpo');
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
})(jQuery); // End of use strict
|
||||
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Start Bootstrap - SB Admin 2 v4.1.1 (https://startbootstrap.com/themes/sb-admin-2)
|
||||
* Copyright 2013-2020 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
!function(s){"use strict";s("#sidebarToggle, #sidebarToggleTop").on("click",function(e){s("body").toggleClass("sidebar-toggled"),s(".sidebar").toggleClass("toggled"),s(".sidebar").hasClass("toggled")&&s(".sidebar .collapse").collapse("hide")}),s(window).resize(function(){s(window).width()<768&&s(".sidebar .collapse").collapse("hide"),s(window).width()<480&&!s(".sidebar").hasClass("toggled")&&(s("body").addClass("sidebar-toggled"),s(".sidebar").addClass("toggled"),s(".sidebar .collapse").collapse("hide"))}),s("body.fixed-nav .sidebar").on("mousewheel DOMMouseScroll wheel",function(e){if(768<s(window).width()){var o=e.originalEvent,l=o.wheelDelta||-o.detail;this.scrollTop+=30*(l<0?1:-1),e.preventDefault()}}),s(document).on("scroll",function(){100<s(this).scrollTop()?s(".scroll-to-top").fadeIn():s(".scroll-to-top").fadeOut()}),s(document).on("click","a.scroll-to-top",function(e){var o=s(this);s("html, body").stop().animate({scrollTop:s(o.attr("href")).offset().top},1e3,"easeInOutExpo"),e.preventDefault()})}(jQuery);
|
||||
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
"use strict"; // Start of use strict
|
||||
|
||||
// Toggle the side navigation
|
||||
$("#sidebarToggle").on('click', function(e) {
|
||||
e.preventDefault();
|
||||
$("body").toggleClass("sidebar-toggled");
|
||||
$(".sidebar").toggleClass("toggled");
|
||||
});
|
||||
|
||||
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
|
||||
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
|
||||
if ($(window).width() > 768) {
|
||||
var e0 = e.originalEvent,
|
||||
delta = e0.wheelDelta || -e0.detail;
|
||||
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
// Scroll to top button appear
|
||||
$(document).on('scroll', function() {
|
||||
var scrollDistance = $(this).scrollTop();
|
||||
if (scrollDistance > 100) {
|
||||
$('.scroll-to-top').fadeIn();
|
||||
} else {
|
||||
$('.scroll-to-top').fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
// Smooth scrolling using jQuery easing
|
||||
$(document).on('click', 'a.scroll-to-top', function(event) {
|
||||
var $anchor = $(this);
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: ($($anchor.attr('href')).offset().top)
|
||||
}, 1000, 'easeInOutExpo');
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
})(jQuery); // End of use strict
|
||||
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Start Bootstrap - SB Admin v5.1.1 (https://startbootstrap.com/template-overviews/sb-admin)
|
||||
* Copyright 2013-2019 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
!function(l){"use strict";l("#sidebarToggle").on("click",function(o){o.preventDefault(),l("body").toggleClass("sidebar-toggled"),l(".sidebar").toggleClass("toggled")}),l("body.fixed-nav .sidebar").on("mousewheel DOMMouseScroll wheel",function(o){if(768<l(window).width()){var e=o.originalEvent,t=e.wheelDelta||-e.detail;this.scrollTop+=30*(t<0?1:-1),o.preventDefault()}}),l(document).on("scroll",function(){100<l(this).scrollTop()?l(".scroll-to-top").fadeIn():l(".scroll-to-top").fadeOut()}),l(document).on("click","a.scroll-to-top",function(o){var e=l(this);l("html, body").stop().animate({scrollTop:l(e.attr("href")).offset().top},1e3,"easeInOutExpo"),o.preventDefault()})}(jQuery);
|
||||
@@ -0,0 +1,243 @@
|
||||
<?// Deutsch Sprachdatei
|
||||
define("LOGIN_TITLE","Anmelden");
|
||||
define("LOGIN_TEXT","Sie können die entsprechende Option aus dem folgenden Formular verwenden,um sich beim System anzumelden.");
|
||||
define("LOGIN_USER","User Login");
|
||||
define("LOGIN_MAG","MAG Login");
|
||||
define("LOGIN_USERNAME","Username");
|
||||
define("LOGIN_PASSWORD","Kennwort");
|
||||
define("LOGIN_REMEMBER","Erinnere an meine Anmeldedaten.");
|
||||
define("LOGIN_BUTTON","Anmelden");
|
||||
define("LOGIN_MAG_ADRESS","Geben Sie Ihre MAG-Adresse ein");
|
||||
define("LOGIN_MODAL_TITLE","Information");
|
||||
define("LOGIN_ALERT_1","Bitte geben Sie Ihren Benutzernamen ein.");
|
||||
define("LOGIN_ALERT_2","Bitte geben Sie Ihr Passwort ein.");
|
||||
define("LOGIN_ALERT_3","Ihr Login wurde erfolgreich abgeschlossen. Sie werden umgeleitet.");
|
||||
define("LOGIN_ALERT_4","Captcha-Überprüfung fehlgeschlagen.");
|
||||
define("LOGIN_ALERT_5","Die Dauer Ihres Abgelaufen.");
|
||||
define("LOGIN_ALERT_6","Keine solche Mitgliedschaft gefunden.");
|
||||
define("LOGIN_ALERT_7","Bitte geben Sie Ihre MAC-Adresse ein.");
|
||||
define("LOGIN_ALERT_8","Unbegrenzte Konten dürfen sich nicht beim System anmelden.");
|
||||
define("HOME_LIVETV","Live TV");
|
||||
define("HOME_MOVIES","Movies");
|
||||
define("HOME_SERIES","Series");
|
||||
define("SEARCH_ALL","All");
|
||||
define("SEARCH_NOTFOUND","No Results");
|
||||
define("LIVETV_CHANNEL_LIST","Kanalliste");
|
||||
define("LIVETV_CLOSE","Schließen");
|
||||
define("LIVETV_EPG_LIST","EPG-Liste");
|
||||
define("MOVIE_IMDB","IMDB");
|
||||
define("MOVIE_LAST","Zuletzt hinzugefügte Filme");
|
||||
define("MOVIE_CAT","Kategorie");
|
||||
define("MOVIE_WATCH","Jetzt ansehen");
|
||||
define("MOVIE_LIKE","Andere Filme,die Sie durchsuchen können");
|
||||
define("MOVIE_CATS_TEXT","Found {count_movie} Movie in der Kategorie {cat_name}");
|
||||
define("MOVIE_PAGE_PREV","Letzte");
|
||||
define("MOVIE_PAGE_NEXT","Nächste");
|
||||
define("SERIES_IMDB","IMDB");
|
||||
define("SERIES_WATCH","Schau Jetzt");
|
||||
define("SERIES_LAST","Zuletzt hinzugefügte Serie");
|
||||
define("SERIES_CAT","Kategorie");
|
||||
define("SERIES_SEASONS","SEASONS");
|
||||
define("SERIES_CATS_TEXT","{count_movie} Gefunden in Kategorie {cat_name}");
|
||||
define("MOVIE_PAGE_PREV","Letzte");
|
||||
define("MOVIE_PAGE_NEXT","Nächste");
|
||||
define("PROFILE_TITLE","Profile");
|
||||
define("PROFILE_DESC","Sie können Ihre Profileinstellungen über diese Seite festlegen.");
|
||||
define("PROFILE_ACCOUNT","Kontoinformationen");
|
||||
define("PROFILE_ACCOUNT_TEXT","Klicken Sie hier,um Ihre Kontodetails und IPTV-Links abzurufen.");
|
||||
define("PROFILE_PASS","Kennwort ändern");
|
||||
define("PROFILE_PASS_TEXT",") Klicken Sie hier,um das Passwort Ihres Kontos zu ändern.");
|
||||
define("PROFILE_USERNAME","Ihr Benutzername");
|
||||
define("PROFILE_PASS","Ihr Kennwort");
|
||||
define("PROFILE_BOUQET_ALERT_1","Bouqets wurden erfolgreich aktualisiert.");
|
||||
define("PROFILE_BOUQET_ALERT_2","Bouqets konnten nicht aktualisiert werden.");
|
||||
define("PROFILE_PASS_MESSAGE","Ihr neues Passwort: <br /> * Mindestens 8 Zeichen <br /> * Mindestens 3 Großbuchstaben <br /> * Es muss mindestens 3 Ziffern enthalten <br />");
|
||||
define("PROFILE_MODAL_TITLE","Ihre IPTV-Links");
|
||||
define("PROFILE_TIME","Ablaufdatum Ihres Kontos");
|
||||
define("PROFILE_LINK","Ihre IPTV-Links");
|
||||
define("PROFILE_PORTAL","Portal-URL");
|
||||
define("PROFILE_PORTAL_DESC","Sie können Portal-URL-Informationen anzeigen.");
|
||||
define("PROFILE_PASS_CHANGE","Neues Kennwort");
|
||||
define("PROFILE_PASS_CHANGE_2","Neues Kennwort(erneut)");
|
||||
define("PROFILE_PASS_CHANGE_BUTTON","Kennwort ändern");
|
||||
define("PROFILE_PASS_ALERT_1","Die eingegebenen Passwörter stimmen nicht überein.");
|
||||
define("PROFILE_PASS_ALERT_2","Ihr neues Kennwort muss mindestens 8 Zeichen enthalten.");
|
||||
define("PROFILE_PASS_ALERT_3","Ihr neues Kennwort muss mindestens 3 Großbuchstaben enthalten.");
|
||||
define("PROFILE_PASS_ALERT_4","Ihr neues Kennwort muss mindestens 3 Ziffern enthalten.");
|
||||
define("PROFILE_PASS_ALERT_5","Ihr Kennwort wurde erfolgreich geändert. Bitte melden Sie sich erneut an.");
|
||||
define("PROFILE_PASS_ALERT_6","Bitte stellen Sie sicher, dass Sie keine Passwörter leer lassen.");
|
||||
define("PROFILE_PASS_ALERT_7","Bitte stellen Sie sicher, dass die Passwörter übereinstimmen.");
|
||||
define("PROFILE_BOUQUET","Bouquet Einstellung");
|
||||
define("PROFILE_BOUQUET_DESC","Klicken Sie hier, um Ihre Blumenstraußeinstellungen zu konfigurieren.");
|
||||
define("PROFILE_BOUQUET_SAVE","Kennwort ändern");
|
||||
define("SEARCH_INPUT_TEXT","Suchen");
|
||||
define("MENU_HOMEPAGE","Startseite");
|
||||
define("MENU_LIVETV","Live TV");
|
||||
define("MENU_MOVIES","Filme");
|
||||
define("MENU_SERIES","Series");
|
||||
define("MENU_GUIDES","Installation");
|
||||
define("MENU_PROFILE","Mein Konto");
|
||||
define("MENU_LOGOUT","Ausloggen");
|
||||
define("GUIDES_TITLE","Installationsanleitungen");
|
||||
define("GUIDES_DESC","Sie können die folgenden Anleitungen überprüfen, um Ihre IPTV-Liste zu Ihren Geräten hinzuzufügen.");
|
||||
define("GUIDES_MAC","MAC-Adresse");
|
||||
define("GUIDES_URL","Playlist URL");
|
||||
define("GUIDES_PIN","MAC Pin");
|
||||
define("GUIDES_SAVE","Upload Playlist");
|
||||
define("GUIDES_MODAL_TITLE","Playlist Notification");
|
||||
define("GUIDES_MESSAGE_1","Ihre Kanalliste wurde erfolgreich hochgeladen.");
|
||||
define("GUIDES_MESSAGE_2","MAC-Adresse nicht gefunden.");
|
||||
define("GUIDES_MESSAGE_3","Playlist konnte nicht geladen werden.");
|
||||
define("GUIDES_MESSAGE_4","MAC Pin");
|
||||
|
||||
// Deutsch Admin Panel
|
||||
define("PANEL_ALERT_TITLE_1","Warnung!");
|
||||
define("PANEL_ALERT_TITLE_2","Information");
|
||||
define("PANEL_ALERT_MESAGE_1","Bitte geben Sie Ihren Benutzernamen ein.");
|
||||
define("PANEL_ALERT_MESAGE_2","Bitte geben Sie Ihr Passwort ein.");
|
||||
define("PANEL_ALERT_MESAGE_3","Sie haben sich erfolgreich angemeldet. Sie werden umgeleitet.");
|
||||
define("PANEL_ALERT_MESAGE_4","Das Konto mit den von Ihnen eingegebenen Informationen wurde nicht gefunden.");
|
||||
define("PANEL_LOGIN_USERNAME","Benutzername");
|
||||
define("PANEL_LOGIN_PASS","Kennwort");
|
||||
define("PANEL_LOGIN_BUTTON","Anmelden");
|
||||
define("PANEL_HOMEPAGE","Startseite");
|
||||
define("PANEL_BOUQUETS","Bouquets");
|
||||
define("PANEL_GUIDES","Guides");
|
||||
define("PANEL_ADMINS","Administratoren");
|
||||
define("PANEL_THEMES","Theme Einstellung");
|
||||
define("PANEL_SETTINGS","Einstellungen");
|
||||
define("PANEL_PROFILE","Profile");
|
||||
define("PANEL_LOGOUT","Ausloggen");
|
||||
define("FOOTER_COPY","Alle Rechte vorbehalten.");
|
||||
define("FOOTER_VERSION","Version");
|
||||
define("PANEL_ADMINS_TITLE","Administratoreinstellungen");
|
||||
define("PANEL_ADMINS_MESSAGE_1","Administrator-Update erfolgreich durchgeführt");
|
||||
define("PANEL_ADMINS_MESSAGE_2","Administrator-Update fehlgeschlagen.");
|
||||
define("PANEL_ADMINS_MESSAGE_3","Administrator wurde erfolgreich hinzugefügt.");
|
||||
define("PANEL_ADMINS_MESSAGE_4","Administratorzusatzoperation fehlgeschlagen.");
|
||||
define("PANEL_ADMINS_USERNAME","Benutzername");
|
||||
define("PANEL_ADMINS_PASS","Kennwort");
|
||||
define("PANEL_ADMINS_SAVE","SPEICHERN");
|
||||
define("PANEL_ADMINS_TITLE2","Added Administrators");
|
||||
define("PANEL_ADMINS_MESSAGE_5","Administratorlöschung erfolgreich abgeschlossen");
|
||||
define("PANEL_ADMINS_MESSAGE_6","Löschen des Administrators fehlgeschlagen.");
|
||||
define("PANEL_ADMINS_ACTIONS","Actions");
|
||||
|
||||
define("PANEL_BOUQUETS_TITLE","Bouquet Einstellung");
|
||||
define("PANEL_BOUQUETS_MESSAGE_1","Bouquet-Aktualisierung erfolgreich durchgeführt");
|
||||
define("PANEL_BOUQUETS_MESSAGE_2","Bouquet-Aktualisierung fehlgeschlagen.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_3","Bouquet erfolgreich hinzufügen");
|
||||
define("PANEL_BOUQUETS_MESSAGE_4","Hinzufügen eines Straußes fehlgeschlagen.");
|
||||
define("PANEL_BOUQUETS_ID","Bouquet ID");
|
||||
define("PANEL_BOUQUETS_NAME","Bouquet Name");
|
||||
define("PANEL_BOUQUETS_SAVE","SPEICHERN");
|
||||
define("PANEL_BOUQUETS_TITLE2","Dem System hinzugefügte Blumensträuße");
|
||||
define("PANEL_BOUQUETS_MESSAGE_5","Bouquet-Löschung erfolgreich durchgeführt.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_6","Löschen des Straußes fehlgeschlagen.");
|
||||
define("PANEL_BOUQUETS_ACTIONS","Actions");
|
||||
|
||||
define("PANEL_GUIDES_TITLE","Guide Einstellung");
|
||||
define("PANEL_GUIDES_MESSAGE_1","Manuelle Aktualisierung wurde erfolgreich durchgeführt");
|
||||
define("PANEL_GUIDES_MESSAGE_2","Manuelle Aktualisierung fehlgeschlagen.");
|
||||
define("PANEL_GUIDES_MESSAGE_3","Einfügen des Leitfadens war erfolgreich.");
|
||||
define("PANEL_GUIDES_MESSAGE_4","Hinzufügen des Handbuchs fehlgeschlagen.");
|
||||
define("PANEL_GUIDES_NAME","Manual Name");
|
||||
define("PANEL_GUIDES_SMART","IPTV-Anwendung");
|
||||
define("PANEL_GUIDES_DESC","Guide Detail");
|
||||
define("PANEL_GUIDES_YES","JA");
|
||||
define("PANEL_GUIDES_NO","NEIN");
|
||||
define("PANEL_GUIDES_SAVE","SPEICHERN");
|
||||
define("PANEL_GUIDES_TITLE2","Dem System hinzugefügte Handbücher");
|
||||
define("PANEL_GUIDES_MESSAGE_5","Löschen der Anleitung erfolgreich durchgeführt");
|
||||
define("PANEL_GUIDES_MESSAGE_6","Manuelles Löschen fehlgeschlagen.");
|
||||
define("PANEL_GUIDES_ACTIONS","Operations");
|
||||
|
||||
|
||||
define("PANEL_PROFILE_TITLE","Profileinstellungen");
|
||||
define("PANEL_PROFILE_MESSAGE_1","Profilinformationen wurden erfolgreich aktualisiert. Bitte melden Sie sich erneut mit Ihren neuen Informationen an.");
|
||||
define("PANEL_PROFILE_MESSAGE_2","Aktualisierung der Profilinformationen fehlgeschlagen.");
|
||||
define("PANEL_PROFILE_USERNAME","Benutzername");
|
||||
define("PANEL_PROFILE_PASS","Kennwort");
|
||||
define("PANEL_PROFILE_PASS_MESSAGE","Sie können ein neues Passwort eingeben.");
|
||||
define("PANEL_PROFILE_SAVE","SPEICHERN");
|
||||
|
||||
define("PANEL_SETTINGS_TITLE","Site-Einstellungen");
|
||||
define("PANEL_SETTINGS_MESSAGE_1","Site-Einstellungen wurden erfolgreich aktualisiert.");
|
||||
define("PANEL_SETTINGS_MESSAGE_2","Site-Einstellungen konnten nicht aktualisiert werden.");
|
||||
define("PANEL_SETTINGS_TITLE","Site Title");
|
||||
define("PANEL_SETTINGS_DESC","Site Description");
|
||||
define("PANEL_SETTINGS_XTREAM","Panel XTREAM API");
|
||||
define("PANEL_SETTINGS_PORTAL","Panel Stalker Portal Address");
|
||||
define("PANEL_SETTINGS_LANG","Site Language");
|
||||
define("PANEL_SETTINGS_DARK","Dark Mode");
|
||||
define("PANEL_SETTINGS_LOGO","Site Logo");
|
||||
define("PANEL_SETTINGS_FAV","Site Favicon");
|
||||
define("PANEL_SETTINGS_FILE","Datei auswählen");
|
||||
define("PANEL_SETTINGS_MAG","MAG Login");
|
||||
define("PANEL_SETTINGS_CATEGORY","Kanal / Bouquet bearbeiten");
|
||||
define("PANEL_SETTINGS_UNLOGIN","Unlimited Members Login");
|
||||
define("PANEL_SETTINGS_CHANGEPASS","Mitgliedskennwort ändern");
|
||||
define("PANEL_SETTINGS_SAVE","SPEICHERN");
|
||||
define("PANEL_SETTINGS_UPBUT","UPLOAD");
|
||||
define("PANEL_SETTINGS_OTHER","Andere Einstellungen");
|
||||
define("PANEL_SETTINGS_TAB1","Allgemeine Einstellungen");
|
||||
define("PANEL_SETTINGS_TAB2","IPTV Links");
|
||||
define("PANEL_SETTINGS_TAB3","Recaptcha");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_1","Recaptcha Key");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_2","Recaptcha Secret Key");
|
||||
|
||||
define("PANEL_THEMES_TITLE","Theme Settings");
|
||||
define("PANEL_THEMES_TAB1","Einstellungen anzeigen");
|
||||
define("PANEL_THEMES_TAB2","Farbhalt");
|
||||
define("PANEL_THEMES_COLOR1","Default");
|
||||
define("PANEL_THEMES_COLOR2","Red");
|
||||
define("PANEL_THEMES_COLOR3","Grün");
|
||||
define("PANEL_THEMES_COLOR4","Blue");
|
||||
define("PANEL_THEMES_COLOR5","Pink");
|
||||
define("PANEL_THEMES_COLOR6","Yellow");
|
||||
define("PANEL_THEMES_COLOR7","Orange");
|
||||
define("PANEL_THEMES_COLOR8","Gray");
|
||||
define("PANEL_THEMES_COLOR9","Brown");
|
||||
define("PANEL_THEMES_COLOR10","Dark Green");
|
||||
define("PANEL_THEMES_COLOR11","Deep Pink");
|
||||
define("PANEL_THEMES_COLOR12","Cyan");
|
||||
define("PANEL_THEMES_COLOR13","Dark Orchid");
|
||||
define("PANEL_THEMES_DARK_MODE","Dark View");
|
||||
define("PANEL_THEMES_LIGHT_MODE","Open View");
|
||||
|
||||
// Deutsch Installation
|
||||
define("INSTALL_TITLE","Setup Wizard");
|
||||
define("INSTALL_MESSAGE_1","Sie können nicht installieren, da das System zuvor installiert wurde.");
|
||||
define("INSTALL_LANG","Sprachauswahl:");
|
||||
define("INSTALL_STEP_1_4","Schritt 1 von 5");
|
||||
define("INSTALL_LANG_TEXT","Bitte Sprache für die Installation auswählen");
|
||||
define("INSTALL_NEXT_BUTTON","Continue");
|
||||
define("INSTALL_PANEL","Panel Information:");
|
||||
define("INSTALL_STEP_2_4","Schritt 2 von 5");
|
||||
define("INSTALL_PANEL_DNS","DNS-Adresse(http://dns:port/):");
|
||||
define("INSTALL_DBS","Datenbankinformationen:");
|
||||
define("INSTALL_STEP_3_4","Schritt 3/5");
|
||||
define("INSTALL_DBS_HOST","DB Host");
|
||||
define("INSTALL_DBS_USER","DB User");
|
||||
define("INSTALL_DBS_PASS","DB Password");
|
||||
define("INSTALL_DBS_DATA","DB-Datenbank");
|
||||
define("INSTALL_DBS_MESSAGE_1","Die Datei conf/config.php wurde nicht gefunden. Erstellen Sie die Datei im entsprechenden Verzeichnis und überprüfen Sie die Schreibberechtigungen, falls die Datei vorhanden ist.");
|
||||
define("INSTALL_DBS_MESSAGE_2","Verbindung mit Datenbankdatenbank konnte nicht hergestellt werden. Überprüfen Sie die Informationen.");
|
||||
define("INSTALL_DBS_MESSAGE_3","Beim Hochladen der Datenbankdatei in die Datenbank ist ein Problem aufgetreten. Überprüfen Sie die Datei und versuchen Sie es erneut.");
|
||||
|
||||
define("INSTALL_STEP_4_4","Schritt 4 von 5");
|
||||
define("INSTALL_ADMIN","Admin Information:");
|
||||
define("INSTALL_ADMIN_USERNAME","Benutzername:");
|
||||
define("INSTALL_ADMIN_PASSWORD","Passwort:");
|
||||
define("INSTALL_ADMIN_MESSAGE_1","Verbindung zur Datenbank konnte nicht hergestellt werden. Kehren Sie zur vorherigen Seite zurück und überprüfen Sie die Informationen.");
|
||||
define("INSTALL_ADMIN_MESSAGE_2","Beim Erstellen des Benutzers ist ein Fehler aufgetreten. Versuchen Sie es erneut.");
|
||||
define("INSTALL_ADMIN_MESSAGE_3","Beim Aktualisieren der Site-Informationen ist ein Fehler aufgetreten. Versuchen Sie es erneut.");
|
||||
|
||||
define("INSTALL_SUCCESS","Installation abgeschlossen");
|
||||
define("INSTALL_STEP_5_4","Schritt 5 von 5");
|
||||
define("INSTALL_SUCCESS_TEXT","Die Installation wurde erfolgreich abgeschlossen. Vergessen Sie nicht, sich mit den von Ihnen erstellten Informationen bei Ihrem Panel anzumelden und die Site-Informationen zu aktualisieren. Sie werden in wenigen Sekunden umgeleitet.");
|
||||
|
||||
define("PANEL_FIRST_ALERT_TITLE","Warnung");
|
||||
define("PANEL_FIRST_ALERT","Um MAG eingeben, Bouquet ändern, Passwort ändern zu können, fügen Sie bitte die Hosting-IP-Adresse zum Abschnitt der API-IP hinzu und stellen Sie sicher, dass der Port, den Sie in Ihrer DNS-Adresse verwenden(Beispiel: 8000), offen ist.");
|
||||
define("INSTALL_SUCCESS_ALERT_1","Nach dem Installationsvorgang müssen Sie den Installationsordner manuell löschen. Bitte löschen Sie den entsprechenden Ordner über FTP, um die Sicherheit im System zu vermeiden.");
|
||||
?>
|
||||
@@ -0,0 +1,247 @@
|
||||
<?
|
||||
// English Client Area
|
||||
|
||||
define("LOGIN_TITLE","Login");
|
||||
define("LOGIN_TEXT","You can use the appropriate option from the form below to log in to the system.");
|
||||
define("LOGIN_USER","User Login");
|
||||
define("LOGIN_MAG","MAG Login");
|
||||
define("LOGIN_USERNAME","Username");
|
||||
define("LOGIN_PASSWORD","Password");
|
||||
define("LOGIN_REMEMBER","Remember my login details.");
|
||||
define("LOGIN_BUTTON","Login");
|
||||
define("LOGIN_MAG_ADRESS","Enter your MAG Address");
|
||||
define("LOGIN_MODAL_TITLE","Information");
|
||||
define("LOGIN_ALERT_1","Please enter your username.");
|
||||
define("LOGIN_ALERT_2","Please enter your password.");
|
||||
define("LOGIN_ALERT_3","Your login has been successfully completed. You are being redirected.");
|
||||
define("LOGIN_ALERT_4","Captcha verification failed.");
|
||||
define("LOGIN_ALERT_5","Your account has expired.");
|
||||
define("LOGIN_ALERT_6","Such a membership has not been found.");
|
||||
define("LOGIN_ALERT_7","Please enter your MAC address.");
|
||||
define("LOGIN_ALERT_8","Unlimited accounts are not allowed to log into the system.");
|
||||
define("HOME_LIVETV","Live TV");
|
||||
define("HOME_MOVIES","Movies");
|
||||
define("HOME_SERIES","Series");
|
||||
define("SEARCH_ALL", "All");
|
||||
define("SEARCH_NOTFOUND", "There are no results");
|
||||
define("LIVETV_CHANNEL_LIST","Channel List");
|
||||
define("LIVETV_CLOSE","Close");
|
||||
define("LIVETV_EPG_LIST","EPG List");
|
||||
define("MOVIE_IMDB","IMDB");
|
||||
define("MOVIE_LAST","Recently Added Movies");
|
||||
define("MOVIE_CAT","Categories");
|
||||
define("MOVIE_WATCH","Watch Now");
|
||||
define("MOVIE_LIKE","Göz Atabileceğiniz Diğer Filmler");
|
||||
define("MOVIE_CATS_TEXT","{cat_name} In Category {count_movie} Movie Found.");
|
||||
define("MOVIE_PAGE_PREV","Previous");
|
||||
define("MOVIE_PAGE_NEXT","Next");
|
||||
define("SERIES_IMDB","IMDB");
|
||||
define("SERIES_WATCH","Watch Now");
|
||||
define("SERIES_LAST","Recently Added Series");
|
||||
define("SERIES_CAT","Categories");
|
||||
define("SERIES_SEASONS","SEASONS");
|
||||
define("SERIES_CATS_TEXT","{cat_name} In Category {count_movie} Serie Found.");
|
||||
define("SERIES_PAGE_PREV","Previous");
|
||||
define("SERIES_PAGE_NEXT","Next");
|
||||
define("PROFILE_TITLE","Profile");
|
||||
define("PROFILE_DESC","You can make your profile settings on this page.");
|
||||
define("PROFILE_ACCOUNT","Account Info");
|
||||
define("PROFILE_ACCOUNT_TEXT","Click to get the details of your account and your iptv links.");
|
||||
define("PROFILE_PASS","Change Password");
|
||||
define("PROFILE_PASS_TEXT","Click to change the password of your account.");
|
||||
define("PROFILE_USERNAME","Your Username");
|
||||
define("PROFILE_PASS","Your Password");
|
||||
define("PROFILE_BOUQET_ALERT_1","Bouqets have been updated successfully.");
|
||||
define("PROFILE_BOUQET_ALERT_2","Bouqets could not be updated.");
|
||||
define("PROFILE_PASS_MESSAGE","Your New Password:<br />* At least 8 characters<br />* At least 3 uppercase letters<br />* At least 3 number<br />should contain.");
|
||||
define("PROFILE_MODAL_TITLE","IPTV Links");
|
||||
define("PROFILE_TIME","Your Account Expiry Date");
|
||||
define("PROFILE_LINK","IPTV Links");
|
||||
define("PROFILE_PORTAL","Portal URL");
|
||||
define("PROFILE_PORTAL_DESC","You can view the Portal Url information.");
|
||||
define("PROFILE_PASS_CHANGE","New Password");
|
||||
define("PROFILE_PASS_CHANGE_2","New Password (Again)");
|
||||
define("PROFILE_PASS_CHANGE_BUTTON","Change Password");
|
||||
define("PROFILE_PASS_ALERT_1","The passwords you entered do not match.");
|
||||
define("PROFILE_PASS_ALERT_2","Your new password must be at least 8 characters.");
|
||||
define("PROFILE_PASS_ALERT_3","Your new password must contain at least 3 capital letters.");
|
||||
define("PROFILE_PASS_ALERT_4","Your new password must contain at least 3 numbers.");
|
||||
define("PROFILE_PASS_ALERT_5","Your password has been changed successfully. Please login again.");
|
||||
define("PROFILE_PASS_ALERT_6","Please make sure you do not leave passwords blank.");
|
||||
define("PROFILE_PASS_ALERT_7","Please make sure that passwords match each other.");
|
||||
define("PROFILE_BOUQUET","Bouquet Settings");
|
||||
define("PROFILE_BOUQUET_DESC","Click to make your Bouquet settings.");
|
||||
define("PROFILE_BOUQUET_SAVE","Save");
|
||||
define("SEARCH_INPUT_TEXT","Search");
|
||||
define("MENU_HOMEPAGE","Homepage");
|
||||
define("MENU_LIVETV","Live TV");
|
||||
define("MENU_MOVIES","Movies");
|
||||
define("MENU_SERIES","Series");
|
||||
define("MENU_GUIDES","Installation");
|
||||
define("MENU_PROFILE","My Account");
|
||||
define("MENU_LOGOUT","Exit");
|
||||
define("GUIDES_TITLE","Installation Guides");
|
||||
define("GUIDES_DESC","You can check out the guides below to add your iptv list to your devices.");
|
||||
define("GUIDES_MAC","MAC Address");
|
||||
define("GUIDES_URL","Playlist URL");
|
||||
define("GUIDES_PIN","MAC Pin");
|
||||
define("GUIDES_SAVE","Upload Playlist");
|
||||
define("GUIDES_MODAL_TITLE","Playlist Information");
|
||||
define("GUIDES_MESSAGE_1","Your Channel List Has Been Uploaded Successfully.");
|
||||
define("GUIDES_MESSAGE_2","The MAC address was not found.");
|
||||
define("GUIDES_MESSAGE_3","Playlist failed to load.");
|
||||
define("GUIDES_MESSAGE_4","MAC Pin");
|
||||
|
||||
// English Admin Panel
|
||||
define("PANEL_ALERT_TITLE_1","Warning!");
|
||||
define("PANEL_ALERT_TITLE_2","Information");
|
||||
define("PANEL_ALERT_MESAGE_1","Please enter your username.");
|
||||
define("PANEL_ALERT_MESAGE_2","Please enter your password.");
|
||||
define("PANEL_ALERT_MESAGE_3","You have successfully logged in. You are being redirected.");
|
||||
define("PANEL_ALERT_MESAGE_4","The account with the information you entered was not found.");
|
||||
define("PANEL_LOGIN_USERNAME","Username");
|
||||
define("PANEL_LOGIN_PASS","Password");
|
||||
define("PANEL_LOGIN_BUTTON","Login");
|
||||
define("PANEL_HOMEPAGE","Homepage");
|
||||
define("PANEL_BOUQUETS","Bouquets");
|
||||
define("PANEL_GUIDES","Guides");
|
||||
define("PANEL_ADMINS","Managers");
|
||||
define("PANEL_THEMES","Theme Settings");
|
||||
define("PANEL_SETTINGS","Settings");
|
||||
define("PANEL_PROFILE","Profile");
|
||||
define("PANEL_LOGOUT","Exit");
|
||||
define("FOOTER_COPY","All Rights Reserved.");
|
||||
define("FOOTER_VERSION","Version");
|
||||
define("PANEL_ADMINS_TITLE","Manager Settings");
|
||||
define("PANEL_ADMINS_MESSAGE_1","Admin update has been done successfully.");
|
||||
define("PANEL_ADMINS_MESSAGE_2","Admin update failed.");
|
||||
define("PANEL_ADMINS_MESSAGE_3","Adding Admin has been done successfully.");
|
||||
define("PANEL_ADMINS_MESSAGE_4","Adding Admin failed.");
|
||||
define("PANEL_ADMINS_USERNAME","Username");
|
||||
define("PANEL_ADMINS_PASS","Password");
|
||||
define("PANEL_ADMINS_SAVE","Save");
|
||||
define("PANEL_ADMINS_TITLE2","Managers Added to the System");
|
||||
define("PANEL_ADMINS_MESSAGE_5","Manager deletion has been done successfully.");
|
||||
define("PANEL_ADMINS_MESSAGE_6"," Deletion of Manager failed");
|
||||
define("PANEL_ADMINS_ACTIONS","Transactions");
|
||||
|
||||
define("PANEL_BOUQUETS_TITLE","Bouquet Settings");
|
||||
define("PANEL_BOUQUETS_MESSAGE_1","Bouquet update successfully performed.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_2","Bouquet update failed.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_3","Adding bouquet was done successfully.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_4","Adding a bouquet failed.");
|
||||
define("PANEL_BOUQUETS_ID","Bouquet ID");
|
||||
define("PANEL_BOUQUETS_NAME","Bouquet Name");
|
||||
define("PANEL_BOUQUETS_SAVE","SAVE");
|
||||
define("PANEL_BOUQUETS_TITLE2","Bouquets Added to the System");
|
||||
define("PANEL_BOUQUETS_MESSAGE_5","Bouquet deletion was successfully done.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_6"," Deleting a bouquet failed.");
|
||||
define("PANEL_BOUQUETS_ACTIONS","Transactions");
|
||||
|
||||
define("PANEL_GUIDES_TITLE","Guide Settings");
|
||||
define("PANEL_GUIDES_MESSAGE_1","Guide update has been done successfully.");
|
||||
define("PANEL_GUIDES_MESSAGE_2","Guide update process failed.");
|
||||
define("PANEL_GUIDES_MESSAGE_3","Guide adding has been done successfully.");
|
||||
define("PANEL_GUIDES_MESSAGE_4","Adding guide could not be done.");
|
||||
define("PANEL_GUIDES_NAME","Guide Name");
|
||||
define("PANEL_GUIDES_SMART","IPTV Application");
|
||||
define("PANEL_GUIDES_DESC","Guide Detail");
|
||||
define("PANEL_GUIDES_YES","YES");
|
||||
define("PANEL_GUIDES_NO","NO");
|
||||
define("PANEL_GUIDES_SAVE","SAVE");
|
||||
define("PANEL_GUIDES_TITLE2","Guides Added to the System");
|
||||
define("PANEL_GUIDES_MESSAGE_5","Guide deletion has been successfully done.");
|
||||
define("PANEL_GUIDES_MESSAGE_6"," Deleting guide could not be done.");
|
||||
define("PANEL_GUIDES_ACTIONS","Transactions");
|
||||
|
||||
|
||||
define("PANEL_PROFILE_TITLE","Profile Settings");
|
||||
define("PANEL_PROFILE_MESSAGE_1","Profile information update has been done successfully. Login again with your new information.");
|
||||
define("PANEL_PROFILE_MESSAGE_2","Update profile information failed.");
|
||||
define("PANEL_PROFILE_USERNAME","Username");
|
||||
define("PANEL_PROFILE_PASS","Password");
|
||||
define("PANEL_PROFILE_PASS_MESSAGE","You can enter a new password.");
|
||||
define("PANEL_PROFILE_SAVE","SAVE");
|
||||
|
||||
|
||||
|
||||
define("PANEL_SETTINGS_TITLE","Site Settings");
|
||||
define("PANEL_SETTINGS_MESSAGE_1","Site Settings have been updated successfully.");
|
||||
define("PANEL_SETTINGS_MESSAGE_2","Site Settings could not be updated.");
|
||||
define("PANEL_SETTINGS_TITLE","Site Title");
|
||||
define("PANEL_SETTINGS_DESC","Site Description");
|
||||
define("PANEL_SETTINGS_XTREAM","Panel XTREAM API");
|
||||
define("PANEL_SETTINGS_PORTAL","Panel Stalker Portal Address");
|
||||
define("PANEL_SETTINGS_LANG","Site Language");
|
||||
define("PANEL_SETTINGS_DARK","Dark Mod");
|
||||
define("PANEL_SETTINGS_LOGO","Site Logo");
|
||||
define("PANEL_SETTINGS_FAV","Site Favicon");
|
||||
define("PANEL_SETTINGS_FILE","Select file");
|
||||
define("PANEL_SETTINGS_MAG","MAG Login");
|
||||
define("PANEL_SETTINGS_CATEGORY","Channel/Bouquet Editing");
|
||||
define("PANEL_SETTINGS_UNLOGIN","Unlimited Account Login");
|
||||
define("PANEL_SETTINGS_CHANGEPASS","Change Account Password");
|
||||
define("PANEL_SETTINGS_SAVE","SAVE");
|
||||
define("PANEL_SETTINGS_UPBUT","LOAD");
|
||||
define("PANEL_SETTINGS_OTHER","Other Settings");
|
||||
define("PANEL_SETTINGS_TAB1","General Settings");
|
||||
define("PANEL_SETTINGS_TAB2","IPTV Links");
|
||||
define("PANEL_SETTINGS_TAB3","Recaptcha");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_1","Recaptcha Key");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_2","Recaptcha Secret Key");
|
||||
|
||||
define("PANEL_THEMES_TITLE","Theme Settings");
|
||||
define("PANEL_THEMES_TAB1", "View Settings");
|
||||
define("PANEL_THEMES_TAB2", "Color Settings");
|
||||
define("PANEL_THEMES_COLOR1", "Default");
|
||||
define("PANEL_THEMES_COLOR2", "Red");
|
||||
define("PANEL_THEMES_COLOR3", "Green");
|
||||
define("PANEL_THEMES_COLOR4", "Blue");
|
||||
define("PANEL_THEMES_COLOR5", "Pink");
|
||||
define("PANEL_THEMES_COLOR6", "Yellow");
|
||||
define("PANEL_THEMES_COLOR7", "Orange");
|
||||
define("PANEL_THEMES_COLOR8", "Grey");
|
||||
define("PANEL_THEMES_COLOR9", "Brown");
|
||||
define("PANEL_THEMES_COLOR10", "Dark Green");
|
||||
define("PANEL_THEMES_COLOR11", "Deep Pink");
|
||||
define("PANEL_THEMES_COLOR12", "Cyan");
|
||||
define("PANEL_THEMES_COLOR13", "Dark Orchid");
|
||||
define("PANEL_THEMES_DARK_MODE", "Dark Appearance");
|
||||
define("PANEL_THEMES_LIGHT_MODE", "Light Appearance");
|
||||
|
||||
// English Setup Wizard
|
||||
define("INSTALL_TITLE","Setup Wizard");
|
||||
define("INSTALL_MESSAGE_1","Since the system has been set up before, you cannot install it.");
|
||||
define("INSTALL_LANG","Language selection:");
|
||||
define("INSTALL_STEP_1_4", "Step 1 / 5");
|
||||
define("INSTALL_LANG_TEXT", "Please Select the Language for Installation");
|
||||
define("INSTALL_NEXT_BUTTON", "Continue");
|
||||
define("INSTALL_PANEL","Panel Information:");
|
||||
define("INSTALL_STEP_2_4", "Step 2 / 5");
|
||||
define("INSTALL_PANEL_DNS","DNS Address (http://dns:port/):");
|
||||
define("INSTALL_DBS","Database Information:");
|
||||
define("INSTALL_STEP_3_4", "Step 3 / 5");
|
||||
define("INSTALL_DBS_HOST", "DB Host");
|
||||
define("INSTALL_DBS_USER", "DB Username");
|
||||
define("INSTALL_DBS_PASS", "DB Password");
|
||||
define("INSTALL_DBS_DATA", "DB Database");
|
||||
define("INSTALL_DBS_MESSAGE_1", "conf/config.php file not found. Create the file in the relevant directory, if the file exists, check the write permissions.");
|
||||
define("INSTALL_DBS_MESSAGE_2", "Database connection could not be established with your database information. Check the information.");
|
||||
define("INSTALL_DBS_MESSAGE_3", "There was a problem loading the database file into the database. Please check the file and try again.");
|
||||
|
||||
define("INSTALL_STEP_4_4", "Step 4 / 5");
|
||||
define("INSTALL_ADMIN","Admin Information:");
|
||||
define("INSTALL_ADMIN_USERNAME","Username:");
|
||||
define("INSTALL_ADMIN_PASSWORD","Password:");
|
||||
define("INSTALL_ADMIN_MESSAGE_1", "Connection to database failed. Return to the previous page and check the information.");
|
||||
define("INSTALL_ADMIN_MESSAGE_2", "An error occurred while creating the user. Try again.");
|
||||
define("INSTALL_ADMIN_MESSAGE_3", "An error occurred while updating the site information. Try again.");
|
||||
|
||||
define("INSTALL_SUCCESS","Setup Complete!");
|
||||
define("INSTALL_STEP_5_4","Step 5 / 5");
|
||||
define("INSTALL_SUCCESS_TEXT", "The installation has completed successfully. Do not forget to log in to your panel with the information you have created and update the site information. In a few seconds, you will be directed.");
|
||||
|
||||
define("PANEL_FIRST_ALERT_TITLE", "Warning");
|
||||
define("PANEL_FIRST_ALERT", "In order to be able to enter MAG entry, change bouquet, change password, please add the hosting IP address to the API IP's section and make sure that the port (Ex: 8000) you used in your DNS address is open.");
|
||||
define("INSTALL_SUCCESS_ALERT_1", "After the installation process, you need to delete the install folder manually. Please delete the relevant folder via ftp to avoid any security gap in the system.");
|
||||
?>
|
||||
@@ -0,0 +1,248 @@
|
||||
<?
|
||||
// Türkçe Dil Dosyası
|
||||
|
||||
define("LOGIN_TITLE","Giriş Yap");
|
||||
define("LOGIN_TEXT","Sisteme giriş yapabilmek için aşağıdaki formdan size uygun seçeneği kullanabilirsiniz.");
|
||||
define("LOGIN_USER","Kullanıcı Girişi");
|
||||
define("LOGIN_MAG","MAG Girişi");
|
||||
define("LOGIN_USERNAME","Kullanıcı Adı");
|
||||
define("LOGIN_PASSWORD","Şifre");
|
||||
define("LOGIN_REMEMBER","Giriş bilgilerimi hatırla.");
|
||||
define("LOGIN_BUTTON","Giriş Yap");
|
||||
define("LOGIN_MAG_ADRESS","MAG Adresinizi Giriniz");
|
||||
define("LOGIN_MODAL_TITLE","Bilgi");
|
||||
define("LOGIN_ALERT_1","Lütfen kullanıcı adınızı giriniz.");
|
||||
define("LOGIN_ALERT_2","Lütfen şifrenizi giriniz.");
|
||||
define("LOGIN_ALERT_3","Giriş işleminiz başarıyla gerçekleştirildi. Yönlendiriliyorsunuz.");
|
||||
define("LOGIN_ALERT_4","Captcha doğrulaması başarısız oldu.");
|
||||
define("LOGIN_ALERT_5","Hesabınızın süresi dolmuştur.");
|
||||
define("LOGIN_ALERT_6","Böyle bir üyelik bulunamamıştır.");
|
||||
define("LOGIN_ALERT_7","Lütfen MAC adresinizi giriniz.");
|
||||
define("LOGIN_ALERT_8","Sınırsız hesapların sisteme giriş yapmasına izin verilmemektedir.");
|
||||
define("HOME_LIVETV","Canlı TV");
|
||||
define("HOME_MOVIES","Filmler");
|
||||
define("HOME_SERIES","Diziler");
|
||||
define("SEARCH_ALL", "Hepsi");
|
||||
define("SEARCH_NOTFOUND", "Sonuç Yok");
|
||||
define("LIVETV_CHANNEL_LIST","Kanal Listesi");
|
||||
define("LIVETV_CLOSE","Kapat");
|
||||
define("LIVETV_EPG_LIST","EPG Listesi");
|
||||
define("MOVIE_IMDB","IMDB");
|
||||
define("MOVIE_LAST","Son Eklenen Filmler");
|
||||
define("MOVIE_CAT","Kategoriler");
|
||||
define("MOVIE_WATCH","Hemen İzle");
|
||||
define("MOVIE_LIKE","Göz Atabileceğiniz Diğer Filmler");
|
||||
define("MOVIE_CATS_TEXT","{cat_name} Kategorisinde {count_movie} Film Bulundu.");
|
||||
define("MOVIE_PAGE_PREV","Önceki");
|
||||
define("MOVIE_PAGE_NEXT","Sonraki");
|
||||
define("SERIES_IMDB","IMDB");
|
||||
define("SERIES_WATCH","Hemen İzle");
|
||||
define("SERIES_LAST","Son Eklenen Diziler");
|
||||
define("SERIES_CAT","Kategoriler");
|
||||
define("SERIES_SEASONS","SEZONLARI");
|
||||
define("SERIES_CATS_TEXT","{cat_name} Kategorisinde {count_movie} Dizi Bulundu.");
|
||||
define("SERIES_PAGE_PREV","Önceki");
|
||||
define("SERIES_PAGE_NEXT","Sonraki");
|
||||
define("PROFILE_TITLE","Profil");
|
||||
define("PROFILE_DESC","Profil ayarlarınızı bu sayfa sayesinde gerçekleştirebilirsiniz.");
|
||||
define("PROFILE_ACCOUNT","Hesap Bilgileri");
|
||||
define("PROFILE_ACCOUNT_TEXT","Hesabınızın detaylarını ve iptv linklerinizi almak için tıklayınız.");
|
||||
define("PROFILE_PASS","Şifre Değiştir");
|
||||
define("PROFILE_PASS_TEXT","Hesabızın şifresini değiştirmek için tıklayınız.");
|
||||
define("PROFILE_USERNAME","Kullanıcı Adınız");
|
||||
define("PROFILE_PASS","Şifreniz");
|
||||
define("PROFILE_BOUQET_ALERT_1","Bouqetler başarıyla güncellendi.");
|
||||
define("PROFILE_BOUQET_ALERT_2","Bouqetler güncellenemedi.");
|
||||
define("PROFILE_PASS_MESSAGE","Yeni şifreniz:<br />* En az 8 karakter<br />* En az 3 büyük harf<br />* En az 3 rakam<br />içermelidir.");
|
||||
define("PROFILE_MODAL_TITLE","IPTV Linkleriniz");
|
||||
define("PROFILE_TIME","Hesap Sonlanma Tarihiniz");
|
||||
define("PROFILE_LINK","IPTV Linkleriniz");
|
||||
define("PROFILE_PORTAL","Portal Url");
|
||||
define("PROFILE_PORTAL_DESC","Portal Url bilgilerini görüntüleyebilirsiniz.");
|
||||
define("PROFILE_PASS_CHANGE","Yeni Şifre");
|
||||
define("PROFILE_PASS_CHANGE_2","Yeni Şifre (Tekrar)");
|
||||
define("PROFILE_PASS_CHANGE_BUTTON","Şifre Değiştir");
|
||||
define("PROFILE_PASS_ALERT_1","Girmiş olduğunuz şifreler eşleşmemektedir.");
|
||||
define("PROFILE_PASS_ALERT_2","Yeni şifreniz en az 8 karakterden oluşmalıdır.");
|
||||
define("PROFILE_PASS_ALERT_3","Yeni şifrenizde en az 3 adet büyük harf bulunmalıdır.");
|
||||
define("PROFILE_PASS_ALERT_4","Yeni şifrenizde en az 3 adet rakam bulunmalıdır.");
|
||||
define("PROFILE_PASS_ALERT_5","Şifreniz başarıyla değiştirildi. Lütfen tekrar giriş yapınız.");
|
||||
define("PROFILE_PASS_ALERT_6","Lütfen şifreleri boş bırakmadığınızdan emin olunuz.");
|
||||
define("PROFILE_PASS_ALERT_7","Lütfen şifrelerin birbiri ile eşleştiğinden emin olunuz.");
|
||||
define("PROFILE_BOUQUET","Bouquet Ayarları");
|
||||
define("PROFILE_BOUQUET_DESC","Bouquet ayarlarınızı yapmak için tıklayınız.");
|
||||
define("PROFILE_BOUQUET_SAVE","Kaydet");
|
||||
define("SEARCH_INPUT_TEXT","Arama");
|
||||
define("MENU_HOMEPAGE","Anasayfa");
|
||||
define("MENU_LIVETV","Canlı TV");
|
||||
define("MENU_MOVIES","Filmler");
|
||||
define("MENU_SERIES","Diziler");
|
||||
define("MENU_GUIDES","Kurulum");
|
||||
define("MENU_PROFILE","Hesabım");
|
||||
define("MENU_LOGOUT","Çıkış");
|
||||
define("GUIDES_TITLE","Kurulum Klavuzları");
|
||||
define("GUIDES_DESC","Cihazlarınıza iptv listenizi eklemek için aşağıdaki kılavuzlara göz atabilirsiniz.");
|
||||
define("GUIDES_MAC","MAC Adresi");
|
||||
define("GUIDES_URL","Playlist URL");
|
||||
define("GUIDES_PIN","MAC Pin");
|
||||
define("GUIDES_SAVE","Playlist Yükle");
|
||||
define("GUIDES_MODAL_TITLE","Playlist Bilgilendirme");
|
||||
define("GUIDES_MESSAGE_1","Kanal Listeniz Başarıyla Yüklendi.");
|
||||
define("GUIDES_MESSAGE_2","MAC adresi bulunamadı.");
|
||||
define("GUIDES_MESSAGE_3","Playlist yüklenemedi.");
|
||||
define("GUIDES_MESSAGE_4","MAC Pin");
|
||||
|
||||
// Türkçe Admin Panel
|
||||
define("PANEL_ALERT_TITLE_1","Uyarı!");
|
||||
define("PANEL_ALERT_TITLE_2","Bilgi");
|
||||
define("PANEL_ALERT_MESAGE_1","Lütfen kullanıcı adınızı giriniz.");
|
||||
define("PANEL_ALERT_MESAGE_2","Lütfen şifrenizi giriniz.");
|
||||
define("PANEL_ALERT_MESAGE_3","Başarıyla giriş yaptınız. Yönlendiriliyorsunuz.");
|
||||
define("PANEL_ALERT_MESAGE_4","Girdiğiniz bilgilere sahip hesap bulunamadı.");
|
||||
define("PANEL_LOGIN_USERNAME","Kullanıcı Adı");
|
||||
define("PANEL_LOGIN_PASS","Şifre");
|
||||
define("PANEL_LOGIN_BUTTON","Giriş Yap");
|
||||
define("PANEL_HOMEPAGE","Anasayfa");
|
||||
define("PANEL_BOUQUETS","Bouquetler");
|
||||
define("PANEL_GUIDES","Kılavuzlar");
|
||||
define("PANEL_ADMINS","Yöneticiler");
|
||||
define("PANEL_THEMES","Tema Ayarları");
|
||||
define("PANEL_SETTINGS","Ayarlar");
|
||||
define("PANEL_PROFILE","Profil");
|
||||
define("PANEL_LOGOUT","Çıkış");
|
||||
define("FOOTER_COPY","Tüm hakları saklıdır.");
|
||||
define("FOOTER_VERSION","Versiyon");
|
||||
define("PANEL_ADMINS_TITLE","Yönetici Ayarları");
|
||||
define("PANEL_ADMINS_MESSAGE_1","Yönetici güncelleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_ADMINS_MESSAGE_2","Yönetici güncelleme işlemi yapılamadı.");
|
||||
define("PANEL_ADMINS_MESSAGE_3","Yönetici ekleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_ADMINS_MESSAGE_4","Yönetici ekleme işlemi yapılamadı.");
|
||||
define("PANEL_ADMINS_USERNAME","Kullanıcı Adı");
|
||||
define("PANEL_ADMINS_PASS","Şifre");
|
||||
define("PANEL_ADMINS_SAVE","KAYDET");
|
||||
define("PANEL_ADMINS_TITLE2","Sisteme Eklenen Yöneticiler");
|
||||
define("PANEL_ADMINS_MESSAGE_5","Yönetici silme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_ADMINS_MESSAGE_6"," Yönetici silme işlemi yapılamadı.");
|
||||
define("PANEL_ADMINS_ACTIONS","İşlemler");
|
||||
|
||||
define("PANEL_BOUQUETS_TITLE","Bouquet Ayarları");
|
||||
define("PANEL_BOUQUETS_MESSAGE_1","Bouquet güncelleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_2","Bouquet güncelleme işlemi yapılamadı.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_3","Bouquet ekleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_4","Bouquet ekleme işlemi yapılamadı.");
|
||||
define("PANEL_BOUQUETS_ID","Bouquet ID");
|
||||
define("PANEL_BOUQUETS_NAME","Bouquet Name");
|
||||
define("PANEL_BOUQUETS_SAVE","KAYDET");
|
||||
define("PANEL_BOUQUETS_TITLE2","Sisteme Eklenen Bouquetler");
|
||||
define("PANEL_BOUQUETS_MESSAGE_5","Bouquet silme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_BOUQUETS_MESSAGE_6"," Bouquet silme işlemi yapılamadı.");
|
||||
define("PANEL_BOUQUETS_ACTIONS","İşlemler");
|
||||
|
||||
define("PANEL_GUIDES_TITLE","Kılavuz Ayarları");
|
||||
define("PANEL_GUIDES_MESSAGE_1","Kılavuz güncelleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_GUIDES_MESSAGE_2","Kılavuz güncelleme işlemi yapılamadı.");
|
||||
define("PANEL_GUIDES_MESSAGE_3","Kılavuz ekleme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_GUIDES_MESSAGE_4","Kılavuz ekleme işlemi yapılamadı.");
|
||||
define("PANEL_GUIDES_NAME","Kılavuz Adı");
|
||||
define("PANEL_GUIDES_SMART","IPTV Uygulaması");
|
||||
define("PANEL_GUIDES_DESC","Klavuz Detayı");
|
||||
define("PANEL_GUIDES_YES","EVET");
|
||||
define("PANEL_GUIDES_NO","HAYIR");
|
||||
define("PANEL_GUIDES_SAVE","KAYDET");
|
||||
define("PANEL_GUIDES_TITLE2","Sisteme Eklenen Kılavuzlar");
|
||||
define("PANEL_GUIDES_MESSAGE_5","Kılavuz silme işlemi başarıyla yapıldı.");
|
||||
define("PANEL_GUIDES_MESSAGE_6"," Kılavuz silme işlemi yapılamadı.");
|
||||
define("PANEL_GUIDES_ACTIONS","İşlemler");
|
||||
|
||||
|
||||
define("PANEL_PROFILE_TITLE","Profil Ayarları");
|
||||
define("PANEL_PROFILE_MESSAGE_1","Profil bilgisi güncelleme işlemi başarıyla yapıldı. Yeni bilgilerinizle tekrar giriş yapınız.");
|
||||
define("PANEL_PROFILE_MESSAGE_2","Profil bilgisi güncelleme işlemi yapılamadı.");
|
||||
define("PANEL_PROFILE_USERNAME","Kullanıcı Adı");
|
||||
define("PANEL_PROFILE_PASS","Şifre");
|
||||
define("PANEL_PROFILE_PASS_MESSAGE","Yeni bir şifre girebilirsiniz.");
|
||||
define("PANEL_PROFILE_SAVE","KAYDET");
|
||||
|
||||
|
||||
|
||||
define("PANEL_SETTINGS_TITLE","Site Ayarları");
|
||||
define("PANEL_SETTINGS_MESSAGE_1","Site Ayarları başarıyla güncellendi.");
|
||||
define("PANEL_SETTINGS_MESSAGE_2","Site Ayarları güncellenemedi.");
|
||||
define("PANEL_SETTINGS_TITLE","Site Title");
|
||||
define("PANEL_SETTINGS_DESC","Site Açıklaması");
|
||||
define("PANEL_SETTINGS_XTREAM","Panel XTREAM API");
|
||||
define("PANEL_SETTINGS_PORTAL","Panel Stalker Portal Adresi");
|
||||
define("PANEL_SETTINGS_LANG","Site Dili");
|
||||
define("PANEL_SETTINGS_DARK","Dark Mod");
|
||||
define("PANEL_SETTINGS_LOGO","Site Logosu");
|
||||
define("PANEL_SETTINGS_FAV","Site Favicon");
|
||||
define("PANEL_SETTINGS_FILE","Dosya Seç");
|
||||
define("PANEL_SETTINGS_MAG","MAG Login");
|
||||
define("PANEL_SETTINGS_CATEGORY","Kanal/Bouquet Düzenleme");
|
||||
define("PANEL_SETTINGS_UNLOGIN","Sınırsız Üye Girişi");
|
||||
define("PANEL_SETTINGS_CHANGEPASS","Üye Şifre Değiştirme");
|
||||
define("PANEL_SETTINGS_SAVE","KAYDET");
|
||||
define("PANEL_SETTINGS_UPBUT","YÜKLE");
|
||||
define("PANEL_SETTINGS_OTHER","Diğer Ayarlar");
|
||||
define("PANEL_SETTINGS_TAB1","Genel Ayarlar");
|
||||
define("PANEL_SETTINGS_TAB2","IPTV Linkleri");
|
||||
define("PANEL_SETTINGS_TAB3","Recaptcha");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_1","Recaptcha Key");
|
||||
define("PANEL_SETTINGS_RECAPTCHA_2","Recaptcha Secret Key");
|
||||
|
||||
define("PANEL_THEMES_TITLE","Tema Ayarları");
|
||||
define("PANEL_THEMES_TAB1", "Görünüm Ayarları");
|
||||
define("PANEL_THEMES_TAB2", "Renk Ayarları");
|
||||
define("PANEL_THEMES_COLOR1", "Varsayılan");
|
||||
define("PANEL_THEMES_COLOR2", "Kırmızı");
|
||||
define("PANEL_THEMES_COLOR3", "Yeşil");
|
||||
define("PANEL_THEMES_COLOR4", "Mavi");
|
||||
define("PANEL_THEMES_COLOR5", "Pembe");
|
||||
define("PANEL_THEMES_COLOR6", "Sarı");
|
||||
define("PANEL_THEMES_COLOR7", "Turuncu");
|
||||
define("PANEL_THEMES_COLOR8", "Gri");
|
||||
define("PANEL_THEMES_COLOR9", "Kahverengi");
|
||||
define("PANEL_THEMES_COLOR10", "Koyu Yeşil");
|
||||
define("PANEL_THEMES_COLOR11", "Derin Pembe");
|
||||
define("PANEL_THEMES_COLOR12", "Camgöbeği");
|
||||
define("PANEL_THEMES_COLOR13", "Koyu Orkide");
|
||||
define("PANEL_THEMES_DARK_MODE", "Koyu Görünüm");
|
||||
define("PANEL_THEMES_LIGHT_MODE", "Açık Görünüm");
|
||||
|
||||
// Türkçe Kurulum Sihirbazı
|
||||
define("INSTALL_TITLE","Kurulum Sihirbazı");
|
||||
define("INSTALL_MESSAGE_1","Sistemin kurulumu daha önce yapıldığı için kurulum işlemi yapamazsınız.");
|
||||
define("INSTALL_LANG","Dil Seçimi:");
|
||||
define("INSTALL_STEP_1_4", "Adım 1 / 5");
|
||||
define("INSTALL_LANG_TEXT", "Lütfen Kurulum İçin Dili Seçiniz");
|
||||
define("INSTALL_NEXT_BUTTON", "Devam Et");
|
||||
define("INSTALL_PANEL","Panel Bilgileri:");
|
||||
define("INSTALL_STEP_2_4", "Adım 2 / 5");
|
||||
define("INSTALL_PANEL_DNS","DNS Adresi (http://dns:port/):");
|
||||
define("INSTALL_DBS","Database Bilgileri:");
|
||||
define("INSTALL_STEP_3_4", "Adım 3 / 5");
|
||||
define("INSTALL_DBS_HOST", "DB Host");
|
||||
define("INSTALL_DBS_USER", "DB Kullanıcı");
|
||||
define("INSTALL_DBS_PASS", "DB Şifre");
|
||||
define("INSTALL_DBS_DATA", "DB Veritabanı");
|
||||
define("INSTALL_DBS_MESSAGE_1", "conf/config.php dosyası bulunamadı. Dosyayı ilgili dizinde oluşturunuz, dosya mevcutsa yazma izinlerini kontrol ediniz.");
|
||||
define("INSTALL_DBS_MESSAGE_2", "Veritabanı bilgileriniz ile veritabanı bağlantısı kurulamadı. Bilgileri kontrol ediniz.");
|
||||
define("INSTALL_DBS_MESSAGE_3", "Veritabanı dosyası veritabanına yüklenirken bir sorun oluştu. Dosyayı kontrol ederek tekrar deneyiniz.");
|
||||
|
||||
define("INSTALL_STEP_4_4", "Adım 4 / 5");
|
||||
define("INSTALL_ADMIN","Admin Bilgileri:");
|
||||
define("INSTALL_ADMIN_USERNAME","Kullanıcı Adı:");
|
||||
define("INSTALL_ADMIN_PASSWORD","Şifre:");
|
||||
define("INSTALL_ADMIN_MESSAGE_1", "Veritabanına bağlantısı kurulamadı. Bir önceki sayfaya dönerek bilgileri kontrol ediniz.");
|
||||
define("INSTALL_ADMIN_MESSAGE_2", "Kullanıcı oluşturulurken bir hata oluştu. Tekrar deneyiniz.");
|
||||
define("INSTALL_ADMIN_MESSAGE_3", "Site bilgileri güncellenirken bir hata oluştu. Tekrar deneyiniz.");
|
||||
|
||||
define("INSTALL_SUCCESS","Kurulum Tamamlandı");
|
||||
define("INSTALL_STEP_5_4","Adım 5 / 5");
|
||||
define("INSTALL_SUCCESS_TEXT", "Kurulum başarıyla tamamladı. Oluşturmuş olduğunuz bilgiler ile panelinize giriş yaparak site bilgilerini güncellemeyi unutmayınız. Birkaç saniye içerisinde yönlendirileceksiniz.");
|
||||
|
||||
define("PANEL_FIRST_ALERT_TITLE", "Uyarı");
|
||||
define("PANEL_FIRST_ALERT", "MAG girişi, buket değiştirme, şifre değiştirme yapabilmek için lütfen hosting IP adresini API IP's kısmına ekleyiniz ve DNS adresinizde kullanmış olduğunuz portunuzun (Örn: 8000) açık olduğundan emin olunuz.");
|
||||
define("INSTALL_SUCCESS_ALERT_1", "Kurulum işlemi sonrası install klasörünü manuel olarak silmeniz gerekmektedir. Sistemde güvenlik açığı oluşmaması için lütfen ilgili klasörü ftp üzerinden siliniz.");
|
||||
define("PANEL_SETTINGS_RECAPTHCA", "Recaptcha Açık/Kapalı");
|
||||
?>
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$jsondata = file_get_contents('./api/main.json');
|
||||
$data = json_decode($jsondata, true);
|
||||
$json = $data['app'];
|
||||
$applang = ($json['app_language'] == 'en' ? 'selected' : '');
|
||||
$applang1 = ($json['app_language'] == 'ar' ? 'selected' : '');
|
||||
$applang2 = ($json['app_language'] == 'bn' ? 'selected' : '');
|
||||
$applang3 = ($json['app_language'] == 'zh' ? 'selected' : '');
|
||||
$applang4 = ($json['app_language'] == 'fr' ? 'selected' : '');
|
||||
$applang5 = ($json['app_language'] == 'hi' ? 'selected' : '');
|
||||
$applang6 = ($json['app_language'] == 'it' ? 'selected' : '');
|
||||
$applang7 = ($json['app_language'] == 'ml' ? 'selected' : '');
|
||||
$applang8 = ($json['app_language'] == 'pt' ? 'selected' : '');
|
||||
$applang9 = ($json['app_language'] == 'es' ? 'selected' : '');
|
||||
$applang10 = ($json['app_language'] == 'ru' ? 'selected' : '');
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./api/main.json');
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
$replacementData = [
|
||||
'app' => ['app_language' => $_POST['app_language']]
|
||||
];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_PRETTY_PRINT);
|
||||
file_put_contents('./api/main.json', $newJsonData);
|
||||
header('Location: language.php?message=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Language Changes</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-12">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-globe"></i> Language Available</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '<div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="app_language" >' . "\n";
|
||||
echo ' <strong> Pick Your App Language</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <select class="select form-control text-primary" id="select" name="app_language">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="en"' . $applang . '>English</option>' . "\n";
|
||||
echo ' <option value="ar" ' . $applang1 . '>Arabic</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="bn"' . $applang2 . '>Bengali</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="zh"' . $applang3 . '>Chinese</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="fr" ' . $applang4 . '>French</option>' . "\n";
|
||||
echo ' <option value="hi"' . $applang5 . '>Hindi</option>' . "\n";
|
||||
echo ' <option value="it"' . $applang6 . '>Italian</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="ml"' . $applang7 . '>Malayalam</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="pt"' . $applang8 . '>Portugese</option>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t\t" . '<option value="es"' . $applang9 . '>Spanish</option>' . "\n";
|
||||
echo ' <option value="ru"' . $applang10 . '>Russian</option>' . "\n";
|
||||
echo ' </select>' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . '</div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>';
|
||||
echo ' </div>';
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
function real_ip()
|
||||
{
|
||||
$ip = 'undefined';
|
||||
|
||||
if (isset($_SERVER)) {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
||||
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
else if (isset($_SERVER['HTTP_CLIENT_IP'])) {
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
}
|
||||
}
|
||||
else {
|
||||
$ip = getenv('REMOTE_ADDR');
|
||||
|
||||
if (getenv('HTTP_X_FORWARDED_FOR')) {
|
||||
$ip = getenv('HTTP_X_FORWARDED_FOR');
|
||||
}
|
||||
else if (getenv('HTTP_CLIENT_IP')) {
|
||||
$ip = getenv('HTTP_CLIENT_IP');
|
||||
}
|
||||
}
|
||||
|
||||
$ip = htmlspecialchars($ip, ENT_QUOTES, 'UTF-8');
|
||||
return $ip;
|
||||
}
|
||||
|
||||
session_start();
|
||||
$jsondata111 = file_get_contents('./includes/appsnscripts.json');
|
||||
$json111 = json_decode($jsondata111, true);
|
||||
$col1 = $json111['info'];
|
||||
$col2 = $col1['aa'];
|
||||
$db_check1 = new SQLite3('./api/appsnscriptspanels.db');
|
||||
$db_check1->exec('CREATE TABLE IF NOT EXISTS USERS(id INT PRIMARY KEY NOT NULL,NAME TEXT,USERNAME TEXT,PASSWORD TEXT,LOGO TEXT)');
|
||||
$rows = $db_check1->query('SELECT COUNT(*) as count FROM USERS');
|
||||
$row = $rows->fetchArray();
|
||||
$numRows = $row['count'];
|
||||
|
||||
if ($numRows == 0) {
|
||||
$db_check1->exec('INSERT INTO USERS(id,NAME,USERNAME,PASSWORD,LOGO) VALUES(\'1\',\'ForzaIPTV\',\'forzaiptv\',\'besiktasK1903*\',\'img/xciptv.png\')');
|
||||
$db_check1->exec('INSERT INTO USERS(id,NAME,USERNAME,PASSWORD,LOGO) VALUES(\'2\',\'ADMIN\',\'ADMINXC\',\'ADMINXC\',\'img/xciptv.png\')');
|
||||
}
|
||||
|
||||
$res_login = $db_check1->query('SELECT * ' . "\n\t\t\t\t" . ' FROM USERS ' . "\n\t\t\t\t" . ' WHERE id=\'1\'');
|
||||
$row_login = $res_login->fetchArray();
|
||||
$name_login = $row_login['NAME'];
|
||||
$logo_login = $row_login['LOGO'];
|
||||
|
||||
if (isset($_POST['login'])) {
|
||||
if (!$db_check1) {
|
||||
echo $db_check1->lastErrorMsg();
|
||||
}
|
||||
|
||||
$sql_check = 'SELECT * from USERS where USERNAME="' . $_POST['username'] . '"';
|
||||
$ret_check = $db_check1->query($sql_check);
|
||||
|
||||
while ($row_check = $ret_check->fetchArray()) {
|
||||
$id_check = $row_check['id'];
|
||||
$NAME = $row_check['NAME'];
|
||||
$username_check = $row_check['USERNAME'];
|
||||
$password_check = $row_check['PASSWORD'];
|
||||
$LOGO_check = $row_check['LOGO'];
|
||||
}
|
||||
|
||||
if (empty($id_check)) {
|
||||
$message = '<div class="alert alert-danger" id="flash-msg"><h4><i class="icon fa fa-times"></i>Not a Valid User!</h4></div>';
|
||||
echo $message;
|
||||
}
|
||||
else if ($password_check == $_POST['password']) {
|
||||
$_SESSION['appsnscriptsxc'] = true;
|
||||
$_SESSION['N'] = $id_check;
|
||||
$_SESSION['id'] = $id_check;
|
||||
header('Location: app.php');
|
||||
}
|
||||
else {
|
||||
$message = '<div class="alert alert-danger" id="flash-msg"><h4><i class="icon fa fa-times"></i>Wrong Password!</h4></div>';
|
||||
echo $message;
|
||||
}
|
||||
|
||||
$db_check1->close();
|
||||
}
|
||||
|
||||
$date = date('d-m-Y H:i:s');
|
||||
$IPADDRESS = real_ip();
|
||||
$db1 = new SQLite3('./api/logs.db');
|
||||
$db1->exec('CREATE TABLE IF NOT EXISTS logs(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, date datetime, ipaddress TEXT)');
|
||||
$db1->exec('INSERT INTO logs(date,ipaddress) VALUES(\'' . $date . '\',\'' . $IPADDRESS . '\')');
|
||||
$db2 = new SQLite3('./api/user_message.db');
|
||||
$db2->exec('CREATE TABLE IF NOT EXISTS messages(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, message VARCHAR(100), userid TEXT,status TEXT,expire TEXT)');
|
||||
$db3 = new SQLite3('./api/user_logs.db');
|
||||
$db3->exec('CREATE TABLE IF NOT EXISTS logging(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, appid TEXT, version TEXT, device TEXT, pkg TEXT, app TEXT, cid TEXT, uid TEXT, status TEXT, d TEXT, time TEXT, last_online TEXT, ping TEXT)');
|
||||
echo '<!DOCTYPE html>' . "\n";
|
||||
echo '<html>' . "\n";
|
||||
echo "\n";
|
||||
echo '<head>' . "\n";
|
||||
echo ' <meta charset="utf-8">' . "\n";
|
||||
echo ' <meta http-equiv="X-UA-Compatible" content="IE=edge">' . "\n";
|
||||
echo ' <meta name="viewport" content="width=device-width, initial-scale=1">' . "\n";
|
||||
echo ' <title>Ultra Xciptv</title>' . "\n";
|
||||
echo ' <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">' . "\n";
|
||||
echo ' <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">' . "\n";
|
||||
echo ' <link href="css/sb-admin-' . $col2 . '.css" rel="stylesheet">' . "\n";
|
||||
echo ' <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">' . "\n";
|
||||
echo ' <link rel="icon" href="favicon.ico" type="image/x-icon">' . "\n";
|
||||
echo '</head>' . "\n";
|
||||
echo "\t" . '<body class="bg-gradient-primary">' . "\n";
|
||||
echo "\t" . '<div class="container">' . "\n";
|
||||
echo "\t" . '<div class="row justify-content-center">' . "\n";
|
||||
echo "\t" . '<center>' . "\n";
|
||||
echo '<body>' . "\n";
|
||||
echo ' <div class="wrapper ">' . "\n";
|
||||
echo ' <br><br><br>' . "\n";
|
||||
echo "\t" . '<div class="container" style="margin-top:30px">' . "\n";
|
||||
echo "\t" . ' <div style="width:400px; margin:0 auto;">' . "\n";
|
||||
echo "\t\t" . '<div class="row">' . "\n";
|
||||
echo "\t\t\t" . '<div class="center">' . "\n";
|
||||
echo ' <center><img src="' . $logo_login . '" width="100" height="100" class="center" alt=""></a></center>' . "\n";
|
||||
echo "\t\t\t\t" . '<br>' . "\n";
|
||||
echo "\t\t\t" . ' <h3 class="text-center text-light"><strong>Ultra Xciptv v5</strong></h3>' . "\n";
|
||||
echo "\t\t\t" . ' <h3 class="text-center text-light">' . $name_login . '</h3>' . "\n";
|
||||
echo "\t\t\t\t" . '<h5 class="text-center text-light">Welcome</h5>' . "\n";
|
||||
echo "\t\t\t\t" . '<br>' . "\n";
|
||||
echo "\t\t\t\t" . '<div>' . "\n";
|
||||
echo "\t\t\t\t" . ' <div style="width:400px; margin:0 auto;">' . "\n";
|
||||
echo "\t\t\t\t\t" . '<form method="post">' . "\n";
|
||||
echo "\t\t\t\t\t" . '<input type="text" class="form-control text-primary" placeholder="Username" name="username" required autofocus><br>' . "\n";
|
||||
echo "\t\t\t\t\t" . '<input type="password" class="form-control text-primary" placeholder="Password" name="password" required><br>' . "\n";
|
||||
echo "\t\t\t\t\t" . '<button class="btn btn-lg btn btn-primary btn-block" name="login" type="submit">LET ME IN</button>' . "\n";
|
||||
echo "\t\t\t\t\t" . '</form>' . "\n";
|
||||
echo "\t\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t" . '<div class="card-body">' . "\n";
|
||||
echo "\t\t\t\t" . '<div class="panel-body">' . "\n";
|
||||
echo "\t\t\t\t" . '<p class="text-center text-warning">Time Of Arrival: "<i>';
|
||||
echo date('d-m-Y H:i:s');
|
||||
echo '</i>"</p>' . "\n";
|
||||
echo "\t\t\t\t" . '<p class="text-center text-warning">IP Address: "<i>';
|
||||
echo real_ip();
|
||||
echo ' </i>"</p>' . "\n";
|
||||
echo "\t\t\t" . '</div>' . "\n";
|
||||
echo "\t\t\t" . '</div>' . "\n";
|
||||
echo ' <!-- Footer -->' . "\n";
|
||||
echo ' <footer class="">' . "\n";
|
||||
echo ' <div class="container">' . "\n";
|
||||
echo ' <div class="copyright text-center my-auto">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </footer>';
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '</div>' . "\n";
|
||||
echo "\t" . '<script src="vendor/jquery/jquery.min.js"></script>' . "\n";
|
||||
echo "\t" . '<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>' . "\n";
|
||||
echo "\t" . '<script src="vendor/jquery-easing/jquery.easing.min.js"></script>' . "\n";
|
||||
echo "\t" . '<script src="js/sb-admin-2.min.js"></script>' . "\n";
|
||||
echo "\n";
|
||||
include 'includes/functions.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
echo "\n";
|
||||
echo '</html>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
session_start();
|
||||
session_destroy();
|
||||
setcookie("auth","");
|
||||
header("location:"."goodbye.php");
|
||||
?>
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @ This file is created by http://DeZender.Net
|
||||
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
|
||||
*
|
||||
* @ Version : 4.1.0.1
|
||||
* @ Author : DeZender
|
||||
* @ Release on : 29.08.2020
|
||||
* @ Official site : http://DeZender.Net
|
||||
*
|
||||
*/
|
||||
|
||||
$jsondata = file_get_contents('./api/main.json');
|
||||
$data = json_decode($jsondata, true);
|
||||
$json = $data['app'];
|
||||
$mnt_message = $json['mnt_message'];
|
||||
$mnt_expire = $json['mnt_expire'];
|
||||
$mnt_act = ($json['mnt_status'] == 'ACTIVE' ? 'selected' : '');
|
||||
$mnt_ina = ($json['mnt_status'] == 'INACTIVE' ? 'selected' : '');
|
||||
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
$jsonData = file_get_contents('./api/main.json');
|
||||
$arrayData = json_decode($jsonData, true);
|
||||
$replacementData = [
|
||||
'app' => ['mnt_status' => $_POST['mnt_status'], 'mnt_message' => $_POST['mnt_message'], 'mnt_expire' => $_POST['mnt_expire']]
|
||||
];
|
||||
$newArrayData = array_replace_recursive($arrayData, $replacementData);
|
||||
$newJsonData = json_encode($newArrayData, JSON_UNESCAPED_UNICODE);
|
||||
file_put_contents('./api/main.json', $newJsonData);
|
||||
header('Location: maintenance.php?message=' . $message);
|
||||
}
|
||||
|
||||
include 'includes/header.php';
|
||||
echo ' <!-- Begin Page Content -->' . "\n";
|
||||
echo ' <div class="container-fluid">' . "\n";
|
||||
echo "\n";
|
||||
|
||||
if (isset($_GET['message'])) {
|
||||
echo $_GET['message'];
|
||||
}
|
||||
|
||||
echo ' <!-- Page Heading -->' . "\n";
|
||||
echo ' <h1 class="h3 mb-1 text-gray-800">Maintenance</h1>' . "\n";
|
||||
echo ' ' . "\n";
|
||||
echo ' <!-- Content Row -->' . "\n";
|
||||
echo ' <div class="row">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- First Column -->' . "\n";
|
||||
echo ' <div class="col-lg-6">' . "\n";
|
||||
echo "\n";
|
||||
echo ' <!-- Custom codes -->' . "\n";
|
||||
echo ' <div class="card border-left-primary shadow h-100 card shadow mb-4">' . "\n";
|
||||
echo ' <div class="card-header py-3">' . "\n";
|
||||
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fa fa-tachometer-alt"></i> Edit Maintenance Message</h6>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="card-body">' . "\n";
|
||||
echo ' <form method="post">' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="mnt_message">' . "\n";
|
||||
echo ' <strong>Maintenance Message</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input class="form-control text-primary" id="description" name="mnt_message" value="' . $mnt_message . '" type="text"/>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label requiredField" for="mnt_status" >' . "\n";
|
||||
echo ' <strong>Status</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <select class="select form-control text-primary" id="select" name="mnt_status">' . "\n";
|
||||
echo "\t\t\t\t\t\t\t" . ' <option value="INACTIVE"' . $mnt_ina . '>INACTIVE</option>' . "\n";
|
||||
echo ' <option value="ACTIVE"' . $mnt_act . '>ACTIVE</option>' . "\n";
|
||||
echo ' </select>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group ">' . "\n";
|
||||
echo ' <label class="control-label " for="message">' . "\n";
|
||||
echo ' <strong>Expiration:</strong>' . "\n";
|
||||
echo ' </label>' . "\n";
|
||||
echo ' <div class="input-group">' . "\n";
|
||||
echo ' <input type="text" class="form-control text-primary" name="mnt_expire" id="datetimepicker" value="' . $mnt_expire . '">' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' <div class="form-group">' . "\n";
|
||||
echo ' <div>' . "\n";
|
||||
echo ' <button class="btn btn-success btn-icon-split" name="submit" type="submit">' . "\n";
|
||||
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Submit</span>' . "\n";
|
||||
echo ' </button>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </form>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo ' </div>' . "\n";
|
||||
echo "\n";
|
||||
echo ' <br><br><br>';
|
||||
include 'includes/footer.php';
|
||||
require 'includes/appsnscripts.php';
|
||||
echo '</body>' . "\n";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,79 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($_SESSION["user_info"] == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
<div class="page-nav" style="padding:20px">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<h2 class="mb-1"><?= GUIDES_TITLE; ?></h2>
|
||||
<p><?= GUIDES_DESC; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid mb-5">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<ul class="nav nav-tabs list-group search-wrapper" style="padding:10px;" id="myTab">
|
||||
<?php
|
||||
$tab_array = "";
|
||||
$quides = $byakman->pdo->query("SELECT * FROM guides WHERE status = '1' ORDER BY sira ASC")->fetchAll();
|
||||
|
||||
foreach($quides AS $qui) {
|
||||
if ($qui->is_smart == 1) {
|
||||
$is_smart = '<form name="ssiptv" id="ssiptv" onsubmit="return false;">
|
||||
<div class="form-group"><label>'.GUIDES_MAC.'</label><input type="text" class="form-control" name="ss_mac" id="ss_mac" placeholder="'.GUIDES_MAC.'"></div>
|
||||
<div class="form-group"><div class="row"><div class="col-md-6"><label>'.LOGIN_USERNAME.'</label><input type="text" class="form-control" name="ss_username" id="ss_username" value="'.$byakman->userInfo('username').'" placeholder="'.$byakman->userInfo('username').'" disabled></div><div class="col-md-6"><label>'.LOGIN_PASSWORD.'</label><input type="text" class="form-control" name="ss_password" id="ss_password" value="'.$byakman->userInfo('password').'" placeholder="'.$byakman->userInfo('password').'" disabled></div></div></div>
|
||||
<div class="form-group"><label>'.GUIDES_PIN.'</label><input type="text" class="form-control" name="ss_pin" id="ss_pin" placeholder="'.GUIDES_PIN.'"></div>
|
||||
<input type="hidden" class="form-control" name="ss_url" id="ss_url" value="'.$siteInfo->site_xtream.'get.php?username='.$byakman->userInfo('username').'&password='.$byakman->userInfo('password').'&type=m3u_plus&output=ts" placeholder="'.GUIDES_URL.' URL" disabled>
|
||||
<div class="form-group"><button onclick="ssiptv_upload();" class="btn btn-block btn-primary">'.GUIDES_SAVE.'</button></div></form>';
|
||||
} else if ($qui->is_smart == 2) {
|
||||
$is_smart = '<form name="royaliptv" id="royaliptv" onsubmit="return false;">
|
||||
<div class="form-group"><label>'.GUIDES_MAC.'</label><input type="text" class="form-control" name="ry_mac" id="ry_mac" placeholder="'.GUIDES_MAC.'"></div>
|
||||
<div class="form-group"><div class="row"><div class="col-md-6"><label>'.LOGIN_USERNAME.'</label><input type="text" class="form-control" name="ry_username" id="ry_username" value="'.$byakman->userInfo('username').'" placeholder="'.$byakman->userInfo('username').'" disabled></div><div class="col-md-6"><label>'.LOGIN_PASSWORD.'</label><input type="text" class="form-control" name="ry_password" id="ry_password" value="'.$byakman->userInfo('password').'" placeholder="'.$byakman->userInfo('password').'" disabled></div></div></div>
|
||||
<input type="hidden" class="form-control" name="ry_url" id="ry_url" value="'.$siteInfo->site_xtream.'get.php?username='.$byakman->userInfo('username').'&password='.$byakman->userInfo('password').'&type=m3u_plus&output=ts" placeholder="'.GUIDES_URL.'" disabled>
|
||||
<div class="form-group"><button onclick="royaliptv_upload();" class="btn btn-block btn-primary">'.GUIDES_SAVE.'</button></div></form>';
|
||||
} else {
|
||||
$is_smart = '';
|
||||
}
|
||||
echo'<li class="nav-item">
|
||||
<a href="#tabs'.stripslashes($qui->id).'" class="nav-link list-group-item'.$tag.'" data-toggle="tab">'.stripslashes($qui->guide_name).'</a>
|
||||
</li>';
|
||||
$tab_array .= '<div class="tab-pane '.$tag2.' fade" id="tabs'.stripslashes($qui->id).'">
|
||||
<p>'.$qui->guide_desc.'</p>
|
||||
'.$is_smart.'
|
||||
</div>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="tab-content search-wrapper" style="padding:10px;">
|
||||
<?= $tab_array; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="alert_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><?= GUIDES_MODAL_TITLE; ?></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="modal_body_text" style="overflow-wrap: break-word;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
@@ -0,0 +1,63 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($_SESSION["user_info"] == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
<div class="container-fluid" style="margin-top: 5vh">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="page-nav">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<div class="search-wrapper" style="cursor:pointer" onclick="window.location.href='<?=$byakman->route('livetv')?>';">
|
||||
<a href="<?=$byakman->route('livetv')?>">
|
||||
<i class="ti-desktop" style="font-size: 5em; color: #000"></i>
|
||||
<p><span class="d-block" style="font-size: 2em; font-weight:bold;margin-top: 10px"><?= HOME_LIVETV; ?></span></a>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="page-nav">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<div class="search-wrapper" style="cursor:pointer" onclick="window.location.href='<?=$byakman->route('movies')?>';">
|
||||
<a href="<?=$byakman->route('movies')?>">
|
||||
<i class="ti-video-clapper" style="font-size: 5em; color: #000"></i>
|
||||
<p><span class="d-block" style="font-size: 2em; font-weight:bold;margin-top: 10px"><?= HOME_MOVIES; ?></span></a>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="page-nav">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<div class="search-wrapper" style="cursor:pointer" onclick="window.location.href='<?=$byakman->route('series')?>';">
|
||||
<a href="<?=$byakman->route('series')?>">
|
||||
<i class="ti-control-forward" style="font-size: 5em; color: #000"></i>
|
||||
<p><span class="d-block" style="font-size: 2em; font-weight:bold;margin-top: 10px"><?= HOME_SERIES; ?></span></a>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($_SESSION["user_info"] == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
<div class="faq-page" style="margin:20px 0 20px 0">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="hidden-md-up col-sm-12 order-xs-1 order-sm-1">
|
||||
<button type="button" class="btn collapse-bg" style="float:right; margin-bottom: 5px" onclick="open_live_menu();"><?= LIVETV_CHANNEL_LIST; ?></button>
|
||||
|
||||
<div id="mySidenav" class="sidenav">
|
||||
<div id="fixed_header" style="display:none;">
|
||||
<button type="button" id="close_button" class="btn collapse-bg" style="float:right; margin-bottom: 5px; margin-right:10px" onclick="close_live_menu();"><?= LIVETV_CLOSE; ?></button>
|
||||
<div style="padding:10px">
|
||||
<select class="form-control" name="live_cat2" id="live_cat2">
|
||||
<?php
|
||||
$list_bouqet = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), 'get_live_categories', '');
|
||||
$getCategory = json_decode($list_bouqet, true);
|
||||
foreach($getCategory AS $gc) {
|
||||
echo '<option value="'.$gc["category_id"].'">'.$gc["category_name"].'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<ul id="live_box2" style="display:none;padding:10px; overflow-y: scroll; height: 100%" class="list-group mobile"></ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="hidden-sm-down col-md-6 order-xs-2 order-sm-2">
|
||||
<div class="form-div">
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="live_cat" id="live_cat" style="height:40px">
|
||||
<? $getCategory = json_decode($list_bouqet, true);
|
||||
foreach($getCategory AS $gc) {
|
||||
echo '<option value="'.$gc["category_id"].'">'.$gc["category_name"].'</option>';
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
<ul class="list-group desktop" id="live_box"></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-md-6 order-xs-2 order-sm-2">
|
||||
|
||||
<div class="row">
|
||||
<div class="form-div">
|
||||
<div class="col-md-12">
|
||||
<div id="myElement"></div>
|
||||
<div id="debug" ></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-div" style="margin-top:10px">
|
||||
<div class="col-md-12" style="padding:0px">
|
||||
<div class="panel panel-default" style="padding:0px">
|
||||
<div class="panel-heading"><?= LIVETV_EPG_LIST; ?></div>
|
||||
<div class="panel-body" id="epg_list"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
@@ -0,0 +1,285 @@
|
||||
<!-- header wrapper -->
|
||||
<div class="header-wrapper mt-5" style="padding:0px">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<a href="index.php" class="logo float-none"><img src="files/<?= $siteInfo->site_logo; ?>" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- header wrapper -->
|
||||
|
||||
<section class="form-wrapper">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-div text-center" id="myGroup">
|
||||
<h2><?= LOGIN_TITLE; ?></h2>
|
||||
<p><?= LOGIN_TEXT; ?></p>
|
||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item" style="width:50%">
|
||||
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true"><?= LOGIN_USER; ?></a>
|
||||
</li>
|
||||
<? if ($siteInfo->mag_login == 1) { ?>
|
||||
<li class="nav-item" style="width:50%">
|
||||
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false"><?= LOGIN_MAG; ?></a>
|
||||
</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<?
|
||||
if ($_POST["login"]) {
|
||||
$username = $byakman->guvenlik($_POST["username"]);
|
||||
$sifre = $byakman->guvenlik($_POST["sifre"]);
|
||||
$mac = $byakman->guvenlik($_POST["mac"]);
|
||||
$beni_hatirla = $byakman->guvenlik($_POST["beni_hatirla"]);
|
||||
$recaptcha_secret = $siteInfo->recaptcha_secret;
|
||||
$recaptcha_response = $_POST['recaptcha_response'];
|
||||
if (empty($username) || empty($sifre)) {
|
||||
if (empty($mac)) {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_7.'
|
||||
</div>';
|
||||
} else {
|
||||
if ($siteInfo->recaptcha == 1) {
|
||||
|
||||
// call curl to POST request
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL,"https://www.google.com/recaptcha/api/siteverify");
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array('secret' => $recaptcha_secret, 'response' => $recaptcha_response)));
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
$response = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
$arrResponse = json_decode($response, true);
|
||||
if ($arrResponse["score"] >= 0.5) {
|
||||
$post_data = array( 'mac' => strtoupper($mac) );
|
||||
$api_result = json_decode($byakman->_curl($siteInfo->site_xtream . "api.php?action=stb&sub=info", $post_data), true);
|
||||
if ($api_result["error"] != "NOT EXISTS") {
|
||||
if($api_result["result"] == "1"){
|
||||
if ($siteInfo->unlimited_login == 0 AND $api_result["user_info"]["exp_date"] == null) {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_8.'
|
||||
</div>';
|
||||
} else {
|
||||
$_SESSION['login'] = true;
|
||||
$_SESSION['user_info'] = $api_result['user_info'];
|
||||
$_SESSION['mac_address'] = $mac;
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$api_result['user_info']['username'], time()+ 31536000);
|
||||
setcookie('password',$api_result['user_info']['password'], time()+ 31536000);
|
||||
setcookie('mac', $api_result['mag_device']['mac']);
|
||||
|
||||
}
|
||||
echo '<div style="margin-top: 10px" class="alert alert-success" role="alert">
|
||||
'.LOGIN_ALERT_3.'
|
||||
</div>';
|
||||
header("Refresh: 2; URL=index.php?page=homepage");
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_5.'
|
||||
</div>';
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_6.'
|
||||
</div>';
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_4.'
|
||||
</div>';
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$post_data = array( 'mac' => strtoupper($mac) );
|
||||
$api_result = json_decode($byakman->_curl($siteInfo->site_xtream . "api.php?action=stb&sub=info", $post_data), true);
|
||||
if ($api_result["error"] != "NOT EXISTS") {
|
||||
if($api_result["result"] == "1"){
|
||||
if ($siteInfo->unlimited_login == 0 AND $api_result["user_info"]["exp_date"] == null) {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_8.'
|
||||
</div>';
|
||||
} else {
|
||||
$_SESSION['login'] = true;
|
||||
$_SESSION['user_info'] = $api_result['user_info'];
|
||||
$_SESSION['mac_address'] = $mac;
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$api_result['user_info']['username'], time()+ 31536000);
|
||||
setcookie('password',$api_result['user_info']['password'], time()+ 31536000);
|
||||
setcookie('mac', $api_result['mag_device']['mac']);
|
||||
|
||||
}
|
||||
echo '<div style="margin-top: 10px" class="alert alert-success" role="alert">
|
||||
'.LOGIN_ALERT_3.'
|
||||
</div>';
|
||||
header("Refresh: 2; URL=index.php?page=homepage");
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_5.'
|
||||
</div>';
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_6.'
|
||||
</div>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
if ($username == "") {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_1.'
|
||||
</div>';
|
||||
} else if ($sifre == "") {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_2.'
|
||||
</div>';
|
||||
} else {
|
||||
|
||||
if ($siteInfo->recaptcha == 1) {
|
||||
|
||||
// call curl to POST request
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL,"https://www.google.com/recaptcha/api/siteverify");
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array('secret' => $recaptcha_secret, 'response' => $recaptcha_response)));
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
$response = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
$arrResponse = json_decode($response, true);
|
||||
if ($arrResponse["score"] >= 0.5) {
|
||||
|
||||
$post_data = array( 'username' => $username, 'password' => $sifre );
|
||||
$api_result = json_decode($byakman->get_curl($siteInfo->site_xtream . "player_api.php?username=".$username."&password=".$sifre.""), true);
|
||||
|
||||
if ($api_result["user_info"]["status"] === 'Active') {
|
||||
|
||||
if ($siteInfo->unlimited_login == 0 AND $api_result["user_info"]["exp_date"] == null) {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_8.'
|
||||
</div>';
|
||||
} else {
|
||||
|
||||
$_SESSION["login"] = true;
|
||||
$_SESSION["user_info"] = $api_result["user_info"];
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$username, time()+ 31536000);
|
||||
setcookie('password',$password, time()+ 31536000);
|
||||
|
||||
}
|
||||
echo '<div style="margin-top: 10px" class="alert alert-success" role="alert">
|
||||
'.LOGIN_ALERT_3.'
|
||||
</div>';
|
||||
header("Refresh: 2; URL=index.php?page=homepage");
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_6.'
|
||||
</div>';
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_4.'
|
||||
</div>';
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$post_data = array( 'username' => $username, 'password' => $sifre );
|
||||
$api_result = json_decode($byakman->get_curl($siteInfo->site_xtream . "player_api.php?username=".$username."&password=".$sifre.""),true);
|
||||
if ($api_result["user_info"]["status"] === 'Active') {
|
||||
|
||||
if ($siteInfo->unlimited_login == 0 AND $api_result["user_info"]["exp_date"] == null) {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_8.'
|
||||
</div>';
|
||||
} else {
|
||||
|
||||
$_SESSION["login"] = true;
|
||||
$_SESSION["user_info"] = $api_result["user_info"];
|
||||
if ($remember == 1) {
|
||||
|
||||
setcookie('username',$username, time()+ 31536000);
|
||||
setcookie('password',$password, time()+ 31536000);
|
||||
|
||||
}
|
||||
echo '<div style="margin-top: 10px" class="alert alert-success" role="alert">
|
||||
'.LOGIN_ALERT_3.'
|
||||
</div>';
|
||||
header("Refresh: 2; URL=index.php?page=homepage");
|
||||
}
|
||||
} else {
|
||||
echo '<div style="margin-top: 10px" class="alert alert-danger" role="alert">
|
||||
'.LOGIN_ALERT_6.'
|
||||
</div>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
// Login Mac
|
||||
|
||||
}
|
||||
?>
|
||||
<form name="login_form" id="login_form" method="POST">
|
||||
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
<input class="form-control" type="text" style="color:#000" placeholder="<?= LOGIN_USERNAME; ?>" name="username" id="username">
|
||||
<input class="form-control" type="password" style="color:#000" placeholder="<?= LOGIN_PASSWORD; ?>" name="sifre" id="sifre">
|
||||
</div>
|
||||
</div>
|
||||
<? if ($siteInfo->mag_login == 1) { ?>
|
||||
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
|
||||
<div class="form-group mt-4">
|
||||
<input class="form-control" type="text" style="color:#000" placeholder="<?= LOGIN_MAG_ADRESS; ?>" name="mac" id="mac">
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
|
||||
<div class="form-group form-check-label">
|
||||
<input type="checkbox" id="beni_hatirla" name="beni_hatirla" checked=""> <?= LOGIN_REMEMBER; ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group button-block text-center">
|
||||
<input type="hidden" name="recaptcha_response" id="recaptcha_response" value="">
|
||||
<input type="submit" class="form-btn" id="login" name="login" value="<?= LOGIN_BUTTON; ?>" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="alert_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><?= LOGIN_MODAL_TITLE; ?></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="modal_body_text">
|
||||
...
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($byakman->userInfo('username') == "" OR $byakman->userInfo('password') == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
$user_hash = sha1($byakman->userInfo('username')."-".$byakman->userInfo('password')."-");
|
||||
$files = glob("cache/".$user_hash."*");
|
||||
foreach($files AS $f) {
|
||||
if (file_exists($f)) {
|
||||
unlink($f);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$files = glob("cache/*.*");
|
||||
foreach ($files as $plk2) {
|
||||
$dosya_zamani = filemtime($plk2);
|
||||
$sure = 60*60*5;
|
||||
$tamsure = time()-$sure;
|
||||
if ($dosya_zamani < $tamsure) {
|
||||
if (file_exists($plk2)) {
|
||||
unlink($plk2);
|
||||
}
|
||||
}
|
||||
}
|
||||
$_SESSION["login"] = false;
|
||||
unset($_SESSION['user_info']);
|
||||
unset($_SESSION['mac_address']);
|
||||
header("Location: index.php?page=login");
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($byakman->userInfo('username') == "" OR $byakman->userInfo('password') == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
$id = $byakman->guvenlik($_GET["id"]);
|
||||
$get_cat_info = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_categories", "");
|
||||
$get_cat = json_decode($get_cat_info, true);
|
||||
$key = array_search($id, array_column($get_cat, 'category_id'));
|
||||
|
||||
$get_movies_cat = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_streams&category_id=", $id);
|
||||
$get_movies = json_decode($get_movies_cat, true);
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
|
||||
<div class="page-nav p-0">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<div class="search-wrapper">
|
||||
<h2 style="font-size:1.5em" class="mb-3"><?
|
||||
$text = str_replace("{cat_name}", $get_cat[$key]["category_name"], MOVIE_CATS_TEXT); $text = str_replace("{count_movie}", count($get_movies), $text); echo $text; ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- slider wrapper -->
|
||||
<div class="slide-wrapper search-wrap-slide">
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<?php
|
||||
$i = 0;
|
||||
$all_movies = $get_movies;
|
||||
$page = isset($_GET['p']) ? $_GET['p'] : 1;
|
||||
$count = count($all_movies);
|
||||
$perPage = 30;
|
||||
$numberOfPages = ceil($count / $perPage);
|
||||
$offset = ($page-1) * $perPage;
|
||||
$files = array_slice($all_movies, $offset, $perPage);
|
||||
foreach($files AS $gm) { ?>
|
||||
<div class="col-sm-12 col-md-2 mt-4">
|
||||
<a class="slide-one" href="index.php?page=moviedetail&id=<?= $gm["stream_id"]; ?>">
|
||||
<div class="slide-image"><img style="height:30vh" src="<? if ($gm["stream_icon"] == "") { echo 'https://via.placeholder.com/300x400.png';} else { echo $gm["stream_icon"]; } ?>" alt="image"></div>
|
||||
<div class="slide-content">
|
||||
<div class="labelContainer"><span><h2 style="white-space: nowrap;"><?= $gm["name"]; ?></h2></span></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<? $i++; } if($count > $perPage){ $x = 2; ?>
|
||||
<div class="col-md-12">
|
||||
<nav aria-label="Page navigation example" style="margin: 30px 0 30px 0">
|
||||
<ul class="pagination justify-content-center">
|
||||
<?php
|
||||
if($page > 1){ //sayfa 1 den küçük ise [Önceki] butonu oluşturulmaya uygundur
|
||||
$onceki = $page-1; //aktif sayfanın bir önceki sayfa bulunur
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$onceki.'">« '.MOVIE_PAGE_PREV.' </a></li>'; //link içerisine yazdırılıp [Önceki] butonu oluşturulur
|
||||
}
|
||||
if($page==1){ //sayfalamada 1. sayfada bulunuyorsak
|
||||
echo '<li class="page-item active"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p=1">1</a></li>'; //1. sayfayı menüde aktif olarak gösteriyoruz
|
||||
}
|
||||
else{ // bulunmuyorsak
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p=1">1</a></li>'; //normal olarak gözüksün, aktif olmasın
|
||||
}
|
||||
//menü kısaltma işlemi
|
||||
//bulunduğumuz sayfa yani $sayfa = 6 olduğu durumda
|
||||
if($page-$x > 2){ //6-2 > 2 değeri true döndürecek
|
||||
echo '<li class="page-item disabled"><a class="page-link" href="#">...</a></li>'; //kısaltma etiketi yazdırılacak
|
||||
$i = $page-$x; //$i değişkenine 4 değeri atanacak
|
||||
}else {
|
||||
$i = 2;
|
||||
}
|
||||
//$sayfa = 6 olduğu durumda = sonuc çıktısı -> 1 ...
|
||||
|
||||
for($i; $i<=$page+$x; $i++) { //$i yani 4 değeri 8 değerine ulaşasıya kadar döngü çalışsın > 4 5 6 7 8
|
||||
if($i==$page){ //$i değeri bulunduğumuz sayfa ile eşitse
|
||||
echo '<li class="page-item active"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$i.'">'.$i.'</a></li>'; // aktif olarak işaretlensin ve yazdırılsın > 4 5 [6] 7 8
|
||||
}
|
||||
else{//değil ise
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$i.'">'.$i.'</a></li>'; //normal olarak yazdırılsın
|
||||
}
|
||||
if($i==$numberOfPages) break;
|
||||
}
|
||||
//$sayfa = 6 olduğu durumda = sonuc çıktısı -> 1 ... 4 5 [6] 7 8
|
||||
|
||||
if($page+$x < $numberOfPages-1) { //6+2<11-1 ise
|
||||
echo '<li class="page-item disabled"><a class="page-link" href="#">...</a></li>'; //kısaltma etiketi yazdırılacak
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$numberOfPages.'">'.$numberOfPages.'</a></li>'; // son sayfa yazdırılacak
|
||||
}elseif($page+$x == $numberOfPages-1) {
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$numberOfPages.'">'.$numberOfPages.'</a></li>';
|
||||
}
|
||||
//$sayfa = 6 olduğu durumda = sonuc çıktısı -> 1 ... 4 5 [6] 7 8 ... 11
|
||||
//menü kısaltma işlemi
|
||||
|
||||
if($page < $numberOfPages){ //bulunduğumuz sayfa hala son sayfa değil ise
|
||||
$sonraki = $page+1; //bulundğumuz sayfa değeri 1 arttırılıyor
|
||||
echo '<li class="page-item"><a class="page-link" href="index.php?page=moviecat&id='.$id.'&p='.$sonraki.'"> '.MOVIE_PAGE_NEXT.' » </a></li>'; //ve Sonraki butonu oluşturulup yazdırılıyor
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<? } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
@@ -0,0 +1,130 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($byakman->userInfo('username') == "" OR $byakman->userInfo('password') == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
if ($_GET) {
|
||||
$id = $byakman->guvenlik($_GET["id"]);
|
||||
if ($id != "") {
|
||||
if (is_numeric($id)) {
|
||||
$detail = $byakman->player_api2($byakman->userInfo('username'),$byakman->userInfo('password'), 'get_vod_info&vod_id=', $id);
|
||||
$detail = json_decode($detail,true);
|
||||
|
||||
$type = $detail['movie_data']['container_extension'];
|
||||
switch ($type){
|
||||
case 'mkv':
|
||||
$type = '.mkv';
|
||||
break;
|
||||
case 'mp4':
|
||||
$type = '.mp4';
|
||||
break;
|
||||
case 'avi':
|
||||
$type = '.avi';
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
$movie_url = $siteInfo->site_xtream."movie/".$byakman->userInfo('username')."/".$byakman->userInfo('password')."/".$detail["movie_data"]["stream_id"]."".$type;
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
<!-- banenr wrapper -->
|
||||
<div class="banner-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="banner-wrap justify-content-between align-items-center ep-list-min" data-type="<?= $detail["movie_data"]["container_extension"]; ?>" data-id="<?= $detail["movie_data"]["stream_id"]; ?>" data-toggle="modal" data-target="#alert_modal">
|
||||
<div class="left-wrap slide-content">
|
||||
<? if($detail["info"]["rating"] == "") {echo "";} else { ?><span class="rnd"><?= MOVIE_IMDB; ?> <? echo $detail["info"]["rating"]; ?></span><? } ?>
|
||||
<h2 style="font-size:2em;margin-top:10px"><?= $detail["movie_data"]["name"]; ?></h2>
|
||||
<? if($detail["info"]["genre"] == "") {echo "";} else { ?><span class="tag"><b><? echo $detail["info"]["genre"]; ?></b></span><? } ?>
|
||||
<? if($detail["info"]["releasedate"] == "") {echo "";} else { ?><span class="tag"><? $year = explode("-", $detail["info"]["releasedate"]); echo $year[0]; ?></span><? } ?>
|
||||
<? if($detail["info"]["duration"] == "") {echo "";} else { ?><span class="tag"><? echo $detail["info"]["duration"]; ?></span><? } ?>
|
||||
<? if($detail["info"]["plot"] == "") {echo "";} else { ?><p><? echo $byakman->descriptions($detail["info"]["plot"], 40); ?></p><? } ?>
|
||||
<p><a class="btn btn-lg ep-list-min" data-type="<?= $detail["movie_data"]["container_extension"]; ?>" data-id="<?= $detail["movie_data"]["stream_id"]; ?>" data-toggle="modal" data-target="#alert_modal"><img src="temp/images/play.png" alt="icn"><?= MOVIE_WATCH; ?></a></p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="right-wrap">
|
||||
<div class="player" id="youtube_fragman" data-property="{videoURL:'http://youtu.be/<?= $detail["info"]["youtube_trailer"]; ?>',containment:'.right-wrap',autoPlay:true, mute:true, startAt:0, opacity:1, controls:0, rel:0, showinfo: 0}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- banenr wrapper -->
|
||||
|
||||
<!-- slider wrapper -->
|
||||
<div class="slide-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 text-left mb-4 mt-4">
|
||||
<h2><?= MOVIE_LIKE; ?></h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="slide-slider-full owl-carousel owl-theme">
|
||||
<?
|
||||
$connect = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_streams", "");
|
||||
$movie_datas = json_decode($connect, true);
|
||||
|
||||
function compareOrder($a, $b)
|
||||
{
|
||||
return $b['added'] - $a['added'];
|
||||
}
|
||||
usort($movie_datas, 'compareOrder');
|
||||
$i = 1;
|
||||
foreach($movie_datas AS $item) {
|
||||
|
||||
if (($item["category_id"] == $detail["movie_data"]["category_id"]) AND ($item["stream_id"] != $detail["movie_data"]["stream_id"])) { ?>
|
||||
<div class="owl-items">
|
||||
<a class="slide-one slide-two" href="index.php?page=moviedetail&id=<?= $item["stream_id"]; ?>">
|
||||
<div class="slide-image" style="background-image: url(<?= $item["stream_icon"]; ?>"></div>
|
||||
<div class="slide-content">
|
||||
<h2><?= $item["name"]; ?></h2>
|
||||
<span class="tag"></span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<? $i++; } else {
|
||||
|
||||
|
||||
} if ($i == 10) break;
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- slider wrapper -->
|
||||
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="alert_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><?= $detail["movie_data"]["name"]; ?></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="modal_body_text">
|
||||
<div class='player-container'>
|
||||
<video id="my-video" class="video-js vjs-16-9" controls data-setup="{}" oncontextmenu="return false;">
|
||||
<source src="<?=$movie_url?>" type="video/mp4" codecs='"a_ac3, avc"' >
|
||||
<p class="vjs-no-js">
|
||||
To view this video please enable JavaScript, and consider upgrading to a web browser that
|
||||
<a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
|
||||
</p>
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? } } } } ?>
|
||||
@@ -0,0 +1,148 @@
|
||||
<?
|
||||
session_start();
|
||||
if (($_SESSION["login"] != true) AND ($byakman->userInfo('username') == "" OR $byakman->userInfo('password') == "")) {
|
||||
header("Location: index.php?page=login");
|
||||
exit();
|
||||
} else {
|
||||
?>
|
||||
<div class="main-wrapper">
|
||||
<? include("app/_header.php"); ?>
|
||||
<!-- banenr wrapper -->
|
||||
<div class="banner-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="banner-slider owl-carousel owl-theme">
|
||||
<?php
|
||||
$last_movies_url = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_streams", "");
|
||||
$movie_datas = json_decode($last_movies_url, true);
|
||||
function compareOrder($a, $b)
|
||||
{
|
||||
return $b['added'] - $a['added'];
|
||||
}
|
||||
usort($movie_datas, 'compareOrder');
|
||||
$i = 1;
|
||||
foreach($movie_datas AS $item) {
|
||||
$detail = $byakman->player_api2($byakman->userInfo('username'),$byakman->userInfo('password'), 'get_vod_info&vod_id=', $item["stream_id"]);
|
||||
$detail = json_decode($detail,true);
|
||||
?>
|
||||
<div class="owl-items">
|
||||
<div class="banner-wrap justify-content-between align-items-center" onclick="window.location.href='index.php?page=moviedetail&id=<?= $item["stream_id"]; ?>'">
|
||||
<div class="left-wrap">
|
||||
<? if($detail["info"]["rating"] == "") {echo "";} else { ?><span class="rnd"><?= MOVIE_IMDB; ?> <? echo $detail["info"]["rating"]; ?></span><? } ?>
|
||||
<h2 style="font-size: 2.4em;"><?= $detail["movie_data"]["name"]; ?></h2>
|
||||
<? if($detail["info"]["genre"] == "") {echo "";} else { ?><span class="tag"><b><? echo $detail["info"]["genre"]; ?></b></span><? } ?>
|
||||
<? if($detail["info"]["releasedate"] == "") {echo "";} else { ?><span class="tag"><? $year = explode("-", $detail["info"]["releasedate"]); echo $year[0]; ?></span><? } ?>
|
||||
<? if($detail["info"]["duration"] == "") {echo "";} else { ?><span class="tag"><? echo $detail["info"]["duration"]; ?></span><? } ?>
|
||||
<? if($detail["info"]["plot"] == "") {echo "";} else { ?><p><? echo $byakman->descriptions($detail["info"]["plot"], 40); ?></p><? } ?>
|
||||
<p><a href="index.php?page=moviedetail&id=<?= $item["stream_id"]; ?>" class="btn btn-lg"><img src="temp/images/play.png" alt="icn"><?= MOVIE_WATCH; ?></a></p>
|
||||
</div>
|
||||
<div class="right-wrap" style="background-image: url(<?= $detail["info"]["backdrop_path"][rand(0,4)]; ?>);"></div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($i++ == 5) break; } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slide-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 text-left mb-4 mt-4">
|
||||
<h2><?= MOVIE_LAST; ?></h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="slide-slider-full owl-carousel owl-theme">
|
||||
<?
|
||||
$c = 1;
|
||||
foreach($movie_datas AS $item) {
|
||||
?>
|
||||
<div class="owl-items">
|
||||
<a class="slide-one" href="index.php?page=moviedetail&id=<?= $item["stream_id"]; ?>">
|
||||
<div class="slide-image"><img style="height:30vh" src="<? if ($item["stream_icon"] == "") { echo 'https://via.placeholder.com/400x800.png';} else { echo $item["stream_icon"]; } ?>" alt="image"></div>
|
||||
<div class="slide-content">
|
||||
<div class="labelContainer"><span><h2 style="white-space: nowrap;"><?= $item["name"]; ?></h2></span></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<? if ($c++ == 10) break; } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- slider wrapper -->
|
||||
<?php
|
||||
$get_categories = $byakman->player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_vod_categories", "");
|
||||
$category_datas = json_decode($get_categories, true);
|
||||
?>
|
||||
<!-- slider wrapper -->
|
||||
<div class="category-wrapper slide-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 text-left mb-4 mt-4">
|
||||
<h2><?= MOVIE_CAT; ?></h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="category-slider owl-carousel owl-theme">
|
||||
<? foreach($category_datas AS $citem) { ?>
|
||||
<div class="owl-items">
|
||||
<a href="index.php?page=moviecat&id=<?= $citem["category_id"]; ?>" class="category-wrap" style="background-image: url(temp/images/gb<?= rand(1,4); ?>.png);"><span><?= $citem["category_name"]; ?></span></a>
|
||||
</div>
|
||||
<? } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- slider wrapper -->
|
||||
<? foreach($category_datas AS $citem) { ?>
|
||||
<!-- banenr wrapper -->
|
||||
<div class="slide-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 text-left mb-4 mt-4">
|
||||
<h2><?= $citem["categori_id"]; ?><?= $citem["category_name"]; ?></h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="slide-slider-full owl-carousel owl-theme">
|
||||
<?
|
||||
$c = 1;
|
||||
foreach($movie_datas AS $item) {
|
||||
if ($item["category_id"] != $citem["category_id"]) {
|
||||
|
||||
} else {
|
||||
?>
|
||||
<div class="owl-items">
|
||||
<a class="slide-one" href="index.php?page=moviedetail&id=<?= $item["stream_id"]; ?>">
|
||||
<div class="slide-image"><img style="height:30vh" src="<? if ($item["stream_icon"] == "") { echo 'https://via.placeholder.com/400x800.png';} else { echo $item["stream_icon"]; } ?>" alt="image"></div>
|
||||
<div class="slide-content">
|
||||
<div class="labelContainer"><span><h2 style="white-space: nowrap;"><?= $item["name"]; ?></h2></span></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<? if ($c++ == 10) break; } } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- slider wrapper -->
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
|
||||
<? } ?>
|
||||
@@ -0,0 +1,403 @@
|
||||
<?
|
||||
|
||||
session_start();
|
||||
|
||||
if (($_SESSION["login"] != true) AND ($_SESSION["user_info"] == "")) {
|
||||
|
||||
header("Location: index.php?page=login");
|
||||
|
||||
exit();
|
||||
|
||||
} else {
|
||||
|
||||
$post_data = array('username' => $byakman->userInfo('username'), 'password' => $byakman->userInfo('password'));
|
||||
|
||||
$api_result = json_decode($byakman->_curl($siteInfo->site_xtream . "api.php?action=user&sub=info", $post_data), true);
|
||||
|
||||
if ($api_result['result']) {
|
||||
|
||||
$bouqets = $api_result['user_info']['bouquet'];
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="main-wrapper">
|
||||
|
||||
<? include("app/_header.php"); ?>
|
||||
|
||||
<div class="page-nav">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-12 text-center">
|
||||
|
||||
<h2 class="mb-1"><?= PROFILE_TITLE; ?></h2>
|
||||
|
||||
<p><?= PROFILE_DESC; ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="faq-page">
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<div class="col-sm-8">
|
||||
|
||||
<div id="accordion" class="accordion">
|
||||
|
||||
<div class="card mb-3">
|
||||
|
||||
<div class="card-header" id="headingOne">
|
||||
|
||||
<h5 class="mb-0">
|
||||
|
||||
<button class="btn btn-link small-text collapsed pl-5 text-left" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
|
||||
|
||||
<i class="ti-user"></i><?= PROFILE_ACCOUNT; ?> <span><?= PROFILE_ACCOUNT_TEXT; ?></span>
|
||||
|
||||
</button>
|
||||
|
||||
</h5>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
|
||||
<div class="card-body form-div">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-4">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_USERNAME; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" value="<?= $byakman->userInfo('username'); ?>" disabled>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_PASS; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" value="<?= $byakman->userInfo('password'); ?>" disabled>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_TIME; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" value="<?= date("Y-m-d H:i:s", $byakman->userInfo('exp_date')); ?>" disabled>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group button-block text-center">
|
||||
|
||||
<button type="button" class="form-btn" style="color:#fff" data-toggle="modal" data-target="#alert_modal"><?= PROFILE_LINK; ?></button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? if ($siteInfo->password_change == 1) { ?>
|
||||
|
||||
<div class="card mb-3">
|
||||
|
||||
<div class="card-header" id="headingTwo">
|
||||
|
||||
<h5 class="mb-0">
|
||||
|
||||
<button class="btn btn-link small-text collapsed pl-5 text-left" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseOne">
|
||||
|
||||
<i class="ti-lock"></i><?= PROFILE_PASS; ?> <span><?= PROFILE_PASS_TEXT; ?></span>
|
||||
|
||||
</button>
|
||||
|
||||
</h5>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="collapseTwo" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
|
||||
<div class="card-body form-div">
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-6">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_PASS_CHANGE; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" name="password_c1" id="password_c1" value="">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_PASS_CHANGE_2; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" name="password_c2" id="password_c2" value="">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 form-group">
|
||||
|
||||
<span class="colorwhite"><?= PROFILE_PASS_MESSAGE; ?></span>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<button class="form-btn" style="color:#fff" type="button" id="change_pass" name="change_pass"><?= PROFILE_PASS_CHANGE_BUTTON; ?></button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? } ?>
|
||||
|
||||
<? if (isset($_SESSION["mac_address"])) { ?>
|
||||
|
||||
<div class="card mb-3">
|
||||
|
||||
<div class="card-header" id="headingThree">
|
||||
|
||||
<h5 class="mb-0">
|
||||
|
||||
<button class="btn btn-link small-text collapsed pl-5 text-left" data-toggle="collapse" data-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
|
||||
|
||||
<i class="ti-desktop"></i><?= PROFILE_PORTAL; ?> <span> <?= PROFILE_PORTAL_DESC; ?></span>
|
||||
|
||||
</button>
|
||||
|
||||
</h5>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="collapseFour" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
|
||||
<div class="card-body form-div">
|
||||
|
||||
<div class="col-sm-12">
|
||||
|
||||
<div class="form-group mt-4">
|
||||
|
||||
<label><?= PROFILE_PORTAL; ?></label>
|
||||
|
||||
<input class="form-control" style="color:#000" type="text" value="<?= stripslashes($siteInfo->site_portal); ?>" disabled>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? } ?>
|
||||
|
||||
<? if ($siteInfo->bouquet_edit == 1) { ?>
|
||||
|
||||
<div class="card mb-3">
|
||||
|
||||
<div class="card-header" id="headingThree">
|
||||
|
||||
<h5 class="mb-0">
|
||||
|
||||
<button class="btn btn-link small-text collapsed pl-5 text-left" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseTwo">
|
||||
|
||||
<i class="ti-settings"></i><?= PROFILE_BOUQUET; ?> <span> <?= PROFILE_BOUQUET_DESC; ?></span>
|
||||
|
||||
</button>
|
||||
|
||||
</h5>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="collapseThree" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
|
||||
<div class="card-body form-div" id="bquet">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<?php
|
||||
|
||||
$bouqet_data = $byakman->pdo->query("SELECT * FROM bouqet_list WHERE status = '1' ORDER BY sira ASC")->fetchAll();
|
||||
|
||||
foreach($bouqet_data AS $bq) {
|
||||
|
||||
?>
|
||||
|
||||
<div class="col-md-6"><?= stripslashes($bq->bouquet_name); ?> <label class="switch"><input type="checkbox" name="bq[]" id="bq" <?= in_array($bq->bouquet_id, $bouqets) ? 'checked' : '' ?> value="<?= $bq->bouquet_id; ?>"><span class="slider round"></span></label></div>
|
||||
|
||||
<? } ?>
|
||||
|
||||
<div class="col-md-12 mt-5"><button class="form-btn" style="color:#fff" type="button" id="change_bouquet" name="change_bouquet"><?= PROFILE_BOUQUET_SAVE; ?></button></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? } ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Modal -->
|
||||
|
||||
<div class="modal fade" id="info_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel2" aria-hidden="true">
|
||||
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
|
||||
<h5 class="modal-title"><?= PROFILE_MODAL_TITLE; ?></h5>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
|
||||
<span aria-hidden="true">×</span>
|
||||
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-body" id="modal_info_body" style="overflow-wrap: break-word;">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Modal -->
|
||||
|
||||
<div class="modal fade" id="alert_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
|
||||
<h5 class="modal-title"><?= PROFILE_MODAL_TITLE; ?></h5>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
|
||||
<span aria-hidden="true">×</span>
|
||||
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-body" id="modal_body_text" style="overflow-wrap: break-word;">
|
||||
|
||||
<?
|
||||
|
||||
$co = htmlspecialchars_decode($siteInfo->iptv_links);
|
||||
|
||||
$siteUrl = $siteInfo->site_xtream;
|
||||
|
||||
$convert = str_replace('{api_url}',$siteUrl, $co);
|
||||
|
||||
$conv = str_replace('{username}',$byakman->userInfo('username'), $convert);
|
||||
|
||||
$convc = str_replace('{password}',$byakman->userInfo('password'), $conv);
|
||||
|
||||
$convx = str_replace('{iptv.sh}','/etc/enigma2/iptv.sh', $convc);
|
||||
|
||||
echo $convx;
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<? } ?>
|
||||