text
stringlengths
2
1.03M
<?php namespace App\Http\Requests\Size; use Illuminate\Foundation\Http\FormRequest; class SizeUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Directory\Test\Unit\Model\Country\Postcode\Config; class ConverterTest extends \PHPUnit\Framework\TestCase { /** * @var \Magento\Customer\Model\Address\Config\Converter */ protect...
<canvas id="doughnut" style="width: 100%;"></canvas> <script> $(function () { function randomScalingFactor() { return Math.floor(Math.random() * 100) } window.chartColors = { red: 'rgb(255, 99, 132)', orange: 'rgb(255, 159, 64)', yellow: 'rgb(255, 205, 86)', green: ...
<?php namespace Delivery\Repositories; use Delivery\Presenters\UserPresenter; use Prettus\Repository\Eloquent\BaseRepository; use Prettus\Repository\Criteria\RequestCriteria; use Delivery\Models\User; /** * Class UserRepositoryEloquent * @package namespace App\Repositories; */ class UserRepositoryEloquent extends...
@extends('frontend.master') @section('content') <div class="ps-page--my-account"> <div class="ps-breadcrumb"> <div class="container"> <ul class="breadcrumb"> <li><a href="index.html">Home</a></li> <li>My account</li> </ul>...
@extends('master') @section('content') <div class="inner-header"> <div class="container"> <div class="pull-left"> <h6 class="inner-title">Sản phẩm {{$sanpham->name}}</h6> </div> <div class="pull-right"> <div class="beta-breadcrumb font-large"> <a href="{{route('trang-chu')}}">Trang chủ</a> / <s...
<?php namespace frontend\controllers; use Yii; use yii\base\InvalidParamException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; use common\models\LoginForm; use frontend\models\PasswordResetRequestForm; use frontend\models\ResetPasswordForm; us...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Promo extends MY_Controller { public function __construct() { parent::__construct(); $role = $this->session->userdata('role'); if($role !== 'admin'){ redirect(base_url('/')); return; ...
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Nilai extends Model { protected $table = 'nilai'; protected $primaryKey = 'id_nilai'; protected $fillable = ['id_nilai', 'poin_nilai', 'id_soal_ujian', 'kode_mata_pelajaran', 'NIS']; public $timestamps = false; }
<?php /** * Handles tasks to be performed on orders, particularly placing and processing/fulfilment. * Placing, Emailing Reciepts, Status Updates, Printing, Payments - things you do with a completed order. * * @package shop */ class OrderProcessor { /** * @var Order */ protected $order; /**...
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=test_yii', 'username' => 'newuser', 'password' => 'password', 'charset' => 'utf8', // Schema cache options (for production environment) //'enableSchemaCache' => true, //'schemaCacheDuration' => 60, ...
<?php namespace Domain; interface PriceConverter { /** * @param Price $price * @param string $newCurrency * @return Price */ public function convert(Price $price, string $newCurrency): Price; }
<?php /** * @file * Definition of Drupal\Core\Cache\BackendChain. */ namespace Drupal\Core\Cache; /** * Defines a chained cache implementation for combining multiple cache backends. * * Can be used to combine two or more backends together to behave as if they * were a single backend. * * For example a slower...
<?php namespace Lighthouse\Http\Controllers\Auth; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Lighthouse\Http\Controllers\Controller; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Contro...
<?php namespace WebEd\Themes\Triangle\Http\ViewComposers; use Illuminate\View\View; class BlogSidebar { /** * @param View $view */ public function compose(View $view) { $view->with([ 'tags' => get_tags([ 'select' => [ 'title', 'slug', 'id',...
<?php namespace CalculatorTest; use Silex\WebTestCase; class CalculatorTest extends WebTestCase { public function createApplication() { $app = require __DIR__ . '/../../../app/bootstrap.php'; $app['debug'] = true; return $app; } public function testCalculatorIndexOk() {...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('images', functio...
<!-- Footer --> <footer id="footer"> <p class="copyright">&copy; <a href="./boss"> Tanveer Web Dev</a>: copyright <?php echo date("Y") ?>.</p> </footer> </div> <!-- BG --> <div id="bg"></div> <?php include 'script.php' ?> </body> </html>
<?php /* * Copyright 2014 Google Inc. * * 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 agreed t...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2017/1/8 * Time: 16:19 */ namespace app\admin\validate; use think\Validate; class AdminRightMenuValidate extends Validate{ protected $rule = [ ['name','unique:admin_right_menu','权限菜单已经存在'], ]; }
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class InformationRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\Url; // use app\models\Bila; use yii\helpers\ArrayHelper; use kartik\file\FileInput; ?> <div class="box box-danger"> <?php $form = ActiveForm::begin([ 'id' => 'weblink-form', 'options' => [ ...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h2 mb-4 text-white shadow-lg"><?php echo $title ?></h1> </div> <!-- /.container-fluid --> </div> ...
<?php namespace Spatie\Activitylog\Models; use Illuminate\Support\Arr; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\MorphTo; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Spatie\Activitylog\C...
<?php namespace base\Http\Controllers; use Illuminate\Http\Request; use base\Model\Task; use base\Model\Client; use base\Model\Activity; use base\Model\Agent; use base\Model\Bitacora; use base\Utils\MyLog; use Illuminate\Database\Eloquent\ModelNotFoundException; use base\Http\Requests; use base\Http\Controllers\Con...
<?php namespace App\Http\Controllers\Ignug; use App\Http\Controllers\Controller; use App\Models\Ignug\Catalogue; use App\Models\Ignug\State; use Illuminate\Http\Request; class CatalogueController extends Controller { public function index() { return response()->json([ 'data' => [ ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/secretmanager/v1/resources.proto namespace Google\Cloud\SecretManager\V1; if (false) { /** * This class is deprecated. Use Google\Cloud\SecretManager\V1\ReplicationStatus\AutomaticStatus instead. * @deprecated *...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Blog extends Public_Controller { public function __construct() { parent::__construct(); $this->load->model('blog_m'); $this->load->model('blog_categories_m'); $this->load->model('comments/comments_m'); $this->load->library(array...
<?php /** * Copyright Shopsailors (2009) * * briceparent@free.fr * * This file is a part of a computer program whose purpose is to create, * administrate and use a shop over the web. * * This software is governed by the CeCILL license under French law and * abiding by the rules of distribution of free...
<?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 /** * DiscoveryEntRankRankHasMore * * PHP version 5 * * @category Class * @package swagger_client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) ...
<?php namespace Phpactor\CodeBuilder\Util; final class TextUtil { public static function lines(string $text): array { return preg_split("{(\r\n|\n|\r)}", $text); } }
<?php namespace app\admin\model\form; use think\Model; class FormConfigList extends Model { // 表名 protected $name = 'form_config'; // 自动写入时间戳字段 protected $autoWriteTimestamp = false; // 定义时间戳字段名 protected $createTime = false; protected $updateTime = false; // 追加属性 prote...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMonthlyPlansTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('monthly__p...
<?php /* * Pretty printed JSONP with 2 spaces indent * * @return string */ return <<<'JSON' foo({ "foo": "bar", "baz": { "foobar": [ 42, 0.00042, "", null ] } }); JSON;
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
<?php declare(strict_types=1); namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * SearchLogsFixture */ class SearchLogsFixture extends TestFixture { /** * Fields * * @var array */ // phpcs:disable public $fields = [ 'id' => ['type' => 'integer', 'lengt...
<?php namespace console\controllers\actions\funcoesgerais; use common\models\Imagens; use yii\base\Action; use common\models\ProdutoFilial; use Yii; class AmazonGerarPlanilhaDadosCompletaAction extends Action { public function run(){ echo "INÍCIO da rotina de geração da planilha com os dados pa...
<?php /** * @title Admin Controller * @desc Configuring the honeypot and viewing log. * * @author Pierre-Henry Soria <hi@ph7.me> * @copyright (c) 2012-2019, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License <http://www.gnu.org/licenses/gpl.html> ...
<? @session_start(); include "./conf/dbinfo.php"; include "./func/mysql.php"; include "./func/file.php"; include "./func/form.php"; include "./func/mobile.php"; include "./func/language.php"; include "./func/country.php"; include "./func/site.php"; include "./func/layout.php"; include "./func/header.php"...
@extends('layouts.app') @section('title', 'App Shop | Dashboard') @section('body-class', 'profile-page') @section('content') <div class="page-header header-filter" data-parallax="true" style="background-image: url('{{ asset('img/Pinata01.jpg') }}')"> </div> <div class="main main-raised"> <div class="container"> ...
<?php declare(strict_types=1); namespace Sabre\DAV\Sync; use Sabre\DAV; use Sabre\DAV\Xml\Request\SyncCollectionReport; use Sabre\HTTP\RequestInterface; /** * This plugin all WebDAV-sync capabilities to the Server. * * WebDAV-sync is defined by rfc6578 * * The sync capabilities only work with collections that ...
<?php namespace Game\Domain\Exception; class WrongCoordinateXException extends \Exception implements DomainException { public function __construct(int $coordinateXValue) { parent::__construct("Value($coordinateXValue) for coordinate x is out of range."); } public function userMessage(): strin...
@extends('master') @section("content") <div class="container custom-product"> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-t...
<?php /** * 图片处理类 * bmp 的处理速度很慢建议避免 */ namespace Yll1024335892\Phptools; use Yll1024335892\Phptools\Exceptions\pgException; define("PG_IN",__DIR__."/temp/"); define("PG_DS","/"); class ImageClass{ //图像资源 private $img; //图像信息,包括width,height,mime 等 private $info; //文件扩展名 private $exeName; //图片操作对象 priva...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Taskrouter\V1\Workspace\Workflow; use Twilio\InstanceContext; use Twilio\Options; use Twilio\Serialize; use Twilio\Values; use Twilio\Version; class WorkflowStatisticsContext exte...
<?php use \lib\Database; use \lib\Functions; include "../header.php"; check_administrator(); if($user_is_administrator){ $have_old = $has_grades = $have_old_edit = false; $current_date = date('Y/m/d 23:59:59'); $yesterday = date('Y/m/d 23:59:59', strtotime( '-1 days' )); $old_gradeable = array( ...
<!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>llmagaia</title> <link rel="stylesheet" href="{{asset('css/app.css')}}"> <link rel="stylesheet" href=...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddForeignKeys extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('mentor_bookings', function($table) { $table->dropForeign(['schedule_id']); $tab...
<?php declare(strict_types=1); namespace Kreait\Firebase\Value; use function GuzzleHttp\Psr7\uri_for; use Kreait\Firebase\Exception\InvalidArgumentException; use Kreait\Firebase\Value; use Psr\Http\Message\UriInterface; use Throwable; class Url implements \JsonSerializable, Value { /** * @var UriInterface ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\Resource; class RoleResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request * @return array */ public function toArray($request) { return [ ...
<?php /** * Reliv Common's Invalid Argument Exception * * This file contains the methods to throw an SPL invalid argument exception * from with in the Reliv Common Module * * PHP version 5.3 * * LICENSE: No License yet * * @category Reliv * @package Rcm * @author Westin Shafer <wshafer@relivinc.com> ...
@extends('backend.master') @section('section') <div class="header d-flex justify-content-between"> <h1> All USERS </h1> </div> <table class="table table-bordered" id="example"> <thead> <tr> <th scope="col">#SL</th> <th scope="col"> Image</th> <th scope="col"> Name</th> <th scope="col"...
<!-- BREAD CRUMB PAYMENT CREATE --> <ul id="breadcrumbs"> <li><a href="<?php echo base_url('general/gstclient');?>">GST CLIENTS</a></li> <li ><a href="<?php echo base_url('general/gstmonthlyfill'); ?>">GST MONTHLY FILLING</a></li> <li><a href="<?php echo base_url('general/gmfresult');?>">company-name</a></...
<?php namespace backend\modules\score\controllers; use backend\controllers\DefaultController as GolfLeagueController; use common\models\Competition; use common\models\Registration; use common\models\search\ScorecardSearch; use common\models\ScorecardForCompetition; use Yii; use yii\data\ActiveDataProvider; use yii\d...
<?php $this->title = Yii::t('easyii2/subscribe', 'View subscribe history'); $this->registerCss('.subscribe-view dt{margin-bottom: 10px;}'); ?> <?= $this->render('_menu') ?> <dl class="dl-horizontal subscribe-view"> <dt><?= Yii::t('easyii2/subscribe', 'Subject') ?></dt> <dd><?= $model->subject ?></dd> <dt>...
<?php return [ 'color' => 'Колір в RGB чи hex (необов\'язково)', 'color_ph' => 'Колір (наприклад, #ffffff чи rgb(255, 255, 255)', 'create_new_item' => 'Створити новий пункт меню', 'delete_item_confirm' => 'Так, видалити цей пункт меню', 'delete_item_question' => 'Ви...
<!-- ========== Left Sidebar Start ========== --> <div class="left side-menu"> <div class="sidebar-inner slimscrollleft"> <!-- User --> <div class="user-box"> <div class="user-img"> <? echo getProfileImage($this->session->userdata('profile'), 'alt="user-img" title="'.$th...
<?php namespace NicklasW\PkmGoApi\Kernels; use DI\Container; use DI\ContainerBuilder; use Dotenv\Dotenv; use Interop\Container\ContainerInterface; use Monolog\Formatter\LineFormatter; use Monolog\Handler\NullHandler; use Monolog\Handler\StreamHandler; use Monolog\Logger; use NicklasW\PkmGoApi\Config\Config; use Nickl...
<?php /* * This file is part of the overtrue/wechat. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\Work\ExternalContact; use EasyWeChat\Tests\TestCase; use EasyWeChat\Work\ExternalC...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddSquareFootToProperties extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('propertie...
<?php namespace App\Controllers; use App\Models\ContributionTypeModel; use App\Models\SavingVariationsModel; use App\Models\PaymentDetailsModel; use App\Models\Cooperators; class SavingVariationController extends BaseController { public function __construct(){ $this->session = session(); $th...
<?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__), 'control...
<?php use App\Models\Shop; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create...
<?php /** * Copyright (C) 2020 Tencent Cloud. * * 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 ...
<?php namespace App\Http\Controllers\Karyawan; use App\Http\Controllers\Controller; use App\Models\customer; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; class CustomerController extends Controller { /** * Display a listing of the resource. * ...
<?php namespace App\Transformers\Api; use Illuminate\Database\Eloquent\Collection; use League\Fractal\TransformerAbstract; interface MultipleAirQualityContract { public function all(): array ; public function add(string $sourceType, Collection $collection, TransformerAbstract $transformer); }
<?php namespace Webkul\Mobikul\Models; use Webkul\Customer\Models\Customer as CustomerBaseModel; use Illuminate\Notifications\Notifiable; use Webkul\Mobikul\Contracts\Customer as CustomerContract; use Illuminate\Support\Facades\Storage; class Customer extends CustomerBaseModel implements CustomerContract { use N...
<?php Route::get('/', function () { return view('welcome'); }); Route::post('/exception/{appId}', 'ExceptionController@store'); Auth::routes(); Route::get('/home', 'HomeController@index')->name('home'); Route::get('applications', 'ApplicationController@index')->name('applications.index'); Route::get('applicati...
<!DOCTYPE html> <html lang="en"> <head> <?php $this->load->view("admin/_partials/head.php") ?> </head> <body id="page-top"> <?php $this->load->view("admin/_partials/navbar.php") ?> <div id="wrapper"> <?php $this->load->view("admin/_partials/sidebar.php") ?> <div id="content-wrapper"> <div class="contain...
<?php include '../db/conect.php'; include '../admin/2404/incLogin.php' ?> <?php if(isset($_GET['xoa'])) { $id = $_GET['xoa']; $sql_delete_donhang = mysqli_query($con, "DELETE FROM tbl_donhang WHERE donhang_id = '$id'"); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Conten...
@extends('layouts/layout') @section('content') <div class="container mt-4"> <div class="border p-4"> <h1 class="h5 mb-4"> コメントの編集 </h1> <form action="{{ route('comments.update', ['comment' => $comment , 'post' => $post]) }}" method="post"> ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>{{ env('APP_NAME') }} | Admin</title> <link rel="shortcut icon" href="{{ asset('image/swap_trans.png') }}"> <!-- Tell the browser to be responsive to screen width --> <m...
<div class="form-actions fluid" align="center"> <div class="row"> <div class="col-md-12"> <div> <a class="btn btn-default btn-sm" href="{{ $mod->url }}">{{ lang('common.back_to_list') }}</a> </div> </div> </div> </div>
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
@extends('layouts.emp_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) ...
--TEST-- Test for bug #1501: Xdebug var dump tries casting properties (text) --SKIPIF-- <?php require __DIR__ . '/../utils.inc'; check_reqs('32bit'); ?> --INI-- html_errors=0 xdebug.cli_color=0 xdebug.default_enable=1 xdebug.overload_var_dump=2 --FILE-- <?php class h extends stdClass { public $data = array(); ...
<?php function getCities() { return [ "Aba", "Abakaliki", "Abeokuta", "Abuja", "Ado Ekiti", "Akpawfu", "Akure", "Asaba", "Awka", "Bauchi", "Benin", "Birnin Kebbi", ...
<?php namespace Application\Model; use RuntimeException; use Application\Model\EquipeJoueur; use Zend\Db\TableGateway\TableGatewayInterface; class EquipeJoueurTable { private $tableGateway; public function __construct(TableGatewayInterface $tableGateway) { $this->tableGateway = $tableGateway; ...
@extends('layouts.app') @section('title','Stock Summary') @push('css') @endpush @section('content') <!-- BEGIN Page Content --> <main id="js-page-content" role="main" class="page-content"> <ol class="breadcrumb page-breadcrumb"> <li class="breadcrumb-item"><a href="javascript:void(0);">Dashbo...
@extends('dashboard') @section('sub-title') | Dashboard @stop @section('content-title') Dashboard @stop @section('content') <!-- Small boxes (Stat box) --> <div class="row" id="home"> <div class="col-lg-4 col-xs-8"> <!-- small box --> <div class="small-box bg-aqua"> <...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Cars_model extends CI_Model { public function __construct() { // Mantendo a herança do CI_Model parent::__construct(); // Carregando dependencias $this->load->database(); } public function get_cars() { // Constru...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Validator; use Session; use GuzzleHttp\Client; use Illuminate\Http\Request; use App\SocialMediaLink; class LoginController extends Controller { /* |...
@extends('recruiter::layouts.master') @section('content') <link href="{{asset('/css/common.css')}}" rel="stylesheet" /> <link href="{{asset('theme-recruiter/css/job.css')}}" rel="stylesheet" /> <div class="pull-right message-warning" style="position: absolute; right: 22px; margin-top: -10px; z-index: 1;"> ...
<?php namespace app\assets; use yii\web\AssetBundle; /** * Class View3dAsset * * @package app\assets */ class View3dAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'css/loader.object.css', 'css/jquery.fancybox.min.css', 'cs...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
<?php namespace Athena\Tests\Browser\Page\Find\Assertion; use Athena\Browser\Page\Find\Assertion\ElementExistsAtLeastOnceAssertion; use Athena\Browser\Page\Find\Assertion\ElementShouldNotExistAssertion; use Athena\Browser\Page\Find\Assertion\ElementTextEqualsAssertion; use Facebook\WebDriver\Remote\RemoteWebElement; ...
<?php namespace app\api\controller; class Alipay{ /* * 支付宝支付 * $body 名称 * $total_amount 价格 * $product_code 订单号 * $notify_url 异步回调地址 */ public function alipay($body, $total_amount, $product_code, $notify_url) { /** ...
<?php /** * @global CUser $USER * @global CMain $APPLICATION */ use Bitrix\Main\Localization\Loc; require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); define("HELP_FILE", "settings/agreement_admin.php"); Loc::loadMessages...
<?php /** * @package hubzero-cms * @copyright Copyright 2005-2019 HUBzero Foundation, LLC. * @license http://opensource.org/licenses/MIT MIT */ namespace Components\Courses\Models; use Components\Courses\Tables; require_once __DIR__ . DS . 'base.php'; require_once __DIR__ . DS . 'gradebook.php'; require_o...
<?php /******************************************************************************* * * filename : FamilyView.php * last change : 2013-02-02 * website : http://www.churchcrm.io * copyright : Copyright 2001, 2002 Deane Barker, 2003 Chris Gebhardt, 2004-2005 Michael Wilt * *************************...
@props(['item']) <div> {{ $item->user->name }} deleted the task: <p> <strong><q>{{ $item->subject->body }}</q></strong> </p> </div>
<?php /** * @copyright City & Guilds Kineo 2021 * @author Michael Geering <michael.geering@kineo.com> */ defined('MOODLE_INTERNAL') || die; function xmldb_local_core_install() { \local_core\Hook\ReportBuilder\ScormOptimisation::onInstall(); }
<?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; use app\Models\Dosen as DosenModel; use app\Models\Mahasiswa as MahasiswaModel; class User...
<?php namespace Keyi1688\com\alibaba\trade\param; use Keyi1688\com\alibaba\openapi\client\entity\SDKDomain; use Keyi1688\com\alibaba\openapi\client\entity\ByteArray; use Keyi1688\AlibabaTradePayWayQueryParam\AlibabaOceanOpenplatformBizTradeResultTradePayTypeResult; class AlibabaTradePayWayQueryResult { private $s...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddCurrentStock extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('items', function (B...
<?php namespace Tickets\Http\Controllers\Ticket; use Illuminate\Support\Facades\Redirect; use Tickets\Http\Controllers\Controller; use Tickets\Http\Requests\EditUserRequest; use Tickets\Student; use Tickets\User; class UserController extends Controller { public function __construct() { $this->vm = Student::wit...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="http://www.movabletype.org/" /> ...
<?php namespace App\Data\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Region extends Model { use HasFactory; }