text stringlengths 2 1.03M |
|---|
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Donation */
$this->title = Yii::t('app', 'Create Donation');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Donations'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="donation-crea... |
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="">
<div class="sidebar-brand-icon rotate-n-15">
<i class="fas fa-laugh-wink"></i>
</div>
... |
<?php
defined('ABSPATH') or die();
/**
* REGISTER HUPA POST SELECTOR
* @package Hummelt & Partner WordPress Theme
* Copyright 2021, Jens Wiecker
* License: Commercial - goto https://www.hummelt-werbeagentur.de/
*/
global $post_selector_license_exec;
$data = json_decode(file_get_contents("php://input"));
if($dat... |
<?php
namespace Course1\Bundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use StudySauce\Bundle\Entity\User;
/**
* @ORM\Entity
* @ORM\Table(name="quiz6")
* @ORM\HasLifecycleCallbacks()
*/
class Quiz6
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
... |
<div class="form-group">
<label class="control-label col-sm-2" >Attach Category</label>
<div class="col-md-10">
<select id="book_category" type="book_category" value="{{old('book_category')}}" class="form-control" name="book_category">
<option value="">Select Category</option... |
<?php
namespace App\Http\Controllers\Message;
use Omnipay\Common\Message\AbstractRequest;
use SimpleXMLElement;
/**
* Created by PhpStorm.
* User: tuncer
* Date: 11/10/16
* Time: 10:21
*/
class PurchaseRequest extends AbstractRequest
{
private $public_key = "";
private $private_key = "";
function... |
<?php
namespace EasyIPFS\Kernel\Support;
/**
* Array helper from Illuminate\Support\Arr.
*/
class Arr
{
/**
* Add an element to an array using "dot" notation if it doesn't exist.
*
* @param string $key
* @param mixed $value
*
* @return array
*/
public static function add(... |
<?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... |
@if (sc_config('SITE_STATUS') == 'off')
@include($templatePath . '.maintenance')
@else
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ $description??sc_store(... |
<?php
namespace Spatie\RouteAttributes;
use Illuminate\Support\ServiceProvider;
class RouteAttributesServiceProvider extends ServiceProvider
{
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__ . '/../config/route-attributes.php' => c... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBondDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bond_detail... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<meta http-equiv='REFRESH' content='60;url=<?= base_url('computing-support/status') ?>'>
<div class="container-fluid">
<div class="row">
<?php if (isset($_COOKIE['CI-CONCRETE5'])) {
$this->load->view('temp... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\PostStoreRequest;
use App\Models\Post;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
class PostController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTranslation extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('catego... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>@yield('title')</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Construction Html5 Template">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
<!-... |
<?php
namespace SoftUniBlogBundle\Form;
use SoftUniBlogBundle\Entity\Category;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\OptionsResolver\Opti... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRepliesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('replies', funct... |
<?php
declare(strict_types = 1);
namespace Datalator\Populator;
use Datalator\Popo\ModuleTable;
use Doctrine\DBAL\Connection;
class TableCreator implements TableCreatorInterface
{
/**
* @var \Doctrine\DBAL\Connection
*/
protected $databaseConnection;
/**
* @var \Datalator\Popo\ModuleTabl... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| HTTP protocol
|--------------------------------------------------------------------------
|
| Should the service accept only HTTPS requests or not?
|
| Default: FALSE
|... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Role;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Role::create([
'nama' => 'admin'
]);
Role::create([
'nama' => 'reseps... |
<?php
namespace App\Models;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Categoria
* @package App\Models
* @version May 30, 2018, 11:56 pm UTC
*
* @property string slug
* @property string titulo
*/
class Categoria extends Model
{
use SoftDeletes;
public $table = 'c... |
<?php
echo $message;
?> |
@extends('Home.index')
@section('title','这是title')
@section('sidebar')
@parent
<p>laravel</p>
@endsection
@section('content')
<p>这是content</p>
@endsection |
<?php
/**
* (c) NetSuite, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace SellerWorks\NetSuite\Model;
/**
* TaskPriority
*/
class TaskPriority {
static $paramtypesmap = array(
);
/**
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>Lava Iris 310 Style - Full phone specifications</title>
<link rel="stylesheet" type="text/css" href="http://cdn2.gsmarena.... |
<?php
namespace common\modules\assessment;
/**
* assessment module definition class
*/
class Assessment extends \yii\base\Module
{
/**
* @inheritdoc
*/
public $controllerNamespace = 'common\modules\assessment\controllers';
/**
* @inheritdoc
*/
public function init()
{
... |
<?php
/**
* Test Shell
*
* This Shell allows the running of test suites via the cake command line
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full ... |
<?= $this->extend('layouts/main') ?>
<?= $this->section('css') ?>
<!-- Data Table css -->
<link href="<?= base_url('public/libs/datatables/dataTables.bootstrap4.css') ?>" rel="stylesheet" type="text/css" />
<link href="<?= base_url('public/libs/datatables/responsive.bootstrap4.css') ?>" rel="stylesheet" type="te... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePedidoTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('forma_pagamento... |
<?php
namespace Idephix;
class ConfigTest extends \PHPUnit_Framework_TestCase
{
/** @test */
public function it_should_have_defaults_for_config()
{
$config = Config::dry();
$this->assertInstanceOf('Idephix\SSH\SshClient', $config['ssh_client']);
$this->assertEquals(array(), $config... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace App\Http\Middleware;
use Closure;
class TerminateMiddleware {
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next) {
echo "Executing ... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Mapping;
/**
* Stores all metadata needed ... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitef3c42634e4a6c5862834184479c82b6
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf... |
<div class="grid-x">
<div class="cell small-12 large-5">
<div class="grid-x grid-padding-x">
{{--
@include('includes.scripts.class.checkboxer')
<div class="small-12 large-6 cell checkbox checkboxer">
@include('includes.scripts.class.checkboxer')
... |
<header id="header" class="header">
<div class="top-left">
<div class="navbar-header">
{{-- <a class="navbar-brand" href="./"><img src="{{ asset('../../ela/images/logo.png')}}" alt="Logo"></a> --}}
<a class="navbar-brand" href="./"><img src="{{ asset('../../medica/img/core-img/logo.p... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\StaticPage;
use App\Traits\CommonTrait;
class PagesController extends Controller
{
use CommonTrait;
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request ... |
<?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 if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title></title>
<link rel="stylesheet" type="text/css" href="/Public/bootstrap/css/bootstrap.min.css" />
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script type="text/ja... |
<?php
// +----------------------------------------------------------------------
// | Think.Admin
// +----------------------------------------------------------------------
// | 版权所有 2014~2017 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http... |
@extends('layouts.master')
@section('page_title', $article->title)
@section('ogtags')
<meta property="og:site_name" content="Cambalacheo"/>
<meta property="og:title" content="{{ $article->title }}" />
<meta property="og:url" content="{{ Request::url() }}" />
<meta property="og:description" content="{{... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
class UserDetail extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protect... |
<?php
namespace App\Security\Voter;
use App\Entity\EntityRoles;
use App\Entity\Permissions;
use App\Utils\MongoManager;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
use Symfony\Component\Security\Core\User\UserInterface;
class... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Laporan Berdasarkan bulan</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/paper-css/0.4.1/paper.css">
<style>
.center {
margin... |
<?php
namespace PhpParser\Parser;
use PhpParser\Error;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Stmt;
/* This is an automatically GENERATED file, which should not be manually edited.
*/
class Parser extends \PhpParser\ParserAbstract
{
pr... |
<?php
namespace MonologCreator\Processor;
/**
* Injects a per-request UUID into the log output.
*/
class RequestId
{
/**
* @var string
*/
private $_uuid = '';
/**
* Called by Monolog - Allows processors to manipulate data.
*
*
* @param array $record The record to log
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
class userAuthentication extends Controller
{
public function authenticate(Request $request)
{
$inData = $request->all();
$email = $inData['email'];
$password = $inData['password'];
if (Auth::attempt... |
<?php declare(strict_types=1);
/**
* This file is part of the Yasumi package.
*
* Copyright (c) 2015 - 2019 AzuyaLabs
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Sacha Telgenhof <me@sachatelgenhof.com>
*/
namespace ... |
<?php
namespace App\Http\Controllers\Api\V1\Admin;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Traits\MediaUploadingTrait;
use App\Http\Requests\StoreAdvanceSalaryRequest;
use App\Http\Requests\UpdateAdvanceSalaryRequest;
use App\Http\Resources\Admin\AdvanceSalaryResource;
use App\Models\AdvanceSala... |
<?php
/**
* Created by PhpStorm.
* User: andrii
* Date: 06.02.18
* Time: 15:02
*/
namespace app\models;
use yii\db\ActiveRecord;
class Cart extends ActiveRecord {
public function behaviors()
{
return [
'image' => [
'class' => 'rico\yii2images\behaviors\ImageBehave',
... |
<?php
namespace App\Http\Middleware;
use Closure;
class Cors
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $next($request)
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Support\Facades\DB;
class Controller extends BaseCo... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Data_model extends CI_Model {
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function users($id = 0)
{
if ($id) {
$this->db->where('id', $id);
$query = $this->db->get('users')->row()... |
<?php
namespace app\common\model;
use think\Db;
use think\Model;
use traits\model\SoftDelete;
class MaskCategory extends Model
{
use SoftDelete;//要使用软删除功能,需要引入SoftDelete trait
protected $deleteTime = 'delete_time';//定义软删除时间戳字段名
// 定义时间戳字段名
protected $createTime = 'create_time';
protected $updateTi... |
@foreach($actividades as $act)
<div class="col-lg-4 col-md-6 col-sm-6 padding-botton25px">
<div class="news">
<div class="img-figure"... |
@extends('layouts.frontend.master')
@section('content')
<div class="footer-features">
<div class="row">
<div class="col-md-6">
<form>
<div class="form-group">
<input type="text" ... |
<?php
return [
'id' => 'app-api-tests',
'components' => [
'urlManager' => [
'showScriptName' => true,
],
'request' => [
'cookieValidationKey' => 'test',
],
'db' => [
'dsn' => env('DB_TEST_DSN'),
'username' => env('DB_USER'),... |
<!-- http://mbahcoding.com/tutorial/php/codeigniter/codeigniter-ajax-crud-using-bootstrap-modals-and-datatable.html -->
<!-- https://anekaweb.com/anekastokv2/home -->
<!-- http://www.kodiing.com/2015/04/desain-sistem-database-stok-barang.html -->
<!-- 2bbf5199382b2bb710665ff7e21265605a6a3b... |
<?php
declare (strict_types=1);
namespace Rector\Php74\NodeAnalyzer;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Closure;
use PhpParser\Node\Expr\ClosureUse;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Stmt\Return_;
use Rector\Core\PhpParser\Comparing\NodeComparator;
use Rector\Core\... |
<?php
use yii\db\Migration;
class m170729_035756_create_new_table_weather extends Migration
{
public function up()
{
$sql = <<<SQL
CREATE TABLE `weather_detail` (
`id` INT NOT NULL AUTO_INCREMENT COMMENT '',
`station_code` VARCHAR(45) NULL COMMENT '',
`precipitation` INT NULL COMMENT 'luon... |
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Register</title>
</head>
<body>
<h1>Buat Account Baru!</h1>
<h3>Sign Up Form</h3>
<form method="post" action="welcome">
@csrf
<p>First Name: </p>
<input type="text" id="fname" name="fname"><br... |
<?php
namespace Curso\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Producto
*
* @ORM\Table()
* @ORM\Entity
*/
class Producto
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
protected $id;
/**
* @ORM\Column(type="string", length=100)
*/
protected $nombre;
... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
namespace app\admin\model;
use \think\Model;
class SysConfig extends Model{
protected $connection = 'db_config1';
public function getListData($fields='*',$where=array(),$sortstr='id desc',$listnum = ''){
if($listnum == '1'){
$data = $this->field($fields)->where($where)->order($sortstr)->find();
... |
<?php
class Base64URL {
public function base64_encode_url($data)
{
return rtrim(strtr(base64_encode($data), '+/', '-_'), '=');
}
public function base64_decode_url($data)
{
return base64_decode(strtr($data, '-_', '+/'));
}
}
?> |
@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
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = ['api/login', 'api/register', 'api/... |
<!--
* Sistema Bibliotecario
* Copyright 2016 Carlos Eduardo Alfaro Orellana.
-->
<!DOCTYPE html>
<html lang="es">
<head>
<title>Docentes</title>
<?php
session_start();
$LinksRoute="../";
include '../inc/links.php';
?>
<script src="../js/jPages.js"></script>
<script src="... |
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]--> ... |
<?php
use Platonic\Blog\Models\Post;
$factory->define(Post::class, function (Faker\Generator $faker) {
return[
'title' => $faker->sentence(6, true),
'body' => $faker->paragraphs(3, true),
'extract' => $faker->paragraph(3, true),
'slug' => $faker->slug,
'user_id' => $faker->numberBetween(1, 50),
'publish... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Form Integration
*/
class WP_Job_Manager_WCPL_Submit_Resume_Form {
private static $package_id = 0;
private static $is_user_package = false;
/**
* Init
*/
public static function init() {
// add_filter( 'the_title', array( __CLASS__, 'append_package_name... |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=diplom.loc',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
]; |
<?php
namespace Oro\Bundle\EmbeddedFormBundle\Layout\Block\Type;
use Symfony\Component\Form\FormView;
use Oro\Component\Layout\BlockInterface;
use Oro\Component\Layout\BlockView;
use Oro\Component\Layout\Block\OptionsResolver\OptionsResolver;
use Oro\Component\Layout\Block\Type\Options;
use Oro\Component\Layout\Util... |
<!DOCTYPE html>
<head>
<title>Trang quản lý Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Visitors Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compa... |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('enum__bank_accounts', f... |
@extends('header')
@section('content')
@parent
{!! Former::open($url)
->method($method)
->autocomplete('off')
->rules(['product_key' => 'required|max:255'])
->addClass('col-lg-10 col-lg-offset-1 main-form warn-on-exit') !!}
@if ($product)
{{ Former:... |
<?php
/* SensioDistributionBundle:Configurator/Step:secret.html.twig */
class __TwigTemplate_e68aef094b9f7a73aa2d9a0f405b172c9d4cf347cea90cc676ec61b06375de58 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->load... |
<form wire:submit.prevent="update" id="changeClassForm"></form>
<tr class="text-center">
<th scope="row">
<input class="form-control" wire:model="class" type="text" placeholder="Contoh Format Class = 7A / XIIA">
@error("class")
<small class="text-danger float-left mt-1">{{$message}}</sma... |
<?php
class TwitterModule extends OAuthBaseModule
{
public $providerName = 'Twitter';
public function init()
{
// this method is called when the module is being created
// you may place code here to customize the module or the application
// import the module-level models and components
$this->setImport(a... |
<?php
//Clear session cookies to log out user
if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
session_start();
$_SESSION = array();
$_SESSION['username'] = '';
$_SESSION['UID'] = '';
// If it's desired to kill the session, also delete the session cookie
if (ini_get("session.use_cookies")) {
$params ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 3 | Dashboard</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
... |
<?php return array(
"expr",
"field",
); |
<?php
namespace Tests\Feature;
use App\Models\User;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class AuthTest extends TestCase
{
use RefreshDatabase;
public function testLoginAccess(){
... |
<?hh // strict
// Copyright 2004-present Facebook. All Rights Reserved.
enum E: string as string {
AA = 'AA';
}
/* HH_IGNORE_ERROR[2053] */
function foo<T as HH\BuiltinEnum<T>>(classname<T> $class_name): void { }
function testit(): void {
foo(E::class);
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateQuestionBidsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('question_b... |
<?php
namespace common\queues;
use yii\base\BaseObject;
use common\models\common\Log;
/**
* Class LogJob
* @package common\queues
*
*/
class LogJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* 日志记录数据
*
* @var
*/
public $data;
/**
* @param \yii\queue\Queue ... |
<?php
/**
* Author: lf
* Blog: https://blog.feehi.com
* Email: job@feehi.com
* Created at: 2017-08-30 18:10
*/
namespace api\controllers;
use api\models\User;
use common\components\Controller;
use common\components\Error;
use common\services\UserService;
/**
* Class UserController
* @package api\controllers*
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Auto;
class AutoSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Auto::create([
'marca' => 'Fiat',
'modelo' => '2010'
... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "tbl_shomare".
*
* @property int $id
* @property string $name_shomare
* @property string $type_shomare
* @property int $number
* @property string $ostan
* @property string $keshvar
* @property int $price
* @property int $enab... |
@extends('admin::layouts.app')
@php
$pageTitle = 'Transfers';
$pageResource = 'admin.transfers';
@endphp
@section('content')
@include('admin.components.flash-message')
<div class="card card-lightblue card-outline card-outline-tabs" id="transfer_item">
<div class="card-header p-0 border-botto... |
<?php declare(strict_types=1);
/*
* This file is part of PHP CS Fixer: custom fixers.
*
* (c) 2018 Kuba Werłos
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Tests\Fixer;
/**
* @internal
*
* @covers \PhpCsFixerCust... |
<?php
// Generated by ZF2's ./bin/classmap_generator.php
return array(
'ArchangelDB\Module' => __DIR__ . '/Module.php',
'Zend\Db\Adapter\Platform\PlatformInterface' => __DIR__ . '/src/Adapter/Platform/PlatformInterface.php',
'Zend\Db\Adapter\Pl... |
<html>
<head>
<title>
Bread and roses
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width="744" cell... |
<?php
declare(strict_types=1);
namespace Tumugin\Stannum\Test\SnInteger;
use PHPUnit\Framework\TestCase;
use Tumugin\Stannum\SnInteger;
class IsGreaterThanTest extends TestCase
{
/**
* @dataProvider providesTestInteger
*/
public function testIsGreaterThan(int $baseInt, int $comparedInt, bool $expe... |
@extends('layout.pagelayout')
@section('title', 'Sesion')
@section('budy')
<div class="featured" style="background: none; width: 630px; height: 600px; margin: auto;"> <img style="margin: auto; width: 100%; height:100%; " src="{{ asset('PanelStyle/images/formlog.png') }}" alt="">
<div st... |
<?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\MXF;
use JMS\Serializer\Annotation\ExclusionPolicy;
use... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.