text
stringlengths
2
1.03M
<?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 Route...
<?php require_once "IAuth.php"; class SystemAuth implements IAuth { public function authenticate(string $username, string $password) { echo "Authenticated with own authenticate system\n"; echo "{$username} authenticated successfully\n"; } }
@if(Session::has('role_id_click')) {{-- Role Id : {{ Session::get('role_id_click') }} --}} @endif <style> .errMSG{ color: red !important; } .select-items { background-color: #eee !important; } </style> <footer id="footer"> <div class="container"> <div class="footer-menu"> <div class="row...
<?php /** * The template for displaying comments * * This is the template that displays the area of the page that contains both the current comments * and the comment form. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package caramelo */ /* * If the current post is protect...
<?php namespace App\Http\Controllers; use App\Models\Genre; use App\Models\Movie; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); }...
<?php class M_data extends CI_Model{ function cek_login($table,$where){ return $this->db->get_where($table,$where); } //fungsi untuk mengupdate atau mengubah data di database function update_data($where,$data,$table){ $this->db->where($where); $this->db->update($table,...
<?php return [ 'merchant' => env('MERCHANT_ID'), 'sharedKey' => env('SHARED_KEY'), 'meeting_base' => env('MEETING_BASE'), 'meeting_secret' => env('MEETING_SECRET'), 'midtrans_server_key' => env('MIDTRANS_SERVER_KEY'), ];
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddClienteTratamientoTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cliente...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php /** * Created by PhpStorm. * User: lght * Date: 02.03.2018 * Time: 11:43 */ //$real_link = "https://myeve.loc:82/user/do-restore?hash=9378948osjidfl893j"; ?> <div class="wrapper" style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857143; color: #333; background-color: #677...
<div class="section-body"> <div class="container-fluid"> <div class="row clearfix"> <!-- <div class="col-md-12"> <div class="card card-profile"> <div class="card-body text-center"> <img class="card-profile-img" src=...
<?php declare(strict_types=1); namespace Inspirum\Balikobot\Tests\Unit; use Inspirum\Balikobot\Model\Aggregates\PackageTransportCostCollection; use Inspirum\Balikobot\Model\Values\PackageTransportCost; use Inspirum\Balikobot\Tests\AbstractTestCase; use InvalidArgumentException; use RuntimeException; class PackageTr...
<?php namespace TYPO3\CMS\Recycler\Task; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license informa...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: fedex.proto namespace Carrier\Fedex\LabelSpecification; use UnexpectedValueException; /** * 标签库存类型 * * Protobuf type <code>fedex.LabelSpecification.LabelStockType</code> */ class LabelStockType { /** * Generated from protobuf enu...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Platform extends Model { use HasFactory; /** * The table associated with the model. * * @var string */ protected $table = 'platforms'; /** * Fill...
<?php namespace Drupal\paragraphs; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\migrate\Plugin\MigrationDeriverTrait; use Drupal\paragraphs\Plugin\migrate\field\FieldCollection; /** * Class MigrationPluginsAlterer. */ final class MigrationPluginsAlterer { use MigrationDeriverTrait; /** ...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitd9deac4068940715561e0cfdcfcace09 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php /** * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
<?php // ---------------------------------- // __/\\\\____________/\\\\___________________/\\\\\\\\\\\____/\\\\\\\\\\\\\___ // _\/\\\\\\________/\\\\\\_________________/\\\/////////\\\_\/\\\/////////\\\_ // _\/\\\//\\\____/\\\//\\\____/\\\__/\\\__\//\\\______\///__\/\\\_______\/\\\_ // _\/\\\\///\\\/\\\/_\/\\\___\/...
<?php // autoload_files.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/...
<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <div class="container "> <a class="navbar-brand" href="{{ route('home') }}">Weibo App</a> <ul class="navbar-nav justify-content-end"> @if (Auth::check()) <li class="nav-item"><a class="nav-link" href="{{ route('users.index') }}">用户列表</a><...
@extends('frontend.layouts.master') @section('breadcrumb') <!-- BREADCRUMB --> <div id="breadcrumb"> <div class="container"> <ul class="breadcrumb"> <li><a href="#">Trang trủ</a></li> <li class="active">Sản phẩm</li> </ul> </div> </div>...
--TEST-- #523: assertAttributeEquals does not work with classes extending ArrayIterator --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'Issue523Test'; $_SERVER['argv'][3] = __DIR__ . '/523/Issue523Test.php'; require __DIR__ . '/../../bootstrap.php'; PHPUnit\TextUI\Command::main(); ?> ...
<?php /* * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Carbon\Carbon; class CreateFromDateTest extends TestFixture { public function test...
<?php namespace Database\Factories; use App\Models\Product; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ProductFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Product::class; /** ...
<?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 Route...
<?php return [ 'username' => env('TWILIO_USERNAME'), // optional when using auth token 'password' => env('TWILIO_PASSWORD'), // optional when using auth token 'auth_token' => env('TWILIO_TOKEN'), // optional when using username and password 'account_sid' => env('TWILIO_SID'), 'from' => env('TWILIO...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up() { Schema::create('postcodes', function (Blueprint $table) { $table->increments('id'); ...
<?php /* * WellCommerce Open-Source E-Commerce Platform * * This file is part of the WellCommerce package. * * (c) Adam Piotrowski <adam@wellcommerce.org> * * For the full copyright and license information, * please view the LICENSE file that was distributed with this source code. */ namespace WellCommerce\Bu...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Dashboard</div> <div class="panel-body"> You are logged in! </div> </div> </div> </div> </div> @endsect...
<?php use PHPSimpleHtmlPurify\Purifier; use PHPSimpleHtmlPurify\Tag; use PHPSimpleHtmlPurify\Attribute; class AttrWhiteListTest extends PHPUnit_Framework_TestCase { public function testNormalStringAttrParameter() { $dirtyHtml = '<div class="test" style="align-content: center"></div>'; $purifie...
<?php class MediaYearDistribution extends AbstractDistribution { protected function finalize() { /*if (!empty($this->keys)) { $min = $max = reset($this->keys); while (list($i,) = each($this->keys)) { if ($min > $i) { $min = $i; } elseif ($max < $i) { $max = $i; } } ...
<?php namespace FGTA4\apis; if (!defined('FGTA4')) { die('Forbiden'); } require_once __ROOT_DIR.'/core/sqlutil.php'; use \FGTA4\exceptions\WebException; class DataOpen extends WebAPI { function __construct() { $this->debugoutput = true; $DB_CONFIG = DB_CONFIG[$GLOBALS['MAINDB']]; $DB_CONFIG['param'] = DB...
<?php return [ 'http' => [ 'api' => '\\app\\Middleware\\apiMiddleware', 'test' => '\\app\\Middleware\\testMiddleware', ] ];
<?php /* * This file is part of the SncRedisBundle package. * * (c) Henrik Westphal <henrik.westphal@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Snc\RedisBundle\Tests\DependencyInjection; use PHPUnit\Fra...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); if ( ! function_exists('initServerAPI')) { function initServerAPI($ip, $key, $pass) { require_once APPPATH.'third_party/virtualizor/sdk/admin.php'; $admin = new Virtualizor_Admin_API($ip, $key, $pass); return $admin; } } if ( ! f...
<?php require_once __DIR__.'/../vendor/autoload.php'; use Branxe\JSRef\Option; $script = Branxe\Script::create(); $script->conditions()->urlContains('formFill'); $script->insert(function ($driver) { $driver->findElementById('rodzaj_deklaracji')->append(Option::new('Pełny(wypełnianie on-line)', 'PELNA')); $dr...
<?php namespace App\Controllers; class Home extends BaseController { public function index() { $data = [ 'isi' => 'home', 'title' => 'DPMPTSP Kabupaten Kepulauan Mentawai' ]; echo view('layout/template', $data); } public function lapor() { $d...
<?php namespace Modules\Comment\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Database\Eloquent\Factory; class CommentServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** ...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; use App\User; use App\Article; class ArticleTest extends TestCase { /** * A basic test example. * * @return void */ public function testExampl...
<?php namespace beacon\widget; #[\Attribute] class DfsImage extends DfsFile { protected array $_attrs=[ 'class'=>'form-inp up-image', ]; protected function code(array $attrs = []): string { $attrs['data-type'] = 'image'; return parent::code($attrs); } }
<?php namespace Naxon\NovaFieldSortable; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Route; use Laravel\Nova\Events\NovaServiceProviderRegistered; use Laravel\Nova\Nova; use Laravel\Nova\Events\ServingNova; use Illuminate\Support\ServiceProvider; class FieldServiceProvider extends ServicePro...
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Propel\Tests\Generator\Model; use Propel\Generator\Model\Column; use Propel\Generator\Model\Dat...
<?php namespace App; trait Followable { public function follows() { return $this->belongsToMany(User::class, 'follows', 'user_id', 'following_user_id'); } public function follow(User $user) { return $this->follows()->save($user); } public function unfollow(User $user) ...
<?php namespace App\Http\Controllers; use App\Model\Trip; use Illuminate\Http\Request; class TripController extends Controller { public function index(){ $trips = Trip::all(); $data=[ 'trips' => $trips ]; return view('trips', $data); } }
@extends( back_view_path('layouts.base') ) @section('title', Lang::get("administrable::messages.default.add")) @section('content') <div class="main-content"> <div class="container-fluid"> <div class="page-header"> <div class="row align-items-end"> <div class="col-lg-8"> ...
<?php global $age_restriction; /* from: http://www.state.gov/misc/list/ var $blocks = $('blockquote[dir="ltr"]'); $blocks.each(function (i,e) { var $that = $(this), $rows = $that.find('> p > a'); $rows.each(function (i2, e2) { var country = $(this).text(); country = $.trim(country); c...
<?php namespace App\Providers; use App\Category; use App\GeneralSettings; use App\Menu; use App\Post; use App\Social; use Illuminate\Support\Facades\View; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any app...
@section('js') <script type="text/javascript"> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#showgambar').attr('src', e.target.result); } reader.readAsDataU...
<?php defined('C5_EXECUTE') or die("Access Denied."); /** * legacy * @private */ final class TaskPermission extends Permissions { public function getByHandle($handle) { $pk = PermissionKey::getByHandle($handle); return $pk; } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Admin extends Authenticatable { use Notifiable; protected $guard = 'admin'; protected $fillable = [ 'name', 'email', ...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit79f8b1e7668a36f95848abf2bbee97b8 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePacientesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pacientes', f...
<?php namespace App\Http\Requests\Account\TransactionHead; use Illuminate\Foundation\Http\FormRequest; class AddValidation extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; }...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBooksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('books', function ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="CERTIport is a Certificate-Portal which is aimed at putting an end to the issue forgery of institution certification"> <!-- Fav Icon --...
<?php declare(strict_types=1); /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\AdminBundle\Dependenc...
<?php /* Prototype : string chr ( int $ascii ) * Description: Return a specific character * Source code: ext/standard/string.c */ echo "*** Testing chr() : basic functionality ***\n"; echo chr(72). chr(101) . chr(108) . chr(108). chr(111); // Hello echo chr(10); // "\n" echo "World"; echo "\n"; ?> ===DONE===
<?php namespace HL7\FHIR\STU3\PHPFHIRTests; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: November 18th, 2019 08:27+0000 * * PHPFHIR Copyright: * * Copyright 2016-201...
<div class="btn-group col-xs-12" data-toggle="buttons" > <?php foreach ($players as $p): ?> <button class="btn btn-default ww-btn" type="button"> <input type="radio" name="drop" value="<?=$p->id?>" autocomplete="off"> <div><strong><?=$p->first_name.' '.$p->last_name?></strong> <span class="text-s2">(<?=$p->points...
<?php namespace App\Containers\Experiences\Actions; use App\Ship\Parents\Actions\Action; use App\Ship\Parents\Requests\Request; use Apiato\Core\Foundation\Facades\Apiato; class CreateExperiencesAction extends Action { public function run(Request $request) { $data = $request->sanitizeInput([ ...
@extends('layouts.app') @section('content') <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">{{trans('lang.product_order_plural')}}<small class="ml-3 mr-3">|</small><small>{{trans...
<?php namespace Symfony\Component\Security\Http\Tests\Authenticator; use PHPUnit\Framework\TestCase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface; use Symfony\Component\PasswordHasher\PasswordHasherInterface; use Symfony\Component\Security\Co...
<?php foreach($casillas_cerradas as $cp){ ?> <div class="col-lg-2 col-sm-12"> <div class="card "> <div class="content"> <div class="row"> <div class="col-xs-12"> <div class=""> <div class="text-center"><?=$cp...
@extends('web.app') @section('title') @lang('solution.title.compile_information_of_solution') @parent @stop @section('content') <pre>@if($solution->compileInfo) {{ $solution->compileInfo->content }}@endif </pre> @stop
<?php // =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_...
<?php /** * * @package Gems * @subpackage Snippets\Token * @author Matijs de Jong <mjong@magnafacta.nl> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License * @version $Id$ */ namespace Gems\Snippets\Token; /** * Snippet for showing the all tokens for a single respondent. * ...
<?php /* * This file is part of the FOSUserBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\UserBundle\Controller; use FOS\UserBundle\FO...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateConfigsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('configs', funct...
@include('components.form_errors') {{ csrf_field() }} <input type="hidden" name="id" value="{{ isset($clone) && $clone ? '' : (isset($item) ? $item->id : '') }}"> <div class="row"> <div class="col-xl-12"> <div class="card"> <div class="card-body"> <h4 class="card-title mb-4">{{ ...
<?php use yii\helpers\Html; echo Html::tag('h1', 'Title of Helpers Page'); echo Html::beginTag('p'); echo 'Test of begin and end methods'; echo Html::endTag('p'); $brandsArr = [ '1' => 'sony', '2' => 'lg', '3' => 'apple', '4' => 'samsung', ]; echo Html::dropDownList('Simple list', '2', $brandsArr); e...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |----------------------------...
<?php namespace App\Domain; use App\Domain\Exceptions\PaymentException; use App\Domain\Exceptions\PaymentRefundException; use App\Domain\Exceptions\PaymentRefundPartiallyException; use App\Domain\Exceptions\PaymentSaleException; use App\Domain\Exceptions\PaymentUpdateBillingAmountException; use App\Domain\Exceptions\...
@extends('layouts.app') @section('content') <div class="container text-center"> <h1>Home</h1> <a class="btn btn-primary" href="{{ route('admin.posts.index') }}">Gestisci le tue ricette</a> <div> oppure </div> <a class="btn btn-primary" href="{{ route('blog') }...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class CommentsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $faker=Faker\Factory::create('pl_PL'); for($i=1;$i<=20;$i++) { D...
<?php namespace common\models; use Yii; /** * This is the model class for table "pay_log". * * @property integer $id 支付记录ID * @property integer $user_id 用户ID * @property integer $loan_id 借款ID * @property string $plan_id 分期计划ID,多个ID使用,隔开 * @property integer $pay_type 支付类型:1-用户主动还款(认证支付)2-放款(实时支付)3-平台代扣(分期支付) *...
@extends('admin.layouts.app') @section('name_page') @if(app('request')->input('type') == 'rumours') <i class="fa fa-comments"></i> <span class="title-marg">Rumeurs</span> @else <i class="fa fa-exchange"></i> <span class="title-marg">Transferts</span> @endif @endsection @section('content') ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Haiku extends Model { // }
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-2 text-gray-800"><?= $title; ?></h1> <!-- Menampilkan pesan sweeetalert sesuai tombol aksi--> <div class="flash-data" data-flashdata="<?= $this->session->flashdata('message'); ?>"></div> <!-- DataTales...
@extends('layout.master') @section('title', 'New Teacher') @section('parentPageTitle', 'Teacher Area') @section('page-style') <link rel="stylesheet" href="{{asset('assets/plugins/bootstrap-material-datetimepicker/css/bootstrap-material-datetimepicker.css')}}"/> <link rel="stylesheet" href="{{asset('assets/plugins/boots...
<?php namespace VK\Actions\Enums; /** */ class AppsPlatform { /** */ const ANDROID = 'android'; /** */ const IOS = 'ios'; /** */ const WEB = 'web'; /** */ const WINPHONE = 'winphone'; }
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Documents\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for CheckPasswordStrengthRequest StructType * @subpackage Structs */ class CheckPasswordStrengthRequest extends AbstractStructBase { ...
@extends('layouts.default') @section('content') <div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800">Admin</h1> </div> <div class="card shadow mb-4"> <div class="card-header py-3"> ...
<!-- Navbar Right Menu --> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <!-- Messages: style can be found in dropdown.less--> <li class="dropdown messages-menu"> <!-- Menu toggle button --> <a href="#" class="d...
<?php namespace IntegrityInvoice\Services\Merchant; use IntegrityInvoice\Services\Validation\MerchantValidator as Validator; class Updater { private $listener; protected $validator; protected $merchant; public function __construct($merchant, $listener) { $this->validator = new Validator; $this->li...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBencana extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('bencana', function (...
<?php use zion\core\System; use zion\utils\TextFormatter; use zion\mod\builder\model\Text; $t = Text::getEntityTexts("builder","Text"); $objList = System::get("objList"); ?> <div class="table-responsive"> <table class="table table-striped table-hover table-bordered table-sm"> <thead> <tr> <td><input type="check...
<div class="jumbotron"> <div class="container"> <h1 class="display-3">Hello, world!</h1> <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more uniqu...
<h3><?php _e("Multisite role & access", 'multisite-role-popagination'); ?></h3> <table id="multisite-role-access" class="wp-list-table widefat fixed striped" style="max-width: 1200px;" class="widefat fixed" cellspacing="0"> <?php foreach ($data['sites'] as $siteChunk) { echo '<tr>'; ...
<?php // Start of openssl v. use JetBrains\PhpStorm\Deprecated; use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware; use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable; /** * Frees a private key * @link https://php.net/manual/en/function.openssl-pkey-free.php * @param OpenSSLAsymmetricKey|resource $k...
<!DOCTYPE html> <html lang="en"> <head> <title>Perpustakaan</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <!-- VENDOR CSS --> <link rel="stylesheet" hre...
@php $appSettings = new \App\Model\AppSettings(); $site_logo = $appSettings->getSingleModel(); @endphp @include('basic_urls') @include('modal') @php $users = auth()->user(); @endphp <script src="{{asset('dashboard/js/vertical-responsive-menu.min.js')}}"></script> <script src="{{asset('dashboard/js/jquery-3.3.1.min....
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use Auth; class UserSettingController extends Controller { public function form() { $data = User::where('id',Auth::id())->first(); return view('admin.pages.user.setting',['dt'=>$data]); } public function updat...
<form action="<?php echo $action; ?>" method="post"> <div class="form-group"> <label for="varchar">Nama Batch <?php echo form_error('nama_batch') ?></label> <input type="text" class="form-control" name="nama_batch" id="nama_batch" placeholder="Nama Batch" value="<?php echo $nama_batch; ?>" ...
<?php //echo $diff_time=(strtotime(date("Y/m/d H:i:s"))-strtotime("2019/02/01 10:23:45"))/60; $out = new DateTime("2020-10-22 17:13"); $in = new DateTime("2020-10-22 23:59"); // echo date_diff($out, $in)->format('%d Days %h hour minute %i'); // echo date_diff($out, $in)->format('%d Hari %h jam %i menit '); echo dat...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Eagle Financial</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> </head> <body> <div class="container"> <a href="{{ action('CustomerController@index') }}">Customers</a> | ...
<?php /*order page */ /* DOCS * * */ include('feed_state.php'); include('add_cart.php'); // require('../aws/aws-autoloader.php'); require('../aws/Aws/S3/S3Client.php'); require('../aws/Aws/S3/ObjectUploader.php'); use Aws\S3\S3Client; use Aws\Exception\AwsException; use Aws\S3\ObjectUploader; $s3=" "...
<?php $executionStartTime = microtime(true) / 1000; $ch_1 = curl_init('http://api.openweathermap.org/data/2.5/onecall?lat='.$_REQUEST['lat'].'&lon='.$_REQUEST['lng'].'&exclude=hourly&units=metric&appid=9d21adbaf29b1b1269b5d0eb5af76f9e'); $ch_2 = curl_init('http://api.geonames.org/citiesJSON?north='.$_REQUES...
<?php /** * StatusApi * PHP version 5 * * @category Class * @package FrankHouweling\AzureDevOpsClient\Build * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Build * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swa...