text stringlengths 2 1.03M |
|---|
@extends('layouts.master')
@section('title')@parent- {{ $product->name }} @stop
@section('metaLabels')
@parent
@include('partial.social_tags', [
'title' => $product->name,
'image' => isset($product->features['images'][0]) ? URL::to('/').$product->features['images'][0] : '/img/no-image.jpg',
... |
<script type="text/javascript">
//<![CDATA[
function add(img) {
opener.document.getElementById('<?php echo html_escape($this->input->get('id')); ?>').value += "\n[" + img + "]\n";
self.close();
}
//]]>
</script>
<?php
$emoticon = element('emoticon', $view);
if ($emoticon && is_array($emoticon)) {
foreach ... |
<?php if (\Yii::$app->session->hasFlash('success')) { ?>
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<?php echo Yii::$app->session->getFlash('success')... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<!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') }}</... |
<?php
/**
* Created by PhpStorm.
* User: proseeds
* Date: 2016/09/09
* Time: 11:34
*/
namespace app\modules\manage\models;
use app\models\manage\BaseColumnSet;
use app\models\manage\JobColumnSet;
use app\models\manage\JobMaster;
use app\models\manage\SearchkeyMaster;
use app\modules\manage\components\JobCsvLoade... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTypeindexToAuditLogs extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('audit_logs'... |
<?php
namespace Encore\Admin\Grid\Tools;
use Encore\Admin\Admin;
class RefreshButton extends AbstractTool
{
/**
* Script for this tool.
*
* @return string
*/
protected function script()
{
$message = trans('admin.refresh_succeeded');
return <<<EOT
$('.grid-refresh').o... |
<?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\HttpFoundation\Tests\Session;
use Symfon... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|---------------------------------------... |
@extends('layouts.app')
@section('content')
<!-- Bootstrap Boilerplate... -->
<div class="panel-body">
<!-- Display Validation Errors -->
@include('common.errors')
<!-- New Task Form -->
<form action="/task" method="POST" class="form-horizontal">
{{ csrf_field() ... |
<?php $__env->startSection('content'); ?><p>She's a busy mother-of-one who balances household duties with her demanding job as an Instagram influencer. </p>
<p>And on Tuesday, former Big Brother star Skye Wheatley, 26, announced on Instagram that she's on the hunt for a 'full time live-in nanny' to help ease the domes... |
<?php
namespace Versatile\Core\Components\Alert;
use Versatile\Core\Components\Alert;
abstract class AbstractComponent implements ComponentInterface
{
protected $alert;
public function setAlert(Alert $alert)
{
$this->alert = $alert;
return $this;
}
public function __call($name,... |
@extends('website.layout.master')
@push('css')
<style>
.info-box .info-count {
margin-top: 0px !important;
}
section.sec-business-analysis {
background-color: #184153;
}
.business-analysis-content h2 {
color: white;
font-size: 30px;
font-weight: 600;
}
... |
<?php
namespace Rebet\Middleware\Routing;
use Rebet\Http\Request;
use Rebet\Http\Response;
/**
* [Routing Middleware] Restore Inherit Data Class
*
* @package Rebet
* @author github.com/rain-noise
* @copyright Copyright (c) 2018 github.com/rain-noise
* @license MIT License https://github.com/rebet/rebet/b... |
<?php
include "conexao.php";
$id = $_POST['id'];
$query = "DELETE FROM `localizacao` WHERE id = $id";
if ($connect->query($query) === TRUE) {
echo json_encode("success");
} else {
echo json_encode("error");
}
?> |
<form action="{{ route('update.location', $footer->id) }}" method="post">
<div class="modal fade" tabindex="-1" id="ModalEdit{{ $footer->id }}" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5... |
{{-- phần in ra thông báo chung --}}
@if(Session()->has('msg') || Session()->has('success'))
<script>
$(document).ready(function () {
$("#myModal").modal('show');
})
</script>
{{-- phần show thông báo --}}
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!--... |
<!DOCTYPE HTML>
<html manifest="">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10, user-scalable=yes">
<link rel="stylesheet" type="text/css" href="{!! asset('pub... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class SendOtpEmailNotification extends Notification
{
use Queueable;
protected $data;
/**
* Crea... |
<?php
/**
* PostFinance Checkout SDK
*
* This library allows to interact with the PostFinance Checkout payment service.
*
* 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:... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CrearTablaLibro extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('libro', function (... |
<?php
class ControllerMarketingContact extends Controller {
private $error = array();
public function index() {
$this->load->language('marketing/contact');
$this->document->setTitle($this->language->get('heading_title'));
//CKEditor
if ($this->config->get('config_editor_default')) {
$this->docu... |
<?php
namespace Oro\Bundle\TrackingBundle\Tests\Selenium;
use Oro\Bundle\TestFrameworkBundle\Test\Selenium2TestCase;
use Oro\Bundle\TrackingBundle\Tests\Selenium\Pages\TrackingWebsites;
/**
* Class TrackingWebsiteAcl
*
* @package Oro\Bundle\TrackingBundle\Tests\Selenium
* {@inheritdoc}
*/
class TrackingWebsiteA... |
<?php $TRANSLATIONS = array(
"Save" => "Gem",
"Search" => "Søg",
"Close" => "Luk",
"Next" => "Næste",
"Clear" => "Ryd",
"Saving..." => "Gemmer...",
"Failed to save file" => "Kunne ikke gemme filen",
"An error occurred!" => "Der opstod en fejl!",
"There are unsaved changes in the text editor" => "Der er ugemte ændringer... |
<?php
namespace App\Models;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Hotel
* @package App\Models
* @version July 13, 2018, 1:55 am UTC
* @property integer user_id
* @property integer hotel_id
*/
class UserHotel extends Model
{
public $table = 'user_hotels';
publi... |
<html>
<head>
<title>Envoyer - @yield('title')</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,300' rel='stylesheet' type='text/css'>
<script src="https://use.typekit.net/hoy3lrg.js"></script>
<script>try... |
<?php
/**
* BuildVersionParamsTest
*
* PHP version 5
*
* @category Class
* @package Kleister
* @author Thomas Boerger <thomas@webhippie.de>
* @license http://www.apache.org/licenses/LICENSE-2.0.html Apache-2.0
* @link https://github.com/kleister/kleister-php
*/
/**
* Kleister OpenAPI
*
* API defin... |
<?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\UserRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;
#[ORM\Entity(repositoryClass: UserRepository::class)]
#[U... |
@extends('layouts.app')
@section('header')
<h1>View All Groups</h1>
@endsection
@section('content')
<a class="btn btn-primary" href="/groups/create" role="button">Add a Group</a>
<div class="container">
<table class="table table-striped">
<thead>
<tr>
<th>Group Name</th>
<th>Pr... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<?php $this->load->view('header/header');?>
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
<li class="header"><?php echo $this->lang->line('OPTIONS') ?></li>
<!-- Optionally, you can add icons to the links -->
... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use backend\models\Attendence;
use yii\widgets\ActiveForm;
use yii\widgets\ListView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\AttendenceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Attendences';
$this->param... |
<script src="../vendor/jquery/jquery.min.js"></script>
<?php
session_start();
require_once('../connect.php');
if(!$_SESSION["iduser"]){
header("location=../");
}
$session=$_SESSION["iduser"];
// Call user detail
$queryuser=mysqli_query($con, "SELECT * FROM user WHERE iduser='$session'");
while... |
<?php
?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 3 | Advanced form elements</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<l... |
<?php
namespace App\Http\Controllers\Backend\Auth\User;
use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use App\Events\Backend\Auth\User\UserDeleted;
use App\Repositories\Backend\Auth\RoleRepository;
use App\Repositories\Backend\Auth\UserRepository;
use App\Repositories\Backend\Auth\PermissionRepositor... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'imoveis',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE... |
<div class="headline-bg about-headline-bg">
</div><!--//headline-bg-->
<!-- ******Video Section****** -->
<section class="story-section section section-on-bg">
<h2 class="title container text-center">About us</h2>
<div class="story-container container text-center">
... |
<?php
namespace Troiswa\BackBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use Troiswa\BackBundle\Entity\Acteur;
use Symfony\Component\HttpFoundation\Request;
use Troiswa\BackBundle\Form\ActeurType;
class ActeurController extends Controller... |
@extends('layouts.admin')
@section('styles')
@endsection
@section('content')
<div class="container-fluid px-4">
<h1 class="mt-4">Workshops</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="/dashboard">Dashboard</a... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class CreateServersTable extends Migration
{
public function up()
{
Schema::create('servers', function(Blueprint $table) {
$table->bigIncrements('id');
... |
<?php
/**
* Comments form facebook part
*
* @package ApollonFrontendTheme
* @author Achraf Chouk <achrafchouk@gmail.com>
* @since 0.0.1
*/
if (!isset($data)) {
die('You are not authorized to directly access to this page');
}
return [
'class_form' => 'uk-form-'.($data['stacked'] ? 'stacke... |
<?php
namespace shop\entities\behaviors;
use shop\entities\Meta;
use yii\base\Behavior;
use yii\base\Event;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;
use yii\helpers\Json;
class MetaBehavior extends Behavior
{
public $attribute = 'meta';
public $jsonAttribute = 'meta_json';
public function e... |
<?php
/* FOSUserBundle:Group:list.html.twig */
class __TwigTemplate_52be6cd1e8fc229fbf680366a9710ebdce616e2af605dfcaa25ee7e14417f6fc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@F... |
<?hh
// We only allow implements here.
class Foo extends Bar AUTO332 {}
|
<?php
return array(
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the pa... |
<?php
/**
* LICENSE: The MIT License (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://github.com/azure/azure-storage-php/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the L... |
@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-body">
<div class="card-title">
<img src="/uploads/avatars/{{ $user->imag... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'think\\composer\\' => array($vendorDir . '/topthink/think-installer/src'),
'think\\' => array($baseDir . '/thinkphp/library/think'),
'app\\' => array($baseDir . '/appl... |
<?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... |
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" {{ $attributes->merge(['class'=>'inline-block']) }}>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3... |
<table class="w3-table w3-striped w3-bordered">
<thead>
<tr class="w3-theme">
<th>ID</th>
<th>Nombre</th>
<th>Dirección</th>
</tr>
</thead>
<?php
include("Cshow_workplacesToUser.php");... |
<?php
class Fo02Bericht
{
/**
* @var stuurgegevens $stuurgegevens
*/
protected $stuurgegevens = null;
/**
* @var Foutbericht $body
*/
protected $body = null;
/**
* @param stuurgegevens $stuurgegevens
* @param Foutbericht $body
*/
public function __construct... |
<?php namespace Linkonoid\MRevisions\FormWidgets;
use Url;
use Yaml;
use Input;
use Flash;
use Response;
use Validator;
use File as FileHelper;
use ValidationException;
use ApplicationException;
use Backend\Classes\FormField;
use October\Rain\Filesystem\Zip;
//use Backend\Classes\FormWidgetBase;
use Linkonoid\MRevisio... |
<?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'authManager' =>[
'class' => 'yii\rbac\DbManager',
],
],
];
|
<?php
/* @gantry-admin/layouts/outline.html.twig */
class __TwigTemplate_e1dfbace643b6e2cb995f47ae02d3e1fa0c71539b1bd6ef93b9d13678293d14c extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<?php
namespace App\Http\Controllers;
use App\Thread;
class LockedThreadsController extends Controller
{
/**
* Lock the thread.
*
* @param Thread $thread
* @return Response
*/
public function store(Thread $thread)
{
$thread->locked = true;
$thread->save();
... |
<?php
namespace App;
trait RecordsActivity
{
protected static function bootRecordsActivity()
{
if (auth()->guest()) return;
foreach (static::getActivitiesToRecord() as $event) {
static::$event(function ($model) use ($event) {
$model->recordActivity($event);
... |
<?php
if($_POST['accion'] == 'crear'){
require_once('../funciones/bd.php');
$nombre = filter_var($_POST['nombre'], FILTER_SANITIZE_STRING);
$apellido = filter_var($_POST['apellido'], FILTER_SANITIZE_STRING);
$telefono = filter_var($_POST['telefono'], FILTER_SANITIZE_STRING);
$cedula = filter_var... |
<?php
$this->breadcrumbs=array(
'Domains'=>array('index'),
'Manage',
);
$mailvisible = false;
//Yii::app()->request->getQuery this return the $_GET. Yii::app()->request->getPost this return the $_POST
if (Yii::app()->request->getParam("touched") == true) {
if ($_REQUEST["Domain"]["touched_status"] == 6 || !emp... |
<?php
namespace Tests\CMEN\GoogleChartsBundle\GoogleCharts\Options\ColumnChart;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ColumnChart\ColumnChartOptions;
/**
* @author Christophe Meneses
*/
class ColumnChartOptionsTest extends \PHPUnit_Framework_TestCase
{
public function testNumberOptions()
{
... |
<?php
/**
* Elgg river.
* Activity stream functions.
*/
/**
* Adds an item to the river.
*
* @tip Read the item like "Lisa (subject) posted (action)
* a comment (object) on John's blog (target)".
*
* @param array $options Array in format:
*
* @option string $view The view that will handle the river item
... |
<?php
/*
* $Id: LocalKey.php 6508 2009-10-14 06:28:49Z jwage $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED.... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateConstrainVideosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('videos',... |
<!-- ============================================================== -->
<!-- end left sidebar -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- wrapper -->
<!-- ======... |
<!-- link to external css for dashboard -->
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
@extends('Template.app')
@section('main_Content')
<div>
<div class="container div-Content">
<h1>Hello {{ Auth::user()->name }} !</h1>
... |
<?php
class Value_Server_Test extends \PHPUnit\Framework\TestCase
{
public function setUp()
{
\WP_Mock::setUp();
\WP_Mock::wpFunction('stripslashes_deep', [
'return' => function ($array) {
$newArray = [];
foreach ($array as $k => $v) {
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Rkvstore\V20150101\Models;
use AlibabaCloud\SDK\Rkvstore\V20150101\Models\DescribeClusterMemberInfoResponseBody\clusterChildren;
use AlibabaCloud\Tea\Model;
class DescribeClusterMemberInfoResponseBody extends Model
{
/**
... |
<div style="padding:25px 0px; min-height:380px; min-height:400px; width:950px; margin:0 auto; ">
<?php
if(isset($_SESSION["uye"]))
{
$uyesql="SELECT * FROM uye WHERE kadi='".$_SESSION["uye"]."'";
$uyesorgu=@mysql_query($uyesql,$baglanti);
$uyegetir=@mysql_fetch_array($uyesorgu);
$uyeid=$uyegetir[0];
?>
<table align... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire t... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\Url;
use common\components\ModalViewWidget;
use common\models\Locations;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $searchModel common\models\BusinessPartnerSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this... |
<?php
namespace App\Http\Controllers\Museum;
use App\Models\Tour;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Repositories\TourRepository;
class TourController extends BaseController
{
private $tourRepository;
public function __construct()
{
parent::__construct();... |
<?php
/**
* Created by PHP7.
* User: Oleksandr Serdiuk
* SSF Framework 1.0
* Date: 08.09.2016
* Time: 14:08
*/
namespace App\Interfaces\Controllers\Notifications;
interface NotificationsInterface
{
/**
* Getting data about message
* based on trigger
* @param $trigger_id
* @return mixed
... |
<?php
namespace backend\controllers;
use backend\models\GoldConfig;
use yii\web\Response;
class GoldConfigController extends ObjectController
{
/**
* 货币列表
* @return string
*/
public function actionIndex()
{
$data = GoldConfig::find()->asArray()->all();
return $this->render(... |
<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +-----------------------------------------------... |
<?php
namespace App\Gfcare\src\MobiHealth\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Storage;
use App\GfCare\src\MobiHealth\Models\Con... |
<?php
return [
/*
* --------------------------------------------------------------------------
* Login Modal Language Lines
* --------------------------------------------------------------------------
*
* The following language lines are used on the login, register, and logout modals
... |
<?php
namespace jrmadsen67\LaravelRouteCoverageTest\Helpers;
use Illuminate\Routing\Route as RoutingRoute;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Str;
use jrmadsen67\LaravelRouteCoverageTest\Http\Middleware\CollectCodeCoverage;
class RouteHelper
{
/**
* Determine the route name based o... |
<?php
namespace common\models\base;
use Yii;
/**
* This is the model class for table "widgets".
*
* @property int $id
* @property int $position
* @property string $background_color
* @property string $title_color
* @property string $text_color
* @property string $button_color
* @property string $button_text... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Models\CouponCode;
use Faker\Generator as Faker;
$factory->define(CouponCode::class, function (Faker $faker) {
//首先随机取得一个类型
$type = $faker->randomElement(array_keys(CouponCode::$typeMap));
//根据取得的类型生成对应折扣
$value = $type === Cou... |
@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('status'))
... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">{{ __('Last Login Details') }}</div>
<div class="card-bo... |
@extends('template.privatemenu')
@section('upload')
activeMenuPrivate
@endsection
@section('conteudo')
<style>
.dropzone{
padding-bottom: 35%;
border-radius: 10px!important;
border: 2px dashed rgb(202 64 139);
}
.dz-message{
font-size: 14... |
<?php
namespace Welp\BatchBundle\Manager;
use Welp\BatchBundle\Model\Batch;
use Welp\BatchBundle\Manager\ManagerInterface as BaseManager;
/**
* operation Factory
*/
class OperationManager implements BaseManager
{
/**
* @var String
*/
private $class;
/**
*
* @param String $entityMa... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Ammonkc\SabreApi\Model\CreatePassengerNameRecord;
use Ammonkc\SabreApi\AbstractModel;
class CreatePassengerNameRecordRequestCreatePassengerNameRecordRQAirPriceItemPriceRequestInformationOptio... |
<?php
use Phinx\Migration\AbstractMigration;
class AddScreenshotErrorColumn extends AbstractMigration
{
public function up()
{
$table = $this->table('screenshot');
$table->addColumn('error', 'string');
$table->update();
}
}
|
<?php
/**
* Sales Order Creditmemo Pdf grouped items renderer
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\GroupedProduct\Model\Order\Pdf\Items\Creditmemo;
class Grouped extends \Magento\Sales\Model\Order\Pdf\Items\Creditmemo\DefaultCreditmemo
{
... |
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
use Laravel\Passport\Passport;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Product\Factory;
use Sylius\Component\Resource\F... |
<x-guest-layout>
<div class="pt-4 bg-bluegray-100">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div>
<x-jet-authentication-card-logo />
</div>
<div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-l... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Cities;
class CitiesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
$cities=Cities::paginate(10);
return view('admin.cities.index',compact(... |
<div class="logo-top-ad">
<div class="container">
<div class="row">
<!-- Magalla Logo -->
<div class="logo col-lg-4">
<a href="{{url('/')}}">{{HTML::image('img/logo.png', 'banner')}}</a>
</div>
<div class="top-banner col-lg-8">
... |
<?php
namespace Portfolio\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::... |
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;
class Cities extends Model
{
use CrudTrait;
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
|--------------------------------------... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
use App\Models\detail_service;
class Createdetail_serviceRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
... |
@extends('layouts.app')
@section('title', 'ユーザー設定')
@section('content')
@include('includes.user_settings_tab_strip')
<form method="POST" action="{{ route('user.update') }}">
@method('patch')
@csrf
<app-container>
<list-view>
<template v-slot:title>一般設定</tem... |
@extends('layouts.admin')
@section('render')
<div class="container-fluid pt-5">
<div class="jumbotron">
@include('common.alert')
<form action="/change-password" method="post">
<div class="w-75">
<div class="form-group row">
... |
<?php
class Kwc_ColumnsResponsive_Basic_Root extends Kwf_Component_NoCategoriesRoot
{
public static function getSettings()
{
$ret = parent::getSettings();
$ret['generators']['page']['model'] = new Kwf_Model_FnF(array('data'=>array(
array('id'=>3000, 'pos'=>1, 'visible'=>true, 'name'=... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Welcome Customer</title>
<style type="text/css">
bo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.