text stringlengths 2 1.03M |
|---|
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yiiunit\extensions\elasticsearch\data\ar;
/**
* ActiveRecord is ...
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class ActiveRecord exten... |
<?php
/**
* Pi Engine (http://pialog.org)
*
* @link http://code.pialog.org for the Pi Engine source repository
* @copyright Copyright (c) Pi Engine http://pialog.org
* @license http://pialog.org/license.txt BSD 3-Clause License
*/
namespace Module\Page\Api;
use Pi;
use Pi\Application\Ap... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace maiorADV\eBaySDK\PostOrder\Types;
use maiorADV\eBaySDK\StatusCodeTrait;
use maiorADV\eBaySDK\HttpHeade... |
<div class="row">
<div class="col-md-8 offset-md-2">
<div class="row">
<div class="col-md-12">
<span class="field">Name</span>
<span class="field-value"><?= ucfirst($user[0]['firstname']).' '.ucfirst($user[0]['lastname']) ?></span>
</div>
</div>
<div class="row">
<div cla... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the valid... |
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use DB;
use Exception;
use App\System\Eloquent\SysSetting;
use App\System\Eloquent\ApiAccessLogs;
class RemoveLogs extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $s... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use App\Models\DeliveryAddress;
use App\Models\User;
use App\Repositories\DeliveryAddressRepository;
use Flash;
use Illuminate\Http\Request;
use InfyOm\Generator\Criteria\LimitOffsetCriteria;
use Prettus\Repository\Criteria\RequestCriteri... |
<?php
/*
* This file is part of the Kuiper package.
*
* (c) Ye Wenbin <wenbinye@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace kuiper\swoole\server\workers;
use kuiper\swoole\Conne... |
<?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... |
@extends('layouts/app')
@section('content')
<br>
<br>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">Login Details</a></... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Track Order | <?= PROJECT_NAME; ?></title>
<link rel="stylesheet" href="<?= base_url(); ?>assets/track/style.scss">
<link href="<?php echo base_url() . 'asset... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Voyage - Free Bootstrap 4 Template by Colorlib</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700" rel="styles... |
<!-- Sidebar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
... |
<!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... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Data Tables</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootst... |
@include('layouts.dashboard.header')
@include('layouts.dashboard.sidebar')
<style>
td{
position: relative;
}
td audio {
position: absolute;
top: 1.6rem;
left: 0.6rem;
width: 100%;
height: 45px;
}
table.table td {
border-top: none;
/* padding: 22px 20px; */
}
.viewBtn{
... |
<!DOCTYPE html>
<html lang="en">
<?php include_once 'templates/head.php'; ?>
<body>
<?php include_once 'templates/header.php'; ?>
<!-- *****************************************************************************************************************
BLUE WRAP
****************... |
<?php
namespace App\Http\Controllers;
use App\Models\Payment;
use App\Models\Student;
use Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
use Paystack;
class PaymentController extends Controller
{
/**
* Redirect the User to Paystack Payment Page
* @return Url
*/
pub... |
<?php
/*
* Based on some work of autoptimize plugin
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
abstract class Breeze_MinificationBase {
protected $content = '';
protected $tagWarning = false;
protected $cdn_url = '';
public function __construct( $content ) {
$this->content... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstr... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use app\models\Menus;
/* @var $this yii\web\View */
/* @var $searchModel app\models\Loggers */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Menus';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="menus-index">
<h1><?= Html:... |
<?php
namespace XeroPHP\tests;
use XeroPHP\Application;
use XeroPHP\Application\PrivateApplication;
use XeroPHP\Webhook;
use XeroPHP\Webhook\Event;
class WebhookTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Application
*/
private $application;
public function setUp()
{
$con... |
<?php
/**
* Hoa
*
*
* @license
*
* New BSD License
*
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... |
<form method="post" action="<?php echo base_url();?>/admin/categories/cat_update_ctrl2/<?php echo $this->uri->segment(4);?>" class="form-inline">
<input type="text" name="cat_name" placeholder="enter category" value="<?php echo $res->category_name;?>" class="form-control" required>
<select name="cstatus" class="form-co... |
@extends('layouts.admin')
@section('title')
Edit Categories Page
@endsection
@section('content')
<h1>Edit Category</h1>
<div class="row">
<div class="col-sm-4">
{!! Form::model($category, ['method'=>'PATCH', 'action'=>['AdminCategoriesController@update', $category->id]]) !!}
... |
<?php
namespace Icecave\Siphon\Team;
use Icecave\Siphon\Schedule\Season;
use Icecave\Siphon\Sport;
/**
* Common implementation for response that operate per sport + season + team.
*/
trait TeamResponseTrait
{
public function __construct(
Sport $sport,
Season $season
) {
$this->setSp... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-body">
<form action="{{ route('user.update', Auth::id()) }}" id="form-update" >
... |
<?php
namespace ant\cart\models;
use Yii;
use yii\helpers\ArrayHelper;
use ant\helpers\Currency;
use ant\payment\models\PayableItem;
use ant\cart\models\Cart;
use ant\product\models\Product;
use ant\ecommerce\models\ProductVariant;
use ant\discount\helpers\Discount;
use ant\cart\components\CartableInterface as Cartab... |
<h1 class="af-half-border pt-2"> Siga nas redes sociais</h1>
<div class="row pt-2">
<?php echo do_shortcode("[smbtoolbar]"); ?>
</div> |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<?php
/**
*
*/
namespace App\Helpers;
class UserSystemInfoHelper
{
private static function get_user_agent(){
return $_SERVER['HTTP_USER_AGENT'];
}
public static function get_ip(){
$ipaddress = '';
if (isset($_SERVER['HTTP_CLIENT_IP']))
$ipaddress = $_SERVER['HTTP_CLIENT_IP']... |
<svg class="mr-4 h-6 w-6 text-amber-200 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M2 5a2 2 0 012-2h8a2 2 0 012 2v10a2 2 0 002 2H4a2 2 0 01-2-2V5zm3 1h6v4H5V6zm6 6H5v2h6v-2z" clip-rule="evenodd"/>
<path d="M15 7h1a2 2 0 012 2v5.5a1.5 ... |
@extends('layouts.master')
@section('styles')
<link rel="stylesheet" href="{{ asset('js/plugins/select2/css/select2.min.css') }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ttskch/select2-bootstrap4-theme@x.x.x/dist/select2-bootstrap4.min.css">
<link rel="stylesheet" href="{{ asset('js/pl... |
<?php
namespace frontend\controllers;
use Yii;
use app\models\Userspo;
use app\models\UserspoSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\web\UploadedFile;
use yii\filters\AccessControl;
/**
* UserspoController implements the CRUD actions for Userspo model.
... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Validator;
use DataTables;
use App\Helper;
use App\MenuSystem;
use App\Logo;
use App\Enquiries;
use App\EnquiriesData;
use App\EnquiriesComment;
use App\Language;
use Auth;
class EnquiriesController exte... |
<?php
namespace PHPixie\Database\Driver\Mongo;
class Connection extends \PHPixie\Database\Connection
{
protected $client;
protected $databaseName;
protected $database;
protected $lastInsertId;
public function connect()
{
$config = $this->config;
$options = $config->ge... |
@component('components.edit_card')
@slot('title')
Editar datos de la Comunidad
@endslot
@slot('bodycard')
{!! Form::model($community_edit, ['route' => ['update_communities', $community_edit[0]->id],'method' => 'POST', 'class' => 'save_date']) !!}
<div class="col-sm-6">
... |
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from technext.github.io/stayhome/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 25 Aug 2020 16:51:29 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
<title>Stayhome -... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ArticleController extends Controller
{
public function index($id)
{
return 'Halaman Article Dengan Id '.$id;
}
} |
<?php
namespace Nuwave\Lighthouse\Execution\DataLoader;
use Illuminate\Support\Collection;
use Nuwave\Lighthouse\Execution\QueryUtils;
use Nuwave\Lighthouse\Execution\Utils\Cursor;
use Nuwave\Lighthouse\Execution\Utils\Pagination;
use Nuwave\Lighthouse\Schema\Directives\Fields\PaginationManipulator;
class RelationBa... |
<?php namespace Mews\Phpthumb;
use Illuminate\Support\ServiceProvider;
class PhpthumbServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the application events.
*
* @return void
*/
public fun... |
<?php
namespace App\Repository\Movie;
use App\Entity\Movie\Episode;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* @method Episode|null find($id, $lockMode = null, $lockVersion = null)
* @method Episode|null findOneBy(array $criteria, arr... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\PenggunaModel;
use Illuminate\Support\Facades\Validator;
use DB;
use App\Models\SubKriteriaModel;
use PDF;
class SubKriteriaController extends Controller
{
public function index()
{
... |
<?php
/**
*
*/
use Dompdf\Dompdf;
class Penilaian extends CI_Controller
{
var $data;
public function __construct()
{
parent::__construct();
$this->load->model('sisfo/Penilaian_model');
$this->load->model('sisfo/Siswa_model');
$this->load->model('sisfo/Mengajar_model');
$this->load->model('sisfo/Dashboard... |
<?php
/**
* Function related to authentication functions and nonces
*/
/**
* Show login form if required
*
*/
function yourls_maybe_require_auth() {
if( yourls_is_private() ) {
yourls_do_action( 'require_auth' );
require_once( YOURLS_INC.'/auth.php' );
} else {
yourls_do_action( 'require_no_auth' );
}
}... |
<?php
return [
'view_index_add_type' => 'Seitentyp',
'view_index_type_page' => 'Seite',
'view_index_type_module' => 'Modul',
'view_index_type_redirect' => 'Weiterleitung',
'view_index_as_draft' => 'Als Vorlage',
'view_index_as_draft_help' => 'Möchtest du diese neue Seite als Vorlage hinterlegen... |
@extends('layout')
@section('content')
<header>
<div class="row">
<div class="large-12 column">
<h4 id="cat-header">Dump the Goo and get the Patch!</h4><hr>
<img class="main-image" src="http://i.picresize.com/images/2016/01/31/Zvxkg.jpg">
</div>
... |
<?php
use Illuminate\Database\Seeder;
use App\Models\User;
class UsersTableSeeder extends Seeder
{
public function run()
{
// 获取 Faker 实例
$faker = app(Faker\Generator::class);
// 头像假数据
$avatars = [
'https://fsdhubcdn.phphub.org/uploads/images/201710/14/1/s5ehp11z6s... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ta... |
<?php
declare(strict_types=1);
namespace Symplify\PHPStanRules\Tests\Rules\Complexity\ForbiddenSameNamedAssignRule\Fixture;
final class SkipSwitch
{
public function run($value)
{
switch ($value) {
case 1:
$start = 1;
case 2:
$start = 2;
... |
<!DOCTYPE html>
<html>
<head>
<title>Laravel Crud Application</title>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script s... |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php
/*
* This file is part of Gush package.
*
* (c) Luis Cordova <cordoval@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Gush\Subscriber;
use Gush\Adapter\Adapter;
use Gush\Application;
use Gush\Config;
use Gush\Except... |
<?php
session_start();
session_unset();
session_destroy();
header("Location: index.php");
?> |
<form role="form" action="" method="post" name="filterForm" id="filterForm">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="row">
<div class="col-md-5">
<div class="form-group">
<label for="genderSelect">Gender</label>
<select class... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
* Les migrations sont associées au générateur de schéma de Laravel pour créer facilement le schéma de... |
@extends('templates.home')
@section('content')
<div class="row">
<div class="center">
<h5 class="light left">Piezas de género-</h5><h5 class="medium left"> {{ $genero->genero}} </h5>
</div>
</div>
@if(($piezas)==('[]'))
<h5 class=" center">No se han agregado piezas a la base de datos</h5>
@else
<div id="hi... |
<?php
namespace Czim\CmsMediaModule\Repositories;
use Czim\CmsMediaModule\Contracts\Repositories\MediaFileRepositoryInterface;
use Czim\CmsMediaModule\Models\MediaFile;
use Illuminate\Support\Collection;
class MediaFileRepository implements MediaFileRepositoryInterface
{
/**
* Returns all media files.
... |
<x-resume_project.layouts>
<x-slot name='title'>Contact Page</x-slot>
<x-slot name='content'>
<div class="text-white">
<div class="container m-t-5">
<h1 class="text-warning mb-5 boder-bottom">Contact Us</h1>
<div class="row text-white mb-5">
... |
<?php namespace Illuminate\Hashing;
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
class BcryptHasher implements HasherContract {
/**
* Default crypt cost factor.
*
* @var int
*/
protected $rounds = 10;
/**
* Hash the given value.
*
* @param string $value
* @param array $options
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
html {
margin: 0px;
}
body{
/*background-color: #632432;*/
font-family: Arial;
font-size: 10px;
margin: 0mm 10mm 10mm 10mm;
padding: 0;
}
#main-container{
margi... |
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<!-- Title and Meta Tags -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="profile"... |
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
<div class="sidebar-brand-icon rotate-n-15">
<i class="fas ... |
@extends('layout.layout')
@section('content')
<ul class="breadcrumb">
<li>
<i class="icon-home"></i>
<a href="index.html">Home</a>
<i class="icon-angle-right"></i>
</li>
<li><a href="#">Dashboard</a></li>
</ul>
{{-- showing msg --}}
@if(session('msg'))
<div class="alert alert-{{session('class')}} alert-dis... |
<?php
namespace App\Policies;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class PatientInformationPolicy
{
use HandlesAuthorization;
public function view(User $user): bool
{
return boolval($user->patientInformation);
}
public function create(User $user): bool
... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<div>
<div class="mx-auto card" style="width: 30rem;"><br>
<img class="mx-auto" style="width:350px; height:350px;"
src="{{Storage::disk('public')->url($ventas->foto !=null ?
$ventas->foto : 'images/usuarios/avatar.png')}}" alt="">
<div class="card-body">
<h6 cl... |
@extends('layouts.app')
@section('page', 'Request')
@section('page_description', 'List of all client')
@section('content')
<!-- Default ordering table start -->
<div class="card">
<div class="card-header">
<div class="row">
<div class="col-md-5">
<h5>
... |
<?php
use Illuminate\Database\Seeder;
class inventorySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('inventories')->insert([
'user_id' => 1,
'items_id' => 1,
]);
}
} |
<?php namespace Mtech\Sampling\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateMtechSamplingHistoryPg7 extends Migration
{
public function up()
{
Schema::table('mtech_sampling_history_pg', function($table)
{
$table->string('longitude_checki... |
<?php
namespace App\Http\Livewire\Admin;
use App\Models\HomeSlider;
use Livewire\Component;
class AdminHomeSliderComponent extends Component
{
public function deleteSlide($slide_id)
{
$slider = HomeSlider::find($slide_id);
$slider->delete();
session()->flash('message','slide has been ... |
<?php
use think\migration\Migrator;
use think\migration\db\Column;
use Phinx\Db\Adapter\MysqlAdapter;
class Playlist extends Migrator
{
/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* http://... |
<?php
$this->load->view('backend/header');
$this->load->view('backend/sidebar');
?>
<div class="page-wrapper">
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<h3 class="text-themecolor">Account</h3>
</div>
... |
{{-- TODO Language --}}
@extends('web.app')
@section('content')
<!-- ================================
Start Hero Area
================================= -->
<section class="breadcrumb-area">
<div class="container">
<div class="row">
<div class="col-md-12 breadcrumb-c... |
<?php
declare(strict_types=1);
namespace Stu\Module\Communication\Action\EditKnPlot;
use Stu\Lib\Request\CustomControllerHelperTrait;
final class EditKnPlotRequest implements EditKnPlotRequestInterface
{
use CustomControllerHelperTrait;
public function getPlotId(): int
{
return $this->queryPara... |
@extends('layouts.admin.app')
@section('title','Report')
@push('css')
<!-- DataTables -->
<link rel="stylesheet" href="{{asset('/admin')}}/plugins/datatables-bs4/css/dataTables.bootstrap4.css">
@endpush
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div c... |
<?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* ... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
<?php
use common\models\Producers;
$this->title = 'Request';
$this->params['breadcrumbs'][] = $this->title;
?>
<h1>
<? $producers = Producers::find()
->select('producer_name')
->leftJoin('film', '`film`.`producer_id` = `producers`.`id`')
->groupBy('film.producer_id')
->andFilterH... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Media extends Model
{
use HasFactory;
protected $fillable = [
'media',
];
} |
<?php
/**
* An extension to GridFieldExportButton to support downloading a custom Report as a CSV file
*
* This code was adapted from a solution posted in SilverStripe.org forums:
* http://www.silverstripe.org/customising-the-cms/show/38202
*
* @package securityreport
* @author Michael Armstrong <http://www.sil... |
<?php
namespace PgFramework\Jwt;
use Psr\Http\Message\ResponseInterface;
use Psr\Container\ContainerInterface;
use Tuupola\Middleware\JwtAuthentication;
class JwtMiddlewareFactory
{
/**
* JwtAuthentication Factory
*
* @param ContainerInterface $c
* @return JwtAuthentication
*/
publi... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tags', function (B... |
<?php
/**
* Create the link for a document style presentation
*/
?>
<a href="{site}/show/{type}/{name}" title="S5 slideshow" class="alt-show"> </a> |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table... |
<?php
namespace App\Http\Controllers;
use App\Competition;
use App\Http\Requests;
use App\Sport;
use Illuminate\Http\Request;
class SportController extends Controller
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$sp... |
<?php
use Wienkit\BeslistShopitemClient\BeslistShopitemClient;
use Wienkit\BeslistShopitemClient\Entities\PriceField;
use Wienkit\BeslistShopitemClient\Entities\ShippingField;
use Wienkit\BeslistShopitemClient\Entities\ShopItem;
use Wienkit\BeslistShopitemClient\Entities\StockField;
use Wienkit\BeslistShopitemClient\E... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\SubscribeSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="subscribe-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
<?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
namespace App\Http\Controllers;
use Auth;
use App\Models\Card;
use App\Models\Listing;
use Validator;
use Illuminate\Http\Request;
class CardsController extends Controller
{
//コンストラクタ (このクラスが呼ばれると最初にこの処理をする)
public function __construct()
{
// ログインしていなかったらログインページに遷移する(この処理を消すとログインしなくてもページを表... |
<?php
$viewdefs['Administration']['base']['layout']['outbound-emails-deployer'] = array(
'name' => 'main-pane',
'css_class' => 'main-pane row-fluid',
'type' => 'simple',
'span' => 12,
'components' => array(
array(
'view' => 'outbound-emails-deployer-header',
),
ar... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableTagSectionStyles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tag_se... |
<?php
namespace backend\controllers;
use backend\models\FinanceChannelBillTerm;
use backend\models\FinanceDeduction;
use backend\models\FinancePendingForm;
use Yii;
use backend\models\FinanceCompensation;
use backend\models\FinanceCompensationSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\... |
<header>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<... |
<?php
namespace Graphicms\Cms\Core\Fields;
use GraphQL\Type\Definition\Type;
use Illuminate\Support\Fluent;
abstract class BaseField extends Fluent
{
public $attributes = [];
public function __construct($attributes = [])
{
parent::__construct($attributes);
}
abstract public function fie... |
@extends('frontend.layouts.service_plan')
@section('title', 'SkyBorder' . ' | ' . $our_work->content_en)
@section('content')
<div class="head">
@lang('section1.company_name')
<a href="{{route('frontend.index')}}"><img src="{{asset('images/main-logo.png')}}" width="70" ></a>
<div>
<div class="description">... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCoinsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('coins', function ... |
<div class="box flat no-margin no-shadow samping-kanan" style="padding:5px;border:1px solid #eee">
<div class="box flat no-margin no-shadow bg-1">
<div class="box-body">
<b><i class="fa fa-user fa-fw"></i> EDIT DATA PEMBAYARAN RAWAT INAP</b>
</div>
</div>
<br>
<div class="box-body">
<?=$pesan;?>
<form action="<?... |
<?php
namespace Docker\Api\Normalizer;
use Jane\JsonSchemaRuntime\Reference;
use Jane\JsonSchemaRuntime\Normalizer\CheckArray;
use Symfony\Component\Serializer\Exception\InvalidArgumentException;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
use Symfony\Component\Serializer\Normalizer\Denorm... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.