text stringlengths 2 1.03M |
|---|
<?php
namespace User\Authentication\Adapter;
use DateTime;
use Zend\Authentication\Result as AuthenticationResult;
use Zend\ServiceManager\ServiceManagerAwareInterface;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use User\Authentication\Adapter\AdapterChainEvent as AuthEvent;
use User\Mapp... |
--TEST--
Bug #73058 crypt broken when salt is 'too' long
--FILE--
<?php
$pass = 'secret';
$salt = '$2y$07$usesomesillystringforsalt$';
var_dump(crypt($pass, $salt));
$salt = '$2y$07$usesomesillystringforsaltzzzzzzzzzzzzz$';
var_dump(crypt($pass, $salt));
$salt = '$2y$07$usesomesillystringforx';
var_dump(crypt($pass,... |
@extends('templates.homepage-master')
@section('css-view')
@endsection
@section('js-conteudo-view')
@endsection
@section('conteudo-view')
@if (session('success'))
<h3>{{ session('success')['messages'] }}</h3>
@endif
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class DataKost extends Model
{
use HasFactory;
} |
<?php
namespace Oro\Bundle\ApiBundle\Tests\Unit\Batch\Processor\Update;
use Oro\Bundle\ApiBundle\Batch\IncludeAccessor\IncludeAccessorInterface;
use Oro\Bundle\ApiBundle\Batch\IncludeAccessor\IncludeAccessorRegistry;
use Oro\Bundle\ApiBundle\Batch\IncludeMapManager;
use Oro\Bundle\ApiBundle\Batch\Model\IncludedData;
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mets', function (B... |
<?php
namespace app\modules\admin\models;
use Yii;
class Category extends \yii\db\ActiveRecord
{
public static function tableName()
{
return 'category';
}
public function getCategory()
{
return $this->hasOne(Category::className(), ['id' => 'parent_id']);
}
public funct... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Requests\GrupoCreateRequest;
use App\Models\Grupo;
use App\Models\NCM;
use App\Service\GrupoService;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class GruposController extends Controller
{
private $service;
public function __const... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Cargo extends MY_Controller {
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->library('parser');
@$this->load->library('session');
$this->load->library('pagination'); ... |
<!DOCTYPE html>
<html>
<head>
<?php include_once('templete/pub_head_london.php') ?>
</head>
<body>
<?php include_once('templete/pub_nav_inside.php') ?>
<!-- 用户中心开始 -->
<div class="container-full">
<?php include_once('templete/pub_leftnav.php') ?>
<div class="view-frt">
<div class="manage-panel">
<div clas... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class NewsPageVisitorCoutner extends Model
{
//
} |
<?php $field instanceof GDO_NewsStatus; ?>
aaa |
<?php
namespace Doctrine\Tests\DBAL\Types;
use DateTime;
use Doctrine\DBAL\Types\ConversionException;
use Doctrine\DBAL\Types\DateTimeTzType;
class DateTimeTzTest extends BaseDateTypeTestCase
{
protected function setUp(): void
{
$this->type = new DateTimeTzType();
parent::setUp();
}
... |
<?php
//设置框架应用的环境状态
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
switch (ENVIRONMENT)
{
case 'development':
error_reporting(0);
ini_set('display_errors', 1);
break;
case 'testing':
case 'production':
ini_set('display_errors', 0);
if (version_compare(PH... |
<?php
namespace App\Bardiz12\Console\Commands;
use Illuminate\Console\Command;
class ModuleLivewireDiscover extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'modules:discover';
/**
* The console command description.... |
@extends('layouts.master')
@section('title', 'Thanks')
@section('content')
<html>
<head><title>show</title>
<link href = "//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel = "stylesheet">
<link rel="stylesheet" type="text/css" href="/css/css.css">
</head>
<body>
<div class = "container">
<h2>Terim... |
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
<h1>Edit Map Chart</h1>
</header>
<div class="panel-body">
<?php foreach ($data_edit as $data) { ?>
<form class="fo... |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Metaways Infosystems GmbH, 2013
* @copyright Aimeos (aimeos.org), 2015-2018
* @package Client
* @subpackage Html
*/
namespace Aimeos\Client\Html\Email\Delivery\Text\Summary;
/**
* Default implementation of email text address H... |
<?php namespace Omnipay\VtcPay\Traits;
/**
* The ParamsAccessorMutatorTrait trait
*
* @package omnipay-vtcpay
* @author Jackie Do <anhvudo@gmail.com>
* @copyright 2018
* @version $Id$
* @access public
*/
trait ParamsAccessorMutatorTrait
{
/**
* Get value of the receiver_account parameter
*
*... |
<?php
namespace App\GraphQL\Mutation\User;
use GraphQL\Type\Definition\Type;
use Rebing\GraphQL\Support\Mutation;
use App\Models\User;
class RegisterMutation extends Mutation
{
protected $attributes = [
'name' => 'signUp'
];
public function type(): type
{
return Type::string();
}... |
<?php
use common\models\User;
use yii\helpers\Html;
use yii\web\View;
/* @var $this View */
/* @var $content string */
/* @var $counts [] */
/* @var $org */
if (Yii::$app->controller->action->id === 'login' || Yii::$app->controller->action->id === 'error') {
/**
* Do not use this code in your template. Remo... |
@if(count($products))
@foreach($products as $product)
<div class="product-element">
<div class="elem-image">
<a href="{{ route('product.show', [
'category' => $product->category->slug,
'slug' => $product->slug
]) }}"... |
<!DOCTYPE html>
<html>
<head>
<?php $this->load->view('admin/layouts/header'); ?>
</head>
<body class="fixed-left">
<!-- Begin page -->
<div id="wrapper">
<?php $this->load->view('admin/layouts/top_menu');?>
<?php $this->load->view('admin/layouts/sidebar');?>
<div class="content... |
<?php
use App\Note;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class NoteExerciseTest extends TestCase
{
use DatabaseTransactions;
public function test_notes_summary_and_notes_details()
{
$text = 'Begin of the note. Dicta laborum animi nostrum qui sed dolorum. Enim magni odit est dig... |
<?php
/*
* This file is part of the puli/manager package.
*
* (c) Bernhard Schussek <bschussek@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Puli\Manager\Api\Package;
use InvalidArgumentException;
use Puli... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Abstract class for the schema export plugins
*
* @package PhpMyAdmin
*/
namespace PMA\libraries\plugins;
use PMA\libraries\properties\options\items\BoolPropertyItem;
use PMA\libraries\properties\options\groups\OptionsPropertyMainGroup;
use PMA\libraries\proper... |
<?php
define('EmpireCMSAdmin','1');
require("../../class/connect.php");
require("../../class/db_sql.php");
require("../../class/functions.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//验证用户
$lur=is_login();
$logininid=$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=$lur[... |
<?php
require_once("configs.php");?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" xmlns:xml="http://www.w3.org/XML/1998/namespace" class="chrome chrome8">
<head>
<title><?php echo $website['title']; ?> - <?php echo $status['status']; ?></title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatibl... |
<?php
Route::prefix('admin')->middleware('checkLogin')->group(function () {
Route::prefix('product')->group(function(){
Route::get('list', 'ProductController@getListProduct')->middleware('can:view, App\Product');
Route::get('add', 'ProductController@getFormProduct')->middleware('can:create, App\Prod... |
<?php
/**
* Created by PhpStorm.
* User: ubuntu
* Date: 11/28/17
* Time: 6:24 PM
*/
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function ... |
<?php
namespace Kohana;
/**
* Date helper.
*
* @package Kohana
* @category Helpers
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Date {
// Second amounts for various time increments
const YEAR = 31556926;
const MONTH = ... |
<style>
div, label,a,h1,h2,h3,h4,h5,h6 {font-family:'Roboto' !important;}
#resCon_a0 {float:left;width:143px;background:white;margin-left:6px;margin-top: -19px;padding: 25px;text-align:center;cursor:pointer;}
#resCon_a0:hover {background:#f1f1f1;}
</style>
... |
<?php
namespace App\Actions\Ticket;
use App\DataTransferObjects\TicketDTO;
use App\Http\Requests\TicketRequest;
use Illuminate\Support\Facades\Storage;
class CreateNewTicket
{
public function __construct(
private TicketRequest $request
) {
}
public function send()
{
try {
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBannersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('banners', function(Blueprint $table)
{
$table->increments('id');
$table-... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:... |
<?php
declare(strict_types=1);
namespace jvwag\AdventOfCode\Year2020;
use jvwag\AdventOfCode\Assignment;
/**
* Class
*
* @package jvwag\AdventOfCode\Year2020
*/
class Day7 extends Assignment
{
const MY_BAG_COLOR = "shiny gold";
/**
* @return array
*/
public function run(): array
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UsersCertificates extends Model
{
protected $table = 'users_certificates';
public $timestamps = false;
protected $fillable = [
'id_user',
'image'
];
} |
<!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
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
only_admin_access();
$from_live_edit = false;
if (isset($params["live_edit"]) and $params["live_edit"]) {
$from_live_edit = $params["live_edit"];
}
?>
<?php if (isset($params['backend'])): ?>
<module type="admin/modules/info"/>
<?php endif; ?>
<div class="card style-1 mb-3 <?php if ($from_live_edit): ?... |
<?php
/**
SALPLUS - Sistema de Acompanhamento de Licitações e Contratos
Copyright (C) 2013 Smartbyte - Luís E. S. Dias
Contato : smartbyte.systems@gmail.com
*/
class ReajustesController extends AppController {
var $name = 'Reajustes';
var $paginate = array('limit'=>10, 'order'=>array('Reajuste.... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEmployeesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('employees', f... |
<?php
class Settings extends CI_Controller{
function __construct(){
parent::__construct();
$this->load->model("Setting");
$this->load->model("User");
}
function getyear(){
session_start();
$sql = "select currentyear from settings ";
$que = $this->db->query($sq... |
<?php include "assest/head.php"; ?>
<?php
// Check if the user is already logged in, if yes then redirect him to welcome page
if (isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true) {
header("location: index.php");
exit;
}
// Define variables and initialize with empty values
$username = $password ... |
@extends('admin.layouts.admin')
@section('title')
{{__('admin/invoices.invoice_information')}}
@endsection
@section('style')
<link rel="stylesheet" href="{{asset('admin/assets/plugin/form-wizard/prettify.css')}}">
@endsection
@section('content')
<div class="app-content content">
<div class="content-wrapp... |
<?php
namespace AlibabaCloud\Alidns;
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getUserClientIp()
* @method $this withUserClientIp($value)
* @method string getPageSize()
* @metho... |
<?php
namespace PHPSTORM_META {
override(\Beloys\StubGrpc\StubGrpc::make(0), map([
'' => '@',
]));
} |
<?php namespace Perscriptio\Events;
abstract class Event {
//
} |
<?php
/*
* Copyright 2013 Johannes M. Schmitt <schmittjoh@gmail.com>
*
* 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... |
@extends('frontend.master')
@section('page-title', 'Login')
@section('content')
<div class="container my-5">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
<div class="card-bod... |
@extends('template_backend.home')
@section('heading', 'Details Guru')
@section('page')
<li class="breadcrumb-item active"><a href="{{ route('guru.index') }}">Teacher</a></li>
<li class="breadcrumb-item active">Details of Teacher</li>
@endsection
@section('content')
<div class="col-md-12">
<div class="card">
... |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... |
<?php
ob_start();
session_start();
include 'baglan.php';
include 'fonksiyon.php';
$ayarsor=$db->prepare("SELECT * FROM ayar where ayar_id=:id");
$ayarsor->execute(array(
'id' => 0
));
$ayarcek=$ayarsor->fetch(PDO::FETCH_ASSOC);
$blogsor=$db->prepare("SELECT * FROM blog where blog_id=:id");
$blogsor->execute(array(
... |
<?php
namespace App\Http\Controllers\Country;
use http\Env\Response;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\CountryModel;
use Validator;
class CountryController extends Controller
{
public function country(){
return response()->json(CountryModel::get(),200);
... |
<?php
/**
* XmlViewTest file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice
*
* @co... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tag extends Model
{
protected $fillable = ['name'];
public function posts (){return $this ->belongsToMany('App\Post ', 'post_tag ', 'tag_id ', 'post_id ')
->withTimestamps ();}
} |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Company;
use App\Services\Admin\ContractService;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Storage;
class ContractController extends Controller
{
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('templates.index')
@section('title','Titulo DEMO')
@section('css')
{{-- <link rel="stylesheet" href="{{ asset('css/bootstrap/bootstrap.min.css') }}"> --}}
<link rel="stylesheet" href="{{ asset('css/select2/select2.min.css') }}">
@endsection
{{-- SECCION PARA CAMBIAR LA CLASE DE LA ETIQUETA BODY PARA ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\Role;
use DB;
use Session;
use Hash;
use Input;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... |
<x-ladmin-layout>
<x-slot name="title">Tentang</x-slot>
<form action="{{ route('administrator.tentang.update', $tentang->id) }}" method="post" enctype="multipart/form-data">
@csrf
@method('PUT')
@include('vendor.ladmin.tentang._partials._form', ['tentang' => $tentang])
<div class="text-r... |
<?php
namespace App\Services;
use App\ParticularShip;
class ParticularService
{
public static function create(array $data)
{
$data['price'] = \convertMoneyBraziltoUSA($data['price']);
return ParticularShip::create($data);
}
public static function update(array $data, ParticularShip $p... |
<?php
use common\models\Category;
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel common\models\searchModels\CategoryModelAddress */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Category Model Addresses';
$this->params['brea... |
<?php // phpcs:disable Generic.Files.LineLength.TooLong
declare(strict_types=1);
namespace LaminasTest\ServiceManager;
use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\AbstractPluginManager;
use Laminas\ServiceManager\ConfigInterface;
use Laminas\ServiceManager\Exception\InvalidArgumentException;... |
<?php
namespace App\Http\Controllers;
use Carbon\Carbon;
use Illuminate\Http\Request;
use App\Models\products;
use App\Models\materials;
use App\Models\category;
use App\Models\ncc;
class GetSlug extends Controller
{
//
public function slugFood()
{
# code...
return products::select('produ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSeosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('seos', function (B... |
<?php
namespace wcf\system\menu\user\profile\content;
use wcf\data\user\minecraft\MinecraftUserList;
use wcf\data\user\User;
use wcf\system\minecraft\MinecraftProfileHandler;
use wcf\system\SingletonFactory;
use wcf\system\WCF;
class MinecraftUserProfileMenuContent extends SingletonFactory implements IUserProfileMen... |
<?php
namespace Config;
use CodeIgniter\Database\Config;
/**
* Database Configuration
*/
class Database extends Config
{
/**
* The directory that holds the Migrations
* and Seeds directories.
*
* @var string
*/
public $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR;
/**
* Lets you choose wh... |
<!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>Cetak Rekap Kas Besar All Salesman</title>
<style>
@import url('https://fonts.googleapis.com/css2... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateContactDetails extends Migration
{
/**
* Run the migrations.
*This migration holds all the possible contact details of the user.
The type fields determine... |
<?php
namespace OC\Preview;
abstract class Provider {
private $options;
public function __construct($options) {
$this->options=$options;
}
abstract public function getMimeType();
/**
* get thumbnail for file at path $path
* @param string $path Path of file
* @param int $maxX The maximum X size of the t... |
<h2><?= $title; ?></h2>
<!-- <h2>Personal Details Form</h2> -->
<?php
if (!isset($_SESSION["alindex"])){
redirect('/');
}
// echo $_SESSION['nic'];
?>
<span style="color: red;"><?php // echo validation_errors(); ?></span>
<?php //echo form_open_multipart('students/personaldetails'); ?>
<form action="<?php ech... |
<?php
/**
* aheadWorks Co.
*
* NOTICE OF LICENSE
*
* This source file is subject to the EULA
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://ecommerce.aheadworks.com/AW-LICENSE.txt
*
* ========================================... |
<h3>Tasks by Priority</h3>
<form method="POST" action="{completer}">
<table class="table">
<tr>
<th>Id</th>
<th></th>
<th>Task</th>
<th>Priority</th>
</tr>
{display_tasks}
<tr>
<td>{id}</td>
<td><input type="che... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\File;
class FileController extends Controller
{
/**
* @method: GET
*
* @return Render view for uploads images
*/
public function index() {
$images = File::get();
return view('upload',compact('images'));
}... |
<?php
if (!function_exists('route_class')) {
function route_class() {
return str_replace('.', '-', \Illuminate\Support\Facades\Route::currentRouteName());
}
} |
<?php
/*
* This file is part of the design-pattern.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace DesignPattern\Behavioral\State;
class ContextOrder extends StateOrder
{
public function... |
<?php |
<?php
namespace Tbsdk\Top\Request;
/**
* TOP API: taobao.tbk.uatm.event.get request
*
* @author auto create
* @since 1.0, 2016.04.29
*/
class TbkUatmEventGetRequest
{
/**
* 需要返回的字段列表,不能为空,字段名之间使用逗号分隔
**/
private $fields;
/**
* 默认1,第几页,从1开始计数
**/
private $pageNo;
/**
* 默认20, 页大小,即每一页的活动个数
... |
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - ANCHR
*/
return array_replace_recursive(require __DIR__.'/en.php',... |
<!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">
<title>Missouri Soccer association</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Validator, DateTime, DB;
use Carbon\Carbon;
use App\Models\User;
use App\Models\UserAccounts;
use App\Models\UserAddress;
use App\Models\Sale;
class UserConnectController extends Controller
{
///////////... |
@extends('layouts.theme')
@section('content')
<div class="container py-4">
<div class="row justify-content-center">
<div class="col-md-8">
@if(session('success'))
<div class="alert alert-success">
{!! session('success') !!}
</div>
... |
<?php
use Illuminate\Support\Facades\Route;
use App\Post;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loade... |
<?php
/*
* This file is part of the Geotools library.
*
* (c) Antoine Corcy <contact@sbin.dk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace League\Geotools\Exception;
/**
* Exception interface
*
* @author Antoine ... |
<!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>Kapin App</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/boo... |
<?php
$location = $_GET['loc'];
$user = "datasyndicate_user";
$pass = "Yfg=Vs-(2}jn";
$database = "datasyndicate_radioapp";
$sqli = new mysqli("localhost", $user, $pass, $database);
$sqli->select_db($database) or print("Failed to select database");
$q_songs = "SELECT * FROM Songs ORDER BY RAND() LIMIT 3;";
$songs = ... |
<?php
namespace App\Containers\JobTypes\UI\API\Requests;
use App\Ship\Parents\Requests\Request;
/**
* Class GetAllJobTypesRequest.
*/
class GetAllJobTypesRequest extends Request
{
/**
* The assigned Transporter for this Request
*
* @var string
*/
protected $transporter = \App\Container... |
<?php
namespace App\People;
use App\Shared\Uuid;
final class PersonId extends Uuid
{
} |
<?php
namespace frontend\models;
use common\models\Users;
use yii\base\InvalidArgumentException;
use yii\base\Model;
class VerifyEmailForm extends Model
{
/**
* @var string
*/
public $token;
/**
* @var Users
*/
private $_user;
/**
* Creates a form model with given toke... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tecnicas extends CI_Controller {
public function __construct() {
parent::__construct();
$this->login->verify();
$this->load->model('Tecnica');
$this->load->model('Propuesta');
}
public function index() {
header("Location: ... |
<?php
namespace BwsShop\WebBundle\Controller;
use Bws\Interactor\SearchArticlesRequest;
use FOS\RestBundle\Controller\Annotations\View;
use FOS\RestBundle\Controller\FOSRestController;
use Symfony\Component\HttpFoundation\Request;
class ArticleController extends FOSRestController
{
public function indexAction()
... |
<?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Hubzero\Form\Fields;
use App;
/**
* Supports an HTML select list of menus
*/
class Menu extends Select
{
/**
* The form field type.
*
* @var s... |
<?php
$id= isset($_GET['id']) && is_numeric($_GET['id']) ? $_GET['id'] :0;
$stmt=$coon->prepare("SELECT * FROM products WHERE id=?");
$stmt->execute([$id]);
$row=$stmt->fetch();
?>
<form id="product" method="POST" action="../fun/products/update_product.php" class="register-form" enctype="multipart/form-data">
... |
@extends('layouts.admin')
@section('page-title')
{{__('Bill Detail')}}
@endsection
@push('script-page')
<script>
$(document).on('click', '#shipping', function () {
var url = $(this).data('url');
var is_display = $("#shipping").is(":checked");
$.ajax({
... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use SoftDeletes, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
... |
<?php
function et_fb_shortcode_tags() {
global $shortcode_tags;
$shortcode_tag_names = array();
foreach ( $shortcode_tags as $shortcode_tag_name => $shortcode_tag_cb ) {
$shortcode_tag_names[] = $shortcode_tag_name;
}
return implode( '|', $shortcode_tag_names );
}
function et_fb_prepare_library_cats() {
$raw... |
<?php
/**
* Created by PhpStorm.
* User: xcg
* Date: 2019/12/26
* Time: 10:18
*/
namespace EasySwoole\ElasticSearch\Tests\Indices;
use EasySwoole\ElasticSearch\RequestBean\Indices\Upgrade;
use EasySwoole\ElasticSearch\Tests\Base;
class UpgradeTest extends Base
{
public function test()
{
$bean =... |
<?php
use common\models\platform\Post;
use common\utils\I18NUitl;
use yii\helpers\Html;
use yii\web\View;
/* @var $this View */
/* @var $model Post */
$this->title = I18NUitl::t('app', '{Update}{Post}: {name}', [
'name' => $model->title,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Posts'), 'u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.