text
stringlengths
2
1.03M
<?php if (displayError()): ?> <p class="error-message"><?php echo $_SESSION['error']; ?></p> <?php unset($_SESSION["error"]); ?> <?php endif; ?>
<?php // Turn off default WP classes function discard_menu_classes($classes, $item) { return (array)get_post_meta( $item->ID, '_menu_item_classes', true ); } add_filter('nav_menu_css_class', 'discard_menu_classes', 10, 2); add_filter('nav_menu_item_id', 'my_css_attributes_filter', 100, 1); add_filter('page_css_class...
<div class="{{$viewClass['form-group']}} {!! !$errors->has($errorKey) ? '' : 'has-error' !!}"> <label for="{{$id}}" class="{{$viewClass['label']}} control-label">{{$label}}</label> <div class="{{$viewClass['field']}}"> @include('admin::form.error') <div class="input-group" style="width: 150p...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { $this->app->register(\Rollbar\Laravel\RollbarServiceProvider::cla...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/services/campaign_audience_view_service.proto namespace GPBMetadata\Google\Ads\GoogleAds\V6\Services; class CampaignAudienceViewService { public static $is_initialized = false; public static function initOnce()...
<?php declare(strict_types=1); namespace Symplify\EasyCI\Twig; use Symplify\EasyCI\Template\RenderMethodTemplateExtractor; use Symplify\SmartFileSystem\SmartFileInfo; final class TwigAnalyzer { /** * @var RenderMethodTemplateExtractor */ private $renderMethodTemplateExtractor; public function...
<?php namespace App\Http\Controllers\administration; use App\Http\Controllers\Controller; use App\Repositories\administrator\contractfeeRepository; use App\Repositories\administrator\currencyRepository; use App\Repositories\administrator\establishmentRepository; use App\Repositories\administrator\thresholdRepository;...
<?php namespace OweUBot\TelegramCommands; use Telegram\Bot\Commands\Command; use Telegram\Bot\Actions; use \OweUBot\User; class LogoutCommand extends Command { /** * @var string Command Name */ protected $name = "logout"; /** * @var string Command Description */ protected $description = "Logout fro...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\TaskController; use App\Http\Controllers\WelcomeController; use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | Web Routes |------------------------------------------------------------------...
<?php /** * RSS2 Feed Template for displaying RSS2 Comments feed. * * @package WordPress */ header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true); echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules...
<?php namespace framework\crypt; /** * Class Des * @package framework\crypt */ class Des { /** * 加密字符串 * @param string $str 字符串 * @param string $key 加密key * @param integer $expire 有效期(秒) * @return string */ public static function encrypt(string $str, string $key, $expire = 0):...
<?php use yii\helpers\Html; use yii\bootstrap4\ActiveForm; use yii\helpers\Url; /* @var $this yii\web\View */ /* @var $form yii\bootstrap4\ActiveForm */ /* @var $model \app\models\SignupForm */ $this->title = 'Sign Up'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="container login-container"> <...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Editora; class EditorasController extends Controller { // public function index(){ $editoras = Editora::paginate(4); return view ('editoras.index', [ 'editoras'=>$editoras ]); } ...
<?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 */ namespace ...
<?php /* @EasyAdmin/css/easyadmin.css.twig */ class __TwigTemplate_af6a4ac46a4fd7aa5ae464752341aa2cb54d85083c9d49025826399c014b63db extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\Admin\ProductSizeRequest; use App\Repositories\ProductRepository; use App\Repositories\ProductSizeRepository; use App\Services\ProductSizeService; use Illuminate\Http\Request; class ProductSizeController extends Co...
<?php /**************************************************************************** * todoyu is published under the BSD License: * http://www.opensource.org/licenses/bsd-license.php * * Copyright (c) 2012, snowflake productions GmbH, Switzerland * All rights reserved. * * This script is part of the todoyu project. * Th...
<?php namespace App\Http\Controllers\Api; use App\Http\Resources\UsersCollection; use App\Models\User; use App\Http\Controllers\Controller; class UsersController extends Controller { public function index() { return new UsersCollection(User::where('status',1)->orderBy('id', 'asc')->get()); }...
<!-- Navbar --> <nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top "> <div class="container-fluid"> <div class="navbar-wrapper"> <a class="navbar-brand" href="#">{{ $titlePage }}</a> </div> <button class="navbar-toggler" type="button" data-toggle="collapse" aria-control...
<?php return array( 'router' => array( 'routes' => array( 'zeus' => array( 'child_routes' => [ 'hermes' => array( 'type' => 'Literal', 'options' => array( 'route' => '/hermes', ...
<?php session_start(); require_once('../classes/db_class.php'); include('../includes/config.php'); if(!isset($_SESSION['adminid'])){ header('location: login'); } ///id seession $uid = $_SESSION['adminid']; //class object $object = new DbQueries(); $current_admin_details = $objec...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <header class="text-gray-600 body-font"> <div class="container mx-auto flex ...
@extends('base') @section('title', 'Evaluacion') @section('content') <div class="right_col" role="main"> </div> @endsection @section('scripts') <script> $(document).ready(function() { console.log("listo!"); }); </script> @endsection
<?php /** * @see https://github.com/mezzio/mezzio-authentication for the canonical source repository * @copyright https://github.com/mezzio/mezzio-authentication/blob/master/COPYRIGHT.md * @license https://github.com/mezzio/mezzio-authentication/blob/master/LICENSE.md New BSD License */ declare(strict_typ...
@component('mail::message') # Your Post was Liked {{ $liker->name }} Liked one of your Posts @component('mail::button', ['url' => route('posts',$post)]) View Post @endcomponent Thanks,<br> {{ config('app.name') }} @endcomponent
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php namespace App\Controller; use App\Entity\Commentaire; use App\Repository\ApprenantRepository; use App\Repository\BriefRepository; use App\Repository\FormateurRepository; use Doctrine\ORM\EntityManagerInterface; use App\Repository\StatutLivrableRepository; use App\Repository\LivrablePartielRepository; use App\Re...
<?php declare(strict_types=1); namespace Flextype; use Flextype\Component\Arr\Arr; use Flextype\Component\Filesystem\Filesystem; use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use function count; use function Flextype\Component\I18n\__; use function is_arr...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class summaryController extends Controller { public function index($value='') { return view('summary.device'); } public function printer_index($value='') { return view('summary.printer'); } public function networ...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Formation * * @ORM\Table(name="formations") * @ORM\Entity(repositoryClass="AppBundle\Repository\FormationsRepository") */ class Formation { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * ...
<?php /** * This file is part of the JordiLlonchDeployBundle * * (c) Jordi Llonch <llonch.jordi@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace JordiLlonch\Bundle\DeployBundle\Service; use Symfony\Component\...
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20190624091155 extends AbstractMigration { public function getDescription() : string {...
<!DOCTYPE html> <html> <head> <title>Invoice</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> /* -- Base -- */ body { font-family: "DejaVu Sans"; } html { margin: 0px; padding: 0px; ...
@extends ('layout') @section('content') <h1> Update Article</h1> <form method="POST" action="/articles/{{$article->id}}"> @csrf @method('PUT') <div class="form-group"> <label>Title</label> <input type="textfield"class="form-control" name="title" id="title" value="{...
@if (count($topics)) <ul class="list-group mt-4 border-0"> @foreach ($topics as $topic) <li class="list-group-item pl-2 pr-2 border-right-0 border-left-0 @if($loop->first) border-top-0 @endif"> <a href="{{ route('topics.show', $topic->id) }}"> {{ $topic->title }} </a> <span class="me...
<?php namespace Wikidata; use GuzzleHttp\Client; use GuzzleHttp\RequestOptions; use MCC\Component\Proxy\Proxy; class HttpClient extends Client { public function __construct(?Proxy $proxy) { $clientConfig = []; if ($proxy instanceof Proxy && !empty($proxy->getHost())) { $proxyRequ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AlterBankerSpendTableChangeInvoiceIdToNullable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Sch...
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
<div> <h3 class="mt-4">Registered roles</h3> <div class=""> <!-- Button trigger modal --> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop"> new role </button> <!-- Modal --> <div class="modal fade" id="staticBackdrop" data-bs-backdrop="s...
<div class="logo"> {{ $slot }} </div>
<?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 use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AlterTableExpencesCategories extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::ta...
<?php if ( ! class_exists( 'WP_List_Table' ) ) { require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); } class Flamingo_Inbound_Messages_List_Table extends WP_List_Table { private $is_trash = false; private $is_spam = false; public static function define_columns() { $columns = array( 'cb' ...
@if(count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach($errors->all() as $error) <li>{{$error}}</li> @endforeach </ul> </div> @endif
<div class="tooltip" id="tooltip_<?php echo $data->id; ?>"> <?php $this->renderPartial('_tooltip', array('data' => $data)); ?> </div> <div class="view_user" id="user_<?php echo $data->id;?>"> <?php $online = ''; if(Yum::hasModule('profile') && Yum::module('profile')->enablePrivacySetting) { if($data->privacy && ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Laporan Pengembalian</title> <style type="text/css"> ...
<?php namespace Puja\Bob\Module\System\Model\DataGrid; class ConfigureGroup extends DataGridAbstract { public function getTitle() { return 'Configure Group'; } public function getActions() { return array('update', 'delete'); } public function getEvents() { retu...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ConfirmUsers extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('confirm_users', funct...
@section('header') <header class="page-header container"> <div class="page-header__logo logo"> <a class="logo__link" href="/" aria-label="Ссылка на главную страницу"> <svg class="logo__img" role="img" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="84px" height="84px" viewBox="0 0 1000 1000">...
<?php namespace Classiebit\Eventmie\Http\Controllers\Auth; use Facades\Classiebit\Eventmie\Eventmie; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Classiebit\Eventmie\Models\User; use Illuminate\Support\Facades\Hash; use Laravel\Socialite\Facades\Socialite; use Illuminate...
<?php return [ "title" => "前端 | Kementerian Perdagangan RI", "title2" => "印尼贸易数字促销", "prodtitle" => "会员产品", "moreproduct" => "更多产品", "categorytitle" => "类别清单", "hotlisttitle" => "热门名单", "exporter" => "Eksporter", "code" => "Code", "category" => "Category", "color" => "Color", ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class WhiteListLoginAccountsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('whitel...
<?php /** * GroupsApi * PHP version 5 * * @category Class * @package Kinow\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Server API * * Reference for Server API (REST/Json) * * OpenAPI spec version: 1.4.58 * * Generated by: https://github.c...
<?php /** * Created by PhpStorm. * User: lychee * Date: 2018/5/7 * Time: 17:54 */ namespace console\controllers; use yii\console\Controller; use Yii; class MailController extends Controller { public function actionSend() { Yii::$app->mailer->compose( ['html'=>'notice-html', 'text'=>'notice-text'...
<?php /** * FecShop file. * * @link http://www.fecshop.com/ * * @copyright Copyright (c) 2016 FecShop Software LLC * @license http://www.fecshop.com/license/ */ return [ 'payment' => [ /** * 不需要释放库存的支付方式。譬如货到付款,在系统中 * pending订单,如果一段时间未付款,会释放产品库存,但是货到付款类型的订单不会释放, * 如果需要释放产品库...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('productos', f...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('images', functio...
@extends('backend.master') @section("title-page", "Sửa thông tin câu hỏi") <?php $open = "test"?> @section('content') <script> var options = { filebrowserBrowseUrl: '{{ asset('ckfinder/ckfinder.html') }}', filebrowserImageBrowseUrl: '{{ asset('ckfinder/ckfinder.html?type=Images') }...
<?php /** * EZMap plugin for Craft CMS 3.x * * EZMap integration for Craft CMS * * @link https://billyfagan.co.uk * @copyright Copyright (c) 2018 Billy Fagan */ namespace billythekid\ezmap\fields; use billythekid\ezmap\EZMap; use Craft; use craft\base\ElementInterface; use craft\base\Field; use craft\hel...
<?php namespace App\Database\Migrations; use CodeIgniter\Database\Migration; class Provinsi extends Migration { public function up() { $this->forge->addField([ 'provinsi_id' => [ 'type' => 'INT', 'constraint' => 11, 'unsigned' => true, 'auto_increment' => true, ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CashInHand extends Model { protected $table = 'orders'; }
@extends('v2.baseLayout') @section('title', 'Receivables Report') @section('body') <script type="text/javascript" src="{!! asset('/js/highcharts.js') !!}"></script> <script type="text/javascript" src="{!! asset('/js/exporting.js') !!}"></script> <script type="text/javascript" src="{!! asset('/js/receivable...
<div id="footer"> <p>&copy; 2018 suparmin.test</p> </div>
<!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"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>@yield...
<?php namespace wesleyhott\Laravue\Commands; use Illuminate\Support\Str; class LaravueMigrationCommand extends LaravueCommand { /** * The name and signature of the console command. * * @var string */ protected $signature = 'laravue:migration {model*} {--f|fields=} {--x|mxn} {--i|view : bu...
<?php // // Copyright (C) 2018 Authlete, 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 ...
<?php /* * The MIT License * * Copyright 2017 Robert Pustułka <r.pustulka@robotusers.com>. * * 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 limi...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class assignStudentNotification extends Notification { use Queueable; private $details; /** * Cre...
<?php //dezend by http://www.yunlu99.com/ if (!defined('IN_IA')) { exit('Access Denied'); } require EWEI_SHOPV2_PLUGIN . 'merch/core/inc/page_merch.php'; class Category_EweiShopV2Page extends MerchWebPage { public function main() { global $_W; global $_GPC; $list = pdo_fetchall('SELECT * FROM ' . tablename('e...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this controlle...
@extends('layouts.app') @section('content') <div style="width:auto%; margin-left:auto; margin-right:auto;" class="align-middle"> {{-- <div> <img class="logo" style="display: block; margin-left:auto; margin-right:auto; width:30% background-color:whitesmoke;" src="img/Kenya-logo.webp" alt="National Logo"/> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('UserModel'); $this->lang->load('login', 'portuguese'); } public function index() { $this->load->helper('url'); ...
<?php declare(strict_types=1); /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tests\Localization; /** * @group localization */ c...
<!DOCTYPE html> <html> <head> <!-- Title --> <title>Navbar Settings</title> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta charset="UTF-8"> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="author" content="Aris Putra Buana...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Vpc\V20160428\Models\CreateNatGatewayResponse; use AlibabaCloud\Tea\Model; class bandwidthPackageIds extends Model { /** * @var string[] */ public $bandwidthPackageId; protected $_name = [ 'bandwidt...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categories',...
<?php namespace net\authorize\api\controller; use net\authorize\api\contract\v1\AnetApiRequestType; use net\authorize\api\controller\base\ApiOperationBase; class DeleteCustomerPaymentProfileController extends ApiOperationBase { public function __construct(AnetApiRequestType $request) { $resp...
@extends ('layouts.layout_admin') @section('content') <title>Complaint List</title> <script type="text/javascript" class="init"> $(document).ready(function() { $('#itemList').DataTable({ "pageLength": 5, "lengthMenu": [ [5, 10, 25, 50, -1],...
<?php /** * The header for our theme * * This is the template that displays all of the <head> section and everything up until <div id="content"> * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package B2W */ ?> <!doctype html> <html <?php language_attributes(); ?>...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTableAuthors extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('authors', funct...
<?php declare(strict_types=1); namespace Vdlp\Redirect\Classes\Testers; use Backend; use Request; use Vdlp\Redirect\Classes\Exceptions\InvalidScheme; use Vdlp\Redirect\Classes\Exceptions\NoMatchForRequest; use Vdlp\Redirect\Classes\TesterBase; use Vdlp\Redirect\Classes\TesterResult; final class RedirectMatch extend...
<?php use yii\helpers\Html; $this->title = 'Обновить предстоящий сеанс'; $this->params['breadcrumbs'][] = ['label' => 'ВКС', 'url' => ['/vks']]; $this->params['breadcrumbs'][] = ['label' => 'Журнал', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="tool-create"> <div class="col-l...
<div class="contents"> <h1>JavaScript Compressor</h1> <p>Paste your JS code in the textbox below and COMPRESS !</p> <form action="<?php echo \Lobby::u();?>" method="POST"> <center> <textarea name="code"></textarea></textarea><cl/> <button style="font-size: 18px;">Compress</button> </center> ...
@extends('front.master') @section('content') <div class="container mt-40"> <form method="POST" action="https://martfury.botble.com/checkout/fc6f48ec949f1c8e792c515e0440936c/process" accept-charset="UTF-8" class="checkout-form payment-checkout-form" id="checkout-form"><input name="_token" type="h...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php declare(strict_types=1); namespace SwoftTest\Http\Server\Testing; use Swoft\Http\Server\Annotation\Mapping\Controller; use Swoft\Http\Server\Annotation\Mapping\RequestMapping; /** * Class TestController * * @Controller("fixture/test") */ class TestController { /** * @RequestMapping() * @retur...
<?php namespace Kladislav\LaravelChunkUpload\ChunkTests\Handler; use Illuminate\Http\Request; use Illuminate\Http\UploadedFile; use PHPUnit\Framework\TestCase; use Kladislav\LaravelChunkUpload\Config\FileConfig; use Kladislav\LaravelChunkUpload\Handler\NgFileUploadHandler; class NgFileUploadHandlerTest extends TestC...
<?php abstract class PhutilProxyIterator extends Phobject implements Iterator { private $iterator; private $key; private $value; private $valid; public function __construct(Iterator $iterator) { $this->iterator = $iterator; } protected function didReadValue($value) { return $value; } /...
<!DOCTYPE html> <?php session_start(); require_once dirname(__FILE__).'/include/config.inc'; ?> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="descripti...
<?php namespace App\Models\Admin; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UserKycDetail extends Model { use HasFactory; protected $table = "user_kyc_details"; protected $fillable = ['user_id', 'pan_no', 'aadhar_no', 'user_img', 'pan', 'cheque...
@extends('app') @section('content') <div class="container"> <h3>Editando Produto: {{$product->name}}</h3> @include('errors._check') {!! Form::model($product, ['route' => ['admin.products.update', $product->id]]) !!} @include('admin.products._form') <div class="fo...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSavedSearchesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('saved_sea...
<?php namespace App\Http\Middleware; use Closure; class Localization { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { // Check header requ...
@extends('layouts.app') @section('template') <style> .form-control:focus, .form-control:hover { border-bottom-width: 2px; } form .form-group:last-of-type { margin-bottom: 0; } .alert>p { margin-bottom: 0; } .card { margin-bottom: 20vh; overflo...
<div class="text-center"> <p class="text-xl font-bold">{{ __('Zarejestruj sie jako kandydatka', THEME_SLUG) }}</p> <p class="mt-4">{{ __('Zarejestruj sie przez', THEME_SLUG) }}</p> @include('partials.app-forms.social-auth') @if(isset($_SESSION['register']['register_status']) && $_SESSION['register']...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php namespace Illuminate\Database\Eloquent\Relations; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\ModelNotFoundException; class HasManyThrough extends Re...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Traits\FormatDates; class SelfRepurchaseCommision extends Model { use HasFactory,FormatDates; protected $guarded=[]; protected $table="self_repurchase_commision"; }