text
stringlengths
2
1.03M
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; class Question extends Model { protected $fillable = ['title', 'body']; public function user() { return $this->belongsTo(user::class); } public function setTitleAttribute($value) { $this->at...
<?php /** * Created by PhpStorm. * User: pengjiang * Date: 2019/5/13 * Time: 12:35 */ use system\Redis; if (!function_exists('redis')) { /** * @annotate redis操作 * @author 江枫 * @email 635449961@qq.com * @url:www.cloudcmf.com * @time */ function redis($options = []) { ...
@extends('layout.app') @section('content') Testing JS <div id="eaj">@{{myvar2}}</div> <passport-clients></passport-clients> <passport-authorized-clients></passport-authorized-clients> <passport-personal-access-tokens></passport-personal-access-tokens> @endsection @push('on_ready') ...
<div class="wrapper container-fluid"> {!! Form::open(['url'=>route('pagesEdit',array('page'=>$data['id'])),'class'=>'form-horizontal','method'=>'POST','enctype'=>'multipart/form-data']) !!} <div class="form-group"> {!! Form::hidden('id', $data['id']) !!} {!! Form::label('name','Название',['class...
<?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\Serializer\Normalizer; use Symfony\Component\Property...
<body style="margin:0;"> <div class='header' style="width: 100%; background-color: #004296; padding: 20px 0;display: flex; justify-content: center;margin: 0;"> <img src='http://www.ieeepuasb.org/images/ieee-logo.png' alt='ieee pua sb logo' style="margin: 0; padding: 0;"> </div> <div class='content' ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSamuMobileCrewTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('samu_mob...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Createalltables extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (...
<!DOCTYPE html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Restaurantes | NebulaPeru</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSS ===============...
<?php namespace frontend\models; use Yii; use common\models\User; /** * This is the model class for table "expert". * * @property int $id * @property int $id_competition Ссылка-id из таблицы competition * @property int $id_user Ссылка-id из таблицы user * * @property Competition $competition * @property User...
<?php use App\Schemes\Payment\PaymentSchema; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdatePaymentsTable extends Migration implements PaymentSchema { /** * Run the migrations. * * @return void */ p...
<?php namespace App\Lnms\Cisco\R3700; class Ip extends \App\Lnms\Cisco\Router\Ip { }
<?php /** * @author Aaron Francis <aaron@hammerstone.dev|https://twitter.com/aarondfrancis> */ namespace Torchlight; use Illuminate\Support\Str; class Block { /** * @var null|callable */ public static $generateIdsUsing; /** * The language of the code that is being highlighted. * ...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
<?php /** * /home/criera/Projects/ceneac_yii/runtime/giiant/49eb2de82346bc30092f584268252ed2 * * @package default */ namespace app\controllers; /** * This is the class for controller "CourseController". */ class CourseController extends \app\controllers\base\CourseController { }
<!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="<?=base_url()?>assets/...
<?php namespace InetStudio\FavoritesPackage\Providers; use Illuminate\Support\ServiceProvider as BaseServiceProvider; /** * Class ServiceProvider. */ class ServiceProvider extends BaseServiceProvider { /** * Загрузка сервиса. */ public function boot(): void { $this->registerConsoleCom...
<?php namespace Ddd\Infrastructure\Domain\Event; use Ddd\Application\PublishedMessageTracker; use Ddd\Domain\Event\PublishedMessage; use Ddd\Domain\Event\StoredEvent; use Doctrine\ORM\EntityRepository; class DoctrinePublishedMessageRepository extends EntityRepository implements PublishedMessageTracker { /** ...
<?php namespace Bitrix\Report\VisualConstructor\RuntimeProvider; use Bitrix\Report\VisualConstructor\Category; use Bitrix\Report\VisualConstructor\Internal\Manager\CategoryManager; /** * @method Category|null getFirstResult() * Class CategoryProvider * @package Bitrix\Report\VisualConstructor\RuntimeProvider */ c...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { protected $table='categories'; protected $primaryKey='id'; protected $fillable=['parent_id','name','description','url','status']; public function products() { return $this->hasMany(Product::class);...
<?php /** * SPHPlayground Framework (http://playgound.samiholck.com/) * * @link https://github.com/samhol/SPHP-framework for the source repository * @copyright Copyright (c) 2007-2018 Sami Holck <sami.holck@gmail.com> * @license https://opensource.org/licenses/MIT The MIT License */ namespace Sphp\Html\F...
<?php declare(strict_types=1); namespace HexagonalPlayground\Application\Handler; use HexagonalPlayground\Application\Command\CreateMatchCommand; use HexagonalPlayground\Application\Permission\IsAdmin; use HexagonalPlayground\Application\Repository\MatchDayRepositoryInterface; use HexagonalPlayground\Application\Repo...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc."> <meta name="author" content="Coderthemes"> <!...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateScrumInputPredefinedValuesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { if(!Schema::...
<?php $si_unit = ""; if(is_logged() == 0) { header('Location:index.php?page=home'); } if(!isset($_GET['si-unit'])) { header('Location:index.php?page=dashboard&list=si-units'); } if(!empty($_GET['si-unit'])) { $si_unit_id = $_GET['si-unit']; if(does_si_unit_exist($si_unit_id)) { $si_uni...
<?php //The Account Transaction database object model namespace includes\database\models; class AccountTransaction{ const DB_TABLE = 'account_transactions'; const ID = 'id'; const DATETIME = 'timestamp'; const ACCOUNT_NO = 'account_no'; const CATEGORY = 'category'; const TYPE = 'type'; ...
<?php // AUTOMATICALLY GENERATED. DO NOT EDIT. // Use `composer build` to regenerate. namespace Wikimedia\IDLeDOM\Stub; use Exception; trait HTMLStyleElement { // use \Wikimedia\IDLeDOM\Stub\LinkStyle; // Underscore is used to avoid conflicts with DOM-reserved names // phpcs:disable PSR2.Methods.MethodDeclarat...
<?php namespace App\Http\Middleware; class SetLanguage ?>
@extends('layouts.app') @section('title', 'ноутбук ' . $laptop->name) @section('content') <div class="col-md-12"> <h1>{{ $laptop->name }}</h1> <table class="table"> <tbody> <tr> <th> Поле </th> <th> ...
<?php include 'db_connection.php'; if (isset($_POST['delete'])){ $messageids = $_POST["messageid"]; $deleteQuery = "DELETE FROM messaging WHERE message_id = '$messageids'"; //Remove the message from the table $result = mysql_query($deleteQuery, $conn); header('Location: http://localhost/website/pages/...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateKycsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('kycs', function (B...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Negeri extends Model { use HasFactory; }
<?php /** * -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose"> * Copyright (c) 2018 Aspose.Slides for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person obtaining a copy...
<!-- Begin Page Content --> <div class="container-fluid bg-white"> <!-- Page Heading --> <!-- <h1 class="h3 mb-4 text-gray-800">Blank Page</h1> --> <?= @$isi; ?> </div> <!-- /.container-fluid -->
@extends('layouts.app') @section('head') <script> var chatid = {{$id}}; var usuarioActual = "{{$usuarioActual}}"; </script> @endsection @section('content') {{ Breadcrumbs::render('chat') }} <div id="cargarMensajes" class="container d-flex justify-content-center "> <div class="row" > <div class...
<?php return [ /* | ----------------------------- | Control creating activity log | When property gains data or not | Log will not be created, | when value is false and property doesn't contain changes | ---------------------------------------------------------------- */ 'allo...
<?php namespace App\Jobs; use FFMpeg\Format\Video\X264; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldBeUnique; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Su...
@extends('layouts.user_layout') @section('content') <h1 class="page-header"> Welcome @if($users) @foreach($users as $user) {{$user->first_name}} @endforeach @endif </h1> @endsection @extends('layouts.user_footer')
@extends('layouts.master') @section('title','International Recruitment') @section('css') @parent <style type="text/css"> .banner1 { background: url({{ asset('images/services/international.jpg')}}) no-repeat 0px 0px; background-size: cover; background-position: center; -webkit-background-s...
<?php /** * Copyright 2018 SURFnet B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<style type="text/css"> </style> <script type="text/javascript"> $(function() { click(); init(); reset(); change(); }); function back() { window.location.href = '<?= base_url(); ?>muse/view/1/'; } function change() { $('#main-image-cover').change(function() { var file_data = $('#mai...
<?php namespace Cerebox\Http\Requests\User; use Illuminate\Foundation\Http\FormRequest; class EditRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { $edit_user = $this->route('user'); ...
<?php class M_TipeKamar extends CI_Model { function data_tipekamar() { $query = $this->db->query("select * from tipekamar"); return $query; } function simpan($data) { $insert = $this->db->insert('tipekamar', $data); if ($insert > 0) { $this->session->set...
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies...
<?php namespace App\Containers\Authorization\Tasks; use App\Containers\Authorization\Data\Repositories\RoleRepository; use App\Containers\Authorization\Models\Role; use App\Ship\Parents\Actions\Action; use Illuminate\Support\Facades\App; /** * Class DeleteRoleTask. * * @author Mahmoud Zalt <mahmoud@zalt.me> */ c...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Util\TestDox; use function sprintf; use PHPUnit\...
<div class="inner-block"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3>Manage Manufacturer</h3> ...
<a href="{{ route('member.edit', $model) }}" class="btn btn-warning">Edit</a> <button href="{{ route('member.destroy', $model) }}" class="btn btn-danger" id="delete">Hapus</button> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script> <script> $('button#delete').on('click', function(e){ e.prev...
<?php namespace App\Http\Controllers\Seller; use App\Buyer; use App\Seller; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class SellerBuyerController extends Controller { /** * Display a listing of the resource. * * @param \App\Seller $seller * @return \Illuminate\Http\R...
<?php /** * @copyright Copyright &copy; Kartik Visweswaran, communityii, 2014 - 2015 * @package communityii/yii2-user * @version 1.0.0 * * @author derekisbusy https://github.com/derekisbusy * @author kartik-v https://github.com/kartik-v */ namespace comyii\user\events\admin; use comyii\user\events\ProfileEven...
<html> <body> <h1>NAMA : Desy Annisa Ramadhani </h1> <h1>KLS : MI-2E </h1> </body> </html>
<!-- <div class="section"> <div class="container mb-5"> <div class="container panduan-detail-kendaraan mt-3"> <ul class="nav"> <li class="nav-item"> <a class="nav-link" href="<?php echo site_url('auth/listmotor');?>">Kembali ke Pencarian</a> <...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmployee extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employee', function...
<html> <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"> <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.js"></script> <link rel="stylesheet" href...
<?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\Bundle\FrameworkBundle\Console\Descriptor; use phpDocumentor\Re...
<?php // Copyright 2019 NEC Corporation // // 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 applicabl...
<?php // Establishing Connection with Server by passing server_name, user_id and password as a parameter $con = mysqli_connect('localhost','root','','tracerdata') or die("ERROR"); if (isset($_POST['recovery-submit'])) { $verify_user = $_POST['recovery_user']; $verify_user = stripslashes($verify_user); $verify...
<?php use Illuminate\Database\Migrations\Migration; class RemoveUserInterestFromExampleBuildingContentsTable extends Migration { /** * Run the migrations. * * here we will remove the user_interest values from the content of a example building * * @return void */ public function u...
<div class="form-group"> <div class="row align-items-center"> <label class="col-md-3 text-right col-form-label" >{{$field['name_'.app()->getLocale()] ?? $field['name'] ?? $field['id']}} @if(!empty($field['required'])) <span class="text-danger">*</span> @endif ...
<?php $__env->startSection('template_title'); ?> Permissions <?php $__env->stopSection(); ?> <?php $__env->startSection('title'); ?> <i class="fa fa-key fa-fw" aria-hidden="true"></i> Permissions <?php $__env->stopSection(); ?> <?php $__env->startSection('container'); ?> <ul class="list"> <?php...
<?php /** * @package Joomla.Platform * @subpackage Application * * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; jimport('joomla.application.component.model...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; class QuotesController extends Controller { public function __construct() { $this->middleware('auth'); $this->middleware('language'); } public function inde...
<?php /** * Copyright (C) 2015-2019 Virgil Security Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * (1) Redistributions of source code must retain the above copyright * ...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Dubai Film</title> <!-- Scripts -->...
<?php define('MODULES_PATH', APP_PATH.config('DEFAULT_H_LAYER').'/'); class module_service extends service { public function __construct() { $this->modules = cache('module', '', 'common'); $this->table = $this->load->table('admin/module'); } /* 获取所有模块 */ public function lists() { $result = array(); $d...
@extends('public.layouts.default') @section('sidebar') @include('public.layouts.includes.sidebar') @endsection @section('content') <div class="span9"> <ul class="breadcrumb"> <li><a href="/">{{ __('ui.'.'home') }}</a><span class="divider"> / </span></li> <li class="active">{{ $...
<?php namespace Kaleu62\PIReader\Transformers; use Kaleu62\PIReader\Entities\Config; class ConfigTransformer{ /** * @param array $array * @return Config */ public static function transform(Array $array){ $config = new Config(); $config->setType($array['type'] ?? 'All'); ...
<?hh // strict // Copyright 2004-present Facebook. All Rights Reserved. class A {} class Test<Tc as A> { public function f<Tf as Tc>(Test<Tf> $t): void {} public function g<Tg>(Test<Tg> $t): void where Tg as Tc {} }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Lote extends Model { // protected $table = 'lote'; protected $fillable = ['producto','codigoLote','total']; }
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @package PhpMyAdmin-Engines */ if (! defined('PHPMYADMIN')) { exit; } /** * * @package PhpMyAdmin-Engines */ class PMA_StorageEngine_performance_schema extends PMA_StorageEngine { /** * returns string with filename for the MySQL helppage * ab...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { /* |---------------------------------------------------------------------...
<?php namespace App\Http\Controllers; use App\Answer; use App\Content; use App\Image; use App\Mp3; use App\Question; use App\Result; use App\TakeTest; use App\Test; use App\Testresult; use Illuminate\Http\Request; use Illuminate\Support\Facades\Response; class TestController extends Controller { /** * Displ...
<?php namespace Web64\Colors\Facades; use Illuminate\Support\Facades\Facade; class Colors extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'Web64\Colors\LaravelColors'; } }
<?php namespace App\Providers; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Response; use Illuminate\Support\ServiceProvider; use Blade; use Illuminate\Support\Facades\Schema; use App\Article; class AppServiceProvider extends ServiceProvider { /** * Re...
<div class="card"> <div class="card-header-manual border-0 d-flex justify-content-between"> <div> <h3 class="card-title">Project Progress <strong>{{ $project->name }}</strong></h3> <p>Sekarang : <strong>{{ \Helper::get_quarter_for_spesific_date(Carbon\carbon::now()) }}</strong></p> ...
<?php /** * Author: lf * Blog: https://blog.feehi.com * Email: job@feehi.com * Created at: 2017-03-15 21:16 */ namespace feehi\components; use backend\components\CustomLog; use yii; use yii\base\Component; use backend\components\AdminLog; use common\models\Options; use yii\caching\FileDependency; use yii\base\Ev...
<?php namespace App\Http\Controllers; use Input; use Illuminate\Support\Facades\DB; use Maatwebsite\Excel\Facades\Excel; use Exception; class TransitionRateMiddleToHighController extends Controller { /** * Display a listing of the resource. * * @return Response */ public function index() { try { i...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-12"> <h1 class="text-center"> {{ $brand }} </h1> <div class="row"> @foreach ($dresses as $key => $dress)...
<?php class Employee_model extends CI_Model { public function __construct() { parent::__construct(); $this->tbl_employee='tbl_employee'; $this->employee='view_tbl_employee'; $this->titlename='tbl_titlename'; $this->blood='tbl_blood'; $this->provinces='tbl_provinces'; ...
<? define("STOP_STATISTICS", true); define("BX_SECURITY_SHOW_MESSAGE", true); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); // we shouldn't check any access rights here // if(!($USER->CanDoOperation('view_subordinate_users') || $USER->CanDoOperation('view_all_users'))) //...
<!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"> <link rel="stylesheet" href="{{ asset('css/app.css') }}"> <meta name="csrf-token" content="{{ csrf_token() }}" ...
<?php use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Collection; class MasterStatus extends Model { protected $table ='master_status'; public $timestamps = TRUE; public function user() { return $this->belongsTo('User'); } public function mastermodul...
<?php /* * This file is part of Chevere. * * (c) Rodolfo Berrios <rodolfo@chevere.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Chevere\Tests\Formats; use Chevere\VarDump\Formats\PlainF...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmbedsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('embeds', functio...
<?php /** * Created by PhpStorm. * User: blue * Date: 2017/12/17 * Time: 11:32 */ namespace app\library\filters\authenticate; use think\Controller; class ValidLoginFilter extends Controller { const LOGIN_NAME = 'bluechat'; public static function getLoginName($id){ return self::LOGIN_NAME.$id; ...
<?php class Parents{ public $par = "부모클래스의 변수입니다."; } ?>
<?php /* * Copyright (C) 2017 SINA Corporation * * * * This script is firstly created at 2017-07-20. * * To see more infomation, * visit our official website http://jiaoyi.sina.com.cn/. */ error_reporting(E_ALL); ini_set("display_errors", true); require __DIR__ . "/../vendor/autoload.php"; $loop = ...
<?php defined('SYSPATH') or die('No direct script access.'); ?> 2014-10-14 08:40:05 --- ERROR: Database_Exception [ 0 ]: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY u.id' at line 4 ( SELECT u.id, u.nombre,u.car...
<?php /* Plugin Name: Simple Sitemap Pro Plugin URI: http://www.wpgoplugins.com Description: An effective way to display a sitemap of content on your site. Rendered sitemap is fully responsive and looks great on all devices! Version: 2.1 Author: David Gwyer Author URI: http://www.wpgoplugins.com */ /* Copyright 2009 ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\User; use App\Role; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller...
<?php declare(strict_types=1); namespace Mediagone\Doctrine\Specifications\Universal; use Doctrine\ORM\QueryBuilder; use Mediagone\Doctrine\Specifications\Specification; abstract class WhereField extends Specification { //==========================================================================================...
<?php declare(strict_types=1); namespace Affise\Sdk\Helper; use PHPUnit\Framework\TestCase; /** * Class RemovableResponseTest */ class RemovableResponseTest extends TestCase { /** * @return void */ public function testGetRemoved(): void { $response = new RemovableResponse(1, []); ...
<?php namespace Database\Factories; use App\Models\Category; use App\Models\Post; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PostFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Post::c...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Address extends Model { // protected $table ="address"; protected $fillable=['ward', 'district', 'city']; }
@extends('layouts.member') @section('content') <br/> <div class="row"> <div class="col-lg-12"> <h3>Tlb Payment</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 /** * Created by PhpStorm. * User: Lenh Ho Xung * Date: 7/10/2018 * Time: 5:25 PM */ namespace App\Http\Controllers\Web; use App\Http\Controllers\Controller; use App\Models\RequestStaffs; class AppController extends Controller { }
<?php namespace system\database\migrations; use houdunwang\database\build\Migration; use houdunwang\database\build\Blueprint; use houdunwang\database\Schema; class category_add_filed_iscover extends Migration { //执行 public function up() { Schema::table( 'category', function ( Blueprint $table ) { $table->tiny...
<?php namespace MongoDB\Benchmark\Lib; use \MongoDB\Benchmark\BSONEncoding; use \MongoDB\Benchmark\Task; class FlatBSONEncoding extends BSONEncoding implements Task { protected $data; function setup() { $this->data = $this->loadFile( "data/flat_bson.json" ); } function beforeTask() { } function doTask() ...
<!DOCTYPE html> <html> <head> <title>ระบบบริหารจัดการรถยนต์</title> <meta charset="utf-8"> <?php include "Header.php"; ?> <link rel="icon" href="<?php echo base_url('assets/favicon.ico')?>" sizes="16x16"> </head> <style type="text/css"> body{ font-family: 'Prompt', sans-serif; } .head{ font-weight: bold; } ...