text stringlengths 2 1.03M |
|---|
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Pyz\Zed\Customer;
use Spryker\Shared\Newsletter\NewsletterConstants;
use Spryker\Zed\AvailabilityNotification\Communication\Plugin\Custome... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1 class="pull-left">Sliders</h1>
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('sliders.create') !!}">Agregar</a>
</h1>
... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
namespace FedEx\ShipService\ComplexType;
use FedEx\AbstractComplexType;
/**
* Measure
*
* @author Jeremy Dunn <jeremy@jsdunn.info>
* @package PHP FedEx API wrapper
* @subpackage Ship Service
*
* @property float $Quantity
* @property string $Units
*/
class Measure extends AbstractComplexType
... |
<?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
include('include/header.php');
?>
<!-- ============================ Page Title Start================================== -->
<div class="page-title ">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="breadcrumbs-wrap">
... |
<?php
require(APPPATH.'libraries/REST_Controller.php');
class Inscription extends REST_Controller {
public function __construct()
{
parent::__construct();
$this->load->library('session');
}
/******************************************************************************
FONCTION D'I... |
<?php
/*
* Copyright 2021 Cloud Creativity Limited
*
* 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 la... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArticleTranslationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('art... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesReques... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Comment
*
* @ORM\Table(name="comment")
* @ORM\Entity(repositoryClass="AppBundle\Repository\CommentRepository")
*/
class Comment
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Gener... |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Captcha library.
*
* $Id: Captcha.php 3917 2009-01-21 03:06:22Z zombor $
*
* @package Captcha
* @author Kohana Team
* @copyright (c) 2007-2008 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Captcha_Core {
// Cap... |
<!doctype html>
<?php
/*
//header
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.1/cerulean/boot... |
<!DOCTYPE html>
<html lang="en" ng-app="apps" ng-controller="indexController">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sistem Pemasangan Iklan</title>
<link rel="icon" href="../../dist/img/favicon.ico" type="image/gif">
<link rel="st... |
<!DOCTYPE html>
<html lang="zxx" class="js">
<head>
<meta charset="utf-8">
<meta name="author" content="Novandi,Danny,Cinta">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no,user-scalable=no">
<meta name="description" content="A powerful and conceptual apps base das... |
<?php
namespace SmartWeb;
class Category extends Model
{
private static Category $_instance;
//Phuong thuc lay data manufactures va chuyen tu object thanh array
public static function getInstance()
{
if (empty($_instance)) {
self::$_instance = new self(new DBMYSQL);
}
... |
<?php
return [
/*
* Is email activation required
*/
'app_project_version' => env('APP_PROJECT_VERSION'),
/*
* Is email activation required
*/
'activation' => env('ACTIVATION', false),
/*
* Is email activation required
*/
'timePeriod' => env('ACTIVATION_LIMIT_TIM... |
@extends('layouts.student')
@section('student_side_menu')
@include('partials.student_side_menu')
@endsection
@section('content')
@if(is_desktop())
<div class="box padding-sm">
<h6>수강후기
<a class="btn btn-lg btn-success" href="{{ route('dashboard.testimonial.create') }}" > @lang('button.new')<... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Preview\Proxy;
use Twilio\ListResource;
use Twilio\Options;
use Twilio\Serialize;
use Twilio\Values;
use Twilio\Version;
/**
* PLEASE NOTE that this class contains preview produc... |
<?php
namespace Swaggest\PhpCodeBuilder\JsonSchema;
use Swaggest\CodeBuilder\PlaceholderString;
use Swaggest\JsonSchema\Schema;
use Swaggest\JsonSchema\SchemaExporter;
use Swaggest\JsonSchema\Wrapper;
use Swaggest\PhpCodeBuilder\PhpClass;
use Swaggest\PhpCodeBuilder\PhpCode;
use Swaggest\PhpCodeBuilder\PhpFunction;
u... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Cartao extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cartao', function (Blueprin... |
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toogle Navigation</span>
... |
--TEST--
GH-498: The test methods won't be run if a dataProvider throws Exception and --group is added in command line
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'trueOnly';
$_SERVER['argv'][4] = __DIR__ . '/498/Issue498Test... |
<?php
namespace App\Model\Admin;
use Illuminate\Database\Eloquent\Model;
class post_category extends Model
{
protected $table = 'post_category';
protected $guarded= [];
public function post()
{
return $this->hasMany('App\Model\Admin\Post');
}
} |
<?php
namespace Drupal\Tests\system\Kernel\System;
use Drupal\Core\Database\Database;
use Drupal\Core\Queue\DatabaseQueue;
use Drupal\Core\Queue\Memory;
use Drupal\KernelTests\KernelTestBase;
use Drupal\cron_queue_test\Plugin\QueueWorker\CronQueueTestDatabaseDelayException;
use Prophecy\Argument;
/**
* Tests the Cr... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?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
| c... |
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="pull-left">
<a href="<?php echo site_url('admin/result_add');?>"><button type="button" class="btn btn-block btn-success">Tambah Hasil</button></a>
</di... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... |
<?php
class User_model extends MX_Model{
public $table = "users";
function __construct(){
parent::__construct();
$this->load->database();
}
function update($id,$data){
$this->db->where("id",$id);
return $this->db->update("users",$data);
}
function destroy($id)... |
<?php
namespace Spinen\ConnectWise\Models\v2019_1\System;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class ServiceTypeReference Version v2019_1
*
* Model for ServiceTypeReference
*
* @property Metadata $_info
* @property integer $id
* @property string $name
*/
class ServiceTypeReference e... |
<?php
/**
* Theme 404 Template
*
* Displays the 404 not found error message
* when the requested content is not found.
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Brendah
* @since 1.1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="s... |
<?php
/**
* Inlin plugin for Craft CMS 3.x
*
* A simple plugin for inlining stuff in your templates.
*
* @link https://www.vaersaagod.no
* @copyright Copyright (c) 2017 André Elvan
*/
namespace aelvan\inlin\models;
use craft\base\Model;
class Settings extends Model
{
public $publicRoot = null;
} |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInite68b01c4f76f51157ff1dcd11b8cc7ee
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf... |
<?php
declare(strict_types=1);
namespace Rector\DowngradePhp74\Rector\LNumber;
use Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Scalar\DNumber;
use PhpParser\Node\Scalar\LNumber;
use Rector\Core\Rector\AbstractRector;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Symplify\RuleDocGenerator\ValueOb... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMatriculasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('matriculas',... |
<?php
return [
'key1' => [
'key2' => 'value1',
'key3' => 'value2',
],
'key4.key5' => 'value3',
'key6' => [
'value4',
'value5',
true,
false,
null,
],
]; |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\XMPPrism;
use JMS\Serializer\Annotation\ExclusionPolicy... |
@extends("layout/app")
@section("content")
<div class="container">
<h1>Sorry, no page found for the URL.....</h1>
<a href="/todo">Back to top</a>
</div>
@endsection |
@extends('layout.default')
@section('contents')
<h1>添加学校服务分类</h1>
@include('layout._errors')
@include('layout._notice')
<form method="post" action="{{route('ssc.store')}}">
<div>
<div class="form-group">
<label>分类名</label>
<input type="text" name="nam... |
@extends('layouts.app')
@section('content')
<div class="container" id="show_book_info"
data-book="{{ json_encode($book) }}"
data-is-read="{{ $book->readers->contains(auth()->user()) }}"
data-is-borrowed="{{ $book->borrowers->contains(auth()->user()) }}"
data-is-book-a-month="{{ $isBookAMonth }}"
da... |
<?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
/* Hijack the content when restrictions are set on a single post */
function wppb_content_restriction_filter_content( $content, $post = null ) {
global $user_ID, $wppb_show_content, $pms_show_content;
if( is_null( $post ) ) {
global $post;
}
/*
* Defining this variable:
*
... |
<?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
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Countries */
$this->title = Yii::t('app', 'Update') . ' ' . Yii::t('app', 'COUNTRIES'). ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'COUNTRIES'), 'url' => ['index']];
$this->params['breadcrumbs'... |
<x-guest-layout>
<x-auth-card>
<x-slot name="logo">
<a href="/">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
</a>
</x-slot>
<!-- Session Status -->
<x-auth-session-status class="mb-4" :status="session('status')" />
... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* ServiciosExamenMedico
*
* @ORM\Table()
* @ORM\Entity
*/
class ServiciosExamenMedico
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Genera... |
<?php
/**
* This source file is part of the open source project
* ExpressionEngine (https://expressionengine.com)
*
* @link https://expressionengine.com/
* @copyright Copyright (c) 2003-2019, EllisLab Corp. (https://ellislab.com)
* @license https://expressionengine.com/license Licensed under Apache License... |
<?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
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?php
session_start();
if(isset($_POST["login"]))
{
$username = $_POST["uname"];
$password = $_POST["pwd"];
$admindata = array("username"=>$username,"password"=>$password);
$data = json_encode($admindata);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "... |
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class backupApp extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'backup:run';
/**
* The console command description.
*
* @var string
... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::group([
'middleware' => 'api',
'prefix' => 'auth'
], function ($router) {
Route::post('login', 'API\\AuthController@login')->name('login');
Route::post('logout', 'API\\AuthController@logout');
Route::post('refresh', ... |
<?php namespace App\Controllers\Catalogos;
use App\Models\Catalogos\PersonaModel;
use App\Models\Catalogos\CargaAcademicaModel;
use App\Models\Catalogos\PlanMateriaModel;
use App\Models\Catalogos\PlanMateriaModelView;
use App\Models\Catalogos\UsuariosModel;
use App\Models\Catalogos\PlanesModel;
use App\Models\Catalogos... |
<?php
use Config\Icon;
use Operation\Html;
use Operation\Project;
use Operation\Resume;
use P3x\Language;
use P3x\Controller;
use P3x\Str;
$view_data = $data;
$current_tab = $view_data['downloadOrTab'];
if ($current_tab == null) {
$current_tab = 1;
}
list($icon_employment_normal, $icon_employment_checked) = Resum... |
@extends('pengurus')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading" align="center"><h3>Pengumuman</h3></div>
<div class="panel-body" align="center">
... |
<!-- footer area start-->
<footer>
<div class="footer-area">
<p>© Copyright 2019. <b>Jeaninne Rivera</b></p>
</div>
</footer>
<!-- footer area end--> |
<?php
namespace App\Http\Controllers\Ajax;
use App\Models\ProblemModel;
use App\Models\SubmissionModel;
use App\Models\ResponseModel;
use App\Models\CompilerModel;
use App\Http\Controllers\VirtualJudge\Submit;
use App\Http\Controllers\VirtualJudge\Judge;
use App\Http\Controllers\Controller;
use Illuminate\Http\Reques... |
<?php
/**
* Created by PhpStorm.
* User: arturmich
* Date: 2/21/19
* Time: 12:11 PM
*/
namespace Audi2014\Auth\Session;
use Audi2014\Auth\AuthRequest\AuthConfigEntity;
use Audi2014\Auth\AuthRequest\AuthRequestEntity;
use Audi2014\Auth\Profile\ProfileEntity;
use Audi2014\Auth\AuthException;
interface SessionMana... |
<?php
use Illuminate\Http\Request;
use App\Http\Controllers\Api\Books;
use App\Http\Controllers\Api\StudentAuthController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can re... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Response;
use App\Http\Controllers\Controller;
class DeployController extends Controller
{
public function supriseDeploy(Request $request){
if(substr($request->header('User-Agent'), 0,15)=='GitHub-Hookshot'){
$dev_data = ... |
<?php
namespace yiiunit\framework\console\controllers;
use Yii;
use yii\helpers\FileHelper;
use yii\helpers\VarDumper;
use yiiunit\TestCase;
use yii\console\controllers\MessageController;
/**
* Base for [[\yii\console\controllers\MessageController]] unit tests.
* @see MessageController
*/
abstract class BaseMessag... |
<?php
declare(strict_types=1);
namespace Assada\Achievements;
use Assada\Achievements\Model\AchievementProgress;
/**
* Trait RoutesAchievements
*
* @package Assada\Achievements
*/
trait RoutesAchievements
{
/**
* Adds a specified amount of points to the achievement.
*
* @param CanAchieve $ins... |
<?php
/* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Http\Response;
/**
* Phalcon\Http\Response\Exception
*
* Exceptio... |
<?php
/**
* Maintained by Felix Huang <yelfivehuang@gmail.com>
*/
namespace fk\pay\lib\alipay\aop\request;
/**
* ALIPAY API: alipay.micropay.order.confirmpayurl.get request
*
* @author auto create
* @since 1.0, 2016-06-06 17:53:18
*/
class AliPayMicropayOrderConfirmpayurlGetRequest
{
/**
* 支付宝订单号,冻结流... |
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>Fan Pi Network Token</title>
<link rel="icon" href="{{ asset('frontend/images/icon.png')}}" type="image/gif" sizes="16x16">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0" name="view... |
@extends('layouts.manage')
@section('content')
<div class="flex-container">
@include('partials.error')
<div class="columns m-t-10">
<div class="column">
<h1 class="title">Edit {{$role->display_name}}</h1>
</div>
</div>
<hr class="m-t-0">
<form action="{{route('roles.updat... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\UserDocumentCategory;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;
class ... |
<?php
/**
* This file is part of the CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CodeIgniter\CLI;
use Config\Services;
use Throwable;
... |
<!-- BEGIN PAGE HEADER-->
<div class="row">
<div class="col-md-12">
<!-- BEGIN PAGE TITLE & BREADCRUMB-->
<h3 class="page-title">
菜单管理 <small>添加菜单</small>
</h3>
<ul class="page-breadcrumb breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="index.html">首... |
@if ($recaudos->count() > 0)
<form method="GET" action="{{ url('descargarRecaudos') }}">
<input type="hidden" name="data" value="{{ $data }}">
<button type="submit" class="btn btn-default" type="button"><i class="fa fa-download"></i> Decargar recaudos en PDFs</button>
</form>
<table class="t... |
<div class="about">
<div class="container">
<div class="col-md-6 wow fadeInDown" data-wow-duration="1000ms" data-wow-delay="300ms" >
<h2>about us</h2>
<img src="images/6.jpg" class="img-responsive"/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus interdum erat
libero, pulvinar ti... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Service
|--------------------------------------------------------------------------
|
| Current only supports 'maxmind'.
|
*/
'service' => 'maxmind',
/*
|--------------------------------------------------... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class studentcontroller extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form for creating a new... |
<?php
namespace Tests\Browser;
use App\User;
use Tests\DuskTestCase;
use Laravel\Dusk\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
class LoginUserTest extends DuskTestCase
{
/**
* A Dusk test example.
*
* @return void
*/
public function testLoginUser()
{
$use... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Category' => $baseDir . '/app/Category.php',
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Ex... |
@extends('layouts.base')
@section('script')
<script type="text/javascript" src="{{ mix('js/sessionAlert.js')}}"></script>
@endsection
@section('main')
@if (session('success_message_register'))
<div class="session success-session animated shake">
<div class="close">X</div>
{{ session('success_message_r... |
<head>
<title>Laravel Sample</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<style>
.contener{
height: 100vh;
width: 100... |
<?php
/**
* @see https://github.com/laminas/laminas-feed for the canonical source repository
* @copyright https://github.com/laminas/laminas-feed/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-feed/blob/master/LICENSE.md New BSD License
*/
namespace Laminas\Feed\Reader\Feed;
use D... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCustomerTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', fu... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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/LICENS... |
<?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.
*/
global $_GPC;
global $_W;
$seearr = $this->seearr;
if (!$this->is_weixin()) {
message('请在微信中打开');
}
$mi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProjectEchangesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('project... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Perawat extends Model
{
use SoftDeletes;
public $timestamps=false;
protected $guarded=[];
protected $primaryKey = 'id_perawat';
public function shift()
{
return $this->bel... |
<?php
/**
* phpDocumentor
*
* PHP Version 5.3
*
* @copyright 2010-2013 Mike van Riel / Naenius (http://www.naenius.com)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
namespace phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions;
use phpD... |
<!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">
<title>Laravel-primi-passi</title>
</head>
<body>
<ul>
<li>
<a href="/articoli">Articol... |
//// tosearch.php
<?hh //strict
class Foo {
public function bar(): void {
"A stmt";
throw new Exception();
}
}
//// matcherpattern.php
<?hh //strict
class Foo {
public function bar(): void {
"__SKIPANY";
{
throw "__ANY";
"__ANY";
}
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request,DB,Session;
class CommentController extends Controller
{
public function comment(Request $request)
{
$comment = $request->comment;
$newsid_hidden = $request->newsid_hidden;
$userid_hidden = $request->userid_hidden;
... |
<?php
/** @noinspection PhpMultipleClassDeclarationsInspection */
class Admin extends User
{
public function __construct($name, $age) {
parent::__construct($name, $age);
}
} |
@extends('Marketing.MKTDash')
@section('adminWorkingSection')
<div class="container">
<div class="card-header">
<h4 class="text-center">All Submitted Data of the Your Brand Form</h4>
</div>
<table class="table table-bordered table-hover table-responsive">
<thead>
<... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'C:/MAMP/htdocs/theme-Grav/system/blueprints/config/streams.yaml',
'modified' => 1525124886,
'data' => [
'title' => 'PLUGIN_ADMIN.FILE_STREAMS',
'form' => [
'validation' => 'loose',
'... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Vod\V20170321\Models\GetAIMediaAuditJobResponseBody\mediaAuditJob\data\videoResult\liveResult;
use AlibabaCloud\Tea\Model;
class counterList extends Model
{
/**
* @var int
*/
public $count;
/**
* @var... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire t... |
<?php
namespace App\Http\Controllers;
use App\Http\Resources\QuestionResource;
use App\Question;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class QuestionController extends Controller
{
public function __construct()
{
$this->middleware('JWT', ['except' => ['index','s... |
<x-master>
<section class="px-8">
<main class="container mx-auto">
<div class="lg:flex lg:justify-between">
@if(auth()->check())
<div class="lg:w-1/6">
@include ('_sidebar-links')
</div>
@endif
... |
<nav class="navbar navbar-expand navbar-dark blue-gradient">
<a class="navbar-brand" href="/"><i class="fas fa-clipboard-list mr-3"></i>Comment Board</a>
<ul class="navbar-nav ml-auto">
@guest
<li class="nav-item">
<a class="nav-link" href="{{ route('register') }}">ユーザー登録</a>
... |
<?php
namespace Kiri\Consul;
use Kiri\Client;
class Query extends AbstractConsul
{
/**
* @param $data
* @return Client
*/
public function post($data): Client
{
return $this->request('/v1/query', self::POST, $data);
}
/**
* @return Client
*/
public function get(): Client
{
return $this->reque... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.