text
stringlengths
2
1.03M
<!DOCTYPE html> <?php require 'api/config.php'; if(!ISSET($_SESSION['user'])){ header('location:index.php'); } ?> <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"> ...
<?php namespace App\Repository; use App\Entity\Answers; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @method Answers|null find($id, $lockMode = null, $lockVersion = null) * @method Answers|null findOneBy(array $criteria, array $orderBy = nul...
<?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...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Profile extends MX_Controller { public function get_profile(){ $profile = $this->db->get('data_cashier')->row(); $profile->photo = base_url('prabotan/image/photo/'.$profile->photo); echo json_encode($profile); } public function upd...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSmbCifsCopyConfigsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('smb_...
<?php namespace App\Http\Controllers; use App\Http\Controllers\AdminController; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\category; class CategoryController extends Controller { public function index(){ $categories = category::orderBy('id','desc')->get(); return view('admin.category',compact('categor...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> ...
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Downloader; use Composer\Config...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class Principal extends Controller { public function principal(){ echo 'ola'; } }
<x-public-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> Donation </h2> </x-slot> <div class="p-5 text-center mb-5" style="height: 350px;background-image: url({{ asset('img/article/3.jpg') }});background-attachment: fixed;background...
<?php namespace Flex360\Pilot\Pilot; use Illuminate\Support\Str; class Uploader { public static function singleImage($name, $value = null, $id = null, $params = []) { if (is_null($id)) { $id = $name; } ?> <div class="uploader-new uploader-combo"> <a ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use App\Http\Resources\User as UserResource; use App\Http\Resources\Client as ClientResource; use App\Http\Resources\Type as TypeResource; use App\Http\Resources\Paiement as PaiementResource; class Facture extends JsonResource { ...
<?php namespace Sabre\VObject; use PHPUnit\Framework\TestCase; /** * Tests the cli. * * Warning: these tests are very rudimentary. */ class CliTest extends TestCase { /** @var CliMock */ private $cli; public function setUp() { $this->cli = new CliMock(); $this->cli->stderr = fope...
<?php namespace App\Http\Controllers\Backend\Student; use App\Http\Controllers\Controller; use App\Model\AsignStudent; use App\Model\DiscountStudent; use App\User; use App\Model\StudentClass; use App\Model\Group; use App\Model\StudentShift; use App\Model\Year; use Illuminate\Support\Facades\DB; use PDF; use Illuminat...
<?php date_default_timezone_set('Asia/Calcutta'); //echo date("Y-m-d H:i:s"); include 'connection/connection.php'; connectdb(); $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $email=$_POST['email']; $username=$_POST['username']; $dob=$_POST['dob']; $gender=$_POS...
<?php declare(strict_types=1); use Symfony\Component\Dotenv\Dotenv; require dirname(__DIR__) . '/../vendor/autoload.php'; if (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__) . '/../.env'); (new Dotenv())->bootEnv(dirname(__DIR__) . '/../.env.test'); }
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class NewsUpdateRequest extends BaseRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<?php /** * @file * Default theme implementation to display a single Drupal page. * * Available variables: * * General utility variables: * - $base_path: The base URL path of the Drupal installation. At the very * least, this will always default to /. * - $directory: The directory the template is located in...
@extends('pages.templates.body') @section('title', 'Aberturas General Paz - Categorias') @section('css') <link href="{{ asset('css/pages/categoriaobras.css') }}" rel="stylesheet"/> @endsection @section('contenido') <div class="container" style="width: 70%"> <div class="productos"> <div style=""> ...
<?php /*********************************************************************\ //--------------Mod thread-------------------------------------------// This page gets called if we're editing a thread. Known issues: If multiple threads are moved before forum activity occurs then threads will linger with the 'Moved' fla...
<?php use Spatie\Permission\Models\Permission; use Illuminate\Support\Facades\Auth; return [ 'title' => '权限', 'single' => '权限', 'model' => Permission::class, 'permission' => function () { return Auth::user()->can('manage_users'); }, // 对 CRUD 动作的单独权限控制,通过返回布尔值来控制权限。 'action_permiss...
<?php namespace App\Http\Controllers; use App\maestro; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class MaestroController extends Controller { public function __construct() { $this->middleware('auth'); } public function index() { $maestros = maestro::all();//q...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?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 namespace Magento\Eav\Model\Entity\Attribute; /** * Factory class for @see \Magento\Eav\Model\Entity\Attribute\Group */ class GroupFactory { /** * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface */ protected $_objectManager = null; /** * Instance...
@extends('layouts.auth') @section('title','Reiniciar Clave') @section('content') <div class="block push-bit"> {!! Form::open(['url' => 'resclave/valrespuestas', 'class' => 'form-horizontal form-bordered form-control-borderless' ]) !!} <div class="form-group {{ $errors->has('email') ? ' has-err...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="renderer" content="webkit|ie-comp|ie-stand"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,us...
@extends('layouts.index') @section('style') <style> .ps-vendor-dashboard .thumb-product { width: 80px; } .ps-vendor-dashboard .thumb-product img { width: 100%; } </style> @endsection @section('content') <div class="ps-page--single"> <div class="ps-breadcrumb"> <div ...
@extends('client') @section('content') <section class="wrapper-bottom-sec"> <div class="p-30"> <h2 class="page-title">{{language_data('Pay with Credit Card',Auth::guard('client')->user()->lan_id)}}</h2> </div> <div class="p-30 p-t-none p-b-none"> @include('notificat...
<?php /* This file is auto-generated. Don't edit directly! */ namespace Jsor\Doctrine\PostGIS\Functions; use Doctrine\ORM\Query\AST\Functions\FunctionNode; use Doctrine\ORM\Query\Lexer; use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; class ST_YMin extends FunctionNode { protected $expressions =...
<div class="col-md-6"> <div class="card"> <div class="card-header"> <strong>Edit Labour Payment</strong> </div> <div class="card-body"> <form action="<?php echo base_url().'payments/editLabourPayment/'.$...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; class userController extends Controller { public function index(){ $name = "raihan"; $info = array('A','B','C'); return view('welcome',compact('info')); } public function posts(...
<?php namespace Database\Factories; use App\Models\Order; use App\Models\PickupOffice; use Illuminate\Database\Eloquent\Factories\Factory; use App\Domain\Contracts\OrderContract; use App\Domain\Contracts\PickupOfficeContract; class PickupOfficeFactory extends Factory { /** * The name of the factory's corres...
<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>UC</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js">...
<?php namespace Tests\Unit; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ArchiveActionTest extends TestCase { use RefreshDatabase; /** @test */ public function it_can_pin_project() { $project = factory(Project::class)->create(); app(PinProjectAction::...
<?php /** * Base static class for performing query and update operations on the 'sf_guard_user_group' table. * * * * This class was autogenerated by Propel 1.3.0-dev on: * * 05/19/09 22:02:53 * * @package plugins.sfGuardPlugin.lib.model.om */ abstract class BasesfGuardUserGroupPeer { /** the default da...
<?php require 'inc/_global/config.php'; ?> <?php require 'inc/backend/config.php'; ?> <?php require 'inc/_global/views/head_start.php'; ?> <?php require 'inc/_global/views/head_end.php'; ?> <?php require 'inc/_global/views/page_start.php'; ?> <!-- Page Content --> <div class="content"> <div class="my-50 text-cente...
<?php /* * (c) Jeroen van den Enden <info@endroid.nl> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Endroid\QrCode\Writer; use Endroid\QrCode\QrCodeInterface; use ReflectionClass; use Exception; class DebugWriter extends AbstractWri...
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var array $arParams */ /** @var array $arResult */ /** @var CMain $APPLICATION */ $APPLICATION->IncludeComponent( "bitrix:main.userconsent.selector", "", array( 'ID' => $arParams['ID'], 'INPUT_NAME' => $arParams['INPUT_NAME'], 'PATH_...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redis; class Addcontroller extends Controller { public function redis1() { $key = "aaaa"; $val = "hello world"; Redis::set($key,$val); echo "set 成功"; } public function re...
@if( isset($seeThroughedCard) ) <div class="col-12"> <button class="btn btn-success" onclick="style.visibility ='hidden';document.getElementById('confirmed').submit()">確認が終わったらこのボタンを押してください</button> <div class="card pt-2 pr-2 pb-2 pl-2">透視したカード:{{ $seeThroughedCard }}</div> </div> <form id="confirmed"...
<?php /** * The suspend file of project module of ZenTaoPMS. * * @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) * @license ZPL (http://zpl.pub/page/zplv12.html) * @author Chunsheng Wang<wwccss@gmail.com> * @package project * @ve...
<?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 RectorPrefix20220124\Symfony\Contracts\EventDispatcher; use RectorPrefix...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEntryPlayerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('entry_playe...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class LokasiBuzzer extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'buzzer_id', 'wisata_id', 'waktu_mulai', 'waktu_selesai', 'poin' ]; }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Materia extends CI_Controller { public function __construct() { parent::__construct(); $session = $this->session->has_userdata('usuario'); if($session){ $this->load->Model('Materia_model','dba...
<?php use reception\helpers\UserHelper; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\rbac\Item; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model reception\entities\User */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']]; $this...
<?php declare(strict_types = 1); namespace PHPStan\Type; use PHPStan\TrinaryLogic; trait JustNullableTypeTrait { /** * @return string[] */ public function getReferencedClasses(): array { return []; } public function accepts(Type $type, bool $strictTypes): TrinaryLogic { if ($type instanceof static) {...
<?php namespace Tourbase\Method; use Tourbase\Api; use Tourbase\Model; class Update extends Method { public function __construct() { parent::__construct( self::TYPE_EXISTING_MODEL , Api::METHOD_PUT ); } /** * @param array $response * @return Model */ protected function _parseResponse( $response ) { $t...
<?php /* * This file is part of the KnpDoctrineBehaviors package. * * (c) KnpLabs <http://knplabs.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Knp\DoctrineBehaviors\Model\Translatable; /** * Translation trait...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php namespace App\Http\Controllers; use App\Comment; use App\Http\Requests\PostCommentUpdateController; use App\Http\Requests\PostCommentUpdateRequest; use App\Http\Resources\PostCommentResource; use App\Post; use Illuminate\Http\Request; class PostCommentController extends Controller { public function __const...
@extends('layouts.layout') @section('content') <div id='main-content' role='main'> <div class='campaigns-page'> <div class='vt-page-header'> <div class='vt-page-title'> <h3> <i class='glyphicon glyphicon-th-large'></i> ...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\models\Utilizador */ $this->title = $model->id_utilizador; $this->params['breadcrumbs'][] = ['label' => 'Utilizadors', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="utiliz...
@extends('layouts.app') @section('content') @if (session('status')) <div class="alert success"> {{ session('status') }} </div> @endif <form class="log-in-form" method="POST" action="{{ route('password.email') }}"> {{ csrf_field() }} <h4 class="text-center">Esqueci a senha</h4> <div c...
<?php /* * Copyright 2012 Facebook, 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 ag...
<div class="col-md-12"> <footer class="footer"> <small class="slogon"> {{--<img class="brand-icon" src="https://dn-phphub.qbox.me/uploads/images/201612/12/1/iq7WQc2iuW.png?imageView2/1/w/34/h/34">--}} {{--<a href="http://estgroupe.com/">--}} <a href="{{ route('home') }}">...
<?php use yii\helpers\Url; class LoginCest { public function ensureThatLoginWorks(AcceptanceTester $I) { $I->amOnPage(Url::toRoute('/login')); $I->see('Login', 'h1'); $I->amGoingTo('try to login with correct credentials'); $I->fillField('input[name="Users[email]"]', 'itok.toni...
<?php /** * AchievementTest * * @category AxalianAchievementsDoctrineTest\Entity * @package AxalianAchievementsDoctrineTest\Entity * @author Michel Maas <michel@michelmaas.com> */ namespace AxalianAchievementsDoctrineTest\Entity; use AxalianAchievementsTest\Entity\AchievementTest as BaseAchievementTest; ...
<?php /** * Projects * * The page that hosts all projects I've ever made. * * @package zarth.us * @author Zarthus <zarthus@zarth.us> * @link https://github.com/Zarthus/zarth.us * @license MIT - View http://zarth.us/licenses/zarth.us or the LICENSE.md file in the github repository * @since 22/03/2014 */ def...
<?php use yii\bootstrap4\Html; ?> <!-- begin:: Header Mobile --> <div id="kt_header_mobile" class="kt-header-mobile kt-header-mobile--fixed "> <div class="kt-header-mobile__logo"> <?= \yii\bootstrap4\Html::a(Html::img(Yii::getAlias('@web/media/logos/logo_sistem_uin.png'),['alt'=>'logo','width'=>200,'hei...
<?php declare(strict_types = 1); namespace Tests\Innmind\Math\Geometry\Theorem; use Innmind\Math\{ Geometry\Theorem\AlKashi, Geometry\Angle\Degree, Geometry\Segment, Algebra\Integer, Exception\SegmentsCannotBeJoined }; use PHPUnit\Framework\TestCase; class AlKashiTest extends TestCase { publi...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header">{{ __('Find Dongle Details') }}</div> <div class="card-body"> ...
<script> this.switchInitial=function(){ let _this=this this.switchApiRequest=function(url,id,activate){ fetch(url, { headers: { "Content-Type": "application/json", "Accept": "application/json, text-plain, */*", "X-Requested-With": "XMLHttpRequest", "X-CSRF-TOKEN": "{{csrf_token()}}" ...
<?php /** * contentinum - accessibility websites * * LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. ...
<?php declare(strict_types = 1); namespace Tests\Innmind\IPC\Process; use Innmind\IPC\{ Process\Unix, Process\Name, Process, Protocol, Message, Message\ConnectionStart, Message\ConnectionStartOk, Message\ConnectionClose, Message\ConnectionCloseOk, Message\Heartbeat, Excepti...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use app\widgets\Alert; use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->lang...
<?php class Course_controller extends CI_Controller { public function __construct() { //error_reporting(0); parent::__construct(); $this->load->model('Course_model'); ob_start(); $this->load->helper('url'); $this->load->helper('wizard_helper'); $this->load->helper('form'); ...
<?php namespace Aedart\Tests\Integration\Core\Console; use Aedart\Tests\Helpers\Dummies\Console\Commands\Exceptions\CommandFailure; use Aedart\Tests\TestCases\Console\AthenaeumCoreConsoleTestCase; use Codeception\Configuration; /** * C0_ExceptionHandlingTest * * @group application * @group application-console *...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddFromFieldToPaymentTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('payments...
<?php namespace AtlassianConnectCore\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use AtlassianConnectCore\Facades\Descriptor; use AtlassianConnectCore\Facades\Webhook; use AtlassianConnectCore\Services\TenantService; /** * Class TenantController * * @package AtlassianConnectC...
<?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', functio...
<?php namespace App\Domain\Repositories; use App\Domain\Models\Announcement; use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Fluent; class AnnouncementRepository extends RepositoryAbstract { protected $model = Announcement::class; ...
<div class="container-fluid" style="margin-bottom: 10px;"> <form action="" method="get" id="searchForm"> <div class="row"> <div class="col-lg-2"> <div class="input-group"> <span class="input-group-addon">{{__('words.Platform_type')}}</span> ...
@extends('layouts.front.app') @section('content') <div class="container product-in-cart-list"> @if(!$products->isEmpty()) <div class="row"> <div class="col-md-12"> <ol class="breadcrumb"> <li><a href="{{ route('home') }}"> <i class="fa...
<div class="my-16"> <h2 class="font-bold text-2xl mb-4">1 Comments</h2> <div class="flex"> <div class="flex-none"> <img src="https://via.placeholder.com/60" class="rounded-full"> </div> <div class="ml-4"> <h2 class="font-bold text-xl">John Doe</h2...
<?php namespace Tests\Functional\Location; use Tests\Functional\Base\BaseTestCase; class LocationSelfTest extends BaseTestCase { protected function setUp(): void { $this->login("admin", "admin"); } protected function tearDown(): void { $this->logout(); } public function testOve...
<?php // vim: set et ts=4 sw=4 fdm=marker: // +----------------------------------------------------------------------+ // | PHP versions 4 and 5 | // +----------------------------------------------------------------------+ // | Copyright (c) 1998-2007 Manuel Lemos, Tomas ...
<?php /** * Process * * master(monitor) -> task */ namespace Shy; use Exception; use Shy\Contract\ProcessTask; use Shy\Facade\Hook; class Process { /** * @var array */ private $task; /** * @var array */ private $taskNum; /** * @var int */ protected $masterP...
<?php namespace App\Providers; use App\Api\V1\Modules\Auth\Controllers\Interfaces\IAuthController; use App\Api\V1\Modules\MedicalReimbursement\Controllers\Implement\MedicalReimbursementController; use App\Api\V1\Modules\MedicalReimbursement\Controllers\Interfaces\IMedicalReimbursementController; use App\Api\V1\Module...
<?php namespace Waimai\Meituan; use Waimai\Service\Http; use Waimai\Service\ServiceContainer; class Client { use Http; protected $config; private $appKey; private $secret; const URL = 'https://waimaiopen.meituan.com/api/v1/'; public function __construct(ServiceContainer $app) { ...
<?php /** * @link https://github.com/wbraganca/yii2-fancytree-widget * @copyright Copyright (c) 2014 Wanderson Bragança * @license https://github.com/wbraganca/yii2-fancytree-widget/blob/master/LICENSE */ namespace wbraganca\fancytree; /** * Asset bundle for fancytree Widget * * @author Wanderson Bragan...
<?php final class DifferentialDiffQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $revisionIDs; private $commitPHIDs; private $hasRevision; private $needChangesets = false; private $needProperties; public function withIDs(array $ids) { $this->ids = ...
<?php namespace App\Repositories\Contracts; interface ContactRepositoryInterface { public function add(array $data); public function get($id); public function all(); }
<?php use Scalr\Model\Entity; class Scalr_Scaling_Algorithms_Sensor { public function __construct() { $this->logger = \Scalr::getContainer()->logger(get_class($this)); } public function makeDecision(DBFarmRole $dbFarmRole, Scalr_Scaling_FarmRoleMetric $farmRoleMetric, $isInvert = false) {...
<?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\Bundle\FlowBundle\Controller; use Sylius\Bundle\FlowBundle\Process\Context\ProcessCo...
<?php namespace App; class Request { private $url; const URL_CUR_DAILY = 'http://www.cbr.ru/scripts/XML_daily.asp'; const URL_CUR_PERIOD = 'http://www.cbr.ru/scripts/XML_dynamic.asp'; public function __construct($url, $data) { foreach ($data as $key => $value) { if (empty($value)) { unset($data[$key])...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comments', fun...
--TEST-- hook mysql_connect localhost --SKIPIF-- <?php if (PHP_MAJOR_VERSION >= 7) die('Skipped: no mysql extension in PHP7.'); include(__DIR__.'/../skipif.inc'); if (!extension_loaded("mysql")) die("Skipped: mysql extension required."); ?> --INI-- openrasp.root_dir=/tmp/openrasp --FILE-- <?php include(__DIR__.'/../tim...
@extends('layouts.app') @section('title', 'Create A New Post') @section('content') <div class="container col-md-8 col-md-offset-2"> <div class="well well bs-component"> <form class="form-horizontal" method="post" action=""> @foreach ($errors->all() as $error) ...
<?php /** * Manage Import Export * * @since 2.2 */ class WPUF_Admin_Tools { /** * List of All the post forms * * @return void */ public function list_forms() { $post_data = wp_unslash( $_POST ); if ( isset( $post_data['export'] ) ) { check_admin_referer( 'w...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="UTF-8"> <title>Comment Board</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdE...
<?php namespace Google\AdsApi\AdManager\v202002; /** * This file was generated from WSDL. DO NOT EDIT. */ class LiveStreamEvent { /** * @var int $id */ protected $id = null; /** * @var string $name */ protected $name = null; /** * @var string $description */ ...
<?php /** * Pix_Controller_Helper_Alert * * @package Controller * @copyright 2003-2012 PIXNET Digital Media Corporation * @license http://framework.pixnet.net/license BSD License */ class Pix_Controller_Helper_Alert extends Pix_Helper { public function getFuncs() { return array('alert'); } ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Seguros Venezuela | Panel </title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" na...
<?php namespace Prophecy\Doubler\Generator\Node; use Prophecy\Exception\Doubler\DoubleException; final class ReturnTypeNode extends TypeNodeAbstract { protected function getRealType(string $type): string { switch ($type) { case 'void': case 'never': ...
<?php namespace Corp\Http\Controllers\Admin; use Corp\Category; use Corp\Repositories\ArticlesRepository; use Corp\Repositories\MenusRepository; use Corp\Repositories\PortfoliosRepository; use Illuminate\Http\Request; use Gate; use Menu; class MenusController extends AdminController { protected $m_rep; pub...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Models\Post; use App\Models\Lien; class WelcomeController extends Controller { public function welcome() { $liens= Lien::all(); $posts = Post::all(); return view('welcome', ['liens'=...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="images/favicon.ico"> <tit...