text stringlengths 2 1.03M |
|---|
<?php
return array(
'attribute' => array(
'class' => 'button-group right'
),
'standards' => array(
'add' => array(
'label' => '<i class="fa fa-plus"></i>',
'href' => '#',
'attribs' => array(
'title' => 'Add a new item',
'cla... |
<?php
class extract{
public $servername = 'localhost';
public $username = 'root';
public $password = "root";
public $dbname = 'snkrsdenbd';
function arrayData($id){
$mysqli = new mysqli($this->servername, $this->username, $this->password, $this->dbname);
$query = "SELECT * FROM `model_cat` WHERE id... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\DepartamentoSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="departamento-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Laravel\Socialite\Facades\Socialite;
class LoginController extends Controller
{
/*
|-------... |
<?php
namespace Database\Factories;
use App\Models\Consulta;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class ConsultaFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Consulta::class;
... |
<div class="technology">
<div class="container">
<br/>
<br/>
<div class="col-md-12 technology-left">
<div class="tech-no">
<!-- technology-top -->
<br/>
<?php
switch($tipo){
case 0:
echo "<h2>Volumen " . $volume . "... |
<?php
return [
'social' => [
'providers' => ['facebook', 'twitter', 'google'],
],
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option con... |
<?php
namespace LaraDex;
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', 'ema... |
@extends(activeTemplate() .'layouts.master')
@section('content')
@include(activeTemplate() .'layouts.breadcrumb')
<section class="faq-section padding-bottom padding-top">
<div class="container">
<div class="faq-wrapper-two">
@foreach($faqs as $data)
<div clas... |
<?php
namespace App\Http\Livewire\Admin;
use App\Models\Product;
use Livewire\Component;
use Livewire\WithPagination;
class AdminProductComponent extends Component
{
use WithPagination;
public function deleteProduct($id)
{
$product = Product::find($id);
$product->delete();
session... |
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:35:29
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/helpers/list/list_action_supply_order_receipt.tpl" */ ?>
<?php /*%%SmartyHeaderCode:155635659568df219c98307-21412801%%*/if(!defined('SMARTY_DI... |
<?php
include_once('../db/conexion.php');
class Fincas{
private $db;
private $listFincas;
public function __construct(){
$this->db = Conectar::conexion();
$this->listFincas = array();
}
public function saveFincas($nombre, $propietario, $direccion... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Wishlist\Test\Unit\Controller\Index;
use Magento\Framework\Controller\ResultFactory;
/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class UpdateItemOptionsTest extends \PHPUnit_Framewo... |
<?php
namespace App\Actions\Fortify;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
use Laravel\Fortify\Contracts\UpdatesUserProfileInformation;
class UpdateUserProfileInformation implements UpdatesUserProfileInformation
{
/**
* Valid... |
--TEST--
preg_match() flags
--FILE--
<?php
var_dump(preg_match('/x(.)/', 'fjszxax', $match, PREG_OFFSET_CAPTURE));
var_dump($match);
var_dump(preg_match('/(.)x/', 'fjszxax', $match, PREG_OFFSET_CAPTURE, 4));
var_dump($match);
var_dump(preg_match('/(?P<capt1>.)(x)(?P<letsmix>\S+)/', 'fjszxax', $match, PREG_OFFSET_CAP... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateHeaderTransactionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('head... |
<?php
namespace AdamWathan\Form\Elements;
/**
* Class Text
*
* @package AdamWathan\Form\Elements
*/
class Text extends Input
{
/**
* @var array
*/
protected $attributes = [
'type' => 'text',
];
/**
* @param string $placeholder
*
* @return $this
*/
public... |
<?php
/*
* JsCrypto.php
*
* Created: 2016-06-25 09:09 GMT+9
* Author: 이지찬 / Jichan Lee ( jic5760@naver.com / ablog.jc-lab.net )
* License: MIT License
*/
if(!defined("__JSCRYPTO_PHP__"))
{
define("__JSCRYPTO_PHP__", 1);
define("JSCRYPTO_MODE_ECB", 1);
define("JSCRYPTO_MODE_CBC", 2);
function JsCrypto_loadAlgor... |
<section id="widget-grid" class="">
<!-- row -->
<div class="row">
<!-- NEW WIDGET START -->
<article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget jarviswidget-color-darken" id="wid-id-0" data-widget-editbutton="false" data-wid... |
<!-- breadcrumb -->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<a href="<?php base_url(); ?>">Home</a>
<i class="fa fa-circle"></i>
</li>
<li>
<span>empexpenditure</span>
</li>
</ul>
</div>
<!-- end breadcrumb -->
<div class="spac... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\Tblficha_fic;
class Tblmaterial_mat extends Model
{
use SoftDeletes;
protected $table = 'tblmaterial_mat';
protected $primaryKey='mat_id';
protected $fillable = [
'... |
@extends('adminlte::page')
@section('title', 'Dashboard')
@section('content_header')
<h1>Lista de Clientes</h1>
@stop
@section('content')
<div class="row">
<div class="col-xl-12">
<form action="{{route('cliente.index')}}" method="get">
<div class="form-row">
<div class="co... |
<?php
final class PonderQuestionEditor
extends PonderEditor {
private $answer;
public function getEditorObjectsDescription() {
return pht('Ponder Questions');
}
/**
* This is used internally on @{method:applyInitialEffects} if a transaction
* of type PonderQuestionTransaction::TYPE_ANSWERS is in... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Relation extends Model
{
//
protected $table = "relations";
protected $fillable = [
'name',
'description',
];
} |
@extends('layouts.master')
@section('content')
<link rel="stylesheet" type="text/css" href="/vikas/public/css/dashboard.css">
@include('partials.adminSidebar')
<div class="container-fluid">
<div class="row">
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1 class... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Item extends Model
{
protected $table = 'food_menu';
protected $primaryKey = 'id';
public function categoryitem()
{
return $this->hasOne('App\Category', 'id', 'category');
}
}
?> |
<?Php
$opts = array(
'http'=>array(
'method'=>"GET",
// 'lat'=>"53.25209",
// 'lon'=>"34.37167",
// 'lang'=>"ru_RU",
'header'=>"X-Yandex-API-Key: cfe5b344-eec5-4ff6-94b7-b320b7af8bea",
)
);
$context = stream_context_create($opt... |
<?php
namespace App\Admin;
use Illuminate\Database\Eloquent\Model;
class Cliente extends Model
{
//
} |
<?php
namespace frontend\widgets;
use core\entities\Company;
use core\forms\comment\CommentForm;
use yii\base\Widget;
class CommentWidget extends Widget
{
/**
* @var Company
*/
public $company;
/**
* @var string
*/
public $property;
public function run()
{
return ... |
<h3 class="extend">
Contact Information
</h3>
<h4 class="center">{{ $question }}</h4>
<div class="row">
<div class="col-md-6">
<label for="name" class="required">Name</label>
<input
type="text"
name="name"
id="name"
v-validate="'required|alpha_spaces'"
data-vv-delay="1000">
... |
<?php
/**
* PHPExcel_CachedObjectStorage_Memory
*
* Copyright (c) 2006 - 2015 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (... |
<?php
/**
* Primary sidebar
*
* @package Zita
* @since 1.0.0
*/
$sidebar = apply_filters( 'zita_get_sidebar', 'sidebar-1' );
?>
<div id="sidebar-primary" class="widget-area sidebar <?php if(function_exists('zita_stick_sidebar_class')){echo esc_attr(zita_stick_sidebar_class());}?>" role="complementary">
<div class... |
<?php
class grid_products_dependent_rtf
{
var $Db;
var $Erro;
var $Ini;
var $Lookup;
var $nm_data;
var $texto_tag;
var $arquivo;
var $tit_doc;
var $sc_proc_grid;
var $NM_cmp_hidden = array();
//----
function grid_products_dependent_rtf()
{
$this->nm_data = new nm_data(... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `ticket`.
* Has foreign keys to the tables:
*
* - `window_operator`
*/
class m180302_163901_create_ticket_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('ticket', [
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change... |
<!DOCTYPE html>
<html>
<head>
<title>Laboratory</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.0... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
use function Madden\Theme\Child\template;
get_header();
$categories = ["mid-valley", "north-valley", "west-cascades", "south-valley"];
$regions = "";
if (isset($_GET['category'])){
$category = $_GET["category"];
if (in_array($category, $categories)) {
$regions = $_GET["category"];
}
} else {
... |
<li <?php if (strpos($_SERVER['REQUEST_URI'], '/account/diigo/') !== false) echo 'class="active"'; ?>><a href="<?=\Idno\Core\site()->config()->getDisplayURL()?>account/diigo/">Diigo</a></li> |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Room extends Model
{
use HasFactory;
protected $guarded=[];
public function roomtype()
{
//who->relation na... |
<?php
//untuk keperluan log4php
$config['log4php_config']['rootLogger']['appenders'] = array('default');
$config['log4php_config']['appenders']['default']['class'] = 'LoggerAppenderNull';
//font-color-array
$config['arr_font_color'][0] = '#24D521';
$config['arr_font_color'][1] = '#D52175';
$config['arr_font_co... |
<?php
$this->title = "Tin tức";
?>
<div id="khung">
<div class="container">
<?php
foreach ($giang_vien1 as $giang_vien1) {
$id = $giang_vien1->id;
$anh = $giang_vien1->anh_minh_hoa;
$tieu_de = $giang_vien1->tieu_de;
$gioi_thieu = $giang_vien1->gioi_th... |
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use App\Models\User;
use App\Models\Note;
use App\Models\TypeReaction;
class ReactionFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
... |
<header class="banner uk-light uk-background-secondary">
<div class="container uk-container">
<nav class="nav-primary uk-navbar-container uk-navbar-transparent" uk-navbar>
<div class="uk-navbar-left"><a class="brand uk-navbar-item uk-logo" href="<?= esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class userHomeController extends Controller {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
//
}
/**
* Show the form for creat... |
<?php
Yii::setAlias('@common', dirname(__DIR__));
Yii::setAlias('@frontend', dirname(dirname(__DIR__)) . '/frontend');
Yii::setAlias('@backend', dirname(dirname(__DIR__)) . '/backend');
Yii::setAlias('@console', dirname(dirname(__DIR__)) . '/console');
Yii::setAlias('@explore', dirname(dirname(__DIR__)) . '/explore');
... |
@extends('app_test_case')
@section('content')
@stop
@section('script')
<script type="text/javascript">
window.contentView = {!! json_encode($contentView) !!}
</script>
{!! Html::script('app/components/blocks/BlockManagerService.js?v='.getVersionScript())!!}
{!! Html::script('app/components/blo... |
<!DOCTYPE html>
<!--
Template Name: Materialize - Material Design Admin Template
Author: PixInvent
Website: http://www.pixinvent.com/
Contact: hello@pixinvent.com
Follow: www.twitter.com/pixinvents
Like: www.facebook.com/pixinvents
Purchase: https://themeforest.net/item/materialize-material-design-admin-template/114460... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = strip_tags(htmlspecialchars(... |
<?php
namespace App\DataTables;
use Spatie\Permission\Models\Role;
use Yajra\DataTables\Html\Button;
use Yajra\DataTables\Html\Column;
use Yajra\DataTables\Html\Editor\Editor;
use Yajra\DataTables\Html\Editor\Fields;
use Yajra\DataTables\Services\DataTable;
class RolesDataTable extends DataTable
{
/**
* Build D... |
@extends('layouts.admin')
@section('content')
<div class="app-content content">
<div class="content-wrapper">
<div class="content-header row">
<div class="content-header-left col-md-6 col-12 mb-2">
<h3 class="content-header-title"> الحقول الخاصة </h3>
... |
<?php
namespace jdavidbakr\MailTracker;
use Mail;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
class MailTrackerServiceProvider extends ServiceProvider
{
/**
* Check to see if we're using lumen or laravel.
*
* @return bool
*/
pu... |
<?php
/**
* @file
* Hooks available for modules to implement Styles functionality.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Define information about style containers provided by a module.
*
* This hook enables modules to define style containers provided by this module.
*
* @return
* An array of avail... |
<?php
namespace Shakurov\Coinbase\Http\Controllers;
use Illuminate\Http\Request;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Shakurov\Coinbase\Http\Middleware\VerifySignature;
class webhookcontroller extends Controller
{
public function __construct()
{
$this-... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
class bitstamp extends Exchange {
public function describe () {
return array_replace_recur... |
<?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\HttpKernel\HttpCache;
use Symfony\Component\HttpFound... |
<div class="col-sm-12 data-rows flip-scroll">
<table class="table table-bordered table-striped table-condensed flip-content">
<thead class="flip-content theme-color border-theme">
<tr>
<th style="width:5%">#</th>
<th style="width:40%">Product</th>
<th style="width:30%">Description</th>
<th>Amount</th>
</tr>
</thead>
<t... |
<?php
$dbServername="127.0.0.1";
$dbUsername="root";
$dbPassword="";
$dbname="ufsi";
$con=mysqli_connect($dbServername,$dbUsername,$dbPassword,$dbname);
?> |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Update\Steps;
use Shopware\Core\Framework\Update\Exception\UpdateFailedException;
use Shopware\Core\Framework\Update\Services\Archive\Zip;
use Symfony\Component\Filesystem\Filesystem;
class UnpackStep
{
/**
* @var string
*/
private $d... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1>
<div class="row">
<div class="col-lg-6">
<?= $this->session->flashdata('message'); ?>
</div>
</div... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\HurricanePosition;
use App\HurricanePressure;
use App\HurricaneWindSpeed;
class Hurricane extends Model
{
protected $table = 'hurricanes';
protected $casts = [
'season' => 'integer',
'peak_intensity' => 'integer',
'm... |
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Support\Facades\Auth;
use Socialite;
use App\Model\User;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\Http\Response;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController exten... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Model\BeritaModel;
use Image;
use File;
use Auth;
class BeritaController extends Controller
{
public function viewIndex(){
$berita = BeritaModel::paginate(10);
return view('admin.berita.index',compact('berita'));
}
pub... |
@extends('layouts.app')
@section('title')
商品出品
@endsection
@section('content')
<div class="container">
<div class="row">
<div class="col-8 offset-2">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ sessio... |
@extends('layouts.forms.app')
@section('content')
<!-- CONTENT
================================================== -->
<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-md-5 col-xl-4 my-5">
<!-- Heading -->
... |
<?php
use Illuminate\Database\Seeder;
class CreateTicketSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
}
} |
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Test... |
<?php
declare(strict_types=1);
namespace Bolt\Entity\Field;
use Bolt\Configuration\Content\ContentType;
use Bolt\Entity\Field;
use Bolt\Entity\FieldInterface;
use Bolt\Entity\IterableFieldTrait;
use Bolt\Entity\ListFieldInterface;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class FilelistField extends F... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
use Laravel\Jetstream\Membership as JetstreamMembership;
class Membership extends JetstreamMembership
{
/**
* @var string
*/
protected $primaryKey = 'uuid';
/**
* @var string
*/
protec... |
<?php
namespace Amulen\PaymentBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symf... |
<?php
namespace App\Http\Controllers;
use App\Models\Member;
use Illuminate\Http\Request;
class MemberController extends Controller
{
public function index()
{
return view('member.index',['msg'=>'']);
}
public function post(Request $request)
{
//$entry = 'login';
... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Backpack\CRUD\CrudTrait;
class Interest_list extends Model
{
use CrudTrait;
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
|---------------------------------------------------------... |
<?php
namespace Form\Vote ;
abstract class Base extends \Quantyl\Form\Field {
protected $_question ;
protected $_candidates ;
public function __construct(\Model\Game\Politic\Question $q, $label = null, $mandatory = false) {
$this->_question = $q ;
$this->_candidates = ar... |
@extends('layouts.backend')
@section('content')
@section('title', 'Sửa danh mục')
<div class="container-fluid">
<h1 class="h3 mb-2 text-gray-800">Danh mục sản phẩm</h1>
<div class="card shadow mb-4">
{{-- <div class="card-header py-3">
<h6 class="m-0 font-wei... |
<?php
session_start();
session_destroy();
echo "<script>
window.location.replace('signup.php')
</script>";
?> |
<?php
namespace Modules\System\Seo\Providers;
use Modules\System\Seo\MetaTagProvider;
use Modules\System\Seo\SeoEntity;
/**
* Class Twitter
* @package Modules\System\Seo\Providers
*/
class Twitter extends MetaTagProvider
{
protected $prefix = 'twitter:';
/**
* @param SeoEntity $seo
*/
prote... |
<?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 App\Kernel\Exception;
/**
* HttpException.
*
* @author Kris Wallsmit... |
<?php
/*
* This file is part of the PHP CS utility.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Symfony\CS\Tests\Fixer\Contrib;
use Symfony\CS\Tests\Fixer\AbstractFixerTestBase;
/**
... |
@if($book->author->status_discont_id == 1 && $book->discont_privat != 0)
@if($book->discont_global >= $book->author->discont_id)
<td>{{$book->discont_global}}</td>
<td>{{$book->price - ($book->price * $book->discont_global / 100)}}</td>
... |
<?php
use App\Http\Controllers\BlockController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\TopicController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Album extends Model
{
use HasFactory;
protected $guarded = ['id'];
public function artist()
{
return $this->belongsTo(Artist::class);
}
} |
@extends('Back.back')
@section('content')
<div class="card col s7">
<div class="card-content">
<span class="card-title">Vos Sytemes</span>
<table class="responsive-table striped">
<thead>
<tr>
<th>Titre</th>
</tr>
</thead>
<... |
<?php
namespace Laravel\Nova\Listeners;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
use Laravel\Nova\NovaServiceProvider;
use Laravel\Nova\Tools\Dashboard;
use Laravel\Nova\Tools\ResourceManager;
class BootNova
{
/**
* Handle the event.
*
... |
<!-- Modal Form -->
<input type="hidden" id="id"></input>
<div class="modal fade" id="modalFormCreate" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog " role="document">
<div class="modal-content">
<div class="modal-header">
... |
<?php
namespace App\Http\Controllers\Devices;
use App\Http\Controllers\Controller;
use App\Models\DataGroup;
use App\Models\Template;
use Illuminate\Http\Request;
use Symfony\Component\VarDumper\Cloner\Data;
class TemplatesController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
declare(strict_types=1);
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Illuminate\Http\Request;
final class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param Reque... |
<?php
/**
* SmoothPHP
* This file is part of the SmoothPHP project.
* **********
* Copyright © 2015-2019
* License: https://github.com/Ikkerens/SmoothPHP/blob/master/License.md
* **********
* DivisionOperatorElement.php
*/
namespace SmoothPHP\Framework\Templates\Elements\Operators;
use SmoothPHP\Framework\Te... |
@extends('backend.layouts.master')
@section('content')
<div class="main-panel">
<div class="content-wrapper">
<div class="card">
<div class="card-header">
<h2>Manage Product</h2>
</div>
<div class="card-body">
@include('backend.partials.message')
<table cl... |
@extends('layout.frame')
@section('content')
<div class="topBox">
<div class="left {{config('app.locale') == 'zh_cn' ? 'logo' : 'logo_en'}}"></div>
<ul class="topMenu left">
<li class=""><a class="index" href="{{url('maintenance/topo')}}"><span>{{trans('menu.Home')}}</span></a></li>
<li class=""><a class="m... |
<!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>Guruku</title>
<!-- Scripts -->
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php require_once "utils/start.php";
if (!$isin) {
header("Location: /history/2017Season/draftdate.php");
}
$numNo = 0;
foreach ($_POST as $key => $value) {
if ($value == "N") {
$numNo++;
}
}
if ($numNo > 4) {
$draftMessage = <<<EOD
<font color="red"><b>Your draft request has NOT been recorded... |
<!-- ========== Left Sidebar Start ========== -->
<div class="left side-menu">
<div class="slimscroll-menu" id="remove-scroll">
<!--- Sidemenu -->
<div id="sidebar-menu">
<!-- Left Menu Start -->
<ul class="metismenu" id="side-menu">
<li class="menu-title">N... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\bootstrap\Nav;
use yii\helpers\Url;
use yii\widgets\Pjax;
use yii\... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
{{--<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="{{ asset('imageFolder/addressbarLogo.png') }}">--}}
<meta charset="utf-8">
<meta http-equiv="X-UA-Comp... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* 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;
u... |
@extends('layouts.app')
@section('title', '个人信息')
@section('content')
<div class="center container clearfix">
@include('users.layouts._sidebar')
<div class="main-container">
<div class="container-wrapper border">
<div class="header-line p-4 border-bottom">
<h3>个人信息</h3>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.