text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Routing\Router;
/** @var Router $router */
$router->group(['prefix' =>'/product'], function (Router $router) {
$router->bind('products', function ($id) {
return app('Modules\Product\Repositories\ProductRepository')->find($id);
});
get('products', ['as' => 'admin.product.produc... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Entry Reports') }}
</h2>
</x-slot>
<style>
.dropdown-btn
{
display: inline-block;
*display: inline;
padding: 20px 20px... |
<?php
namespace Vespera\Validation\Rules;
use Illuminate\Validation\Rule;
use Vespera\Validation\Uf as ValidationUf;
class Uf extends Rule
{
public function passes($attribute, $value)
{
return ValidationUf::make($value)->validate();
}
public function message()
{
return 'O campo :... |
<?php namespace PhilipBrown\Basket;
class Processor
{
/**
* @var Reconciler
*/
private $reconciler;
/**
* @var array
*/
private $metadata;
/**
* Create a new Processor
*
* @param Reconciler $reconciler
* @param array $metadata
* @return void
*/
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class md_karyawan_penilaian extends Model
{
protected $table = 'md_karyawan_penilaian';
protected $primaryKey = 'id_penilaian';
protected $fk1 = 'id_karyawan';
protected $fk2 = 'id_periode';
public $timestamps = false;
public $incrementing = fa... |
<?php
namespace App\Models\Location;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Location extends Model
{
use HasFactory;
protected $table="locations";
protected $fillable=[
"location_name",
"location_code",
"location_alph... |
<?php
session_start();
require_once('./backend/check.php');
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!-- Configurações da página -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0... |
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycod... |
<?php
namespace Sumantablog\Admin\Grid\Tools;
use Sumantablog\Admin\Grid;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Contracts\Support\Renderable;
use Illuminate\Database\Query\Builder;
class Footer extends AbstractTool
{
/**
* @var Builder
*/
protected $queryBuilder;
/**
*... |
<?php
/*
+------------------------------------------------------------------------+
| Phosphorum |
+------------------------------------------------------------------------+
| Copyright (c) 2013-present Phalcon Team (https://www.phalconphp.com) |
... |
<?php
namespace Omnipay\AuthorizeNet\Message;
use Omnipay\Common\CreditCard;
use Omnipay\Common\Exception\InvalidResponseException;
use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RequestInterface;
/**
* Authorize.Net CIM Response
*/
abstract class CIMAbstractResponse extends Ab... |
<?php
namespace GetCandy\Api\Http\Requests\Channels;
use GetCandy\Api\Channels\Models\Channel;
use GetCandy\Api\Http\Requests\FormRequest;
class UpdateRequest extends FormRequest
{
public function authorize()
{
return $this->user()->hasRole('admin');
}
public function rules(Channel $channel)... |
<?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
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<?php
/** OLI FRAMEWORK REQUIREMENTS */
if(!defined('ABSPATH')) define('ABSPATH', dirname(__FILE__) . '/');
$scriptBasePath = fgets(fopen(ABSPATH . 'script_basepath.oli', 'r'));
if(!defined('SCRIPTBASEPATH')) {
if(!empty($scriptBasePath)) define('SCRIPTBASEPATH', $scriptBasePath);
else define('SCRIPTBASEPATH', ABSPA... |
<?php
declare(strict_types=1);
namespace knotlib\di\exception;
use Throwable;
class SlotInstanceOfRestrictionViolationException extends ContainerException
{
/**
* SlotInstanceOfRestrictionViolationException constructor.
*
* @param string $id
* @param mixed $value
* @param string $type
... |
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
(function() {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'SUDHAUS7.Xlsimport',
'web',
'tx_Xlsimport',
'bottom',
[
'Xlsimport' => 'index,upload,import',
],
[
... |
<!DOCTYPE html>
<html>
<head>
<title>Pembayaran</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="stylesheet" href="css/demo.css" type="t... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Task extends Model
{
protected $fillable = [
'keep', 'other'
];
} |
@extends('layouts.master')
@section('content')
<div class="row">
<!-- col -->
<div class="col-xs-12 col-sm-3 col-md-4 col-lg-4">
</div>
<!-- end col -->
<!-- col -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<!-- sparks -->
<ul id="sparks">
<li class="sparks-info">
... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\bootstrap\ActiveForm;
use kartik\depdrop\DepDrop;
use kartik\select2\Select2;
?>
<div class="container" id="registro-usuario">
<div id="bloque-header"></div>
<?php $form = ActiveForm::begin(['id' => 'formulario-direccion']); ?>
<div class="datos-direc... |
$fi3 = new FooIdentity(new Biz()); |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class WarehousingRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Ge... |
<?php
namespace App\Listeners;
use App\Events\BesoinEvent;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
class BesoinEventListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
... |
<?php
namespace App\Http\Resources\Product;
use Illuminate\Http\Resources\Json\JsonResource;
class ProductResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
... |
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.company-master','data' => []]); ?>
<?php $component->withName('company-master'); ?>
<?php if ($... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Store;
use Magento\CatalogSearch\Model\Indexer\Fulltext;
use Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\AbstractPlugin;
class Group extends Abs... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Country;
/**
* CountrySearch represents the model behind the search form of `app\models\Country`.
*/
class CountrySearch extends Country
{
/**
* {@inheritdoc}
*/
public function rules()
{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use App\Trails;
// use Illuminate\Support\Facades\Http;
use Response;
class ContactController extends Controller
{
public function receiveMessage () {
return respo... |
<?php
defined("BASEPATH") or exit('No direct script access allowed');
require 'BaseController.php';
class ProjectProductController extends BaseController
{
public function __construct()
{
parent::__construct();
$this->load->library('form_validation');
}
/**
* @SWG\Get(path="/proj... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class UsersSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\User::create([
'nome' => 'admin',
'email' => 'admin@admin.com',
... |
<?php declare(strict_types = 1);
namespace Wavevision\LinksTests;
use Wavevision\Links\AbsoluteLink;
use Wavevision\Links\Link;
use Wavevision\LinksExamples\Links\LabeledAbsoluteLink;
class LabeledAbsoluteLinkTest extends UnitTestCase
{
public function testCreate(): void
{
$this->assertSame(
'label',
Labe... |
<?php include "includes/db_con.php"; ?>
<?php
function getDistrictAvgTable($district_array, $num_of_dist)
{
global $connection;
for ($j = 0; $j < $num_of_dist; $j++) {
$dname = $district_array[$j];
$query = "SELECT * FROM noise_value WHERE district_name = '$dname'";
$result = mysqli_... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Main extends CI_Controller {
protected $data = array();
public function layout(){
$this->template['Carrusel'] = $this->load->view('Diseno/Parciales/Carrusel', $this->data, TRUE);
$this->template['Footer'] = $this->load->view('Diseno/Pa... |
--TEST--
Test for bug #678: Xdebug segfault when IDE send "eval NonExistsClass"
--SKIPIF--
<?php if (getenv("SKIP_DBGP_TESTS")) { exit("skip Excluding DBGp tests"); } ?>
--FILE--
<?php
require 'dbgp/dbgpclient.php';
$filename = dirname(__FILE__) . '/bug00678-2.inc';
$commands = array(
'run',
'stack_get',
'eval -- b... |
@extends('admin.layout.app')
@section('administration-content')
<p><a class="btn btn-sm btn-primary" href="{{ route('admin.channels.create') }}">New Channel <span class="glyphicon glyphicon-plus"></span></a></p>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Slug... |
@extends('layout')
@section('title', '外科口罩能帮助您预防冠状病毒吗 | International Shipping ')
@section('description', '')
@section('keywords', 'china, hong kong ')
@section('css_style')
<link rel="canonical" href="https://www.shoppre.com/外科口罩能帮助您预防冠状病毒吗"/>
<meta name="robots" content="nofollow" />
<link rel="altern... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
<?php
/**
* Template part for displaying page content in page.php.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package wptest
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</heade... |
<?php
require_once("connect.inc");
$tmp = NULL;
$link = NULL;
require('table.inc');
if (!$res = mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id"))
printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
if (!is_object($res = mysqli_store_result($link, MYSQLI_STORE_RESULT_... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\order\models\Order */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Orders', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="order-view">
... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Library HX (Komponens)
*
* dibuat oleh hendra sabuna (hendra1602@gmail.com)
* versi 1.0 -> juli 2014
* versi 2.0 -> mei 2015
* versi 3.0 -> juni 2015
* versi 4.0 -> agustus 2015
*
* PERHATIAN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableEstadoPedido extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rs_order_s... |
<?php include 'config.php'?>
<?php
/*
if it's today, show $today's coffee
if day is passed via GET, show $day's coffee
place a link to show today's coffee (if on another day)
*/
if(isset($_GET['day']))
{//if day is passed via GET, show $day's coffee
$today = $_GET['day'];
}else{//if it's today, s... |
<?php
use App\Tag;
use Illuminate\Database\Seeder;
class TagTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Tag::truncate();
for($i=1;$i<=20;$i++){
Tag::create([
'title'=>"Tag $i"
... |
<?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
namespace Blog\Controller;
use Blog\Repository\Entry;
use Blog\Service\BlogService;
use DoctrineORMModule\Paginator\Adapter\DoctrinePaginator;
use GuzzleHttp\Client;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\Paginator\Paginator;
use Zend\Session\Container;
use Zend\View\Model\ViewModel;
cla... |
@extends('layouts.admin')
@section('content')
<div class="row">
@php
$builder = new \App\Utils\ReactCrudSettingsBuilder();
$titleField = new \App\Utils\ReactCrudField('name');
$titleField->title('Título')->required(true)->width(8);
$builder->addField($titleFi... |
<div class="row">
<div class="col-md-12">
<div class="portlet box grey-cascade" style="border-top:1px solid #C3BFBF;">
<div class="portlet-body form">
... |
<?php
/**
* Mollie https://www.mollie.nl
*
* @author Mollie B.V. <info@mollie.nl>
* @copyright Mollie B.V.
*
* @see https://github.com/mollie/PrestaShop
*
* @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
*/
use Mollie\Config\Config;
if (!defined('_PS_VERSION_')) ... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8" />
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{config('app.name')}}</title>
<!-- Bootstrap CSS -->
... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ImportExport\Model\ResourceModel\Import;
/**
* Test Import Data resource model
*
* @magentoDataFixture Magento/ImportExport/_files/import_data.php
*/
class DataTest extends \PHPUnit_Framework_T... |
--TEST--
Test mcrypt_encrypt() function : usage variation
--SKIPIF--
<?php
if (!extension_loaded("mcrypt")) {
print "skip - mcrypt extension not loaded";
}
?>
--FILE--
<?php
/* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv)
* Description: OFB crypt/decrypt data... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLanguagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('languages', function (Blueprint $table) {
... |
<?php
namespace Database\Seeders;
use App\Models\Role;
use Illuminate\Database\Seeder;
class UserRoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$userId = 'user';
$userRoleAttributes = [
'id' => $userId... |
<?php
declare(strict_types=1);
/**
* This file is part of Simps.
*
* @link https://github.com/simps/mqtt
* @contact Lu Fei <lufei@simps.io>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace Simps\MQTT\Tools;
/**
* ... |
<main id="main" data-aos="fade-in">
<!-- ======= Breadcrumbs ======= -->
<div class="breadcrumbs">
<div class="container">
<h2>Guru</h2>
<p>Daftar Tenaga Pendidik unggulan <?= setting()->nama_sekolah; ?></p>
</div>
</div><!-- End Breadcrumbs -->
<!-- ======= Trainers Section ======= -->
<section id="trainers" c... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddColumnsToPermissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('permis... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<!DOCTYPE html>
<html lang="en">
<head>
<link href="<?= base_url();?>/asset/css/font-awesome.min.css" rel="stylesheet" >
<script src="<?= base_url();?>/asset/js/jquery.min.js"></script>
<script src="<?= base_url();?>/asset/js/bootstrap.min.js" ></script>
<link href="<?= base_url();?>/asset/css/bootstrap.c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ExamImage extends Model
{
//
} |
<?php
namespace Admin\Model;
use Think\Model;
/**
* 菜单操作model
*/
class AdminMenuModel extends BaseModel{
/**
* 删除数据
* @param array $map where语句数组形式
* @return boolean 操作是否成功
*/
public function deleteData($map){
$count=$this
->where(array('pid'=>$map['id']))
... |
<?php
/* display/results/multi_row_operations_form.twig */
class __TwigTemplate_4ef5ab4f35dd84e2952cf98713b3f525c74a2bfa84fced618f577587f727c453 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Trunking\V1\Trunk;
use Twilio\ListResource;
use Twilio\Values;
use Twilio\Version;
class CredentialListList extends ListResource {
/**
* Construct the CredentialListList
... |
<?php
namespace StudioSidekicks\Auth\Back\Entities;
use Cartalyst\Sentinel\Users\EloquentUser;
use Illuminate\Auth\Authenticatable;
use Tymon\JWTAuth\Contracts\JWTSubject;
use Illuminate\Notifications\Notifiable;
use App\Notifications\ResetPassword as ResetPasswordNotification;
use Illuminate\Contracts\Auth\Authentic... |
<?php
/**
* ZHIMA API: zhima.credit.ep.lawsuit.record.get request
*
* @author auto create
* @since 1.0, 2017-04-10 10:49:40
*/
class ZhimaCreditEpLawsuitRecordGetRequest
{
/**
* 企业名称和组织机构号,2个参数必须要输入一个
**/
private $companyName;
/**
* 涉诉类型。cpws-裁判文书; zxgg-执行公告; sxgg-失信公告; ktgg-开庭公告; fygg-法院公告; ajlc-案件流程... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\PostController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Http;
class AdminController extends Controller
{
public function index()
{
$covid = Http::get('http://gobiernoabierto.bahia.gob.ar/WS/3032');
$vacunas = Http::get('https://covidstats.com.ar/ws/vacunadosmonitor');
$... |
<?php
/** @param string|int $value */
function xml_parser_set_option(\XMLParser $parser, int $option, $value) : bool
{
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Estate extends Model
{
protected $guarded = [];
public $timestamps = true;
public $table = 'estates';
} |
@extends('voyager::master')
@section('page_title', __('voyager::generic.'.(isset($dataTypeContent->id) ? 'edit' : 'add')).' '.$dataType->display_name_singular)
@section('css')
<meta name="csrf-token" content="{{ csrf_token() }}">
@stop
@section('page_header')
<h1 class="page-title">
<i class="{{ $dat... |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| ... |
<?php
// Heading
$_['heading_title'] = 'Alipay Pay';
// Text
$_['text_extension'] = 'Extensions';
$_['text_success'] = 'Succès : vous avez modifié les détails du compte Alipay!';
$_['text_edit'] = 'Modifier Alipay Pay';
$_['text_alipay'] ... |
<?php
namespace App\Domain\Contract\Entity\Telegram;
use App\Domain\Contract;
/**
* Interface ReviewNotificationMessage
* @package App\Domain\Contract\Entity\Telegram
* @method Contract\Record\Telegram\ReviewNotificationMessage getRecord()
*/
interface ReviewNotificationMessage extends Contract\Entity\Basic
{
p... |
<?php
namespace cr\Request\V20160607;
/**
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
*
* Request of GetNamespaceAuthorizationList
*
* @method string getNamespace()
* @method string getAuthorize()
*/
class GetNamespaceAuthorizationListRequest extends \RoaAcsRequest
{
/**
* @var... |
<?php
namespace Google\AdsApi\AdManager\v201905;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ReportQueryAdUnitView
{
const TOP_LEVEL = 'TOP_LEVEL';
const FLAT = 'FLAT';
const HIERARCHICAL = 'HIERARCHICAL';
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use PhpParser\Node\Expr\Assign;
class Module extends Model
{
use SoftDeletes;
protected $fillable = [
'module_id',
'name',
'description',
'public',
];
protected ... |
<!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">
<link rel="stylesheet" href="{{asset ('css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ asset ('css/estila... |
<!-- First Name Field -->
<div class="form-group col-sm-6">
{!! Form::label('first_name', 'First Name:') !!}
{!! Form::text('first_name', null, ['class' => 'form-control']) !!}
</div>
<!-- Middle Name Field -->
<div class="form-group col-sm-6">
{!! Form::label('middle_name', 'Middle Name:') !!}
{!! For... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ThGiaGocVlXd extends Model
{
protected $table = 'thgiagocvlxd';
protected $fillable = [
'id',
'quy',
'nam',
'sobc',
'ngaybc',
'dvbc',
'dvcq',
'diadanh',
'diabanbc',
... |
<div class="col-lg-3 col-sm-6 ">
<div class="footer-link ">
<h6 class="footer-title">Company</h6>
<ul>
<li><a href="{{route('about')}}">About Us </a></li>
<li><a href="{{route('about.contactus')}}">Contact Us</a></li>
<!-- <li><a href="#pricing">Plans<... |
@extends('layout.app')
@section('content')
<style type="text/css">
form{display: inline;}
.form-group{width: 100%;height: auto; overflow: hidden; display: block !important; margin: 5px;}
.form-control{width: 100% !important;}
</style>
<!-- begin #content -->
<di... |
<?php
namespace PHLAK\Config\Tests;
use PHLAK\Config\Config;
use PHLAK\Config\Exceptions\InvalidContextException;
use PHPUnit\Framework\TestCase;
class ConfigTest extends TestCase
{
public function test_it_can_set_and_retrieve_an_item()
{
$config = new Config();
$this->assertTrue($config->se... |
@extends('brackets/admin-ui::admin.layout.default')
@section('title', trans('admin.category.actions.edit', ['name' => $category->name]))
@section('body')
<div class="container-xl">
<div class="card">
<category-form
:action="'{{ $category->resource_url }}'"
:da... |
<?php
namespace App\Controller;
use App\Controller\AppController;
use Cake\Core\Configure;
use App\Model\Entity\Transaction;
use Cake\Log\Log;
/**
* Users Controller
*
* @property \App\Model\Table\UsersTable $Users
*/
class UsersController extends AppController {
/**
* Index method
*
* @retur... |
<!-- Title page -->
<section class="bg-img1 txt-center p-lr-15 p-tb-92" style="background-image: url(<?php echo $assets.'/images/bg-01.jpg' ?>);">
<h2 class="ltext-105 cl0 txt-center">
Contact
</h2>
</section>
<!-- Content page -->
<section class="bg0 p-t-104 p-b-116">
<div class="container">
<div cl... |
<?php
/**
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;
class OptionsImportGrid extends AbstractProductGrid
{
/**
* Show product grid for custom options import popup
*
* @return \Mage... |
<?php
/**
* Kayako TicketCustomField object.
*
* @author Tomasz Sawicki (https://github.com/Furgas)
* @link http://wiki.kayako.com/display/DEV/REST+-+TicketCustomField
* @since Kayako version 4.01.220
* @package Object\Ticket
*/
class kyTicketCustomFieldGroup extends kyCustomFieldGroupBase {
static protected $... |
<?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
namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor\NormalizeValue;
use Oro\Bundle\ApiBundle\Processor\NormalizeValue\NormalizeEntityAlias;
use Oro\Bundle\ApiBundle\Processor\NormalizeValue\NormalizeValueContext;
class NormalizeEntityAliasTest extends \PHPUnit_Framework_TestCase
{
/** @var \PHPUnit_Framewo... |
{{-- 继承布局 --}}
@extends('gov.main')
{{-- 页面内容 --}}
@section('content')
<p>
<a class="btn" href="javascript:history.back()">
<i class="ace-icon fa fa-arrow-left bigger-110"></i>
返回
</a>
</p>
<form class="form-horizontal" role="form" action="{{route('g_user_resetpw... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
use HasFactory;
protected $fillable = [
'image',
'title',
'short_des'
];
} |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
<!-- <form class="fo... |
<?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
| ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ config('app.name','Admin Login') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" href="{{asset('public/assets/images/favicon_1.ico')}}">
<!-- Custom... |
<!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/css2?family=Nunito... |
<?php
namespace KevinSolomon\Tweetie;
use PHPUnit\Framework\TestCase;
use Dotenv\Dotenv;
class TweetieTest extends TestCase
{
private $tweetie_client;
/**
* Setup tweetie
*/
public function setUp()
{
try {
$dotenv = new Dotenv(__DIR__.'/../');
$dotenv->load()... |
<?php
use App\Http\Controllers\AdminController;
use App\Http\Controllers\LoginController;
use App\Http\Controllers\PegawaiController;
use App\Http\Controllers\SignupController;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Route;
Route::get("/signup",[SignupController::class, 'signup'])->name... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.