text stringlengths 2 1.03M |
|---|
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/gaming/v1/common.proto
namespace Google\Cloud\Gaming\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Encapsulates the Target state.
*
* Generate... |
@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-header">Dashboard</div>
<div class="card-body">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTableCountQueshtion extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('lesson_user'... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>首页</title>
<link rel="stylesheet" href="../../../assets/aceadmin/bootstrap-3.3.5/css/bootstrap.min.css" />
<link rel="stylesheet" href="../../../assets/aceadmin/bootstrap-3.3.5/css/bootstrap-theme.min.css" />
<link rel="styleshee... |
<?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 ... |
<?php
/**
* Created by PhpStorm.
* User: webid
* Date: 18-1-12
* Time: 下午2:46
*/
namespace mmxs\Bundle\CommandLogBundle\Model;
use GuzzleHttp\Client;
class ApiHandler implements HandlerInterface
{
const PATH_START = 'command/{token}/start';
const PATH_ERROR = 'command/{token}/error';
const PATH_TERM... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\MessageQueue\Subscriber;
use Symfony\Component\Messenger\Event\WorkerRunningEvent;
use Symfony\Component\Messenger\EventListener\StopWorkerOnTimeLimitListener;
class CountHandledMessagesListener extends StopWorkerOnTimeLimitListener
{
private $hand... |
<?php
namespace Mehnat\User\Entities;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use StatusTrait;
/**
* The "booted" method of the model.
*
* @return ... |
<?php
declare (strict_types=1);
namespace PHPStan\Type\PHPUnit\Assert;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Analyser\SpecifiedTypes;
use PHPStan\Analyser\TypeSpecifier;
use PHPStan\Analyser\TypeSpecifierAwareExtension;
use PHPStan\Analyser\TypeSpecifierContext;
use PHPStan\Refle... |
<?php
/* @FOSUser/Profile/edit_content.html.twig */
class __TwigTemplate_610238607e7b78a47f6318cc6295ba94b0d952794008f5b08634a0b6a23134fc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<?php
/**
* Plugin installation and activation for WordPress themes.
*
* Please note that this is a drop-in library for a theme or plugin.
* The authors of this library (Thomas, Gary and Juliette) are NOT responsible
* for the support of your plugin or theme. Please contact the plugin
* or theme author for suppor... |
<?php
namespace common\modules\admin\models;
use Yii;
use yii\db\Expression;
use yii\web\NotFoundHttpException;
use common\modules\people\models\ClinicEmployee;
/**
* This is the model class for table "log".
*
* @property integer $id_log
* @property integer $id_user
* @property string $type
* @property string ... |
<?php
/*
check_mysql_counters.php version 1.2
Licensed under the BSD simplified 2 clause license
Copyright (c) 2012, WebPT, LLC.
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 sour... |
<?php
use yii\db\Migration;
class m161206_082148_drop_unique extends Migration {
public function up() {
$this->dropIndex('user_unique_email', 'user');
}
public function down() {
echo "m161206_082148_drop_unique cannot be reverted.\n";
return false;
}
/*
// Use safeUp/safeDown to run migration code within... |
<?php
use yii\helpers\Html;
use \app\models\ar;
use \app\models\ar\Chapter;
/**
* Created by PhpStorm.
* User: ZyManch
* Date: 22.10.2016
* Time: 11:10
* @var $model ar\Manga\Model
* @var $chapter Chapter\Model
* @var $this \yii\web\View
*/
/** @var Chapter\Model $firstChapter */
$firstChapter = $model->getChap... |
<header class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="col-md-offset-1 col-md-10">
<a href="{{ route('home') }}" id="logo">Sample App</a>
<nav>
<ul class="nav navbar-nav navbar-right">
@if (Auth::check())
... |
@extends('admin.layouts.app')
@section('content')
<div class="page-header">
<h1>
Add a new tip
</h1>
</div><!-- /.page-header -->
@include('flash::message')
<div class="row">
<div class="col-sm-6">
<div class="widget-box">
<div class="widget-header">
<h4 class="w... |
<footer class="footer" id="site-footer">
<div class="container">
<div class="row">
<div class="info">
<div class="col-lg-6 col-lg-offset-3">
<div class="heading text-center">
<h3 class="heading-title" >{{$settings->site_name}}</h3>
... |
<?php
require 'config/config.php';
$Destino = new Destino;
$chequeo = $Destino->eliminarDestino();
$css = 'danger';
$mensaje = 'No se pudo eliminar el destino';
if( $chequeo ){
$css = 'success';
$mensaje = 'Destino '.$Destino->getDestNombre().' eliminado correctamente';
}
... |
<?php
namespace BookStack\Entities\Tools;
use BookStack\Entities\Models\BookChild;
use BookStack\Entities\Models\Entity;
use Illuminate\Support\Collection;
/**
* Finds the next or previous content of a book element (page or chapter).
*/
class NextPreviousContentLocator
{
protected $relativeBookItem;
protec... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\Models\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>anugrahmitraselaras.com</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="OneTech shop project">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="s... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Auteur extends Model
{
//
public function Conference(){
return $this->belongsTo(Conference::class);
}
public function Article(){
return $this->belongsTo(Article::class);
}
public function Chapter(){
ret... |
<?php
/**
* Created by PhpStorm.
* User: Thanlon
* Date: 2019/3/5
* Time: 20:02
*/
namespace Admin\Model;
use Think\Model;
use Think\Think;
header("content-type:text/html;charset=utf-8");
class CateModel extends Model
{
protected $insertFields = 'cate_name';
} |
<?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 ... |
<?php
namespace App\Http\Resources\Product;
use Illuminate\Http\Resources\Json\JsonResource;
class ProductResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace TonicHealthCheck\Check\Email;
use TonicHealthCheck\Check\AbstractCheck;
/**
* Class AbstractEmailCheck
* @package TonicHealthCheck\Check\Elasticsearch
*/
abstract class AbstractEmailCheck extends AbstractCheck
{
const COMPONENT = 'email';
const GROUP = 'web';
} |
<?php
namespace Illuminate\Foundation\Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Lang;
trait AuthenticatesUsers
{
use RedirectsUsers;
/**
* Show the application login form.
*
* @return \Illuminate\Http\Response
*/
public fun... |
@extends('layouts.back-end.app')
@section('title','Chat View')
@push('css_or_js')
<link href="{{asset('public/assets/back-end')}}/css/select2.min.css" rel="stylesheet"/>
<link href="{{asset('public/assets/back-end/css/croppie.css')}}" rel="stylesheet">
<meta name="csrf-token" content="{{ csrf_token() }}">
@... |
<?php
/*
|--------------------------------------------------------------------------
| Prettus Repository Config
|--------------------------------------------------------------------------
|
|
*/
return [
/*
|--------------------------------------------------------------------------
| Repository Pagination... |
@extends('layout.page')
@section('stylecss')
<style media="screen">
.img-avatar-xs {
width: 30px;
height: 30px;
/* border: 1px solid #c0c0c0; */
border-radius: 30px;
}
.a-line {
line-height: 30px;
}
</style>
@endsection... |
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/backend/css/plugins/datatables.bootstrap.min.css') ?>" />
<div id="content">
<?= Components::load('panel') ?>
<?= $this->session->flashdata('notif'); ?>
<div class="col-md-12 padding-0">
<div class="col-md-12">
<div class="panel">
<div... |
<?php
Route::get('/', 'HomeController@index');
Route::get('clans', ['as' => 'clans', 'uses' => 'ClanController@index']);
Route::get('clan/{id}/{slug}', ['as' => 'clan', 'uses' => 'ClanController@show']);
Route::get('servers', ['as' => 'servers', 'uses' => 'ServerController@index']);
Route::get('server/{id}/{slug}', ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddColumnInCompanies extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('companies', fu... |
<?php
namespace App\Policies;
use App\Models\Articulo;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class ArticuloPolicy
{
use HandlesAuthorization;
/**
* Create a new policy instance.
*
* @return void
*/
public function __construct()
{
//
}
... |
@extends('adminlte::page')
@section('plugins.Select2', true)
{{--<script src="{{asset('js/jquery-3.4.1.js')}}"></script>--}}
{{--<link rel="stylesheet" href="{{asset('css/bootstrap.css')}}">--}}
{{--<script src="{{asset('js/popper.min.js')}}"></script>--}}
{{--<script src="{{asset('js/bootstrap.js')}}"></script>--}}
... |
<?php
use Phinx\Migration\AbstractMigration;
class FillDefaultModuleData extends AbstractMigration
{
/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* http://docs.phinx.org/en/latest/migration... |
<?php
namespace tests\unit\v1\helpers;
use yii2lab\test\Test\Unit;
use yii2module\account\domain\v2\helpers\LoginHelper;
class LoginHelperTest extends Unit
{
public function testPregMatchLoginInternationalFormat()
{
$this->tester->assertEquals('77758889900', LoginHelper::pregMatchLogin('77758889900'));
$this... |
<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
... |
<!DOCTYPE html>
<html lang="ja">
<head>
<title>My Portforio</title>
<!-- Required meta tags -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link re... |
<?php
echo "===Empty===\n";
$it = new AppendIterator;
foreach($it as $key=>$val)
{
echo "$key=>$val\n";
}
echo "===Append===\n";
$it->append(new ArrayIterator(array(0 => 'A', 1 => 'B')));
foreach($it as $key=>$val)
{
echo "$key=>$val\n";
}
echo "===Rewind===\n";
foreach($it as $key=>$val)
{
echo "$key=>$val\... |
<?php
namespace Database\Seeders;
use App\Models\Llanta;
use Illuminate\Database\Seeder;
class LlantaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$llanta1= new Llanta();
$llanta1->id= 1;
$llanta1->vehiculo_id... |
<?
$MESS["DOCS_MENU_ALL_DOCS"] = "All Documents";
$MESS["DOCS_MENU_SHARED"] = "Company Drive";
$MESS["DOCS_MENU_SALE"] = "Sales and Marketing";
$MESS["DOCS_MENU_MANAGE"] = "Top Management's documents";
$MESS["DOCS_MENU_FOLDER"] = "File Archive";
?> |
<?php
class EmailRevisionRequestedChanges implements PublicEmailBody {
/** @var string */
public $transactionLink;
/** @var string|null @deprecated */
public $mainComment;
/** @var EmailCommentMessage|null */
public $mainCommentMessage;
/** @var EmailInlineComment[] */
public $inlineComments;
/** @v... |
<?php
namespace Sddp\Request\V20190103;
/**
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
*
* Request of CreateDataLimit
*
* @method string getPassword()
* @method string getSourceIp()
* @method string getConnector()
* @method string getDataLimitList()
* @method string getLang()
* @meth... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\mahasiswaController;
Route::get('/mahasiswa', [mahasiswaController::class, 'mahasiswa'])->name('mahasiswa');
Route::post('/mahasiswa',[mahasiswaController::class,'data'])->name('mahasiswa');
Route::get('/', function () {
return view('welcome');... |
<?php
namespace CPLNet\Support\Grid;
use Illuminate\Database\Eloquent\Builder;
abstract class JQGrid{
protected $builder;
protected $fields;
protected $records;
protected $page;
protected $sidx;
protected $sord;
protected $totalPages;
protected $skip;
protected $take;
protected $builderCriteria;
prote... |
<?php
declare(strict_types=1);
namespace RidiPay\Library\Pg\Kcp;
class Order
{
/** @var int KRW 최소결제금액 */
public const GOOD_PRICE_KRW_MIN = 100;
/** @var string */
private $id;
/** @var string */
private $good_name;
/** @var integer */
private $good_price;
/** @var string */
... |
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
... |
<?php
namespace AmazonPay;
require_once 'AmazonPay/Client.php';
require_once 'AmazonPay/ResponseParser.php';
require_once 'Signature.php';
class ClientTest extends \PHPUnit_Framework_TestCase
{
private $configParams = array(
'merchant_id' => 'MERCHANT1234567',
'access_key'... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Turkish Auth Language Lines
|--------------------------------------------------------------------------
*/
'failed' => 'Bu kimlik bilgileri, bizim kayıtlarımız ile eşleşmiyor.',
... |
<?php
namespace MyCp\MobileFrontendBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
class FavoriteController extends Controller
{
public function insertAction() {
$request = $this->getRequest();
$em = $this->getDoctrine()-... |
<?php
namespace Logeecom\Infrastructure\TaskExecution\Events;
use Logeecom\Infrastructure\TaskExecution\QueueItem;
use Logeecom\Infrastructure\Utility\Events\Event;
/**
* Class BeforeQueueStatusChangeEvent.
*
* @package Logeecom\Infrastructure\Scheduler
*/
class BeforeQueueStatusChangeEvent extends Event
{
/... |
<?php
namespace JansenFelipe\NFePHPSerialize\NotaFiscal\TNFeType\InfNFeAType\TotalAType;
/**
* Class representing RetTribAType
*/
class RetTribAType
{
/**
* Valor Retido de PIS
*
* @property string $vRetPIS
*/
private $vRetPIS = null;
/**
* Valor Retido de COFINS
*
*... |
<?php
namespace em\embed;
use Yii;
use yii\bootstrap\Widget;
/**
* Class Embed
*
* @package common\widgets
*/
class Embed extends Widget
{
/**
* @var string
*/
public $url = '';
/**
* @var array
*/
public $embedOptions = [];
/**
* @var AdapterInterface
*/
... |
<?php
namespace Statikbe\LaravelMailEditor\Interfaces;
use Illuminate\Mail\Mailable;
interface MailRenderEngine
{
/**
* Here you can define how and what the mailable should render
*
* @param \Illuminate\Mail\Mailable $mailable
* @return \Illuminate\Mail\Mailable
*/
public function __... |
<form id="fm" method="post" novalidate style="margin:0;padding:20px;">
<input type="hidden" name="oper" id="oper" value="edit">
<?php $this->load->view('serving/form'); ?>
</form> |
<?php
require 'banco.php';
if ( !empty($_POST)) {
$tipo = $_GET['tipo'];
if ($tipo == 'i'){
$nome = $_POST['nome'];
$descricao = $_POST['descricao'];
$preco = $_POST['preco'];
$pdo = Database::conne... |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddFieldToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', functi... |
<?php
use App\Common;
?>
@extends ('layout.app')
@section('content')
<!-- Bootstrap Boilerplate... -->
<h1 text-align="center"> Logbook </h1>
<div class="panel-body">
@if (count($logs) > 0)
<table class="table table-striped task-table" border="1" width="100%"
style="border-collapse:collapse;font... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js" integrity... |
<?php
ini_set('memory_limit', '-1');
?>
<section id="content">
<section class="main padder">
<div class="clearfix">
<h4><i class="fa fa-edit"></i><?php if($pageSource=='add'){ echo "Add Callback Message";}else{ echo "Edit Callback Message";}?></h4>
</div>
<?php
$returnMSGError=$this->se... |
<?php
use yii\widgets\ActiveForm;
use yii\helpers\Url;
use yii\helpers\Html;
?>
<?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]) ?>
<?= $form->field($model, 'imageFile')->fileInput() ?>
<?= Html::submitButton('Загрузить') ?>
<?php ActiveForm::end() ?>
<hr>
<?php
$dir = 'im... |
<?php
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| b... |
@extends('layouts.admin')
@section('title', 'Create Subjects')
@section('content')
<div class="container">
{{-- container start --}}
<div class="row">
{{-- row start --}}
<div class="col-md-12 mx-auto mt-5">
{{-- col md start --}}
<div class="panel panel-default">
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Charity extends Authenticatable
{
use Notifiable;
protected $guard = 'charity';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBankDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bank_detail... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2015/5/22
* Time: 16:36
*/
namespace Home\Model;
use Think\Model;
class Category extends Model{
protected $tableName = 'category';
} |
<?php
namespace JDR\Uuid\Doctrine\ODM;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\Id\AbstractIdGenerator;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
class UuidGenerator extends AbstractIdGenerator
{
/**
* Generates an identifier for an entity.
*
* @param \Doctrine... |
<div class="deck_builder-card-container card-id-{{$card['cardId']}}" data-cardid="{{$card['cardId']}}">
@foreach ($card['ids'] as $cardId)
@if (empty($mode) || $mode != 'empty' || (!empty($show) && in_array($cardId, $show)))
@if (empty($hide) || !in_array($cardId, $hide))
<div class="non-game-ca... |
<?php
namespace app\components;
use Yii;
use yii\db\Query;
use app\models\log\AppAuditTrail;
class TrackLogHelpers {
public static function insertTrailUser($data_insert, $data_user = null) {
$user_id = '';
$email = '';
if (isset(Yii::$app->user->identity->username)) {
$user_id = (st... |
<?php
/*
Blossom Server 1.3
Copyright (C) 2011 Jacob Grahn <contact@jiggmin.com>
See http://blossom-server.com/ for more information
Blossom Server is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either ... |
<?php
namespace my\user\frontend;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'my\user\frontend\controllers';
public function init()
{
parent::init();
// custom initialization code goes here
}
} |
<?php
namespace BiberLtd\Bundle\SiteManagementBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
... |
<?php namespace App\Models;
class CotizacionClass extends Conexion {
public function __construct(){
parent::__construct();
}
public function getTop100InvArticulos() {
//Query de consulta con parametros para bindear si es necesario.
$query = "
SELECT top 1* FROM I... |
<?php
define('CURSCRIPT','template');
require_once dirname(__FILE__)."/global.php";
require_once MYMPS_INC."/db.class.php";
$part = $part ? $part : 'list';
(!defined('IN_ADMIN') || !defined('IN_MYMPS')) && exit('Access Denied');
chk_admin_purview("purview_Template");
$defaultset['portal'] = array(
'banmian'=>'por... |
<?php
namespace BambooHR\Guardrail\Checks;
use BambooHR\Guardrail\Output\OutputInterface;
use BambooHR\Guardrail\Scope;
use BambooHR\Guardrail\SymbolTable\SymbolTable;
use BambooHR\Guardrail\TypeInferrer;
use BambooHR\Guardrail\Util;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Stmt\ClassLike;
/*... |
<?php
namespace Evernote\Model;
class SearchResult
{
public $guid;
public $type;
public $title;
public $created;
public $updated;
} |
<?php
/*
* Copyright (c) Tyler Sommer
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
namespace Nice\DependencyInjection\ConfigurationProvider;
use Nice\DependencyInjection\ConfigurationProviderInterface;
use Symfony\Component\Con... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddAvatarUser extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function($tab... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function __construct()
{
parent::__construct();
is_logged_in();
$this->load->helper('tglindo');
$this->load->helper('rupiah');
$this->load->helper('url'... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Auth;
class Project extends Model
{
protected $fillable = [
'userid',
'img',
'title',
'body',
];
public function save(... |
<?php $__env->startSection('content'); ?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1> <?php echo e(trans('labels.Setting')); ?> <small><?php echo e(trans('labels.Setting')); ?>...</small> </h1>
<ol class="breadcrumb">
<li><a href="<?php e... |
<?php
namespace RandomState\Stripe\Contracts;
interface Invoices extends Creatable, Updatable, Retrievable, Listable
{
public function items() : InvoiceItems;
} |
@extends('backend.layouts.app')
@section('title', __('labels.backend.access.users.management') . ' | ' . __('labels.backend.access.users.create'))
@section('breadcrumb-links')
@include('backend.auth.user.includes.breadcrumb-links')
@endsection
@section('content')
{{ html()->form('PATCH', route('settings.book... |
<body class="bgforagent login">
<x-frontend.card>
<x-slot name="body">
<a href="{{ get_setting('app_url') }}">
<img src="{{ asset('img/logo/' . get_setting('app_logo')) }}"
alt="{{ get_setting('app_name_short') }}" style="width:300px">
</a>
... |
<?php
/**
* \name save.php
* \author Marc-Olivier Bazin-Maurice
* \version 1.0
* \date 2018-04-18
*
* \brief Sauvegarde un Material
* \details Sauvegarde un Material
*/
// Structure de retour vers javascript
$responseArray = array("status" => null,... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\StaticPagesController as StaticPages;
use App\Http\Controllers\UsersController as Users;
use App\Http\Controllers\SessionsController as Sessions;
use Illuminate\Contracts\Session\Session;
use Illuminate\Support\Facades\Auth;
/*
|--------------------... |
<?php
namespace yeboahnanaosei\FayaSMS;
/**
* FayaSMS provides an easy way to communicate with the FayaSMS API
*
* This wrapper allows you to hit all the endpoints provided by FayaSMS. With this wrapper you can:
* - Send an SMS
* - Get an estimate on how much a message will cost
* - Retrieve all the messages you... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payments', fun... |
<?php
namespace App\Http\Controllers;
use PDF;
use Image;
use File;
use Session;
use App\Client;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
class AgentController extends Controller
{
public function index()
{
return view('agent.h... |
<?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;
/* @T... |
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title><?= $title ?></title>
<style>
.judulartikel{
margin-top: 90px;
margin-bottom: 10px;
margin-left: 50px;
}
.konten-artikel{
margin-top: 50px;
margin-left: 50px;
t... |
<?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
*/
namespace Nette\Latte\Macros;
use Nette;
use Nette\Latte;
/**
* Macro {cache} ... {/cache}
*
* @author David Grudl
*/
class CacheMacro extends Nette\Object implements Latte... |
<?php
/*
* This file is a part of Mibew Messenger.
*
* Copyright 2005-2019 the original author or authors.
*
* 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.o... |
<?php
/* Copyright (c) 2016 Tobias Buschor https://goo.gl/gl0mbf | MIT License https://goo.gl/HgajeK */
namespace qg;
$allow_login_as = $Cont->SET['allow_login_as']->setType('bool')->v || Usr()->superuser;
?>
<div class=beBoxCont>
<div class=c1-box style="flex:0 1 auto">
<div class=-head>Benutzer hinzufügen</div>
... |
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11... |
<?php
namespace common\behaviors;
use yii\base\Behavior;
use yii\db\BaseActiveRecord;
/**
* Created by PhpStorm.
* User: iron
* Date: 2018/9/15
* Time: 12:26
*/
class SaveTimeBehavior extends Behavior
{
public $createdAttribute = 'created_at';
public $updatedAttribute = 'updated_at';
public $attrib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.