text stringlengths 2 1.03M |
|---|
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'SendinBlue\\Client\\' => array($vendorDir . '/sendinblue/api-v3-sdk/lib'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
'Psr\\Http\\Client\\'... |
<!-- navbar -->
<div class="top-bar">
<div class="container">
<div class="row">
<div class="col-md-6 hidden-sm-down">
@if(isset($contacts))
<ul class="list-inline">
<li class="list-inline-item"... |
<?php namespace TeachMe\Entities;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model {
protected $fillable = ['comment', 'link', 'selected'];
public function ticket()
{
return $this->belongsTo(Ticket::class);
}
public function user()
{
return $this->belongsTo(U... |
<?php
namespace AppBundle\Controller\Api;
use FOS\RestBundle\Controller\Annotations\Get;
use FOS\RestBundle\Controller\Annotations\View;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundl... |
<!doctype html>
<html lang="nl">
<head>
@include('front.includes.head')
<link rel="stylesheet" type="text/css" href="{{ URL::asset('assets/css/sass-bootstrap.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ URL::asset('assets/css/style.css') }}" />
<link href='https://fonts.googleapis.com/cs... |
<?php
namespace App\Models;
use App\Scopes\DescScope;
use Illuminate\Support\Facades\DB;
use Laravel\Passport\HasApiTokens;
use App\Traits\Dashboard\SearchTrait;
use Illuminate\Notifications\Notifiable;
use App\Traits\Dashboard\PaginationTrait;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Elo... |
@extends('layoutx')
@section('content')
<div class="shopping-cart section">
<div class="container">
<div class="row">
<div class="col-12">
<table class="table shopping-summery">
<thead>
<tr class="main-hading">
... |
<?php
if(!defined('BASEPATH')) exit ('No direct script access allowed');
class Home extends CI_Controller
{
public function __construct()
{
parent::__construct();
// $this->load->database();
$this->load->model('UserModel');
$this->load->model('Api_Model');
$this->load->library('form_validation');... |
<?php
namespace ASMTest\Tests\File;
use ASMTest\Tests\AbstractSessionTest;
use ASM\IdGenerator;
/**
* Class FileSessionTest
*
*/
class RedisSessionTest extends AbstractSessionTest
{
/**
* @return mixed
*/
public function getDriver(IdGenerator $idGenerator)
{
$redisClient = $this->i... |
<?php
namespace Osiset\ShopifyApp\Macros;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\URL;
use Osiset\ShopifyApp\Objects\Values\ShopDomain;
use Osiset\ShopifyApp\Util;
/**
* Common URL generation for TokenRedirect and TokenRoute macros.
*/
abstract class TokenUrl
{
/**
* Return ... |
<?php namespace Maxxscho\LaravelMarkdownPlus;
use Illuminate\Support\ServiceProvider;
class LaravelMarkdownPlusServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the appli... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
\App\Console\... |
@extends('admin.layout.app')
@section('content')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Accueil</h1>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="page-header float-right">
... |
<?php
namespace Afk11\MailUsers\Db;
use Afk11\MailUsers\Config\Config;
use Afk11\MailUsers\Entities\VirtualDomain;
use Afk11\MailUsers\Entities\VirtualUser;
use Doctrine\DBAL\Connection;
class Db
{
/**
* Config value
* @var Connection
*/
private $conn;
/**
* Config value
* @var... |
@if ($bom)
@if ($bom->BOMlines->count())
<!-- tr style="color: #3a87ad; background-color: #d9edf7;" -->
@php
$pad=27*($level);
$bom_qt = $qt;
$bom_ratio = $product->bomitem()->quantity / $product->bom->quantity;
global $node_id;
$parent = '';
if ($parent_node_id>0)
$parent = "treegrid-... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Analytics\ReportXml;
/**
* Interface ConfigInterface
*
* Interface for ReportXml Config
*/
interface ConfigInterface
{
/**
* Config of ReportXml
*
* @param string ... |
<?php
/**
* Visbook Settings plugin for Craft CMS 3.x
*
* A craft plugin for Visbook custom settings.
*
* @link https://liquid.cat
* @copyright Copyright (c) 2021 Liquid
*/
namespace liquidstudiovisbook\visbooksettings\controllers;
use liquidstudiovisbook\visbooksettings\VisbookSettings;
use Craft;
use c... |
<?php
/**
* Unit test class for the CyclomaticComplexity sniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://git... |
<?php
namespace App\Http\Requests\Roles;
use Illuminate\Foundation\Http\FormRequest;
class MenuRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get... |
<?php
class WPML_TM_REST_Batch_Sync extends WPML_REST_Base {
/** @var WPML_TP_Batch_Sync_API */
private $batch_sync_api;
public function __construct( WPML_TP_Batch_Sync_API $batch_sync_api ) {
parent::__construct( 'wpml/tm/v1' );
$this->batch_sync_api = $batch_sync_api;
}
public function add_hooks() {
$th... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Spatie\Permission\Traits\HasRoles;
class Admin extends Authenticatable
{
use Notifiable, HasRoles;
protected $guard = 'admin';
protected $fillable = [
'name', 'email', 'pass... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Information;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Client;
class InformationController extends Controller
{
//
public function listInfo(){
//$info = Information::all();
$client = new Client();
... |
<?php
/**
* Export SPOKEdb JSON
*
* @copyright 2015 Michael Slone <m.slone@gmail.com>
* @license http://opensource.org/licenses/MIT MIT
* @package Omeka\Plugins\ExportSpokeJson */
$pluginDir = dirname(dirname(dirname(__FILE__)));
require_once $pluginDir . DIRECTORY_SEPARATOR . "RecursiveSuppression" . DIRECTORY_S... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Show RSS feeds in your site
*
* @author Phil Sturgeon
* @author PyroCMS Dev Team
* @package PyroCMS\Core\Widgets
*/
class Widget_Navigation extends Widgets
{
/**
* The translations for the widget title
*
* @var array
*/
pub... |
<?php
namespace adg13\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class adg13UserBundle extends Bundle
{
} |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<?php
namespace Dvsa\OlcsTest\Api\Service\Qa\Structure\Element\Checkbox;
use Dvsa\Olcs\Api\Entity\Generic\ApplicationStep as ApplicationStepEntity;
use Dvsa\Olcs\Api\Service\Qa\Structure\Element\Checkbox\Checkbox;
use Dvsa\Olcs\Api\Service\Qa\Structure\Element\Checkbox\CheckboxFactory;
use Dvsa\Olcs\Api\Service\Qa\St... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
namespace Musonza\Chat\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Musonza\Chat\BaseModel;
use Musonza\Chat\ConfigurationManager;
class MessageNotification extends BaseModel
{
use SoftDeletes;
protected $table = ConfigurationManager::MESSAGE_NOTIFI... |
<div id="textintro">
<section class="text-center" id="login">
<h1 class="needmarginpetit">Add an operation</h1>
<div id="formulaire">
<?php
echo form_open('Ajout_operation');
$op_nom= array(
'name'=>'nom',
'id'=>'nom',
'placeholder'=>'Name',
'value'=>set_value('nom')
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
protected $table = 'settings';
public $timestamps = true;
protected $fillable = array('name', 'group', 'val');
protected $casts = [
'val' => 'array', // Will convarted to (Array)
];
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Productos extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('productos', function (Bl... |
<?php
/**
* This Controller is called by other controllers which want to offer a widget that shows all unpublished posts.
*/
class UnpublishedPostsWidgetController extends Controller
{
public function action(Request $request, Response $response)
{
$settings = $request->getAttribute('settings');
$mapp... |
@extends('layouts.default')
@section('content')
<h1><a class="do_previous" href="{{ URL::to('dashboard') }}"> <i class="fa fa-home"> </i></a>» Download invoices in zip file</h1>
<div class="" class="group">
{{ Form::open(array('url' => 'download/invoices', 'method' => 'POST')) }}
... |
<?php
/**
* Edit account form
*
* This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-edit-account.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibili... |
<?php
use Illuminate\Database\Seeder;
use App\Task;
class TasksTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(Task::class, 90)->create();
}
} |
<?php
declare(strict_types=1);
namespace Roave\PHPStan\Rules\Floats;
use PhpParser\Node;
use PhpParser\PrettyPrinter\Standard;
use PHPStan\Analyser\Scope;
use PHPStan\Rules\Rule;
use PHPStan\Rules\RuleErrorBuilder;
use PHPStan\Type\VerbosityLevel;
use function sprintf;
/**
* @implements \PHPStan\Rules\Rule<\PhpPar... |
<?php
/**
* @package admin
* @copyright Copyright 2003-2013 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version GIT: $Id: Author: Jack Modified in v1.5.4 $
*/
define('HEADING_TITLE', '选择操作...');
define('B... |
<?php
namespace Payum\LaravelPackage\Storage;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Query\Builder;
use Payum\Core\Model\Identity;
use Payum\Core\Storage\AbstractStorage;
class EloquentStorage extends AbstractStorage
{
/**
* {@inheritDoc}
*
* @param Model $model
*/
... |
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="index.php" class="site_title"><i class="fa fa-server"></i> <span class="titrepadd">AAJ Networks</span></a>
... |
<?php
declare(strict_types=1);
namespace Orchid\Screen\Fields;
use Orchid\Screen\Field;
/**
* Class Map.
*
* @method Map name(string $value = null)
* @method Map value($value = true)
* @method Map help(string $value = null)
* @method Map popover(string $value = null)
* @method Map zoom($value = true)
* @met... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ZOL商城</title>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/style.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/animate.min.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/iconfon... |
@extends('layouts.dashboard')
@section('section')
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Bootstrap Modals
</div>
<div class="card-block">
<!-- Button trigge... |
<?php
namespace ContainerU3xIjYg;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getValidator_Mapping_CacheWarmer... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRecetasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categorias', fu... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
use App\Mail\MyTestMail;
class mailcontrollers extends Controller
{
public function sendmail(Request $req)
{
$details=[
'uname'=>$req->name,
'lname'=>$req->lname,
... |
<?php
namespace FeatureFlag\User\Contract;
use FeatureFlag\Credentials\Entity\Credentials;
use FeatureFlag\User\Entity\User;
interface UserWriteRepository
{
public function store(User $user, Credentials $credentials): void;
} |
<div id="main-container-footer">
<div class="container-footer">
<div id="row-1f">
<div class="text-row-1f"><span style="font-weight:600;font-size:15px;color:#666;line-height:250%;text-transform:uppercase;letter-spacing:1.5px;">What is Platz</span><br>Platz is a blog showcasing hand-picked free themes... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Chat::class, function (Faker $faker) {
return [
'user_id' => $faker->numberBetween($min = 1 , $max = 31),
'friend_id' => $faker->numberBetween($min = 1 , $max = 31),
'chat' => $faker->text($maxNbChars = 20)
];
}); |
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond_Benc
* @package Phpfox
* @version $Id: sponsored.html.php 1537 2010-03-30 11:55:12Z Raymond_Benc $
*/
defined('PHPFOX') or exit('NO DICE!');
?> |
<?php
namespace ReclutaTI\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
namespace aop\request;
/**
* ALIPAY API: alipay.social.gift.stock.query request
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
class AlipaySocialGiftStockQueryRequest
{
/**
* 送礼平台sku库存查询接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalI... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
/**
* PaginatorHelperTest file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Ticket extends Model
{
//
public function agente()
{
return $this->belongsTo('App\Agente');
}
public function compras()
{
return $this->hasMany('App\Compra');
}
} |
<?php
namespace Modules\Users\Entities;
use App\Models\User;
use App\Models\WareHouse;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class wareHouseRequest extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'item_id',
'quantity',
... |
<?php
namespace XeroPHP_VS\Models\PayrollUS\Employee;
use XeroPHP_VS\Remote;
class HomeAddress extends Remote\Model
{
/**
* Street Address for employee home address
*
* @property string StreetAddress
*/
/**
* Suite, Apartment or Unit information for employee home address
*
... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'BpFilter\\FilterFactory' => $baseDir . '/src/FilterFactory.php',
'BpFilter\\Filter\\AbstractFilter' => $baseDir . '/src/Filter/Filter.php',
'BpFilter\\Filter\\Busi... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?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='en'>
<head>
<meta charset='UTF-8'>
<title>about</title>
<meta name='author' content='R.A.'>
<meta name='keywords' content='about, mathematics, weblog, blog, R.A.'>
<meta name='description' content='About this weblog'>
<meta name='viewport' content='width=device-width,initial-sca... |
{{--<html>--}}
{{-- <head>--}}
{{-- <title>@yield('title')</title>--}}
{{-- </head>--}}
{{-- <style>--}}
{{-- body{--}}
{{-- margin: 0;--}}
{{-- padding: 0;--}}
{{-- }--}}
{{-- .header{--}}
{{-- padding: 15px;--}}
{{-- text-align: center;-... |
<?php
/* Backend/Product/edit.html.twig */
class __TwigTemplate_9f1d2a758db1af38418a1427af67336c2427b6afde31112f281abed6237f26bb extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("Backen... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "donneeentite".
*
* @property string $id_donnee
* @property string $id_entite
*/
class Donneeentite extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'donneeen... |
<div class="col-md-6">
<div class="input-group mb-3">
<img src="{{$contact->image}}" alt="" width="200" height="200">
</div>
</div>
<div class="col-md-6">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1"><i class="... |
<?php
namespace Application\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Application\Form\URLs as URLsForm;
use Application\Model\URLs;
use Application\Model\Website;
class URLsController extends AbstractActionController
{
/**
* Entity manager.
* @var Doctrine\OR... |
<?php
/**
* Test: Nette\Forms HTTP data.
*/
use Nette\Forms\Form;
use Tester\Assert;
require __DIR__ . '/../bootstrap.php';
before(function () {
$_SERVER['REQUEST_METHOD'] = 'POST';
$_GET = $_POST = $_FILES = array();
});
test(function () {
$name = 'name';
$_POST = array(Form::TRACKER_ID => $name, 'send2'... |
<?php
namespace Orchestra\Testbench\Bootstrap;
use Illuminate\Config\Repository;
use Symfony\Component\Finder\Finder;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Config\Repository as RepositoryContract;
class LoadConfiguration
{
/**
* Bootstrap the given application.
*
... |
@extends('layouts.master_bootstrap')
@section('title', 'TODO LIST APP')
@section('content')
<div class='container mt-3'>
<h1>TODOリスト</h1>
</div>
<div class="container mt-3">
{{-- エラー表示 ここから --}}
@if ($errors->has('category'))
<p class="alert alert-danger">{{ $errors->first('category') }}</p>
... |
--TEST--
produce null from callback
--SKIPIF--
<?php if (!extension_loaded("sass")) print "skip"; ?>
--FILE--
<?php
$sass = new Sass();
$sass->setFunctions([
'a()' => function(){
$retval = sass_make_null();
assert(get_resource_type($retval) === 'Sass_Value');
return $retval;
},
]);
echo... |
<?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;
use Psr\Log\LoggerInterface;
use Symfony\Contr... |
<?php
/**
* This file is part of workerman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @author walkor<walkor@workerman.net>
* @copyright walkor<walkor@workerman.net>
* @li... |
<?php
namespace Jdikasa\Etl\Transformers;
use Jdikasa\Etl\Row;
class JsonDecode extends Transformer
{
/**
* Transformer columns.
*
* @var array
*/
protected $columns = [];
/**
* Use associative arrays.
*
* @var bool
*/
protected $assoc = false;
/**
*... |
<!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 Kwrite\MysqlEngine\Engine;
use Kwrite\Lib\MakeWhere;
class DeleteWhere
{
public $tableName = "";
public $tableWhere = array();
public function make()
{
return 'DELETE FROM '.
$this->tableName.' WHERE '.
MakeWhere::make($this->tableWhere).'';
}
} |
<!doctype html>
<html lang="en">
<head>
<title>Hypex : ORDER Sold</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="100%" valign="t... |
<?php
use App\Models\Configuration;
use App\Models\Role;
use App\Models\User;
use Illuminate\Support\Str;
/**
* Verifica se o módulo está ativo e muda a cor do menu
*
* @param string $uri
* @param string $class
* @return string $classActive
*/
function isActive(string $uri, string $class = 'menu--active')
{
... |
<?php
/**
* Indicia, the OPAL Online Recording Toolkit.
*
* This program 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
* any later version.
* This program is distri... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CV</title>
<link rel="ima... |
<?php $__env->startSection('home', 'act'); ?>
<?php $__env->startSection('content'); ?>
<div class="block">
<h1 class="desc top">Recent Posts</h1>
</div>
<div class="content-boxes" style="margin-top:35px" >
<?php foreach($posts->all() as $post): ?>
<div class="box">
<img src="<?php echo e(asset('images/'. $post->ima... |
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
<div class="container">
<a class=" navbar-brand" href="{{ url('/') }}">
<img src="{{ asset('/img/logo1.png') }}" alt="logo">
</a>
<button class="navbar-toggler" type="but... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\Adposition */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="adposition-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ... |
<?php
if (!(defined('IN_IA'))) {
exit('Access Denied');
}
class List_EweiShopV2Page extends PluginMobilePage
{
public function main()
{
global $_W;
global $_GPC;
$openid = $_W['openid'];
$article_sys = pdo_fetch('select * from' . tablename('ewei_shop_article_sys') . 'where uniacid=:uniacid', array(':uniacid... |
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-swiftmailer' =>
array (
'name' => 'yiisoft/yii2-swiftmailer',
'version' => '2.0.7.0',
'alias' =>
array (
'@yii/swiftmailer' => $vendorDir . '/yiisoft/yii2-swiftmailer',
),
),
'yiisoft/yii2-bootstrap' =>
array (
... |
<!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">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrit... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use App\Models\Message;
class ContactMessageCreated extends Mailable implements ShouldQueue
{
use Queueable, SerializesModels;
public $... |
@extends('layout.app')
@section('content')
<div class="container mukheroHack">
<div class="panel panel-default ">
<div class="panel-heading panel-orange-heading">
<h3 class="panel-heading-text text-center"> Ficha de Registro de Efectivos </h3>
</div>
<div class="panel-body">
... |
<?php
/**
*
* vendor_media_xref table ( for media)
*
* @package VirtueMart
* @subpackage Calculation tool
* @author Max Milbers
* @link https://virtuemart.net
* @copyright Copyright (c) 2004 - 2014 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMar... |
<div class="row">
<div class="col-md-3" style="border-right: 1px solid #ddd">
<?php echo $sidebar ?>
</div>
<div class="col-md-9">
<div class="card mb-2">
<div class="card-body">
<h4>Aduan 1</h4>
<p>
Lorem ipsum dolor sit amet ... |
@extends('layout.master')
@section('header-content')
<link rel="stylesheet" href="/assets/css/app.css">
meta name="csrf-token" value="{{ csrf_token() }}">
<!-- <link href="{{ mix('css/app.css') }}" rel="stylesheet"> -->
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare... |
<?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 Tonis\Web;
use Interop\Container\ContainerInterface;
use Tonis\Di\ContainerUtil;
use Tonis\Router\Plates\RouteExtension;
use Tonis\Web\Factory\PlatesRouteExtensionFactory;
use Tonis\Web\Factory\PlatesStrategyFactory;
use Tonis\Web\Factory\TwigStrategyFactory;
use Tonis\Web\Package\AbstractPackage;
use ... |
<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
use think\Input;
class Config extends Common
{
public function _initialize(){
parent::_initialize();
}
public function index()
{
return $this->fetch();
}
//资管系统配置
public function zgList()
{
... |
<?php
namespace App\lib\Model;
use Illuminate\Support\Facades\Storage;
class MainPageViewModel
{
public $movies;
public $tvShows;
public $waitingList;
public function build($data)
{
foreach($data['movies'] as $movie) {
$movie->poster_path = Storage::url('poster'.$movie->post... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:77:"/Users/shihuangqun/yuyin/public/../application/admin/view/command/detail.html";i:1564370387;s:67:"/Users/shihuangqun/yuyin/application/admin/view/layout/default.html";i:1564370387;s:64:"/Users/shihuangqun/yuyin/application/admin/view/common/meta.html";i:1564370387;... |
<?php
namespace Watson\Validating;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Event;
use Watson\Validating\ValidationException;
class ValidatingObserver
{
/**
* Register the validation event for saving the model. Saving validation
* should only occur if creating and updating... |
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\Category;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace Wizin\Bundle\SimpleCmsBundle\Tests\Controller;
use Symfony\Component\HttpFoundation\Request;
use Wizin\Bundle\BaseBundle\TestCase\FunctionalTestCase;
use Wizin\Bundle\SimpleCmsBundle\Controller\Controller;
use Wizin\Bundle\SimpleCmsBundle\Entity\ContentInterface;
use Wizin\Bundle\SimpleCmsBundle\Entit... |
<?php
namespace App\Http\Controllers\Category;
use App\Category;
use App\Transformers\CategoryTransformer;
use Illuminate\Http\Request;
use App\Http\Controllers\ApiController;
class CategoryController extends ApiController
{
public function __construct()
{
$this->middleware('client.credentials')->onl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.