text
stringlengths
2
1.03M
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <a href="/" class="navbar-brand"><strong>UI</strong>Core</a> @include('sample.includes.navbar') </header>
<?php namespace Compubel\Rating\Models; use Illuminate\Database\Eloquent\Model; class Rating extends Model { public function __construct(array $attributes = []) { if (! isset($this->table)) { $this->setTable(config('rating.table_name')); } parent::__construct($attributes)...
<?php use Illuminate\Database\Seeder; use App\Role; class RoleTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $role = new Role(); $role->name = 'admin'; $role->description = 'administrador'; $role->save(); ...
<?php use Faker\Factory as Faker; use App\Models\Konten; use App\Repositories\KontenRepository; trait MakeKontenTrait { /** * Create fake instance of Konten and save it in database * * @param array $kontenFields * @return Konten */ public function makeKonten($kontenFields = []) { ...
@extends('layouts.admin') @push('styles') <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/dataTables.semanticui.min.css.css"> @endpush @push('scripts') <script src="https://code.jqu...
<?php /** * Test error * * @author Jeremy Branham <support@savantly.net> * @license Apache 2.0 * */ echo "you should see error output in your container logging"; throw new Exception('Test exception'); ?>
<?php namespace App\Criteria\Exceptions; class InvalidCriteriaOptionException extends \Exception { /** * @param string $name * @return \App\Criteria\Exceptions\InvalidCriteriaOptionException */ public static function notAValidName($name) { return new self("The name [$name] is not a v...
<?php /** * Base sniff test class file * * @package PHPCompatibility */ /** * BaseSniffTest * * Adds PHPCS sniffing logic and custom assertions for PHPCS errors and * warnings * * @uses PHPUnit_Framework_TestCase * @package PHPCompatibility * @author Jansen Price <jansen.price@gmail.com> */ class BaseSnif...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInfoPostsTable extends Migration { /** * Run the migrations. * * @return void */ /** * MIGRAZIONE PER TABELLE RELAZIONALI * ---> https:/...
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width, initial-scale=1.0"> <title>Operadores</title> <link rel="stylesheet" href="../_css/estilo.css"> </head> <body> <div> <?php $d=isset($_GET["ds"])?$_GET["ds"]:0; switch ($d) { c...
<?php class sa_add_admin_dealer_model extends CI_Model { function sa_add_admin_dealer_model(){ parent::__construct(); } function data($param) { // show_array($param); // exit; extract($param); $kolom = array(0=>"ID_USER", "NAMA_USER", "DEALER_NAMA", "LEVEL_AKSES...
<?php class WKSSDate{ const FORMAT_LIST = "M d, Y "; const FORMAT_DETAILS = "Y-m-d H:i:s"; const FORMAT_WORDS = 'l, g:i A, M d, Y'; //new and improved readable format // Converts the stored time on the server to local time // If the user has a timezone offset from UTC, it will be calculat...
<?php use Illuminate\Support\Facades\Route; //index page Route::get('all-posts', 'PostController@index')->name('posts.index'); //cek authentikasi (jatahnya posts) Route::prefix('posts')->middleware('auth')->group(function () { //insert page and function (jadinya posts/{anakannya}) Route::get('create', 'PostC...
<?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 namespace App\Http\Controllers\Pages; use App\Http\Controllers\Controller; use App\pageModel; use Illuminate\Http\Request; use App\countryModel; use App\cityModel; use App\AuthModel; use DB; use Auth; use Mail; use Hash; use App\User; use App\categoryModel as Categroy; use App\cityModel as City; use App\Vendor...
<?php use Illuminate\Database\Seeder; class CartExtrasTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { \DB::table('cart_extras')->delete(); } }
<?php use Illuminate\Database\Seeder; class EmployeesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\Employee::class,50)->create(); } }
<?php /** * Laravel Multi-Language <https://github.com/renatomarinho/laravel-multi-language> * Updated 2017-04-16 09:14:49 / 178 translations * * The MIT License (MIT) * Copyright (c) 2017 Renato Marinho <renato.marinho@s2move.com> */ return array( 'product-backlog' => 'Product Backlog', 'timebox' => 'Tempo...
<?php /** * Created by PhpStorm. * User: liucunzhou * Date: 2019/7/7 * Time: 7:13 PM */ namespace app\index\controller; use app\common\model\Allocate; use app\common\model\Hotel; use app\common\model\Intention; use app\common\model\Member; use app\common\model\MemberAllocate; use app\common\model\MemberApply; us...
<?php namespace Tests\Unit; use App\Notifications\ThreadWasUpdated; use Carbon\Carbon; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Support\Facades\Notification; use Tests\TestCase; class ThreadTest extends TestCase { use DatabaseMigrations; protected $thread; function setUp(): ...
<?php namespace Drupal\webform\Twig; use Drupal\Core\Entity\EntityInterface; use Drupal\webform\Element\WebformMessage; use Drupal\webform\Utility\WebformHtmlHelper; use Drupal\webform\WebformSubmissionInterface; /** * Twig extension with some useful functions and filters. */ class TwigExtension extends \Twig_Exte...
<?php class WP_Widget_Text_Icl extends WP_Widget { const FILTER_PRIORITY = 0; const STRING_DOMAIN = 'Widgets'; /** * WP_Widget_Text_Icl constructor. */ public function __construct() { $widget_ops = array( 'classname' => 'widget_text_icl', 'description' => __( 'Multilingual arbitrary text or HTML', 'wpml-s...
<?php namespace Sphpeme\Env; class AggregateEnv implements EnvInterface { protected $extensions = []; public function __construct(EnvInterface ...$envs) { while ($env = array_pop($envs)) { $this->extensions[] = $env; } } public function __isset(string $prop): bool ...
<?php /** * Created by PhpStorm. * User: lihuosheng * Date: 2017/10/14 * Time: 下午8:22 */ namespace app\bis\controller; use think\Controller; use think\Session; class Login extends Controller{ public function index() { //TODO:判断seession if(session('loginUser','','bis')) { ...
<div class="block-container red-container"> <h3 class="title"><?php echo get_field('titel_rood') ?></h3> <?php if(get_field('intro_rood')&& get_field('afbeelding_rood')){ ?> <div> <img src="<?php echo get_field('afbeelding_rood') ?>"> <?php echo get_field('intro_rood') ?>...
@extends('layouts.relat-layout') @section('content') <!-- 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 class="col-sm-6"> ...
<?php class Services_NzbHandler_Factory { public static function build(Services_Settings_Container $settings, $action, array $nzbHandling) { /* * We explicitly add new handlers, because we cannot be sure * what to load with __autoload */ switch ($action) { case 'disable' :...
<link type="text/css" rel="stylesheet" href="less/heiUI.css"> <div id="testLid"><test-lid></test-lid></div> <script src="js/new/test.lid.js"></script>
@extends('welcome'); @section('content') <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-10"> <h2>Product edit</h2> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="index.html">Home</a> </li> <li class...
<?php namespace app\models\helpers; use Yii; /** * Description of DateConverter * Zum Formatieren vonn Datumswerten * @author mwort */ class AllowedDomains { public function __construct() { } public static function allowedDomains() { return [ //nur erlaubt: /...
<?php /** * Tools to help with ASCII in UTF-8 * @version $Id: ascii.php,v 1.5 2006/10/16 20:38:12 harryf Exp $ * @package utf8 * @subpackage ascii */ //-------------------------------------------------------------------- /** * Tests whether a string contains only 7bit ASCII bytes. * You might use this to conditionally...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\UserController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applicati...
@extends('adminlte::page') @section('title','Novo Cliente') @section('content_header') <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> @if($errors->any()) <div class="alert alert-danger"> <ul> <h5> <i class="icon fas fa...
<?php declare(strict_types=1); namespace Kickflip\RouterNavPlugin\Models; interface NavItemInterface { public static function make(string $title, ?string $url = ''): NavItemInterface; /** * @param array<array-key, NavItem> $children */ public function setChildren(array $children): NavItemInter...
<?php namespace MyCp\mycpBundle\Controller; use MyCp\mycpBundle\Entity\ownershipReservation; use MyCp\mycpBundle\Entity\ownershipStatus; use MyCp\mycpBundle\Helpers\BackendModuleName; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoun...
<?php namespace Its\Example\Dashboard\Core\Application\Service\LikesStatus; use Its\Example\Dashboard\Core\Domain\Model\Likes; use Its\Example\Dashboard\Core\Domain\Repository\LikesRepository; use Its\Example\Dashboard\Core\Domain\Model\StatusUser; use Its\Example\Dashboard\Core\Domain\Repository\StatusUserRepository...
<?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 t...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use common\widgets\Redactor; use yii\helpers\ArrayHelper; use backend\modules\askm\models\DimPelanggaran; /* @var $this yii\web\View */ /* @var $model backend\modules\askm\models\PoinKebaikan */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="poin-kebaik...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class NotificationController extends Controller { public function __construct() { $this->middleware('auth'); } public function notifications(Request $request) { $notifications = $request->user()->unreadNotificatio...
--TEST-- Check extract_part_file --SKIPIF-- <?php /* vim600: sw=4 ts=4 fdm=marker syn=php */ if (!extension_loaded("mailparse")) @dl("mailparse.so"); if (!extension_loaded("mailparse")) print "skip"; ?> --POST-- --GET-- --FILE-- <?php if (!extension_loaded("mailparse")) @dl("mailparse.so"); $text = <<<EOD To: fred@blog...
<?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\Test\Account\Enums; use maiorADV\eBaySDK\Account\Enums\CountryCodeEnum; class Countr...
<?php namespace app\models; use Yii; /** * This is the model class for table "diarium". * * @property int $id * @property int $nik * @property string $unit1 * @property string $unit2 * @property string|null $lokasi_id * @property string $kondisi_id * @property string $submit_date * @property float $versi_a...
<?php use Illuminate\Foundation\Application; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Cache; use Inertia\Inertia; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Her...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePlaylistsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('playlists', f...
<?php class OembedThumb { public $thumb = null; public $dir = null; public $caching = false; public function __construct($caching) { $this->dir = kirby()->roots()->thumbs(); if (!file_exists($this->dir)) mkdir($this->dir); $this->caching = $caching; } public function set($thumb) {...
<?php namespace app\components; class Helper{ public function getActiveItem($param1, $param2){ if ($param1 == $param2) { return "active"; } } } ?>
<?php /** * InlineResponse2004 * * PHP version 5 * * @category Class * @package Bungie * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionali...
<div class="container-fluid"> <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> <li data-target="#carouselExampleIndicators" data-slide-to="1"></l...
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title>Curso PHP Tela Inicial</title> <link rel="stylesheet" ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCollectionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('collections...
<?php /** * IXR - The Incutio XML-RPC Library * * Copyright (c) 2010, Incutio Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the ab...
@extends('blogs.layout') @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>Edit Blog</h2> </div> <div class="pull-right"> <a class="btn btn-primary" href="{{ route('blogs.index') }}"> Ba...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\User; use Illuminate\Http\Request; use \DB; class DashboardController extends Controller { public function registered() { $users =User::all(); return view('admin.register')->with('users',$users); } public functio...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddFkToFamiliarxsocioTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('familiarxsocio', function (Blueprint $table) { ...
@extends('layouts.form') @section('title', '404 not found') @section('content') <div class="row justify-content-center my-5"> <div class="col-lg-6"> <div class="card o-hidden border-0 shadow-lg"> <!-- 404 Error Text --> <div class="text-center p-5"> <h1 class="mb-0 ...
<?php namespace App\Form; use App\Entity\User; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Validator\Constraints\IsTrue; use Symfony\Component\Validator\Constraints\Length; use Symfony\Component\Validator\Constraints\NotBlank; use Symfony\Component\O...
<?php /* SVN FILE: $Id: test.php 5811 2007-10-20 06:39:14Z phpnut $ */ /** * Short description for file. * * Long description for file * * PHP versions 4 and 5 * * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> * Copyright 2005-2007, Cake Software Foundation, Inc. * 1785 E. Sah...
@extends('admin.layout') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> {{ trans('labels.editconstantbanner') }} <small>{{ trans('labels.editconstantbanner') }}...</small> </h1> <ol class="breadcrumb"> <li><a href="{{ URL...
@extends('backend.MasterPage.Layout') @section('title',TitlePage('نمایش کاربران')) @section('style') <link rel="stylesheet" href="{{asset('backend/css/dataTables.bootstrap.css')}}"> <link rel="stylesheet" href="{{asset('backend/css/TableTools.css')}}"> <style> #ToolTables_DataTables_Table_0_0{ ...
@extends('layouts.front_layout') @section('content') <?php use App\Sport; use App\Match; use App\MyBets; ?> <style type="text/css"> .vlmtxt { font-size: 10px; color: #000000ad;; } .clrtxtgrn { color: #508d0e !important; } .clrtxtred { color: #d0021b !important; } ...
<?php /** * RemainingCreditModelTest * * PHP version 5 * * @category Class * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * SendinBlue API * * SendinBlue provide a RESTFul API that can be used with any languages. With this AP...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<!DOCTYPE html> <html> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script src="jqcloud.min.js"></script> <link rel="stylesheet" href="jqcloud.min.css"> <script src="jquery.tagcloud.js"></script> <script src="wordcloud2.js"></script> <s...
@extends("layout1") @section("Contenido") <section> @foreach($resultado as $curso) <label>NOMBRE: {{$curso["nombre_curso"]}}</label><br> <label>BIOGRAFIA: {{$curso["biografia_curso"]}}</label><br> <label>PRECIO: {{$curso["precio"]}}</label><br> <label>ID DE USUARIO: {{$curso["idusu...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TradeMark extends Model { protected $table = "trade_marks"; protected $fillable = [ "name_ar", "name_en", "trademarkIcon", "status", ]; }
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } $bodyClass = $APPLICATION->GetPageProperty('BodyClass'); $APPLICATION->SetPageProperty('BodyClass', ($bodyClass ? $bodyClass . ' ' : '') . ' no-background no-all-paddings'); use \Bitrix\Main\Localization\Loc; use \Bitrix\Landing\Manager;...
<?php namespace App\Http\Controllers\Client; use App\Http\Controllers\Controller; use App\Services\Breadcrumbs\Factory as Breadcrumbs; use App\Services\Seo\MetaHelper; class PrivacyController extends Controller { public function __construct( private Breadcrumbs $breadcrumbs, private MetaHelper $m...
<?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; use App\Models\SecteurActivite; use Illuminate\Support\Facades\Storage; use App\Http\Resources\SecteurActiviteResource; class SecteurActiviteController extends Controller { function index(){ return response( SecteurActiviteResource::col...
<?php namespace App\Http\Controllers\Back; use App\Http\Controllers\CrudController; use App\Models\User; use Illuminate\Http\Request; class UserController extends CrudController { const SORT = 'name'; public function getModelName(): string { return User::class; } }
<div class="d-sm-flex align-items-center justify-content-between mb-4"> <h4 class="text-muted"><?= $bimbingan->judul_pengajuan; ?></h4> <div> <a href="<?=base_url('bimbingan/jadwal_mhs/').$bimbingan->pengajuan_id?>" class="btn btn-secondary"> <i class="fa fa-arrow-left fa-sm text-white-50"><...
<?php namespace App; use Illuminate\Database\Eloquent\Model; /** * App\Product * * @property-read \Illuminate\Database\Eloquent\Collection|\App\GroupPrice[] $groupPrice * @mixin \Eloquent * @property int $entity_id * @property int|null $entity_type_id * @property int|null $attribute_set_id * @property string...
<?php namespace App\Http\Requests\API; use App\Models\Article; use App\Models\Cert; use InfyOm\Generator\Request\APIRequest; class UpdateCertAPIRequest extends APIRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Carbon; class Usuarios extends Migration { public function up() { Schema::create('usuarios', function (Blueprint $table) { $table->id...
<?php namespace App; use App; use Illuminate\Database\Eloquent\Model; class ProductAttribute extends Model { /** * The attributes that are mass assignable. * * @var array */ const TYPE_TEXT_BOX = 1; const TYPE_TEXT_AREA = 2; const TYPE_IMAGE ...
@extends('backEnd.layoutes.mastar') @section('title','Labs Register') @section('content') @include('backEnd.layoutes.navbar') <section class="signup-step-container col-md-6 container bg-registr"> <div class="container mb-5"> <div class="row d-flex justify-content-center"> <div class="col-md-10">...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'user/plugins/login/login.yaml', 'modified' => 1446313817, 'data' => [ 'enabled' => true, 'built_in_css' => true, 'route' => false ] ];
@extends('admin.layouts.frame') @section('BlockTitle','Users | List') @section('content') <span style="color: #aaa;">[+]&nbsp;Create New User</span> <hr/> @if($items->count()) <table class="table"> <thead> <tr> <th>User ID</th> <th>Name</th>...
<?php /** * SlideDeck Lens Model * * Model for handling CRUD and other basic functionality for Lens management * * @author dtelepathy * @package SlideDeck */ /* Copyright 2012 digital-telepathy (email : support@digital-telepathy.com) This file is part of SlideDeck. SlideDeck is free software...
<?php use Bpost\BpostApiClient\Common\BasicAttribute; use Bpost\BpostApiClient\Exception\BpostLogicException; use Bpost\BpostApiClient\Exception\BpostLogicException\BpostInvalidLengthException; use Bpost\BpostApiClient\Exception\BpostLogicException\BpostInvalidPatternException; use Bpost\BpostApiClient\Exception\Bpost...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Vs\V20181212\Models; use AlibabaCloud\Tea\Model; class BatchUnbindPurchasedDevicesRequest extends Model { /** * @var int */ public $ownerId; /** * @var string */ public $deviceId; protect...
<?php /** * Model genrated using LaraAdmin * Help: http://laraadmin.com */ namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Souscategory extends Model { use SoftDeletes; protected $table = 'souscategories'; protected $hidden = [ ...
<?php use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; // This file has been auto-generated by the Symfony Dependency Injection Component for internal use. // Returns the public 'prestashop.adapter.performance.smarty.form_handler' shared service. return $this->services['prestashop.adapter.perf...
<?php /** * (c) NetSuite, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace SellerWorks\NetSuite\Model; /** * GetSavedSearchRequest */ class GetSavedSearchRequest { /** * @access public ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Framework Básico: <?php //if(isset($this->titulo)) { echo $this->titulo; } ?></title> <link rel="stylesheet" type="text/css" href="<?php //echo $_layoutParams["ruta_css"]; ?>style.css"> </head> <body> <h2> Layout website <...
<?php include_once("inc/config.php"); include_once('lib/global.php'); $domainname = ""; // depreciated, this is checked in view.php now to support chaning the domain name. $key = $_GET['key']; $type = "UNDEFINED"; $directlinking = false; $maxfoldersize_enabled = 0; $maxfoldersize_inmb = 0; $deleteafterxdays_enable...
<?php /* WebProfilerBundle:Collector:twig.html.twig */ class __TwigTemplate_f6c941b75b220fde69fda2686e84195dd33c1a7af4e68cca7b5cd833247c556e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemp...
<?php namespace App\Entity; use App\Repository\ItemsRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * @ORM\Entity(repositoryClass=ItemsRepository::class) * @ORM\Entit...
<?php namespace App\Http\Controllers; use App\Exports\InvoicesExport; use Exception; use App\Models\User; use App\Models\Invoice; use App\Models\Section; use Illuminate\Http\Request; use App\Models\InvoiceDetail; use App\Models\InvoiceAttachment; use App\Notifications\invoice_added; use Illuminate\Support\Facades\DB;...
<?php /** * Created by PhpStorm. * User: galat * Date: 07/03/2019 * Time: 14:49 */ namespace common\boxme\models; use yii\base\Model; class Shipment extends Model { /** * @var string */ public $content; /** * @var */ public $cod_amount; /** * @var integer */ ...
<?php session_start(); if(isset($_SESSION)) { $Numero_Dossier = htmlentities($_SESSION['NumeroDossier']); echo $Numero_Dossier; } ?>
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?php namespace App\Models; use CodeIgniter\Model; class ConsignmentModel extends Model { protected $table = 'consignments'; protected $primaryKey = 'consignment_id'; protected $returnType = 'array'; protected $allowedFields = [ 'price', 'consignment_fee', 'name', 'composition', 'weight',...
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="{{ app()->getLocale() }}" dir="rtl"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8" /> <meta name="X-CSRF-TOKEN" conten...
<?php namespace Emeraldion\Tramezzino\Test; error_reporting(E_ALL | E_STRICT); require_once(__DIR__ . '/fixtures.php'); use Emeraldion\Tramezzino\Parser; use PHPUnit\Framework\TestCase; class ParserTest extends \PHPUnit_Framework_TestCase { function test_exists() { // $this->assertTrue(is_callable(ar...
<?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 a...
@extends('monitoring.mtc.layouts.app3') @section('content') <div class="container2"> <div class="row" id="box-body" name="box-body"> <div class="col-md-12"> <div class="box"> <div class="box-header with-border"> <center> <h3 class="box-title" id="box-title" name=...
<!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.0"> <title>Form Create</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" ...
<?php /** * Top Menu English lexicon topic * * @language en * @package modx * @subpackage lexicon */ $_lang['about'] = 'آشنایی با مادایکس'; $_lang['about_desc'] = 'Learn more and get help with MODX'; $_lang['access_permissions'] = 'Access Permissions'; $_lang['access_permissions_desc'] = 'Manage user group access...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { protected $fillable = ['id', 'task_name', 'task_description']; public function status() { return $this->belongsTo('App\Status'); } }