text stringlengths 2 1.03M |
|---|
<?php
/**
* @package WP Smush
* @subpackage Admin
* @since 2.6
*
* @author Umesh Kumar <umesh@incsub.com>
*
* @copyright (c) 2016, Incsub (http://incsub.com)
*/
if ( ! class_exists( 'WpSmushDir' ) ) {
class WpSmushDir {
/**
* @var Contains a list of optimised images
*/
public $optimised_images;
... |
<?php
namespace Database\Factories;
use App\Models\Setting;
use Illuminate\Database\Eloquent\Factories\Factory;
class SettingFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Setting::class;
/**
* Define the mode... |
<?php include_once '../bpcodeigniter/app/Views/templates/header.php';?>
<!-- CONTENT -->
<div class="container justify-content-center" style="margin: auto;">
<div class="row centered-form">
<div class="col-xs-12 col-sm-8 col-md-10">
<div class="panel panel-default">
<div class="panel-heading">
<... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/5/15
* Time: 15:53
*/
namespace app\impressiom\controller;
use think\Controller;
use app\impressiom\model\DocumentsModel;
use think\Exception;
use app\Common\Cloud_webapi_client;
use app\impressiom\model\WiseDB;
use app\impressiom\model\WiseMod... |
<div class="container-fluid py-4">
<div class="row">
<!-- Page Heading -->
<div class="row mt-3 mb-4">
<div class="col-xl-3 col-sm-6 mb-xl-0 mb-4">
<div class="card">
<div class="card-body p-3">
<div class="row">
... |
<?php
namespace Klevu\Search\Model\Api\Request;
class Get extends \Klevu\Search\Model\Api\Request
{
public function __toString()
{
$string = parent::__toString();
$parameters = $this->getData();
if (count($parameters) > 0) {
array_walk($parameters, function (&$value, $key... |
<?php
namespace App\Observers;
use App\Models\Config;
class ConfigObserver
{
public function created ()
{
$this->saveConfigToCache ();
}
public function updated ()
{
$this->saveConfigToCache ();
}
public function saveConfigToCache ()
{
\Cache::forever ('config_cache',Config::pluck('data','name'));
... |
<?php
namespace SIDTT\Http\Middleware;
use Illuminate\Contracts\Auth\Guard;
use Session;
use Closure;
class al
{
protected $auth;
public function __construct(Guard $auth){
$this->auth= $auth;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
... |
<div id="modal" style="display: none;">
<div class="row">
<div class="four columns offset-by-four" style="top: -19em; position: relative;">
<h1>Update Record</h1>
<div id="validation-errors-update"></div>
<form>
<div id="update-form-fields">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Spatie\Permission\Models\Permission;
use Spatie\Permission\Models\Role;
class RoleController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()... |
<?php
/**
* SHEBanG enrolment plugin/module for SunGard HE Banner(r) data import
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, ... |
<?php declare(strict_types = 1);
namespace PHPStan\Analyser\ResultCache;
use PHPStan\Analyser\AnalyserResult;
use PHPStan\Analyser\Error;
use PHPStan\Command\Output;
use PHPStan\Dependency\ExportedNode;
use PHPStan\Dependency\ExportedNodeFetcher;
use PHPStan\File\FileReader;
use PHPStan\File\FileWriter;
use function ... |
<aside class="aside is-placed-left is-expanded ">
<div class="aside-tools ">
<div>
Admin <b class="font-black">One</b>
</div>
</div>
<div class="menu is-menu-main">
{{-- Sidebar Dashboard --}}
<ul class="menu-list mt-5">
<li class="">
<a href="{{ route('Teacher-dashboard') ... |
@extends('layouts.admin')
@section('contentheader_title')
@if( auth()->user()->can('View add equipment') )
{{ trans('message.title_equipment') }}
@else
{{ trans('message.denied') }}
@endif
@endsection
@section('breadcrumb_title')
@if( auth()->user()->can('View add equipment') )
{{ trans('message.b... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePageItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('page_items', ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Need;
class NeedLikeController extends Controller
{
// public function __construct ()
// {
// $this->middleware(['auth']);
// }
public function store(Need $need, Request $request)
{
// Das kann man beli... |
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.permissions.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.permissions.title') }}
@endsection
@section('container')
<u... |
<?php
namespace TargetConvert\Material;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller as BaseContr... |
@extends('layouts.default')
@section('content')
<div class="right_col" role="main">
<div class="row" style="display: inline-block;"></div>
<div class="page-title">
<div class="title_left">
<h3>Bagi Sales Internal RS</h3>
</div>
</div>
<div class="x_panel tile">
<d... |
<?php declare(strict_types=1);
/**
* @author Igor Nikolaev <igor.sv.n@gmail.com>
* @copyright Copyright (c) 2016-2019, Darvin Studio
* @link https://www.darvin-studio.ru
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
name... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
/**
* This file is part of the Bono CMS
*
* Copyright (c) No Global State Lab
*
* For the full copyright and license information, please view
* the license file that was distributed with this source code.
*/
namespace News\Storage;
interface PostGalleryMapperInterface
{
/**
* Fetch images by ... |
<?php
use yii\helpers\Url as Url;
class StudentCest
{
public function _before(\FunctionalTester $I)
{
$I->amOnPage(Url::toRoute('/index-test.php/student-management/student/create'));
}
public function studentPageWorks(FunctionalTester $I)
{
$I->wantTo('ensure that Student cre... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Swatches\Test\Unit\Block\Adminhtml\Attribute\Edit\Options;
use Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual;
/**
* Class \Magento\Swatches\Test\Unit\B... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://adminstyles/adminstyles.yaml',
'modified' => 1486931266,
'data' => [
'enabled' => true,
'preview' => false,
'styles' => [
0 => 'grav_admin',
1 => 'metal',
... |
<?php
namespace App\Http\Controllers\Patient;
use App\Http\Controllers\Controller;
use App\Models\Patient;
use App\Models\admin;
use App\Models\clinic;
use App\Models\nurse;
use App\Models\receipt;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class InvoicesController extends Con... |
<?php declare(strict_types=1);
namespace ProtoneMedia\LaravelContent\Middleware;
use Illuminate\Http\UploadedFile;
use ProtoneMedia\LaravelContent\Media\MediaRepository;
use Symfony\Component\HttpFoundation\File\File;
class ResolveMedia
{
private MediaRepository $mediaRepository;
public function __construct... |
<?php
namespace App\Repositories;
interface PermissionRepositoryInterface {
public function all();
public function find($id);
public function getPermission($slug);
public function create(array $data);
public function update(array $data, $id);
public function delete($id);
} |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\SupplierSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Suppliers';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="supplier-index">
<h1><?= Html::enc... |
<script type="text/javascript" src="packages/planif/dia_habil/controllers/dia_habilCtrl.js"></script>
<?php
$Nmenu = '301';
if(isset($_SESSION['usuario_cod'])){
require_once('autentificacion/aut_verifica_menu.php');
$us = $_SESSION['usuario_cod'];
}else{
$us = $_POST['usuario'];
}
?>
<div id="Cont_dia_habil">... |
@extends('admin.layout.app')
@section('content')
<div class="container">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row d-flex justify-content-center">
<d... |
<?php
namespace App\Enums;
class UserTypes
{
use Enumuble;
public const ADMIN = 'A';
public const SIMPLE = 'S';
public const MODERATOR = 'M';
} |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of PackageModel
*
* @author Colby TUTE
*/
class PackageModel extends CI_Model{
//put your code here
... |
<div>
<section class="pageBanner blog_details_banner" style="background-image: url({{asset('frontend')}}/dgita/images/bg/banner.png);">
<div class="vmiddle">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
... |
@extends('admin.layout')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
ADMIN PANEL
</h1>
</section>
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
*
*/
class Login extends MY_Controller
{
private $data = [];
public function __construct()
{
parent::__construct();
$username = $this->session->userdata('username');
if (isset($username))
{
redirect('Proses');
exit;
}
$th... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;
use App\user;
use App\question;
use DB;
use Excel;
class ExcelController extends Controller
{
public function importExport()
{
return view('users/show');
}
public function downloadExcel($type)
{
$data... |
<?php
declare(strict_types=1);
/**
* This file is part of config-anyway.
*
* @link https://github.com/friendofhyperf/config-anyway
* @document https://github.com/friendofhyperf/config-anyway/blob/main/README.md
* @contact huangdijia@gmail.com
* @license https://github.com/friendofhyperf/config-anyway/blob/... |
<div id="orders-info-modal" class="ui tiny modal">
<i class="close icon"></i>
<div class="content">
<h5 class="ui small header"> {{ __('translations.headings.tracking_number') }}: <span id="tracking-number-heading"></span> </h5>
</div>
</div> |
<?php
/*
* This file is part of the Hautelook\AliceBundle package.
*
* (c) Baldur Rensch <brensch@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hautelook\AliceBundle\Tests\Functional\TestBundle\Bundle\CBund... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="card-title">
<div c... |
@extends('backend.master')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
{{ ucwords($e['module']) }}
</h1>
<ol class="breadcrumb">
<li><a href="{{ route('backend.home') }}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a... |
<?php
namespace App\Smile\Tags;
use App\Exceptions\TransactionException;
class Creator
{
protected $repository;
protected $logged;
public function __construct(TagRepositoryInterface $repository)
{
$this->repository = $repository;
}
public function dataCreate()
{
return... |
@extends('userlayout')
@section('content')
<!-- header begin -->
<header class="transparent header-light scroll-light">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="de-flex sm-pt10">
<div class="de-flex-col">
... |
<?php
namespace App\Http\Controllers;
use League\Fractal\Manager;
use League\Fractal\Resource\Item;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
use League\Fractal\Serializer\JsonApiSerializer;
use App\Extensions\IlluminatePaginatorAdapter;
use Illuminate\Http\Request;
use Illumina... |
<?php
namespace App;
use Cache;
use Illuminate\Database\Eloquent\Model;
use Config;
class Hero extends Model
{
protected $fillable = ['title_en', 'title_nb', 'video', 'image'];
public function title(){
return ( strcmp(Config::get('app.locale'), 'en') ? $this->title_nb : $this->title_en);
}
p... |
<?php
namespace Tests\Fixture\Mapper\Benchmark\Group10;
use RestApiBundle\Mapping\Mapper;
class Model10 implements Mapper\ModelInterface
{
/** @Mapper\Expose */
public ?string $field1;
/** @Mapper\Expose */
public ?string $field2;
/** @Mapper\Expose */
public ?string $field3;
/** @Mapp... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Translation\Dumper;
use Symfony\Componen... |
<?php
namespace app\admin\model;
use think\Model;
class AuthGroupAccess extends Model
{
} |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\ContentBundle\Serializer\Subscriber;
use JMS\Serializer\EventDispatcher\Events;
use JMS\Serializer... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GreenLeafing</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/li... |
<?php
/**
* @see https://github.com/laminas/laminas-mvc-skeleton for the canonical source repository
* @copyright https://github.com/laminas/laminas-mvc-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-mvc-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_typ... |
<?php
declare(strict_types=1);
namespace Tests\Crmplease\Coder\Functional;
use Tests\Crmplease\Coder\FunctionalTestCase;
/**
* @author Mougrim <rinat@mougrim.ru>
*/
class AddToReturnArrayByKeyTest extends FunctionalTestCase
{
public function test(): void
{
$fixture = 'SomeClass';
$coder = $... |
<?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Clien... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Karyawan extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->helper('url');
$this->load->helper('date');
$this->load->model('M_karyawan','karyawan');
}
public function index()
{
$data['user... |
<!-- <div class="attend">
<h3 class="tittle atd">Are You Attending? RSVP here!</h3>
<div class="rsvp">
<form id="form" action="<?php echo site_url('home/doAttend');?>" method="post" >
<div>
<span><label>Bạn là</label></span>
<span><input name="attendee" type="text" class=... |
<?php
namespace datasets;
/**
* PHP version 5.6
*
* Class DataBaseRetailCrm - Data set for WC_Retailcrm_Base.
*
* @category Integration
* @author RetailCRM <integration@retailcrm.ru>
* @license http://retailcrm.ru Proprietary
* @link http://retailcrm.ru
* @see http://help.retailcrm.ru
*/
class D... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Suppliers;
class SupplierController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$suppliers = Suppliers::get();
... |
<?php
use ArieTimmerman\Laravel\SAML\SAML2\Constants;
return [
' https://example-sp.test/simplesaml/module.php/saml/sp/metadata.php/default-sp' => array(
'entityid' => ' https://example-sp.test/simplesaml/module.php/saml/sp/metadata.php/default-sp',
'contacts' =>
array(),
'metadata-set' => 'sa... |
<style>
.help-block {
color: red;
}
</style>
<div class="box box-default">
<div class="row" style="padding:10px;">
<div class="col-xs-12">
<table class="table information">
<tr>
<td style="width:25%">Jumlah pilihan ganda</td>
<td style... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/**
* Created by PhpStorm.
* User: sz
* Date: 09.06.15
* Time: 16:23
*/
namespace modules\directory\models\search;
use modules\directory\models\ShowplaceType;
use yii\data\ActiveDataProvider;
class ShowplaceTypeSearch extends ShowplaceType
{
public function rules()
{
return [
[... |
<div id="app">
<div class="main-wrapper">
<div class="navbar-bg"></div>
<nav class="navbar navbar-expand-lg main-navbar">
<form class="form-inline mr-auto">
<ul class="navbar-nav mr-3">
<li><a href="#" data-toggle="sidebar" class="nav-link nav-link-lg"><i class=""></i></a><... |
<?php
namespace Wifinder\CallbackBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Wifinder\CallbackBundle\Entity\Review;
use Wifinder\CallbackBundle\Form\ReviewType;
use Wifind... |
@extends('Admin.layout')
@section('content')
<div class="d-flex justify-content-between mb-3">
<h6>Students/Add New</h6>
<a class="btn btn-sm btn-primary " href="{{ route('Admin.students.index') }}">Back</a>
</div>
@include('Admin.inc.errors')
<form action="{{ route('Admin.students.store') }}" method="POST"... |
<?php
namespace App\Interfaces\Repositories;
interface ProductRepository
{
public function index();
public function getByIds(array $productIds);
public function show(int $category_id);
public function store();
public function update();
public function destroy();
} |
<?php
/**
* Name: Ion Auth Model
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Created: 10.01.2009
*
* Description: Modified auth system based on redux_auth with extensive customization. This is basically what Redux Auth 2 should be.
* Or... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreProductRequest;
use App\Http\Resources\ProductResource;
use App\Http\Resources\ProductsResource;
use App\Product;
use Illuminate\Http\Request;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Dingo\Api\Routing\Helpers;
class ProductsControl... |
<?php
/**
* @license MIT, http://opensource.org/licenses/MIT
* @copyright Aimeos (aimeos.org), 2014-2016
* @package symfony
* @subpackage Controller
*/
namespace Aimeos\ShopBundle\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
/**
* Aimeo... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Post;
use Session;
class PostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
// create a variable and store all... |
<h1>Hello User,</h1>
<p>You have an invitation to join a system.</p>
<a href="{{route('link'['token'=>$invite->token])}}">Click here</a> |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
|---------------------------------------... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\LaboratoriumKimiaSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Daftar Laboratorium Kimia';
$this->params['breadcrumbs'][] = $this->title;
?>
<?php // echo $this->r... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends Admin_Controller {
/**
* Constructor
*/
function __construct()
{
parent::__construct();
// load the language files
$this->lang->load('dashboard');
$this->load->model('transactio... |
<?php namespace Gas\Extension;
/**
* CodeIgniter Gas ORM Packages
*
* A lighweight and easy-to-use ORM for CodeIgniter
*
* This packages intend to use as semi-native ORM for CI,
* based on the ActiveRecord pattern. This ORM uses CI stan-
* dard DB utility packages also validation class.
*
* @package Gas... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\OtdelSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="otdel-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'options' =... |
<button id="rzp-button1" hidden>Pay</button>
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
<script>
var options = {
"key": "{{$response['razorpayId']}}", // Enter the Key ID generated from the Dashboard
"amount": "{{$response['amount']}}", // Amount is in currency subunits. Default curren... |
<!DO
<footer><small>©<?php echo date('Y'); ?> <?php siteName(); ?>.<br><?php siteVersion(); ?></small></footer>
</html> |
<?php
namespace PiouPiou\RibsAdminBundle\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Compone... |
<?php
namespace Tests\Feature;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class AdminUserTest extends TestCase
{
use RefreshDatabase;
private function actingAsAdmin()
{
$admin = User::factory(['role' =>... |
@extends('store.primary-master')
@section('content')
<div class="panel panel-default">
<div class="panel-heading"><h3>Contact</h3></div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item"><strong>Email</strong> contact@gameshop.dev</li>
... |
<?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
*
* @package symfony
* @subpackage plugin
* @a... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 applicable law or agreed t... |
<?php
// created: 2018-09-04 00:51:01
$dictionary['Lead']['fields']['jjwg_maps_lat_c']['inline_edit']=1;
?> |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\CatItemsToItems */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('backend', 'Cat Items To Items'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>... |
<?php
namespace App\Repositories;
use App\Models\Clothes;
use InfyOm\Generator\Common\BaseRepository;
/**
* Class ClothesRepository
* @package App\Repositories
* @version May 2, 2018, 5:19 am UTC
*
* @method Clothes findWithoutFail($id, $columns = ['*'])
* @method Clothes find($id, $columns = ['*'])
* @method... |
<?php
/**
* Bono - PHP5 Web Framework
*
* MIT LICENSE
*
* Copyright (c) 2014 PT Sagara Xinix Solusitama
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, includ... |
<?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2020 David Young
* @license https://github.com/aphiria/aphiria/blob/master/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Application\Builders;
use Aphiria\Application\IComponent;
use Aphiria\Application\IModule;... |
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{blocksearch}prestashop>blocksearch_e2ca130372651672ba285abd796412ed'] = 'Bloc recherche rapide';
$_MODULE['<{blocksearch}prestashop>blocksearch_be305c865235f417d9b4d22fcdf9f1c5'] = 'Ajoute un bloc avec un champ de recherche rapide';
$_MODULE['<{blocksearch}presta... |
@extends('layouts.adminlayapp')
@if (Auth::user()->company_id ==1)
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
@else
<link href="{{ asset('/css/app2.css') }}" rel="stylesheet">
@endif
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">... |
<?php
namespace Embed\Http;
use Embed\Utils;
use Exception;
use DOMDocument;
use SimpleXMLElement;
/**
* Class to consume http responses.
*/
class Response extends AbstractResponse
{
protected $content;
protected $xmlContent;
protected $jsonContent;
protected $htmlContent;
public function __co... |
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the private 'fos_user.change_password.form.type' shared service.
include_once $this->targetDirs[3].'\\vendor\\symfony\\symfony\... |
<?php
namespace Export2Pdf;
if ( ! defined( 'EXPORT2PDF_LOADED' ) )
die();
/**
* Exports an entry into a PDF file
*
* Used as a template class for exporting PDF or HTML file
*/
class Export
{
public $type = 'application/pdf'; // Exported file type
public $filename = 'Unknown.pdf'; // E... |
<?php
/**
* Redux Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
* Redux Framework is distributed in the hope that it will be useful,
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Model_rtlh extends CI_Model
{
public function get_table($limit, $start)
{
$this->db->select('perumahan__rtlh.id_rtlh as id_rtlh,reg__regencies.name as kabupaten, reg__districts.name as kecamatan, reg__villages.name as keluraha... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use App\User;
use App\Driver;
use App\Customer;
use Session;
use DB;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.