text stringlengths 2 1.03M |
|---|
<?php
namespace FilippoToso\Travelport\UniversalRecord;
class RailReservationCriteria
{
/**
* @var typeDateSpec $JourneyDepartureDate
*/
public $JourneyDepartureDate = null;
/**
* @var typeDateSpec $JourneyArrivalDate
*/
public $JourneyArrivalDate = null;
/**
* @var typ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class User extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->helper('url','form');
$this->load->library('form_validation');
$this->load->model('user_model');
}
public function index()
{
if($this->s... |
<?php
/* * *
* Template Name: Contact Page Template
*/
global $display_options;
?>
<div class="section">
<div class="container">
<div class="row">
<div class="content">
<?php the_content(); ?>
</div>
</div>
</div>
</div> |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2db',
'username' => 'root',
'password' => 'root'
]; |
<?php
// inicializacao sdk facebook
require_once "config.php";
$accessToken = '';
$id_grupo = '';
try {
$response = $fb->get("/$id_grupo/members", $accessToken);
$members = $response->getGraphEdge();
echo "<pre>\n";
echo "--------------\n";
foreach($members as $member) {
echo "ID => " . ... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddToUserTable2 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (B... |
@extends('layouts.master')
@section('content')
<div class="mdk-header-layout__content">
<div class="mdk-drawer-layout js-mdk-drawer-layout" data-push data-responsive-width="992px">
<div class="mdk-drawer-layout__content page">
<div class="container-fluid page__heading-container">
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v3/enums/shared_set_type.proto
namespace GPBMetadata\Google\Ads\GoogleAds\V3\Enums;
class SharedSetType
{
public static $is_initialized = false;
public static function initOnce() {
$pool = \Google\Protobuf... |
<?php
namespace App\Http\Controllers;
use App\Ars;
use App\ArsAd;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Yajra\DataTables\Facades\DataTables;
class ArsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
... |
<?php
namespace Drupal\views\Entity\Render;
use Drupal\Core\Language\LanguageInterface;
use Drupal\views\Plugin\views\query\QueryPluginBase;
use Drupal\views\ResultRow;
/**
* Renders entity translations in their row language.
*/
class TranslationLanguageRenderer extends EntityTranslationRendererBase {
/**
* ... |
@extends ('master')
@section('title', 'Input Menu Type')
@section('content')
<div class="card">
<div class="card-header">
<h4></h4>
<div class="card-header-form">
<form action="" method="post">
</form>
</div>
</div>
<div class="card-body p-0 align-content-center">
<form method=... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Auth;
use App\Http\Models\User as User;
use App\Http\Models\Category as Category;
class AdminController extends Controller
{
/**
* Display a listing of the resource.
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
... |
<?php
// defaults
$vars = array(
'error_message' => '',
'is_close' => false,
);
/** @var array $template_vars */
foreach ( $template_vars as $key => $val ) {
$vars[ $key ] = $val;
}
?>
<div id="forminator-integrations" class="wpmudev-settings--box">
<div class="sui-box">
<div class="sui-box-header">
<h2 ... |
<?php
/**
* @author Dmitry Lezhnev <lezhnev.work@gmail.com>
* Date: 01 May 2019
*/
declare(strict_types=1);
namespace OpenAPIValidationTests\Schema\Keywords;
use OpenAPIValidation\Schema\Exception\ValidationKeywordFailed;
use OpenAPIValidation\Schema\Validator;
use OpenAPIValidationTests\Schema\SchemaValidatorTest... |
<?php declare(strict_types=1);
namespace WyriHaximus\HtmlCompress;
use voku\helper\HtmlMinDomObserverInterface;
use voku\helper\HtmlMinInterface;
use voku\helper\SimpleHtmlDomInterface;
final class HtmlMinObserver implements HtmlMinDomObserverInterface
{
private Patterns $patterns;
public function __constru... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Product */
$this->title = Yii::t('app', 'Create Product');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Products'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="product-create"... |
<?php
namespace app\controllers;
use Yii;
use app\models\Category;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* CategoryController implements the CRUD actions for Category model.
*/
class CategoryController extends Controller
{
pu... |
<?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
/* "THE BEER-WARE LICENSE" (Revision 42):
* Jaap Broekhuizen <jaapz.b@gmail.com> wrote this file. As long as you retain
* this notice you can do whatever you want with this stuff. If we meet some
* day, and you think this stuff is worth it, you can buy me a beer in return.
*/
require_once '../src/Tumblr.p... |
@extends('manage.index')
@section('content')
<div class="dashboard-wrapper">
<div class="dashboard-ecommerce">
<div class="container-fluid dashboard-content ">
<!-- ============================================================== -->
<!-- pageheader -->
<!-- ============... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class MessageController extends Controller
{
public function sentMessage(Request $request)
{
#
}
} |
<div id="page-container" class="fade">
<!-- begin login -->
<div class="login login-v2" data-pageload-addclass="animated fadeIn">
<!-- begin brand -->
<div class="login-header">
<div class="brand">
<span class="logo"><i class="ion-ios-cloud"></i></span> <b>Color</b> Admin
<small>responsive boots... |
<?php
namespace kalanis\kw_clipr\Output;
class Web extends AOutput
{
protected $closeSequence = "</span>";
protected $eolSequence = "<br/>\r\n";
protected function setTags(): void
{
parent::setTags();
# format style
$this->addTranslation('bold', '<span style="font-weight: bol... |
@extends('backendtemplate')
@section('content')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="fa fa-dashboard"></i> Show Page</h1>
<p>Start a beautiful journey here</p>
</div>
<ul class="app-breadcrumb breadcrumb">
<li class="breadcrumb-item"><i ... |
@extends('layouts.master')
@section('title', 'Clean Blog - Post')
@section('content')
<!-- Page Header -->
<header class="masthead" style="background-image: url('img/post-bg.jpg')">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="co... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
namespace AppBundle\EventListener;
use FOS\UserBundle\Event\FormEvent;
use FOS\UserBundle\FOSUserEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Security\Http\Uti... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class CategorySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('categories')->insert([
[
... |
<?php
namespace Tests\Unit;
use App\Http\Requests\TransferCreate;
use Illuminate\Support\Carbon;
use Illuminate\Support\Str;
use Tests\TestCase;
class TransfersControllerTest extends TestCase
{
/**
* Test update.
*
* @return void
*/
public function testUpdate()
{
$this->withou... |
<?php
declare(strict_types=1);
namespace FreezyBee\Httplug\DI\Plugin;
use Http\Client\Common\Plugin\HeaderDefaultsPlugin;
use Nette\DI\ContainerBuilder;
use Nette\DI\ServiceDefinition;
use Nette\StaticClass;
/**
* @author Jakub Janata <jakubjanata@gmail.com>
*/
class HeaderDefaults implements IPluginServiceDefini... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Category;
use App\Job;
use App\College;
use App\Course;
class JobController extends Controller
{
public function job()
{
$jobs = Job::orderBy('created_at', 'desc')->get();
$colleges = College::all();
return vie... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class AskCategorySeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('ask_categories')->insert([
[
'id' => '1',
... |
<div class="animated fadeIn" ng-app="appme" ng-controller="userController">
<div class="row" ng-init="csrf ='{{csrf_token()}}'">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<strong class="card-title"> </strong>
</div>
<div class="card-body">
... |
<?php
namespace Rav\FileSystem\Structure\Structure;
use Rav\FileSystem\Structure\FsObject;
use Rav\FileSystem\Structure\Structure as RootStructure;
class SizeStructure extends BaseStructure implements Structure {
public function get(string $path) {
$this->init($path);
$root = $this->getElement(... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
include("session.php");
require_once("../../db.php");
$sdate=$_POST['date'];
$stime=$_POST['test_start'];
$etime=$_POST['test_stop'];
$device=$_POST['device'];
$distance=$_POST['distance'];
$sddate = date("Y-m-d H:i:s", strtotime($sdate." ".$stime));
$eedate = date("Y-m-d H:i:s", strtotime($sda... |
<?php
$consulta="select * from servicio";
$cons=mysql_query($consulta,$conexion);
$fin=mysql_num_rows($cons);
echo"
<br><br>
-- $fin registros <br>
CREATE TABLE `servicio` ( <br>
`idser` varchar(15) CHARACTER SET utf8 COLLATE utf8_spanish_ci, <br>
`descs` varchar(150) CHARACTER SET utf8 COLLATE utf8_spanish_ci, ... |
<?php
/**
* MtMail - e-mail module for Zend Framework
*
* @link http://github.com/mtymek/MtMail
* @copyright Copyright (c) 2013-2017 Mateusz Tymek
* @license BSD 2-Clause
*/
namespace MtMail\Factory;
use Interop\Container\ContainerInterface;
use MtMail\Renderer\ZendView;
class ZendViewRendererFactory
{
... |
<?php
namespace Gaobinzhan;
Use Gaobinzhan\Region;
class Zone extends Region
{
public static function zonez0()
{
return parent::regionHuadong();
}
public static function zonez1()
{
return parent::regionHuabei();
}
public static function zonez2()
{
return paren... |
<?php
/**
* Functional test for times api
*
* @group functional
* @group times
*/
class TimesTest extends DbTestCase
{
private $user1;
private $user2;
private $user1Time;
private $user2Time;
public function setUp()
{
parent::setUp();
$this->createTestUsers();
$th... |
<?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
// widget は外部から読み込まれるので SAMEORIGIN だと動かない
// for clickjacking
// header('X-Frame-Options: SAMEORIGIN');
include_once dirname(__FILE__) . '/save.inc.php';
include_once dirname(__FILE__) . '/show.inc.php';
function n3s_web_widget()
{
$a = n3s_show_get('web', false);
n3s_widgetd_check_private($a);
// r... |
@extends('layouts.adminPanel')
@section('body')
<style>
@media (min-width: 768px) {
.column {
width: 100%;
}
}
</style>
<!-- SmartPhone -->
<section class="py-4 d-block d-sm-block d-md-none">
<div class="container">
<div class=... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class People extends CI_Controller {
public function index() {
$data['title'] = 'list of people';
$this->load->model('people_model');
$data['people'] = $this->people_model->get_people();
$this->load->template(... |
@extends('layouts.app')
@section('head')
<!-- Fullcalendar -->
<link rel="stylesheet" href="{{ url('vendors/fullcalendar/fullcalendar.min.css') }}" type="text/css">
<!-- Clockpicker -->
<link rel="stylesheet" href="{{ url('vendors/clockpicker/bootstrap-clockpicker.min.css') }}" type="text/css">
<... |
<?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
/**
* Created by zhang.
* User: zhang
* Date: 2017/11/13
* Time: 9:17
*/
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller
{
public function __construct()
{
parent::__construct();
if (!empty(($_SESSION['user_mobile']))) {
$this -... |
<?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\ArgumentsRequired;
use \ccxt\InvalidOrder;
use \ccxt\Precise;
... |
<?php namespace pouu69\KakaoApi\Traits;
Trait AuthTrait{
/**
* 카카오 로그인 하기
* @param array $query 로그인 쿼리
* @return string redirect url
*/
public function getLogin($query=[]){
$requestAPI = '/oauth/authorize';
$query = '?client_id='.$this->_API_KEY.'&redirect_uri='.$this->REDIRECT_URL.'&response... |
<?php
require_once "class_users.php";//подключение класса Users
$user = new ClassUsers();//создание объекта класса ClassUsers
if(!$user->checkAdminCurrentUser())//проверка на админность текущего пользователя
header( 'Location: ../../index.php', true, 303 );//на главную страницу
else
?>
<!DOCTYPE html PUBLIC "-//W3C//... |
<?php
namespace app\admin\controller;
use \think\Request;
use \think\Db;
use think\Controller;
use think\Loader;
use app\index\controller\Auth;
use \think\Cookie;
use PHPExcel;
use PHPExcel_IOFactory;
use PHPExcel_Cell;
vendor("PHPExcel.PHPExcel.PHPExcel");
vendor("PHPExcel.PHPExcel.IOFactory");
class Batch extends... |
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
];
/**
* A list of the inputs tha... |
@extends('master')
@section('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">Tất cả khảo sát</h1>
<a class="d-none d-sm-inline-block btn btn-lg btn-primary... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Response_model extends CI_Model
{
/**
* Set Api Response Addition Items
*
* @param array _array
* @param boolean status
* @return array
*/
public function response($_array, $status = NULL)
{
/... |
<?php
/**
* Unit test class for the CyclomaticComplexity sniff.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\Generic... |
<!DOCTYPE html>
<html>
<head>
@include('layouts.includes.head')
</head>
<body>
{{-- preloader --}}
@include('layouts.includes.preloader')
{{-- header --}}
@include('layouts.includes.header.header')
<div class="page-content">
@if( !Request::is('/') && !Request::is('coming-soon') && ... |
<!DOCTYPE html>
<html>
<head>
<?php $this->load->view('template/head.php'); ?>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
<?php $this->load->view('template/navbar.php'); ?>
<?php $this->load->view('template/sidebar.php'); ?>
<!-- Content Wrapper. Contains page content -->
<... |
<?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\Qualcomm;
use JMS\Serializer\Annotation\ExclusionPolicy... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use dosamigos\datepicker\DatePicker;
use yii\helpers\ArrayHelper;
use app\models\TerminoSearch;
/* @var $this yii\web\View */
/* @var $model app\models\GastoSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="gasto-search">
<?php $form = Active... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\ResourceCollection;
class AppointmentCollection extends ResourceCollection
{
/**
* Transform the resource collection into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function... |
@extends('analissta.layouts.appProgramarMedida')
<?php
use App\CausasBasicasInmediata;
$xmlCausas = simplexml_load_file(base_path("archivosXML/Hallazgos/xml_Causas_Inmediatas.xml"));
$factores = $xmlCausas->xpath("//causasInmediatas/factor");
$causasBD = CausasBasicasInmediata::where('sistema_id',$... |
<?php
ini_set('date.timezone','Asia/Shanghai');
//error_reporting(E_ERROR);
require_once "../lib/WxPay.Api.php";
require_once "WxPay.NativePay.php";
require_once 'log.php';
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="viewport" content="width=device-widt... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* UNIQUE INDEX book_title_author_lang_unique
*/
final class Version20200602210818 extends AbstractMigration
{
public function getDescription(): string
{
retu... |
<?php
/**
* Copyright (c) 2016-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>.
*
* 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... |
<?php
$id = $_GET["id"];
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8... |
<?php
namespace Biskuit\Debug\Event;
use Biskuit\Event\EventDispatcherInterface;
use Biskuit\Event\EventSubscriberInterface;
use Symfony\Component\Stopwatch\Stopwatch;
use Psr\Log\LoggerInterface;
/**
* @author Fabien Potencier <fabien@symfony.com>
* @copyright Copyright (c) 2004-2015 Fabien Potencier
*/
class... |
<?php
namespace Tree6bee\Support\Helpers\Exceptions;
use Tree6bee\Support\Helpers\Arr;
use Tree6bee\Support\Helpers\Exceptions\Contracts\ExceptionsHandler;
use Tree6bee\Support\Helpers\Exceptions\Reporter\Debugger;
class Handler implements ExceptionsHandler
{
protected $collapseDir;
protected $cfVersion;
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* This is a model for describing the submissions, part of the MVC (Model-View Controller) pattern
* It inherits a bunch of stuff from the default eloquent model which allows us to
* save the submission to the database, delete the submission, find ... |
<?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... |
@extends('User.UserHeader')
@section('css')
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.25/css/jquery.dataTables.min.css">
@section('content')
<div style="padding:20px">
<div style="margin-top: " class="shadow-lg p-3 mb-5 bg-white rounded">
<div style="overflow-x: scroll;">
<hr>
... |
<?php
namespace App\Models\Mode;
use Illuminate\Database\Eloquent\Model;
class Matricula extends Model
{
protected $table = "matricula";
protected $fillable = ['estado'];
protected $guarder = ['id'];
public $timestamps =false;
//cardinalidad (n) de estudiante
public function estudianten()
... |
<!-- Id Child02 Field -->
<div class="form-group col-sm-6">
{!! Form::label('title', 'Id Indikator:') !!}
<select name="id_child02" class="form-control">
@if(Request::segment(3)=="edit")
<option value="{{$child03->id_child02}}">
{!! App\Helpers\spkHelper::child02($child03->id_child02) !!}
</... |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
namespace RectorPrefix20211109\Nette\Utils;
use RectorPrefix20211109\Nette;
/**
* Secure random string generator.
*/
final class Random
{
use Nette\S... |
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Mario Ljubičić
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
... |
<div class="col-md-3 article_right">
<div class="recent_article">
<div class="recent_header">
<img src="{{asset('images/recent_article.png')}}" alt="" border="0" />
<span>Recent Starting a New career or job</span>
</div>
<ul>
@foreach ($latest_article_list as $latestarticle)
<li>
<a href="{{ url('article/'.$latesta... |
<?php
class User_model extends CI_model{
public function register_user($user){
$this->db->insert('user', $user);
}
public function login_user($email,$pass){
$this->db->select('*');
$this->db->from('user');
$this->db->where('user_email',$email);
... |
<?php
namespace Jacobemerick\TimezoneConverter;
use DateTimeZone;
use Exception,
DomainException,
InvalidArgumentException,
RuntimeException;
class Converter
{
const IANA_FORMAT = 1;
const UTC_FORMAT = 2;
const MILITARY_FORMAT = 4;
const ABBREVIATION_FORMAT = 8;
const RAILS_FORMAT = ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Email_notification extends Model
{
//
} |
<?php
declare(strict_types=1);
namespace App\Controller\Admin;
use App\Controller\BaseController;
use App\Entity\Currency;
use App\Form\Type\CurrencyType;
use App\Repository\CurrencyRepository;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
use Symfony\Component\Form\ClickableInterface;
use Symfony\... |
<?php
namespace ContainerOMuLBd5;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getVarDumper_ContextualizedCliDu... |
<?php
namespace App\Http\Controllers;
use App\Mail\ContactMail;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
class ContactController extends Controller
{
public function create()
{
return view('contact.create');
}
public function store(Request $request)
{
$... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class SystemInstall
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $next)... |
--TEST--
Pixel Bender test: Smart Normal Map
--EXTENSIONS--
gd
--SKIPIF--
<?php
if(!function_exists('imagepng')) print 'skip PNG function not available';
?>
--FILE--
<?php
$filter_name = "smart-normal-map";
$folder = dirname(__FILE__);
$image = imagecreatefrompng("$folder/input/malgorzata_socha.png");
$output = imag... |
<?php
if (! defined ( 'BASEPATH' )) exit ( 'No direct script access allowed' );
class Examen extends MY_Alumno_Controller {
function __construct() {
parent::__construct();
$this->load->helper('date');
$this->load->model('evaluacion_model');
$this->load->model('materia');
}
publi... |
@extends('public')
@section('header-buttons')
<a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
@if(setting('registration-enabled'))
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
@endif
@stop
@section('body-class', 'image-cover... |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... |
<?php
namespace App\Http\Controllers;
use App\Models\Drone;
use Illuminate\Http\Request;
use App\Exports\DroneExport;
use App\Imports\DroneImport;
use Maatwebsite\Excel\Facades\Excel;
class DroneController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\R... |
<?php
namespace Phunkie\PatternMatching\Referenced {
use Phunkie\Cats\Free\Bind;
use Phunkie\Cats\Free\Pure;
use Phunkie\Cats\Free\Suspend;
function Pure(&$value)
{
return new GenericReferenced(Pure::class, $value);
}
function Suspend(&$value)
{
return new GenericRefe... |
<!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') }}</title>
<!... |
<?php
use App\User;
use App\Model\Category;
use App\Model\Question;
use App\Model\Reply;
use App\Model\Like;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(Us... |
<?php declare(strict_types=1);
/*
* Copyright 2022 Bastian Schwarz <bastian@codename-php.de>.
*
* 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/... |
<div id="bidonesBG">
<div id="newLetterMagnesium" class="productsLetterBG">
<h2>
new magnesium
</h2>
</div>
<div id="shadowVignete"></div>
</div>
<div id="bidonesInfoWrapper">
<div id="newMagnesiumInfo" class="productsInfo">
<div class="productsPhoto">
... |
<?php
/**
* Class Google\Site_Kit\Modules\Search_Console
*
* @package Google\Site_Kit
* @copyright 2019 Google LLC
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link https://sitekit.withgoogle.com
*/
namespace Google\Site_Kit\Modules;
use Google\Site_Kit\Core\Modules\Mod... |
@extends('layouts.app')
@section('title','Invoice')
@section('content')
<div class="app-title">
<div>
<h1 style="display: inline;"><i class="fa fa-file-text-o"></i> Invoice </h1><a class="btn btn-secondary" href="{{route('order.index')}}" style="display: inline;"> Back</a>
</div>
<ul class="app-breadcrumb ... |
<?php
use Tymon\JWTAuth\JWT;
use Tymon\JWTAuth\JWTAuth;
/*
* This file is part of jwt-auth.
*
* (c) Sean Tymon <tymon148@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.