text
stringlengths
2
1.03M
<?php namespace InstagramAPI\Response; use InstagramAPI\AutoPropertyHandler; use InstagramAPI\ResponseInterface; use InstagramAPI\ResponseTrait; /** * @method mixed getAdsManager() * @method Model\Aymf getAymf() * @method mixed getContinuation() * @method mixed getContinuationToken() * @method Model\Counts getC...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ContratRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
<?php namespace AlistairShaw\NameExploder\Title; interface TitleRepository { /** * @param string $language * @return array */ public function availableTitles($language = 'en'); /** * @param $title * @param string $language * @return mixed */ public function f...
<?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 // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit1d95ab1ef643bc1d8af2a11298c6f1a7::getLoader();
<?php include("assets/controler/conexion.php"); ?> <!doctype html> <html lang="es"> <head> <?php include("assets/common/header.php"); ?> <title>Mayoreo Ferretero | Directorio</title> </head> <body> <!-- Wrapper --> <div class="wrapper"> <!-- Content --> <div class="content"> <!-- Section 1 --> <div cla...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTableOrderComponent extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_co...
<?php namespace Guzzle\Service\Command\LocationVisitor\Response; use Guzzle\Service\Command\CommandInterface; use Guzzle\Http\Message\Response; use Guzzle\Service\Description\Parameter; /** * Visitor used to add the body of a response to a particular key */ class BodyVisitor extends AbstractResponseVisitor { p...
<?php namespace App\Model; /** * Tabulka question */ class QuestionRepository extends Repository { public function addQuestion ($data) { return $this->getTable()->insert(array('time'=>new \Nette\Database\SqlLiteral('NOW()'), 'title'=>$data['title'], 'user_id'=>$data['user_id'], 'mentor_id'=>$data['mentor_id']))...
<?php namespace App\Http\Requests\Attribute; use Illuminate\Foundation\Http\FormRequest; class UpdateAttributeRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
<?php namespace App\View\Components\profile; use Illuminate\View\Component; class riwayatKedinasan extends Component { public $user; public function __construct($user) { $this->user = $user; } public function render() { $user = $this->user; return view('components.p...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission; class RolesandPermissions extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $role1 = Role::cre...
<?php /** * @author VeDev Team Kraken * @license MIT * @copyright 2014 Ve Interactive Ltd. * @link http://veinteractive.com */ namespace Ve\EntityManager; /** * Interface ProviderInterface * * @package EntityManager */ interface ProviderInterface { /** * Gets the names of the actions this provider can pe...
<?php return [ 'attribute_name' => 'الحالة', 'title_list' => 'الحالات', 'title_create' => 'إضافة حالة', 'title_edit' => 'تعديل حالة', 'case_name' => 'اسم الحالة', 'image_before' => 'الصورة قبل', 'image_after' => 'الصورة بعد', 'description' => 'الوصف', ];
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateManualesAdministrativosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create(...
<?php namespace app\validate; use think\Validate; class SystemCol extends Validate { protected $rule = [ 'table_code|关联表格' => 'require|alphaDash|max:32', 'data_index|映射字段' => 'require|alphaDash|max:32', 'title|标题' => 'require|max:100', ]; // 更新验证场景 public function sceneUpdate...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\QuoteController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register ...
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Ca...
@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">{{ __('Todos Create') }}</div> <div class="card-body"> ...
<?php use yii\db\Migration; /** * Class m181127_221055_messages */ class m181127_221055_messages extends Migration { /** * {@inheritdoc} */ public function safeUp() { } /** * {@inheritdoc} */ public function safeDown() { echo "m181127_221055_messages cannot ...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP version 4.0 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2003 The PHP ...
<?php namespace backend\modules\xxjxgl\models; use Yii; /** * This is the model class for table "{{%xxjxgl}}". * * @property integer $id * @property string $title * @property string $title_content * @property string $name * @property string $xx_date * @property string $content * @property string $fujian */...
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Propel\Generator\Behavior\Versionable; use Propel\Generator\Model\Behavior; use Propel\Generato...
<?php namespace App\Http\Controllers; use App\Helpers\ArrayHelper; use App\Helpers\JsonResponseHelper; use App\Helpers\UploadHelper; use App\Jobs\NotifyVersionCreatedJob; use App\Models\Organisation as OrganisationModel; use App\Models\OrganisationDocument as OrganisationDocumentModel; use App\Models\OrganisationDocu...
<!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 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 ...
<?php /** * @copyright Copyright (C) 2015-2018 AIZAWA Hina * @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT * @author AIZAWA Hina <hina@bouhime.com> */ declare(strict_types=1); namespace app\models\api\v2\salmon; use Yii; use app\components\behaviors\AutoTrimAttributesBehavior; use app\mo...
<?php /** * This class has been auto-generated by the Doctrine ORM Framework */ class GroupTable extends Doctrine_Table { }
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { ...
<?php /* * This file is part of the Jaguar package. * (c) Hyyan Abo Fakher <tiribthea4hyyan@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Jaguar\Action; use Jaguar\CanvasInterface; class Light extends Abst...
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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 (at your option) any later version. ...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $db1 = require __DIR__ . '/db1.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asse...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use Faker\Generator as Faker; $factory->define(App\Product::class, function (Faker $faker) { $name=$faker->name; return [ 'title' =>$name, 'description' =>$faker->paragraph, 'price' =>rand(1,100), ]; });
<!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') }}</ti...
<?php /** * The MIT License * * Copyright (c) 2020 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Faker; use App\Models\News; use App\Models\User; class NewsSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { News::factory(...
<!doctype html> <html> <head> @include('admin.common.head') </head> <body> <div class="wrap"> <div class="nav"> <ul class="cc"> <li{!! $typeClasses['member'] !!}><a href="{{ url('u/groups/run?type=member') }}">会员组</a></li> <li{!! $typeClasses['special'] !!}><a href="{{ url('u/groups/run?type=special') }}">特殊组</a>...
<?php namespace common\models; use common\component\UserNotificationInterface; use Yii; use yii\base\NotSupportedException; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $pass...
<?php namespace PasswordPolicy; interface Rule { public function test($password); }
<?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 = [ // ]; ...
<?php /** * @category Emarsys * @package Emarsys_Emarsys * @copyright Copyright (c) 2017 Emarsys. (http://www.emarsys.net/) */ namespace Emarsys\Emarsys\Block\Adminhtml\Orderexport\Edit; /** * Class Tabs * @package Emarsys\Emarsys\Block\Adminhtml\Orderexport\Edit */ class Tabs extends \Magento\Backend\Bl...
@extends('client.layouts.master') @section('content') <!-- Main Container --> <section class="main-container col1-layout"> <div class="main"> <div class="container"> <div class="row"> <div class="col-main"> <div class="product-view...
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; protected $table = 'users'; /** * The attributes that are mass assignabl...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; class TaskTest extends TestCase { use WithFaker; public function setUp(): void { parent::setUp(); ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel common\models\search\Examples */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Examples'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="examples-index"> <h1><?= Html::enco...
<?php /** * Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com) * @license MIT License (http://www.opens...
<?php $comment['administration'] = ""; $format['administration'] = ""; $use_textarea['administration'] = false; $comment['classes'] = ""; $format['classes'] = ""; $use_textarea['classes'] = false; $comment['display_text'] = ""; $format['display_text'] = ""; $use_textarea['display_text'] = false; $comment['download_...
<?php class Departemen extends CI_controller { function __construct() { parent::__construct(); $this->load->model('Mdepartemen'); // jika belum login , diredirect ke form login if(!$this->session->userdata("user")) { redirect("login"); } } function index() { //mengambil data array dari fung...
<?php $user = $this->session->userdata('nivel_usuario'); if($user != 'administrador'){redirect(base_url(''));} ?> <span style="background-color:red;"> <div class="container"> <div class="row"> <div class="col-md-10 col-md-offset-1"> <div class="panel-body"> ...
<?php return [ 'issue-1430-A' => [ 'ua' => 'Mozilla/5.0 (iPad; CPU OS 10_0 like Mac OS X; en-US) AppleWebKit/537.36 (KHTML, like Gecko) Version/10.0 Mobile/14A5261v Safari/537.36 Puffin/5.0.3IT Chrome/49.0.2623', 'properties' => [ 'Comment' => 'Puffin 5.0', 'Browser' => 'Puf...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Token extends Model { use HasFactory; protected $table = 'tokens'; protected $fillable = [ 'token', 'conversationId', 'apiKey', 'secretKey' ...
<?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 maiorADV\eBaySDK\PostOrder\Enums; class WorldRegionEnum { const C_AFRICA = 'AFRICA'; const C_A...
<?php namespace App\Admin\Grid\Filter; class Day extends Date { /** * {@inheritdoc} */ protected $query = 'whereDay'; /** * @var string */ protected $fieldName = 'day'; }
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitb481fe47b96a7cf90e68d14891d7ac6e { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Test */ $this->title = 'Добавить тест'; $this->params['breadcrumbs'][] = ['label' => 'Мероприятия', 'url' => ['/admin/event']]; $this->params['breadcrumbs'][] = ['label' => 'Список тестов: ('.$model->event->name.')', 'url' => ['inde...
<?php /** * This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
<?php /** +-----------------------------------------------------------------------+ | program/include/rcube_imap_generic.php | | | | This file is part of the Roundcube Webmail client | | Copyri...
<?php $view->script('forms-formmaker', 'bixie/formmaker:app/bundle/forms.js', ['vue', 'uikit-nestable']) ?> <div id="formmaker-forms" class="uk-form uk-form-horizontal" v-cloak> <div class="uk-margin uk-flex uk-flex-space-between uk-flex-wrap" data-uk-margin> <div class="uk-flex uk-flex-middle uk-flex-wrap" data-u...
<?php /* Cachekey: cache/stash_default/doctrine/[portlandlabs\concrete5\migrationtool\batch\validator\page\task\validateuserstask@[annot]][1]/ */ /* Type: array */ /* Expiration: 2021-09-13T13:41:52+00:00 */ $loaded = true; $expiration = 1631540512; $data = array(); /* Child Type: array */ $data['return'] = unser...
<?php /** * _roles.php * * PHP version 7.2+ * * @author Philippe Gaultier <pgaultier@redcat.io> * @copyright 2010-2020 Redcat * @license https://www.redcat.io/license license * @version XXX * @link https://www.redcat.io * @package blackcube\admin\views\user * * @var $user \blackcube\admin\models\Administrat...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\InstPosts */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Inst Posts', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this);...
<?php namespace App\Admin\Forms; use Dcat\Admin\Contracts\LazyRenderable; use Dcat\Admin\Traits\LazyWidget; use Dcat\Admin\Widgets\Form; class UserProfile extends Form implements LazyRenderable { use LazyWidget; public function handle(array $input) { return $this->success('保存成功'); } pub...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Dataworkspublic\V20200518\Models; use AlibabaCloud\Tea\Model; class ListDataSourcesResponse extends Model { /** * @var string[] */ public $headers; /** * @var ListDataSourcesResponseBody */ p...
<?php /** * ---------------------------------------------------- * Created by: PhpStorm. * Written by: Camilo Lozano III (Camilo3rd) * www.camilord.com * me@camilord.com * Date: 21/05/2018 * Time: 10:51 PM * ---------------------------------------------------- */ namespace camilord\uti...
<?php declare(strict_types=1); /* * This file is part of the Doctrine Behavioral Extensions package. * (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ...
<?php /** * @see https://github.com/laminas/laminas-form for the canonical source repository * @copyright https://github.com/laminas/laminas-form/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-form/blob/master/LICENSE.md New BSD License */ namespace LaminasTest\Form\TestAsset; use...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace tests\drivers\db; use Yii; use factorenergia\queue\db\Queue; /** * Sqlite Queue Test. * * @author Roman Zhuravlev <zhuravljov@gmail.com> */ class Sqlite...
<?php /** * My Addresses * * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/my-address.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 compatibility. We try t...
<?php // skip conditions if (!static::tableExists('tags')) { printf("Skipping migration because table `tags` does not exist yet\n"); return static::STATUS_SKIPPED; } if (static::columnExists('tags', 'Class')) { printf("Skipping migration because column `Class` in table `tags` already exists\n"); retur...
@extends('template') @section('judul','Manajemen Kamar') @section('content') <form action="/admin/manajemen_kamar/{{ Request::segment(3) }}" method="post" enctype="multipart/form-data"> <input type="hidden" name="_method" value="put"> {{csrf_field()}} <div class="row"> <div class="col-12"> <div class="card"> ...
<!DOCTYPE html> <html lang="pt-br"> <head> <!-- Tags Redes Sociais --> <meta name="creator" content="Daniel"> <meta name="creator" content="Sandro Romaniuc"> <meta property="og:title" content=""> <meta property="og:url" content=""> <meta property="og:description" content="Descrever negocio"> ...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
--TEST-- Bug #54484 (Empty string in json_decode doesn't reset json_last_error) --SKIPIF-- <?php if (!extension_loaded("json")) print "skip"; ?> --FILE-- <?php json_decode('{"test":"test"}'); var_dump(json_last_error()); json_decode(""); var_dump(json_last_error()); json_decode("invalid json"); var_dump(json_last_err...
<?php declare (strict_types=1); namespace Rector\TypeDeclaration; use PHPStan\Type\ArrayType; use PHPStan\Type\Constant\ConstantArrayType; use PHPStan\Type\Constant\ConstantStringType; use PHPStan\Type\MixedType; use PHPStan\Type\NeverType; use PHPStan\Type\ObjectType; use PHPStan\Type\StringType; use PHPStan\Type\Ty...
<?php namespace app\modules\VkAPI; /** * Class VkOauth * @package VkSender\VkAPI * https://vk.com/dev/authcode_flow_user */ class VkOauth extends VkMethod { /** * @return array|mixed * @throws \Exception */ private function executeOauth() { $this->url = self::$oauth_url; ...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitee07cacac402f3d465e35715a0f0793e { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace App\Imports\Translations; use App\ProductImport; use Maatwebsite\Excel\Concerns\WithMultipleSheets; use Maatwebsite\Excel\Concerns\WithConditionalSheets; use Illuminate\Support\Collection; use Maatwebsite\Excel\Concerns\ToCollection; use Maatwebsite\Excel\Concerns\WithHeadingRow; use Maatwebsite\Ex...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Items */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Items', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="items-view"> <h1><?= Html...
<?php /** * Swoole自动补全类(基于最新的2.0.6版本) * @author shixinke(http://www.shixinke.com) * @modified 2017/02/17 */ /** *swoole异常类 */ namespace Swoole; class Exception extends \Exception { /** * @var string $message * 异常提示信息 * @access protected */ protected $message = ''; /** * @va...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\NAS\V20170626\Models; use AlibabaCloud\SDK\NAS\V20170626\Models\DescribeRegionsResponse\regions; use AlibabaCloud\Tea\Model; class DescribeRegionsResponse extends Model { /** * @description requestId * * @var ...
@extends('front.layouts.app') @section('content') <div class="container mx-auto"> <div class="flex flex-wrap justify-center"> <div class="w-full max-w-sm"> @if (session('resent')) <div class="text-sm border border-t-8 rounded text-green-darker border-green-dark bg-green-lightest px-...
<?php declare(strict_types=1); /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constrai...
<?php namespace Drupal\node\Access; use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Routing\Access\AccessInterface; use Drupal\Core\Session\AccountInterface; use Drupal\node\NodeInterface; use Symfony\Component\Routing\Route; /** * Provides an access checker f...
<?php include("config/conn.php"); include("config/checkUser.php"); if(isset($_GET['msg'])){ $msg = $_GET['msg']; $today= date('Y-m-d'); } ?> <?php $conn=mysqli_connect("localhost","emgegrou_casc","2wsxzaQ1!","emgegrou_casc"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " ....
<?php /* * This file is part of Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Bundle\ArticleBundle\Tests\Unit\Document\Subscriber; use Ferrandini\Urlizer; use PHPCR\NodeInterface; use...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class ModifyServerInTableStatisticPubgm extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('s...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* * Pagination Config Bootstrap 3 CSS Style * harviacode.com */ $config['query_string_segment'] = 'start'; $config['full_tag_open'] = '<nav><ul class="pagination" style="margin-top:0px">'; $config['full_tag_close'] = '</ul></nav>'; $co...
<?php namespace Modera\BackendTranslationsToolBundle\Handling; use Modera\TranslationsBundle\Handling\TemplateTranslationHandler; use Symfony\Component\HttpKernel\Bundle\BundleInterface; /** * @author Sergei Vizel <sergei.vizel@modera.org> * @copyright 2014 Modera Foundation */ class ExtjsTranslationHandler ex...
@extends('admin.master') @section('main') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div...
<?php namespace app\models; use Yii; /** * This is the model class for table "free_product_images". * * @property integer $id * @property integer $product_id * @property string $basename */ class FreeProductImage extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function table...
<?php require "service/connection.php"; $show = 10; ?> <!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="...
<div class="form-group"> {!! Form::label('matrix', 'Experience professionnelle', ['class' => 'col-lg-2 control-label']) !!} <div class="col-lg-10"> <table class="table" > <thead> <tr> <th style="width:%;" >Domaine d'intenrvention</th> <th style="width:%;">Cadre d'intervention</th> <t...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
<?php /** * This file is part of PHPPresentation - A pure PHP library for reading and writing * presentations documents. * * PHPPresentation is free software distributed under the terms of the GNU Lesser * General Public License version 3 as published by the Free Software Foundation. * * For the full copyright a...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class PelangganMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closur...
<?php namespace Quorum\Exporter\Exceptions; class WritableException extends ExportException { }
<?php /** * This file is part of the Spryker Suite. * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Pyz\Zed\ExampleStateMachine\Business; use Generated\Shared\Transfer\StateMachineItemTransfer; /** * @method \Pyz\Zed\ExampleStateMachine\Busin...
@extends('employee.layout.index') @section('contentNV') <div class="card"> <div class="card-body"> <div><h4 class="card-title" style=" float: left; line-height: 40px" >{{ $blog -> TieuDe}}</h4> </div> <p sty...