text stringlengths 2 1.03M |
|---|
<div id='form63' class='tab-pane'>
<table class='rwd-table'>
<thead>
<tr>
<form id='form63_header'></form>
<th>Name <img src='../images/filter.png' class='filter_icon' onclick='show_filter($(this));'><input type='text' class='filter' form='form63_header'></th>
<th>Reviewer <img src='../images/filter... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Motor;
use App\Models\Merk;
class PagesController extends Controller
{
//
public function index()
{
$motors = Motor::all();
$merksmotor = Merk::all();
//dd($merks);
return view('dependent-dropdown.dro... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProjectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('projects', fun... |
<div>Titulo: {{$libro->titulo}}</div>
<div>ISBN: {{$libro->isbn}}</div>
<div>Autor: {{$libro->autor}}</div>
<div>Editorial: {{$libro->editorial}}</div>
<div><img src ="{{Storage::url("imagenes/caratulas/$libro->foto")}}" alt="Caratula del libro"></div> |
<?php
/**
* tpshop
* ============================================================================
* 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
... |
<div id="layoutSidenav_content">
<main>
<div class="container-fluid ">
<h3 class="mt-4"><?php echo $titulo; ?> </h3>
<?php if(isset($validation)){?>
<div class="alert alert-danger" <?php echo $validation->listErrors();?>>
</div>
<?php } ?>... |
<?php
namespace backend\modules\editor;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'backend\modules\editor\controllers';
public function init()
{
parent::init();
// custom initialization code goes here
}
} |
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies ... |
<?php
/**
* CMB field types
* @since 1.0.0
*/
class cmb_Meta_Box_types {
/**
* @todo test taxonomy methods with non-post objects
* @todo test all methods with non-post objects
*/
/**
* A single instance of this class.
* @var cmb_Meta_Box_types object
*/
public static $instance = null;
/**
* An... |
<?php
namespace newism\fields\models;
use yii\base\Model;
class EmbedModel extends Model
{
public $rawInput;
public $embedData;
public function isEmpty(): bool
{
return empty($this->rawInput);
}
public function __toString()
{
return (string) empty($this->embedData) ? $th... |
@extends('layouts.no_login')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
<for... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\ColumnSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="column-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $... |
@extends('admin.layout')
@section('title', 'Edit - ' . $user->name)
@section('admin.content')
<div class="w-full p-4 bg-white border-b border-gray-200 rounded-t-md dark:bg-gray-700">
<p class="font-bold dark:text-gray-200">
Edit User
</p>
</div>
<form action="{{ route('admin.users.update', $user) }}" ... |
@extends('templateclunila')
@section('title')
LCUnila | Search Announcement
@endsection
@section('main')
<!-- PAGE HEADER -->
<div class="page_header">
<div class="page_header_parallax3">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3><span>Search Announcement</span>Res... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;
class PermissionTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$permissions = [
'role-list',
... |
<?php
/**
* Should handle post meta display.
*
* Author: Andrei Baicus <andrei@themeisle.com>
* Created on: 28/08/2018
*
* @package Neve\Views
*/
namespace Neve\Views\Partials;
use Neve\Views\Base_View;
/**
* Class Post_Meta
*
* @package Neve\Views
*/
class Post_Meta extends Base_View {
/**... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class DescripcionPlano extends Model
{
use HasFactory;
} |
<?php
/**
* PHP Token Reflection
*
* Version 1.3.1
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this library in the file LICENSE.md.
*
* @author Ondřej Nešpor
* @author Jaroslav Hanslík
*/
namespace TokenReflection;
require_once __DIR__ . '/../bootstrap.php';
... |
<?php return array (
'root' =>
array (
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'aliases' =>
array (
),
'reference' => '61ff657298976246bf327c394a492146e2153152',
'name' => 'codeigniter4/framework',
),
'versions' =>
array (
'codeigniter4/codeigniter4-standard... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
const ID = 'id';
/**
* The attributes that are mass assignable.
*
... |
<nav class="navbar navbar-expand-md navbar-dark d-none d-md-flex" id="topbar">
<div class="container-fluid">
<a class="navbar-brand mr-auto" href="{{route('home')}}">
<img src="{{ asset('img/logo/logo.png')}}" class="navbar-brand-img mx-auto" alt="...">
</a>
<!-- User -->
... |
<?php
namespace App\Models\Stats;
use Config;
use App\Models\Model;
class CountLog extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'sender_id', 'recipient_id',
'log', 'quantity', 'log_type', 'data',
'sender_... |
--TEST--
Bug #37911 (preg_replace_callback ignores named groups)
--FILE--
<?php
function callback($match)
{
var_dump($match);
return $match[1].'/'.strlen($match['name']);
}
var_dump(preg_replace_callback('|(?P<name>blub)|', 'callback', 'bla blub blah'));
var_dump(preg_match('|(?P<name>blub)|', 'bla blub blah', $m)... |
<?php
namespace App\Http\Middleware;
use Closure;
use JWTAuth;
use Exception;
use Tymon\JWTAuth\Token;
use Tymon\JWTAuth\Http\Middleware\BaseMiddleware;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Exceptions\TokenExpiredException;
use Tymon\JWTAuth\Exceptions\TokenInvalidException;
class JwtMiddlewa... |
<?php
namespace app\common\validate;
use think\Validate;
class UransVer extends Validate
{
/**
* 定义验证规则
* 格式:'字段名' => ['规则1','规则2'...]
*
* @var array
*/
protected $rule = [
'URAN_CODE'=>'require',
'UUID'=>'require',
'CHECK_TIME'=>'require',
'PROVINCE_ID'=>'requir... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>Jumbotron Template... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| oAuth Config
|--------------------------------------------------------------------------
*/
/**
* Storage
*/
'storage' => 'Session',
/**
* Consumers
*/
'consumers' => array(
/**
* Facebook... |
<?php
namespace Mhor\MediaInfo\Attribute;
use Mhor\MediaInfo\DumpTrait;
class Cover implements AttributeInterface
{
use DumpTrait;
/**
* @var string
*/
private $binaryCover;
/**
* @param string $cover
*/
public function __construct(string $cover)
{
$this->binaryCo... |
<?php
use yii\db\Migration;
use app\models\Test;
/**
* Class m190128_125558_pot
*/
class m190128_125558_pot extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$testQuestions = [
[
'ссылка1',
'вопрос1',
'ответ1',
'рис1'
],
[
'ссылка2',
... |
@extends('templates.default')
@section('content')
<div class="row">
<div class="col-lg-6">
<h3>Your Friend</h3>
@if (!$friends->count())
<p> You have no Friends</p>
@else
@foreach ($friends as $user)
@include('user/partials/userblock')
@endforeach
... |
<?php
namespace AliOpen\Dm;
use AliOpen\Core\RpcAcsRequest;
class MailSingleSendRequest extends RpcAcsRequest
{
private $ownerId;
private $resourceOwnerAccount;
private $resourceOwnerId;
private $accountName;
private $addressType;
private $tagName;
private $replyToAddress;
private $toA... |
<form style="margin:0;padding:5px 20px" method="post" action="<?php echo base_url()?>offering/crud" name="formdataoffering" id="formdataoffering" enctype="multipart/form-data">
<input type="hidden" name="oper" value="add">
<?php $this->load->view("jemaat/offering/form") ?>
</form> |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `order_item`.
*/
class m180210_121208_create_order_item_table extends Migration
{
/**
* @inheritdoc
*/
public function up()
{
$this->createTable('order_item', [
'id' => $this->primaryKey(),
'order_i... |
<?php
namespace App\Http\Controllers;
use App\Classes;
use App\Batch;
use App\ClassAssigning;
use App\Classroom;
use App\Course;
use App\Day;
use App\Level;
use App\Semester;
use App\Shift;
use App\Teacher;
use App\Time;
//use Barryvdh\DomPDF\PDF;
use PDF;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\A... |
<?php
$params = array_merge(
require __DIR__ . '/../../common/config/params.php',
require __DIR__ . '/../../common/config/params-local.php',
require __DIR__ . '/params.php',
require __DIR__ . '/params-local.php'
);
return [
'id' => 'app-backend',
'basePath' => dirname(__DIR__),
'controllerN... |
<?php
namespace App\Controllers\Exercises\Impl;
use App\Controllers\Exercises\ExerciseTypeController;
use Exception;
class SubNetworkController extends ExerciseTypeController
{
//These fields are consts for the session variable defined in the base controller.
private const SESSION_IP = "ip_subnetwork";
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreUpdateCompanyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
namespace GuoJiangClub\Catering\Component\Discount\Contracts;
interface DiscountContract
{
/**
* @return mixed
*/
public function hasRules();
public function isCouponBased();
public function getActions();
public function getRules();
public function setCouponUsed();
} |
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<a href="/home" class="brand-link">
<img src="{{ asset('backend/assets/dist/img/smansabanko.png')}}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
<span class="brand-text font-weig... |
<?php
namespace App\Http\Livewire\Admin;
use App\Models\HomeSlider;
use Carbon\Carbon;
use Livewire\Component;
use Livewire\WithFileUploads;
class AdminAddHomeSliderComponent extends Component
{
use WithFileUploads;
public $title;
public $subtitle;
public $price;
public $link;
public $image;
... |
<div id="sidebar-nav" class="sidebar">
<div class="sidebar-scroll" style="overflow: hidden; width: auto; height: 95%;">
<nav>
<ul class="nav">
<li><a href="/" class="active"><i class="lnr lnr-home"></i> <span>Dashboard</span></a></li>
<li><a href="/pasien" class=""><i class="lnr lnr-user"></i> <... |
<?php
/**
* SEOmatic plugin for Craft CMS 3.x
*
* A turnkey SEO implementation for Craft CMS that is comprehensive, powerful,
* and flexible
*
* @link https://nystudio107.com
* @copyright Copyright (c) 2017 nystudio107
*/
namespace nystudio107\seomatic\models\jsonld;
use nystudio107\seomatic\models\jsonl... |
<form class="wordseparatortoseparator">
<div class="form-group col-md-6">
<label for="min">Search separator:</label>
<input type="text" class="wordseparatortoseparator-separator form-control" name="my_element[filterOption][wordseparatortoseparator][searchSeparator]" />
</div>
<div class="form-group col-md-6">... |
<?php
/*
* This file is part of the Quantum Unit Solutions development package.
*
* (c) Quantum Unit Solutions <http://github.com/dmeikle/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Created by PhpStorm.
* User: u... |
<!DOCTYPE html>
<html>
<head>
<!-- 页面meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>运营商后台管理系统</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... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Cart;
use App\Models\Category;
use App\Models\Product;
use App\Models\PostCate;
use App\Models\Post;
use App\Models\Slide;
use App\Models\Wishlist;
use App\Models\ProductDetail;
use App\Models\InforContact;
use Session;
class HomeControll... |
<?php
namespace App\Http\Controllers\Caiji;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Cache;
class CaijiController extends Controller
{
public function __construct(){
set_time_limit(0);
error_reporting(0);
ini_set('me... |
<?php
namespace Drupal\exo_alchemist\Plugin\Discovery;
use Drupal\Component\Plugin\Discovery\DiscoveryInterface;
use Drupal\Component\Plugin\Discovery\DiscoveryTrait;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\StringTranslation\TranslatableM... |
<?php
namespace App\Http\Controllers;
use App\Vendor;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use App\Core\Images;
class VendorController extends Controller
{
public function __construct()
{
$this->middleware(['auth']);
}
/**
* Display a listing of the resource.
*
* @... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require 'admin_base.php';
class Incidencias extends admin_base {
public function __construct()
{
parent::__construct();
$this->load->model('incidencia_model');
}
public function index()
{
$data['user_id'] = $this->tank_auth->get_use... |
<div class="form-group cm-form-upload">
{!! Form::label( $field, $name ) !!}
<div class="input-group">
<span class="input-group-addon upload-preview"><i class="fa fa-picture-o"></i></span>
{!! Form::text( $field, null, array_merge( [ 'class' => 'form-control uploaded-file-name' ], $attributes ) ) !!}
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Company;
use App\Models\CompanyProfile;
class CompanyProfileController extends Controller
{
public function show(Company $company){
$company_name = $company->company_name;
$company_email = $company->company_emai... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Company_Delivery extends Model
{
protected $fillable = [
'name','mobile','email','address','performance','description','count_order_book','count_order_have','statues','total_pay'
];
public function user_delivery()
{
... |
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#" role="button"
><i class="fas fa-bars"></i
></a>
</li>
</ul>
<!-- Right navbar links -... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\UserNotification;
use App\Band;
use App\BandGenre;
class ChartsController extends Controller
{
public function show(){
// $allbands = Band::join('bandgenres','bands.band_id','=','bandgenres.band_id')->join('genres','bandgenres.genr... |
<?php
namespace MangoPay;
/**
* Marker interface for classes with details of means of payment in PayOut entity
*/
interface PayOutPaymentDetails
{
} |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBudgetsTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('budgets', function (Blueprint $table) {
$... |
<?php
namespace App\Http\Middleware;
use Closure;
use Session;
use Config;
use App;
class LanguageSwitcher
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $ne... |
@extends('layouts.app')
@section('title','Đánh giá')
@section('content')
<h3 class="header">Đánh giá</h3>
<div class="row">
<div class="col s12">
<h5>Giảng viên</h5>
</div>
@foreach($teachers as $teacher)
<div class="col s12 m4">
<div class="card... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\URL;
use Illuminate\Http\Request;
use App\Department;
use App\Category;
use App\Product;
use App\Color;
use App\ProductVariant;
class ProductsController extends Controller
{
public function index()
... |
<style>
.header {
background: #0e6f5c;
}
</style>
<div class="header">
<h1>This is header</h1>
</div> |
<?php
use Anteris\Autotask\API\BillingCodes\BillingCodeCollection;
use Anteris\Autotask\API\BillingCodes\BillingCodeEntity;
use Anteris\Autotask\API\BillingCodes\BillingCodeService;
use Anteris\Autotask\API\BillingCodes\BillingCodeQueryBuilder;
use Tests\AbstractTest;
/**
* Runs tests for BillingCodeService.
*/
cla... |
<?php
namespace Fabrica\Project\Eloquent;
use Jenssegers\Mongodb\Eloquent\Model;
class ReportFilters extends Model
{
//
protected $table = 'report_filters';
protected $fillable = array(
'project_key',
'mode',
'user',
'filters'
);
} |
<?php
namespace App\Http\Controllers\Client\Affiliator;
use App\Http\Controllers\Client\Base;
use App\Models\Client\Affiliator\Affiliator as AffiliatorModel;
use Auth;
use Illuminate\Http\Request;
class Affiliator extends Base
{
public function __construct(
AffiliatorModel $affiliator_model
) {
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Address;
class AddressController extends Controller
{
public function index(Request $request) {
$addresses = Address::search()->paginate(15);
$search_params = $request->only([
'name',
'zip_co... |
@extends('shop.index')
@section('title')
<title>Git - Mô hình đồ chơi cao cấp</title>
@endsection
@section('content')
{{-- Banner --}}
@include('aside.slide')
<section>
<div class="container mt-25">
<div class="breadcrumbs">
<ol class="breadcrumb">
@foreach($products as $pro)
... |
<?php
class users_notes_widget
{
private $db_table = 'usersnotes';
private $show_max = 5;
public function init_queries($tableslc)
{
$table = qa_db_add_table_prefix($this->db_table);
if (!in_array($table, $tableslc)) {
return 'CREATE TABLE IF NOT EXISTS `' . $table . '` (
... |
<?php
namespace app\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Link;
/**
* LinkSearch represents the model behind the search form of `app\models\Link`.
*/
class LinkSearch extends Link
{
/**
* {@inheritdoc}
*/
public function rules()
{
return [
... |
<?php
namespace App\Nova\Metrics;
use App\EmailList;
use Illuminate\Http\Request;
use Laravel\Nova\Metrics\Value;
class NewEmailList extends Value
{
/**
* Calculate the value of the metric.
*
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function calculate(Re... |
<?php
//début session utilisateur
session_start();
$id_session = session_id();
// Connect to database
try
{
//! mise en comment de la ligne qui ne correspond pas
$bdd = new PDO('mysql:host=database;dbname=bees', 'root', 'root');
}
//error
catch(Exception $e)
{
die('Error : '.$e->getMessage(... |
<?php
namespace PACOS;
use Illuminate\Database\Eloquent\Model;
class NuevoPacos extends Model
{
//
}
class Catxrest extends Model
{
protected $table = "catxrest";
protected $fillable = ['id_Cat', 'id_Rest'];
} |
<div class="modal-body">
<div class="form-body">
<div class="formrow" id="div_title">
<span style="font-weight: bold;">{{__('Experience Title')}}</span>
<input class="form-control" id="title" placeholder="{{__('Experience Title')}}" name="title" type="text" value="{{(isset($profileEx... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class AuthController extends Controller
{
public function login(){
return view('auth.login');
}
public function postlogin(Request $request){
if(Auth::attempt($request->only('email'... |
<?php
namespace AlibabaCloud\Crm\V20150408;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of QueryCustomerLabel
*
* @method string getLabelSeries()
*/
class QueryCustomerLabel extends RpcRequest
{
/**
* @var string
*/
public $product = 'Crm';
/**
* @var string
*/
... |
<?php
namespace CsvBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('CsvBundle:Default:index.html.twig');
}
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Driver
|--------------------------------------------------------------------------
|
| This value determines which of the following driver to use.
| You can switch to a different driver at... |
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common n... |
<?php
$params = array_merge(
require __DIR__ . '/../../common/config/params.php',
require __DIR__ . '/../../common/config/params-local.php',
require __DIR__ . '/params.php',
require __DIR__ . '/params-local.php'
);
return [
'id' => 'app-console',
'basePath' => dirname(__DIR__),
'bootstrap' ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
use HasFactory;
protected $fillable = [
'caption',
'description',
'rating',
'image',
];
public function user()
{
... |
<?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
namespace app\Models;
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', '... |
<?php
$eZTranslationCacheCodeDate = 1058863428;
$CacheInfo = array (
'charset' => 'utf-8',
);
$TranslationInfo = array (
'context' => 'design/admin/content/create_languages',
);
$TranslationRoot = array (
'6d2ceba5b38fac8fff7dde32071b70a8' =>
array (
'context' => 'design/admin/content/create_languages',
... |
@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">
@if (session('status'))
... |
<?php
/**
* Template Name: Travel Signature Template
* Template Post Type: travel_cpt
* Developed for The Fly Shop
* @package The_Fly_Shop
* Author: Chris Parsons
* Author URL: https://steelbridge.io
*/
$the_post_img = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full');
$the_post_default = g... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TypeDocument extends Model
{
public $table = "type_documents";
protected $primaryKey = 'id_type_document';
protected $fillable = [
'id_type_document','description_type_document'
];
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href='<?=base_url().'application/views/plugin/app/css/style.css'?>'/>
<title>用户登录</title>
</head>
<body c... |
<?php
namespace App;
use App\Jobs\processXmlConnection;
use DOMDocument;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
class Connection extends Model
{
protected $fillable = ['name','feed_url'];
public function connection_type()
{
return $this->belongsTo(ConnectionType::class);
... |
<?php
use App\Http\Controllers\PortwalletController;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\MasteringController;
use App\Http\Controllers\ContactUsController;
use App\Http\Controllers\AboutController;
use App\Http\Controllers\EventController;
use App\Http\Controllers\FaqController;
use App\Http... |
@extends('layouts.app')
@section('page_title',__('lang.add new city'))
@section('content')
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<div class="box-tools pull-right">
... |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup BaseNotifications Base classes for Notifications like modules
* @ingroup TridentModules
*
* @{
*/
class BxBaseModNot... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSessionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sessions', fun... |
<?php
namespace Modules\User;
use Modules\Core\Abstracts\BaseSettingsClass;
class SettingClass extends BaseSettingsClass
{
public static function getSettingPages()
{
return [
[
'id' => 'user',
'title' => __("User Settings"),
'position'=>50... |
<?php
namespace apiend\models;
use common\models\api\ApiResponse;
/**
* 包括所有 API 错误返馈码及错误描述
*
* @author Administrator
*/
class Response extends ApiResponse
{
//--------------------------------------------------------------------------------------------------------------
//
// 所有 CODE 值范围 = 10000-999... |
<?php
namespace Thruster\Component\HttpMessage\Tests;
use Thruster\Component\HttpMessage\Request;
use Thruster\Component\HttpMessage\Uri;
/**
* Class RequestTest
*
* @package Thruster\Component\HttpMessage\Tests
* @author Aurimas Niekis <aurimas@niekis.lt>
*/
class RequestTest extends \PHPUnit_Framework_TestCa... |
<?php
namespace App\Models\admin;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Unit extends Model
{
use HasFactory;
} |
<div class="container-fluid">
<?php
if (!empty($this->session->flashdata('info'))) {?>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Selamat!</strong> <?= $this->session->flashdata('info')?>
<button type="button" class="close" da... |
<?php
session_start();
$color="red";
$error="";
require("db.php");
if (isset($_POST["login"])) {
$mailconnect = htmlspecialchars($_POST['email']);
$mdpconnect = sha1($_POST['pass']);
if (!empty($mailconnect) and !empty($mdpconnect)) {
$requser = $bdd->prepare("SELECT * FROM users WHERE email=? AND pass=?");
$req... |
<?php
namespace App\Policies;
use App\User;
use App\Task;
use Illuminate\Auth\Access\HandlesAuthorization;
class TaskPolicy
{
use HandlesAuthorization;
/**
* Create a new policy instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Che... |
<?php
namespace ROV\BlogBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Comment
*
* @ORM\Table(name="Comment")
* @ORM\Entity
*/
class Comment
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM... |
<?php
// unir um ou mais arrays
$array1 = array("chave1"=>"valor1", "chave2"=> "valor2");
$array2 = array("chave3"=>"valor3","chave4"=>"valor4");
$result = array_merge($array1, $array2);
print_r($result);
//array intersect key serve para retorna valorescom a mesma chave em 1 ou mais arrays, retorna sempre o valor da ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.