text stringlengths 2 1.03M |
|---|
<div class="mdl-card__title"><strong>Mega Mario Man</strong> posted on
Sep 9, 2015 at 6:46:00 PM
</div><div class="mdl-card__supporting-text">
<div class="FTQUOTE"><i>Originally posted by: <b>Cockroachcharlie</b></i><br>
 
<div class="FTQUOTE"><i>Originally posted by: <b>... |
<?php
/*
* This file is part of MailSo.
*
* (c) 2014 Usenko Timur
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MailSo\Sieve;
/**
* @category MailSo
* @package Sieve
*/
class ManageSieveClient extends \MailSo\Net\... |
<?php
namespace Production\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Httpfoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Telecontact\UserBundle\Entity\User;
use Telecontact\Use... |
<?php
namespace WPML\TM\Upgrade\Commands\SynchronizeSourceIdOfATEJobs;
use WPML\Utils\Pager;
use function WPML\Container\make;
class CommandFactory {
const PAGER_OPTION_NAME = 'sync-source-id-ate-jobs-pager';
/**
* @return Command
*/
public function create() {
return make( Command::class, [ ':pager' => n... |
<!-- Modal -->
<style type="text/css">
a{
text-decoration:none;
}
.popover-example {
list-style: none;
}
.rings{
position: relative;
}
.rings span {
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
color:black;
display:none;
background: white;
width: 100%;
pa... |
<?php namespace App\Services\Wizard\RequestManager\Activity;
use App\Core\Version;
Use App;
/**
* Class IatiIdentifier
* @package App\Services\Wizard\RequestManager\Activity
*/
class IatiIdentifier
{
/**
* @param Version $version
*/
function __construct(Version $version)
{
return $ver... |
<?php
#===============================================================================
# Get instances
#===============================================================================
$Database = Application::getDatabase();
$Language = Application::getLanguage();
#======================================================... |
<?php
//This script returns the fullpath of the image selected from all the information gathered via AJAX this far.
session_start();
include 'connect.php';
$username = $_COOKIE['cfarcusr'];
$imageDate = $_COOKIE['selDate'];
$cam = $_COOKIE['selCam'];
$imageTime = $_COOKIE['selTime'];
$result = mysq... |
<?php
require_once('layout/head.php');
require_once('layout/menuuser.php');
if($statusfinalisasi == '' || $statusfinalisasi == '0' || $statusfinalisasi == 'n')
require_once('layout/stepbystep.php');
?>
<div class="container">
<div class="page-header">
<h2><strong>Pendaftaran PSB</strong></h2>
</div>
<br>
<... |
<?php
require 'classes/PDO.class.php';
$pdo = PDO_DB::factory();
$sql = "DELETE FROM safeNet WHERE TIMESTAMPDIFF(SECOND, NOW(), endTime) < 0";
$pdo->query($sql);
$sql = "SELECT IP, reason FROM safeNet";
$data = $pdo->query($sql)->fetchAll();
if(sizeof($data) > 0){
$txt = 'Dolan, send this brief to the FBI... |
<?php
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Eloquent::unguard();
$this->call('AnimalsTableSeeder');
$this->call('CategoriesTableSeeder');
$this->call('EnvironmentsTableSeeder');
}
} |
<?php
declare(strict_types=1);
namespace Brick\Postcode\Tests\Formatter;
use Brick\Postcode\CountryPostcodeFormatter;
use Brick\Postcode\Formatter\BYFormatter;
use Brick\Postcode\Tests\CountryPostcodeFormatterTest;
/**
* Unit tests for the BY postcode formatter.
*/
class BYFormatterTest extends CountryPostcodeFor... |
<?php
/**
* This file is part of BraincraftedBootstrapBundle.
*
* (c) 2012-2013 by Florian Eckerstorfer
*/
namespace Braincrafted\Bundle\BootstrapBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* BraincraftedBootstrapBundle
*
* @package BraincraftedBootstrapBundle
* @author Florian Eckersto... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Sas\V20181203\Models;
use AlibabaCloud\Tea\Model;
class DescribeSuspiciousUUIDConfigResponseBody extends Model
{
/**
* @var int
*/
public $count;
/**
* @var string
*/
public $requestId;
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Following extends Model
{
use HasFactory;
public $timestamps = false;
protected $table = 'following';
} |
<?php
namespace App\Jobs;
use App\Jobs\Job;
use App\News;
use App\User;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Support\Facades\Mail;
class SendSubscriptionMail extends Job implements ShouldQueue
{
use InteractsWit... |
<?php
use Illuminate\Database\Seeder;
use App\Entities\Project;
class ProjectTableSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run() {
// Project::truncate();
factory(Project::class, 30)->create();
}
} |
<?php
namespace AntCTO\Repository;
use AntCTO\Entity\User;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* @method User|null find($id, $lockMode = null, $lockVersion = null)
* @method User|null findOneBy(array $criteria, array $orderBy = n... |
<?php
class Model_auth extends CI_Model{
public function cek_login()
{
$username = set_value('username');
$password = set_value('password');
$result = $this->db->where('username', $username)
->where('password', $password)
->limit... |
<?php
/**
* @link http://github.com/zendframework/zend-mvc-console for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ZendTest\Mvc\Console\Router;
use PHP... |
<!doctype html>
<html class="no-js" lang="">
<head>
<title>Zabuun - Learn Egyptian Arabic for English speakers</title>
<meta name="description" content="">
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?>
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?>
<?php include... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStatusesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('statuses', fun... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\ActiveRecordInterface;
use yii\web\NotFoundHttpException;
/**
* Action is the base class... |
<?php
return [
'management' => 'Benutzerverwaltung',
'create-user' => 'Neuen Benutzer Erstellen',
'edit-user' => 'Benutzer Bearbeiten',
'show-user' => 'Benutzer Anzeigen',
'user' => 'Benutzer',
'id' => 'ID',
'name' => 'Name',
'email' => 'Email Adresse',
'roles' => 'Rollen',
'act... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class RequestCreateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<?php
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\Psr7;
use GW2Treasures\GW2Api\V2\Authentication\Exception\InvalidPermissionsException;
use Stubs\AuthenticatedEndpointStub;
class AuthenticatedEndpointTest extends TestCase {
protected function getAuthenticatedEndpoint( $apiKey ) {
return new Authenticate... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
namespace tests\mock\jenkins;
use Codeception\Util\Debug;
use tests\mock\jenkins\MockJenkinsJob;
class MockJenkins
{
public function getBaseUrl()
{
return("http://127.0.0.1/");
}
public function getJob($jobName)
{
$job = new MockJenkinsJob($this, false, 3, 1, $jobName);
... |
<?php
namespace App\Serializer;
class CircularReferenceHandler
{
public function __invoke($object)
{
return $object->getId();
}
} |
<?php
namespace Oro\Bundle\ApiBundle\Request\Rest;
/**
* The configuration options of CORS requests.
*/
final class CorsSettings
{
/** @var int */
private $preflightMaxAge;
/** @var string[] */
private $allowedOrigins;
/** @var bool */
private $isCredentialsAllowed;
/** @var string[] ... |
@extends('layouts.main')
@section('title')
Lelang
@endsection
@section('desc')
Tambah
@endsection
@section('dir')
Tambah
@endsection
@section('content')
<div class="box box-primary">
<div class="box-header">
@include('layouts.alert')
</div>
<div class="box-body">
<form action="{{ route('lelang.stor... |
<?php
namespace App\Controllers;
use Core\Controller;
use \Core\View;
use App\Models\Event;
/**
* Home controller
*
* PHP version 7.0
*/
class Home extends Controller
{
/**
* Show the index page
*
*
*/
public function indexAction()
{
View::render('Home/index.php' ,[
... |
<?php
use GuzzleHttp\HandlerStack;
use GuzzleHttp\RedirectMiddleware;
use function GuzzleHttp\default_user_agent;
/*
|--------------------------------------------------------------------------
| Default Guzzle Configurations
|--------------------------------------------------------------------------
|
| Values here a... |
<?php
/**
* Created by PhpStorm.
* User: Pavel Batanov <pavel@batanov.me>
* Date: 18.06.2014
* Time: 16:28
*/
namespace NemesisPlatform\Game\Controller;
use Doctrine\ORM\EntityManager;
use NemesisPlatform\Core\Account\Entity\User;
use NemesisPlatform\Game\Entity\Participant;
use NemesisPlatform\Game\Entity\Rule\... |
<?php
namespace App\Http\Controllers\Dashboard\Inspection;
use App\File;
use App\Inspection;
use App\Traits\StorageDriver;
use App\Http\Controllers\Controller;
class InspectionFileController extends Controller
{
use StorageDriver;
public function __construct()
{
$this->middleware('can:view inspe... |
<?php
use Silex\Application;
use Silex\Provider\AssetServiceProvider;
use Silex\Provider\TwigServiceProvider;
use Silex\Provider\ServiceControllerServiceProvider;
use Silex\Provider\HttpFragmentServiceProvider;
$app = new Application();
$app->register(new ServiceControllerServiceProvider());
$app->register(new Asse... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use App\Stock;
use App\TenderApplication;
use App\Tender;
class StockController extends Controller
{
public function storestock(Request $request)
{
$this->validate($request, [
'category' => 'required',
... |
<?php
declare(strict_types=1);
/**
* Licensed under the MIT license.
*
* For the full copyright and license information, please view the LICENSE file.
*
* @author Rémi Lanvin <remi@cloudconnected.fr>
*
* @see https://github.com/rlanvin/php-ip
*/
namespace PhpIP;
/**
* An IPv4 CIDR block.
*/
class IPv4Bloc... |
<div class="description">
<div class="card">
<h2 class="title">{{$comic['title']}}</h2>
<div class="price">
<span class="location">
<span><span class="lightgreen">U.S. Price:</span> {{$comic['price']}}</span>
<span class="lightgreen">AVALIABLE</span>
</span>
<div class="check">Check Availability</... |
<?php
/**
* Created by PhpStorm.
* User: mmammar
* Date: 10/29/18
* Time: 12:33 PM
*/
namespace App\System\PaymentGateway\Spreedly;
use App\System\PaymentGateway\Models\CredentialFormField;
use App\System\PaymentGateway\Models\Customer;
use App\System\PaymentGateway\Models\GateWay;
use App\System\PaymentGateway... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExperienceMasterTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('experi... |
<?php
/**
* 分页结果
* @author auto create
*/
class Paginator
{
/**
* 数据结果列表
**/
public $data_list;
/**
* 下一次分页调用的offset值,当返回结果里没有nextCursor时,表示分页结束
**/
public $next_cursor;
}
?> |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Alert;
class LoginController extends Controller
{
public function index()
{
return view('login');
}
public function login(Request $request)
{
$cred = $request->only(['email... |
<?php
namespace App\Radio\Frontend;
use App\Utilities;
use Doctrine\ORM\EntityManager;
use App\Entity;
use NowPlaying\Exception;
use Psr\Http\Message\UriInterface;
class Icecast extends FrontendAbstract
{
public const LOGLEVEL_DEBUG = 4;
public const LOGLEVEL_INFO = 3;
public const LOGLEVEL_WARN = 2;
... |
{{-- * B170910031 Есөнтөмөр --}}
@extends('layout.masterAdmin')
@section('content')
<br>
<h1>Дэлгүүрүүдийн бүртгэл</h1><br>
<table class="table table-striped table-dark">
<thead>
<tr>
<th scope="col">Дэлгүүрийн дугаар</th>
<th scope="col">Дэлгүүрийн нэр</th>
<th scope="co... |
<?php
include "includes/logat.php";
$pagina="admin_parroquies.php";
// Accions de manteniment d'usuaris
// 0 -> Llistar
// 1 -> Nou
// 2 -> Editar
// 3 -> Recollir usuari des de 1 i 2
// 4 -> Esborrar
if (isset($_REQUEST["accio"])) $accio=$_REQUEST["accio"]; else $accio="0";
// Llistar
if ($accio=="0") {
include ... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Vpc\V20160428\Models;
use AlibabaCloud\Tea\Model;
class ModifyIpv6AddressAttributeResponse extends Model
{
/**
* @var string[]
*/
public $headers;
/**
* @var ModifyIpv6AddressAttributeResponseBody
... |
<?php
use Blanfordia\Visitors\Support\Migration;
class CreateVisitorsSystemClassesTable extends Migration {
/**
* Table related to this migration.
*
* @var string
*/
private $table = 'visitors_system_classes';
/**
* Run the migrations.
*
* @return void
*/
public function migrateUp()
{
$this-... |
<?php
namespace Craod\Core\Cli\Command\Fixture;
use Craod\Core\Utility\Settings;
use Craod\Core\Cli\Fixture\AbstractFixture;
use Craod\Core\Cli\Exception\InvalidFixtureException;
use Symfony\Component\Console\Command\Command;
/**
* Base fixture command class with common functions for interacting with fixtures
*
... |
<?php
/**
* QuickBooks IPP class for communicating with the Intuit Partner Platform
*
* Copyright (c) 2010 Keith Palmer / ConsoliBYTE, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... |
<?php
/* TwigBundle::layout.html.twig */
class __TwigTemplate_59cb0899be6a8955f7ec80c64cc9af569ecabd186b89016ff7ea2dc9cabadc37 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace App\Tests\Controller;
use App\Repository\UserRepository;
use Symfony\Component\HttpFoundation\FileBag;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class AddPromotionTest extends WebTestC... |
<?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 App\Http\Middleware;
use Closure;
use Auth;
use Cache;
class Admin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(\Sch... |
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
class Answers extends BaseModel
{
use CrudTrait;
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
|-------------------------------------------------------------------------... |
<?php
namespace Symfony\Bundle\FrameworkBundle\Util;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Provides basic utility... |
@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>
<div class="card-body">
<form method="POST"... |
<?php
//$this->erp->print_arrays($biller->address);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Invoice <?= $invs->reference_no ?></title>
<link href="<?php echo $assets ?>styles/theme.css" rel="stylesheet">
<link href="<?php echo $assets ?>styles/bootstrap.min.css" r... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHistoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('histories', f... |
<?php
namespace Illuminate\Foundation\Exceptions;
use Exception;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Debug\ExceptionHandler as ExceptionHandlerContract;
use Illuminate\Contracts\Support\R... |
<?php
define('IN_SMT', true);
define('IN_MYMPS', true);
define('CURSCRIPT', 'posthistory');
require_once dirname(__FILE__) . '/include/global.php';
require_once dirname(__FILE__) . '/data/config.php';
ifsiteopen();
require_once MYMPS_DATA . '/config.db.php';
require_once MYMPS_INC . '/db.class.php';
if (!is_file(MYMP... |
<?php declare(strict_types=1);
namespace Rector\Rector\StaticCall;
use PhpParser\Node;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Expr\StaticCall;
use PhpParser\Node\Name\FullyQualified;
use Rector\Rector\AbstractRector;
use Rector\RectorDefinition\ConfiguredCodeSample;
use Rector\RectorDefinition\RectorDef... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Imagemanipulation
{
function check_format($param)
{
if ($param != "jpg" && $param != "png" && $param != "jpeg" && $param != "gif")
{
$msg = "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
return $msg;
}
else
... |
@component('mail::message')
# Introduction
Sofra Application
<div> The Order Has Been Accepted Successfully ... It Will Take About 30 Minutes ,
<br> @foreach ($data as $key => $value)
{{ $key }} :
{{ $value }}
<br>
@endforeach
</div>
Thanks,<br>
{{ ... |
<?php
declare(strict_types=1);
namespace Masfernandez\Shared\Domain\Bus\Query;
use Masfernandez\Shared\Domain\Bus\Request\Request;
interface Query extends Request
{
} |
<?php
namespace Alura\Cursos\Controllers;
class AtualizarCurso
{
} |
<?php
return array(
"name" => "No Record Found",
"method" => "Create New"); |
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* NmtHrEmployeeLeave
*
* @ORM\Table(name="nmt_hr_employee_leave", indexes={@ORM\Index(name="nmt_hr_employee_absence_FK1_idx", columns={"employee_id"}), @ORM\Index(name="nmt_hr_employee_leave_FK2_idx", columns={"leave_reason_id"}), @ORM\Index... |
<?php
namespace app\models;
use app\components\tools\Repositorio;
use Yii;
/**
* This is the model class for table "tester".
*
* @property int $id
* @property string $phone
* @property string $name
* @property string $estado
* @property string $date_created
*/
class Tester extends Repositorio
{
const STA... |
@extends('layouts.app')
@section('content')
<section id="resources" class="text-center py-5">
<div class="container">
<h1 class="pb-5 heading">{{ $tag }} Resources</h1>
<div class="row">
@forelse($resources as $resource)
<div class="col-md-3 mb-4">
<div class="resourcebox hvr-glow">
<div class="card... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit8ae39be7a0a211bd5788a876b4dae45e
{
public static $prefixesPsr0 = array (
'S' =>
array (
'Symfony\\Component\\Yaml\\' =>
array (
0 => __DIR__ . '/..' .... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedDeviceMobileAppConfigurationUserSummary File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corpor... |
<!DOCTYPE HTML PUBLIC>
<HTML>
<HEAD>
<TITLE>Agung Computer pink Chat</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200">
<FRAME src="icon.png">
<FRAME src="menu.swf">
</FRAMESET>
<FRAME src="http://www.everywherechat.com/everywherechat.swf?defaultRoom=Agung_Computer&roomList=false&fo... |
<?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
/**
* DiscuzX Convert
*
* $Id: modworks.php 15398 2010-08-24 02:26:44Z monkey $
*/
$curprg = basename(__FILE__);
$table_source = $db_source->tablepre . 'modworks';
$table_target = $db_target->tablepre . 'forum_modwork';
$limit = 1000;
$step = getgpc('step');
$step = intval($step);
$total = getgpc('total')... |
<?php
namespace Ozwild\Iseed;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class IseedCommand extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'iseed';
/**
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class LivreSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
/**
* This is a backwards-compatibility shim, generated by:
* https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php
*
* Beginning with MediaWiki 1.23, translation strings are stored in json files,
* and the EXTENSION.i18n.php file only exists to provide compatibility wit... |
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use app\models\UploadForm;
use yii\data\ArrayDataProvider;
//use yii\web\HttpException;
//use yii\web\NotFoundHttpException;
use yii\web\UploadedFile;
//use yii\helpers\Html;
//use yii\base\ErrorException;
class BackuprestoreController extends Contro... |
<?php
namespace Nwidart\Modules\Commands;
use Illuminate\Console\Command;
use Nwidart\Modules\Migrations\Migrator;
use Nwidart\Modules\Publishing\MigrationPublisher;
use Symfony\Component\Console\Input\InputArgument;
class PublishMigrationCommand extends Command
{
/**
* The console command name.
*
... |
<?php
namespace Seoperin\LaravelExcel\Tests\Concerns;
use Carbon\Carbon;
use Seoperin\LaravelExcel\Excel;
use PHPUnit\Framework\Assert;
use Illuminate\Support\Collection;
use Seoperin\LaravelExcel\Tests\TestCase;
use Seoperin\LaravelExcel\Concerns\ToArray;
use PhpOffice\PhpSpreadsheet\Cell\Cell;
use PhpOffice\PhpSpre... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Produk</title>
<link rel="stylesheet" href="<?php echo base_url('... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBookmarksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bookmarks', f... |
<div id="{{ $uuid }}" class="SZY-UUID modal-body">
<div class="table-content clearfix">
<div class="alert alert-info br-0">双击地区名称可进行地区选择!</div>
<div class="selector-set region-selected">
</div>
<div class="region-picker-list-box region-picker-container"></div>
</div>
</div>
<scr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LinkView extends Model
{
//
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHorariosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('horarios', fun... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Heroic Features - Start Bootstrap Template</title>
<!-- Bootstrap core CSS -->... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* @method static find($city_id)
*/
class City extends Model
{
protected $fillable = ['name', 'status'];
public function profiles()
{
return $this->hasMany(Profile::class);
}
} |
<?php
/**
* Template part for displaying a message that posts cannot be found.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package saudacor
*/
?>
<section class="no-results not-found container">
<header class="page-header row">
<div class="col-xs-12">
<h3 class="page-title"><?php esc_htm... |
{{-- Notfound --}}
<style>
.cls-1 {
fill: #ffc541;
}
.cls-2 {
fill: #4e4066;
}
.cls-3 {
fill: #6f5b92;
}
.cls-4 {
fill: #f78d5e;
}
.cls-5 {
fill: #fa976c;
}
.cls-6,
.cls-7,
.cls-8 {
fill: #b65c32;
}
.cls-1... |
<?php
namespace App\Events;
use App\Models\Comment;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
class CommentWritten
{
use Dispatchable, SerializesModels;
public Comment $comment;
/**
* Create a new event instance.
*
* @return void
*/
pu... |
<?php
namespace AgroSys\Http\Controllers\Auth;
use AgroSys\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
... |
<?php
use app\models\Appointment;
use app\models\Attendance;
use app\models\Customer;
use app\models\Leave;
use app\models\Project;
use app\models\Task;
use app\models\User;
use app\widgets\CalendarEvent;
use app\widgets\RecentActivites;
$user_count = User::find()->where(['!=', 'status', -1])->count();
$customer_count... |
@extends('layouts.regna')
@section('content')
<!--==========================
Hero Section
============================-->
<main id="main">
<section id="hero" style="max-height: 300px">
<div class="hero-container">
<h1>Kritik & saran</h1>
<h2>Masukan saran ... |
<?php
/* @Framework/Form/email_widget.html.php */
class __TwigTemplate_6bc73648f58dc52679bcec0802cea578eacf65a9563cc8f582526d12f89f2e89 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\LbTankerDailyDataForVerification;
/**
* LbTankerDailyDataForVerificationSearch represents the model behind the search form of `common\models\LbTankerDailyDataForVerification`.
*/
class LbTankerDailyDataFo... |
<?php
/*
* @Description:
* @Author: LMG
* @Date: 2019-12-28 23:52:37
* @LastEditors : LMG
* @LastEditTime : 2019-12-30 17:45:41
*/
namespace App\Http\Resources\Api;
use Illuminate\Http\Resources\Json\JsonResource;
use App\Models\Enum\AdminEnum;
class AdminResource extends JsonResource
{
/**
* Transfo... |
<?php
/*
* This file is part of PhpSpec, A php toolset to drive emergent
* design by specification.
*
* (c) Marcello Duarte <marcello.duarte@gmail.com>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with t... |
<?php
namespace backend\modules\user\models;
use yii\base\Model;
use common\models\User;
/**
* Class UserForm
* @package backend\modules
*/
class UserForm extends Model
{
public $username;
public $email;
public $password;
public function rules()
{
return [
['username', 'fil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.