text stringlengths 2 1.03M |
|---|
<?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 App\Http\Requests\AdminAuth;
use Illuminate\Foundation\Http\FormRequest;
class PostRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
*... |
<?php namespace Illuminate\Database\Schema\Grammars;
use Illuminate\Support\Fluent;
use Illuminate\Database\Schema\Blueprint;
class PostgresGrammar extends Grammar {
/**
* The keyword identifier wrapper format.
*
* @var string
*/
protected $wrapper = '"%s"';
/**
* The possible column modifiers.
*
*... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Blank Page</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">
... |
@extends('layouts.layouts')
@section('title', 'Ultrabyte | Edit Categories')
@section('content')
<section class="content-header">
<small class="md-txt">Welcome @if(Auth::user()->hasRole('admin') == '1')Administrator @else {{ Auth::user()->first_name.' '.Auth::user()->last_name }} @endif, <a href="https://www.google.c... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitd541230609a25b41cee145b8b787ae8a
{
public static $files = array (
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
);
public static $pr... |
@if(count($errors->all()))
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">
<ul>
@foreach($errors->all() as $error)
<li> {{ $error }} </li>
@endforeach
</ul>
</di... |
<?php
/* @Security/Collector/icon.svg */
class __TwigTemplate_5870a82cc2ce6479d951b488e4d74f93725dfe606bfed464db546d362c9cd30e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
final class PHUIDiffTableOfContentsItemView extends AphrontView {
private $changeset;
private $isVisible = true;
private $anchor;
private $coverage;
private $coverageID;
private $context;
private $packages;
public function setChangeset(DifferentialChangeset $changeset) {
$this->changeset = ... |
<?php
// +----------------------------------------------------------------------
// | YunCMS
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://www.yunalading.com All rights reserved.
// +----------------------------------------------------------------------
/... |
<?php
/**
* @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
*/
namespace ZFTest\OAuth2\Controller;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
class AuthControllerWithMongoAdapterTest extends ... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use DB;
use App\Models\Major_subject;
use DataTables;
use Validator;
class MajorsubjectController extends Controller
{
//
function index(){
return view('Admin/major_subject/index');
}
... |
<?php
/**
* Created by PhpStorm.
* User: archer
* Date: 21.10.15
* Time: 21.11
*/
namespace Meggi\IndexBundle\Utility\Converter;
class Converter
{
protected $handler;
public function __construct(ConverterHandlerInterface $handler)
{
$this->handler = $handler;
}
public function conv... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Validation\Rule;
class Order extends Model
{
/**
* The Order situations that is an enum for status attribute.
*
* @var array
*/
public const statuses=[
'waiting',
'pre... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Add5d11d60f242f8RelationshipsToContactTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('contacts', function(Blueprint ... |
<?php
namespace App\Http\Controllers\Backend;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\FAQ;
use Validator;
use DB;
class FAQController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public funct... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class TestMail extends Mailable
{
public $subject = 'nihao';
use Queueable, SerializesModels;
/**
* Create a new message instance.... |
<?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\Console\Tests\Input;
use Symfony\Component\Console\In... |
<?php
/**
* Created by PhpStorm.
* User: xia
* Date: 2018/12/14
* Time: 11:26
*/
namespace app\admin\controller;
use app\common\model\Admin;
use think\App;
use think\Controller;
use think\facade\Session;
class Login extends Controller
{
public function __construct(App $app = null)
{
parent::__con... |
<?php
namespace App\Http\Controllers;
use App\Feedback;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class ContactUsController extends Controller
{
public function __construct()
{
$this->middleware('auth');
... |
<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>网站后台管理</title>
<link rel="stylesheet" type="text/css" href="/Public/Admin/css/common.css"/>
<link rel="stylesheet" type="text/css" href="/Public/Admin/css/main.css"/>
<link rel="shortcut icon" href... |
<?php
set_time_limit(0);
require_once("config.php");
$d= json_decode(file_get_contents("php://input"),TRUE);
$Accion = $d['Accion'];
$Usuario= $d['Usuario'];
$Clave= $d['Clave'];
$conexion= mysqli_connect(DB_SERVER,DB_USER,DB_PASS,DB_NAME,3306);
if (mysqli_connect_errno()) {
echo "Failed to c... |
@extends('layout.layout_admin')
@section('title', __('id.insert') . ' Pengusul')
@section('page')
@include('layout.flash_alert')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Overview content -->
<section class="content mt-3">
<!--Content -->
<section c... |
<?php
/**
* MapTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Swagger Petstore
*
* Th... |
<?php
namespace App\Http\Controllers;
use App\Categories;
use Illuminate\Http\Request;
class CategoriesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$categories = Categories::paginate... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header"><?php echo e(__('Register')); ?></div>
<div class="card-body">
<form ... |
<?php
namespace app\api\controller;
use app\base\BaseController;
use think\Request;
class Daren extends BaseController{
public function getDaRenUrl(){
$id = isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) ? $_REQUEST['id'] : "0";
$jsonKeyValConfig=require_once 'apps/config/jsonKeyValConfig... |
<?php
use App\Status;
use Illuminate\Database\Seeder;
class StatusSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run() {
Status::create([
'name' => 'Nuevo'
]);
Status::create([
'name' => 'Aceptado'
... |
<!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>Error not found</title>
</head>
<body>
<h1 class="display-2">Pagina no encontrada</h1>
</body>
</html> |
<?php
namespace common\models;
use Yii;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use common\components\ActiveRecord;
use yii\web\IdentityInterface;
use common\components\behaviors\SerializeAttributesBehavior;
/**
* Administrator model
*
* @property integer $id
* @property string $u... |
@extends('admin.master')
@section('content')
<ul class="bardump">
<li class="bardump-item">
<a href="{{ route('admin.brand.index') }}" target="_blank"
rel="noopener noreferrer">brands</a>
</li>
</ul>
<div class="top-title-box">
<h2>Brand</h2>
<div>
<a class="btn" href="{{ ro... |
<?php
namespace JiraRestApi\Auth;
use JiraRestApi\ClassSerialize;
class LoginInfo implements \JsonSerializable
{
use ClassSerialize;
/**
* @var int
*/
public $failedLoginCount;
/**
* @var int
*/
public $loginCount;
/**
* timestamp string "2017-12-07T09:23:17.771+00... |
<!-- ========== Left Sidebar Start ========== -->
<div class="vertical-menu">
<div class="h-100">
<div class="user-wid text-center py-4">
<div class="user-img">
<img src="{{asset('images/users/avatar-2.jpg')}}" alt="" class="avatar-md mx-auto rounded-circle">
</div>... |
<?php
use App\DatabaseModels\BottomBanner;
use Illuminate\Database\Seeder;
class BottomBannerTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::statement('SET FOREIGN_KEY_CHECKS=0');
BottomBanner::truncate();
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
@extends('web.app')
@section('title')
@lang('solution.title.source') :: @parent
@stop
@section('content')
<pre class="prettyprint linenums">
{{ $solution->source->code }}
</pre>
@stop
@section('scripts')
<script type="text/javascript"
src="{{ asset('assets/google-code-prettify/prettify.js?sk... |
@extends('admin.master')
@section('main')
{{-- {{dd($categories)}} --}}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row ... |
<header class="main_menu home_menu">
<div class="container ">
<div class="row align-items-center">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg navbar-dark ">
<a class="navbar-brand" href="{{route('home')}}"> <img src="fronte... |
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8" />
<title><?= TITULO ?></title>
<meta content="width=devi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateApplicantsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('applicants',... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Mvc\Router\Route;
... |
<?php
namespace Modules\Comments\Entities;
use App\Traits\BelongsToUser;
use App\Traits\Observable;
use App\Traits\Uploadable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Modules\Comments\Events\CommentCreated;
use Mo... |
<?php
namespace PacketPrep\Models\Exam;
use Illuminate\Database\Eloquent\Model;
class Excel extends Model
{
protected $fillable = [
'Sno',
'Name',
'Email',
'Phone',
'Score',
// add all other fields
];
} |
<?php
namespace BoomCMS\Tests\Chunk;
use BoomCMS\Chunk\Location;
use BoomCMS\Database\Models\Page;
use BoomCMS\Tests\AbstractTestCase;
use Lootils\Geo\Location as GeoLocation;
use Mockery as m;
class ChunkLocationTest extends AbstractTestCase
{
public function testTitleAndAddressAreDisabledByDefault()
{
... |
<?php /*session_start();
if(isset($_SESSION['uname']))
{*/
?>
<?php include "header1.php"; ?>
<?/*php include "menu/amenu3.php"; */?>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Add Project</h1>
</div>
... |
<?php
namespace Oro\Bundle\CalendarBundle\Tests\Unit\EventListener\Datagrid;
use Oro\Bundle\CalendarBundle\EventListener\Datagrid\SystemCalendarGridListener;
use Oro\Bundle\DataGridBundle\Datasource\ResultRecord;
use Oro\Bundle\DataGridBundle\Event\BuildAfter;
use Oro\Bundle\DataGridBundle\Event\BuildBefore;
use Oro\... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\IncomingFiles */
$this->title = 'Update Incoming Files: ' . $model->incId;
$this->params['breadcrumbs'][] = ['label' => 'Incoming Files', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->incId, 'url' => ... |
<?php
use App\CentroCusto;
use App\Http\Controllers\CentroCustoController;
use Illuminate\Http\Request;
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
//Route::get('/home', 'HomeController@index')->name('home');
Route::middleware(['auth'])->group(function () {
Route::get('dashboar... |
<header class="masthead mb-3 ">
<div class="inner">
<div class="d-flex">
<div class="p-2">
<h3 class="masthead-brand">Biodata</h3>
</div>
<div class="ml-auto p-3">
<small class="muted-text">Web Programming II</small>
</div>
... |
@extends('layouts.app')
@section('htmlheader_title')
{{ $pageTitle }}
@endsection
@section('contentheader_title')
{{ $pageTitle }}
@endsection
@section('contentheader_here')
{{ $pageTitle }}
@endsection
@section('main-content')
<div class="row"><div class="col-xs-12">
<ul class="nav nav-tabs">
<li class... |
<?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
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections ... |
<?php
namespace Database\Seeders;
use App\Models\Event;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class EventSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Event::factory()->coun... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class APIController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
namespace api\models;
//use common\models\query\PostQuery;
use common\models\User;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\web\IdentityInterface;
/**
* This is the model class for table "{{%post}}".
*
* @property integer $id
* @property integer $user_id
* @property i... |
<?php
namespace Srmklive\PayPal\Traits;
use Illuminate\Support\Collection;
trait PayPalRequest
{
use PayPalHttpClient;
/**
* Http Client class object.
*
* @var HttpClient
*/
private $client;
/**
* Http Client configuration.
*
* @var array
*/
private $http... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $user common\models\User */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/promijeni-lozinku', 'token' => $user->password_reset_token]);
?>
<div class="password-reset">
<p>Click on the link below to generate a new password:</p>
... |
<?php
namespace Huangdijia\Hprose;
use Exception;
use Illuminate\Support\Arr;
class Client
{
/**
* 连接池 \Hprose\Http\Client[]|\Hprose\Socket\Client[]
* @var
*/
protected $connections = [];
/**
* 构造实例
* @param \Illuminate\Contracts\Foundation\Application
*/
public functio... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v6/services/location_view_service.proto
namespace Google\Ads\GoogleAds\V6\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Request me... |
<?php
/*
* This file is part of the XiideaEasyAuditBundle package.
*
* (c) Xiidea <http://www.xiidea.net>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Xiidea\EasyAuditBundle\Logger;
use Xiidea\EasyAuditBundle\Entity\BaseAuditLog;
... |
<?php
declare(strict_types=1);
namespace App\Client\Register;
class RegisterPage
{
public function __invoke(): array
{
return [
'templateName' => 'Register',
'templateData' => [],
];
}
} |
<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* File: function.user_check_active.php
* Type: function
* Name: user_check_active
* Purpose: displays the activation status of a given username
* -------------------------------------------------------------
*/... |
<?php
/* @WebProfiler/Profiler/layout.html.twig */
class __TwigTemplate_a5cc8c8f092c34ebe8800a92c79e7b14f33cdeb755376cc83ca893f395496975 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate... |
<h5 class="page-header">Datos Beneficio
</h5>
<table class="table table-bordered table-striped">
<tbody>
@foreach($BENEFICIO as $CON)
<?php if (($BENEFICIO_id)==($CON->id)) { ?>
<tr>
<th align="left"> Id:</th> <td align="left"><?php echo $CON->id; ?> </td>
... |
<?php
/**
Copyright 2011-2016 Nick Korbel
This file is part of Booked Scheduler 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 is distribute... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
/**
* _ __ _ _
* | |/ /___ _ __ _ __ | |__ ___(_)___ ___ _ __
* | ' // _ \| '__| '_ \| '_ \ / _ \ / __|/ _ \ '__|
* | . \ (_) | | | | | | | | | __/ \__ \ __/ |
* |_|\_\___/|_| |_| |_|_| |_|\___|_|___/\___|_|
*
* Author homepage {@link https://github.co... |
@extends('layouts.app')
@section('content')
@if(session()->has('success'))
<div class="alert alert-success">
{{session()->get('success')}}
</div>
@endif
<div class="d-flex justify-content-end">
<a href="{{route('posts.create')}}" class="btn btn-success mb-2">Add post</a>
</div>
@if($posts->count()>0)
<div class="c... |
<?php
/*
* This file is a part of "comely-io/db-orm" package.
* https://github.com/comely-io/db-orm
*
* Copyright (c) Furqan A. Siddiqui <hello@furqansiddiqui.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code or visit following link... |
@extends('app')
@section('nav_left')
<li class="dropdown active">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">@yield('title')<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Image extends Model
{
use HasFactory;
//Relacion Polimorfica
public function imageable(){
return $this->morphTo();
}
} |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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://w... |
<?php
namespace AlibabaCloud\Ubsms\V20150623;
use AlibabaCloud\Client\Resolver\ApiResolver;
/**
* @deprecated
*/
class Ubsms extends ApiResolver
{
} |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Cartalyst\Sentinel\Checkpoints\NotActivatedException;
use Cartalyst\Sentinel\Checkpoints\ThrottlingException;
use Sentinel;
use Illuminate\Http\Request;
use... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
/**
* LoginForm is the model behind the login form.
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
private $_user = false;
/**
* @return array the validation rules.
*/
pu... |
<?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.... |
<?php
require_once $GOOGLE_API4_AUTOLOAD;
define('SCOPES', implode(' ', array(
Google_Service_Sheets::SPREADSHEETS)
));
date_default_timezone_set('America/New_York'); // Prevent DateTime tz exception
/**
* Returns a google API client using service account authentication.
* Note that the service account must hav... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class Navigation extends Component
{
public function render()
{
return view('livewire.navigation');
}
} |
@include('base/header_page')
@extends('base/script_page')
@section('content')
<div class="main">
<div class="card">
<div class="card-body">
<h2 class="form-title">Daftar Akun Inofa Courses</h2><br>
<p class="loginhere" style="color: #4a4a4a">
Da... |
<?php
namespace AlibabaCloud\Domain\V20180129;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of SaveSingleTaskForCreatingOrderTransfer
*
* @method string getPermitPremiumTransfer()
* @method string getPromotionNo()
* @method string getAuthorizationCode()
* @method string getUserClientIp()
* @metho... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
use App\Http\Controllers\BigFlipCallbackController;
use App\Http\Controllers\BigFlipController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\FbPController;
use App\Http\Controllers\ClosingRateController;
use App\Http\Controllers\OmsetController;
use App\Http\Control... |
<?php
class ET_Builder_Module_Field_Transform extends ET_Builder_Module_Field_Base {
private $processing_props = array();
public $defaults = array(
'scale' => '100%',
'translate' => '0px',
'rotate' => '0deg',
'skew' => '0deg',
'origin' => '50%',
);
public $allTransforms = array(
'scal... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateLevelRequest;
use App\Http\Requests\UpdateLevelRequest;
use App\Repositories\LevelRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Response;
class LevelController extends AppBaseController
{
/** @... |
--TEST--
ZE2 Destructing and references
--FILE--
<?php
class test1 {public $x;};
class test2 {public $x;};
class test3 {public $x;};
class test4 {public $x;};
$o1 = new test1;
$o2 = new test2;
$o3 = new test3;
$o4 = new test4;
$o3->x = &$o4;
$r1 = &$o1;
class once {}
$o = new once;
echo "Done\n";
?>
--EXPECT--
Do... |
@extends('layouts.admin.master')
@section('title','Tambah Data Poli')
@section('master','active')
@section('poli','active')
@section('content')
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Tambah Data Po... |
@extends('layout.app')
@section('content')
<link rel="stylesheet" href="https://cdn.materialdesignicons.com/3.3.92/css/materialdesignicons.min.css">
<link href="{{asset('css/tower-file-input.css')}}" rel="stylesheet" />
<script src="{{asset('js/tower-file-input.js')}}"></script>
<div style="margin-left: 1... |
<?php
namespace App\Http\Requests;
use Illuminate\Validation\Rule;
use Illuminate\Foundation\Http\FormRequest;
class RatingRequest 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;
use Illuminate\Support\Facades\DB;
class CreateFileEducationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Search\VentaganadoSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="ventaganado-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... |
<!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.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sh... |
<?php
global $evision_corporate_sections;
global $evision_corporate_settings_controls;
global $evision_corporate_repeated_settings_controls;
$evision_corporate_sections['evision-corporate-team'] =
array(
'priority' => 20,
'title' => __( 'Team section', 'evision-corporate' ),
'... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('companies', f... |
@extends('layouts.app')
@section('content')
<div class="nk-content nk-content-fluid">
<div class="container-xl wide-xl">
<div class="nk-content-inner">
<div class="nk-content-body">
<div class="nk-block-head nk-block-head-sm">
<div class="nk-block-betwee... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateChildVideosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('child_video... |
<main role="main" class="container">
<?php $this->load->view('layouts/_alert') ?>
<div class="row">
<div class="col-md-12">
<div class="card mb-3">
<div class="card-header">
Keranjang Belanja
</div>
... |
<?php
class Landing_Pages_Settings {
/**
* initiate class
*/
public function __construct() {
self::load_hooks();
}
/**
* Load hooks and filters
*/
public static function load_hooks() {
/* load settings scripts and styles */
add_action(... |
<?php $urlaction = ($last_comment['activity'] == 1012 ? '/submit_join_pengadaan' : '/submit_ubah_permintaan_pengadaan');
?>
<div class="wrapper wrapper-content animated fadeInRight">
<form method="post" action="<?php echo site_url($controller_name.$urlaction);?>" class="form-horizontal ajaxform">
<input type="hidd... |
<?php
/*
* This file is part of the FOSRestBundle 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\RestBundle\Controller\Annotations;
use Sensi... |
<?php
/**
* Created by IntelliJ IDEA.
* User: valentin
* Date: 06/09/2018
* Time: 23:23
*/
namespace AlfPHPApi\AlfrescoSearchRestApi\Model;
use AlfPHPApi\AlfrescoCoreRestApi\Model\Model;
class UserInfo extends Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.