text stringlengths 2 1.03M |
|---|
<?php
namespace App\Infra\Pvm;
class TooManyTransitionsException extends \LogicException
{
public static function fromNodeWithAction(string $from, string $action): TooManyTransitionsException
{
return new static(sprintf('There are more than one transition from the node "%s" with an action "%s". One or ... |
<div class="row">
<div class="col-sm-12">
<h4 class="page-title">Connexion</h4>
</div>
</div>
<?php if (isset($err)) { ?>
<div class="alert alert-danger" role="alert">
<?php echo $err; ?>
</div>
<?php } ?>
<div class="container">
<div class="card card-login mx-auto mt-5">
<div clas... |
<?php
/**
* This file is part of the <PI_CRUD> project.
*
* @category PI_CRUD_Controllers
* @package Controller
* @author Etienne de Longeaux <etienne.delongeaux@gmail.com>
* @since XXXX-XX-XX
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this... |
<?php
/** @generate-function-entries */
final class SysvSharedMemory
{
}
function shm_attach(int $key, ?int $memsize = null, int $perm = 0666): SysvSharedMemory|false {}
function shm_detach(SysvSharedMemory $shm): bool {}
function shm_has_var(SysvSharedMemory $shm, int $variable_key): bool {}
function shm_remove(... |
<?php
declare(strict_types=1);
namespace Zae\ContentSecurityPolicy\Laravel\Providers;
/**
* @author Ezra Pool <ezra@tsdme.nl>
* @copyright Ezra Pool
*/
use View;
use Zae\ContentSecurityPolicy\Composers\CspViewComposer;
use Zae\ContentSecurityPolicy\Contracts\Builder;
use Illuminate\Support\ServiceProvider as L... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\EnrolleSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="enrolle-search pull-right">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
class DashboardController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit7abbc13e467245666623b0706951c899::getLoader(); |
<?php
namespace App\Http\Controllers;
use App\Jobs\BlogIndexData;
use App\Post;
use App\Services\RssFeed;
use App\Services\SiteMap;
use App\Tag;
use Carbon\Carbon;
use Illuminate\Http\Request;
use App\Http\Requests;
//class BlogController extends Controller
//{
// public function index()
// {
// $posts... |
<!doctype html>
<html lang="en">
@include('layouts.partials.head')
<body>
@include('layouts.partials.navigation')
<div class="container-fluid">
<div class="row">
@include('layouts.partials.sidebar')
@include('layouts.partials.alerts')
@yield('content')
</div>
</div>
@inc... |
<?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... |
<?
$MESS ['AUTH_FORGOT_PASSWORD_1'] = "Forgot your password? Enter your login or e-mail.<br />The password change information and your registration data will be sent to your e-mail.";
$MESS ['AUTH_SEND'] = "Send";
$MESS ['AUTH_AUTH'] = "Authorization";
$MESS ['AUTH_LOGIN'] = "Login";
?> |
<?php declare(strict_types=1);
namespace Shopware\Core\Checkout\Customer\SalesChannel;
use OpenApi\Annotations as OA;
use Shopware\Core\Checkout\Customer\CustomerEntity;
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
use Sh... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class RegisterController extends Controller
{
public function index()
{
return view('register.index', [
'title' => 'Register'
]);
}
}
{
public function store(Request $request)
{
$request->valid... |
<?php
declare(strict_types=1);
namespace FromHome\Payment\Tests\Supports;
use PHPUnit\Framework\TestCase;
use FromHome\Payment\Supports\Str;
final class StrTest extends TestCase
{
public function testCanConvertToCamelCase(): void
{
$value = 'this_is_snake_case';
$newValue = Str::camelCase($... |
<?php
// TODO: Some "final" modifiers have been VERY TEMPORARILY moved aside to
// allow DifferentialTransaction to extend this class without converting
// fully to ModularTransactions.
abstract class PhabricatorModularTransaction
extends PhabricatorApplicationTransaction {
private $implementation;
abstract p... |
<?php
namespace frontend\models\search;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use frontend\models\ApplicationPhoto;
/**
* ApplicationPhotoSearch represents the model behind the search form about `frontend\models\ApplicationPhoto`.
*/
class ApplicationPhotoSearch extends ApplicationPhoto
{
... |
<h1>{{ $modo }} Empleados</h1>
@if (count($errors) > 0)
<div class="alert alert-danger" role="alert">
<ul>
@foreach ($errors->all() as $error)
<li>{{$error}}</li>
@endforeach
</ul>
</div>
@endif
<div class="form-group">
<label for="Nombre">Nombre</... |
<?php
class ChargeBee_Event extends ChargeBee_Model
{
protected $allowed = array('id', 'occurredAt', 'source', 'user', 'webhookStatus', 'webhookFailureReason',
'webhooks', 'eventType', 'apiVersion');
public function content()
{
return new ChargeBee_Content($this->_values['content']);
}
pub... |
<?php
namespace Jetcoder\JLogin\Contracts;
interface Socialite
{
public function authorize();
public function getUser();
} |
<?php
$this->setPageTitle('Lihat Gallery Categories | ID : '. $model->id);
$this->breadcrumbs=array(
'Gallery Categories'=>array('index'),
$model->name,
);
?>
<?php
$this->beginWidget('zii.widgets.CPortlet', array(
'htmlOptions'=>array(
'class'=>''
)
));
$this->widget('bootstrap.widgets.TbMenu', array(
'type'=... |
<?php
namespace app\common\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
*产品
*/
class InGift extends Model {
use SoftDelete;
protected $deleteTime = 'delete_time';
//关联用户表
public function par() {
return $this->hasOne('StoCate', 'id', 'cate_pid');
}
//详情
public function detail($where, $... |
<?php
declare(strict_types=1);
namespace Matchory\Herodot\Entities;
use JetBrains\PhpStorm\Pure;
use Matchory\Herodot\Interfaces\StructureInterface;
class ContentType implements StructureInterface
{
protected string $name;
protected ?string $description;
protected ?array $meta;
final public fu... |
<?php
/**
* Test: Nette\Database\SqlPreprocessor
* @dataProvider? databases.ini
*/
use Tester\Assert;
use Nette\Database\SqlLiteral;
require __DIR__ . '/connect.inc.php'; // create $connection
$preprocessor = new Nette\Database\SqlPreprocessor($connection);
test(function() use ($preprocessor) { // basic
list(... |
<?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LIC... |
@extends('admin.layout.app')
@section('title', ' | Sửa setting')
@section('content')
<section class="content-header">
<div class="panel panel-default">
<div class="panel-heading"><strong class="panel-color-heading" >Setting</strong></div>
<div class="panel-body">
<h1>
... |
@extends('layouts.home')
@section('title',$word)
@section('keywords',$word)
@section('description',$word)
@section('content')
<section id="aa-catg-head-banner" style="height: 100px;">
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li>Service Search</li>
<li cl... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRestaurantUserPivotTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('res... |
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- パーツファイルでheaderをレンダリングしている(Bootstrap,フォント,css,wp_head) -->
<?php get_header(); ?>
</head>
<body>
<!-- get_template_part('相対パス(拡張子ははずす)') : 汎用パーツファイルの読み込み -->
<?php get_template_part('includes/header'); ?>
<!-- Page Header -->
<header class="masth... |
<!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>RexSteam</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/boots... |
<?php
/**
* Elementor Importer
*
* @package CARTFLOWS
*/
namespace Elementor\TemplateLibrary;
use Elementor\Core\Base\Document;
use Elementor\DB;
use Elementor\Core\Settings\Page\Manager as PageSettingsManager;
use Elementor\Core\Settings\Manager as SettingsManager;
use Elementor\Core\Settings\Page\Model;
use Ele... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sisterlab extends My_Controller {
public function index(){
$this->loadView('form/sister_lab_form');
}
public function save_sisterlab(){
$post = $this->input->post();
$pass = md5( $post['password'] );
$password = $p... |
@extends('layouts.app')
@section('title', 'Verify Your Email')
@section('auth-header','Verify Your Email Address' )
@section('content')
@parent
@if (session('resent'))
<div class="alert alert-success" role="alert">
{{ __('A fresh verification link has been sent to your email address.') }}
... |
<?php
namespace Elements\Nav;
use PHPUnit\Framework\TestCase;
use Qpdb\Common\Exceptions\CommonException;
use Qpdb\HtmlBuilder\Exceptions\HtmlBuilderException;
use Qpdb\HtmlBuilder\Html;
use Qpdb\Tests\TestStrings;
class Test extends TestCase
{
/**
* @test
* @throws HtmlBuilderException
* @throw... |
@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">{{ __('Dashboard') }}</div>
<div class="card-body">
@if (session('... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
/**
* Class Currency
* @package App
* @property string name
*/
class Currency extends Model
{
public $timestamps = false;
/**
* Выбор всех курсов по валюте
* @return HasMany
*/... |
<?php
namespace App\Entity\Webapp;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\Webapp\VideoRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\Entity(repositoryClass=VideoRepository::class)
* @ApiResource(
* normalizationContext={
* ... |
<?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 RectorPrefix20210919\Symfony\Component\HttpFoundation\File\Exception;
cl... |
@extends('layouts.vendor')
@section('content')
<div class="content-area">
<div class="mr-breadcrumb">
<div class="row">
<div class="col-lg-12">
<h4 class="heading">{{ $langg->lang454 }}</h4>
<ul class="links">
<li>
<a href="{{ route('vendor-das... |
@extends('layouts.app-main')
@section('content')
<div class="row mt-5">
<div class="col-md-8">
@foreach($posts as $post)
<div class="card rounded-0">
<div class="card-body">
<h3 class="card-title">
{{$post->title}}
</h3>
<img src="{{URL::to('images/'.$post->file)}}" alt="" class="rounded mb-2 card-img img-fluid">
<d... |
@extends('layouts.tshop')
@section('titulo')
Catalogo | {{$sede->nombre_publico}} - {{$sede->direccion}}
@stop
@section('content-page')
<meta name="description" content="">
<meta name="author" content="Megalopolis TEAM">
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://ww... |
<?php
/*
* @package s9e\TextFormatter
* @copyright Copyright (c) 2010-2016 The s9e Authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\TextFormatter\Plugins\Emoticons\Configurator;
use RuntimeException;
use s9e\TextFormatter\Configurator\Collections\NormalizedColl... |
<?php
namespace Congow\Orient;
require 'test/PHPUnit/bootstrap.php';
$client = new Http\Client\Curl();
$binding = new Foundation\Binding($client, '127.0.0.1', 2480, 'admin', 'admin', 'friends');
$httpResponse = $binding->query('select from friends where any() traverse(0,1) ( @rid = #5:3 ) and @rid <> #5:3');
$frie... |
<?php
namespace ConfrariaWeb\Widget\Contracts;
interface WidgetContract
{
public function all();
public function create(array $data);
public function destroy($id);
public function find($id);
public function findBy($field, $value);
public function update(array $data, $id);
public fun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ImageCatgeory extends Model
{
public function images(){
return $this->hasMany("App\Image", "category_id");
}
} |
#!/usr/bin/env php
<?php
echo 'phpbu/phpbu: ';
$tag = @exec('git describe --tags 2>&1');
if (strpos($tag, '-') === false && strpos($tag, 'No names found') === false) {
echo $tag;
} else {
$branch = @exec('git rev-parse --abbrev-ref HEAD');
$hash = @exec('git log -1 --format="%H"');
echo $branch . '@... |
<?php /** @noinspection PhpUnhandledExceptionInspection */
declare(strict_types=1);
use Authanram\Generators\Input;
it('throws if input key not exists', function (): void {
(new Input([]))->get('first');
})->expectExceptionMessage('Undefined array key [first].');
it('resolves if key exists', function (): void {... |
<?php
namespace GestionBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
class DefaultController extends Controller
{
} |
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "getmelive";
try
{
$connect=new PDO("mysql:host=$servername;dbname=$dbname",$username,$password);
$connect->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);
}
catch(PDOException $error)
{
$message=$error->getMessage();
echo $mes... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateNewShopEntriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('new_shop... |
<?php
declare(strict_types=1);
namespace Rector\Core\PhpParser\Node;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\Expression;
use PhpPa... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSlidersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sliders', funct... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Docker\API\Exception;
class PluginPushNotFoundException extends \RuntimeException implements ClientException
{
private $errorResponse;
public function __construct(\Docker\API\Model\Er... |
<?php
/*
Whois.php PHP classes to conduct whois queries
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
Maintained by David Saez
For the most recent version of this package visit:
http://www.phpwhois.org
This program is free software; you can redistribute it and/or
modify it under the terms... |
<?php
namespace Cravler\RemoteBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
... |
<!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 Base Crud</title>
<!-- Styles -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use kartik\grid\GridView;
/* @var $this yii\web\View */
/* @var $model backend\models\LTextbaustein */
?>
<div class="ltextbaustein-view">
<div class="row">
<div class="col-sm-9">
<h2><?= Html::encode($model->id) ?></h2>
</div>
... |
<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<head>
@include('partials._head')
</head>
<body>
@include('partials._nav')
<div class="container">
@yield('content')
@include('partials._footer')
</div><!-- End of container -->
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="pull-left">
<h3> Show procedure</h3>
</div>
<div class="pull-right">
<a class="btn btn... |
<?php
namespace App\Models\tvstars;
use App\Models\Simple\XMLModel;
class Tvb extends XMLModel
{
protected $origin = WRITEPATH . '/writable/data/tvstars/tvstars.xml';
protected $keyField = 'id';
protected $validationRules = [];
} |
<?php
function seedFamilies() {
\Trust\DB::exec("DELETE FROM families", []);
$families = file(DIR."/php/builder/rawdata/families.txt", FILE_IGNORE_NEW_LINES);
$datainfo = json_encode(\Trust\Model::newDataInfo());
foreach ($families as $k=>$v) $families[$k] = (object)['family'=>$v,'data_info'=>$datainfo];
... |
@extends('layouts.app')
@section('content')
<style type="text/css">
.jFiler-input-dragDrop {
width: 100%;
}
.input-controls {
margin-top: 10px;
border: 1px solid transparent;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
-moz-box-sizing: border-box;
hei... |
<?php
/**
* PHPMailer RFC821 SMTP email transport class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy ... |
@extends('layouts.home.app')
@section('content')
@section('title', __('My Channel'))
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ $channel->name }}</div>
<div class="car... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
@extends('website.index')
@section('content')
<!-- Login -->
<section id="login" class="padding">
<div class="container">
@include('admin.error')
<div class="row">
<div class="col-md-12 text-center">
<div class="profile-login">
... |
<?php
namespace App;
use App\Step;
use App\Process;
use Illuminate\Database\Eloquent\Model;
class Procedure extends Model
{
public function steps()
{
return $this->hasMany(Step::class);
}
public function processes()
{
return $this->belongsToMany(Process::class)->withTimestamps();
}... |
<h1>Categories</h1>
<ul>
@foreach($categories as $category)
<li><a href='{{ route('admin.category', array('id' => $category->id)) }}'>{{ $category->name }}</a></li>
@endforeach
</ul> |
<?php
namespace Auth0\Tests\integration\API\Management;
use Auth0\SDK\API\Management;
use Auth0\Tests\API\ApiTests;
use GuzzleHttp\Exception\ClientException;
use Auth0\SDK\Exception\CoreException;
/**
* Class ResourceServersIntegrationTest.
*
* @package Auth0\Tests\integration\API\Management
*/
class ResourceSer... |
<!DOCTYPE html>
<html lang="en">
<head>
@include('tamplate.haed')
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
@include('tamplate.navbar')
@include('tamplate.sidebar')
<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class=... |
<?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
$person = [
'age' => 31,
'hair' => 'brown',
'career' => 'web developer'
];
require 'index.view.php'; |
<!-- header header -->
<div class="header">
<nav class="navbar top-navbar navbar-expand-md navbar-light">
<!-- Logo -->
<div class="navbar-header">
<a class="navbar-brand" href="#">
<!-- Logo icon -->
<b><img style="width: 25%" src="images/download.png" alt="... |
<table>
<thead>
<th>№</th>
<th>ФИО</th>
<th>Дата</th>
<td>Здоровье</td>
<td>Настроение</td>
<td>Работоспособность</td>
</thead>
<tbody>
<?php foreach ($data as $i=>$item): ?>
<tr>
<td><?=$i+1?></td>
<td><?=$item->fio?></td>
... |
<?php
/**
*
* example目录下为简单的支付样例,仅能用于搭建快速体验微信支付使用
* 样例的作用仅限于指导如何使用sdk,在安全上面仅做了简单处理, 复制使用样例代码时请慎重
* 请勿直接直接使用样例对外提供服务
*
**/
require_once dirname (dirname ( __FILE__ ))."/lib/WxPay.Config.Interface.php";
/**
*
* 该类需要业务自己继承, 该类只是作为deamon使用
* 实际部署时,请务必保管自己的商户密钥,证书等
*
*/
class WxPayConfig extends WxPayConfigInterface
{
... |
<?php
namespace App\Http\Controllers;
use Faker\Factory;
use Illuminate\Http\Request;
use App\Http\Services\CommentService;
use App\Http\Services\PostService;
use App\Models\Post;
use App\Models\Comment;
use App\Http\Services\ConnectionService;
use Illuminate\Support\Facades\Http;
class ServiceController extends Con... |
<?php
/**
* Created by NeySlim 2020
*/
include('config.php');
logincheck();
$message = [];
if (isset($_GET['delete'])) {
$ipblock = BlockedIp::find($_GET['delete']);
$ipblock->delete();
$message['type'] = "success";
$message['message'] = "Admin deleted";
}
$ipblocks = BlockedIp::all();
echo $templ... |
<?php
namespace myanmarFaker\Extension;
/**
* @experimental This interface is experimental and does not fall under our BC promise
*/
interface BloodExtension extends Extension
{
/**
* Get an actual blood type
*
* @example 'AB'
*/
public function bloodType(): string;
/**
* Get a... |
<!DOCTYPE html>
<html>
<head>
<title>Exercicio 5</title>
</head>
<body>
<center>
<form action="php/processar.php" method="post">
Username: <input type="text" name="user">
Password: <input type="password" name="pass"><br>
<input type="submit" name="login" value="Aceder">
</form>
</center>
</body>
</... |
<?php
namespace App\Http\Controllers\Resultado;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class resultadoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateShopSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('shop_setti... |
<?php
include('../../Connect.php');
if (isset($_POST)) {
$idPembelian = $_GET['id'];
$query = "SELECT id, barang_id, total, status FROM pivot_retur WHERE retur_id=$idPembelian";
$pembelians = $conn->query($query);
$totalItem = $pembelians->num_rows;
$items = $pembelians->fetch_all(MYSQLI_ASSOC);
for ($i... |
<!-- begin #content -->
<div id="content" class="content">
<!-- begin breadcrumb -->
<ol class="breadcrumb pull-right">
<li><a href="javascript:;">Home</a></li>
<li><a href="javascript:;">시스템 관리</a></li>
<li class="active">스테이지 관리</li>
</ol>
<!-- end breadcrumb -->
<!-- begin page-header -->
<h1 class="page... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min... |
<?php
declare(strict_types = 1);
namespace CodelyTv\Backoffice\Courses\Application\SearchByCriteria;
use CodelyTv\Backoffice\Courses\Application\BackofficeCourseResponse;
use CodelyTv\Backoffice\Courses\Application\BackofficeCoursesResponse;
use CodelyTv\Backoffice\Courses\Domain\BackofficeCourse;
use CodelyTv\Backo... |
<?php
namespace App\Traits;
use ReflectionClass;
trait Archiveable
{
public function archive()
{
$this->delete();
$this->triggerEvent('archived');
return true;
}
private function triggerEvent($type)
{
$entity_class = (new ReflectionClass($this))->getShortName()... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCalAsFrToInvoiceDetailTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('invo... |
<?php
/**
* Magento 2 extensions for Afterpay Payment
*
* @author Afterpay
* @copyright 2016-2020 Afterpay https://www.afterpay.com
*/
namespace Afterpay\Afterpay\Test\Unit\Block\Adminhtml\System\Config\Button;
use \PHPUnit\Framework\TestCase;
/**
* Class UpdateTest
* Includes Sample assertions
*/
class Updat... |
<?php
/**
* PHPCoord.
*
* @author Doug Wright
*/
declare(strict_types=1);
namespace PHPCoord\Geometry\Extents\BoundingBoxOnly;
/**
* Antarctic/Antarctica - 60°S to 64°S, 72°W to 60°W (SP19-20).
* @internal
*/
class Extent2991
{
public function __invoke(): array
{
return
[
[
... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `groupmembers`.
*/
class m181112_153336_create_groupmembers_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('groupmembers', [
'id' => $this->primaryKey(),
... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateRequiredDocsRequest;
use App\Http\Requests\UpdateRequiredDocsRequest;
use App\Repositories\RequiredDocsRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Prettus\Repository\Criteria\RequestCriteria;
use ... |
<?php
include 'header.php';
include 'connection.php';
global $db; $msg; $user_id;$errMSG;
$user_id = $_SESSION['user_id'];
if(isset($_POST['save'])){
$delete_sql = "DELETE FROM student_details WHERE student_details.user_id = $user_id";
$db->query($delete_sql);
$insert_data=array();
$insert_data['user_i... |
<?php
// This is where a user goes who has been banned.
// It could be that you blocked them in the admin panel.
// Or their ip address could be on the blacklist.
// Note that the whitelist overrides the blacklist.
// Either way, we feel that it is best to not tell someone
// exactly why they were banned, so they don't... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>E-Beauty</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<!-- Google Fonts -->
<link href="{{('template_memb... |
<!-- Container Fluid-->
<div class="container-fluid" id="container-wrapper">
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800"><?=$title?></h1>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?=base_url()?>unit">Unit</... |
<?php
namespace Platron\Starrys\data_objects;
class TransferOperatorData extends BaseDataObject
{
/** @var string */
protected $Phone;
/** @var string */
protected $Name;
/** @var string */
protected $Address;
/** @var string */
protected $INN;
/**
* TransferOperatorData constructor.
* @param string $na... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'name' => 'СпецТехОснастка - Ювелирные штампы и инструменты',
'language' => 'ru',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'assetManager' => [
'appendTimestamp' =... |
<?php
function lightning_exclude_term_list_polylang( $exclusion ){
$exclusion[] = 'language';
$exclusion[] = 'post_translations';
return $exclusion;
}
add_filter( 'vk_get_display_taxonomies_exclusion', 'lightning_exclude_term_list_polylang' );
add_filter( 'vk_breadcrumb_taxonomies_exludion', 'lightning_excl... |
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/
declare(strict_types=1);
namespace App\Entity\Product;
class Product e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.