text stringlengths 2 1.03M |
|---|
@extends("/usuarios/avaliadores/header")
@section('conteudo')
<div class="row">
<div class="container-fluid">
<div class="col-md-10 col-md-offset-1 centralizar-regras">
<h3 class="centralizar text-info">Como parte do processo de submissão, é preciso dar ciência da conformidade do trabalho submetido em relação a... |
<?php
/**
*
* User: davidlin
* Date: 10/09/13
* Time: 11:40 PM
*
*/
namespace Dlin\Geocoder;
use Dlin\Geocoder\Geocoding\BingGeocoding;
use Dlin\Geocoder\Geocoding\GoogleGeocoding;
/**
*
*
* Class Geocoder
*
* This class handles the rotating, weighting of multiple geocoding service provider
*
* @package ... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Role;
use Illuminate\Http\Request;
use Carbon\Carbon;
use Session;
use Validator;
use Sentinel;
use Route;
class RoleController extends Controller
{
protected function validator(Request $request)
{
... |
<?php
namespace Imdhemy\GooglePlay\Products;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
class Product
{
const URI_GET = "https://androidpublisher.googleapis.com/androidpublisher/v3/applications/%s/purchases/products/%s/tokens/%s";
const URI_ACKNOWLEDGE = "https://androidpublisher.googl... |
<?php namespace App\Models;
use App\Models\Traits\Staged;
use KentAuth\Models\User as KentUser;
class User extends KentUser {
use Staged;
} |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Test\DependencyResolver;
use Co... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Mvc\Model\MetaData... |
{{--
Title: Cta
Description: Cta
Category: common
Icon: admin-users
Mode: preview
Align: full
PostTypes: page post
SupportsAlign: left right full
SupportsMode: false
SupportsMultiple: false
--}}
@php
$ctaTitle = get_field('call-to-action_title');
$ctaButtonText = get_field('call-to-action_... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
use HasFactory;
public function user()
{
return $this->belongsTo('App\Models\User');
}
} |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterInventoryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('inventory', function(Blueprint $table) {
$... |
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<title>
@yield('header', 'Sistema')
</title>
@includeIf('layouts.subviews.head')
@stack('css')
@includeIf('layouts.subviews.scripts')
@stack('scripts')
</head>
<body class="hold-transition sidebar-mini skin-blue">
<div class="wrapper">
<!... |
<?php
namespace App\Providers;
use App\Models\User;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
use App\Http\Controllers\JWT;
class AuthServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function r... |
<?php
namespace App\Http\Controllers;
use Auth;
use Carbon\Carbon;
use App\Models\Order;
use DB;
class OrderController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
//$this->middleware('auth');
}
/**
... |
<?php require("sezioni.php");?>
<html>
<head>
<title>MiniFB</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div id="minifb">
<div id="header"><h1>MiniFB</h1>
<div class = 'login'> <?php sessione_utente(); logout(); ?> </div>
</div>
<div... |
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
class AdminTest extends DuskTestCase
{
/**
* Тест на возможность администратора редактировать темы уроков
*
* @return void
*/
public function testAdminCan... |
<?php
namespace App\Http\Controllers;
use App\blogCategory;
use App\blogLanguage;
use App\eventCategory;
use App\programCategory;
use Illuminate\Http\Request;
class PostController extends Controller
{
public function index()
{
$languages = blogLanguage::all();
$eventCategories = eventCategory... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBusScheduleDetailsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bus_schedule_details', function(Blueprint $table)
{
$table->incr... |
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Не знайдено</title>
<link rel="stylesheet" href="{{asset('//uace.com.ua/static/css/bootstrap.css')}}">
</head>
<body>
</body>
</html>
<style>
body { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACp... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-md-4 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Add day</div>
<div class="panel-body">
{{Form::open(['action' => 'PlandayControl... |
<?php
namespace App\Registry;
class SchemaManager
{
public static function supports($schema) : bool
{
$schemas = array_keys(config('registry.schemas'));
return in_array($schema, $schemas);
}
// TODO detect schema from payload
/**
* @param $schema
* @return mixed
... |
<?php
declare(strict_types=1);
namespace Rector\Console\Output;
use Nette\Utils\Strings;
use Rector\Application\Error;
use Rector\Application\ErrorAndDiffCollector;
use Rector\Contract\Console\Output\OutputFormatterInterface;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Rector\PhpParser\Printer\BetterStandardP... |
<?php $this->output('tampilan/header'); ?>
<!-- Page Content -->
<div class="container">
<div class="row">
<!-- Blog Entries Column -->
<div class="col-md-8">
<h1 class="my-4"><?php echo $title ; ?> Users</h1>
<?php $this->output('notifikasi'); ?>
<div class="col-md-8">
<?php if(is... |
<?php
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Symfo... |
<?php
function essb_get_present_settings($position = '') {
$result = array ();
$result ["mobile_positions"] = "true";
$result ["button_position_mobile"] = array("sharebottom");
$result ['mobile_button_style'] = 'button';
$result ['sharebottom_activate'] = 'true';
$result ["sharebottom_template"] = "31";
$result ... |
<?php
namespace ccxt\async;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\AuthenticationError;
use \ccxt\Precise;
class ndax extends Exc... |
<?php
/**
* @author ThimPress
* @package LearnPress/Templates
* @version 1.0
*/
global $course;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if( ! ( $lesson = $course->current_lesson ) ){
return;
}
global $post;
$_post = $post;
$post = $lesson->post;
?>
<div class="course-lesson-desc... |
<?php
/*
*
* (c) Anton Dehoda <dehoda@ukr.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Service\PostPage;
use App\Collection\PostCollection;
use App\Model\Category;
use App\Model\Post;
/**
* Interface for r... |
<?php
http_response_code(200);
header('Content-Type: application/json');
$sSearchFor = $_GET['cityName'];
$sData = file_get_contents('data.json');
$jData = json_decode($sData);
$jResponse = new stdClass(); // {}
$jResponse->cities = [];
foreach($jData->cities as $jCity){
// echo "<div>$jCity->name</div>";
if( strip... |
<?= $this->extend('/theme/head') ?>
<!-- Import css here -->
<?= $this->section('css') ?>
<?= $this->endSection() ?>
<!-- Import Javascript here -->
<?= $this->section('js') ?>
<script src="/assets/js/admin/bank.js"></script>
<?= $this->endSection() ?>
<!-- Content Section -->
<?= $this->section('content') ?>
<d... |
@isset($setting)
<label for="">@lang('base.Foto actual')</label> <br>
<img width="320px"height="300px;" src="{{asset($setting)}}" alt="">
<br>
<a href="" id="delete_resource" style="color: darkred"><i class="fas fa-trash ml-1"></i> @lang('base.Quitar recurso')</a>
@endisset |
<?php
/**
* constants.php
*
* Some constants for the Lester\SQLParser.
*
* Copyright (c) 2010-2012, Justin Swanhart
* with contributions by André Rothe <arothe@phosco.info, phosco@gmx.de>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permi... |
<?php
namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
* @xmlType IdentificationIDType
* @xmlName IdentificationID
* @var oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2\Identificati... |
<x-forms::field-wrapper
:id="$getId()"
:label="$getLabel()"
:label-sr-only="$isLabelHidden()"
:helper-text="$getHelperText()"
:hint="$getHint()"
:required="$isRequired()"
:state-path="$getStatePath()"
>
<ul class="space-y-2">
@foreach ($getChildComponentContainers() as $uuid => $... |
<?php
class Employee extends Person {
/*
Determines if a given person_id is an employee
*/
function exists($person_id) {
$this->db->from('employees');
$this->db->join('people', 'people.person_id = employees.person_id');
$this->db->where('employees.person_id', $person_id);
... |
@extends('layouts.admin')
@section('content')
<h1 class="text-center">OOPS, it looks like you are in the wrong place</h1>
@stop |
<?php $editPageData = $trusteesData;?>
<div class="m-grid__item m-grid__item--fluid m-grid m-grid--ver-desktop m-grid--desktop m-body">
<div class="m-grid__item m-grid__item--fluid m-wrapper">
<div class="m-content">
<div class="row">
<div class="col-lg-12">
<!--begin::Portlet--> ... |
<?php
/**
* Money
*
* PHP version 7.2
*
* @category Class
* @package SellingPartnerApi
*/
/**
* Selling Partner API for Retail Procurement Payments
*
* The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
*
* The version of the OpenAPI document: v1... |
<?php
namespace App\Repositories;
use App\Models\Autoperception;
use App\Models\AutoperceptionItem;
use App\Models\Rating;
use InfyOm\Generator\Common\BaseRepository;
class AutoperceptionRepository extends AdminBaseRepository
{
/**
* @var array
*/
protected $fieldSearchable = [
];
... |
<div class="modal fade bs-example-modal-center" tabindex="-1" id="delete-jabatan-modal" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog ">
<div class="modal-content">
<div class="modal-header">
<p>Hapus Data</p>
... |
<?php
use Illuminate\Database\Seeder;
class EntryTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\Entry::class, 10)->create();
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<div class="content-wrapper">
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
</div> |
<?php
session_start();
class Database{
private $servername = 'localhost';
private $username = 'root';
private $password = '';
private $dbName = 'movie_review';
public $conn;
public function __construct(){
$this->conn = new mysqli($this->servername,$this->username,$this->password,$this... |
<!doctype html>
<html lang="en">
{{-- Head --}}
@include('culture/culture_list/culture_detail/template/head')
<body>
{{-- Navbar --}}
@include('culture/culture_list/culture_detail/template/navbar')
@yield('content')
{{-- Footer --}}
@include('culture/culture_list/culture_detail/template/foot... |
<?php
session_start();
$firstName = $_POST['firstName'];
$lastName = $_POST['lastName'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$bookTitle = $_POST['bookTitle'];
$manuscriptWordCount = $_POST['manuscriptWordCount'];
$noOfImages = $_POST['noOfImages'];... |
<?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\Finder\Tests\Iterator;
class MockSplFileInfo extends ... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use sadovojav\ckeditor\CKEditor;
/* @var $this yii\web\View */
/* @var $model app\models\Notice */
/* @var $form yii\widgets\ActiveForm */
?>
<section role="main" class="content-body">
<header class="page-header">
<h2>Update Page</h2>
... |
<?php
namespace FakeApiClient;
class Client
{
public $Posts;
public function __construct(string $baseUrl=null, IHttpMethods $httpClient=null)
{
$this->Posts = new Posts($baseUrl, $httpClient);
}
} |
@extends('layouts.app')
@section('content')
<div id="content" class="pmd-content inner-page">
<!--tab start-->
<div class="container-fluid full-width-container">
<!-- Title -->
<!-- <h1 class="section-title" id="services">
<span>Dashboard</span>
</h1> -->
<!-- End Ti... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'phpDocumentor' => array($vendorDir . '/phpdocumentor/reflection-docblock/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log'),
'Prophecy\\' => array($vendorDir ... |
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use App\Traits\ValidationTrait;
use App\Notifications\MyResetPassword;
class User extends Authenticatable
{
use ValidationTrait;
use Notifiable;
/**
* The attributes that are mass as... |
<div class="profileRight ml-3">
@include('shares.recommended_users')
@include('shares.trends')
</div> |
<?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
namespace app\models;
use Yii;
/**
* This is the model class for table "service".
*
* @property int $id
* @property string $name
* @property string $price
* @property string $desc
* @property string $photo
*/
class Service extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public s... |
<!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>Med&Law - About APP</title>
<link rel="stylesheet" type="text/css" href="https://www.fontstatic.com/f=zah... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProjectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('projects', fun... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
class UserController extends Controller
{
/**
* Show the form for editing the specified resource.
*
* @param \App\Models\User $user
* @return \Illuminate\Http\Response
*/
public function edit(Us... |
<x-app-layout>
<section class="home">
<div class="first">Alicia</div>
<div class="last">Wilkerson</div>
<div class="job">Full Stack Developer</div>
<div class="social">
<a href="https://www.facebook.com/alicia.wilkerson"><i class="fab fa-facebook"></i></a>
<a ... |
<?php
namespace ClosureReturnType;
use function PHPStan\Testing\assertType;
class Foo
{
public function doFoo(int $i): void
{
$f = function () {
};
assertType('void', $f());
$f = function () {
return;
};
assertType('void', $f());
$f = function () {
return 1;
};
assertType('1', $f());
... |
@extends('layouts.adminapp')
@section('header')
@stop
@section('content')
<div class="container-fluid" style="margin-top: -10px;">
<div class="row">
<div class="col-12 card">
<div class="card-header">
<div class="d-flex justify-content-between">
... |
<?php
namespace App\Traits;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Model;
trait Insertinbetweentext
{
add_filter( 'the_content', 'so_25888630_ad_between_paragraphs' );
public function so_25888630_ad_between_paragraphs($content){
if( in_the_loop() ){ //Simply make sure that the... |
<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
class guanyuwomen extends Controller{
public function select(){
//header("refresh: 0.001");
$data=db('guanyuwomen')->select();
return view('',['data'=>$data]);
}
public function edit(){
$id=input... |
<?php
class clsProveedor
{
private $idproveedor;
private $nit;
private $nombre;
private $ciudad;
private $direccion;
private $telefono;
public function __construct($idproveedor, $nit, $nombre, $ciudad, $direccion, $telefono)
{
$this->idproveedor = $idproveedor;
$this->... |
<?php
declare(strict_types=1);
namespace Bavix\Wallet\Test\Units\Service;
use Bavix\Wallet\Internal\Service\DatabaseServiceInterface;
use Bavix\Wallet\Internal\Service\MathServiceInterface;
use Bavix\Wallet\Objects\Cart;
use Bavix\Wallet\Services\CommonServiceLegacy;
use Bavix\Wallet\Test\Infra\PackageModels\Transac... |
@extends('layouts.master')
@section('title', 'Add Expense Type')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
</div><!-- /.row -->
</div><!-- /.cont... |
<?php
/**
* This file is part of the FOSCommentBundle package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace FOS\CommentBundle\Model;
use Symfony\Component\Security\Cor... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUserMembershipsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_me... |
--TEST--
PHPUnit_Framework_MockObject_Generator::generate('NS\Foo', array(), 'MockFoo', true, true)
--FILE--
<?php
namespace NS;
class Foo
{
public function bar(Foo $foo)
{
}
public function baz(Foo $foo)
{
}
}
require __DIR__ . '/../../vendor/autoload.php';
$generator = new \PHPUnit_Framewo... |
<?php
use rbac\AdminAsset;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\Url;
/*
* @var yii\web\View $this
*/
$this->title = Yii::t('rbac', 'Routes');
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginBlock('content-header') ?>
<?= $this->title . ' ' . Html::a(Yii::t('app', '新路由'), [... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesReques... |
<?php
namespace Kendo\UI;
class TimePickerAnimationOpen extends \Kendo\SerializableObject {
//>> Properties
/**
* The effect(s) to use when playing the open animation. Multiple effects should be separated with a space.Complete list of available animations
* @param string $value
* @return \Kendo\UI\Ti... |
<?php
namespace App\Observers;
use App\Models\Buoy;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Redis;
class BuoyObserver
{
/**
* Handle the Buoy "created" event.
*
* @param \App\Models\Buoy $buoy
* @return void
*/
public function created(Buoy $buoy){
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... |
<?php
namespace App\Http\Middleware;
use App\User;
use Closure;
use Auth;
use Line;
class LineMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)... |
<?php
if (!function_exists('money_format')) {
// A fallback money_format()
// http://stackoverflow.com/questions/6369887/alternative-to-money-format-function-in-php-on-windows-platform
function money_format($format, $number) {
return number_format($number, 2);
}
} |
<?php
namespace Flagrow\Ads\Listeners;
use Flarum\Frontend\Document;
use Flarum\Settings\SettingsRepositoryInterface;
use Psr\Http\Message\ServerRequestInterface;
class AddAdsenseJs
{
protected $settings;
public function __construct(SettingsRepositoryInterface $settings)
{
$this->settings = $set... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<title>eCommerce</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="<?php echo base_url('css/css/master.css') ;?> " rel="stylesheet" type="te... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +--------------------------------------------... |
<?php
namespace Illuminate\Foundation\Auth;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Password;
trait ResetsPasswords
{
use RedirectsUsers;
/**
* Display the password reset view for the given token.
*
* If no t... |
<?php
namespace App\Model\VisaProcess\VisaCencel;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
class VisaCancellationSteps extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
//
} |
<?php
/***************************************************************************
* Dolphin Smart Community Builder
* -------------------
* begin : Mon Mar 23 2006
* copyright : (C) 2007 BoonEx Badge
* website : ... |
<?php namespace App\Http\Controllers;
use Session;
use Request;
use DB;
use CRUDBooster;
class AdminAppPlantillaController extends \crocodicstudio\crudbooster\controllers\CBController {
public function __construct() {
# START CONFIGURATION DO NOT REMOVE THIS LINE
$this->title_field = "id";
$this-... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\MPImage;
use JMS\Serializer\Annotation\ExclusionPolicy;... |
@extends('front-end.layouts.template')
@section('title', 'Artisans Registration')
@section('jumbotron-title', 'Artisan Registration')
@section('action', 'Registration')
@section('extraCss')
<link href="{{ asset('front-end/css/registration.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('front-... |
<?php
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); yo... |
<?php
/**
* Author: Nil Portugués Calderó <contact@nilportugues.com>
* Date: 12/18/15
* Time: 11:36 PM.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\SchemaOrg\Classes;
use NilPortugues\SchemaOrg\SchemaCl... |
--TEST--
Test the TNIR keyword with enabled and disabled options and the MultiSubnetFailover keyword with true and false options
--SKIPIF--
<?php require('skipif_mid-refactor.inc'); ?>
--FILE--
<?php
// The way SYN packets are sent from the host is different depending on the combination of the TNIR and MultiSubnetFailo... |
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<meta charset="utf-8" />
<title>Report List | Satarango </title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1, ... |
@extends('layouts.app')
@include('detailedpage.detailed_style')
@section('content')
<style>
.pdetailedtable {
width: 100%;
max-width: 1200px;
text-align: left;
padding: 0.8vw 2vw;
font-size: 1vw;
border-bottom: 1px solid lightgrey;
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMahasiswasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mahasiswas',... |
<?php
use yii\db\Migration;
/**
* Class m210603_145912_add_antenna_base_station_id_column
*/
class m210603_145912_add_antenna_base_station_id_column extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('f_antenna_ip', 'base_station_id', $this->integer(... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Produtos_model extends CI_Model
{
public function getProdutos()
{
$this->db->select('produtos.*, marcas.nome_marca, categorias.nome_categoria');
$this->db->from('produtos');
$this->db->join('marcas', 'marcas.id = produtos.id_marca', 'l... |
<h1><?php echo lang('create_user_heading');?></h1>
<p><?php echo lang('create_user_subheading');?></p>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("auth/create_user");?>
<p>
<?php echo lang('create_user_fname_label', 'first_name');?> <br />
<?php echo form_in... |
<?php
/**
* Test: Tracy\Debugger Bar in production mode.
* @outputMatch
*/
declare(strict_types=1);
use Tracy\Debugger;
require __DIR__ . '/../bootstrap.php';
Debugger::$productionMode = true;
header('Content-Type: text/html');
Debugger::enable(); |
<?php
namespace AIOSEO\Plugin\Common\Api;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use AIOSEO\Plugin\Common\Models;
/**
* Route class for the API.
*
* @since 4.0.0
*/
class Settings {
/**
* Update the settings.
*
* @since 4.0.0
*
* @param \WP_REST_Request $request The R... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRewardTbl extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reward_tbl', funct... |
<?php
session_start();
if($_SESSION['rol'] != 1){
header('Location: ./');
}
?>
<?php include "../sistema/includes/headers.php"; ?>
<!-- =============================================== -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Con... |
@extends('ukm._root')
@section('content')
<div class="row" id="page-header">
<div class="ui basic segment">
<h2 class=" fluid text-center">
Selamat datang di {{$ukm->name}}
</h2>
<p>{{$ukm->profile}}</p>
</div>
</div>
<div class="row stackable">
<div class="five wide l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.