text
stringlengths
2
1.03M
<?php namespace StepStone\DAO; use Doctrine\DBAL\Connection; abstract class DAO { /** * Database connection * * @var \Doctrine\DBAL\Connection */ private $db; /** * Constructor * * @param \Doctrine\DBAL\Connection The database connection object */ public func...
<!-- Member --> <div class="recent_trip_area"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-6"> <div class="section_title text-center mb_70"> <h3>Member</h3> <p>Lorem ipsum ...
<?php class VoyageModel { /** * Every model needs a database connection, passed to the model * @param object $db A PDO database connection */ function __construct($db) { try { $this->db = $db; } catch (PDOException $e) { exit('Database connection could n...
@php $roles = ['Moderator', 'Administrator'] @endphp @extends('layouts.admin') @section('title', 'Add User') @section('content') <div class="page-header"> <h1> <span class="typcn typcn-group"></span> Add User </h1> <div> <a class="btn btn-sm btn-outline-primary" href="{{ route('ad...
<?php namespace App\Repositories\Contracts; use App\Models\Invoices; /** * Interface ProjectProjectManagerRepository. */ interface InvoicesRepository extends BaseRepository { public function save(Invoices $invoice, array $input); /** * @param Invoices $invoice * * @return mixed */ ...
<?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 /** * Copyright (c) 2015 · Kerem Güneş * Apache License 2.0 · http://github.com/froq/froq-http */ declare(strict_types=1); namespace froq\http\exception\server; use froq\http\exception\ServerException; use froq\http\response\Status; /** * Bad Gateway Exception. * * @package froq\http\exception\server * ...
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/boo...
<?php namespace Doctrine\Tests\ORM\Query; use Doctrine\ORM\Query, Doctrine\ORM\Query\QueryException; require_once __DIR__ . '/../../TestInit.php'; class LanguageRecognitionTest extends \Doctrine\Tests\OrmTestCase { private $_em; protected function setUp() { $this->_em = $this->_getTestEntity...
<?php namespace Logeecom\Tests\BusinessLogic\Controllers; use Logeecom\Infrastructure\ORM\RepositoryRegistry; use Logeecom\Tests\BusinessLogic\Common\BaseTestWithServices; use Logeecom\Tests\BusinessLogic\ShippingMethod\TestShopShippingMethodService; use Logeecom\Tests\BusinessLogic\Tasks\UpdateShippingServicesTaskTe...
<?php namespace RectorPrefix20210904; if (\class_exists('Tx_Extbase_Persistence_QOM_LogicalAnd')) { return; } class Tx_Extbase_Persistence_QOM_LogicalAnd { } \class_alias('Tx_Extbase_Persistence_QOM_LogicalAnd', 'Tx_Extbase_Persistence_QOM_LogicalAnd', \false);
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Appvar extends Model { // }
<?php /** * This file is part of phplrt package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Phplrt\Visitor; use Phplrt\Contracts\Ast\NodeInterface; /** * The TraverserInterface allows to ...
<?php namespace App\Admin\Actions\Grid; use App\Models\PointAdjustmentRequest; use Dcat\Admin\Admin; use Dcat\Admin\Actions\Response; use Dcat\Admin\Grid\RowAction; use Dcat\Admin\Traits\HasPermissions; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request;...
<?php namespace app\common\model; use think\facade\Request; use think\facade\Cache; /** * 商品模型 * Class Item * @package app\common\model */ class Item extends BaseModel { protected $name = 'item'; protected $pk = 'goods_id'; /** * 隐藏字段 * @var array */ protected $hidden = [ 'sales...
<?php /* * This file is part of the Ariadne Component Library. * * (c) Muze <info@muze.nl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace arc; /** * This component implements an event system very similar to events in...
<?php namespace app\models\db; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\db\User; /** * UserSearch represents the model behind the search form of `app\models\db\User`. */ class UserSearch extends User { /** * {@inheritdoc} */ public function rules() { ...
@extends('auth.master.page-login') @section('content') <section class="login-content"> <div class="logo"> <h1>Wisata Banjarmasin</h1> </div> <div class="login-box"> <form class="login-form" method="POST" action="{{ route('login') }}"> @csrf <h3 class="login-head"><i class="fa ...
<?php /* Si la variable globale $erreurCreation est définie, un message d'erreur est affiché dans un paragraphe de classe 'message' */ ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <meta charset="UTF-8"/> <title>Création d'utilisateur</title> </head> <body> ...
@php $nrc_language = config('myanmarnrc.language'); $nrc_regions = config('myanmarnrc.regions_states'); $nrc_townships = config('myanmarnrc.townships'); $nrc_citizens = config('myanmarnrc.citizens'); $nrc_characters = config('myanmarnrc.characters'); @endphp @extends('layouts.app') @section('conte...
<?php namespace common\models; use Yii; /** * This is the model class for table "movies_reports". * * @property int $id * @property int $id_movie * @property int $sound_probm * @property int $connection_probm * @property int $label_probm * @property int $video_probm * @property int $subs_probm * @property ...
<?php namespace App\Http\Middleware; use Closure; class CheckLoggedIn { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { //もしaction実行後に何らかの処...
<?php namespace App\Ninja\Datatables; use URL; class TokenDatatable extends EntityDatatable { public $entityType = ENTITY_TOKEN; public function columns() { return [ [ 'name', function ($model) { return link_to("tokens/{$model->public_id}/edit", ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Contact extends Model { use HasFactory; protected $fillable=['name','email','subject','message','response','status']; }
<section id="testimonials" class="testimonials section-bg"> <div class="container" data-aos="fade-up"> <div class="section-title"> <h2>Testimonials</h2> <p>Magnam dolores commodi suscipit. Necessitatibus eius consequatur ex aliquid fuga eum quidem. Sit sint consectet...
<?php /* * diag_arp.php * * part of pfSense (https://www.pfsense.org) * Copyright (c) 2004-2019 Rubicon Communications, LLC (Netgate) * All rights reserved. * * originally based on m0n0wall (http://m0n0.ch/wall) * Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>. * All rights reserved. * * Licensed under...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:66:"H:\wamp\www\tp5\public/../application/teacher\view\user\test1.html";i:1520820068;}*/ ?> <!DOCTYPE html> <html> <head> <title>测试数据验证</title> </head> <body> <form action="test1" method="post"> <p><label>名字:</label> <input type="text" name="name"></p> <p><lab...
<?php WP_CLI::add_command( 'jetpack', 'Jetpack_CLI' ); /** * Control your local Jetpack installation. */ class Jetpack_CLI extends WP_CLI_Command { // Aesthetics public $green_open = "\033[32m"; public $red_open = "\033[31m"; public $yellow_open = "\033[33m"; public $color_close = "\033[0m"; /** * Get...
<div class="titulo">Include Once</div> <?php ini_set('display_errors', 1); include('include_once_arquivo.php'); require('include_once_arquivo.php'); echo "Varriável = '{$variavel}'.<br>"; $variavel = 'Variável Alterada'; echo "Varriável = '{$variavel}'.<br>"; include('include_once_arquivo.php'); echo "Variável = '{...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use MaddHatter\LaravelFullcalendar\Event; class EventModel extends Eloquent implements \MaddHatter\LaravelFullcalendar\Event { protected $dates = ['start', 'end']; /** * Get the event's id number * * @return int */ pub...
<?php namespace Core\Validators; use Core\Validators\CustomValidator; class EmailValidator extends CustomValidator { public function runValidation(){ $email = $this->_model->{$this->field}; $pass = true; if(!empty($email)){ $pass = filter_var($email, FILTER_VALIDATE_EMAIL); } return $pass;...
<?php namespace App\Http\Controllers; use App\Models\product_comment; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class ProductCommentController extends Controller { public function allProductComment(){ $allcomment = product_comment::join('users', 'users.id', 'product_comments.user_id...
<?php namespace Procure\Domain\Contracts; /** * Document Status * * @author Nguyen Mau Tri - ngmautri@gmail.com * */ class ProcureDocStatus { const DRAFT = 'draft'; const OPEN = 'open'; const CLOSED = 'closed'; const POSTED = 'posted'; const AMENDING = 'amending'; const ARCH...
<?php include_once('header.php'); include_once('cfg_helpdesk.php'); //require_once('phpMailer/class.phpmailer.php'); //require_once('cfg_mails.php'); echo "<body>"; function toUpper($string) { $string = strtr($string,'qwertyuiopasdfghjklzxcvbnm','QWERTYUIOPASDFGHJKLZXCVBNM'); return (strtr($string, 'ęóąśłżźćńĘÓĄŚŁ...
@extends('admin.template-admin.master') @section('title', 'MSDS') @section('sub-judul', 'Hazardouse Register') @section('content') <a href="{{ route('msds.create') }}" class="btn btn-primary btn-sm">Tambah MSDS</a> <form method="POST" id="form-search" enctype="multipart/form-data"> @csrf <div cl...
<?php namespace Issue\Http\Controllers; use Gate; use Issue\Http\Requests; use Issue\StepAutocomplete; use Illuminate\Http\Request; use Issue\Http\Controllers\Controller; use Issue\Http\Requests\StepAutocompleteRequest; class StepAutocompleteController extends Controller { use CanReturnDataForDataTables; pr...
<?php $lang["suppliers_account_number"] = "帳號 #"; $lang["suppliers_agency_name"] = " "; $lang["suppliers_cannot_be_deleted"] = "無法刪除所選擇的供應商,選定的供應商中至少有一家已有銷售紀錄。"; $lang["suppliers_company_name"] = "公司名稱"; $lang["suppliers_company_name_required"] = "公司名稱是必填欄位"; $lang["suppliers_confirm_delete"] = "你確定要刪除選定的供應商嗎?"; $lan...
<?php /** * Copyright 2014 Hendrik Schmeer on behalf of DARIAH-EU, VCC2 and DARIAH-DE, * Credits to Erasmus University Rotterdam, University of Cologne, PIREH / University Paris 1 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
<?php /* /* Safe sample input : execute a ls command using the function system, and put the last result in $tainted sanitize : use of ternary condition construction : interpretation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to us...
@extends('admin.app') @section('title') {{ $pageTitle }} @endsection @section('content') <div class="app-title"> <div> <h1><i class="fa fa-shopping-bag"></i> {{ $pageTitle }}</h1> <p>{{ $subTitle }}</p> </div> <a href="{{ route('admin.products.create') }}" class="btn ...
<link rel="stylesheet" type="text/css" href="abc.css"><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><h1>Franchise of The Day: This Savory Restaurant"s Best Known for Its Midwestern Comfort Food</h1> <img itemprop="image" itemscope itemtype="https://schema.org/ImageObject" alt="Franchise ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<section role="main" class="content-body"> <header class="page-header"> <h2>Inbox</h2> <div class="right-wrapper pull-right"> <ol class="breadcrumbs"> <li> <a href="index.html"> <i class="fa fa-home"></i> </a> </li> <li><span>Mailbox</span></li> <li><span>Inbox</span></li> </ol> <a cl...
<?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 | ...
@extends ('layouts.master') @section ('content') <div class="col-sm-8 blog-main"> @foreach ($posts as $post) @include ('posts.post') @endforeach <nav class="blog-pagination"> <a class="btn btn-outline-primary" href="#">Older</a> <a class="btn btn-outline-secondary disabled" href="#">Newer</a> </n...
<?php namespace Sapwood\Library; use Sapwood\Library; /** * @filter sapwood/timber/locations * * Add new locations to timber for searching out twig files when extending or * including other twigs * @var [type] */ add_filter('timber/locations', function($locations) { $locations = sapwood_apply_filters('timber/...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * ExpressionEngine - by EllisLab * * @package ExpressionEngine * @author EllisLab Dev Team * @copyright Copyright (c) 2003 - 2014, EllisLab, Inc. * @license http://ellislab.com/expressionengine/user-guide/license.html * @link http:...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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...
<?php /* * Copyright (c) 2015 Mihai Stancu <stancu.t.mihai@gmail.com> * * This source file is subject to the license that is bundled with this source * code in the LICENSE.md file. */ namespace MS\RpcBundle\Serializer\NameConverter; use Symfony\Component\Serializer\NameConverter\NameConverterInterface; class S...
<?php /** * Do not edit anything in this file unless you know what you're doing */ use Roots\Sage\Config; use Roots\Sage\Container; /** * Helper function for prettying up errors * @param string $message * @param string $subtitle * @param string $title */ $sage_error = function ($message, $subtitle = '', $titl...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUserRequestForSessionTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_request_for_session', function (Blu...
<?php $name='DejaVuSerifCondensed-BoldItalic'; $type='TTF'; $desc=array ( 'CapHeight' => 729, 'XHeight' => 519, 'FontBBox' => '[-815 -389 1579 1145]', 'Flags' => 262212, 'Ascent' => 939, 'Descent' => -236, 'Leading' => 0, 'ItalicAngle' => -11, 'StemV' => 165, 'MissingWidth' => 540, ); $unitsPerEm=20...
<?php class mainmodel extends CI_model { public function regi($a) { $this->db->insert("reg",$a); } public function encpasswor($pass) { return password_hash($pass,PASSWORD_BCRYPT); } public function rview() { //$this->db->select('*'); $qry=$this->db->get("reg"); return $qry; } public function approvedetai($i...
<?php /** * Copyright (c) 2011 All Right Reserved, Todooli, Inc. * * This source is subject to the Todooli Permissive License. Any Modification * must not alter or remove any copyright notices in the Software or Package, * generated or otherwise. All derivative work as well as any Distribution of * this as...
<?php /* * This file is part of the project RMT * * Copyright (c) 2013, Liip AG, http://www.liip.ch * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Liip\RMT\Command; use Liip\RMT\Application; use Liip\RMT\Output\Output...
<?php return array( 'router' => include __DIR__ . '/module/router.config.php', 'controller_plugins' => array( 'invokables' => array( 'Params' => 'Zf2Libs\Mvc\Controller\Plugin\Params', 'CurrentLang' => 'HcCore\Mvc\Controller\Plugin\CurrentLang' ) ), 'cache' => ar...
<?php header("Content-type: text/css"); if(isset($_GET['1'])){?> .testclassname{ visibility:hidden; } <?php } ?> .bogus{ visibility:hidden; }
<?php namespace frontend\models; use Yii; /** * This is the model class for table "question_options". * * @property integer $id * @property integer $id_question * @property string $option_text * @property integer $correct * @property string $create_at * @property string $update_at * @property string $delete...
<?php namespace Gettext\Generators; use Gettext\Translations; class JsonDictionary extends Generator implements GeneratorInterface { /** * {@parentDoc} */ public static function toString(Translations $translations) { $array = PhpArray::toArray($translations); //for a simple json...
<?php namespace YoutubeDownloader\Application; use Exception; /** * The main app */ class ControllerFactory { private $controller_map = [ 'download' => '\\YoutubeDownloader\\Application\\DownloadController', 'image' => '\\YoutubeDownloader\\Application\\ImageController', 'index' => '\\YoutubeDownloader\\App...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
<?php $ok = true; /** ORIGEN Y DESTINO **/ $origen = [ 'localidad' => $_POST['localidad_origen'], 'provincia' => $_POST['prov_origen'] ]; $destino = [ 'localidad' => $_POST['localidad_destino'], 'provincia' => $_POST['prov_destino'] ]; if(!($origen['localidad']) || !($origen['provincia']) || !($destino['localid...
<?php declare(strict_types=1); /* * This file is part of Polymorphine/Dev package. * * (c) Shudd3r <q3.shudder@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Polymorphine\Dev\Fixer; use PhpCsFixer\Fixer\FixerInterface; us...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class JourRequest extends FormRequest { public function authorize() { return true; } public function rules() { return []; } }
<?php /** @var \Laravel\Lumen\Routing\Router $router */ /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It is a bre...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/home/guilherme/Documentos/grav-receptar-portfolio/system/languages/ro.yaml', 'modified' => 1510448321, 'data' => [ 'FRONTMATTER_ERROR_PAGE' => '--- Titlu: %1$s --- # Eroare: Frontmatter este invalid Calea: `%2$s`...
<x-dashboard-layout> <div class="flex"> <x-dashboard.aside/> <div class="flex flex-col flex-1 w-full"> <x-dashboard.header/> <main class="h-screen overflow-y-auto mt-10 mb-20"> <div class="max-w-md sm:max-w-lg md:max-w-lg lg:max-w-2xl xl:max-w-5xl mx-auto">...
@extends('app_layouts.master') @section('main_content') <style> @media screen and (min-width: 676px) { #myModalcus .modal-dialog { max-width: 80%; /* New width for default modal */ } } </style> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <div class...
<?php namespace SpecShaper\EncryptBundle\Encryptors; use SpecShaper\EncryptBundle\Event\EncryptKeyEvent; use SpecShaper\EncryptBundle\Event\EncryptKeyEvents; use SpecShaper\EncryptBundle\Exception\EncryptException; use SpecShaper\EncryptBundle\Subscribers\DoctrineEncryptSubscriberInterface; use Symfony\Component\Even...
<?php namespace App\Http\Controllers\Store; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Customer; class CustomerController extends Controller { public function update(Request $request) { $user = auth()->guard('customer')->user(); $item = Customer::find($user->id)...
<?php namespace RotHub\PHP\Providers; use RotHub\PHP\Providers\AbstractProvider; class WebHookProvider extends AbstractProvider { /** * @inheritdoc */ public static function name(): string { return 'WebHook'; } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; /** * 客户订单数据表 * * Date: 2019/12/7 * @author George */ class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public f...
<?php /** * IdP Metadata Parser of OneLogin PHP Toolkit * */ class OpenSocial_Saml2_IdPMetadataParser { /** * Get IdP Metadata Info from URL * * @param string $url URL where the IdP metadata is published * @param string $entityId Entity Id of the desired IdP, ...
<?php /* * The MIT License * * Copyright 2016 Jeppe Boysen Vennekilde. * * 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 ...
@extends('admin.app') @section('content') <div class="form-element-area"> <div class="container"> <form action="{{route('update.terms')}}" method="post" enctype="multipart/form-data"> {{csrf_field() }} <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 ...
<?php namespace Omnipay\Vindicia\Message; use Omnipay\Vindicia\TestFramework\Mocker; use Omnipay\Vindicia\TestFramework\DataFaker; use Omnipay\Vindicia\TestFramework\SoapTestCase; class FetchChargebacksRequestTest extends SoapTestCase { /** * @return void */ public function setUp() { $t...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Ovoo-Movie & Video Stremaing CMS Pro * ----------------------------- OVOO ----------------------------- * -------------- Movie & Video Stremaing CMS Pro ----------------- * -------- Professional video content management system ---------- ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Productos; use App\Models\OrdenPedidos; use App\Models\User; class AdminController extends Controller { public function __construct() { $this->middleware('admin'); } public function gestionarProductos() { ...
<?php //#Patterns: rulesets-controversial.xml-Superglobals, rulesets-controversial.xml-CamelCaseClassName //#Patterns: rulesets-controversial.xml-CamelCaseMethodName, rulesets-controversial.xml-CamelCaseParameterName //#Info: rulesets-controversial.xml-CamelCaseClassName class foo_foo { protected $my_property; ...
--TEST-- swoole_mysql_coro: procedure in fetch mode --SKIPIF-- <?php require __DIR__ . '/../include/skipif.inc'; ?> --FILE-- <?php require __DIR__ . '/../include/bootstrap.php'; go(function () { $db = new Swoole\Coroutine\Mysql; $server = [ 'host' => MYSQL_SERVER_HOST, 'user' => MYSQL_SERVER_USE...
<?php include_once APPPATH."modules/admin/core/MY_Controller.php" ; class Story extends MY_Controller { var $page = "story"; var $crop_maintain_ratio = FALSE , $crop_width = 572 , $crop_height = 422 ; function __construct() { parent::__construct(); $this->load->model('s...
<?php /* // The MIT License (MIT) // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMA...
<?php // You can also add your custom configuration. Just add the path to your custom // configuration file to the environment variable `TYPO3_EXCLUDE_FROM_PACKAGING` // and make sure the file returns an array with the keys `directories` and `files` // on root level. // Note: The filter is case insensitive. There is ...
<?php // <editor-fold desc=" ***** Tag filters *****" defaultstate="collapsed" > RQuery::$defaultFilters['tag']['refcount']['operators']['>,<,=,!'] = array( 'eval' => '$object->countReferences() !operator! !value!', 'arg' => TRUE, 'ci' => array( 'fString' => '(%PROP% 1)', 'input' => 'input/...
<?php namespace TuFracc; use Illuminate\Database\Eloquent\Model; class Pagos extends Model { protected $table = 'pagos'; public $timestamps = true; protected $fillable = ['id_user','date','status','amount','user_name','id_site']; }
<?php error_reporting(E_ALL); ini_set('display_errors', 1); echo "Votre réservation :<br><br>"; echo "Nom Prénom : "; echo $_POST['user_name']; echo "<br><br>E-mail : "; echo "<br><br>Téléphone : "; echo $_POST['user_telephone']; /* echo "<br><br>Pour le "; echo $_POST['user_jour']; ...
<link href="<?php echo base_url(); ?>assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" /> <link href="<?php echo base_url(); ?>assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" /> <link href="<?php echo base_url(); ?>assets/global/plu...
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ 'notifications', ]; }
<?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 include "../fungsi/koneksi.php"; if(isset($_GET['id'])){ $id=$_GET['id']; $queryUser = mysqli_query($koneksi, "SELECT * from user WHERE username = '$_SESSION[username]'"); $rowUser=mysqli_fetch_assoc($queryUser); $nama=$rowUser['nama']; date_default_timezone_set('Asia/Jakarta'); ...
<?php namespace Nuwave\Lighthouse\WhereConditions; use GraphQL\Error\Error; use GraphQL\Language\AST\FieldDefinitionNode; use GraphQL\Language\AST\InputValueDefinitionNode; use GraphQL\Language\AST\ObjectTypeDefinitionNode; use Nuwave\Lighthouse\Schema\AST\ASTHelper; use Nuwave\Lighthouse\Schema\AST\DocumentAST; use ...
@extends('layout.app') @section('content') @endsection @section('script') @endsection
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Rol extends Model { protected $table = "roles"; protected $filleable = [ "id", "nombre" ]; protected $hidden = [ "created_at", "updated_at" ]; public function funcionario() { return $this->hasMan...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Product; use Image; use DB; use Haruncpi\LaravelIdGenerator\IdGenerator; class ProductController extends Controller { /** * Display a listing of the resource. * * @return \Ill...
<?php namespace Drupal\Tests\config\Functional; use Drupal\Tests\BrowserTestBase; /** * Tests default configuration provided by a module that does not own it. * * @group config */ class ConfigOtherModuleTest extends BrowserTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'stark'; /** ...
<?php namespace App\Http\Controllers\settings; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\ThemeSettings; class CompanySettingsController extends Controller { public function __construct() { $this->middleware( 'auth' ); } public function index() { $Themes ...
<?php return [ 'valid_disk' => 'Конфигурисани диск за отпремање за атрибут: не постоји.', 'unsupported' => 'Ово подручје је само за датотеке слика. У поље за опис можете додати различите типове датотека.' ];
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\DICOM; use JMS\Serializer\Annotation\ExclusionPolicy; u...
<?php class M_login extends CI_Model{ function tes_login($table,$where){ return $this->db->get_where($table,$where); } } ?>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HomeController extends Controller { public function getHome(){ return redirect()->action('CatalogController@getIndex'); } }