This commit is contained in:
Nguyễn Tiến Dũng 2022-05-01 22:01:12 +07:00
parent 0363bb15ba
commit 96e0513959
102 changed files with 27404 additions and 0 deletions

18
.editorconfig Normal file
View File

@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
[docker-compose.yml]
indent_size = 4

52
.env.example Normal file
View File

@ -0,0 +1,52 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=clmm
DB_USERNAME=root
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

10
.gitattributes vendored Normal file
View File

@ -0,0 +1,10 @@
* text=auto
*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php
/.github export-ignore
CHANGELOG.md export-ignore

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.phpunit.result.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/.idea
/.vscode

14
.styleci.yml Normal file
View File

@ -0,0 +1,14 @@
php:
preset: laravel
version: 8
disabled:
- no_unused_imports
finder:
not-name:
- index.php
- server.php
js:
finder:
not-name:
- webpack.mix.js
css: true

32
app/Console/Kernel.php Normal file
View File

@ -0,0 +1,32 @@
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}

View File

@ -0,0 +1,41 @@
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array<int, class-string<Throwable>>
*/
protected $dontReport = [
//
];
/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array<int, string>
*/
protected $dontFlash = [
'current_password',
'password',
'password_confirmation',
];
/**
* Register the exception handling callbacks for the application.
*
* @return void
*/
public function register()
{
$this->reportable(function (Throwable $e) {
//
});
}
}

View File

@ -0,0 +1,13 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}

View File

@ -0,0 +1,53 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Resources\ContactResource;
use App\Models\Contact;
use App\Http\Resources\MomoResource;
use App\Models\Momo;
class DUNGA extends Controller
{
public function settings() {
return response()->json(array(
'status' => true,
'message' => 'Thành công',
'contacts' => ContactResource::collection(Contact::where('status', 1)->get()),
'note' => '<p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; background-color: rgb(247, 247, 247);"><span style="font-weight: 600; background-color: rgb(255, 255, 255);"><span style="font-size: 15px;"><font color="#ff0000">HỆ THỐNG CHẲN LẺ TÀI XỈU UY TÍN AUTO THANH TOÁN TỰ ĐỘNG</font></span></span></p><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; background-color: rgb(247, 247, 247);"><span style="font-weight: 600; background-color: rgb(255, 255, 255);"><span style="font-size: 15px;"><font color="#ff0000"><br></font></span></span></p><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; background-color: rgb(247, 247, 247);"><span style="font-weight: 600; background-color: rgb(255, 255, 255);"><span style="font-size: 15px;"><font color="#ff0000"><br></font></span></span></p><h5 style="font-family: Tahoma; line-height: 1.1; color: rgb(51, 51, 51); margin-bottom: 10px; font-size: 14px; text-align: center; text-size-adjust: 100%;"><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font-family: Tahoma, Verdana, Helvetica, sans-serif; caret-color: rgb(51, 51, 51); text-size-adjust: 100%; text-align: justify;"><span style="color: rgb(255, 0, 0); font-weight: bold;">ĐỌC THÔNG BÁO TRÁNH MẤT TIỀN : (MỚI)</span><br></p><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font-family: Tahoma, Verdana, Helvetica, sans-serif; caret-color: rgb(51, 51, 51); text-size-adjust: 100%; text-align: justify;"><font style="text-align: left; -webkit-tap-highlight-color: transparent; font-weight: bold;">-</font><font style="text-align: left; -webkit-tap-highlight-color: transparent; font-weight: bold;"> </font><font color="#000000" style="text-align: left; -webkit-tap-highlight-color: transparent; font-weight: bold;">CHÚ Ý</font><font style="text-align: left; -webkit-tap-highlight-color: transparent; font-weight: bold;">: </font><font color="#000000" style="text-align: left; -webkit-tap-highlight-color: transparent;"><span style="font-weight: 600;">KHÔNG NÊN MÃI CHƠI 1 SỐ VÌ SỐ THAY ĐỔI LIÊN TỤC , NÊN TẢI LẠI TRANG SAU 10-20P VÀ LẤY SỐ HẠN MỨC THẤP CHƠI TIẾP . NẾU SỐ TRÊN WED ĐÃ TẮT VUI LÒNG KHÔNG CHƠI , KHI CHƠI TRÁNH KHÔNG TRẢ ĐƠN </span></font></p><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font-family: Tahoma, Verdana, Helvetica, sans-serif; caret-color: rgb(51, 51, 51); text-size-adjust: 100%; text-align: justify;"><br></p><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font-family: Tahoma, Verdana, Helvetica, sans-serif; caret-color: rgb(51, 51, 51); text-size-adjust: 100%; text-align: justify;"><span style="font-weight: bold;"><font color="#ff0000">- <span style="background-color: rgb(255, 255, 0);">Lỗi phải báo ngay trong 6 tiếng , tránh mất giao dịch sẽ không xữ lý được</span></font></span></p></h5><p style="margin-right: 0px; margin-bottom: 3px; margin-left: 0px;"><br style="color: rgb(51, 51, 51); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14px;"></p>',
'ads' => '',
'active' => 1,
'history' => 1,
'only_win' => 1,
'limit' => 10,
'week_top' => 1,
'day_mission' => array(
'active' => 1,
)
));
}
public function momo() {
return response()->json(array(
'status' => true,
'message' => 'Thành công',
'data_momo' => MomoResource::collection(Momo::where('status', 1)->get()),
'game' => array(
'active' => array('chanle2', 'chanle', 'taixiu2', 'taixiu', 'x3', 'hieu2so', 'lo', 'gap3'),
'html' => view('game')->render()
)
));
}
public function minigame(Request $request) {
if ($request->game == 'day_mission') {
$game = view('dayMission')->render();
}
return response()->json(array(
'message' => 'Thành công',
'html' => $game,
'game' => $request->game
));
}
}

67
app/Http/Kernel.php Normal file
View File

@ -0,0 +1,67 @@
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array<int, class-string|string>
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
];
/**
* The application's route middleware groups.
*
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
// \Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
'throttle:api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array<string, class-string|string>
*/
protected $routeMiddleware = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
];
}

View File

@ -0,0 +1,21 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
*/
protected function redirectTo($request)
{
if (! $request->expectsJson()) {
return route('login');
}
}
}

View File

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array<int, string>
*/
protected $except = [
//
];
}

View File

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array<int, string>
*/
protected $except = [
//
];
}

View File

@ -0,0 +1,32 @@
<?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next
* @param string|null ...$guards
* @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse
*/
public function handle(Request $request, Closure $next, ...$guards)
{
$guards = empty($guards) ? [null] : $guards;
foreach ($guards as $guard) {
if (Auth::guard($guard)->check()) {
return redirect(RouteServiceProvider::HOME);
}
}
return $next($request);
}
}

View File

@ -0,0 +1,19 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array<int, string>
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
];
}

View File

@ -0,0 +1,20 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}

View File

@ -0,0 +1,28 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
*/
protected $proxies;
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}

View File

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array<int, string>
*/
protected $except = [
//
];
}

View File

@ -0,0 +1,22 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class ContactResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable
*/
public function toArray($request)
{
return [
'name' => $this->name,
'href' => $this->href
];
}
}

View File

@ -0,0 +1,28 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class MomoResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable
*/
public function toArray($request)
{
return [
'username' => $this->phone,
'status' => $this->status,
'settings' => array(
'transfers_today' => array(
'times' => $this->times,
'amount' => $this->amount
)
)
];
}
}

18
app/Models/Contact.php Normal file
View File

@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Contact extends Model
{
use HasFactory;
protected $fillable = [
'name',
'href',
'status',
];
}

11
app/Models/Momo.php Normal file
View File

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Momo extends Model
{
use HasFactory;
}

44
app/Models/User.php Normal file
View File

@ -0,0 +1,44 @@
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiTokens, HasFactory, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'email',
'password',
];
/**
* The attributes that should be hidden for serialization.
*
* @var array<int, string>
*/
protected $hidden = [
'password',
'remember_token',
];
/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',
];
}

View File

@ -0,0 +1,28 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}

View File

@ -0,0 +1,30 @@
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array<class-string, class-string>
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
];
/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
//
}
}

View File

@ -0,0 +1,21 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();
require base_path('routes/channels.php');
}
}

View File

@ -0,0 +1,32 @@
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array<class-string, array<int, class-string>>
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
//
}
}

View File

@ -0,0 +1,63 @@
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider
{
/**
* The path to the "home" route for your application.
*
* This is used by Laravel authentication to redirect users after login.
*
* @var string
*/
public const HOME = '/home';
/**
* The controller namespace for the application.
*
* When present, controller route declarations will automatically be prefixed with this namespace.
*
* @var string|null
*/
// protected $namespace = 'App\\Http\\Controllers';
/**
* Define your route model bindings, pattern filters, etc.
*
* @return void
*/
public function boot()
{
$this->configureRateLimiting();
$this->routes(function () {
Route::prefix('api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
Route::middleware('web')
->namespace($this->namespace)
->group(base_path('routes/web.php'));
});
}
/**
* Configure the rate limiters for the application.
*
* @return void
*/
protected function configureRateLimiting()
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
});
}
}

53
artisan Normal file
View File

@ -0,0 +1,53 @@
#!/usr/bin/env php
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any of our classes manually. It's great to relax.
|
*/
require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);
/*
|--------------------------------------------------------------------------
| Shutdown The Application
|--------------------------------------------------------------------------
|
| Once Artisan has finished running, we will fire off the shutdown events
| so that any final work may be done by the application before we shut
| down the process. This is the last thing to happen to the request.
|
*/
$kernel->terminate($input, $status);
exit($status);

55
bootstrap/app.php Normal file
View File

@ -0,0 +1,55 @@
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
$app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
*/
$app->singleton(
Illuminate\Contracts\Http\Kernel::class,
App\Http\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Console\Kernel::class,
App\Console\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Debug\ExceptionHandler::class,
App\Exceptions\Handler::class
);
/*
|--------------------------------------------------------------------------
| Return The Application
|--------------------------------------------------------------------------
|
| This script returns the application instance. The instance is given to
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
*/
return $app;

2
bootstrap/cache/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

62
composer.json Normal file
View File

@ -0,0 +1,62 @@
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.75",
"laravel/sanctum": "^2.11",
"laravel/tinker": "^2.5"
},
"require-dev": {
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^5.10",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}

7912
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

235
config/app.php Normal file
View File

@ -0,0 +1,235 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to place the application's name in a notification or
| any other location as required by the application or its packages.
|
*/
'name' => env('APP_NAME', 'Laravel'),
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env" file.
|
*/
'env' => env('APP_ENV', 'production'),
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
'debug' => (bool) env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/
'url' => env('APP_URL', 'http://localhost'),
'asset_url' => env('ASSET_URL', null),
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box.
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/
'locale' => 'en',
/*
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
|
| The fallback locale determines the locale to use when the current one
| is not available. You may change the value to correspond to any of
| the language folders that are provided through your application.
|
*/
'fallback_locale' => 'en',
/*
|--------------------------------------------------------------------------
| Faker Locale
|--------------------------------------------------------------------------
|
| This locale will be used by the Faker PHP library when generating fake
| data for your database seeds. For example, this will be used to get
| localized telephone numbers, street address information and more.
|
*/
'faker_locale' => 'en_US',
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
|
*/
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => [
/*
* Laravel Framework Service Providers...
*/
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Database\DatabaseServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
Illuminate\Notifications\NotificationServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
Illuminate\Redis\RedisServiceProvider::class,
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
/*
* Package Service Providers...
*/
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
],
/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/
'aliases' => [
'App' => Illuminate\Support\Facades\App::class,
'Arr' => Illuminate\Support\Arr::class,
'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Auth' => Illuminate\Support\Facades\Auth::class,
'Blade' => Illuminate\Support\Facades\Blade::class,
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
'Bus' => Illuminate\Support\Facades\Bus::class,
'Cache' => Illuminate\Support\Facades\Cache::class,
'Config' => Illuminate\Support\Facades\Config::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class,
'Crypt' => Illuminate\Support\Facades\Crypt::class,
'Date' => Illuminate\Support\Facades\Date::class,
'DB' => Illuminate\Support\Facades\DB::class,
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
'Event' => Illuminate\Support\Facades\Event::class,
'File' => Illuminate\Support\Facades\File::class,
'Gate' => Illuminate\Support\Facades\Gate::class,
'Hash' => Illuminate\Support\Facades\Hash::class,
'Http' => Illuminate\Support\Facades\Http::class,
'Js' => Illuminate\Support\Js::class,
'Lang' => Illuminate\Support\Facades\Lang::class,
'Log' => Illuminate\Support\Facades\Log::class,
'Mail' => Illuminate\Support\Facades\Mail::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class,
'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class,
// 'Redis' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'Str' => Illuminate\Support\Str::class,
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
],
];

111
config/auth.php Normal file
View File

@ -0,0 +1,111 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session"
|
*/
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that each reset token will be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'expire' => 60,
'throttle' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the amount of seconds before a password confirmation
| times out and the user is prompted to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/
'password_timeout' => 10800,
];

64
config/broadcasting.php Normal file
View File

@ -0,0 +1,64 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "pusher", "ably", "redis", "log", "null"
|
*/
'default' => env('BROADCAST_DRIVER', 'null'),
/*
|--------------------------------------------------------------------------
| Broadcast Connections
|--------------------------------------------------------------------------
|
| Here you may define all of the broadcast connections that will be used
| to broadcast events to other systems or over websockets. Samples of
| each available type of connection are provided inside this array.
|
*/
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'useTLS' => true,
],
],
'ably' => [
'driver' => 'ably',
'key' => env('ABLY_KEY'),
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];

110
config/cache.php Normal file
View File

@ -0,0 +1,110 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
*/
'default' => env('CACHE_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
| Cache Stores
|--------------------------------------------------------------------------
|
| Here you may define all of the cache "stores" for your application as
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
| Supported drivers: "apc", "array", "database", "file",
| "memcached", "redis", "dynamodb", "octane", "null"
|
*/
'stores' => [
'apc' => [
'driver' => 'apc',
],
'array' => [
'driver' => 'array',
'serialize' => false,
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'connection' => null,
'lock_connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'cache',
'lock_connection' => 'default',
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],
'octane' => [
'driver' => 'octane',
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing a RAM based store such as APC or Memcached, there might
| be other applications utilizing the same cache. So, we'll specify a
| value to get prefixed to all our keys so we can avoid collisions.
|
*/
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
];

34
config/cors.php Normal file
View File

@ -0,0 +1,34 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for cross-origin resource sharing
| or "CORS". This determines what cross-origin operations may execute
| in web browsers. You are free to adjust these settings as needed.
|
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
*/
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];

147
config/database.php Normal file
View File

@ -0,0 +1,147 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
|
|
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
'schema' => 'public',
'sslmode' => 'prefer',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'migrations' => 'migrations',
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer body of commands than a typical key-value system
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_DB', '0'),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_CACHE_DB', '1'),
],
],
];

73
config/filesystems.php Normal file
View File

@ -0,0 +1,73 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application. Just store away!
|
*/
'default' => env('FILESYSTEM_DRIVER', 'local'),
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Here you may configure as many filesystem "disks" as you wish, and you
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
],
],
/*
|--------------------------------------------------------------------------
| Symbolic Links
|--------------------------------------------------------------------------
|
| Here you may configure the symbolic links that will be created when the
| `storage:link` Artisan command is executed. The array keys should be
| the locations of the links and the values should be their targets.
|
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
];

52
config/hashing.php Normal file
View File

@ -0,0 +1,52 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Hash Driver
|--------------------------------------------------------------------------
|
| This option controls the default hash driver that will be used to hash
| passwords for your application. By default, the bcrypt algorithm is
| used; however, you remain free to modify this option if you wish.
|
| Supported: "bcrypt", "argon", "argon2id"
|
*/
'driver' => 'bcrypt',
/*
|--------------------------------------------------------------------------
| Bcrypt Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Bcrypt algorithm. This will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 10),
],
/*
|--------------------------------------------------------------------------
| Argon Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Argon algorithm. These will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'argon' => [
'memory' => 65536,
'threads' => 1,
'time' => 4,
],
];

118
config/logging.php Normal file
View File

@ -0,0 +1,118 @@
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
| messages to the logs. The name specified in this option should match
| one of the channels defined in the "channels" configuration array.
|
*/
'default' => env('LOG_CHANNEL', 'stack'),
/*
|--------------------------------------------------------------------------
| Deprecations Log Channel
|--------------------------------------------------------------------------
|
| This option controls the log channel that should be used to log warnings
| regarding deprecated PHP and library features. This allows you to get
| your application ready for upcoming major versions of dependencies.
|
*/
'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Drivers: "single", "daily", "slack", "syslog",
| "errorlog", "monolog",
| "custom", "stack"
|
*/
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
'ignore_exceptions' => false,
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => 14,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
'emoji' => ':boom:',
'level' => env('LOG_LEVEL', 'critical'),
],
'papertrail' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => SyslogUdpHandler::class,
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
],
],
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'formatter' => env('LOG_STDERR_FORMATTER'),
'with' => [
'stream' => 'php://stderr',
],
],
'syslog' => [
'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'),
],
'errorlog' => [
'driver' => 'errorlog',
'level' => env('LOG_LEVEL', 'debug'),
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,
],
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
],
];

118
config/mail.php Normal file
View File

@ -0,0 +1,118 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your application. Alternative mailers may be setup
| and used as needed; however, this mailer will be used by default.
|
*/
'default' => env('MAIL_MAILER', 'smtp'),
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers to be used while
| sending an e-mail. You will specify which one you are using for your
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
| "postmark", "log", "array", "failover"
|
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'auth_mode' => null,
],
'ses' => [
'transport' => 'ses',
],
'mailgun' => [
'transport' => 'mailgun',
],
'postmark' => [
'transport' => 'postmark',
],
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'),
],
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
],
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
];

93
config/queue.php Normal file
View File

@ -0,0 +1,93 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
| syntax for every one. Here you may define a default connection.
|
*/
'default' => env('QUEUE_CONNECTION', 'sync'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection information for each server that
| is used by your application. A default configuration has been added
| for each back-end shipped with Laravel. You are free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
'after_commit' => false,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
'block_for' => 0,
'after_commit' => false,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => false,
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'block_for' => null,
'after_commit' => false,
],
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
],
];

65
config/sanctum.php Normal file
View File

@ -0,0 +1,65 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. Typically, these should include your local
| and production domains which access your API via a frontend SPA.
|
*/
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
))),
/*
|--------------------------------------------------------------------------
| Sanctum Guards
|--------------------------------------------------------------------------
|
| This array contains the authentication guards that will be checked when
| Sanctum is trying to authenticate a request. If none of these guards
| are able to authenticate the request, Sanctum will use the bearer
| token that's present on an incoming request for authentication.
|
*/
'guard' => ['web'],
/*
|--------------------------------------------------------------------------
| Expiration Minutes
|--------------------------------------------------------------------------
|
| This value controls the number of minutes until an issued token will be
| considered expired. If this value is null, personal access tokens do
| not expire. This won't tweak the lifetime of first-party sessions.
|
*/
'expiration' => null,
/*
|--------------------------------------------------------------------------
| Sanctum Middleware
|--------------------------------------------------------------------------
|
| When authenticating your first-party SPA with Sanctum you may need to
| customize some of the middleware Sanctum uses while processing the
| request. You may change the middleware listed below as required.
|
*/
'middleware' => [
'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
],
];

33
config/services.php Normal file
View File

@ -0,0 +1,33 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
];

201
config/session.php Normal file
View File

@ -0,0 +1,201 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "dynamodb", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/
'lifetime' => env('SESSION_LIFETIME', 120),
'expire_on_close' => false,
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it is stored. All encryption will be run
| automatically by Laravel and you can use the Session like normal.
|
*/
'encrypt' => false,
/*
|--------------------------------------------------------------------------
| Session File Location
|--------------------------------------------------------------------------
|
| When using the native session driver, we need a location where session
| files may be stored. A default has been set for you but a different
| location may be specified. This is only needed for file sessions.
|
*/
'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------
| Session Database Connection
|--------------------------------------------------------------------------
|
| When using the "database" or "redis" session drivers, you may specify a
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
'connection' => env('SESSION_CONNECTION', null),
/*
|--------------------------------------------------------------------------
| Session Database Table
|--------------------------------------------------------------------------
|
| When using the "database" session driver, you may specify the table we
| should use to manage the sessions. Of course, a sensible default is
| provided for you; however, you are free to change this as needed.
|
*/
'table' => 'sessions',
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| While using one of the framework's cache driven session backends you may
| list a cache store that should be used for these sessions. This value
| must match with one of the application's configured cache "stores".
|
| Affects: "apc", "dynamodb", "memcached", "redis"
|
*/
'store' => env('SESSION_STORE', null),
/*
|--------------------------------------------------------------------------
| Session Sweeping Lottery
|--------------------------------------------------------------------------
|
| Some session drivers must manually sweep their storage location to get
| rid of old sessions from storage. Here are the chances that it will
| happen on a given request. By default, the odds are 2 out of 100.
|
*/
'lottery' => [2, 100],
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the cookie used to identify a session
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
'cookie' => env(
'SESSION_COOKIE',
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
),
/*
|--------------------------------------------------------------------------
| Session Cookie Path
|--------------------------------------------------------------------------
|
| The session cookie path determines the path for which the cookie will
| be regarded as available. Typically, this will be the root path of
| your application but you are free to change this when necessary.
|
*/
'path' => '/',
/*
|--------------------------------------------------------------------------
| Session Cookie Domain
|--------------------------------------------------------------------------
|
| Here you may change the domain of the cookie used to identify a session
| in your application. This will determine which domains the cookie is
| available to in your application. A sensible default has been set.
|
*/
'domain' => env('SESSION_DOMAIN', null),
/*
|--------------------------------------------------------------------------
| HTTPS Only Cookies
|--------------------------------------------------------------------------
|
| By setting this option to true, session cookies will only be sent back
| to the server if the browser has a HTTPS connection. This will keep
| the cookie from being sent to you when it can't be done securely.
|
*/
'secure' => env('SESSION_SECURE_COOKIE'),
/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/
'http_only' => true,
/*
|--------------------------------------------------------------------------
| Same-Site Cookies
|--------------------------------------------------------------------------
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| will set this value to "lax" since this is a secure default value.
|
| Supported: "lax", "strict", "none", null
|
*/
'same_site' => 'lax',
];

36
config/view.php Normal file
View File

@ -0,0 +1,36 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be checked for your views. Of course
| the usual Laravel view path has already been registered for you.
|
*/
'paths' => [
resource_path('views'),
],
/*
|--------------------------------------------------------------------------
| Compiled View Path
|--------------------------------------------------------------------------
|
| This option determines where all the compiled Blade templates will be
| stored for your application. Typically, this is within the storage
| directory. However, as usual, you are free to change this value.
|
*/
'compiled' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('framework/views'))
),
];

1
database/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.sqlite*

View File

@ -0,0 +1,39 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->name(),
'email' => $this->faker->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
];
}
/**
* Indicate that the model's email address should be unverified.
*
* @return \Illuminate\Database\Eloquent\Factories\Factory
*/
public function unverified()
{
return $this->state(function (array $attributes) {
return [
'email_verified_at' => null,
];
});
}
}

View File

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('username')->unique();
$table->string('password');
$table->string('role');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('users');
}
}

View File

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateContactsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contacts', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('href');
$table->integer('status');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('contacts');
}
}

View File

@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMomosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('momos', function (Blueprint $table) {
$table->id();
$table->string('phone');
$table->string('token');
$table->string('password');
$table->string('min');
$table->string('max');
$table->integer('times');
$table->integer('amount');
$table->integer('status');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('momos');
}
}

View File

@ -0,0 +1,18 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(10)->create();
}
}

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"
},
"devDependencies": {
"axios": "^0.21",
"laravel-mix": "^6.0.6",
"lodash": "^4.17.19",
"postcss": "^8.1.14"
}
}

31
phpunit.xml Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<!-- <server name="DB_CONNECTION" value="sqlite"/> -->
<!-- <server name="DB_DATABASE" value=":memory:"/> -->
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
</php>
</phpunit>

21
public/.htaccess Normal file
View File

@ -0,0 +1,21 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

0
public/favicon.ico Normal file
View File

55
public/index.php Normal file
View File

@ -0,0 +1,55 @@
<?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Check If The Application Is Under Maintenance
|--------------------------------------------------------------------------
|
| If the application is in maintenance / demo mode via the "down" command
| we will load this file so that any pre-rendered content can be shown
| instead of starting the framework, which could cause an exception.
|
*/
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);

2
public/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow:

File diff suppressed because one or more lines are too long

7028
public/themes/css/bootstrap.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
.output{text-align:center;color:#6d2f0f}.cursor::after{content:'|';display:inline-block;animation-name:blink;animation-duration:.3s;animation-iteration-count:infinite}@keyframes blink{0%{opacity:1}49%{opacity:1}50%{opacity:0}100%{opacity:0}}.planePath{stroke:#09a7da;stroke-width:.1%;stroke-width:.5%;stroke-dasharray:1% 2%;stroke-linecap:round;fill:none}.fil1{fill:#09a7da}.fil2{fill:#006baa}.fil4{fill:#006baa}.fil3{fill:#006baa}.barmenu{min-width:93px}@media(min-width:768px){.container-md{width:700px}}.lds-facebook{display:inline-block;position:relative;width:20px;height:16px}.lds-facebook div{display:inline-block;position:absolute;left:2px;width:4px;background:#fff;animation:lds-facebook 1.2s cubic-bezier(0,.5,.5,1) infinite}.lds-facebook div:nth-child(1){left:2px;animation-delay:-.24s}.lds-facebook div:nth-child(2){left:8px;animation-delay:-.12s}.lds-facebook div:nth-child(3){left:14px;animation-delay:0}.lds-facebook.lds-primary div{background:#f0ad4e}@keyframes lds-facebook{0%{top:2px;height:16px}50%,100%{top:6px;height:8px}}.game,.bot{display:none}.game.active,.bot.active{display:block}button.cl-button{padding:10px 24px;width:140px;margin:5px;border-style:solid;border-width:2px;border-radius:12px;background-color:#fff;text-transform:uppercase;font-weight:700;transition-duration:.5s}.cl-button.button-chan{border-color:#f0ad4e;background-color:#f0ad4e;color:#fff}.cl-button.button-le{border-color:#5bc0de;background-color:#5bc0de;color:#fff}.cl-button.button-tai{border-color:#5cb85c;background-color:#5cb85c;color:#fff}.cl-button.button-xiu{border-color:#d9534f;background-color:#d9534f;color:#fff}.cl-button:disabled,.cl-button[disabled]{opacity:.8}.button-chan:hover:enabled{border-color:#c0822b}.button-le:hover:enabled{background-color:#3298b8}.button-tai:hover:enabled{border-color:#488f48}.button-xiu:hover:enabled{background-color:#ad423f}@media(min-width:768px){.box-cl{display:flex}.box-cl .cl{flex:1}.box-cl .panel{height:100%}}.box-cl .panel{margin-bottom:0}.box-cl .panel-body{padding-bottom:0}.dot-text-chan{color:#f0ad4e}.dot-text-le{color:#5bc0de}.dot-text-tai{color:#5cb85c}.dot-text-xiu{color:#d9534f}.badge-success{background-color:#5cb85c}.badge-danger{background-color:#d9534f}.badge-warning{background-color:#f0ad4e}.badge-info{background-color:#5bc0de}.badge-primary{background-color:#ad4105}.code{white-space: nowrap!important;}

File diff suppressed because one or more lines are too long

286
public/themes/css/wheel.css Normal file
View File

@ -0,0 +1,286 @@
[game-tab="wheel"] {
margin-top: 0.5rem;
color: #155724;
background-color: #7ee2ff;
border-color: #ad4105;
}
.luckywheel {
width: 75%;
position: relative;
margin: 0 auto;
}
.luckywheel .luckywheel-background {
width: 100%;
}
.luckywheel .luckywheel-background img {
width: 100%;
}
.luckywheel #btn-spin {
position: absolute;
display: block;
width: 104px;
z-index: 5;
top: calc(50% - 65px);
left: calc(50% - 53px);
}
.luckywheel-footer {
text-align: center;
}
.luckywheel-footer .luckywheel-turn {
display: inline-block;
}
#history-container {
width: 100%;
display: block;
}
.cms-block {
flex-direction: column;
}
.cms-block.right-column > div {
text-align: center;
margin-bottom: 10px;
}
.btn-image {
width: 250px;
}
@media only screen and (max-width: 760px) {
.btn-image {
width: 200px;
}
.luckywheel {
width: 100%;
}
.luckywheel #btn-spin {
width: 73px;
top: calc(50% - 45px);
left: calc(50% - 40px);
}
}
.overlay {
/* Height & width depends on how you want to reveal the overlay (see JS below) */
height: 100%;
width: 0;
position: fixed;
/* Stay in place */
z-index: 1;
/* Sit on top */
left: 0;
top: 0;
background-color: rgb(0, 0, 0);
/* Black fallback color */
background-color: rgba(0, 0, 0, 0.9);
/* Black w/opacity */
overflow-x: hidden;
/* Disable horizontal scroll */
transition: 0.5s;
/* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
/* Position the content inside the overlay */
.overlay-content {
position: relative;
top: 25%;
/* 25% from the top */
width: 100%;
/* 100% width */
text-align: center;
/* Centered text/links */
margin-top: 30px;
/* 30px top margin to avoid conflict with the close button on smaller screens */
}
/* The navigation links inside the overlay */
.overlay a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #818181;
display: block;
/* Display block instead of inline */
transition: 0.3s;
/* Transition effects on hover (color) */
}
/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
color: #f1f1f1;
}
/* Position the close button (top right corner) */
.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
.overlay a {
font-size: 20px;
}
.overlay .closebtn {
font-size: 40px;
top: 15px;
right: 35px;
}
}
.wrapper {
height: 100%;
}
.gift {
background: url("/lib/imgs/wheel/bg-gift.png");
background-size: contain;
background-repeat: no-repeat;
padding-top: 100px;
}
.wrapper-gift {
padding-top: 50px;
}
.wrapper-gift .title {
color: #fff;
font-weight: bold;
font-size: 30px;
}
.wrapper-gift .tips {
color: #fff;
font-style: italic;
text-align: center;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.top-right {
position: absolute;
right: 10px;
top: 18px;
}
.content {
text-align: center;
}
.title {
font-size: 44px;
}
.links > a {
color: #636b6f;
padding: 0 25px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.1rem;
text-decoration: none;
text-transform: uppercase;
}
.m-b-md {
margin-bottom: 30px;
}
.threed {
font-family: "Dancing Script";
text-align: center;
font-weight: 400;
font-size: 3em;
color: white;
-webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
text-shadow: -3px 0 rgba(0, 255, 255, 0.4), 3px 0 rgba(255, 0, 255, 0.4);
padding-top: 50px;
}
. .the_wheel {
margin: auto;
width: 100%;
}
#canvas {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-top: 50px;
width: 80%;
}
.spinner {
background-color: transparent;
border-radius: 26px !important;
background-image: url(/upload/files/btn-wheel-2.png);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 25%;
transform: translate(150%, 0%);
}
div.power_controls {
border: none;
background-image: url(/upload/files/wheel-border-1.png);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
position: absolute;
margin-left: auto;
margin-right: auto;
top: 50%;
left: 50%;
transform: translate(-51%, -43%);
width: 100%;
height: 130%;
cursor: pointer;
}
div.power_controls a {
display: block;
width: 100%;
height: 100%;
}
div.power_controls a:hover {
text-decoration: none;
}
#rewardModal .model-content .model-body .reward-list ul {
list-style: none;
}
.arrow-down {
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%, 0);
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 30px solid #f00;
}

759
public/themes/js/bootstrap.min.js vendored Normal file
View File

@ -0,0 +1,759 @@
/*!
* Bootstrap v3.1.1 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
if ("undefined" == typeof jQuery) throw new Error("Bootstrap's JavaScript requires jQuery"); + function(a) {
"use strict";
function b() {
var a = document.createElement("bootstrap"),
b = {
WebkitTransition: "webkitTransitionEnd",
MozTransition: "transitionend",
OTransition: "oTransitionEnd otransitionend",
transition: "transitionend"
};
for (var c in b)
if (void 0 !== a.style[c]) return {
end: b[c]
};
return !1
}
a.fn.emulateTransitionEnd = function(b) {
var c = !1,
d = this;
a(this).one(a.support.transition.end, function() {
c = !0
});
var e = function() {
c || a(d).trigger(a.support.transition.end)
};
return setTimeout(e, b), this
}, a(function() {
a.support.transition = b()
})
}(jQuery), + function(a) {
"use strict";
var b = '[data-dismiss="alert"]',
c = function(c) {
a(c).on("click", b, this.close)
};
c.prototype.close = function(b) {
function c() {
f.trigger("closed.bs.alert").remove()
}
var d = a(this),
e = d.attr("data-target");
e || (e = d.attr("href"), e = e && e.replace(/.*(?=#[^\s]*$)/, ""));
var f = a(e);
b && b.preventDefault(), f.length || (f = d.hasClass("alert") ? d : d.parent()), f.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one(a.support.transition.end, c).emulateTransitionEnd(150) : c())
};
var d = a.fn.alert;
a.fn.alert = function(b) {
return this.each(function() {
var d = a(this),
e = d.data("bs.alert");
e || d.data("bs.alert", e = new c(this)), "string" == typeof b && e[b].call(d)
})
}, a.fn.alert.Constructor = c, a.fn.alert.noConflict = function() {
return a.fn.alert = d, this
}, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
}(jQuery), + function(a) {
"use strict";
var b = function(c, d) {
this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.isLoading = !1
};
b.DEFAULTS = {
loadingText: "loading..."
}, b.prototype.setState = function(b) {
var c = "disabled",
d = this.$element,
e = d.is("input") ? "val" : "html",
f = d.data();
b += "Text", f.resetText || d.data("resetText", d[e]()), d[e](f[b] || this.options[b]), setTimeout(a.proxy(function() {
"loadingText" == b ? (this.isLoading = !0, d.addClass(c).attr(c, c)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c))
}, this), 0)
}, b.prototype.toggle = function() {
var a = !0,
b = this.$element.closest('[data-toggle="buttons"]');
if (b.length) {
var c = this.$element.find("input");
"radio" == c.prop("type") && (c.prop("checked") && this.$element.hasClass("active") ? a = !1 : b.find(".active").removeClass("active")), a && c.prop("checked", !this.$element.hasClass("active")).trigger("change")
}
a && this.$element.toggleClass("active")
};
var c = a.fn.button;
a.fn.button = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.button"),
f = "object" == typeof c && c;
e || d.data("bs.button", e = new b(this, f)), "toggle" == c ? e.toggle() : c && e.setState(c)
})
}, a.fn.button.Constructor = b, a.fn.button.noConflict = function() {
return a.fn.button = c, this
}, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function(b) {
var c = a(b.target);
c.hasClass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventDefault()
})
}(jQuery), + function(a) {
"use strict";
var b = function(b, c) {
this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, "hover" == this.options.pause && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
};
b.DEFAULTS = {
interval: 5e3,
pause: "hover",
wrap: !0
}, b.prototype.cycle = function(b) {
return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
}, b.prototype.getActiveIndex = function() {
return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
}, b.prototype.to = function(b) {
var c = this,
d = this.getActiveIndex();
return b > this.$items.length - 1 || 0 > b ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function() {
c.to(b)
}) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
}, b.prototype.pause = function(b) {
return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
}, b.prototype.next = function() {
return this.sliding ? void 0 : this.slide("next")
}, b.prototype.prev = function() {
return this.sliding ? void 0 : this.slide("prev")
}, b.prototype.slide = function(b, c) {
var d = this.$element.find(".item.active"),
e = c || d[b](),
f = this.interval,
g = "next" == b ? "left" : "right",
h = "next" == b ? "first" : "last",
i = this;
if (!e.length) {
if (!this.options.wrap) return;
e = this.$element.find(".item")[h]()
}
if (e.hasClass("active")) return this.sliding = !1;
var j = a.Event("slide.bs.carousel", {
relatedTarget: e[0],
direction: g
});
return this.$element.trigger(j), j.isDefaultPrevented() ? void 0 : (this.sliding = !0, f && this.pause(), this.$indicators.length && (this.$indicators.find(".active").removeClass("active"), this.$element.one("slid.bs.carousel", function() {
var b = a(i.$indicators.children()[i.getActiveIndex()]);
b && b.addClass("active")
})), a.support.transition && this.$element.hasClass("slide") ? (e.addClass(b), e[0].offsetWidth, d.addClass(g), e.addClass(g), d.one(a.support.transition.end, function() {
e.removeClass([b, g].join(" ")).addClass("active"), d.removeClass(["active", g].join(" ")), i.sliding = !1, setTimeout(function() {
i.$element.trigger("slid.bs.carousel")
}, 0)
}).emulateTransitionEnd(1e3 * d.css("transition-duration").slice(0, -1))) : (d.removeClass("active"), e.addClass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")), f && this.cycle(), this)
};
var c = a.fn.carousel;
a.fn.carousel = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.carousel"),
f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c),
g = "string" == typeof c ? c : f.slide;
e || d.data("bs.carousel", e = new b(this, f)), "number" == typeof c ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
})
}, a.fn.carousel.Constructor = b, a.fn.carousel.noConflict = function() {
return a.fn.carousel = c, this
}, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function(b) {
var c, d = a(this),
e = a(d.attr("data-target") || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, "")),
f = a.extend({}, e.data(), d.data()),
g = d.attr("data-slide-to");
g && (f.interval = !1), e.carousel(f), (g = d.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventDefault()
}), a(window).on("load", function() {
a('[data-ride="carousel"]').each(function() {
var b = a(this);
b.carousel(b.data())
})
})
}(jQuery), + function(a) {
"use strict";
var b = function(c, d) {
this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
};
b.DEFAULTS = {
toggle: !0
}, b.prototype.dimension = function() {
var a = this.$element.hasClass("width");
return a ? "width" : "height"
}, b.prototype.show = function() {
if (!this.transitioning && !this.$element.hasClass("in")) {
var b = a.Event("show.bs.collapse");
if (this.$element.trigger(b), !b.isDefaultPrevented()) {
var c = this.$parent && this.$parent.find("> .panel > .in");
if (c && c.length) {
var d = c.data("bs.collapse");
if (d && d.transitioning) return;
c.collapse("hide"), d || c.data("bs.collapse", null)
}
var e = this.dimension();
this.$element.removeClass("collapse").addClass("collapsing")[e](0), this.transitioning = 1;
var f = function() {
this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
};
if (!a.support.transition) return f.call(this);
var g = a.camelCase(["scroll", e].join("-"));
this.$element.one(a.support.transition.end, a.proxy(f, this)).emulateTransitionEnd(350)[e](this.$element[0][g])
}
}
}, b.prototype.hide = function() {
if (!this.transitioning && this.$element.hasClass("in")) {
var b = a.Event("hide.bs.collapse");
if (this.$element.trigger(b), !b.isDefaultPrevented()) {
var c = this.dimension();
this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"), this.transitioning = 1;
var d = function() {
this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")
};
return a.support.transition ? void this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulateTransitionEnd(350) : d.call(this)
}
}
}, b.prototype.toggle = function() {
this[this.$element.hasClass("in") ? "hide" : "show"]()
};
var c = a.fn.collapse;
a.fn.collapse = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.collapse"),
f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c);
!e && f.toggle && "show" == c && (c = !c), e || d.data("bs.collapse", e = new b(this, f)), "string" == typeof c && e[c]()
})
}, a.fn.collapse.Constructor = b, a.fn.collapse.noConflict = function() {
return a.fn.collapse = c, this
}, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function(b) {
var c, d = a(this),
e = d.attr("data-target") || b.preventDefault() || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""),
f = a(e),
g = f.data("bs.collapse"),
h = g ? "toggle" : d.data(),
i = d.attr("data-parent"),
j = i && a(i);
g && g.transitioning || (j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(d).addClass("collapsed"), d[f.hasClass("in") ? "addClass" : "removeClass"]("collapsed")), f.collapse(h)
})
}(jQuery), + function(a) {
"use strict";
function b(b) {
a(d).remove(), a(e).each(function() {
var d = c(a(this)),
e = {
relatedTarget: this
};
d.hasClass("open") && (d.trigger(b = a.Event("hide.bs.dropdown", e)), b.isDefaultPrevented() || d.removeClass("open").trigger("hidden.bs.dropdown", e))
})
}
function c(b) {
var c = b.attr("data-target");
c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
var d = c && a(c);
return d && d.length ? d : b.parent()
}
var d = ".dropdown-backdrop",
e = "[data-toggle=dropdown]",
f = function(b) {
a(b).on("click.bs.dropdown", this.toggle)
};
f.prototype.toggle = function(d) {
var e = a(this);
if (!e.is(".disabled, :disabled")) {
var f = c(e),
g = f.hasClass("open");
if (b(), !g) {
"ontouchstart" in document.documentElement && !f.closest(".navbar-nav").length && a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click", b);
var h = {
relatedTarget: this
};
if (f.trigger(d = a.Event("show.bs.dropdown", h)), d.isDefaultPrevented()) return;
f.toggleClass("open").trigger("shown.bs.dropdown", h), e.focus()
}
return !1
}
}, f.prototype.keydown = function(b) {
if (/(38|40|27)/.test(b.keyCode)) {
var d = a(this);
if (b.preventDefault(), b.stopPropagation(), !d.is(".disabled, :disabled")) {
var f = c(d),
g = f.hasClass("open");
if (!g || g && 27 == b.keyCode) return 27 == b.which && f.find(e).focus(), d.click();
var h = " li:not(.divider):visible a",
i = f.find("[role=menu]" + h + ", [role=listbox]" + h);
if (i.length) {
var j = i.index(i.filter(":focus"));
38 == b.keyCode && j > 0 && j--, 40 == b.keyCode && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).focus()
}
}
}
};
var g = a.fn.dropdown;
a.fn.dropdown = function(b) {
return this.each(function() {
var c = a(this),
d = c.data("bs.dropdown");
d || c.data("bs.dropdown", d = new f(this)), "string" == typeof b && d[b].call(c)
})
}, a.fn.dropdown.Constructor = f, a.fn.dropdown.noConflict = function() {
return a.fn.dropdown = g, this
}, a(document).on("click.bs.dropdown.data-api", b).on("click.bs.dropdown.data-api", ".dropdown form", function(a) {
a.stopPropagation()
}).on("click.bs.dropdown.data-api", e, f.prototype.toggle).on("keydown.bs.dropdown.data-api", e + ", [role=menu], [role=listbox]", f.prototype.keydown)
}(jQuery), + function(a) {
"use strict";
var b = function(b, c) {
this.options = c, this.$element = a(b), this.$backdrop = this.isShown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function() {
this.$element.trigger("loaded.bs.modal")
}, this))
};
b.DEFAULTS = {
backdrop: !0,
keyboard: !0,
show: !0
}, b.prototype.toggle = function(a) {
return this[this.isShown ? "hide" : "show"](a)
}, b.prototype.show = function(b) {
var c = this,
d = a.Event("show.bs.modal", {
relatedTarget: b
});
this.$element.trigger(d), this.isShown || d.isDefaultPrevented() || (this.isShown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function() {
var d = a.support.transition && c.$element.hasClass("fade");
c.$element.parent().length || c.$element.appendTo(document.body), c.$element.show().scrollTop(0), d && c.$element[0].offsetWidth, c.$element.addClass("in").attr("aria-hidden", !1), c.enforceFocus();
var e = a.Event("shown.bs.modal", {
relatedTarget: b
});
d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function() {
c.$element.focus().trigger(e)
}).emulateTransitionEnd(300) : c.$element.focus().trigger(e)
}))
}, b.prototype.hide = function(b) {
b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hideModal, this)).emulateTransitionEnd(300) : this.hideModal())
}, b.prototype.enforceFocus = function() {
a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function(a) {
this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.focus()
}, this))
}, b.prototype.escape = function() {
this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function(a) {
27 == a.which && this.hide()
}, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal")
}, b.prototype.hideModal = function() {
var a = this;
this.$element.hide(), this.backdrop(function() {
a.removeBackdrop(), a.$element.trigger("hidden.bs.modal")
})
}, b.prototype.removeBackdrop = function() {
this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
}, b.prototype.backdrop = function(b) {
var c = this.$element.hasClass("fade") ? "fade" : "";
if (this.isShown && this.options.backdrop) {
var d = a.support.transition && c;
if (this.$backdrop = a('<div class="modal-backdrop ' + c + '" />').appendTo(document.body), this.$element.on("click.dismiss.bs.modal", a.proxy(function(a) {
a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this))
}, this)), d && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b) return;
d ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()
} else !this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()) : b && b()
};
var c = a.fn.modal;
a.fn.modal = function(c, d) {
return this.each(function() {
var e = a(this),
f = e.data("bs.modal"),
g = a.extend({}, b.DEFAULTS, e.data(), "object" == typeof c && c);
f || e.data("bs.modal", f = new b(this, g)), "string" == typeof c ? f[c](d) : g.show && f.show(d)
})
}, a.fn.modal.Constructor = b, a.fn.modal.noConflict = function() {
return a.fn.modal = c, this
}, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(b) {
var c = a(this),
d = c.attr("href"),
e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")),
f = e.data("bs.modal") ? "toggle" : a.extend({
remote: !/#/.test(d) && d
}, e.data(), c.data());
c.is("a") && b.preventDefault(), e.modal(f, this).one("hide", function() {
c.is(":visible") && c.focus()
})
}), a(document).on("show.bs.modal", ".modal", function() {
a(document.body).addClass("modal-open")
}).on("hidden.bs.modal", ".modal", function() {
a(document.body).removeClass("modal-open")
})
}(jQuery), + function(a) {
"use strict";
var b = function(a, b) {
this.type = this.options = this.enabled = this.timeout = this.hoverState = this.$element = null, this.init("tooltip", a, b)
};
b.DEFAULTS = {
animation: !0,
placement: "top",
selector: !1,
template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
trigger: "hover focus",
title: "",
delay: 0,
html: !1,
container: !1
}, b.prototype.init = function(b, c, d) {
this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d);
for (var e = this.options.trigger.split(" "), f = e.length; f--;) {
var g = e[f];
if ("click" == g) this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this));
else if ("manual" != g) {
var h = "hover" == g ? "mouseenter" : "focusin",
i = "hover" == g ? "mouseleave" : "focusout";
this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
}
}
this.options.selector ? this._options = a.extend({}, this.options, {
trigger: "manual",
selector: ""
}) : this.fixTitle()
}, b.prototype.getDefaults = function() {
return b.DEFAULTS
}, b.prototype.getOptions = function(b) {
return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && "number" == typeof b.delay && (b.delay = {
show: b.delay,
hide: b.delay
}), b
}, b.prototype.getDelegateOptions = function() {
var b = {},
c = this.getDefaults();
return this._options && a.each(this._options, function(a, d) {
c[a] != d && (b[a] = d)
}), b
}, b.prototype.enter = function(b) {
var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
return clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? void(c.timeout = setTimeout(function() {
"in" == c.hoverState && c.show()
}, c.options.delay.show)) : c.show()
}, b.prototype.leave = function(b) {
var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
return clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? void(c.timeout = setTimeout(function() {
"out" == c.hoverState && c.hide()
}, c.options.delay.hide)) : c.hide()
}, b.prototype.show = function() {
var b = a.Event("show.bs." + this.type);
if (this.hasContent() && this.enabled) {
if (this.$element.trigger(b), b.isDefaultPrevented()) return;
var c = this,
d = this.tip();
this.setContent(), this.options.animation && d.addClass("fade");
var e = "function" == typeof this.options.placement ? this.options.placement.call(this, d[0], this.$element[0]) : this.options.placement,
f = /\s?auto?\s?/i,
g = f.test(e);
g && (e = e.replace(f, "") || "top"), d.detach().css({
top: 0,
left: 0,
display: "block"
}).addClass(e), this.options.container ? d.appendTo(this.options.container) : d.insertAfter(this.$element);
var h = this.getPosition(),
i = d[0].offsetWidth,
j = d[0].offsetHeight;
if (g) {
var k = this.$element.parent(),
l = e,
m = document.documentElement.scrollTop || document.body.scrollTop,
n = "body" == this.options.container ? window.innerWidth : k.outerWidth(),
o = "body" == this.options.container ? window.innerHeight : k.outerHeight(),
p = "body" == this.options.container ? 0 : k.offset().left;
e = "bottom" == e && h.top + h.height + j - m > o ? "top" : "top" == e && h.top - m - j < 0 ? "bottom" : "right" == e && h.right + i > n ? "left" : "left" == e && h.left - i < p ? "right" : e, d.removeClass(l).addClass(e)
}
var q = this.getCalculatedOffset(e, h, i, j);
this.applyPlacement(q, e), this.hoverState = null;
var r = function() {
c.$element.trigger("shown.bs." + c.type)
};
a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, r).emulateTransitionEnd(150) : r()
}
}, b.prototype.applyPlacement = function(b, c) {
var d, e = this.tip(),
f = e[0].offsetWidth,
g = e[0].offsetHeight,
h = parseInt(e.css("margin-top"), 10),
i = parseInt(e.css("margin-left"), 10);
isNaN(h) && (h = 0), isNaN(i) && (i = 0), b.top = b.top + h, b.left = b.left + i, a.offset.setOffset(e[0], a.extend({
using: function(a) {
e.css({
top: Math.round(a.top),
left: Math.round(a.left)
})
}
}, b), 0), e.addClass("in");
var j = e[0].offsetWidth,
k = e[0].offsetHeight;
if ("top" == c && k != g && (d = !0, b.top = b.top + g - k), /bottom|top/.test(c)) {
var l = 0;
b.left < 0 && (l = -2 * b.left, b.left = 0, e.offset(b), j = e[0].offsetWidth, k = e[0].offsetHeight), this.replaceArrow(l - f + j, j, "left")
} else this.replaceArrow(k - g, k, "top");
d && e.offset(b)
}, b.prototype.replaceArrow = function(a, b, c) {
this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
}, b.prototype.setContent = function() {
var a = this.tip(),
b = this.getTitle();
a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right")
}, b.prototype.hide = function() {
function b() {
"in" != c.hoverState && d.detach(), c.$element.trigger("hidden.bs." + c.type)
}
var c = this,
d = this.tip(),
e = a.Event("hide.bs." + this.type);
return this.$element.trigger(e), e.isDefaultPrevented() ? void 0 : (d.removeClass("in"), a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, b).emulateTransitionEnd(150) : b(), this.hoverState = null, this)
}, b.prototype.fixTitle = function() {
var a = this.$element;
(a.attr("title") || "string" != typeof a.attr("data-original-title")) && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
}, b.prototype.hasContent = function() {
return this.getTitle()
}, b.prototype.getPosition = function() {
var b = this.$element[0];
return a.extend({}, "function" == typeof b.getBoundingClientRect ? b.getBoundingClientRect() : {
width: b.offsetWidth,
height: b.offsetHeight
}, this.$element.offset())
}, b.prototype.getCalculatedOffset = function(a, b, c, d) {
return "bottom" == a ? {
top: b.top + b.height,
left: b.left + b.width / 2 - c / 2
} : "top" == a ? {
top: b.top - d,
left: b.left + b.width / 2 - c / 2
} : "left" == a ? {
top: b.top + b.height / 2 - d / 2,
left: b.left - c
} : {
top: b.top + b.height / 2 - d / 2,
left: b.left + b.width
}
}, b.prototype.getTitle = function() {
var a, b = this.$element,
c = this.options;
return a = b.attr("data-original-title") || ("function" == typeof c.title ? c.title.call(b[0]) : c.title)
}, b.prototype.tip = function() {
return this.$tip = this.$tip || a(this.options.template)
}, b.prototype.arrow = function() {
return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
}, b.prototype.validate = function() {
this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null)
}, b.prototype.enable = function() {
this.enabled = !0
}, b.prototype.disable = function() {
this.enabled = !1
}, b.prototype.toggleEnabled = function() {
this.enabled = !this.enabled
}, b.prototype.toggle = function(b) {
var c = b ? a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type) : this;
c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
}, b.prototype.destroy = function() {
clearTimeout(this.timeout), this.hide().$element.off("." + this.type).removeData("bs." + this.type)
};
var c = a.fn.tooltip;
a.fn.tooltip = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.tooltip"),
f = "object" == typeof c && c;
(e || "destroy" != c) && (e || d.data("bs.tooltip", e = new b(this, f)), "string" == typeof c && e[c]())
})
}, a.fn.tooltip.Constructor = b, a.fn.tooltip.noConflict = function() {
return a.fn.tooltip = c, this
}
}(jQuery), + function(a) {
"use strict";
var b = function(a, b) {
this.init("popover", a, b)
};
if (!a.fn.tooltip) throw new Error("Popover requires tooltip.js");
b.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
placement: "right",
trigger: "click",
content: "",
template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
}), b.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), b.prototype.constructor = b, b.prototype.getDefaults = function() {
return b.DEFAULTS
}, b.prototype.setContent = function() {
var a = this.tip(),
b = this.getTitle(),
c = this.getContent();
a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? "string" == typeof c ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
}, b.prototype.hasContent = function() {
return this.getTitle() || this.getContent()
}, b.prototype.getContent = function() {
var a = this.$element,
b = this.options;
return a.attr("data-content") || ("function" == typeof b.content ? b.content.call(a[0]) : b.content)
}, b.prototype.arrow = function() {
return this.$arrow = this.$arrow || this.tip().find(".arrow")
}, b.prototype.tip = function() {
return this.$tip || (this.$tip = a(this.options.template)), this.$tip
};
var c = a.fn.popover;
a.fn.popover = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.popover"),
f = "object" == typeof c && c;
(e || "destroy" != c) && (e || d.data("bs.popover", e = new b(this, f)), "string" == typeof c && e[c]())
})
}, a.fn.popover.Constructor = b, a.fn.popover.noConflict = function() {
return a.fn.popover = c, this
}
}(jQuery), + function(a) {
"use strict";
function b(c, d) {
var e, f = a.proxy(this.process, this);
this.$element = a(a(c).is("body") ? window : c), this.$body = a("body"), this.$scrollElement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activeTarget = null, this.refresh(), this.process()
}
b.DEFAULTS = {
offset: 10
}, b.prototype.refresh = function() {
var b = this.$element[0] == window ? "offset" : "position";
this.offsets = a([]), this.targets = a([]); {
var c = this;
this.$body.find(this.selector).map(function() {
var d = a(this),
e = d.data("target") || d.attr("href"),
f = /^#./.test(e) && a(e);
return f && f.length && f.is(":visible") && [
[f[b]().top + (!a.isWindow(c.$scrollElement.get(0)) && c.$scrollElement.scrollTop()), e]
] || null
}).sort(function(a, b) {
return a[0] - b[0]
}).each(function() {
c.offsets.push(this[0]), c.targets.push(this[1])
})
}
}, b.prototype.process = function() {
var a, b = this.$scrollElement.scrollTop() + this.options.offset,
c = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight,
d = c - this.$scrollElement.height(),
e = this.offsets,
f = this.targets,
g = this.activeTarget;
if (b >= d) return g != (a = f.last()[0]) && this.activate(a);
if (g && b <= e[0]) return g != (a = f[0]) && this.activate(a);
for (a = e.length; a--;) g != f[a] && b >= e[a] && (!e[a + 1] || b <= e[a + 1]) && this.activate(f[a])
}, b.prototype.activate = function(b) {
this.activeTarget = b, a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active");
var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]',
d = a(c).parents("li").addClass("active");
d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy")
};
var c = a.fn.scrollspy;
a.fn.scrollspy = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.scrollspy"),
f = "object" == typeof c && c;
e || d.data("bs.scrollspy", e = new b(this, f)), "string" == typeof c && e[c]()
})
}, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function() {
return a.fn.scrollspy = c, this
}, a(window).on("load", function() {
a('[data-spy="scroll"]').each(function() {
var b = a(this);
b.scrollspy(b.data())
})
})
}(jQuery), + function(a) {
"use strict";
var b = function(b) {
this.element = a(b)
};
b.prototype.show = function() {
var b = this.element,
c = b.closest("ul:not(.dropdown-menu)"),
d = b.data("target");
if (d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, "")), !b.parent("li").hasClass("active")) {
var e = c.find(".active:last a")[0],
f = a.Event("show.bs.tab", {
relatedTarget: e
});
if (b.trigger(f), !f.isDefaultPrevented()) {
var g = a(d);
this.activate(b.parent("li"), c), this.activate(g, g.parent(), function() {
b.trigger({
type: "shown.bs.tab",
relatedTarget: e
})
})
}
}
}, b.prototype.activate = function(b, c, d) {
function e() {
f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"), b.addClass("active"), g ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addClass("active"), d && d()
}
var f = c.find("> .active"),
g = d && a.support.transition && f.hasClass("fade");
g ? f.one(a.support.transition.end, e).emulateTransitionEnd(150) : e(), f.removeClass("in")
};
var c = a.fn.tab;
a.fn.tab = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.tab");
e || d.data("bs.tab", e = new b(this)), "string" == typeof c && e[c]()
})
}, a.fn.tab.Constructor = b, a.fn.tab.noConflict = function() {
return a.fn.tab = c, this
}, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function(b) {
b.preventDefault(), a(this).tab("show")
})
}(jQuery), + function(a) {
"use strict";
var b = function(c, d) {
this.options = a.extend({}, b.DEFAULTS, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(c), this.affixed = this.unpin = this.pinnedOffset = null, this.checkPosition()
};
b.RESET = "affix affix-top affix-bottom", b.DEFAULTS = {
offset: 0
}, b.prototype.getPinnedOffset = function() {
if (this.pinnedOffset) return this.pinnedOffset;
this.$element.removeClass(b.RESET).addClass("affix");
var a = this.$window.scrollTop(),
c = this.$element.offset();
return this.pinnedOffset = c.top - a
}, b.prototype.checkPositionWithEventLoop = function() {
setTimeout(a.proxy(this.checkPosition, this), 1)
}, b.prototype.checkPosition = function() {
if (this.$element.is(":visible")) {
var c = a(document).height(),
d = this.$window.scrollTop(),
e = this.$element.offset(),
f = this.options.offset,
g = f.top,
h = f.bottom;
"top" == this.affixed && (e.top += d), "object" != typeof f && (h = g = f), "function" == typeof g && (g = f.top(this.$element)), "function" == typeof h && (h = f.bottom(this.$element));
var i = null != this.unpin && d + this.unpin <= e.top ? !1 : null != h && e.top + this.$element.height() >= c - h ? "bottom" : null != g && g >= d ? "top" : !1;
if (this.affixed !== i) {
this.unpin && this.$element.css("top", "");
var j = "affix" + (i ? "-" + i : ""),
k = a.Event(j + ".bs.affix");
this.$element.trigger(k), k.isDefaultPrevented() || (this.affixed = i, this.unpin = "bottom" == i ? this.getPinnedOffset() : null, this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix", "affixed"))), "bottom" == i && this.$element.offset({
top: c - h - this.$element.height()
}))
}
}
};
var c = a.fn.affix;
a.fn.affix = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.affix"),
f = "object" == typeof c && c;
e || d.data("bs.affix", e = new b(this, f)), "string" == typeof c && e[c]()
})
}, a.fn.affix.Constructor = b, a.fn.affix.noConflict = function() {
return a.fn.affix = c, this
}, a(window).on("load", function() {
a('[data-spy="affix"]').each(function() {
var b = a(this),
c = b.data();
c.offset = c.offset || {}, c.offsetBottom && (c.offset.bottom = c.offsetBottom), c.offsetTop && (c.offset.top = c.offsetTop), b.affix(c)
})
})
}(jQuery);

3385
public/themes/js/jquery-1.10.1.min.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2
public/themes/js/moment.min.js vendored Normal file

File diff suppressed because one or more lines are too long

933
public/themes/js/script.js Normal file
View File

@ -0,0 +1,933 @@
let contact = new Array();
let settings;
let next_reset = new Date().getTime();
let ends = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
let noti_win = [];
let noti_wined = [];
var hash = $('input[name=main_session]').val();
Number.prototype.format = function(n, x) {
var re = '(\\d)(?=(\\d{' + (x || 3) + '})+' + (n > 0 ? '\\.' : '$') + ')';
return this.toFixed(Math.max(0, ~~n)).replace(new RegExp(re, 'g'), '$1,');
};
(function() {
function l(r) {
return null === r ? "" : encodeURIComponent(String(r).trim())
}
function r(r, e) {
var t, a, o, s, i = [],
n = !(!e || !e.lowerCase) && !!e.lowerCase;
if (null === r ? a = "" : "object" == typeof r ? (a = "", e = r) : a = r, e) {
if (e.path && (a && "/" === a[a.length - 1] && (a = a.slice(0, -1)), o = String(e.path).trim(), n && (o = o.toLowerCase()), 0 === o.indexOf("/") ? a += o : a += "/" + o), e.queryParams) {
for (t in e.queryParams) {
if (e.queryParams.hasOwnProperty(t) && void 0 !== e.queryParams[t])
if (e.disableCSV && Array.isArray(e.queryParams[t]) && e.queryParams[t].length)
for (var u = 0; u < e.queryParams[t].length; u++) s = e.queryParams[t][u], i.push(t + "=" + l(s));
else s = n ? e.queryParams[t].toLowerCase() : e.queryParams[t], i.push(t + "=" + l(s))
}
a += "?" + i.join("&")
}
e.hash && (a += n ? "#" + String(e.hash).trim().toLowerCase() : "#" + String(e.hash).trim())
}
return a
}
var e = this,
t = e.buildUrl;
r.noConflict = function() {
return e.buildUrl = t, r
}, "undefined" != typeof exports ? ("undefined" != typeof module && module.exports && (exports = module.exports = r), exports.buildUrl = r) : e.buildUrl = r
}).call(this);
let DUNGA = function() {
initUrl = (queryParams) => {
// queryParams['hashvl'] = hash;
// queryParams['hash_name'] = "hashvl";
let type = queryParams['type'];
delete queryParams['type'];
return buildUrl("", {
path: "api/" + type,
});
}
copyStringToClipboard = (str) => {
var el = document.createElement('textarea');
el.value = str;
el.setAttribute('readonly', '');
el.style = {
position: 'absolute',
left: '-9999px'
};
document.body.appendChild(el);
el.select();
document.execCommand('copy');
document.body.removeChild(el);
alert('ÄĂ£ sao chĂ©p sá» Äiện thoại nĂ y. ChĂºc bạn may mắn.');
}
number_format = (number) => {
return parseInt(number).toLocaleString('it-IT', {
style: 'currency',
currency: 'VND'
});
}
initAjax = (data_ajax) => {
$.ajax(data_ajax);
}
getNum = (remove) => {
let ends = [];
for ($i = 0; $i < 10; $i++) {
if (remove.indexOf($i) === -1) {
ends.push($i);
};
}
return ends;
}
loadMomo = (ag) => {
initAjax({
url: initUrl({
type: "momo"
}),
method: "POST",
success: function(data) {
if (data.status == true) {
let table_one = "";
let table_ten = "<tr>";
if (data.data_momo) {
let status_momo = {
0: `<span class="label label-info text-uppercase">Bảo trì</span>`,
1: `<span class="label label-success text-uppercase">Hoạt động</span>`
};
let data_momos = data.data_momo;
for (let momo of data.data_momo) {
var settings = momo.settings;
if (settings.transfers_today == undefined) {
settings.transfers_today = {
times: 0,
amount: 0
};
}
table_one += `<tr>`;
table_one += `<td>${momo.username} <span class="label label-success text-uppercase" onclick="DUNGA.coppy('${momo.username}')"><i class="fa fa-clipboard" aria-hidden="true"></i></span> <span class="label label-success text-uppercase" onclick="DUNGA.play('${momo.username}')"><i class="fa fa-play" aria-hidden="true"></i></span></td>`;
table_one += `<td>${status_momo[momo.status]}</td>`;
table_one += `<td><strong><span class="text-danger">${settings.transfers_today.times}</span> Lần</strong></td>`;
table_one += `<td><strong><span class="text-danger cash-format">${number_format(settings.transfers_today.amount)}</span> / 50.000.000 VND</strong></td>`;
table_one += "</tr>";
}
}
if (data.game.active) {
for (let game of data.game.active) {
$(`button[data-game="${game}"]`).removeClass("hidden");
}
$("div.play-rules").html(data.game.html);
if (ag == "" || ag == undefined) {
if (data.game.active.includes("chanle")) {
$(`button[data-game="chanle"]`).click();
} else {
$(`button[data-game="${data.game.active[0]}"]`).click();
}
} else {
$(`button[data-game="${ag}"]`).click();
}
}
$("#momo-status").html(table_one);
}
}
})
}
loadSettings = () => {
initAjax({
url: initUrl({
type: "settings"
}),
method: "POST",
success: function(data) {
if (data.status == true) {
settings = data;
if (data.active == 1) {
$("#author").html(`<a href="${data.href}" target="_blank">${data.author}</a>`);
let html_contact = "";
for (let contact of data.contacts) {
html_contact += `<p><a class="text-white" href="${contact.href}" target="_blank"><span class="btn btn-success text-uppercase">${contact.name}</span></a></p>`;
}
$("#note").html(data.note);
$("#note_modal").html(data.note);
$("#noteModal").modal();
$("#contact").html(html_contact);
if (data.ads !== "" && data.ads !== undefined) {
$(".ads").removeClass("hidden").html(data.ads);
}
if (data.notifications !== "" && data.notifications !== undefined) {
$(".notifications").removeClass("hidden").html(data.notifications);
}
loadMomo();
if (data.history !== undefined && data.history == "1") {
loadHistorys(data.only_win, data.limit);
}
if (data.hu !== undefined && data.hu.active == "1") {
loadHu();
loadHistoryHu();
$("#amount-hu").text(number_format(data.hu.amount));
$("#roles-hu").text(data.hu.roles.join(", "));
}
if (data.week_top !== undefined && data.week_top == 1) {
loadWeekTop();
$(".week_top").removeClass("hidden");
}
if (data.day_mission !== undefined && data.day_mission.active == 1) {
loadMinigame({
game: "day_mission",
});
}
if (data.wheel !== undefined && data.wheel.active == 1) {
loadMinigame({
game: "wheel",
settings_encode: data.wheel.settings_encode
});
}
if (data.diemdanh !== undefined && data.diemdanh.active == 1) {
loadMinigame({
game: "diemdanh",
settings_encode: data.diemdanh.settings_encode
});
}
if (data.refer_friend !== undefined && data.refer_friend.active == 1) {
loadMinigame({
game: "refer_friend",
settings_encode: data.refer_friend.settings_encode
});
}
setInterval(reset_data, 1000);
setInterval(day_limit, 5000);
}
}
}
})
};
loadHistorys = (only_win, limit) => {
initAjax({
url: initUrl({
type: "history",
only_win,
limit
}),
method: "POST",
success: function(data) {
if (data.status == true) {
if (data.history.status == true) {
let status_win = {
1: '<span class="label label-success text-uppercase">Thắng</span>',
"-1": '<span class="label label-secondary text-uppercase">Thua</span>'
}
let html_history = "";
for (let history of data.history.data) {
let color_change = '#' + ((1 << 24) * (Math.random() + 1) | 0).toString(16)
.substr(1);
html_history += "<tr>";
if (time_tran == "1" && history.time_tran_date !== "") {
html_history += `<td>${history.time_tran_date}</td>`;
}
html_history += `<td>${history.partnerId}</td>`;
html_history += `<td>${number_format(history.amount)}</td>`;
html_history += `<td><span class="fa-stack"><span class="fa fa-circle fa-stack-2x" style="color:${color_change}"></span><span class="fa-stack-1x text-white">${history.comment}</span></span></td>`;
html_history += `<td>${status_win[history.victory]}</td>`;
html_history += "</tr>";
if (history.amount > 50000 && noti_wined[history.id] == undefined) {
noti_win[history.id] = {
game: "",
partnerId: history.partnerId,
amount: history.amount
};
}
}
$("#history").html(html_history);
}
} else {
//alert(data.message);
}
}
});
};
loadWeekTop = () => {
initAjax({
url: initUrl({
type: "week_top"
}),
method: "POST",
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
let html_weektop = "";
for (const [key, value] of Object.entries(data.data.data)) {
html_weektop += '<tr>';
html_weektop += `<td><span class="fa-stack"> <span class="fa fa-circle fa-stack-2x text-danger"></span><strong class="fa-stack-1x text-white">${key}</strong></span></td>`;
html_weektop += `<td class="col-xs-2"><span class="label label-success">${value.partnerId}</span></td>`;
html_weektop += `<td class="col-xs-5 text-center"><span class="label label-danger">${number_format(value.result)}</span></td>`;
html_weektop += `<td class="col-xs-5 text-center"><span class="label label-danger">${number_format(data.data.gift[key])}</span></td>`;
html_weektop += '</tr>';
}
$(".week_top #week_top").html(html_weektop);
}
}
}
});
};
loadMinigame = (data) => {
const {
game,
} = data;
initAjax({
url: initUrl({
type: "render_minigame"
}),
method: "POST",
data: {
game,
},
success: function(data_xhr) {
if (data_xhr.status == true) {
$(`[data-minigame=${game}]`).removeClass("hidden");
$(".minigame-rules").append(data_xhr.html);
}
}
});
}
loadHu = () => {
initAjax({
url: initUrl({
type: "balance-hu"
}),
method: "POST",
success: function(data) {
if (data.status == true) {
$("#hu-left-display").removeClass("hidden");
$(".hu-balance").html(number_format(data.amount));
}
}
});
}
check_dayMission = (partnerId) => {
initAjax({
url: initUrl({
type: "check-day-mission",
partnerId
}),
method: "POST",
beforeSend: function() {
$(".check-day-mission").attr("disabled", true).addClass("disabled");
$("#day_mission_querying").show();
$("#query_done").html();
$("#non_query").hide();
},
success: function(data) {
if (data.status == true) {
$("#query_done").html(data.html);
$("#query_done").show();
$("#day_mission_querying").hide();
$(".check-day-mission").attr("disabled", false).removeClass("disabled");
} else {
alert(data.message);
$("#non_query").show();
$("#day_mission_querying").hide();
$(".check-day-mission").attr("disabled", false).removeClass("disabled");
}
}
})
};
reward_dayMission = (partnerId, milEncode) => {
initAjax({
url: initUrl({
type: "reward-day-mission",
partnerId
}),
method: "POST",
data: {
milEncode
},
beforeSend: function() {
$(".reward-day-mission").attr("disabled", true).addClass("disabled");
},
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
let data_response = data.data;
$(".reward-day-mission").remove();
$(".ntmsg").html(`
<div><b>${data_response.message}</b></div>
<div class="st"><b class="text-danger">» tiền: ${number_format(data_response.amount)} vnÄ</b></div>
<div class="st"><b class="text-warning">»i nhắn: ${data_response.comment}</b></div>`);
}
} else {
$(".ntmsg b").text(data.message).addClass("text-danger");
}
}
})
};
checkTran = (tran_id) => {
initAjax({
url: initUrl({
type: "check-tran",
tran_id
}),
method: "POST",
beforeSend: function() {
$(".check-tran").attr("disabled", true).addClass("disabled");
},
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
$("#result-check").attr("class", "").addClass("alert alert-success").html(data.data.message);
} else {
$("#result-check").attr("class", "").addClass("alert alert-danger").html(data.data.message);
}
} else {
if (data.code == 404) {
$(".more_infomation").removeClass("hidden");
} else {
$("#result-check").attr("class", "").addClass("alert alert-danger").html(data.message);
}
}
$(".check-tran").attr("disabled", false).removeClass("disabled");
}
})
};
checkTran2 = (tran_id, receiver) => {
initAjax({
url: initUrl({
type: "check-tran2"
}),
method: "POST",
data: {
tran_id,
receiver
},
beforeSend: function() {
$(".check-tran").attr("disabled", true).addClass("disabled");
},
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
$("#result-check").attr("class", "").addClass("alert alert-success").html(data.data.message);
} else {
$("#result-check").attr("class", "").addClass("alert alert-danger").html(data.data.message);
}
} else {
$("#result-check").attr("class", "").addClass("alert alert-danger").html(data.message);
}
$(".check-tran").attr("disabled", false).removeClass("disabled");
}
})
};
joinhu = function(partnerId) {
initAjax({
url: initUrl({
type: "join-hu",
partnerId
}),
method: "POST",
beforeSend: function() {
$(".submit-join-hu").attr("disabled", true).addClass("disabled");
},
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
$("#msg_hu").html(data.data.message);
$(".submit-join-hu").attr("disabled", false).removeClass("disabled");
if (data.data.is_join == 1) {
$(".submit-join-hu").removeClass("btn-success").addClass("btn-danger").html("Há»§y Tham Gia");
} else {
$(".submit-join-hu").removeClass("btn-danger").addClass("btn-success").html("Tham Gia");
}
} else {
$("#msg_hu").html(data.data.message);
$(".submit-join-hu").attr("disabled", false).removeClass("disabled");
}
} else {
$("#msg_hu").html(data.data.message);
$(".submit-join-hu").attr("disabled", false).removeClass("disabled");
}
}
})
}
loadHistoryHu = function() {
initAjax({
url: initUrl({
type: "history-hu"
}),
method: "POST",
success: function(data) {
if (data.status == true) {
$("#msg_history_hu").html(data.html);
} else {
console.log(data.message);
}
}
})
}
day_limit = function() {
let times = $("#hmln[attr-name=times]").toggleClass("hidden");
let amount = $("#hmln[attr-name=amount]").toggleClass("hidden");
}
reset_data = function() {
var d = new Date().getTime();
let sec = Math.floor((next_reset - d) / 1000);
if (sec <= 0) {
sec = 0;
}
$(".coundown-time").text(sec);
if (sec % 2 == 0) {
let id_his = Object.keys(noti_win)[0];
if (id_his > 0) {
DUNGA.noti_win(noti_win[id_his]);
noti_wined[history.id] = history.id;
delete noti_win[id_his];
}
}
if (d >= next_reset) {
if (settings.active == 1) {
loadMomo(game_active);
if (settings.history !== undefined && settings.history == 1) {
loadHistorys(settings.only_win, settings.limit);
}
if (settings.hu !== undefined && settings.hu.active == 1) {
loadHu();
}
next_reset = d + 20000;
}
}
}
return {
init: function() {
loadSettings();
},
coppy: function(str) {
copyStringToClipboard(str);
},
play: function(str) {
window.open(`https://nhantien.momo.vn/${str}`, '_blank')
},
number_format: function(number) {
number_format(number);
},
check_tranid: function() {
$this = this;
let tranid = $("input[name=tran_id]").val();
checkTran(tranid);
},
check_tranid2: function() {
$this = this;
let tranid = $("input[name=tran_id]").val();
let receiver = $("input[name=receiver]").val();
checkTran2(tranid, receiver);
},
hu_click: function() {
$("#hu-info").modal("show");
},
check_dayMission: function() {
$this = this;
let partnerId = $("input[name=partnerId]").val();
check_dayMission(partnerId);
},
joinhu: function() {
let partnerId = $("#result_hu input[name=partnerId]").val();
joinhu(partnerId);
},
reward: function() {
$this = this;
let partnerId = $("input[name=partnerId]").val();
let milEncode = $(".reward-day-mission").attr("data-mil-encode");
reward_dayMission(partnerId, milEncode);
},
noti_win: function(data) {
const {
game,
partnerId,
amount
} = data;
new Notify({
status: 'success',
title: 'TrĂ² chÆ¡i: ' + game,
text: `ChĂºc mừng <b>${partnerId}</b> vừa thắng ${number_format(amount)}`,
autoclose: true,
customIcon: '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 24 24" width="512" height="512"><path d="M19,9H14a5.006,5.006,0,0,0-5,5v5a5.006,5.006,0,0,0,5,5h5a5.006,5.006,0,0,0,5-5V14A5.006,5.006,0,0,0,19,9Zm-5,6a1,1,0,1,1,1-1A1,1,0,0,1,14,15Zm5,5a1,1,0,1,1,1-1A1,1,0,0,1,19,20ZM15.6,5,12.069,1.462A5.006,5.006,0,0,0,5,1.462L1.462,5a5.006,5.006,0,0,0,0,7.071L5,15.6a4.961,4.961,0,0,0,2,1.223V14a7.008,7.008,0,0,1,7-7h2.827A4.961,4.961,0,0,0,15.6,5ZM5,10A1,1,0,1,1,6,9,1,1,0,0,1,5,10ZM9,6a1,1,0,1,1,1-1A1,1,0,0,1,9,6Z"></path></svg>',
})
}
}
}();
"undefined" != typeof module && "undefined" != typeof module.exports && (module.exports = DUNGA), $(document).ready(function() {
DUNGA.init()
var pusher = new Pusher(pusher_key, {
cluster: "ap1",
authEndpoint: DUNGASettings.pusher.authEndpoint,
channel_auth_endpoint: DUNGASettings.pusher.channel_auth_endpoint,
crypt_master_key_base64: DUNGASettings.pusher.crypt_master_key_base64,
});
});
let QuangWheel = function() {
let luckyWheel;
let audio = new Audio('/upload/files/tick.mp3');
let wheel_spinning = false;
let data_spin;
let spinning = false;
init = function() {
luckyWheel = new Winwheel({
drawMode: 'image',
drawText: true,
numSegments: 8,
outerRadius: 200,
canvasId: 'canvas',
animation: {
type: 'spinToStop',
duration: 10,
spins: 3,
callbackSound: playSound,
soundTrigger: 'pin',
callbackAfter: "draw_wheel()",
callbackFinished: "spin_finished()"
},
pins: {
number: 16,
fillStyle: 'while',
outerRadius: 6,
responsive: true,
}
});
let loadedImg = new Image();
loadedImg.src = "/upload/files/main-wheel-3.png";
loadedImg.onload = function() {
luckyWheel.wheelImage = loadedImg;
luckyWheel.draw();
}
draw_wheel();
}
spin_finished = function() {
if (data_spin.type === 'unlucky') {
Swal.fire({
title: 'Opps!',
text: data_spin.message,
type: 'error',
confirmButtonText: 'Thử lại!'
});
} else {
Swal.fire({
title: 'Xin chĂºc mừng!',
text: ' ' + data_spin.message,
type: 'success',
confirmButtonText: 'Chơi tiếp !'
});
}
luckyWheel.stopAnimation(false);
spinning = false;
$("#wheel-btn").show();
}
draw_wheel = function() {
let data_wheel = luckyWheel.ctx;
data_wheel.strokeStyle = 'navy';
data_wheel.fillStyle = 'aqua';
data_wheel.lineWidth = 2;
data_wheel.beginPath();
data_wheel.stroke();
data_wheel.fill();
}
start_spin = function() {
if (wheelSpinning == false) {
luckyWheel.startAnimation();
wheelSpinning = true;
}
}
roll_spin = function(data) {
data_spin = data;
if (data_spin.key) {
let stopAt = luckyWheel.getRandomForSegment(data_spin.key);
luckyWheel.animation.stopAngle = stopAt;
start_spin();
}
}
spin = function(id_tran) {
if (spinning) {
return false;
}
if (id_tran.length <= 10) {
Swal.fire({
title: 'Opps!',
text: 'MĂ£ giao dá»ch khĂ´ng hợp lệ.',
type: 'error',
confirmButtonText: 'Thử lại!'
});
return false;
}
reset_wheel();
spinning = true;
$("#wheel-btn").hide();
initAjax({
url: initUrl({
type: "spin-wheel"
}),
method: "POST",
data: {
id_tran
},
success: function(data_spin) {
if (data_spin.status == false) {
spinning = false;
$("#wheel-btn").show();
Swal.fire({
title: 'Ối! Lỗi rồi!',
text: data_spin.message,
type: 'error',
confirmButtonText: 'Thử lại!'
})
return false;
}
roll_spin(data_spin.data);
}
})
}
start_spin = function() {
if (wheelSpinning == false) {
luckyWheel.startAnimation();
wheelSpinning = true;
}
}
reset_wheel = function() {
luckyWheel.stopAnimation(false);
luckyWheel.rotationAngle = -20;
luckyWheel.draw();
wheelSpinning = false;
}
withdraw = function() {
Swal.fire({
title: 'Nhập sá» Äiện thoại cá»§a bạn:',
input: 'text',
inputAttributes: {
autocapitalize: 'off'
},
showCancelButton: true,
confirmButtonText: 'Kiểm tra',
showLoaderOnConfirm: true,
preConfirm: (partnerId) => {
check_amount(partnerId);
},
allowOutsideClick: () => !Swal.isLoading()
}).then((result) => {
if (result.isConfirmed) {
Swal.fire({
title: `${result.value.login}'s avatar`,
imageUrl: result.value.avatar_url
})
}
})
};
roll = function() {
Swal.fire({
title: 'Nhập mĂ£ giao dá»ch Ä‘Ă£ chÆ¡i:',
input: 'text',
inputAttributes: {
autocapitalize: 'off'
},
showCancelButton: true,
confirmButtonText: 'Quay Ngay',
showLoaderOnConfirm: true,
preConfirm: (id_tran) => {
spin(id_tran);
},
allowOutsideClick: () => !Swal.isLoading()
});
return false;
}
playSound = function() {
audio.pause();
audio.currentTime = 0;
audio.play();
}
withdraw_wheel = function(data) {
initAjax({
url: initUrl({
type: "withdraw-wheel"
}),
method: "POST",
data,
success: function(data_xhr) {
if (data_xhr.status == true) {
Swal.fire({
title: 'ThĂ nh cĂ´ng!',
text: data_xhr.message,
type: 'success',
confirmButtonText: Ă³ng!'
});
} else {
Swal.fire({
title: 'Opps!',
text: data_xhr.message,
type: 'error',
confirmButtonText: 'Thử lại!'
});
}
}
});
}
check_amount = function(partnerId) {
if (partnerId.legth < 10 && partnerId.legth > 12) {
Swal.fire({
title: 'Opps!',
text: 'Sá» Äiện thoại khĂ´ng hợp lệ.',
type: 'error',
confirmButtonText: 'Thử lại!'
});
return false;
}
initAjax({
url: initUrl({
type: "check-amount-wheel"
}),
method: "POST",
data: {
partnerId
},
success: function(data_xhr) {
if (data_xhr.status == true) {
Swal.fire({
title: 'Bạn Äang cĂ³ ' + DUNGA.number_format(data_xhr.data.amount) + ' vnÄ. Nhập sá» tiền muá»n rĂºt:',
input: 'number',
inputAttributes: {
autocapitalize: 'off'
},
showCancelButton: true,
confirmButtonText: 'RĂºt Ngay',
showLoaderOnConfirm: true,
preConfirm: (amount) => {
withdraw_now({
partnerId,
amount
});
},
allowOutsideClick: () => !Swal.isLoading()
});
} else {
Swal.fire({
title: 'Opps!',
text: data_xhr.message,
type: 'error',
confirmButtonText: 'Thử lại!'
});
}
}
});
}
return {
init: function() {
init();
},
roll: function() {
roll();
},
withdraw: function() {
withdraw();
}
}
}();
"undefined" != typeof module && "undefined" != typeof module.exports && (module.exports = QuangWheel), $(document).ready(function() {});
let QuangMinigame = function() {
let init = function() {
}
let diemdanh = function() {
$this = this;
let partnerId = $("input[name=partnerId]").val();
check_dayMission(partnerId);
}
check_ReferFriend = (partnerId) => {
initAjax({
url: initUrl({
type: "check-refer-friend",
partnerId
}),
method: "POST",
beforeSend: function() {
$(".check-refer-friend").attr("disabled", true).addClass("disabled");
$("#refer_friend_querying").show();
$("#query_done").html();
$("#non_query").hide();
},
success: function(data) {
if (data.status == true) {
$("#query_done").html(data.html);
$("#query_done").show();
$("#refer_friend_querying").hide();
$(".check-refer-friend").attr("disabled", false).removeClass("disabled");
} else {
alert(data.message);
$("#non_query").show();
$("#refer_friend_querying").hide();
$(".check-refer-friend").attr("disabled", false).removeClass("disabled");
}
}
})
};
reward_ReferFriend = (partnerId, milEncode) => {
initAjax({
url: initUrl({
type: "reward-day-mission",
partnerId
}),
method: "POST",
data: {
milEncode
},
beforeSend: function() {
$(".reward-day-mission").attr("disabled", true).addClass("disabled");
},
success: function(data) {
if (data.status == true) {
if (data.data.status == true) {
let data_response = data.data;
$(".reward-day-mission").remove();
$(".ntmsg").html(`
<div><b>${data_response.message}</b></div>
<div class="st"><b class="text-danger">» tiền: ${number_format(data_response.amount)} vnÄ</b></div>
<div class="st"><b class="text-warning">»i nhắn: ${data_response.comment}</b></div>`);
}
} else {
$(".ntmsg b").text(data.message).addClass("text-danger");
}
}
})
};
return {
init: function() {
init();
},
diemdanh: function() {
diemdanh($("input[name=dd_partnerId]").val());
},
dd_change: function(elm) {
let action = $(elm).attr("data-action");
},
checkReferFriend: function() {
$this = this;
let partnerId = $("input[name=partnerId]").val();
check_ReferFriend(partnerId);
}
}
}();
"undefined" != typeof module && "undefined" != typeof module.exports && (module.exports = QuangWheel), $(document).ready(function() {});
$("#result_hu [name=partnerId]").on("input", function() {
if (this.value.length >= 10 && this.value.length <= 11) {
$("#msg_hu2").html('<button type="text" class="btn btn-success submit-join-hu" onclick="DUNGA.joinhu()">Tham gia</button>');
} else {
$("#msg_hu2").html("Vui lĂ²ng nhập sá» Äiện thoại để tiếp tục");
}
});

1
public/themes/js/wheel.min.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
public/upload/files/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

BIN
public/upload/files/hu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

0
resources/css/app.css Normal file
View File

1
resources/js/app.js Normal file
View File

@ -0,0 +1 @@
require('./bootstrap');

28
resources/js/bootstrap.js vendored Normal file
View File

@ -0,0 +1,28 @@
window._ = require('lodash');
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
/**
* Echo exposes an expressive API for subscribing to channels and listening
* for events that are broadcast by Laravel. Echo and event broadcasting
* allows your team to easily build robust real-time web applications.
*/
// import Echo from 'laravel-echo';
// window.Pusher = require('pusher-js');
// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: process.env.MIX_PUSHER_APP_KEY,
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
// forceTLS: true
// });

View File

@ -0,0 +1,20 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'password' => 'The provided password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'reset' => 'Your password has been reset!',
'sent' => 'We have emailed your password reset link!',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that email address.",
];

View File

@ -0,0 +1,163 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute must be accepted.',
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute must only contain letters.',
'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
'alpha_num' => 'The :attribute must only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute is not a valid date.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => 'The :attribute does not match the format :format.',
'declined' => 'The :attribute must be declined.',
'declined_if' => 'The :attribute must be declined when :other is :value.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal to :value.',
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
'string' => 'The :attribute must be greater than or equal to :value characters.',
'array' => 'The :attribute must have :value items or more.',
],
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal to :value.',
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
'string' => 'The :attribute must be less than or equal to :value characters.',
'array' => 'The :attribute must not have more than :value items.',
],
'mac_address' => 'The :attribute must be a valid MAC address.',
'max' => [
'numeric' => 'The :attribute must not be greater than :max.',
'file' => 'The :attribute must not be greater than :max kilobytes.',
'string' => 'The :attribute must not be greater than :max characters.',
'array' => 'The :attribute must not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'multiple_of' => 'The :attribute must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'present' => 'The :attribute field must be present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid timezone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute must be a valid URL.',
'uuid' => 'The :attribute must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];

View File

@ -0,0 +1 @@
<div class="panel-body game" style="padding-top: 10px;padding-bottom: 20px;" game-tab="day_mission"> <div class="body"> <div class="text-center"> <font color="blue"><big><b>Nhiệm Vụ Ngày</b></big></font> <br> <div class="form-group" id="non_query" style="background-color: #7ee2ff;border-color: #ad4105;padding: 20px;"> <label for="partnerId">Số điện thoại:</label> <input type="text" class="form-control" name="partnerId" id="partnerId" aria-describedby="partnerId" placeholder="094xxxxxxx"> <small id="partnerId" class="form-text text-muted">Nhập số điện thoại của bạn để kiểm tra nhận thưởng.</small> <br> <button class="btn btn-success check-day-mission" onclick="QuangApp.check_dayMission()">Kiểm Tra</button> <p> Tổng tiền Nhiệm Vụ Ngày đã trao: <b id="total_reward" style="color:blue;">2,680,000</b> <font style="color:blue;">VNĐ</font></p> </div> <div class="form-group" id="query_done" style="display:none;"></div> <div class="form-group bg-warning" id="day_mission_querying" style="display: none;">Đang truy vấn... xin chờ nhé...</div> </div> <div class="day_mission" style="background-color: #7ee2ff;border-color: #ad4105;padding: 20px;"> - Thật tuyệt vời ! Mỗi ngày chỉ cần chơi trên <b class="text-success">trummomo.me</b> chắc chắn bạn sẽ nhận được tiền. <br> - Khi chơi đủ số tiền (ko cần biết thắng thua) chắc chắn sẽ nhận được tiền. <br> - Hãy nhập số điện thoại của bạn vào mục bên trên để kiểm tra đã chơi bao nhiêu nhé. Chú ý : Phải nhập sdt số vd: 082xxx -> 0129xxx , 03xxx -> 016... <br> - Khi chơi đủ mốc tiền, các bạn ấn vào nhận thưởng để nhận được các mốc như sau: <div class="table-responsive"> <table class="table table-striped table-bordered table-hover text-center"> <thead> <tr role="row" class="bg-primary"> <th class="text-center text-white">Mốc chơi</th> <th class="text-center text-white">Thưởng</th> </tr> </thead> <tbody id="tbody_day_mission"> <tr> <td>500,000đ</td> <td>5,000đ</td> </tr> <tr> <td>2,000,000đ</td> <td>10,000đ</td> </tr> <tr> <td>5,000,000đ</td> <td class="text-danger">15,000đ</td> </tr> <tr> <td>10,000,000</td> <td class="text-danger">50,000đ</td> </tr> <tr> <td>25,000,000</td> <td class="text-danger">150,000đ</td> </tr> </tbody> </table> </div> </div> </div> </div>

View File

@ -0,0 +1,917 @@
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="chanle2">
<p>- <b>Chẵn lẻ 2</b> một game tính kết quả bằng <b> 1 số cuối giao dịch</b>.</p>
<p>-Cách chơi cùng đơn giản :</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển: <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white">2</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"></span><span class="fa-stack-1x text-white">1</span></span> (nếu đuôi giao dịch các số sau)
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<th class="text-center text-white bg-primary">Nội dung</th>
<th class="text-center text-white bg-primary">1 Số cuối</th>
<th class="text-center text-white bg-primary">Tiền nhận</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span> <span class="fa-stack-1x text-white comment-chan">2</span></span>
</td>
<td><code>0</code> - <code>2</code> - <code>4</code> - <code>6</code> - <code>8</code></td>
<td><b>1.95</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"> </span><span class="fa-stack-1x text-white comment-le">1</span></span>
</td>
<td><code>1</code> - <code>3</code> - <code>5</code> - <code>7</code> - <code>9</code></td>
<td><b>1.95</b></td>
</tr>
</tbody>
</table>
</div>
- <b> Lưu ý: </b> <br />
-Số tiền nhỏ nhất của <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white comment-chan">2</span></span>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"></span><span class="fa-stack-1x text-white">1</span></span> <b>1,000 VND</b> lớn nhất <b>500,000 VND</b> . Tiền thắng sẽ = <b> tiền đặt * <b>1.95</b></b>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="chanle">
<p>- <b>Chẵn lẻ</b> một game tính kết quả bằng <b> 1 số cuối giao dịch</b>.</p>
<p>-Cách chơi cùng đơn giản :</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển: <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white">C</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"></span><span class="fa-stack-1x text-white">L</span></span> (nếu đuôi giao dịch các số sau)
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<th class="text-center text-white bg-primary">Nội dung</th>
<th class="text-center text-white bg-primary">1 Số cuối</th>
<th class="text-center text-white bg-primary">Tiền nhận</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span> <span class="fa-stack-1x text-white comment-chan">C</span></span>
</td>
<td><code>2</code> - <code>4</code> - <code>6</code> - <code>8</code></td>
<td><b>2.4</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"> </span><span class="fa-stack-1x text-white comment-le">L</span></span>
</td>
<td><code>1</code> - <code>3</code> - <code>5</code> - <code>7</code></td>
<td><b>2.4</b></td>
</tr>
</tbody>
</table>
</div>
- <b> Lưu ý: </b> <br />
-Số tiền nhỏ nhất của <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white comment-chan">C</span></span>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"></span><span class="fa-stack-1x text-white">L</span></span> <b>1,000 VND</b> lớn nhất <b>500,000 VND</b> . Tiền thắng sẽ = <b> tiền đặt * <b>2.4</b></b>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="taixiu2">
<p>- <b>Tài Xỉu 2</b> một game tính kết quả bằng <b> 1 số cuối giao dịch</b>.</p>
<p>-Cách chơi cùng đơn giản :</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển: <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"></span><span class="fa-stack-1x text-white">4</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"></span><span class="fa-stack-1x text-white">3</span></span> (nếu đuôi giao dịch các số sau)
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<th class="text-center text-white bg-primary">Nội dung</th>
<th class="text-center text-white bg-primary">1 Số cuối</th>
<th class="text-center text-white bg-primary">Tiền nhận</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"> </span> <span class="fa-stack-1x text-white comment-tai">4</span></span>
</td>
<td><code>5</code> - <code>6</code> - <code>7</code> - <code>8</code> - <code>9</code></td>
<td><b>1.95</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"> </span><span class="fa-stack-1x text-white comment-xiu">3</span></span>
</td>
<td><code>0</code> - <code>1</code> - <code>2</code> - <code>3</code> - <code>4</code></td>
<td><b>1.95</b></td>
</tr>
</tbody>
</table>
</div>
- <b> Lưu ý: </b> <br />
-Số tiền nhỏ nhất của <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"></span><span class="fa-stack-1x text-white comment-tai">4</span></span>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"></span><span class="fa-stack-1x text-white">3</span></span> <b>1,000 VND</b> lớn nhất <b>1,000,000 VND</b> . Tiền thắng sẽ = <b> tiền đặt * <b>1.95</b></b>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="taixiu">
<p>- <b>Tài Xỉu</b> một game tính kết quả bằng <b> 1 số cuối giao dịch</b>.</p>
<p>-Cách chơi cùng đơn giản :</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>500,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển: <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"></span><span class="fa-stack-1x text-white">T</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"></span><span class="fa-stack-1x text-white">X</span></span> (nếu đuôi giao dịch các số sau)
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<th class="text-center text-white bg-primary">Nội dung</th>
<th class="text-center text-white bg-primary">1 Số cuối</th>
<th class="text-center text-white bg-primary">Tiền nhận</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"> </span> <span class="fa-stack-1x text-white comment-tai">T</span></span>
</td>
<td><code>5</code> - <code>6</code> - <code>7</code> - <code>8</code></td>
<td><b>2.4</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"> </span><span class="fa-stack-1x text-white comment-xiu">X</span></span>
</td>
<td><code>1</code> - <code>2</code> - <code>3</code> - <code>4</code></td>
<td><b>2.4</b></td>
</tr>
</tbody>
</table>
</div>
- <b> Lưu ý: </b> <br />
-Số tiền nhỏ nhất của <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"></span><span class="fa-stack-1x text-white comment-tai">T</span></span>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"></span><span class="fa-stack-1x text-white">X</span></span> <b>1,000 VND</b> lớn nhất <b>500,000 VND</b> . Tiền thắng sẽ = <b> tiền đặt * <b>2.4</b></b>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="x3">
<p>- <b>1 phần 3</b> một game tính kết quả bằng <b> 1 số cuối giao dịch</b>.</p>
<p>- Cách chơi cùng đơn giản:</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển: <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white comment-n1">N1</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"> </span><span class="fa-stack-1x text-white comment-n2">N2</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"> </span><span class="fa-stack-1x text-white comment-n3">N3</span></span> hoặc
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"> </span><span class="fa-stack-1x text-white comment-n0">N0</span></span> (nếu đuôi giao dịch các số sau)
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">Nội dung</th>
<th class="text-center text-white">1 Số cuối</th>
<th class="text-center text-white">Tiền nhận</th>
</tr>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">N1</span></span>
</td>
<td><code>1</code> - <code>2</code> - <code>3</code></td>
<td><b>3.2</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-le"> </span><span class="fa-stack-1x text-white" id="">N2</span></span>
</td>
<td><code>4</code> - <code>5</code> - <code>6</code></td>
<td><b>3.2</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-tai"> </span><span class="fa-stack-1x text-white" id="">N3</span></span>
</td>
<td><code>7</code> - <code>8</code> - <code>9</code></td>
<td><b>3.2</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-xiu"> </span><span class="fa-stack-1x text-white" id="">N0</span></span>
</td>
<td><code>0</code></td>
<td><b>7</b></td>
</tr>
</tbody>
</table>
</div>
<p>- Nếu giao dịch số cuối trùng với 1 trong 3 số trên, bạn sẽ chiến thắng.</p>
<p>-<b>Lưu ý:</b> Số tiền nhỏ nhất <b>1,000 VND</b> lớn nhất <b>1,000,000 VND</b></p>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="hieu2so">
<p>- <b>H3</b> một game tính kết quả bằng <b>hiệu 2 số cuối giao dịch (Số trước trừ số sau). dụ: xxx94 => 9 - 4 = 5</b>.</p>
<p>- Cách chơi cùng đơn giản:</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển : <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white comment-n1">H3</span></span>
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">Nội dung</th>
<th class="text-center text-white">Hiệu 2 Số cuối bằng</th>
<th class="text-center text-white">Tiền nhận</th>
</tr>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">H3</span></span>
</td>
<td><code>9</code></td>
<td><b>11</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">H3</span></span>
</td>
<td><code>7</code></td>
<td><b>7.7</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">H3</span></span>
</td>
<td><code>5</code></td>
<td><b>5.5</b></td>
</tr>
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">H3</span></span>
</td>
<td><code>3</code></td>
<td><b>3.3</b></td>
</tr>
</tbody>
</table>
</div>
<p>- Nếu giao dịch hiệu của 2 số (số trước trừ số sau) trùng 1 trong những số trên bạn sẽ chiến thắng.</p>
<p>-<b>Lưu ý:</b> Số tiền nhỏ nhất <b>1,000 VND</b> lớn nhất <b>1,000,000 VND</b></p>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="lo">
<p>- <b></b> một game tính kết quả bằng <b> 2 số cuối giao dịch</b>.</p>
<p>- Cách chơi cùng đơn giản:</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">
- Nội dung chuyển : <span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"></span><span class="fa-stack-1x text-white comment-n1">LO</span></span>
</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center table-responsive">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">Nội dung</th>
<th class="text-center text-white">2 Số cuối</th>
<th class="text-center text-white">Tiền nhận</th>
</tr>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>
<span class="fa-stack"><span class="fa fa-circle fa-stack-2x dot-text-chan"> </span><span class="fa-stack-1x text-white" id="">LO</span></span>
</td>
<td>
<code>01</code> - <code>03</code> - <code>12</code> - <code>19</code> - <code>23</code> - <code>24</code> - <code>30</code> - <code>33</code> - <code>39</code> - <code>48</code> - <code>54</code> - <code>55</code> -
<code>60</code> - <code>61</code> - <code>71</code> - <code>77</code> - <code>81</code> - <code>82</code> - <code>83</code> - <code>67</code> - <code>88</code> - <code>76</code> - <code>64</code> - <code>79</code> -
<code>29</code> - <code>99</code>
</td>
<td><b>3.7</b></td>
</tr>
</tbody>
</table>
</div>
<p>- Nếu giao dịch 2 số cuối trùng với 1 trong các số trên, bạn sẽ chiến thắng.</p>
<p>-<b>Lưu ý:</b> Số tiền nhỏ nhất <b>1,000 VND</b> lớn nhất <b>1,000,000 VND</b></p>
</div>
<div class="panel-body game" style="padding-top: 10px; padding-bottom: 20px;" game-tab="gap3">
<p>- <b>Gấp 3</b> một game tính kết quả bằng <b>nhiều số cuối giao dịch</b>.</p>
<p>- Cách chơi cùng đơn giản:</p>
<p>- Chuyển tiền vào một trong các tài khoản:</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center mb-0">
<thead>
<th class="text-center text-white bg-primary">Số điện thoại</th>
<th class="text-center text-white bg-primary">Tối thiểu</th>
<th class="text-center text-white bg-primary">Tối đa</th>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="result-table-10" role="alert">
<tr>
<td id="mm_0528192535">
<b id="mln">
0528192535 <b id="hmln" attr-name="amount"><font color="green">11,576,070</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="red">167</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192535')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192535')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192536">
<b id="mln">
0528192536 <b id="hmln" attr-name="amount"><font color="green">9,018,973</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">140</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192536')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192536')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192537">
<b id="mln">
0528192537 <b id="hmln" attr-name="amount"><font color="green">33,969,783</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">142</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192537')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192537')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0528192538">
<b id="mln">
0528192538 <b id="hmln" attr-name="amount"><font color="green">3,697,136</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">15</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0528192538')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0528192538')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
<tr>
<td id="mm_0563658041">
<b id="mln">
0563658041 <b id="hmln" attr-name="amount"><font color="green">36,730,599</font>/<font color="6861b1">50M</font></b>
<b id="hmln" class="hidden" attr-name="times"><font color="green">120</font>/<font color="6861b1">200 Giao dịch</font></b>
</b>
<span class="label label-success text-uppercase" onclick="QuangApp.coppy('0563658041')"><i class="fa fa-clipboard" aria-hidden="true"></i></span>
<span class="label label-success text-uppercase" onclick="QuangApp.play('0563658041')"><i class="fa fa-play" aria-hidden="true"></i></span>
</td>
<td>1,000 VNĐ</td>
<td>1,000,000 VNĐ</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center font-weight-bold">
<b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b>
</div>
<p class="mt-3">- Nội dung chuyển : G3 (nếu đuôi giao dịch các số sau)</p>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">Nội dung</th>
<th class="text-center text-white">Các số cuối</th>
<th class="text-center text-white">Tiền nhận</th>
</tr>
</thead>
<tbody aria-live="polite" aria-relevant="all" class="" id="result-table" role="alert">
<tr>
<td>G3</td>
<td>
<code>02</code> - <code>13</code> - <code>17</code> - <code>19</code> - <code>21</code> - <code>29</code> - <code>35</code> - <code>37</code> - <code>47</code> - <code>49</code> - <code>51</code> - <code>54</code> -
<code>57</code> - <code>63</code> - <code>64</code> - <code>74</code> - <code>83</code> - <code>91</code> - <code>95</code> - <code>96</code>
</td>
<td><b>3.3</b></td>
</tr>
<tr>
<td>G3</td>
<td><code>66</code> - <code>99</code></td>
<td><b>4.4</b></td>
</tr>
<tr>
<td>G3</td>
<td><code>123</code> - <code>234</code> - <code>456</code> - <code>678</code> - <code>789</code></td>
<td><b>5.5</b></td>
</tr>
</tbody>
</table>
</div>
<p>-<b>Lưu ý:</b> Số tiền nhỏ nhất <b>1,000 VND</b> lớn nhất <b>1,000,000 VND</b></p>
</div>

View File

@ -0,0 +1,453 @@
<!DOCTYPE html>
<html class="no-js" lang="vi">
<head>
<title>Trummomo.me Hệ thống MiNiGame MoMo 24/7 Thanh Toán Tự Động Siêu Tốc</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta content="Trummomo.me Hệ thống MiNiGame MoMo 24/7 Thanh Toán Tự Động Siêu Tốc" name="title" />
<meta content="Chẵn Lẻ Momo - Hệ thống trò chơi. Chẵn lẻ MoMo Giao dịch Tự Động 24/7. Đua Top Tuần Nhận Nhiều Phần Quà Hấp Dẫn." name="description" />
<meta content="minigame momo , Chẵn Lẽ MoMo, Tài Xỉu momo, chanlemomo,Chẵn lẻ online, Chẵn Lẻ, momo cl, Cách Chơi chẵn lẽ momo,chẵn lẽ momo tự động , chẵn lẽ momo 24/7" name="keywords" />
<meta content="/" property="og:url" />
<meta content="article" property="og:type" />
<meta content="Trummomo.me Hệ thống MiNiGame MoMo 24/7 Thanh Toán Tự Động Siêu Tốc" property="og:title" />
<meta content="Chẵn Lẻ Momo - Hệ thống trò chơi. Chẵn lẻ MoMo Giao dịch Tự Động 24/7. Đua Top Tuần Nhận Nhiều Phần Quà Hấp Dẫn." property="og:description" />
<meta content="upload/files/1.png" property="og:image" />
<link href="upload/files/momo.png" rel="apple-touch-icon" />
<link href="upload/files/momo.png" rel="shortcut icon" type="image/x-icon" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet" />
<link href="{{ url('') }}/themes/css/bootstrap.min.css" rel="stylesheet" />
<link href="{{ url('') }}/themes/css/bootstrap-social.css" rel="stylesheet" />
<link href="{{ url('') }}/themes/css/style.css?ver=28" rel="stylesheet" />
<link href="{{ url('') }}/themes/css/custom.1.css?ver=28" rel="stylesheet" />
<link href="{{ url('') }}/themes/css/wheel.css?ver=1651368768" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify@0.5.4/dist/simple-notify.min.css" />
<style>
.aa:hover,
.aa:focus {
background: #ad4105;
border-radius: 5px
}
.coffer-box {
display: block;
position: fixed;
bottom: 90px;
right: 15px;
width: 15%;
z-index: 1000;
cursor: pointer;
/*background: #ad410569;*/
border-radius: 10px;
text-align: center;
padding: 15px;
}
@media (max-width: 767px) {
.coffer-box {
background: unset;
width: 50%;
bottom: 20px;
}
}
.mb-0 {
margin-bottom: 0;
}
.mt-100 {
margin-top: 100px;
}
.mainbar {
padding: 0px !important;
}
.panel-heading {
background-color: #055FB3 !important;
border-color: #055FB3 !important;
}
.panel-primary {
/*background-color: #055FB3 !important;*/
border-color: #055FB3 !important;
}
.navbar {
background-color: #055FB3 !important;
}
.navbar .navbar-collapse {
background-color: #055FB3 !important;
}
.table .bg-primary {
background-color: #055FB3 !important;
}
.footer {
background-color: #055FB3 !important;
}
.mainbar {
background-color: #fff !important;
}
</style>
</head>
<body>
<input type="hidden" name="main_session">
<div class="mainbar" style="height: 150px;">
<div class="navbar">
<div class="container">
<a href="/" class="text-left">
<div class="">
<img src="/upload/files/1.png" height="66px" alt="Logo" />
</div>
</a>
</div>
</div>
</div>
<div class="container">
<div class="content">
<div class="content-container">
<div class="py-5" style="min-height: 80px !important;">
<div class="output" id="output">
<h3 class="cursor">
Chẵn lẻ MoMo Tự Động </h3>
<h4>
Uy Tín - Nhanh Gọn - Tự Động 24/7 ! </h4>
</div>
</div>
<div class="text-center mt-3">
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#noteModal">Xem Lưu Ý</button>
</div>
<div class="text-center mt-5">
<button class="btn btn-default btn-primary mt-1 hidden" data-game="chanle">
Chẵn Lẻ
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="chanle2">
Chẵn Lẻ 2
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="taixiu">
Tài Xỉu
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="taixiu2">
Tài Xỉu 2
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="x3">
1 Phần 3
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="gap3">
Gấp 3
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="tong3so">
Tổng 3 Số
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="hieu2so">
H3
</button>
<button class="btn btn-default btn-primary mt-1 hidden" data-game="lo">
</button>
</div>
<div class="text-center mt-5" role="group">
<button class="btn btn-outline-primary mt-1 hidden" data-minigame="day_mission" style="position: relative;">
Nhiệm Vụ Ngày
<b class="text-danger" style="position: absolute;margin-left: auto;margin-right: auto;text-align: center;left: 0px;right: 0px;top: 22px;font-size: 9px;"><font color="red">(HOT)</font></b>
</button>
<button class="btn btn btn-outline-primary mt-1 hidden" data-minigame="refer_friend" style="position: relative;">
Giới thiệu bạn
<b class="text-danger" style="position: absolute;margin-left: auto;margin-right: auto;text-align: center;left: 0px;right: 0px;top: 22px;font-size: 9px;"><font color="red">(NEW)</font></b>
</button>
<button class="btn btn-outline-primary mt-1 hidden" data-minigame="wheel" style="position: relative;">
Vòng Xoay May Mắn
<b class="text-danger" style="position: absolute;margin-left: auto;margin-right: auto;text-align: center;left: 0px;right: 0px;top: 22px;font-size: 9px;"><font color="red">(NEW)</font></b>
</button>
<button class="btn btn-outline-primary mt-1 hidden" data-minigame="diemdanh" style="position: relative;">
Điểm danh nhận quà
<b class="text-danger" style="position: absolute;margin-left: auto;margin-right: auto;text-align: center;left: 0px;right: 0px;top: 22px;font-size: 9px;"><font color="green"><i class="fa fa-clock-o" aria-hidden="true"></i> <b id="diemdanh_time">0</b></font> <font color="6861b1"><i class="fa fa-users" aria-hidden="true"></i> <b id="diemdanh_users">0</b></font></b>
</button>
</div>
<div class="row justify-content-md-center box-cl">
<div class="col-md-6 mt-3 cl">
<div class="panel panel-primary">
<div class="panel-heading text-center">
Cách chơi
</div>
<div class="play-rules">
</div>
<div class="minigame-rules">
</div>
</div>
</div>
<div class="col-md-6 mt-3 cl">
<div class="panel panel-primary">
<div class="panel-heading text-center">
KIỂM TRA GIAO DỊCH
</div>
<div class="panel-body text-center">
<div class="alert alert-info text-left">
Nếu quá 15 phút chưa nhận được tiền vui lòng dán vào đây để kiểm tra.
</div>
<div class="text-center">
<div class="form-group">
<label for="tran_id">Nhập giao dịch</label>
<input type="number" class="form-control" name="tran_id" placeholder="Mã giao dịch: Ví dụ 11223344556">
<small id="checkHelp" class="form-text text-muted">Nhập giao dịch của bạn để
kiểm tra.</small>
</div>
<button class="btn btn-primary mb-2 check-tran" onclick="DUNGA.check_tranid()">Kiểm tra</button>
<div class="hidden more_infomation">
<div class="mt-3">
<small class="form-text text-danger">
Vui lòng nhập thêm thông tin để kiểm tra:
</small>
<input type="text" class="form-control" name="receiver" placeholder="Số điện thoại hệ thống">
<small class="form-text text-muted">Số điện thoại của <b class="text-danger">Hệ thống</b> bạn chuyển tiền vào. <b class="text-danger">Không</b> phải số của bạn.</small>
</div>
<button class="btn btn-primary mb-2 check-tran-2" onclick="DUNGA.check_tranid2()">Tiếp tục</button>
</div>
<div id="result-check" style="margin-top: 5px;">
</div>
</div>
<div id="contact" class="mt-5">
</div>
</div>
</div>
</div>
</div>
<div class="mt-5 text-center panel panel-primary">
<div class="ads alert alert-danger text-center text-danger font-weight-bold font-size-lg m-5 hidden">
</div>
</div>
<div class="mt-5 text-center panel panel-primary">
<div class="row">
<div class="col-md-12 mt-3">
<div class="text-center mb-3">
<h3 class="text-uppercase">
TRẠNG THÁI MOMO
</h3>
</div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">
Số điện thoại
</th>
<th class="text-center text-white">
Trạng thái
</th>
<th class="text-center text-white">
Giao dịch
</th>
<th class="text-center text-white">
Hạn mức
</th>
</tr>
</thead>
<tbody id="momo-status">
</tbody>
</table>
<div class="text-center font-weight-bold m-3"><b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b></div>
</div>
</div>
</div>
</div>
<div class="mt-5 text-center panel panel-primary">
<div class="row">
<div class="col-md-12 mt-3">
<div class="text-center mb-3">
<h3 class="text-uppercase">
Lịch sử tham gia
</h3>
</div>
<div class="text-center font-weight-bold m-3"><b>Làm mới sau <span class="text-danger coundown-time">0</span> s</b></div>
<center class="" style="width: 76%;margin: auto;">
<marquee>
<b id="msg_history_hu"></b>
</marquee>
</center>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr class="bg-primary" role="row">
<th class="text-center text-white">
Số điện thoại
</th>
<th class="text-center text-white">
Tiền đặt
</th>
<th class="text-center text-white">
Nội dung
</th>
<th class="text-center text-white">
Trạng thái
</th>
</tr>
</thead>
<tbody id="history">
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="panel panel-primary week_top hidden">
<div class="panel-heading text-center">
<h4>TOP THẮNG TUẦN</h4>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover text-center">
<thead>
<tr role="row" class="bg-primary">
<th class="text-center text-white">TOP</th>
<th class="text-center text-white">Số điện thoại</th>
<th class="text-center text-white">Số tiền</th>
<th class="text-center text-white">Phần thưởng</th>
</tr>
</thead>
<tbody role="alert" aria-live="polite" aria-relevant="all" id="week_top" class="text-center">
</tbody>
</table>
<div class="text-center">
<b class="text-danger">Phần thưởng TOP sẽ dược trao vào 24h chủ nhật hàng tuần.</b>
</div>
</div>
</div>
</div>
<div class="mt-5 panel panel-primary">
</div>
<div id="hu-left-display" style="position: fixed; bottom: 15px; left: 15px; z-index: 1000; cursor: pointer; width: 15%;" class="hidden">
<div onclick="$('#hu-left-display').hide()" class="" style="left: 100%; position: absolute;">
<font color="red">
<big><b>[X]</b></big>
</font>
</div>
<b onclick="DUNGA.hu_click()">
<center><img class="animate__animated animate__heartBeat animate__infinite infinite" src="/upload/files/hu.png" width="100%" style="max-height: 130px;max-width: 150px;min-height: 50px; min-width:80px;" /></center>
<div class="text-center">
<p class="animate__animated animate__shakeX animate__infinite infinite animate__slow 2 hu-balance" style="border-top-right-radius: 30px; border-top-left-radius: 30px; border-radius: 30px; background: aquamarine;">0</p>
</div>
</b>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container text-center">
<div class="row">
<div class="col-xs-12 text-white ">
Copyright 2021 © trummomo.me | All rights reserved | AAAAAA
</div>
</div>
</div>
</footer>
<div class="modal fade" id="noteModal" tabindex="-1" role="dialog" aria-labelledby="noteModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="noteModalLabel">Thông báo</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body" id="note_modal">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Đã hiểu</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="hu-info" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h3 class="modal-title"></h3>
<h2 class="text-danger"><b>NỔ GAME</b></h2>
</div>
<div class="modal-body" id="result_hu">
<center><img class="animate__animated animate__heartBeat animate__infinite infinite" src="/upload/files/hu.png" width="30%" style="" /></center>
<div class="solid text-center" style="border-top-right-radius: 30px; border-top-left-radius: 30px; border-radius: 30px; background: aquamarine;">
<p class="animate__animated animate__shakeX animate__infinite infinite animate__slow 2 hu-balance">0</p>
</div>
<br />
<div style="padding: 15px;">
<div class="form-group row">
<label for="inputEmail3" class="col-sm-2 col-form-label">Số điện thoại</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Số điện thoại" name="partnerId" />
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<center id="msg_hu"></center>
<center id="msg_hu2">Vui lòng nhập số điện thoại để tiếp tục</center>
</div>
</div>
</div>
<hr />
<center>Hưỡng dẫn</center>
- Để tham gia chức năng này, bạn cần nhập số điện thoại của bạn chơi vào mục bên trên, sau đó ấn nút <b>Tham gia</b>, (Để hủy thì làm lại tương tự). <br />
- Khi tham gia, mỗi khi bạn chiến thắng sẽ bị trừ <b id="amount-hu">10.000 VNĐ</b> cho vào Quỹ . <br />
- Nếu bạn chiến thắng số cuối giao dịch <b id="roles-hu"></b> thì bạn sẽ nhận được toàn bộ số tiền trong <br />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" style="border-radius: 0;" data-dismiss="modal">Đóng</button>
</div>
</div>
</div>
</div> <div id="player" class="hidden"></div>
<div id="fb-root"></div>
<div id="fb-customer-chat" class="fb-customerchat"></div>
</body>
<script type="text/javascript" src="https://js.pusher.com/7.0/pusher.min.js" id="pusher-js"></script>
<script src="{{ url('') }}/themes/js/wheel.min.js?V2"></script>
<script src="{{ url('') }}/themes/js/jquery-1.10.1.min.js"></script>
<script src="{{ url('') }}/themes/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="{{ url('') }}/themes/js/bootstrap.min.js"></script>
<script src="{{ url('') }}/themes/js/moment.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-notify@0.5.4/dist/simple-notify.min.js"></script>
<script src="{{ url('') }}/themes/js/script.js?ver=28042003.v890">
</script>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
$('[data-toggle="tooltip"]').tooltip();
$('.cash-format').each(function(index) {
$(this).html(parseInt($(this).text()).toLocaleString('it-IT', {
style: 'currency',
currency: 'VND'
}));
});
$('button[data-game]').click(function() {
let button = $(this);
let game = button.attr('data-game');
game_active = game;
$('.game').removeClass('active');
$(`.game[game-tab=${game}]`).addClass('active').removeClass("hidden");
$("button[data-game]").removeClass("btn-info").addClass("btn-primary");
$("[data-minigame]").removeClass("btn-success");
button.removeClass("btn-primary").addClass("btn-info");
});
$('button[data-minigame]').click(function() {
let button = $(this);
let game = button.attr('data-minigame');
game_active = "minigame";
$('.game').removeClass('active');
$(`.game[game-tab=${game}]`).addClass('active').removeClass("hidden");
$("[data-minigame]").removeClass("btn-success");
$("[data-game]").removeClass("btn-success").addClass("btn-primary");
button.addClass("btn-success");
});
});
</script>
</html>

23
routes/api.php Normal file
View File

@ -0,0 +1,23 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
return $request->user();
});
Route::post('/settings', [App\Http\Controllers\DUNGA::class, 'settings']);
Route::post('/momo', [App\Http\Controllers\DUNGA::class, 'momo']);
Route::post('/render_minigame', [App\Http\Controllers\DUNGA::class, 'minigame']);

18
routes/channels.php Normal file
View File

@ -0,0 +1,18 @@
<?php
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application supports. The given channel authorization callbacks are
| used to check if an authenticated user can listen to the channel.
|
*/
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
});

19
routes/console.php Normal file
View File

@ -0,0 +1,19 @@
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');

18
routes/web.php Normal file
View File

@ -0,0 +1,18 @@
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return view('welcome');
});

21
server.php Normal file
View File

@ -0,0 +1,21 @@
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';

3
storage/app/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!public/
!.gitignore

2
storage/app/public/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

9
storage/framework/.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
compiled.php
config.php
down
events.scanned.php
maintenance.php
routes.php
routes.scanned.php
schedule-*
services.json

3
storage/framework/cache/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!data/
!.gitignore

View File

@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/sessions/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/testing/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/views/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

2
storage/logs/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -0,0 +1,22 @@
<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}

View File

@ -0,0 +1,21 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function test_example()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

10
tests/TestCase.php Normal file
View File

@ -0,0 +1,10 @@
<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
}

Some files were not shown because too many files have changed in this diff Show More