text stringlengths 2 1.03M |
|---|
<div role="main" class="main">
<div class="header-article" style="background: url(<?php echo base_url() ?>assets/uploads/banner/<?php echo $data->id ?>/<?php echo $data->images ?>); background-size: cover">
<div class="container">
<div class="container-fluid">
<h4 style="text-trans... |
<?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\Bridge\Doctrine\Form\Type;
use Doctrine\Common\Persistence\Mana... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExamTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('exams', functio... |
@extends('tasks.layout')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2> Show Task</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" href="{{ route('tasks.index') }}"> Back<... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FrameworkEmployee extends Model
{
use HasFactory;
protected $table = 'framework_employee_mapping';
/**
* The attributes that are mass assignable.
*
* @var... |
<?php
/* Complaints view
*/
?>
<?php $session = $this->session->userdata('username');?>
<?php $get_animate = $this->Xin_model->get_content_animate();?>
<?php $role_resources_ids = $this->Xin_model->user_role_resource(); ?>
<?php if(in_array('222',$role_resources_ids)) {?>
<?php $user_info = $this->Xin_model->read_user_... |
@extends('layouts.app')
@section('content')
@parent
<div class="container">
<div class="row">
<div class="col">
<h1 class="h1">Church Details</h1>
<table class="table table-bordered">
<tbody>
<tr>
... |
<?php
/**
* HudsonMasterComputerexecutorsTest
*
* PHP version 5
*
* @category Class
* @package OpenAPI\Server\Tests\Model
* @author openapi-generator contributors
* @link https://github.com/openapitools/openapi-generator
*/
/**
* Swaggy Jenkins
*
* Jenkins API clients generated from Swagger / Open A... |
<?php
declare(strict_types=1);
namespace Mailjet\LaravelMailjet;
use Illuminate\Support\ServiceProvider;
use Mailjet\LaravelMailjet\Services\MailjetService;
class MailjetServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public functio... |
<?php
declare(strict_types = 1);
use Pu239\Cache;
use Pu239\Message;
global $container, $site_config, $CURUSER;
$set = [
'location' => $_POST['boxx'],
];
$messages_class = $container->get(Message::class);
$result = $messages_class->update($set, $pm_id);
if (!$result) {
stderr(_('Error'), _('Message could not... |
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Boardicle Email</title>
<style>
/* -------------------------------------
GLOBAL RESETS
------------------------------------- */
img {
borde... |
<?php
/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2011 - 2014 SMS Taiwan, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Windwalker\Helper;
use Windwalker\DI\Container;
/**
* The Uri Helper
*
* @since 2.0
*/
class UriHelpe... |
<?php
namespace OtaInterface\Otaconnect\StructType;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for PropertyTypePrefType StructType
* Meta informations extracted from the WSDL
* - documentation: Indicates preference for hotel property types. | Identifies the customer's level of preferen... |
<?php
namespace Rennokki\Plans\Events;
use Illuminate\Queue\SerializesModels;
class FeatureConsumed
{
use SerializesModels;
/**
* @var \Rennokki\Plans\Models\PlanSubscriptionModel
*/
public $subscription;
/**
* @var \Rennokki\Plans\Models\PlanFeatureModel
*/
public $feature;... |
<?php
/*
* This file is part of the AllsetPrzelewy24Bundle package.
*
* (c) Allset <https://allset.pl/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Allset\Przelewy24Bundle\Controller;
use Symfony\Bundle\FrameworkBun... |
@extends('backend.layouts.app')
@section('title', app_name() . ' | ' .$siteTitle.'敏感词管理')
@section('breadcrumb-links')
@include('backend.auth.user.includes.breadcrumb-links')
@endsection
@section('content')
<div class="card">
<div class="card-body">
<div class="row">
<div ... |
@extends('_layouts.default')
@section('content')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Customer</h1>
</div>
</div>
</div>
<div class="col-sm-8">
<... |
<?php
namespace App\Billing;
class Stripe
{
protected $key;
public function __construct($key)
{
$this->key = $key;
}
} |
<ul id="menu" class="page-sidebar-menu">
<li {!! (Request::is('admin') ? 'class="active"' : '') !!}>
<a href="{{ route('dashboard') }}">
<i class="livicon" data-name="home" data-size="18" data-c="#418BCA" data-hc="#418BCA"
data-loop="true"></i>
<span class="title">Dash... |
<!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>@yield('pageTitle')</title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
</head>
<body>
@include('pa... |
<?php
namespace App\Http\Controllers;
use App\Company;
use App\Employee;
use Illuminate\Http\Request;
class EmployeeController extends Controller
{
public function index() {
try {
$employees = Employee::orderBy('id', 'desc')->paginate(10);
return view('employee.index', ['employees... |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin
*/
/**
* Collects the data from the added collection objects.
*/
class WPSEO_Collector {
/**
* Holds the collections.
*
* @var WPSEO_Collection[]
*/
protected $collections = [];
/**
* Adds a collection object to the collections.
*
* @para... |
<?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',
],
'name'=>'ระบบจ่าหน้าซอง... |
<?php
namespace app\admin\service;
use think\facade\Db;
use think\facade\Session;
/**
* Class MysqlBackupService
* @package app\admin\service
* 数据库表备份
*/
class MysqlBackupService
{
/**
* 文件指针
* @var resource
*/
private $fp;
/**
* 备份文件信息 part - 卷号,name - 文件名
* @var array
... |
<?php
class Hotel_search_model extends CI_Model {
function __construct() {
parent::__construct();
//Table Name
$this->table_name_request_table = "hotelstone_hotesearch_request";
$this->table_name_hotel_search_result = "hotelstone_hotel_search_result";
$this->table_name_hotel_search_room = "hotelstone_... |
<?php
namespace MyApp\ArticleBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use MyApp\ArticleBundle\Entity\style;
class StyleController extends Controller {
/* public function addAction() {
$em = $this->getDoctrine()->getManager... |
<?php
use Illuminate\Database\Seeder;
use App\User;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::insert([
// [
// 'name' => 'Yusuf',
// 'gender' => 'male',
... |
<?php
namespace App\Http\Controllers;
use App\Table;
use App\Game;
use Illuminate\Http\Request;
use Auth;
class TableController extends Controller
{
private $form_rules = [
'date' => 'date|required',
'time' => 'required',
'comment' => '',
'place' => 'required',
'private' => '',
'needed_pl... |
<?php
namespace Woodhouse\Project\Task\Factory;
use Pimple\Container;
use Woodhouse\Project\Question\AuthorQuestion;
use Woodhouse\Project\Question\BootstrapQuestion;
use Woodhouse\Project\Question\DescriptionQuestion;
use Woodhouse\Project\Question\DirectoryPathQuestion;
use Woodhouse\Project\Question\HomepageQuestio... |
<?php
namespace App\Http\Controllers;
use App\Post;
use Carbon\Carbon;
class BlogController extends Controller
{
public function index()
{
$posts = Post::where('published_at', '<=', Carbon::now())
->orderBy('published_at', 'desc')
->paginate(config('blog.posts_per_page'));
... |
<?php
namespace Omnipay\Paystack\Message;
use Omnipay\Tests\TestCase;
class AuthorizeRequestTest extends TestCase
{
/**
* @var AuthorizeRequest
*/
private $request;
public function setUp()
{
$this->markTestSkipped('Must be revisited.');
parent::setUp();
$this->req... |
<?php
namespace Home\Model;
use Think\Model;
class HistoryModel extends Model{
// protected $_auto = array(
// array('admin_id', 'getUid', 1, 'callback'),
// array('username', 'getUsername', 1, 'callback'),
// array('ip', 'get_client_ip', 1, 'function'),
// );
publi... |
<?php include "../cadastro/dbinfo.usuarios"; ?>
<html>
<body>
<h1>VALIDE AQUI ... php + mysql-server</h1>
<?php
/* Connect to MySQL and select the database. */
$connection = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD);
if (mysqli_connect_errno()) echo "Failed to connect to MySQL: " . mysqli_connect_erro... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Facture extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $table='facture';
protected $fillable = [
'ref','societe','type',
'remise','date','condition_regl',
... |
<?php
namespace Geodesy\Datum;
use Geodesy\Models\Clarke1880RGS;
class Barbados1938 extends BaseDatum implements DatumInterface
{
CONST DATUM = array (
'Name' => "Barbados 1938",
'CRS' => 4212,
'TranslationVectors' => array(
'x' => -31.95,
'y' => -300.99,
'z' => -419.19,
),
'RotationalVe... |
<?php
interface Sabai_Addon_Field_ITypes
{
public function fieldGetTypeNames();
public function fieldGetType($name);
} |
<?php
namespace Transactions\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* The entity is categorized as Users and Customers
* if Customers it would detail from whon and to whm
* @author swoopfx
* @ORM\Entity
* @ORM\Table(name="invoice_entity")
*
*/
class InvoiceEntity
{
/**
*
* @ORM\Colum... |
<?php $__env->startSection('content'); ?>
<land/>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\facebook_clone\resources\views/land.blade.php ENDPATH**/ ?> |
<?php
namespace App\Http\Controllers\importer;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Order;
use App\Models\PaymentMethod;
use App\Models\Shop;
use App\Models\OrderDetails;
use App\Models\Product;
use App\Models\Vendor;
use App\Models\Importer;
use App\Models\Merchant;
use Au... |
@extends('layouts.app')
@section('content')
<div class="">
<marquee><img src="images/404.png" alt="image404"></marquee>
</div>
<!--
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading... |
<?php
namespace backend\controllers;
use Yii;
use backend\models\ExpenditureType;
use backend\models\ExpenditureTypeSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* ExpenditureTypeController implements the CRUD actions for ExpenditureType model.
*/
class Expendit... |
<?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 RectorPrefix20210609\Symfony\Contracts\Service\Attribute;
/**
* A requi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddForeignKeysToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
@if (session('status'))
<div class="alert alert-danger">
{{ session('stauts') }}
</div>
@endif
</div>
<div class="row">
<div class="col">
<h1>
... |
<style>
.grid-container {
display: grid;
grid-template-columns: 15% 15% 15% 25% 15% 15%;
grid-column-gap:4px;
padding-right:3px;
}
.grid-container > div{
text-align:left;
}
.grid-main {
display: grid;
grid-template-columns: 5% 90% 5%;
grid-column-gap:3px;
padding: 10px;
margin: 20px;
box-shadow: ... |
<?php
/* curso/show.html.twig */
class __TwigTemplate_90131be6c491ff62bfb7045a9fb4d67eb484d63723e74741cd89cf7c24d9b537 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("layout.html.twig... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMenusTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::unprepared("
CREA... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message ... |
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
if ($arResult["NEED_AUTH"] == "Y")
{
$APPLICATION->AuthForm("");
}
elseif (strlen($arResult["FatalError"])>0)
{
?>
<span class='errortext'><?=$arResult["FatalError"]?></span><br /><br />
<?
}
else
{
if(strlen($arResult["ErrorMessage"])>0)
... |
<?php
namespace RTippin\Messenger\Tests\JsonResources;
use RTippin\Messenger\Facades\Messenger;
use RTippin\Messenger\Http\Resources\CallParticipantResource;
use RTippin\Messenger\Models\Call;
use RTippin\Messenger\Models\CallParticipant;
use RTippin\Messenger\Models\Thread;
use RTippin\Messenger\Tests\FeatureTestCas... |
<?php
namespace App\Http\Controllers;
use App\Models\Contractor;
use Illuminate\Http\Request;
class ContractorController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Sh... |
<div>
<p><strong> Type:</strong> <span>{{$feedback_type}}</span></p>
<p><strong> Email:</strong> <span>{{$client_email}}</span></p>
<p><strong> Name:</strong> <span>{{$clientname}}</span></p>
<p><strong> Phone:</strong> <span>{{$phone}}</span></p>
<p><strong> PIN:</strong... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyr... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceManagementConfigurationSimpleSettingDefinition File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Inactiveuser extends CI_Controller
{
public function __construct()
{
parent::__construct();
is_logged_in();
$this->load->model('Sidebar_model');
}
public function index()
{
$data['user'] = $... |
<?php
namespace staabm\PHPStanDba\Tests\Fixture;
class MyRowClass
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CustomerController extends Controller
{
public function index(){
return view("customer");
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Validator;
use Carbon\Carbon;
use App\Email\EnviarEmailCriado;
use App... |
<?php
use Illuminate\Database\Seeder;
class MatriculaTabelaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('matriculas')->insert([
[
'aluno_id'=> '329',
'turma_id'=> '1',
'data_mat'=> '2018-01-06',
'forma_pgto'... |
<?php
/**
* HiPay Fullservice Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Apache 2.0 Licence
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* http://www.apache.org/licenses/LICENSE-2.0
*
* @copyright Copy... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTemplatesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('templates', f... |
<?php
namespace Blog\Factory;
use Blog\Controller\ConnexionController;
use Blog\Form\ConnexionForm;
use Zend\Authentication\AuthenticationService;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class ConnexionControllerFactory implements FactoryInterface
{
/**
* @... |
<div class="col-md-4 pb-3">
<div class="card">
<h4 class="card-header"><a href="{{route('articles.show', $article->id)}}">{{$article->title}}</a></h4>
<div class="card-body">
{{$article->content}}
</div>
<div class="card-footer">
{{__('Author')}} : {{$article->user->name}}
</div>
</... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Restitution de mot de passe</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<script src="{{ asset('js/app.js') }}"></script>
<link rel="stylesheet" ... |
@extends('layouts.stat_ports')
@section('content')
<div class="row">
<div class="col-lg-12">
<h3>Select Period</h3>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-5">
@if ($errors->has())
<div class="alert alert-danger">
@foreach ($errors->all() as $error)
... |
<?php
/**
* ------- U-232 Codename Trinity ----------*
* ---------------------------------------------*
* -------- @authors U-232 Team --------------*
* ---------------------------------------------*
* ----- @site https://u-232.duckdns.org/ ----*
* ---------------------------------------------*
* ----- ... |
<?php
namespace App\Smile\Users;
use App\Exceptions\TransactionException;
class Updater
{
protected $repository;
public function __construct(UserRepositoryInterface $repository)
{
$this->repository = $repository;
}
public function dataEdit(User $user)
{
return [
... |
<?php
namespace Database\Seeders;
use App\Models\Subject_teacher;
use Illuminate\Database\Seeder;
class Subject_teacherTableseeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$subject_teacher = [
[
... |
<?php
/**
* Created by PhpStorm.
* User: imanu
* Date: 04.03.2018
* Time: 17:49
*/
namespace Jinya\Formatter\Menu;
use Jinya\Entity\Menu\Menu;
use Jinya\Entity\Menu\MenuItem;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use function array_map;
class MenuFormatter implements MenuFormatterInterf... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ co... |
<?php
/*********************************************************************
class.mailparse.php
Mail parsing helper class.
Mail parsing will change once we move to PHP5
Peter Rotich <peter@osticket.com>
Copyright (c) 2006-2013 osTicket
http://www.osticket.com
Released under the GNU Gene... |
@extends('Layout.app')
@section('title','Services')
@section('content')
<div id="mainDiv" class="container d-none">
<div class="row">
<div class="col-md-12 p-5">
<button id="addNewBtnId" class="btn my-3 btn-sm btn-danger">Add New </button>
<table id="serviceDataTable" class="table table-stripe... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use backend\vendors\Common;
/* @var $this yii\web\View */
/* @var $model backend\models\Hardcopy */
$pageTitle = Common::getTitle("{$this->context->id}/{$this->context->action->id}");
?>
<div class="hardcopy-view">
<h1><?= Html::encode($pageTitle) ?></h1>
... |
<!DOCTYPE html>
<base href="<?= asset("");?>">
<html lang="es">
<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">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css... |
@extends('admin.layout.master')
@section('content')
<h1 class="mt-4">Quản lý thương hiệu</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="/">Dashboard</a></li>
<li class="breadcrumb-item active">Thêm thương hiệu</li>
</ol>
<form action="{{route('storeProductBrand')}... |
<?php
/**
* 后台菜单相关
*/
namespace Admin\Controller;
use Think\Controller;
use Think\Exception;
class MenuController extends CommonController {
public function index() {
$data = array();
if(isset($_REQUEST['type']) && in_array($_REQUEST['type'], array(0,1))) {
$data['type'] = intval... |
<?php
namespace App\Enums;
/**
* 分刻み指定
*/
final class MinutesIncrements extends EnumsBase
{
// 定数メンバ
const every5 = 5;
const every10 = 10;
const every15 = 15;
const every30 = 30;
const every60 = 60;
// key/valueの連想配列
const enum = [
self::every5=>'5分刻み',
self::every10... |
<?php
namespace Config;
use CodeIgniter\Database\Config;
/**
* Database Configuration
*/
class Database extends Config
{
/**
* The directory that holds the Migrations
* and Seeds directories.
*
* @var string
*/
public $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR;
/*... |
<?php
namespace Aurora\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
/... |
<?php namespace Hughtan\Blog\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class CreateCategoriesTable extends Migration
{
public function up()
{
Schema::create('hughtan_blog_categories', function($table)
{
$table->engine = 'InnoDB';
$table->increme... |
<?php
namespace Chamilo\Core\Repository\Workspace\Table\Share;
use Chamilo\Core\Repository\Workspace\Manager;
use Chamilo\Core\Repository\Workspace\Storage\DataClass\Workspace;
use Chamilo\Libraries\Format\Structure\Toolbar;
use Chamilo\Libraries\Format\Structure\ToolbarItem;
use Chamilo\Libraries\Format\Table\Extensi... |
<!DOCTYPE html>
<html lang="en">
<head>
<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.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleap... |
<?php
declare(strict_types=1);
/*
* This file is part of the Yasumi package.
*
* Copyright (c) 2015 - 2022 AzuyaLabs
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Sacha Telgenhof <me at sachatelgenhof dot com>
*/
na... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class EventMatch extends Model
{
use HasFactory;
protected $fillable = [
'season_event_id',
'match_id',
'start_time',
];
public function event()
{
... |
<?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\CssSelector\Tests\Parser;
use Symfony\Component\CssSe... |
<?php
Yii::setAlias('@uploadPath', dirname(__DIR__).'/web/uploads');
Yii::setAlias('@soundsPath', '/uploads'); |
<!DOCTYPE html>
<html lang="zh">
<head>
<?php require_once 'z_head.php' ?>
</head>
<body>
<?php require_once 'z_top.php' ?>
<div class="main">
<div class="w">
<?php include 'z_left.php' ?>
<div class="box">
<div class="jianjie">
<div class="title2">搜索结果</div>
... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/*
* 2016 Ogaranya
*
* @author Akinyele Olubodun <info@ogaranya.com>
* @copyright 2016 Ogaranya Team
* International Registered Trademark & Property of Ogaranya Team
*/
return [
'application' => [
'sms_charges' => 500,
'phone_charges' => 400,
'bank_charges' => 2000,
'm... |
<?php
/**
* ImageCropSpecification
*
* PHP version 7.2
*
* @category Class
* @package SellingPartnerApi
*/
/**
* Selling Partner API for A+ Content Management
*
* With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A... |
<?php
$this->breadcrumbs=array(
'Lab Bill Inventories'=>array('index'),
'Create',
);
?>
<h1>Create LabBillInventory</h1>
<hr/>
<?php
$this->menu=array(
array('label'=>'Create', 'icon'=>'icon-plus', 'url'=>Yii::app()->controller->createUrl('create'),'active'=>true, 'linkOptions'=>array()),
array('... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
class Course extends Model
{
use HasFactory, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
... |
<?php declare(strict_types=1);
namespace Symplify\EasyCodingStandard\HttpKernel;
use PHP_CodeSniffer\Sniffs\Sniff;
use PhpCsFixer\Fixer\FixerInterface;
use Symfony\Component\Config\Loader\DelegatingLoader;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;... |
<?php
namespace Tests;
use Livewire\Livewire;
use Livewire\Component;
use Tests\Unit\TestCase;
class PublicEnumHydrationHooksTest extends TestCase
{
/**
* @test
* @requires PHP >= 8.1
*/
public function public_properties_can_be_cast()
{
Livewire::test(ComponentWithPublicEnumCasters... |
<?php
require_once './db/dbConnection.php';
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE ... |
<div class="sidebar">
<ul>
<li <?= $this->app->checkMenuSelection('AnalyticController', 'taskDistribution') ?>>
<?= $this->url->link(t('Task distribution'), 'AnalyticController', 'taskDistribution', array('project_id' => $project['id'])) ?>
</li>
<li <?= $this->app->checkMenuSele... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.