text
stringlengths
2
1.03M
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | ...
<?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 /* Template Name: Servicios Template */ get_header(); ?> <?php $services = get_field('servicios', 'option'); ?> <!-- start slider section --> <section class="no-padding width-100 height-100 top-0"> <div class="swiper-auto-width swiper-container white-move"> <div class="swiper...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class SliderRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ private $table = 'slider'; public function authorize() { return tru...
<?php namespace ProcessWire; require_once(__DIR__ . '/boot.php'); /** * ProcessWire API Bootstrap * * #pw-summary Represents an instance of ProcessWire connected with a set of API variables. * #pw-summary-instances Methods for managing ProcessWire instances. Note that most of these methods are static. * #pw-us...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInite6600ac15edb9b43ffa35c4a0e5919a5::getLoader();
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::create('comm...
<?php /* * This file has been created by developers from BitBag. * Feel free to contact us once you face any issues or want to start * You can find more information about us on https://bitbag.io and write us * an email on hello@bitbag.io. */ declare(strict_types=1); namespace Tests\BitBag\SyliusCrossSellingPlug...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Devopsrdc\V20200303\Models\GetTaskListFilterResponseBody\object\result; use AlibabaCloud\Tea\Model; class reminder extends Model { /** * @var string */ public $type; /** * @var string */ publ...
@extends('user.layout.user-master') @section('title', 'CP Five Star Products') @section('content') <div class="page-wrapper"> <!-- start: Inner page hero --> <div class="inner-page-hero header-bg" > <div class="container"> <h2 class="text-white"> @if ($category) ...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Schema::defaultstringLength(1...
<?php /** * ======================================================================================= * GemFramework (c) GemPixel * --------------------------------------------------------------------------------------- * This software is packaged with a...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2022-03-25 01:45:05 --> Severity: Warning --> date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those...
<?php defined('YII_ENV') or exit('Access Denied'); /** * Created by IntelliJ IDEA. * User: luwei * Date: 2017/6/19 * Time: 16:52 */ $urlManager = Yii::$app->urlManager; $this->title = '补丁区'; $this->params['active_nav_group'] = 1; ?> <div class="panel mb-3"> <div class="panel-header"><?= $this->title ?></div>...
<?php /** * @see https://github.com/laminas/laminas-config for the canonical source repository * @copyright https://github.com/laminas/laminas-config/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-config/blob/master/LICENSE.md New BSD License */ namespace Laminas\Config\Reader; us...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCityToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', functio...
<?php class migrate extends CI_Controller { public function index() { // load migration library $this->load->library('migration'); if ( ! $this->migration->current()) { echo 'Error' . $this->migration->error_string(); } else { echo 'Migrations ran...
<script src="{{ asset('template/vendor/jquery/jquery.min.js') }}"></script> <script src="{{ asset('template/vendor/bootstrap/js/bootstrap.min.js') }}"></script> <script src="{{ asset('template/vendor/metisMenu/metisMenu.min.js') }}"></script> <script src="{{ asset('template/vendor/raphael/raphael.min.js') }}"></script>...
<?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 RectorPrefix20210904\Symfony\Component\Config\Definition\Builder; use Re...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Portovolio */ $this->title = 'Create Portofolio'; $this->params['breadcrumbs'][] = ['label' => 'Portofolio', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="portovolio-create"> <h1><?= Html...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdateCompanies20181108 extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::table('...
<?php return [ 'status_delete' => -1, 'status_normal' => 1, ];
<?php namespace App\Http\Controllers\Api; use App\Models\Admin; use App\Models\Client; use App\Models\Coupon; use App\Models\CouponHistory; use App\Models\DeliveryMethod; use App\Models\Order; use App\Models\OrderDetail; use App\Models\Product; use App\Models\ReferralPoint; use App\Notifications\OrderReceived; use Ca...
<?php namespace App\Admin\Controllers\Helper; use App\Models\Helper\Rules; use App\Http\Controllers\Controller; use App\Models\Helper\Subject; use Encore\Admin\Auth\Database\Role; use Encore\Admin\Controllers\HasResourceActions; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Layout\Content; use Encore...
<?php namespace app\common\model; use think\Db; use think\Model; class BusInport extends Model { //关联供应商 public function provider(){ return $this->belongsTo('BusProvider','providerid','id'); } //关联商品 public function goods(){ return $this->belongsTo('BusGoods','goodsid','id'); ...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="<?= base_u...
<?php use Intervention\Image\Gd\Commands\InterlaceCommand as InterlaceGd; use Intervention\Image\Imagick\Commands\InterlaceCommand as InterlaceImagick; class InterlaceCommandTest extends PHPUnit_Framework_TestCase { public function tearDown() { Mockery::close(); } public function testGd()...
<?php namespace MiladRahimi\PhpRouter\Enums; /** * Class HttpMethods * * @package MiladRahimi\PhpRouter\Enums */ class HttpMethods { const GET = 'GET'; const POST = 'POST'; const PUT = 'PUT'; const PATCH = 'PATCH'; const DELETE = 'DELETE'; /** * Standardize given http method name ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Attendance System | Reset Password</title> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php namespace Psr7Unitesting\Stream; use Psr\Http\Message\StreamInterface; class IsNotWritable extends AbstractConstraint { public function toString() { return 'is not writable'; } protected function runMatches(StreamInterface $stream) { return $stream->isWritable() === false; ...
@extends('layouts.app') @section('title', 'Details for ' . $planA->firstname) @section('content') <section> <div class="container has-background-primary"> <div class="columns is-mobile"> <div class="column is-three-fifths is-offset-one-fifth"> <a href="{{ r...
<?php namespace App\Http\Controllers\Admin; use App\Repositories\ProductSellsReportRepository; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Gate; class ProductOrderController extends Controller { protected $ordersSellOrder; public function __construct(ProductSellsReportRepository $...
<?php namespace QuoteEnd; class Error { public $success = false; public $code = 404; public $description = "Not found"; /** * Error constructor. * @param bool $success * @param int $code * @param string $description */ public function __construct($success, $code, $description) { $this-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" href="img/me.ico"> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" /> <title>blog@chen</title> <link rel="stylesheet" type="text/css" href="css/blog.home.css"> <link rel="stylesh...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; use App\Item; class CreateItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('items', function(Blueprint $table) { /** * Item...
<a href="crearPregunta.php">Agregar nueva Pregunta</a> <br> <?php $consulta = $conex->query("SELECT * FROM preguntas ORDER BY id DESC"); $consulta->execute(); $preguntas = $consulta->fetchAll(PDO::FETCH_ASSOC); echo "PREGUNTAS"; foreach ($preguntas as $pregunta) { echo "<br>$pregunta[enunciado]<br>"; } $cons...
<?php use movemegif\data\Formatter; use movemegif\domain\StringCanvas; use movemegif\GifBuilder; require_once __DIR__ . '/../../php/autoloader.php'; /** * Integration test that builds a simple GIF. * Tests defaults. * * @author Patrick van Bergen */ class SimpleImageTest extends PHPUnit_Framework_TestCase { ...
<?php class hd extends Eloquent { protected $table = "hd"; }
<?php namespace app\models; use Yii; /** * This is the model class for table "ais_article". * * @property integer $art_id * @property string $art_title * @property string $art_content * @property string $art_starttime * @property string $art_img */ class AisArticle extends \yii\db\ActiveRecord { /** ...
<?php Yii::import('application.modules.Configuracion.models._base.BaseObjetivoEstrategicoRiesgo'); class ObjetivoEstrategicoRiesgo extends BaseObjetivoEstrategicoRiesgo { public static function model($className=__CLASS__) { return parent::model($className); } }
<?php namespace Buscocomercio\Core; use Illuminate\Database\Eloquent\Model; class FranchiseBalanceModel extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'franchise_balances'; /** * Indicates if the model should be timestamped. ...
<?php /* SonataPageBundle:SnapshotAdmin:create.html.twig */ class __TwigTemplate_9c81c962148ddeec79cd0d796e7b59c4592fd9d6d4f78e2e1306091c208f8671 extends Sonata\CacheBundle\Twig\TwigTemplate14 { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 12 ...
<header class="main-header"> <!-- Logo --> <a href="index2.html" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>MGS</b></span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>MGS</b>CCTV</span> </a> <!-- Hea...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>Shop Online</title> <!-- B...
@extends('layouts.dashboard.app') @section('content') @push('styles') <link rel="stylesheet" href="{{asset('web_files/css/bootstrap-fileinput.css')}}"> <link href="{{asset('dashboard_files/assets/plugins/bootstrap-select/css/bootstrap-select.css')}}" rel="stylesheet"/> @endpush ...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php namespace TUT\Commands; use TUT\Command as Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Version extends Command { /** * @var string The version that's being prepared */ protecte...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Recuperar Contraseña</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"/> <style type="text/css"> p, h1, h2, h3, h4, h5, h6{ margin: 0px } </style>...
@extends('auth.agency.layouts.master') @section('content') <div class="card-body table-responsive p-0"> <table class="table table-hover text-nowrap"> <thead> <tr> <th>ID</th> <th>Name</th> <th>Photos</th> <th>Status</th> <th>Action</th> ...
<?php /** * Application requirement checker script. * * In order to run this script use the following console command: * php requirements.php * * In order to run this script from the web, you should copy it to the web root. * If you are using Linux you can create a hard link instead, using the following command:...
<?php namespace App\Interfaces; use App\Interfaces\IRepository; interface ITransferenceRepository extends IRepository { public function show($id); public function store($attributes); public function update($attributes, $id); public function getTransference(); }
<?php declare(strict_types = 1); namespace SlevomatCodingStandard\Sniffs\PHP; use PHP_CodeSniffer\Files\File; use PHP_CodeSniffer\Sniffs\Sniff; use SlevomatCodingStandard\Helpers\TokenHelper; use function array_key_exists; use function count; use function in_array; use const T_ANON_CLASS; use const T_CLOSE_CURLY_BRAC...
@extends(isset(request()->modal) ? "layouts.empty":"pages.administration.contest.contest") @section('title', 'Submissions') @section(isset(request()->modal) ? "content":'contest-sub-content') <style type="text/css"> .submissionTd{ padding: 10px 5px 10px 5px; } .submissionTr{ border: 1px ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePhonesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('phones', functio...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsuarioModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('usuario',...
<?php namespace DCAT_AP_DONL\Test; use DCAT_AP_DONL\DCATURI; use PHPUnit\Framework\TestCase; class DCATURITest extends TestCase { public function testHttpLinksAreAllowed(): void { $uri = new DCATURI('http://somesite.com'); $this->assertTrue($uri->validate()->validated()); } public f...
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>Ваш личный, свадебный стилист с выездом на дом. тел. 8-926-542-11-31</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class UnitStatus extends Model { protected $table = 'unit_status'; }
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Fixer\PhpUnit; use PhpCsFixer...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use HasFactory, Notifiable; /** * The a...
@extends('layouts.app') @section('title','Profile') @section('css') <style> </style> @endsection @section('content') <div style="padding-top: 150px; padding-left: 40px;"> <div class="row"> <div class="col-sm-2"> <a href="{{ route('home') }}"> <button class="btn btn-dark" > <i class="fas ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class M_pz_special_token extends CI_Model { public function where($cookie) { $where = "WHERE a.is_deleted = FALSE "; if (@$cookie['search']['term'] != '') { $where .= "AND a.role_name LIKE '%" . $this->db->escape_like_str($cookie[...
<?php declare(strict_types=1); namespace Square\Models; use stdClass; /** * The range of a number value between the specified lower and upper bounds. */ class Range implements \JsonSerializable { /** * @var string|null */ private $min; /** * @var string|null */ private $max; ...
<?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 a...
<?php /* @var $this \yii\web\View */ /* @var \common\models\Blog[] $models */ ?> <?= '<?xml version="1.0" encoding="UTF-8"?>' ?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <?php if ($models): ?> <?php foreach ($models as $model): ?> <url> <loc><?= \yii\bootstrap...
<?php namespace ZN\Request\Tests; /** * ZN PHP Web Framework * * "Simplicity is the ultimate sophistication." ~ Da Vinci * * @package ZN * @license MIT [http://opensource.org/licenses/MIT] * @author Ozan UYKUN [ozan@znframework.com] */ use ZN\Controller\UnitTest; class Request extends UnitTest { const ...
<?php use yii\helpers\Html; /** * @var yii\web\View $this * @var common\models\CarFirm $model */ $this->title = "Фирма-производитель " . $model->name . ', ' . 'Edit'; $this->params['breadcrumbs'][] = ['label' => "Фирма-производитель", 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => (string)$mod...
<div id="sponsors" class="container"> <hr> <h2>We'd like to thank these <strong>amazing companies</strong> for supporting us</h2> <div class="sponsors-list"> <div> <a href="https://m.do.co/c/a6c836a9bf72"> <img src="{{ asset('images/digitalocean.png') }}"> </a...
@extends('layouts.app') @section('content') <script type="text/javascript"> var datetime = '<?php echo date('Ymdhis'); ?>'; var mainmenu = '<?php echo $request->mainmenu; ?>'; </script> {{ HTML::script('resources/assets/js/mail.js') }} <div class="CMN_display_block box100per" id="main_contents"> <!-- ...
<?php use Illuminate\Database\Seeder; use SBD\Softadmin\Models\Role; class RolesTableSeeder extends Seeder { /** * Auto generated seed file. * * @return void */ public function run() { $role = Role::firstOrNew([ 'name' => 'admin', ]); ...
<?php namespace Dotdigitalgroup\Email\Model\Sync\Order; use Dotdigitalgroup\Email\Logger\Logger; use Dotdigitalgroup\Email\Model\Catalog\UpdateCatalogBulk; use Dotdigitalgroup\Email\Model\Importer; use Dotdigitalgroup\Email\Model\ImporterFactory; use Dotdigitalgroup\Email\Model\ResourceModel\OrderFactory as OrderReso...
<?php /** * Modified: 2020-05-24T22:03:02+00:00 */ namespace Office365\OutlookServices; use Office365\Runtime\ClientValue; class TimeZoneBase extends ClientValue { /** * @var string */ public $Name; }
<?php /** * Template Name: 全宽页面 * * Copyright (c) 2019-2025, bbcatga.herokuapp.com * All right reserved. * * @since 2.5.0 * @package BBcat-K * @author 洛茛艺术影视在线 * @date 2019-04-03 10:00 * @link https://bbcatga.herokuapp.com */ ?> <?php tt_get_header(); ?> <div id="content" class="wrapper container full-pa...
<?php namespace Anomaly\Streams\Platform\Installer; use Anomaly\Streams\Platform\Support\Collection; /** * Class InstallerCollection * * @link http://pyrocms.com/ * @author PyroCMS, Inc. <support@pyrocms.com> * @author Ryan Thompson <ryan@pyrocms.com> */ class InstallerCollection extends Collection { /**...
<?php /** * Created by PhpStorm. * User: rwcym * Date: 2018/6/6 * Time: 14:06 */ namespace app\index\controller\api; use think\Db; class Luobopl extends Base { /** * 萝卜评论列表展示 * @param wz_id 文章id * @param pl_id 评论总id * @return json * */ public function pllist() { //条件...
<?php namespace app\index\model; use think\Model; class Food extends Model{ // food_name字段搜索器 public function getList($foodList){ $food = array(); foreach ($foodList as $key => $value) { $food[] = [ "food_id" => $value->food_id, "food_nam...
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../estilo.css"> <title>Curso de PHP - Curso em Video</title> </head> <body> <?php $nome = str_repeat("Fernandes",5); p...
<?php /* * This file is part of the Fxp package. * * (c) François Pluchino <francois.pluchino@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Fxp\Component\SmsSender\Event; use Fxp\Component\SmsSender\SmsEnv...
<?php if(!defined('MAC_ROOT')){ exit('Access Denied'); } @include(MAC_ROOT.'/inc/common/phplib.php'); @include(MAC_ROOT.'/inc/user/qqconnect.php'); @include(MAC_ROOT.'/inc/user/ucenter/config.inc.php'); @include(MAC_ROOT.'/inc/user/ucenter/uc_client/client.php'); if($MAC['user']['status'] == 0){ echo '会员系统关闭中';exit; ...
<!doctype html> <html class="no-js" lang=""> <head> <title>Zabuun - Learn Egyptian Arabic for English speakers</title> <meta name="description" content=""> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?> </head> <body> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?> <?php include...
<?php use App\Models\Category; use Illuminate\Database\Seeder; class CategoryTableSeeder extends Seeder { public function run() { Category::unsetEventDispatcher(); $categories = factory(Category::class, 3)->create(); } }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class MateriasController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for creating a ne...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard extends CI_Controller { public function index() { check_not_login(); $this->template->load('template', 'dashboard'); } }
<html> <head> <title> Forgot Password </title> <link rel="stylesheet" href="../index.html_files/freemind2html.css" type="text/css"/> </head> <body> <div style="text-align:center"> <a class="style3"href='index.php'><img src="../images/Home.png" height='24'; width='24'></br>HOME</a> </div> <div style=" margin-top:200px;c...
<?php return [ /* |-------------------------------------------------------------------------- | Repository configuration |-------------------------------------------------------------------------- | */ 'repository' => [ /* |-----------------------------...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://doc.hyperf.io * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\Di\LazyLoader; class FallbackLazyProxyBuilder extends Abstrac...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { protected $fillable = [ 'user_id', 'name', 'titel', 'blogpost' ]; }
<?php use App\Http\Controllers\TransactionController; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can reg...
<?php namespace Katana\Site; use Illuminate\Filesystem\Filesystem; use Illuminate\View\Factory; use function ends_with; class BlogPaginationBuilder { protected $filesystem; protected $viewFactory; protected $viewsData; protected $pagesData; /** * BlogPaginationBuilder constructor. * ...
@can('precentage_contract_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.precentage-contracts.create') }}"> {{ trans('global.add') }} {{ trans('cruds.precentageContract.title_singular') }} ...
@extends('template.default') @section('content') <!-- Main body of User --> <div class="row"> <div class="col-md-6"> <h4>User List</h4> </div> <div class="col-md-6"> <a class="btn btn-primary" style="float:right" type="button" href="{{route('add-...
<?php namespace Hemengeliriz\ParamposLaravel\Tests; use Hemengeliriz\ParamposLaravel\ParamposLaravelServiceProvider; use Illuminate\Database\Eloquent\Factories\Factory; use Orchestra\Testbench\TestCase as Orchestra; class TestCase extends Orchestra { protected function setUp(): void { parent::setUp()...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class instructorWithoutStudentsResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\Arrayabl...
<?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-api', 'basePath' => dirname(__DIR__), 'bootstrap' => [...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { ...
<?php // +---------------------------------------------------------------------- // | LikeShop100%开源免费商用电商系统 // +---------------------------------------------------------------------- // | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力 // | 开源版本可自由商用,可去除界面版权logo // | 商业版本务必购买商业授权,以免引起法律纠纷 // | 禁止对系统程序代码以任何目的,任何形式的再发布 // | Gitee下载:https://g...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" typ...
<?php declare(strict_types = 1); namespace Tests\Innmind\HttpTransport; use Innmind\HttpTransport\{ DefaultTransport, LoggerTransport, ThrowOnErrorTransport, ExponentialBackoffTransport, CircuitBreakerTransport, }; use function Innmind\HttpTransport\bootstrap; use Innmind\TimeWarp\Halt; use Innmin...