text stringlengths 2 1.03M |
|---|
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: table_common_session.php 28051 2012-02-21 10:36:56Z zhangguosheng $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class memory_common_session
{
private $_pre_cache_key;
... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... |
<body class="hold-transition
<?php if($this->session->userdata('s_permiso') == 'Administrador'){?>
skin-yellow
<?php }else if($this->session->userdata('s_permiso') == 'Cliente'){ ?>
skin-blue
<?php } ?>
fixed">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="<?=site_url()?>" c... |
<!DOCTYPE HTML>
<html>
<head>
<title>Generic - Alpha by HTML5 UP</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* Created by PhpStorm.
* User: Arafeh
* Date: 5/16/2018
* Time: 3:38 PM
*/
/** @var $model EvaluationEmail */
/** @var $semester \app\models\Semester */
use app\models\EvaluationEmail;
use yii\bootstrap\ActiveForm;
use yii\bootstrap\Alert;
use yii\bootstrap\Html;
if (!isset($model)) $model = new Eval... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Facebook sharing information tags -->
<meta property="og:title" content="<?php isset($subject) ? $subject : ... |
<?php
/**
* Author: Karim Zerf
* License: MIT.
*/
namespace Framework;
/**
* This class allows code from within Controllers to log custom messages into the log file.
*
* The path of the file to be used for logging messages can be changed in the .ini configuration file.
*/
abstract class LogEngine {
prote... |
<?php
namespace App\Http\Controllers;
use App\Models\Galerie;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class GalerieController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Notifi extends Model
{
use HasFactory;
protected $fillable = ['title','msg','order_id','is_read'];
} |
<?php
declare(strict_types=1);
namespace Liquetsoft\Fias\Elastic\Tests\IndexMapper;
use DateTimeImmutable;
use Liquetsoft\Fias\Elastic\IndexMapper\RoomsIndexMapper;
use Liquetsoft\Fias\Elastic\QueryBuilder\QueryBuilder;
use Liquetsoft\Fias\Elastic\Tests\BaseCase;
use stdClass;
/**
* Тест для описания индекса сущно... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class SetForeignKeys extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('productors',function... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\MerchantData\Types;
use DTS\eBaySDK\MerchantData\Types\ValType;
class ValTypeTest ex... |
@extends('user-pds.main-pds')
@section('portfolio')
<div class="row d-flex align-items-center w-100 ml-1">
<a href="{{ url()->previous() }}"><i class="fas fa-arrow-left" style="font-size: 2rem;"></i></a>
<h2>Civil Service Eligibility</h2>
</div>
<div class="row d-flex w-100 ml-1">
<div class="col-md-12"... |
@extends('layouts.admin')
@section('title')
Kod Becerileriniz
@endsection
@section('css')
@endsection
@section('content')
<div class="page-header">
<h3 class="page-title">Kod Becerileriniz</h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcr... |
<?php
namespace App\Exports;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\FromView;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithEvents;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Events\A... |
<?php
/**
* Created by PhpStorm.
* User: Rizkan
* Date: 5/4/2018
* Time: 8:44 PM
*/
?>
<?php include ('inc/header.php'); ?>
<!-- Start Banner -->
<div class="inner-banner blog">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="content">
... |
@extends('layouts.market-app')
{{-- @section('custom-css')
<link rel="stylesheet" type="text/css" href="{{ asset('vendor/noui/nouislider.min.css')}}">
@endsection --}}
@section('active2')
sale-noti
@endsection
@section('content')
<section class="bgwhite p-t-55 p-b-65">
<div class="container">
<div cl... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<title>{{ __('Welcome') }} » Negombo » admin</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap... |
<?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
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit69fc28174abe912f71ebf710ee161e8f
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
// This file was auto-generated from sdk-root/src/data/ssm/2014-11-06/docs-2.json |
<?php
namespace JmesPath;
use JmesPath\Lexer as T;
/**
* JMESPath Pratt parser
* @link http://hall.org.ua/halls/wizzard/pdf/Vaughan.Pratt.TDOP.pdf
*/
class Parser
{
/** @var Lexer */
private $lexer;
private $tokens;
private $token;
private $tpos;
private $expression;
private static $nul... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CriarTabelaEquipamentos extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marcas'... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Home page
*/
class Home extends MY_Controller {
/*public function index()
{
$this->render('home');
}*/
function __construct()
{
parent::__construct();
$this->load->model('Siup_order_model');
$this->load->li... |
<?php declare(strict_types=1);
/**
* @license Apache 2.0
*/
namespace OpenApiTests\Annotations;
use OpenApi\Annotations\AbstractAnnotation;
use OpenApiTests\OpenApiTestCase;
use function get_class_vars;
class AnnotationPropertiesDefinedTest extends OpenApiTestCase
{
/**
* @dataProvider allAnnotationClass... |
<!-- div class="page-header">
<h3>
<span style="color: #dd4814;">{{ l('Lines') }}</span> <!-- span style="color: #cccccc;">/</span> {{ $document->name }} - - >
</h3>
</div -->
<div id="div_document_lines">
<div class="table-responsive">
<table id="document_lines"... |
<?php
namespace Kernel\Utilities;
class UploadFile
{
private $config = array(
'upload_path'=>'',//上传路径
'maxSize' => -1, //上传文件的最大值
'allowExts' => array(), //允许上传的文件后缀,留空则不做限制,不带点
// 'allowTypes' => array(), //允许上传的文件类型,留空不作检查
// 'thumb' => false, //对上传的图片进行缩略图处理
// ... |
<?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\Cache\Tests\DependencyInjection;
use PHPUnit\Framewor... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace tests\drivers\amqp;
use tests\drivers\CliTestCase;
use Yii;
use yii\queue\amqp\Queue;
/**
* AMQP Queue Test
*
* @author Roman Zhuravlev <zhuravljov@gmail... |
<?php
define('PROJECT_ROOT', dirname($_SERVER["DOCUMENT_ROOT"]));
define('VIEWS_ROOT', sprintf("%s/resources/views", PROJECT_ROOT));
define('MIN_CHARACTER_LENGTH', 0);
define('MAX_CHARACTER_LENGTH', 10);
// set project's root as include path
set_include_path(PROJECT_ROOT); |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class vch_comp extends Model
{
protected $guarded = [];
// public function vch_models(){
// return $this->hasMany('App\vch_model','vcompany_code');
// }
} |
@extends('layouts.app')
@section('content')
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Create Rooms</strong>
</div>
<div class="card-body card-block">
<form action="{{ route('rooms.store') }}" method="POST" class="form-horizontal">... |
<?php
class MarkupCommand
{
const CreateSdf = 1;
const CreateShp = 2;
const CreateSqlite = 3;
const Open = 4;
const Delete = 5;
const Refresh = 6;
const Edit = 7;
const Close = 8;
const Download = 9;
const Upload = 10;
... |
@extends('layouts.app_admin')
@section('content')
<div class="container">
<div class="card mt-4">
<div class="card-header">{{ __('Insert Movie') }}</div>
<div class="card-body">
<form action="{{route('insert_movie')}}" method="POST" enctype="multipart/form-data">
@csrf
... |
<?php
use yii\helpers\Url;
return [
[
'class' => 'kartik\grid\CheckboxColumn',
'width' => '20px',
],
[
'class' => 'kartik\grid\SerialColumn',
'width' => '30px',
],
// [
// 'class'=>'\kartik\grid\DataColumn',
// 'attribute'=>'id',
// ],
[
... |
<?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 Illuminate\Support\Facades;
/**
* @method static void queue(...$parameters)
* @method static unqueue($name)
* @method static array getQueuedCookies()
*
* @see \Illuminate\Cookie\CookieJar
*/
class Cookie extends Facade
{
/**
* Determine if a cookie exists on the request.
*
* @... |
<?php declare(strict_types = 1);
/*
* Copyright (c) 2020, Josef Kufner <josef@kufner.cz>
*
* 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/LICENS... |
<!DOCTYPE html>
<html lang="en">
<body>
<table id="dataTableItems">
<thead>
<tr>
<th style="text-align: left">Meta/Area/Objetivo</th>
<th style=... |
<?php
namespace FelixOnline\Admin;
class UXHelper {
public static function header(
$endpoint = '') {
$app = \FelixOnline\Core\App::getInstance();
$currentuser = $app['currentuser'];
// Generate CSRF token
if(!isset($_COOKIE['felixonline_csrf_admin'])) {
$csrf = \FelixOnline\Core\Utility::generateCSRFTo... |
<div class="invalid-feedback fs-6 text">
{{ isset($message) ? $message : '' }}
</div> |
<?php
namespace App\Http\Controllers\Frontend\Auth;
use App\Http\Controllers\Controller;
use App\Models\User as ModelsUser;
// use App\User;
use App\Validation\RegisterRequest;
use Carbon\Carbon;
use Illuminate\Foundation\Auth\User;
use Illuminate\Http\Request;
class LoginController extends Controller
{
use Regi... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Mvc\View\Engine\Volt\Comp... |
<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Framework;
use PHPUnit\Util\Filter;
... |
<?php
/*
* This file is part of the overtrue/laravel-shopping-cart.
*
* (c) 2016 overtrue <i@overtrue.me>
*/
namespace Overtrue\LaravelShoppingCart;
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
/**
* Service provider for Laravel.
*/
class ServiceProvider extends LaravelServiceProvider
{
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInita94a1b4119759a106b84483cd77579e1
{
public static $files = array (
'2cffec82183ee1cea088009cef9a6fc3' => __DIR__ . '/..' . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
'2c102faa651... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... |
<?php
/*
* Copyright 2016 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 App\Http\Controllers;
use Illuminate\Http\Request;
use App\Article;
use Auth;
use DB;
class ArticlesController extends Controller
{
public function index()
{
$articles = Article::paginate(10);
return view('articles.index', compact('articles'));
}
public fun... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
<?php
declare(strict_types=1);
namespace Tests;
use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\Config;
use BladeUI\Icons\BladeIconsServiceProvider;
use Codeat3\BladeJamIcons\BladeJamIconsServiceProvider;
class CompilesIconsTest extends TestCase
{
/** @test */
public function it_compiles_a_... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$user = User::all();
return view('user... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Product extends Model
{
//
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
... |
<x-section id="products" class="featured-product" tag="Productos" title="Nuestros <span>productos</span>">
<x-slot name="paragraph">
<p>Productos con los más altos estándares de calidad<br>Los más confiables, durables y funcionales</p>
</x-slot>
<div class="row">
<div class="col-lg-4 col-m... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use DB;
class PenggunaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$pengguna = DB::table('user... |
<?php
namespace app\models;
use Yii;
use yii\base\BaseObject;
use yii\helpers\Json;
class Guide extends BaseObject
{
const TYPE_BLOG = 'blogtut';
const TYPE_GUIDE = 'guide';
const TYPE_EXTENSION = 'ext';
const LANGUAGE_EN = 'en';
const VERSION_11 = '1.1';
const VERSION_2 = '2';
/**
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReceiveItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('receive_it... |
@extends('layouts.masterView')
@section('content')
<div class="container" style="margin:50px; text-align:center; margin:125px; padding:20px; width:500px; margin-left:400px">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-heade... |
<?php
namespace PhpLab\Dev\Generator\Domain\Scenarios\Generate;
use PhpLab\Core\Domain\Interfaces\Repository\CrudRepositoryInterface;
use PhpLab\Core\Domain\Interfaces\Repository\RepositoryInterface;
use PhpLab\Core\Legacy\Code\entities\ClassEntity;
use PhpLab\Core\Legacy\Code\entities\ClassUseEntity;
use PhpLab\Core... |
<?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 ... |
<!DOCTYPE html>
<html>
<head>
<title>INPUT BARANG</title>
</head>
<body>
<div class="content">
<center> <h1>INPUT BARANG</h1>
<hr width="20%" align="left">
<table>
<tr>
<td valign="top">id barang</td>
<td><input type="number" name="idbarang"></td>
</t... |
<?php
class PublicController extends Controller{
public $layout=null;
public $defaultAction='login';
/**
* 登入动作
*/
public function actionlogin(){
if(!Yii::app()->user->isGuest){
$this->redirect(array('site/index'));
}
$model=new LoginForm();
$this->renderPartial('login',array(
'model'=>$model,
... |
<?php
declare( strict_types= 1 );
namespace Datument\R;
////////////////////////////////////////////////////////////////
abstract class AToLot extends ARelation
{
#
} |
<?php
$inputloc1 = $_GET["inputloc1"];
$inputloc2 = $_GET["inputloc2"];
$data = exec("python python_scripts/RIPPyret.py '$inputloc1' '$inputloc2' 0.5");
#[sorted_travel_paths, sorted_overall, sorted_distance, sorted_turbulence, Morning, Afternoon,Evening, Night]
// Removing the outer list brackets
$data = substr(... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit3e460e315bbefaac977ff6f4579593d8
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="_css/estilo.css"/>
<meta charset="UTF-8"/>
<title>Curso de PHP - CursoemVideo.com</title>
<style>
cor{
color: red;
font-weight: 700;
}
</style>
</head>
<body>
<div>
<?php
$nota1 = isset($_GET["nota1"])?$_GET["no... |
<?php
/**
* Register theme support for languages, menus, post-thumbnails, post-formats etc.
*
* @package WordPress
* @subpackage FoundationPress
* @since FoundationPress 1.0.0
*/
if ( ! function_exists( 'foundationpress_theme_support' ) ) :
function foundationpress_theme_support() {
// Add language support
loa... |
<?php
/**
* The template for displaying single projects
*/
get_header(); ?>
<main id="main" class="main-content">
<?php the_post(); ?>
<div class="single-project__wrapper">
<div class="single-project__content">
<h1 class="single-project__title">
<?php the_... |
<?php
require_once( $_SERVER['DOCUMENT_ROOT'].'/config/db.php' );
function getContactsAllData(){
$dbh = getDBConnection();
$stmt = $dbh->prepare("SELECT ID, facebook, youtube, instagram, latitude, longitude, email, address FROM contacts ORDER BY ID ASC LIMIT 1");
$stmt->execute();
return $stmt->fetch();
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Departamentos */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="departamentos-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'departamento')->textInput(['maxlength'... |
@extends('layouts.admin')
@section('content')
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Lihat Pesan | {{$message->title}}</h1>
</div>
<div class="row">
<div class="card mb-4 col-12">
<div class="card-header py-3 d-f... |
<?php
return [
'interfaces' => [
'google.ads.googleads.v6.services.UserLocationViewService' => [
'GetUserLocationView' => [
'method' => 'get',
'uriTemplate' => '/v6/{resource_name=customers/*/userLocationViews/*}',
'placeholders' => [
... |
<?php
namespace Maruamyu\Core\Orm;
class EntityTest extends \PHPUnit\Framework\TestCase
{
public function test_bindRecord()
{
$record = [
'id' => 1,
'name' => 'hoge',
'caption' => 'ほげほげ',
'released_on' => '2018-01-01',
'created_at' => '2018-0... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Staff Register</title>
<!-... |
<?php return array(
'root' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '747aa4c97886f21aa9cb70f84c47d6151b1c9efc',
'name' => 'laravel/larave... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Like extends Model
{
protected $guarded = [];
public function user()
{
return $this->belongsTo(User::class);
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class users extends CI_Model {
public function store($username){
if($this->get_username($username) == null){
$data = array(
'name' => $this->input->post('name'),
'username' => $this->input->pos... |
<?php
/**
* COmanage Registry Raw Layout
*
* Portions licensed to the University Corporation for Advanced Internet
* Development, Inc. ("UCAID") under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* UCAI... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterTableUsersAddIsAdminColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::table('users',... |
@extends('layouts.app')
@php
$enabled_socials = collect(config('services'))->only(['facebook', 'twitter', 'google', 'github'])
->where('enabled', true);
@endphp
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="@if($enabled_socials->count() > 0)col-md-8 @e... |
<?php
/**
* The template for displaying product content within loops.
*
* Override this template by copying it to yourtheme/woocommerce/content-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global ... |
<script>
var url = window.location;
// Will only work if string in href matches with location
$('ul.nav a[href="'+ url +'"]').parent().addClass('active');
// Will also work for relative and absolute hrefs
$('ul.nav a').filter(function() {
return this.href == url;
}).parent().addClass('active');
</script>
<body id=... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:84:"D:\data\web\fastadmin\public/../application/admin\view\example\colorbadge\index.html";i:1575550220;s:64:"D:\data\web\fastadmin\application\admin\view\layout\default.html";i:1572536367;s:61:"D:\data\web\fastadmin\application\admin\view\common\meta.html";i:1572536366... |
@extends('dashboard.index')
@section('title', 'List Post')
@section('style')
<!-- Bootstrap Core CSS -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" type="text/css"
href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">
<!--... |
<?php
namespace AndrewSvirin\Ebics\Factories\X509;
/**
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @author Guillaume Sainthillier
*/
class X509GeneratorException extends \Exception
{
} |
<?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
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AnalyticsController extends Controller
{
//
} |
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php get_template_part('templates/entry-meta'); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php w... |
<?php
return [
'category' => [
'read',
'write',
'delete',
],
'placeholderforsearch' => [
'read',
'write',
'delete',
],
]; |
<?php
namespace App\Service;
use App\Entity\Employee;
use App\Entity\Operation;
use App\Entity\Position;
use App\Entity\PositionOperation;
use App\Entity\PositionRole;
use App\Exception\ArrayException;
use App\Repository\PositionRepository;
use Doctrine\ORM\EntityManagerInterface;
class PositionService extends BaseA... |
<?php
namespace App\models;
use Zizaco\Entrust\EntrustPermission;
class Permission extends EntrustPermission
{
//
} |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
declare(strict_types=1);
namespace Roave\BetterReflection\Reflection;
use InvalidArgumentException;
use OutOfBoundsException;
use PhpParser\Node;
use PhpParser\Node\Stmt\Class_ as ClassNode;
use PhpParser\Node\Stmt\ClassConst as ConstNode;
use PhpParser\Node\Stmt\ClassLike as ClassLikeNode;
use PhpParser\Node\... |
<?php
/**
* Created by PhpStorm.
* User: фора
* Date: 18.03.2021
* Time: 13:47
*/
namespace api\models\forms;
use common\models\Card;
use yii\base\Model;
class TransactionCountForm extends Model
{
public $attraction;
/**
* @return array
*/
public function rules()
{
return [
... |
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Helpers\ClientHelper;
use App\Http\Controllers\User\ManagerController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Models\UserDocument;
use App\Models\DocumentCategory;
use Symfony\Co... |
@extends('layouts.layout')
@section('content')
@php
use App\Models\Checkout;
use App\Models\SellerCourier;
@endphp
@if (session('id') == null)
{{ redirect()->route('landingPage')->send() }}
@endif
<x-headers.buyer-nav query="" />
<div class="w-full flex flex-wrap">
<... |
<?php
//
// FPDI - Version 1.1
//
// Copyright 2004,2005 Setasign - Jan Slabon
//
// 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... |
<?php
namespace App\Repositories;
use App\Models\PaymentMethod;
use InfyOm\Generator\Common\BaseRepository;
/**
* @method PaymentMethod findWithoutFail($id, $columns = ['*'])
* @method PaymentMethod find($id, $columns = ['*'])
* @method PaymentMethod first($columns = ['*'])
*/
class PaymentMethodRepository exten... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.