text stringlengths 2 1.03M |
|---|
<?php
/**
* Created by PhpStorm.
* User: Nadzif Glovory
* Date: 6/24/2018
* Time: 8:20 AM
*/
namespace nadzif\actions\widgets;
class Modal extends \yii\bootstrap4\Modal
{
const SIZE_LARGE = "modal-lg w-100";
const SIZE_SMALL = "modal-sm";
const SIZE_DEFAULT = "";
public $options = ['ta... |
<header class="site-head">
<div class="container">
<div class="logo"><a href="<?php if ($section == 'inner') {echo '../'; } ?>index.php"><img src="<?php if ($section == 'inner') {echo '../'; } ?>assets/img/logo.png" alt="Rocket Tutorial"></a></div>
<div class="head-nav">
<label for="nav-toggle" class="n... |
<?php
namespace Ekyna\Bundle\CommerceBundle\Command;
use Doctrine\ORM\EntityManagerInterface;
use Ekyna\Component\Commerce\Stock\Entity\AbstractStockUnit;
use Ekyna\Component\Commerce\Supplier\Calculator\SupplierOrderCalculatorInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Inp... |
@extends('layouts.admin')
@section('content')
<section class="container">
<div class="card ">
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="ace-icon fa fa-home home-icon"></i>
<a href="#">Home</a>
</li>
<li clas... |
@extends('layouts.template')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<!-- Default box -->
<div ... |
<?php
namespace Slince\Shopify\Tests\Model\Orders\Common;
use Slince\Shopify\Model\Orders\Common\DiscountApplication;
use Slince\Shopify\Tests\Model\ModelTestCase;
class DiscountApplicationTest extends ModelTestCase
{
/**
* @inheritDoc
*/
public function getModelClass()
{
return Discoun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Config;
use OwenIt\Auditing\Contracts\Auditable;
use App\Version;
use App\Node;
use App\PatientConfig;
class Algorithm extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
protected $guarded = [];
} |
<?php
$defaultHooks = [
// 订单创建
'order_create_before' => [ // 订单创建前
'addons\\shopro\\listener\\order\\Create'
],
'order_create_after' => [ // 订单创建后
'addons\\shopro\\listener\\order\\Create'
],
'order_payed_after' => [ // 订单支付成功
'addons\\shopro\\listener\\order\\Payed'
],
... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\UserDocumentCategory;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;
class ... |
@extends('admin.layouts.admin')
@section('css')
<link rel="stylesheet" href="{{ asset('admin/assets/vendor/dropify/css/dropify.min.css') }}">
@endsection
@section('block-header')
@component('admin.components.block-header')
@slot('header_title')Comentarios @endslot
@slot('breadcrumb_item')
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class About extends MY_Controller {
public function index()
{
$this->loadPage("about/about", "", array("activeHeaders"=>"About"));
}
} |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use OwenIt\Auditing\Contracts\Auditable;
class User extends Authenticatable implements Auditable
{
use Notifiable;
use \OwenIt\Auditing\Auditabl... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function index()
{
$this->load->view('welcome_message');
}
function ceklogin(){
if(isset($_POST['login'])){
$user = $this->input->post('user',true);
$pass = $this->input->post('pass',true);
... |
<?php
/**
* Helper functions to convert between ADODB recordset objects and XMLRPC values.
* Uses John Lim's AdoDB and Edd Dumbill's phpxmlrpc libs
*
* @author Daniele Baroncelli
* @author Gaetano Giunta
* @copyright (c) 2003-2004 Giunta/Baroncelli. All rights reserved.
*
* @todo som... |
<?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\Form;
/**
* Deprecated. You should use FormEvents::P... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateChequeTablesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cheque_tab... |
<h1><pre>PAGE PHP<br/>
<?php $date = date("d-m-Y"); $heure = date("H:i"); Print("$date $heure"); ?>
</pre></h1> |
<?php
require 'autoload.php';
$retorno = \Proner\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bb.ret');
$retorno->processar();
echo $retorno->getBancoNome();
dd($retorno->getDetalhes()); |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Storage;
class AdminProduct... |
@extends('layouts.template')
@section('content')
<section class="rol-create">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{ route('access.index') }}">Inicio</a>
</li>
<li class="breadcrumb-item active" ari... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePlayersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('players', funct... |
<?php
/**
* baserCMS : Based Website Development Project <http://basercms.net>
* Copyright (c) baserCMS Users Community <http://basercms.net/community/>
*
* @copyright Copyright (c) baserCMS Users Community
* @link http://basercms.net baserCMS Project
* @package Baser.Routing.Filter
* @since baserCMS v 3... |
<div class="panel panel-default">
<div class="panel-heading">
<span class="panel-title pull-left">Edit Template </span>
<div class="pull-right">
<?php echo PT_BACK; ?>
</div>
<div class="clearfix"></div>
</div>
<div class="panel-body">
<form action="" method="POST">
<label>Template... |
<!-- Modal -->
<div class="modal fade bd-example-modal-lg registrar_cuenta" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Registrar cuenta ({{ Auth::user()->... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/*
Code included from the Enhanced Paypal Shortcodes plugin.
http://thewpwarrior.com/wordpress-plugin-enhanced-paypal-shortcodes/
Use shortcodes to easily embed a fully functional paypal button on your WordPress website.
Can be used for Buy Now and Subscription buttons. <... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use dosamigos\datepicker\DatePicker;
use dosamigos\datepicker\DateRangePicker;
use app\models\Products;
use app\models\Units;
p2m\sbAdmin\assets\SBAdmin2Asset::register($this);
p2m\assets\TimelineAsset::register($this);
p2m\assets\Mo... |
<?
session_start();
$chk = $_SESSION["encap"];
//echo $chk;
if($chk!= "admin" && $chk != "user"){
echo '<script type="text/javascript">
window.location = "index.php"
</script>';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content=... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
$loginID = $this -> session -> userdata('logindata');
?>
<!DOCTYPE html>
<html>
<head>
<base href="<?php echo site_url() ?>">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yoga选课系统</title>
<link rel="stylesheet" href="assets/css/amazeui... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Laravel</title>
<!-- jQuery library -->
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<link href="//fonts.googleapis.com/css?family=Lato:100... |
<?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\Process\Tests;
use Symfony\Component\Process\Exceptio... |
<?php
namespace App\Services;
use App\Services\AgoraDynamicKey\RtcTokenBuilder;
class AgoraIoService
{
public function generateToken($channelName, $privilegeExpiredTs)
{
$appId = config('agoraio.app_id');
$appCertificate = config('agoraio.app_certficate');
$role = RtcTokenBuilder::Rol... |
<?php
namespace App\Http\Controllers;
use App\Models\Job;
use App\Models\Division;
use Illuminate\Http\Request;
use Yajra\Datatables\Datatables;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
class JobController extends Controller
{
/**
* Display ... |
<?php
declare(strict_types=1);
namespace Packagist\WebBundle\Webhook\Twig;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;
class PlaceholderExtension extends AbstractExtension
{
public const VARIABLE_NAME = '__url_placeholder_context';
/**
* {@inheritdoc}
*/
public function getTo... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
@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">{{ __('Login') }}</div>
<!-- ADMIN-> admin643@gmail.com - amministratore -->
... |
<?php
namespace Google\Web_Stories_Dependencies\Sabberworm\CSS\Property;
/**
* Class representing an @charset rule.
* The following restrictions apply:
* • May not be found in any CSSList other than the Document.
* • May only appear at the very top of a Document’s contents.
* • Must not appear more than once.
*... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStudentChecksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('student_c... |
<?php
namespace WebToppings\IPWhitelisting;
use Illuminate\Support\ServiceProvider;
class IPWhitelistingServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*
* @return void
*/
public function register()
{
$this->app->make('WebToppings\IPWhitelist... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\ResourceCollection;
class Characters extends ResourceCollection
{
/**
* Transform the resource collection into an array.
*
* @param Request $request
* @return array
*/
public function ... |
@extends('layouts.default')
@section('title','注册')
@section('content')
<div class="offset-md-2 col-md-8">
<div class="card ">
<div class="card-header">
<h5>注册</h5>
</div>
<div class="card-body">
@include('shared._errors')
<form method="POST" action="{{ route('users.store') }}">
... |
<?php
namespace AppBundle\Usermonitor;
use Doctrine\ORM\EntityManager;
use AppBundle\Entity\Userlog;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
class Usermonitor {
/**
*
* @var EntityManager
*/
protected $em;
/*
* @var current use... |
<?php
namespace Behat\Mink\Tests\Element;
use Behat\Mink\Element\NodeElement;
class NodeElementTest extends ElementTest
{
public function testGetXpath()
{
$node = new NodeElement('some custom xpath', $this->session);
$this->assertEquals('some custom xpath', $node->getXpath());
$this-... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Post;
use App\User;
use News;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Author;
use Illuminate\Support\Facades\Auth;
class EditPostController extends Controller
{
publi... |
@extends('layouts.app')
@section('content')
<div class="card mt-5 offset-lg-1 col-lg-11">
<h1 class="mt-4 text-center">Add Category</h1>
<div class="add-question">
<form action="{{route('categories.store')}}" method="post" enctype="multipart/form-data" autocomplete="off">
... |
<!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="shortcut icon" href=" ... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Author;
class AuthorController extends Controller
{
/**
* Get all authors from db
* default limit 30 results
*/
public function index()
{
$authors = Author::... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
... |
<h2>Refund Order</h2>
<?php
echo $this->Form->create();
echo $this->Form->input('complete_refund', array(
'type' => 'checkbox'));
echo $this->Form->input('amount');
echo $this->Form->submit(__d('cart', 'Refund'));
echo $this->Form->end();
?> |
<?php
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\Planner\Buckets;
use Office365\Entity;
/**
* The **plannerBucketTaskBoardTaskFormat** resource represents the information used to render a task correctly in the Buckets view of the Task Board (a view organized by tasks within the buckets they... |
<?php
/*
* This file is part of the HTML sanitizer project.
*
* (c) Titouan Galopin <galopintitouan@gmail.com>
* This file was added by : Rohit Kumar (https://github.com/rohitcoder)
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
n... |
<?php
namespace Spatie\Permission\Exceptions;
use InvalidArgumentException;
class RoleDoesNotExist extends InvalidArgumentException
{
public static function named(string $roleName)
{
return new static("There is no role named `{$roleName}`.");
}
public static function withId(int $roleId)
... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Passport\HasApiTokens;
class User extends Authenticatable
{
use Notifiable, HasApiTokens;
/**
* The attributes that are mass assignable.
*
* @var array
*/
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CommentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$articles = Article::all();
return view('articles... |
<?php
/*
* This file is part of the CoopTilleulsYmlpBundle package.
*
* (c) La Coopérative des Tilleuls <contact@les-tilleuls.coop>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\CoopTilleuls\Bundle\YmlpBundle\Yml... |
<div class="container">
<div class="page-title clearfix">
<div class="row">
<div class="col-md-12">
<h6><a href="<?php echo base_url(); ?>">Home</a></h6>
<h6><span class="page-active">Institute Profile</span></h6>
</div>
... |
<?php
declare(strict_types=1);
use App\Services\Weather\Enum\StatusEnum;
use App\Services\Weather\Actions\GetAverageWeatherByCityAction;
use App\Services\Weather\WeatherProviderFactory;
use App\Services\Weather\Contracts\WeatherProviderInterface;
use App\Services\Weather\Contracts\GeoProviderInterface;
use App\Servic... |
<?php
/**
* Copyright 2021 Catch-e Pty Ltd.
*
* 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 o... |
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\medrep;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Hash;
class MLoginController extends Controller
{
public function showLoginForm(){
i... |
<?php
namespace AlibabaCloud\BssOpenApi;
/**
* @method string getSubscribeType()
* @method $this withSubscribeType($value)
* @method string getMultAccountRelSubscribe()
* @method $this withMultAccountRelSubscribe($value)
*/
class UnsubscribeBillToOSS extends Rpc
{
} |
<?php
use Illuminate\Database\Seeder;
use App\Model\OperationalPriceSetting;
class OperationalPricesSettingTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
OperationalPriceSetting::create([
'id' => 1,
... |
<?php
use common\logic\LinkPager;
$this->registerCssFile('/dist/plugins/tokenfield/jquery-ui.css', [
'depends'=> ['backend\assets\AdminLteAsset']
]);
$this->registerCssFile('/dist/plugins/tokenfield/bootstrap-tokenfield.css', [
'depends'=> ['backend\assets\AdminLteAsset']
]);
$this->registerCssFile('/dist/plugi... |
<?php
/**
* @var \App\View\AppView $this
* @var object $user
*/
?>
<nav class="actions col-sm-4 col-12">
<?php echo $this->element('navigation/tools'); ?>
</nav>
<div class="page index col-sm-8 col-12">
<h2>Working with Slugs</h2>
<p>Using the SluggedBehavior.
</p>
<p>
The following example uses unique slugs (Tr... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $model app\models\Book */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Книги'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div... |
<?php
class Auth extends MX_Controller
{
function __construct()
{
parent:: __construct();
$this->load->model('auth/auth_model');
$this->load->model('admin/site_model');
$this->load->model('merchants/merchants_model');
}
public function index()
{
if(!$this->auth_model->check_login())
{
redirect('l... |
<?php
namespace Forminator\Stripe\Error\OAuth;
/**
* UnsupportedResponseType is raised when an unsupported response type
* parameter is specified.
*/
class UnsupportedResponseType extends OAuthBase
{
} |
<?php
namespace app\admin\model;
use think\Model;
class President extends Model
{
} |
<?php
namespace App\Controller\Contabilidad\Inventario;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
class DocumentoController extends AbstractController
{
/**
* @Route("/contabilidad/inventario/documento", name="contabilidad_inventario_do... |
<?php
namespace App\Imports;
use App\Offcode;
use App\Miniproduct;
use Maatwebsite\Excel\Concerns\ToModel;
class OffCodeImport implements ToModel
{
public function model(array $row)
{
$miniproduct = Miniproduct::orderby('id', 'desc')->first();
return new Offcode([
'code' => $... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Models\tipo_resp_af;
use Faker\Generator as Faker;
use Illuminate\Support\Str;
$this->cod_tip=1;
$this->roles=['ADMINISTRADOR','ENCARGADO','COLABORADOR'];
$factory->define(tipo_resp_af::class, function (Faker $faker) {
$cod_tip=$this->cod_t... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashbo... |
<?php
namespace Vanderbilt\PassItOn;
// For now, the path to "redcap_connect.php" on your system must be hard coded.
require_once dirname(dirname(dirname(__DIR__))) . '/redcap_connect.php';
// require_once APP_PATH_DOCROOT . '/ExternalModules/tests/ModuleBaseTest.php';
final class RecordsTest extends \ExternalModule... |
@extends('layouts.app')
@section('content')
<div class="card-header">{{ $user->name }}の投稿</div>
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<div class="card">
@foreach ($user->posts as $... |
<?php
/*
* This file is part of Totara LMS
*
* Copyright (C) 2019 onwards Totara Learning Solutions LTD
*
* This program 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, ... |
<?php
$ignoreAuth = true;
include("../../../../config/globals.php");
$q[] = "CREATE TABLE `slot_procedures_linked_op` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`ref_id` INT NOT NULL ,
`proc_id` INT NOT NULL ,
`linked_op` VARCHAR( 100 ) NOT NULL
) ENGINE = MYISAM ;";
foreach($q as $qry){
imw_query($qry) ... |
<?php
class Kwc_Directories_TopChoose_Component extends Kwc_Directories_Top_Component
{
public static function getSettings()
{
$ret = parent::getSettings();
$ret['showDirectoryClass'] = 'Kwc_Directories_Item_Directory_Component'; // nur für form
$ret['ownModel'] = 'Kwc_Directories_TopCho... |
<?php
return [
'common' => [
'build' => [
'LIB_VERSION' => '13.1.0',
'LIB_NAME' => 'Common-PHP',
],
],
'adWords' => [
'build' => [
'LIB_NAME' => 'AwApi-PHP',
],
'auth' => [
'developerToken' => '2IaJzNBavU2umz2j_LYgcw'... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
<?php
declare(strict_types=1);
namespace phpDocumentor\Guides\Nodes;
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @link https://phpdoc.org
*/
use PHPUnit\Framework\TestCase;
/**
*... |
<?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;
use Illuminate\Http\Request;
use Illuminate\Support... |
@if ($visibled)
<div class="form-group form-element-multiselect {{ $errors->has($name) ? 'has-error' : '' }}">
<label for="{{ $id }}" class="control-label {{ $required ? 'required' : '' }}">
{!! $label !!}
@if($required)
<span class="form-element-required">*</span>
... |
<?php
use yii\db\Migration;
class m160813_144357_table_news extends Migration
{
public function up()
{
$this->createTable('{{%lyxeo_news}}',
[
'id'=>$this->primaryKey(),
'title'=>$this->string(),
'text_intro'=>$this->text(),
'text_full'=>$thi... |
@extends('template.company.yiqingkonggu.layout')
@php($data=app('App\Http\Controllers\CoreController'))
@section('content')
<ul class="right1_3ul">
@for($i=0;$i<7;$i++)
@php($info=$data->content($firstDomain,$pinyin))
<li>
<a href="//{{$info['url']}}" title="{{$info['... |
@extends('master')
@section('side')
@include('sidebar')
@stop
@section('content')
<section class="wrapper">
<section class="panel">
<header class="panel-heading">Jalur<div class="pull-right"><i class="fa fa-map-signs"></i></div>
</header>
<div class="panel-body-map">
<div id="gmap_basic" clas... |
@php
$size = isset($size) ? $size : 48;
@endphp
@if (isset($user) and $user)
<a class="pull-left" href="{{ gravatar_profile_url($user->email) }}">
<img class="media-object img-thumbnail" src="{{ gravatar_url($user->email, $size) }}" alt="{{ $user->name }}">
</a>
@else
<a class="pull-left" href=... |
<?php
namespace app\commands;
use Yii;
use yii\console\Controller;
class RbacController extends Controller
{
public function actionInit()
{
//Create permissions
//$permission = $auth->createPermission("permission_name");
//$permission->description = "Description"; //option
//$au... |
<?php
/**
* Empties the recycle bin.
*
* @return boolean
*
* @package modx
* @subpackage processors.resource
*/
class modResourceEmptyRecycleBinProcessor extends modProcessor {
public function checkPermissions() {
return $this->modx->hasPermission('purge_deleted');
}
public function getLangua... |
<?php
/**
* Created by PhpStorm.
* User: Kabir
* Date: 8/12/2021
* Time: 4:06 PM
*/ |
<?php
namespace SwordFingerOffer;
class BinaryTreeNode {
//节点的值
public $value = null;
//左节点
public $left = null;
//右节点
public $right = null;
public function __construct($value)
{
$this->value = $value;
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.barnds {
font-family: "Arial Black", Gadget, sans-serif;
font-size: 23px;
letter-spacing: -1px;
word-spacing: -1px;
color: #FFA20B;
font-weight: 700;
text-decoration: none so... |
<?php
$current_year = date("Y");
$copyright = 2021;
if ($current_year != $copyright) {
$copyright .= "–{$current_year}";
}
echo $copyright;
?> |
<?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... |
@extends('layouts.appBuild')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Register') }}</div>
<div class="card-body">
<form meth... |
@extends('template.master')
@section('title','Circular Summery')
@section('breadcrumb')
{!! Breadcrumbs::render('recruitment.applicant.index') !!}
@endsection
@section('content')
<script>
GlobalApp.controller('circularSummery', function ($scope, $http, $q, httpService) {
$scope.categories = ... |
<?php
namespace Modules\EffortTracking\Http\Controllers;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Modules\EffortTracking\Contracts\TaskServiceContract;
use Modules\EffortTracking\Entities\Task;
use Modules\EffortTracking\Http\Requests\TaskRequest;
use Modules\Project\Entities\Project;
cla... |
<h2 class="mt-4">Обновление Параметров</h2>
{{--@foreach($beach_metas as $beach_meta)--}}
{{-- <label for="">{{$beach_meta->field_title}}</label>--}}
{{-- <input class="form-control mb-3" type="text" name="{{$beach_meta->key}}" placeholder="{{$beach_meta->field_title}}" value="{{$beach_meta->value ?? ''}}">--}}
{... |
<?php
/**
* KumbiaPHP web & app 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://wiki.kumbiaphp.com/Licencia
* If you did not receive a copy of the li... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AdminLTE 3 | Log in (v2)</title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,7... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Item extends Model
{
use HasFactory;
protected $fillable = [
'name',
'code',
'price',
'stock',
'picture'
];
protected $guarded = [... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.