text
stringlengths
2
1.03M
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
<?php /** * Test: Nette\Database\Table\SqlBuilder: Escaping with SqlLiteral. * * @author Jan Skrasek * @package Nette\Database * @dataProvider? databases.ini */ require __DIR__ . '/connect.inc.php'; // create $connection Nette\Database\Helpers::loadFromFile($connection, __DIR__ . "/files/{$driverName}-n...
<?php namespace GitList\Component\Git\Model; class Symlink { protected $mode; protected $name; protected $path; public function getMode() { return $this->mode; } public function setMode($mode) { $this->mode = $mode; } public function getName() { r...
<?php namespace App\Infrastructure\Persistence\Exception; use App\Domain\User\ValueObject\UserId; final class UserNotFoundException extends EntityNotFoundException { public static function byId(UserId $id): self { return new self(sprintf('User not found with id "%s"', $id->toString())); } }
<?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\PropertyAccess\Tests; use Symfony\Component\PropertyA...
<?php class Komentar extends CI_Controller { public function __Construct() { parent::__Construct(); if($this->session->userdata('level') != 'siswa'){ redirect(base_url("/Login")); }else{ $this->load->model('M_data_master'); $this->load->model('M_data_abs...
@extends('admin.layout.master') @section('Warping') active @endsection @section('content') <div class="row page-titles"> <div class="col-md-12 align-self-center"> <h4 class="theme-cl">Add Warping</h4> </div> </div> @include('admin.layout.errors') <!-- form --> <sty...
<?php namespace App\Http\Controllers; use App\Fournisseur; use Illuminate\Http\Request; use App\Http\Requests\FournisseurRequest; class FournisseurController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Fourni...
<?php namespace WeChat; use Mockery as m; use Simple\Http\Client; use Wechat\Message\WxSendTextMsg; use \Exception; use WeChat\Sdk\AccessToken; use WeChat\Sdk\JsApiTicket; use WeChat\Sdk\SdkParameter; class MockSDK extends Sdk { protected $client = null; public function getHttpClient() { if (null ...
<?php namespace Stsbl\ScmcBundle\Security; /* * The MIT License * * Copyright 2020 Felix Jacobi. * * 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 with...
<!-- 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"> <h1>{title}</h1> </div> <div class="col-sm-6"> ...
<?php /** @noinspection PhpUndefinedClassInspection */ declare(strict_types=1); namespace Elastic\Apm\Tests\ComponentTests\Util; use Ds\Set; use Elastic\Apm\Impl\Log\Logger; use Elastic\Apm\Impl\Util\ObjectToStringBuilder; use Elastic\Apm\Tests\Util\TestLogCategory; use Psr\Http\Message\ResponseInterface; use Psr\H...
<?php namespace App; use App\Traits\EloquentCreateOrUpdate; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Cache; use ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); global $region_prefix_var; $http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '') . '://'; $url = str_replace("index.php", "", $_SERVER['SCRIPT_NAME']); $config['base_url'] = "$http" . $_SERVER['SERVER_NAME'] . "" . $u...
<?php include_once 'blade/view.discussion.blade.php'; include_once COMMON.'class.common.php'; ?> <div class="panel panel-default"> <div class="panel-heading">All the Discussions</div> <div class="panel-body"> <table class="table table-bordered"> <?php $Result = $_DiscussionBAO->getAllDiscu...
<?php namespace App\Http\Controllers\Api; use App\Http\Requests; use App\Http\Controllers\Controller; use GuzzleHttp\Client as GuzzleClient; use DB; use Auth; use Session; use Carbon\Carbon; use App\Models\Post; use App\Models\User; use App\Models\Category; use App\Models\Postview; use App\Models\Comment; use Illumin...
<style> .table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td { border: 1px solid #000000; } img { width: 100%; height: auto; } </style> <div class="panel panel-default"> <div cla...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TinTuc extends Model { // protected $table='tintuc'; public function loaitin() { return $this->belongsTo('App\LoaiTin','idLoaiTin','id'); } public function comment() { return $this->hasMany('App\Comment','idTin...
<?php namespace sagaco\DsagacoBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * ESagaco.tbEstadoPrueba * * @ORM\Table(name="e_sagaco.tb_estado_prueba") * @ORM\Entity(repositoryClass="sagaco\DsagacoBundle\Entity\clEstadoPruebaRepository") */ class clEstadoPrueba { /** * @var integer * * @O...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class CommentLike extends Model { use HasFactory; protected $guarded = []; public $timestamps = false; public function comment() { return $this->hasOne(Comment::cl...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Behat\Context\Setup; use Behat\Behat\Context\Context; use Sylius\Component\Attribute...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ return arr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAuditoryLessonTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('auditory...
<?php declare(strict_types = 1); ini_set('display_errors', '1'); ini_set('display_startup_errors', '1'); error_reporting(E_ALL); require_once __DIR__ . "../vendor/autoload.php"; use Optios\Payconiq\PayconiqApiClient; $apiKey = 'MY_PAYCONIQ_API_KEY'; $client = new PayconiqApiClient($apiKey, null, false); $client->c...
<?php namespace app\modules\m\controllers; use app\common\services\ConstantMapService; use app\common\services\oauth\ClientService; use app\common\services\oauth\WeixinService; use app\common\services\QueueListService; use app\models\member\Member; use app\models\oauth\OauthMemberBind; use app\modules\m\controllers\com...
<?php namespace Codeception\Command; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Outp...
<?php declare(strict_types=1); /** * PHP Deal framework * * @copyright Copyright 2019, Lisachenko Alexander <lisachenko.it@gmail.com> * * This source file is subject to the license that is bundled * with this source code in the file LICENSE. */ namespace PhpDeal\Functional\Ensure\InterfacePropagation; use Ph...
<?php namespace App\Http\Controllers; use App\Models\Todo; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** * Show t...
<?php namespace App\Http\Livewire; use Livewire\Component; class SelectorCantidad extends Component { public function render() { return view('livewire.selector-cantidad'); } }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<?php namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2; /** * @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 * @xmlType InspectionMethodCodeType * @xmlName InspectionMethodCode * @var oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2\Insp...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; /** * PurchaseSearch represents the model behind the search form of `app\models\Purchase`. */ class PurchaseSearch extends Purchase { /** * {@inheritdoc} */ public function rules() { return [ ...
<?= $this->extend('auth/master/master'); ?> <?= $this->section("main"); ?> <div class="container"> <div class="login-screen row align-items-center"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12"> <form action="" methhod="POST"> <div class="login-container"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLevelTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('level', function ...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; class AuthController extends Controller { public function login(){ return view('auth.login'); } public function doLogin(Request $reque...
<?php $message = ' <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Smart forms - Email message template </title> </head> <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> <center> <table style="padding:30px 10px;backgrou...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateJobCostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('job_costs', function (Blueprint $table) ...
<section id="portfolio"> <div class="container"> <div class="center"> <?php foreach ($pages_single as $page):?> <h2><?= $page['title'] ?></h2> <?php endforeach ?> </div> <ul class="portfolio-filter text-center"> ...
@extends('layouts.main') @section('title', 'Pms Leave Settings') @section('header') @include('inc.header') @endsection @section('sidebar') @include('inc.sidebar') @endsection @section('content') <div class="uk-grid"> <div class="uk-width-large-10-10"> <div class="uk-grid uk-grid-medi...
<?php /* $Id: account.php,v 1.13 2003/07/11 09:04:22 jan0815 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Ihr Konto'); define('HEADING_TITLE', 'Ihre pers&ouml;nlichen Date...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class Message extends Controller { // //backend CRUD for Memory public function list(){ $data=DB::table('message')->get(); return view('backend.message.list',compact('data')); } ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Type extends Model { use SoftDeletes; protected $fillable = ['name']; /** * 该品类的商家。(反向关联) */ public function stores() { return $this->belongsToMany('App\Models\...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function(Blueprint $table) { $table->increments('id'); $...
<?php namespace Splitter{ /** * @author Jure Murovec <murovec.jure@gmail.com> * @link https://github.com/MuriJ/MSISDN-Splitter */ class functions{ /** * @param object $obj stdClass class containing properties(MSISDN,Dial,Code,Number,Country,MNO) * * @throws \InvalidArgumentExcep...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * 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.md. * It is also ...
@extends('main') @section('content') <div class="card mb-4"> <div class="card-header"> <i class="fas fa-table me-1"></i> DataTable Example </div> <div class="card-body"> <table id="datatablesSimple"> <thead> <tr> <th>#</th> ...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}"> <...
<?php namespace go\core\db; use Exception; use go\core\App; use go\core\orm\Record; use PDO; /** * Class that fetches database column information for the ActiveRecord. * It detects the length, type, default and required attribute etc. * * @copyright (c) 2014, Intermesh BV http://www.intermesh.nl * @author Merij...
<?php require_once __DIR__ . '/../vendor/autoload.php'; \Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\HolidayPackageTypeSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="holiday-package-type-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' =>...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class System_Settings extends CI_Controller { public function index() { $headerData = array( "pageTitle" => "System_Settings", "stylesheet" => array("system_Settings.css","style.css") ); $footerData = array( "jsFiles" => array("...
@extends('layouts.main') @section('title', 'Create') @section('body') <div id="" class="col-md-6 offset-3"> <h1>Adicionar Pessoa</h1> <form action="/pessoas" method="post" enctype="form-data"> @csrf <div class="form-group"> <label for="nome">Nome (Obrigatório)</label> <input type="text" class="form...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/enums/hotel_placeholder_field.proto namespace Google\Ads\GoogleAds\V6\Enums; if (false) { /** * This class is deprecated. Use Google\Ads\GoogleAds\V6\Enums\HotelPlaceholderFieldEnum\HotelPlaceholderField instea...
<?php namespace IndexDash\CLI; interface Options { public static function getSupportedOptions(); }
<?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 $counter = 0; ?> <div role="tabpanel" class="tab-pane fade <?php echo ($counter == 0) ? 'active in' : ''; ?>" id="tab_grid" aria-labelledby="grid-tab"> <ul class="editor-element-items clearfix"> <?php usort($widgets, function ($a, $b) { return strnatcmp($a['title'], $b['title']); }); ?> @foreach ($wi...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\EiaExamTitle; class EiaExamTitleController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $eiaexamtitles = EiaExamTitle:...
<?php /** * @see https://github.com/laminas-api-tools/api-tools-documentation for the canonical source repository * @copyright https://github.com/laminas-api-tools/api-tools-documentation/blob/master/COPYRIGHT.md * @license https://github.com/laminas-api-tools/api-tools-documentation/blob/master/LICENSE.md ...
<?php namespace App\Http\Controllers\Web\Admin; use App\Http\Controllers\Controller; class PurchasesController extends Controller { public function index() { } public function show() { } public function edit() { } }
@extends('layouts.admin') @section('content') <div class="content"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Liste des livraisons</h1> </div> <div class=...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class WelcomeController extends Controller { public function index() { return view('frontend.welcome'); } }
<?php if (!isset($url)) { $url = array(); } ?> <div id="IssuesAdminIndex"> <h2>通報資料</h2> <div class="pull-right col"> <form id="IssueKeywordsForm"> <div class="col"><input type="text" class="form-control" id="IssueKeywords" value="<?php echo $keywords; ?>" /></div> <a href="#" class=...
<?= $this->extend('templates/admin_template') ?> <?= $this->section('content') ?> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Widgets</h1> </div> <d...
<?php namespace FedEx\PickupService\SimpleType; use FedEx\AbstractSimpleType; /** * DistanceUnits * * @author Jeremy Dunn <jeremy@jsdunn.info> * @package PHP FedEx API wrapper * @subpackage Pickup Service */ class DistanceUnits extends AbstractSimpleType { const _KM = 'KM'; const _MI = 'MI'; }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Photo extends Model { // protected $fillable=['path']; protected $upload= '/images/'; public function getPathAttribute($photo){ return $this->upload.$photo; } }
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Tests\Api; use ApiPlatform\...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit43b5bce2201dba259ce2a0e1bc51ee58::getLoader();
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePaymentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('payments', fun...
<?php /** * Created by Hisune EchartsPHP AutoGenerate. * @author: Hisune <hi@hisune.com> */ namespace Hisune\EchartsPHP\Doc\IDE\Series; use Hisune\EchartsPHP\Property; /** * @property boolean $show Default: true * Whether to show the scale. * * @property int $splitNumber Default: 5 * The split scale nu...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; class LoginController extends Controller { public function postlogin(Request $request) { // dd($request->all()); if(Auth::guard('client')->attempt(['email' => $request->email, 'password' => $request->password])){ ret...
<?php class Snowflake { protected static $WORKERID_BITS = 5; protected static $DATACENTERID_BITS = 5; protected static $SEQUENCE_BITS = 12; protected static $EPOCH = 1288834974657; private $workerid; private $datacenterid; private $sequence = 0; private $last_timestamp = 1; public...
<div class="modal fade" id="productView" tabindex="-1" role="dialog" aria-labelledby="productViewTitleId" aria-hidden="true"> <div class="modal-dialog modal-dialog-scrollable" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-tit...
<?php /* AcmeDemoBundle:Secured:layout.html.twig */ class __TwigTemplate_8d7e6bf662b599085950f6d50b5ef86ee849c94489894458020ee8a053db8334 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("AcmeDemoBu...
@foreach ($info as $infoitem) @if ($infoitem->nombre == 'Manucho') <p> {{ $infoitem->nombre }}, {{ $infoitem->descripcion }} Este usuario es Manucho</p> @else <p> {{ $infoitem->nombre }}, {{ $infoitem->descripcion }}</p> @endif @empty ($infoitem->descripcion) <p>>La descripcion e...
<?php declare(strict_types=1); /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Test\Integration\Forms\Form; use Integ...
<?php namespace PHPATParser; class FqcnParser { private $lastTokenType = ''; private $namespace = ''; private $classname = ''; private $classesFound = []; /** * @param string $code * @return Fqcn[] */ public function parse(string $code): array { $tokens = token_get_...
<?php namespace App\Http\Controllers; use App\Models\Category; use Illuminate\Http\Request; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('category.index', ...
<?php final class PhabricatorSlowvotePollController extends PhabricatorSlowvoteController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $poll = id(new Phabrica...
<div id="pagingLabel"> Puslapiai: </div> <ul id="paging"> <?php foreach ($paging->data as $key => $value) { $activeClass = ""; if($value['isActive'] == 1) { $activeClass = " class='active'"; } echo "<li{$activeClass}><a href='index.php?module={$module}&action=list&page={$value['page']}' title=''>{$value['p...
<?php namespace Samples\Sample12; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Reader\IReadFilter; require __DIR__ . '/../Header.php'; $inputFileType = 'Xls'; $inputFileName = __DIR__ . '/sampleData/example2.xls'; /** Define a Read Filter class implementing IReadFilter */ class ChunkReadF...
<?php Yii::setAlias('@common', dirname(__DIR__)); Yii::setAlias('@system', dirname(dirname(__DIR__)) . '/system'); Yii::setAlias('@console', dirname(dirname(__DIR__)) . '/console');
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<!DOCTYPE html> <html lang="es"> <head> <!--<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>--> <meta charset="UTF-8"> <title>Bar Barbacoa Barrero</title> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <link rel="stylesh...
<?php /** @var $user \App\User */ ?> @extends('layouts.app') @section('content') <div class="layout-2cols"> <div class="content grid_12"> @if(session()->has('flash')) <div id="flash">{{session()->get('flash')}}</div> @endif <div class="grid_12 top-info"> <ul class=...
<?php use \Framework\Controller; class indexController extends Controller { public function init(){ /* Initialize action controller here */ } public function indexAction(){ /* Index Action */ } }
<?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 /** * 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 Spatie\SchemaOrg; use \Spatie\SchemaOrg\Contracts\MensClothingStoreContract; use \Spatie\SchemaOrg\Contracts\LocalBusinessContract; use \Spatie\SchemaOrg\Contracts\OrganizationContract; use \Spatie\SchemaOrg\Contracts\PlaceContract; use \Spatie\SchemaOrg\Contracts\StoreContract; use \Spatie\SchemaOrg\...
<?php defined('POPLR') or die(); class Poplr_AppCore { public $poplr = null; public $languages = array( 'en' => 'default', 'ru' => 'russian', ); public function __construct($poplr) { $this->poplr = $poplr; $this->process(); } public function process() { $this->poplr->availActions['index'] = array()...
<?php namespace Omnipay\Paysafecard\Message\Request; use Omnipay\Common\Message\ResponseInterface; use Omnipay\Paysafecard\Message\Response\FetchTransactionResponse; class FetchTransactionRequest extends PaysafecardRequest { public function getPaymentId(): string { return $this->getParameter('payment...
<?php namespace WebRover\Filesystem\Client\Ftp; use FtpClient\FtpClient; use FtpClient\FtpException; use Symfony\Component\Filesystem\Filesystem; use WebRover\Filesystem\FilesystemInterface; use function GuzzleHttp\Psr7\stream_for; /** * Class Client * @package WebRover\Filesystem\Client\Ftp */ class Client imp...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCreatedByColumnToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('user...
<?php declare (strict_types = 1); namespace app\admin\controller\dress; use app\admin\controller\Backend; use think\Request; class Supplier extends Backend { public function __construct(Request $request) { $this->model = new \app\admin\model\Supplier(); parent::__construct($request); } ...
<div class="subtext">{!! $copyright !!}</div> <div class="subtext"><a href="/privacy-policy">Privacy</a> | <a href="/terms-of-service">Terms Of Service</a> | <a href="/contact/create">Contact </a></div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!-- Comp...
<section class="breadcrumb_area breadcrumb2 bgimage biz_overlay"> <div class="bg_image_holder"> <img src="<?= $cdn ?>images/bg/projelerimiz-bg.jpg" alt="Proje Satış Projelerimiz"> </div> <div class="container content_above"> <div class="row"> <div class="col-md-12"> ...
<?php namespace common\components; use Yii; use yii\helpers\FileHelper; //define("SMSC_LOGIN", "Natali37"); // логин клиента //define("SMSC_PASSWORD", "EGENNaK5Q"); // пароль или MD5-хеш пароля в нижнем регистре define("SMSC_LOGIN", "Ncunion"); // логин клиента define("SMSC_PASSWORD", "7...
<?php declare (strict_types=1); namespace mark\auth; use think\facade\Session; use think\facade\Config; use mark\auth\sso\Client; use Psr\SimpleCache\CacheInterface; final class Authorize { public static $expiretime = 'expiretime'; public static $login = 'login'; public static $isLogin = 'isLog...
<?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\Serializer\Normalizer; use Symfony\Component\Serializ...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\BackController; use App\Http\Controllers\AdminController; use App\Http\Controllers\AnakController; use App\Http\Controllers\MakananController; use App\Http\Controllers\BalitaController; use App\Http\Controllers\ClientController; use App\Http\Controll...
<?php /** * Codon PHP Framework * www.nsslive.net/codon * Software License Agreement (BSD License) * * Copyright (c) 2008 Nabeel Shahzad, nsslive.net * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...