text stringlengths 2 1.03M |
|---|
@extends('layouts.app')
@section('content')
<form method="POST" action="?">
@csrf
@foreach ($advert->category->allAttributes() as $attribute)
<div class="form-group">
<label for=attribute_{{ $attribute->id }}" class="col-form-label">{{ $attribute->name }}</label>
... |
<?php
namespace app\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Post;
/**
* PostSearch represents the model behind the search form of `app\models\Post`.
*/
class PostSearch extends Post
{
/**
* {@inheritdoc}
*/
public function rules()
{
return [
... |
<?php
/**
* The ModelTask handles creating and updating models files.
*
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LIC... |
<?php
namespace App\Helpers;
use Request;
use App;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Auth;
use URL;
use DateTime;
use DateTimeZone;
use Illuminate\Support\Str;
use Illuminate\Support\Collection;
use Illuminate\Pagination\Paginator;
use Illuminate\Pagination\LengthAwarePaginator;
... |
@extends('master')
@section('title', 'View a ticket')
@section('content')
<div class="container col-md-8 col-md-offset-2 mt-5">
<div class="card">
<div class="card-header ">
<h5 class="float-left">{{ $ticket->title }}</h5>
<div class="clearfix"></div>
... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\MQ\Models;
use AlibabaCloud\Tea\Model;
class ResumeSofamqConnectorprocessResponse extends Model
{
// 请求唯一ID,用于链路跟踪和问题排查
/**
* @var string
*/
public $reqMsgId;
// 结果码,一般OK表示调用成功
/**
* @var string
... |
<?php
// auto-generated by sfSecurityConfigHandler
// date: 2011/06/13 23:25:28
$this->security = array (
'all' =>
array (
'is_secure' => true,
'credentials' => 'SNSMember',
),
'registerinput' =>
array (
'credentials' =>
array (
0 =>
array (
0 => 'SNSRegisterBegin',
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CompanyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get th... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?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
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Http\Resources\System;
use Illuminate\Http\Resources\Json\JsonResource;
class SettingResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\SalesRule\Test\TestCase;
use Magento\Mtf\TestCase\Injectable;
use Magento\Catalog\Test\Fixture\CatalogProductSimple;
use Magento\SalesRule\Test\Fixture\SalesRule;
use Magento\Mtf\Fixture... |
<?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... |
<?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-frontend',
'basePath' => dirname(__DIR__),
'bootst... |
<?php
namespace Dvsa\Olcs\Transfer\Query\User;
use Dvsa\Olcs\Transfer\Query\AbstractQuery;
use Dvsa\Olcs\Transfer\Query\CacheableLongTermQueryInterface;
use Dvsa\Olcs\Transfer\Query\PublicQueryCacheInterface;
use Dvsa\Olcs\Transfer\Util\Annotation as Transfer;
/**
* Class Role List
* @Transfer\RouteName("backend/u... |
@extends('layout.master')
@section('body')
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="header">
<p>Yes, You have a Ticket</p>
<a href="#">Home</a>
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserRoleTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_role', fu... |
<?php
declare(strict_types=1);
/**
* Tests for the Route Collection
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCL... |
<?php
namespace App\Http\Controllers;
use TestLibs\TestLib;
class TestCutomLibController extends Controller
{
private $lib;
public function __construct(TestLib $lib)
{
$this->lib = $lib;
}
public function index()
{
return $this->lib->returnLibName();
}
} |
<?php
/**
* @group phame
*/
final class PhamePostUnpublishController extends PhameController {
private $id;
public function willProcessRequest(array $data) {
$this->id = $data['id'];
}
public function processRequest() {
$request = $this->getRequest();
$user = $request->getUser();
$post = ... |
@extends('layouts.app')
@section('content')
<br><br>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Edit Note <a href="/dashboard" class="float-right btn btn-secondary btn-sm text-white">Go Back</a></div>
... |
<?php
/** Russian localization file for KCFinder
* author: Dark Preacher
* E-mail: dark@darklab.ru
*/
$lang = array(
'_lang' => "Russian",
'_native' => "Русский",
'_locale' => "ru_RU.UTF-8", // UNIX localization code
'_charset' => "utf-8", // Browser charset
// Date time formats. Se... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\User */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'username')->textInput(['maxlength' => true... |
<?php
// arrays reminds me of a category , a catergory of fruits, names, name
//navigation
$fruits = array(
'bananas',
'strawberries',
'blueberries',
'oranges',
'apples',
'pineapple'
);
$fruits = [
'bananas',
'strawberries',
'blueberries',
'oranges',
'apples',
... |
<?php
use App\Models\User;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Modules\SidebarManager\Entities\Sidebar;
class CreatePageBuilderPermissionTable extends Migration
{
/**
* Run the mi... |
@extends('layouts.master')
@section('content-header')
<h1>
{{ trans('session::sessions.title.create session') }}
</h1>
<ol class="breadcrumb">
<li><a href="{{ route('dashboard.index') }}"><i class="fa fa-dashboard"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href=... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Travel;
class TravelController extends Controller
{
public function index()
{
$travels = Travel::all();
return view("index", compact("travels"));
}
} |
<?php
namespace App\Repository;
use App\Student;
use Illuminate\Support\Facades\DB;
class Filter
{
//public function MarkAvg(Student $students, $temp) {
// foreach ($students as $student) {
// $temp[$student->id] = DB::table('marks')
// ->select('subject_id', 'student_id', DB::raw('AVG(mark)as "... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>雅腾信息管理系统</title>
<link href="/css/xitong.css" rel="stylesheet" type="text/css">
</head>
<body>
{include file="public/commen" /}
<div class="main">
<div id="welcome"><h1>欢迎您登陆雅腾科技</h1></div>
</div>
</body>
</html> |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Product */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'image')->fileInput() ?>
<div class="form-gr... |
<table class="table">
<tr>
<th>ID</th>
<th>名称</th>
<th>地址/路由</th>
<th>上级菜单</th>
<th>排序</th>
<th>操作</th>
</tr>
<?php foreach ($model as $model):?>
<tr>
<td><?=$model->id?></td>
<td><?=$model->label?></td>
<td><?=... |
<?php
// example use of handler.php
$template_file = file_get_contents("http://blahblahblah.site.org/index.php?module=webpage&id=27");
$page_header = preg_replace ('/FORM_BODY.*/s','',$template_file);
$page_header = preg_replace ('/<div class="title">Survey<\/div>/s','',$page_header);
$page_footer = preg_replace ('/.*F... |
<?php
namespace App\Models\Linhas;
use Illuminate\Database\Eloquent\Model;
class DadosFacilidadesLinhas extends Model
{
protected $table = 'dados_facilidades_linhas';
protected $fillable = [
"gravacao",
"cadeado_pessoal",
"siga_me",
"moni... |
<?php
namespace App\libraries\starrez_irio_sync\starrez;
use App\libraries\starrez_irio_sync\models\BookingEntryStatusFactory;
use App\libraries\starrez_irio_sync\models\SyncEntityExtended;
use Illuminate\Support\Facades\Log;
class StarrezApiDataIterator implements \Iterator
{
const ENTRY_COUNT_PER_PAGE = 500;
... |
<?php
namespace Database\Factories;
use App\Models\Diet;
use Illuminate\Database\Eloquent\Factories\Factory;
class DietFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Diet::class;
/**
* Define the model's defau... |
<?php
$teacher_id = $_GET['teacherid'];
$edit_teacher_info = $ravi->edit_teacherid($teacher_id);
$edit_teacher_display = $edit_teacher_info->fetch_assoc();
if(isset($_POST['up_teacher']))
{
$up_fullname = $_POST['up_fullname'];
$up_address = $_POST['up_address'];
$up_email = $_POST['up_email'];
$up_fathe... |
<!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.0">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="format-detection" content="telephone=no">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$csrf = array(
'name' => $this->security->get_csrf_token_name(),
'hash' => $this->security->get_csrf_hash()
);
$adminlang = $this->session->userdata(SESSION_LANG);
$direction = $adminlang['dir'];
$timezones = array(
'-12:00','-11:00','-1... |
<?php
/**
* This file is part of the PropelBundle package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\PropelBundle\Tests\Security\Acl\Domain;
use Propel\PropelBundle\Model\Acl\Entry... |
<?php declare(strict_types=1);
/**
* It's free open-source software released under the MIT License.
*
* @author Anatoly Fenric <anatoly@fenric.ru>
* @copyright Copyright (c) 2018, Anatoly Fenric
* @license https://github.com/sunrise-php/http-router/blob/master/LICENSE
* @link https://github.com/sunrise-php/http-... |
<?php
namespace App\Http\Controllers\Api;
use App\Models\Feature;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\FeatureRequest;
use App\Http\Controllers\Api\BaseApiController;
class FeatureController extends BaseApiController
{
public function __construct()
{
... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Product\Factory;
use Sylius\Component\Product\Mo... |
<!--====== PRELOADER PART START ======-->
<div class="preloader">
<div class="loader rubix-cube">
<div class="layer layer-1"></div>
<div class="layer layer-2"></div>
<div class="layer layer-3 color-1"></div>
<div class="layer layer-4"></div>
<... |
<?hh // strict
/**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the "hack" directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Login</title>
<meta name="description" content="Peminjaman Barang">
<meta name="viewport" content="width=device... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Sends Messages over SMTP with ESMTP support.
*
* @author Chris Corbyn
* @method Swift_SmtpTran... |
@extends('market.base')
@section('action-content')
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 body-container">
<div class="card">
<div class="header">
<h2>Add new Marketing</h2>
</div>
<div class="body">
... |
<?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... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-12">
<div>
<div style="float: right;"><a href="{{ url('/orderlists/add') }}" class="btn btn-success" type="button">Add New Order List</a></div>
<h3 style="... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UserSearches extends Migration
{/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_searches', function (... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Progress Praktikum</title>
</head>
<body>
Progres Modul 1
<!-- 1. Membuat Validasi Input Registrasi Admin -->
<!-- 2. Membuat Validasi Input R... |
@foreach ($messages as $msg)
@php
if ($msg->last()->from_user_id == Auth::user()->id && $msg->last()->to()->id != Auth::user()->id) {
$avatar = $msg->last()->to()->avatar;
$name = $msg->last()->to()->hide_name == 'yes' ? $msg->last()->to()->username : $msg->last()->to()->name;
$userID = $msg->last()... |
<?php
<<__EntryPoint>>
function main_958() {
$i = 0;
print ++$i;
print "\t";
print ('1.2'<true) ? 'Y' : 'N';
$a = 1;
$a = 't';
$a = '1.2';
print ($a <true) ? 'Y' : 'N';
$b = 1;
$b = 't';
$b = true;
print ('1.2'<$b) ? 'Y' : 'N';
print ($a <$b) ? 'Y' : 'N';
print "\t";
print "'1.2' < true ";
print "\n";... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
namespace App\Http\Controllers;
use App\Models\Escola;
use Illuminate\Http\Request;
use App\Models\Palestra;
class PalestraController extends Controller
{
public function index()
{
$palestra = Palestra::All();
return view('palestra.index', compact('palestra'));
}
public functio... |
<?php namespace Tuurbo\AmazonPayment;
use Tuurbo\AmazonPayment\Exceptions;
use GuzzleHttp\ClientInterface;
class AmazonPaymentClient {
const SERVICE_VERSION = '2013-01-01';
private $sellerId;
private $accessKey;
private $secretKey;
private $signatureVersion = 2;
private $signatureMethod = 'HmacSHA256';
priva... |
<?php
namespace Database\Seeders;
use App\Models\BookOrder;
use Illuminate\Database\Seeder;
class BookOrderSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
}
} |
<?php
final class PhabricatorFlagListController extends PhabricatorFlagController {
private $queryKey;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->queryKey = idx($data, 'queryKey');
}
public function processRequest() {
$reque... |
<?php
namespace Vanio\DoctrineDomainEvents\Tests;
use PHPUnit\Framework\TestCase;
use Vanio\DoctrineDomainEvents\DomainEvent;
class DomainEventTest extends TestCase
{
function test_getting_name()
{
$this->assertSame('name', (new DomainEvent('name'))->name());
}
function test_getting_propertie... |
<?php
declare(strict_types=1);
namespace ISAAC\Velocita\Composer\Compatibility;
use Composer\Composer;
use Composer\Installer\PackageEvent;
use Composer\IO\IOInterface;
use ISAAC\Velocita\Composer\Composer\OperationAdapter;
use ISAAC\Velocita\Composer\Composer\PluginHelper;
use ISAAC\Velocita\Composer\UrlMapper;
cl... |
<?php
/* SPDX-License-Identifier: Zlib */
/* FOSSTube v1.5 (February 2022)
* Copyright (C) 2020-2022 Norbert de Jonge <mail@norbertdejonge.nl>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of thi... |
<?php
namespace App\Http\Controllers;
use App\Models\Company;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
class JobController extends Controller
{
public function store(Request $request, Company $company)
{
//check if employee already employed by this company
//check pe... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateVideosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('videos', functio... |
@extends('cd-admin.admin-master')
@section('content')
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Advertisement</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="bre... |
<?
$MESS["IBLOCK_TYPE_TIP"] = "Из выпадающего списка выбирается один из созданных в системе типов инфоблоков.";
$MESS["IBLOCK_URL_TIP"] = "Указывается путь к странице со списком разделов инфоблока.";
$MESS["DISPLAY_PANEL_TIP"] = "При установленной опции кнопки будут отображены в режиме редактирования сайта на администр... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Cart extends Model
{
use HasFactory;
protected $table = 'carts';
protected $fillable = [
'user_id',
'prod_id',
'prod_qty',
];
public function ... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
class Servico_model extends CI_Model{
// Abrir chamado
public function abrir_chamado($dados){
// Conta se já existe algum chamado em ABERTO com o código passado. Se abrir um chamado sem código não entra não IF.
if ($dados['codigo'] != '') {
$this->db->select('count(codigo) as codigo')
->from('s... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
$cw=array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>27... |
<?php
/**
* This file is part of the "Registered Users" plugin for Wolf CMS.
* Licensed under an MIT style license. For full details see license.txt.
*
* @author Martijn van der Kleijn <martijn.niji@gmail.com>
* @copyright Martijn van der Kleijn, 2009-2011
*
* Original author:
*
* @author Andrew Waters <andr... |
<?php
if(!$user->hasPermissionTo('space_create')) return;
?>
@if(!empty($services) and $services->total())
<div class="bravo-profile-list-services">
@include('Space::frontend.blocks.list-space.index', ['rows'=>$services,'style_list'=>'normal','desc'=>' ','title'=>!empty($view_all) ? __('Space by :name',['na... |
<?php
namespace App\Http\Controllers\Account;
use App\EmailVerification;
use App\Http\Requests\EmailVerification\ResendEmailVerificationRequest;
use App\Http\Requests\EmailVerification\VerifyEmailVerificationRequest;
use App\User;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illumin... |
<?php
declare(strict_types=1);
namespace Laravolt\Workflow\Events;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Queue\SerializesModels;
use Laravolt\Camunda\Models\ProcessInstance;
class ProcessCompleted
{
use SerializesModels;
/**
* @var ProcessInstance
*/
public $processInstance;
... |
<?php
namespace Litepie\Support\Facades;
use Illuminate\Support\Facades\Facade;
use Litepie\Contracts\Workflow\Workflow as WorkflowContract;
class Workflow extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
... |
<?php
namespace App\Http\Controllers;
use App\Notifications\OrderProcessed;
use Illuminate\Http\Request;
class OrderController extends Controller
{
public function store(Request $request)
{
$order = factory(\App\Order::class)->create();
$request->user()->notify(new OrderProce... |
<?php
/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines http://www.simplemachines.org
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0.6
*/
if (!defined('SMF'))
die('Hacking attempt...');
/* This file has the pr... |
<?php
namespace App\Http\Controllers;
use App\TranscationHistory;
use Illuminate\Http\Request;
class TranscationHistoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
... |
<?php
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Engineering;
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PhpOffice\PhpSpreadsheet\Calculation\Exception as CalcExp;
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PHPUnit\Framework\Test... |
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="./img/logo.png" type="image/x-icon">
<meta charset="utf-8">
<meta name="author" content="Kodinger">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Sign Up</title>
<link rel="stylesheet" href="https://stackpath.boo... |
<?php
declare(strict_types=1);
namespace Edde\Http;
use Edde\Content\IContent;
/**
* "Abstract" interface holding common stuff between request and response.
*/
interface IHttp {
/**
* @return IHeaders
*/
public function getHeaders(): IHeaders;
/**
* shortcut to header list; this will ad... |
<?php
/*
* Copyright 2021 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
<?php
namespace App\Application\DataTables;
use App\Application\Model\News;
use Yajra\Datatables\Services\DataTable;
class NewssDataTable extends DataTable
{
/**
* Display ajax response.
*
* @return \Illuminate\Http\JsonResponse
*/
public function ajax()
{
return $this->datata... |
<!-- =============================================== -->
<!-- Left side column. contains the 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-... |
<style type="text/css">
.setkol{
background-color: gainsboro;text-align:center; font-size: 13px;
}
</style>
<div class="page-wrapper">
<div class="page-breadcrumb">
<div class="d-flex align-items-center">
<h4 class="page-title text-truncate text-dark font... |
<div class="container">
<script src="<?php echo asset_url(); ?>js/field_validator.js"></script>
<?php
if($this->session->flashdata('success') != null){
echo "<div class=\"alert alert-success\"><strong>Õnnestus!</strong> ";
echo $this->session->flashdata('success');
echo "</div>";
}
if($th... |
<?php
namespace questionnaire\QuestionnaireBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class CallerControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createCl... |
<footer class="main-footer">
<div class="footer-left">
Copyright © 2018 <div class="bullet"></div> Design By <a href="https://nauval.in/">Muhamad Nauval Azhar>Yazid Ihsan</a>
</div>
<div class="footer-right">
</div>
</footer>
</div>
</div>
<!-- General JS S... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.css">
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/Register.css">
<title>Index</title... |
@extends('layouts.admin.admin')
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
@foreach($cate as $r)
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Thể loại
... |
@extends('admin.master')
@section('konten')
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
</div>
... |
<?php
use Illuminate\Http\Request;
use App\Http\Controllers\DailyClickController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. T... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
DEBUG - 2017-05-13 23:02:05 --> Total execution time: 1.5860
DEBUG - 2017-05-13 23:29:20 --> Total execution time: 1.9265
DEBUG - 2017-05-13 23:29:22 --> Total execution time: 2.3442
DEBUG - 2017-05-13 23:29:25 --> Total execution time: 0.0375
DE... |
<?php
echo form_open('', array('class' => 'form-horizontal', 'id' => 'form-tour-itinerary', 'enctype' => 'multipart/form-data'));
echo form_hidden('contId', $contId);
echo form_hidden('modId', $modId);
echo form_hidden('id', $row['id']);
echo form_hidden('type', $type);
echo form_hidden('mode', $type);
?>
<div style="p... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:44:"D:\wwwroot\vycms/app/admin\view\ad\form.html";i:1521594995;s:48:"D:\wwwroot\vycms\app\admin\view\common\head.html";i:1523619588;s:48:"D:\wwwroot\vycms\app\admin\view\common\foot.html";i:1523623560;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Edit Data</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E... |
<!-- resources/views/home.blade.php -->
<!-- Specify that we want to extend the index file -->
@extends('index')
<!-- Set the title content to "Home" -->
@section('title', 'Home')
<!-- Set the "content" section, which will replace "@yield('content')" in the index file we're extending -->
@section('content')
<div class=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.