text
stringlengths
2
1.03M
<?php namespace app\modules\images; class Images extends \yii\base\Module { public $controllerNamespace = 'app\modules\images\controllers'; public function init() { parent::init(); // custom initialization code goes here } }
<?php class eVias_Catalogue extends eVias_ArrayObject_Db { protected $_tableName = 'evias_catalogue'; protected $_pk = 'catalogue_id'; protected $_fields = array( 'title', 'description', 'date_creation', 'date_updated' ); public static function loadById($id) { $object = new self; return $object->...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); require APPPATH . '/libraries/REST_Controller.php'; use Restserver\Libraries\REST_Controller; class C_KodeTeman extends REST_Controller { function __construct($config = 'rest') { parent::__construct($config); $this->load->data...
<?php namespace adLDAP\collections; use adLDAP\adLDAP; /** * PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY * Version 5.0.0 * * PHP Version 5 with SSL and LDAP support * * Written by Scott Barnett, Richard Hyland * email: scott@wiggumworld.com, adldap@richardhyland.com * http://github.com/adldap/adLDAP...
<?php namespace Google\AdsApi\Dfp\v201802; /** * This file was generated from WSDL. DO NOT EDIT. */ class LineItemCreativeAssociationErrorReason { const CREATIVE_IN_WRONG_ADVERTISERS_LIBRARY = 'CREATIVE_IN_WRONG_ADVERTISERS_LIBRARY'; const INVALID_LINEITEM_CREATIVE_PAIRING = 'INVALID_LINEITEM_CREATIVE_PAIR...
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\ASF; use JMS\Serializer\Annotation\ExclusionPolicy; u...
<?php /** * ALIPAY API: alipay.data.dataexchange.sfasdf request * * @author auto create * * @since 1.0, 2016-03-18 20:58:13 */ namespace Alipay\Request; class AlipayDataDataexchangeSfasdfRequest extends AbstractAlipayRequest { /** * 1232456374 **/ private $bizContent; public function set...
<?php /** * ContactResponseList * * PHP version 7.2 * * @category Class * @package AllegroApi * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Allegro REST API * * https://developer.allegro.pl/about Documentation is generated from [this](https://developer.allegro.pl/...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\FaqCategory; use Gate; use Illuminate\Http\Request; use Illuminate\Http\Response; class FaqCategoryController extends Controller { public function index() { abort_if(Gate::denies('faq_category_access'), Re...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Contracts\Validation\Validator; use Illuminate\Validation\Rule; class UpdateOrderRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ ...
<?php namespace App\Http\Controllers; use App\cart; use App\product; use Illuminate\Http\Request; use App\Http\Requests; use Session; class productsController extends Controller { public function getIndex(){ $product=product::all(); return view('shop.index',['product' => $product]); } pu...
<?php namespace App; use File; use Illuminate\Database\Eloquent\Model; use Intervention\Image\Facades\Image as InterventionImage; class Image extends Model { protected $guarded = []; protected $fillable = ['border', 'original_path', 'resized_path', 'product_id']; public function product() { ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends CI_Controller { public function index() { $data['title'] = 'My User Profile'; $data['user'] = $this->db->get_where('user', ['email' => $this->session->userdata('email')])->row_array(); $this->load->view('templa...
<!-- 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> ...
<?php namespace App\Console\Commands; use App\Mail\AccountInformation; use Illuminate\Console\Command; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Collection; use DB; class MailSender extends Command { /** * The name and signature of the console command. * * @var string */ ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddColumnCategoryIdToPostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('pos...
<?php /** * Copyright 2020 Google LLC. * * 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 agr...
<?php /** * Recapo <http://recapo.de> * * @link http://github.com/lherich/recapo.de * @copyright Copyright (c) 2014 Lucas Herich <info@recapo.de> * @license MIT License <http://recapo.de/license> */ namespace Recapo\Middleware; /** * */ class DefaultMiddleware extends \Slim\Middleware { /** * ...
<?php namespace Magento\Cms\Controller\Adminhtml\Wysiwyg\Directive; /** * Interceptor class for @see \Magento\Cms\Controller\Adminhtml\Wysiwyg\Directive */ class Interceptor extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Directive implements \Magento\Framework\Interception\InterceptorInterface { use \Magento\...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrderlinesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orderlines',...
<?php /** * Do not edit anything in this file unless you know what you're doing */ use Roots\Sage\Config; use Roots\Sage\Container; /** * Helper function for prettying up errors * @param string $message * @param string $subtitle * @param string $title */ $sage_error = function ($message, $subtitle = '', $titl...
<?php /** * PHPUnit * * Copyright (c) 2001-2014, Sebastian Bergmann <sebastian@phpunit.de>. * 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 ...
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Filters\CSRF; use CodeIgniter\Filters\DebugToolbar; use CodeIgniter\Filters\Honeypot; use App\Filters\AuthFilter; class Filters extends BaseConfig { /** * Configures aliases for Filter classes to * make reading things nicer and simpler. ...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Reports </h1> </section> <div class="content"> @include('adminlte-templates::common.errors') <div class="box box-primary"> <div class="box-body"> <div class="r...
<?php namespace App\Http\Livewire\Frontend\Shop; use Livewire\Component; use App\Models\Frontend\Product; use App\Models\Line; use App\Models\Favorite; use Illuminate\Support\Facades\Auth; class ShopShowComponent extends Component { public $origPhoto, $product_id; public ?bool $getWhislist; // public b...
<?php declare(strict_types=1); require __DIR__.'/header.php'; ?> <?php foreach ($posts as $post): //Loops over each item in posts array?> <article> <div class="content"> <h2><?php echo $post['title']?></h2> <p><?php echo $post['content']?></p> <?php $authorName = getName($post['author'],$aut...
<?php /** * @version $Id: router.php 10381 2008-06-01 03:35:53Z pasamio $ * @package Joomla * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License...
<?php /** * Exception thrown due to invalid fiber actions, such as suspending from outside a fiber. */ final class FiberError extends Error { /** * Constructor throws to prevent user code from throwing FiberError. */ public function __construct() { throw new \Error('The "FiberError" cla...
<?php /** * Laravel NoSQL Configuration file * * Based on standard Laravel database configuration file * * @category Configuration * @package LaravelNosqlConnector * @author Jan Drda <jdrda@outlook.com> * @copyright Jan Drda * @license https://opensource.org/licenses/MIT MIT */ return [ /** * Def...
<?php /** * This file is part of the Phalcon Framework. * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Tests\Unit\Html\Helper\Label; use Codeception\Example; use Phalcon\Html\Escaper...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // $this->call(PostsTableSeeder::class); // $this->call(SiswaSeeder::class); // $this->call(KtpSeeder::...
@extends('master') @section('title', 'Visualitzador avançat de vehicles a motor') @section('content') <div class="container-fluid"> <div class="row"> <div class="col-6"> <div class="card"> <div class="card-header"> Cotxe </div> ...
<?php /* * This file is part of the FOSElasticaBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\ElasticaBundle\Doctrine; use Doctrine\Co...
<?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\Validation; use Illuminate\Support\Fluent; class ConditionalRules { /** * The boolean condition indicating if the rules should be added to the attribute. * * @var callable|bool */ protected $condition; /** * The rules to be added to the attribute. ...
<?php namespace webignition\Tests\HtmlDocumentType\Generator; use webignition\HtmlDocumentType\Generator; class SettersReturnSelfTest extends BaseTest { public function setUp() { $setterMethodName = strtolower(str_replace('test', '', $this->getName())); $generator = new Generato...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\InconsistenciaMaestra */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Inconsistencia Maestras', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class...
<?php namespace Teamwork\Tasks; use Teamwork\ConfirmationCode; class Conclusion { private $conclusions = [ 'mturk' => [[ 'type' => 'sub-header', 'content' => 'You\'ve completed all the tasks!' ], [ 'type' => 'sub-header', ...
<?php /** * NOVIUS OS - Web OS for digital communication * * @copyright 2011 Novius * @license GNU Affero General Public License v3 or (at your option) any later version * http://www.gnu.org/licenses/agpl-3.0.html * @link http://www.novius-os.org */ namespace Nos\BlogNews\Blog; class Model_Tag ...
<?php namespace App\Repositories\Admin; use App\Models\Admin\Users; use App\Repositories\BaseRepository; /** * Class UsersRepository * @package App\Repositories\Admin * @version November 13, 2020, 10:43 am UTC */ class UsersRepository extends BaseRepository { /** * @var array */ protected $fiel...
<!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, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin - Start Bootstrap ...
<?php use yii\helpers\Html; use yii\helpers\Url; use app\assets\AppsAsset; $this->title= 'Fuel Tracker'; AppsAsset::register($this); ?> <div class="apps-index"> <h3>My Vehicles</h3> <?php if(sizeof($cars)> 0){ foreach ($cars as $car) { ?> <div class="panel panel-default" id=...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>@yield('title')</title> <link rel="icon" type="image/png" href="{{ asset('/assets/images/settings/'....
<!DOCTYPE> <html> <head> <meta http-equiv="Content-Type" content="text/html; 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,maxi...
@extends('layouts.admin') @section('title', 'Adição de Tarefas') @section('content') <h1>Adição</h1> @if (session('warning')) <x-alert> {{session('warning')}} </x-alert> @endif <form method="post"> @csrf <label for="title">Titulo<br></label> <input...
<?php /** * Template part for displaying a message that posts cannot be found. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package MelChoyce.Design */ ?> <section class="no-results not-found"> <header class="page-header"> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'choycedesi...
@extends('layouts.app') @section('content') <div class="container"> <div class="card"> <div class="card-body"> <h4 class="card-title"> <a href="{{ route('products.index') }}" class="mr-4" ><i class="icon ion-md-arrow-back"></i ></a> ...
<?php namespace App\Providers; use Laravel\Telescope\Telescope; use Illuminate\Support\Facades\Gate; use Laravel\Telescope\IncomingEntry; use Laravel\Telescope\TelescopeApplicationServiceProvider; class TelescopeServiceProvider extends TelescopeApplicationServiceProvider { /** * Register any application ser...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Paidsw\V20220101\Models; use AlibabaCloud\Tea\Model; class CreateInstanceSnapshotResponseBody extends Model { /** * @description 状态码 * * @var string */ public $code; /** * @description http状...
<?php namespace App\Http\Traits; trait OrderTrait { protected function processAnswer($answer,$question_id,$question_loop,$answer_id){ } }
<?php use App\Http\Controllers\Helpers\Language; ?> @if (Auth::check()) <!-- Left side column. contains the sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\LoginDetail; use App\Providers\RouteServiceProvider; use Carbon\Carbon; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |---------------------------------------------------...
<?php namespace App\Listeners; use App\Events\WordlistFilesFound; use App\Notifications\WordlistFilesFoundNotification; use App\User; use Carbon\Carbon; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Notification;...
<?php namespace backend\controllers; use Yii; use backend\models\RegistryBudgetutilization; use backend\models\RegistryBudgetutilizationSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * RegistryBudgetutilizationController implements the CRUD actions for RegistryBud...
<?php namespace Github\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Github\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareT...
<div class="row"> @if($getAuthors->count() > 0) @foreach($getAuthors as $authors) @include('Admin.includes.card-authors-template') @endforeach @else <div class="col-lg-12"> <h1 class="mt-5 mb-5 text-center">No Authors added.</h1> </div> @endif </div> @...
<?php namespace Illuminate\Pagination; class PaginationState { /** * Bind the pagination state resolvers using the given application container as a base. * * @param \Illuminate\Contracts\Foundation\Application $app * @return void */ public static function resolveUsing($app) { ...
<?php namespace Hillpy\MiniProgramSDK\Tests; use PHPUnit\Framework\TestCase; class CustomerServiceMessageTest extends TestCase { use BaseTrait; public function testGetTempMedia() { $mp = $this->getMPInstance(); $paramArr = [ 'access_token' => $mp->getToken(), 'med...
@extends('layouts.admin') @section('title','View Desk Officer') @section('content') <!-- Page Heading --> <div class="row"> <div class="col-sm-6"> <ol class="breadcrumb"> <li class="active"> ...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\Exceptions\TwilioException; use Twilio\InstanceResource; use Twilio\Values; use Twilio\Version; /** * @property string $accountSid * @property stri...
<style> @media (min-width: 768px) { #login-container { margin-left: 85px; } } @media (min-width: 1400px) { #login-container { margin-left: 110px; } } #login-container { /* margin-left:110px; */ height: 200px; width: 350px; padding: 20px; border-radius: 5px; background: #fffffb; positi...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\NewsletterSubscriber */ $this->title = $model->newsletter_subscriber_id; $this->params['breadcrumbs'][] = ['label' => 'Newsletter Subscribers', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->...
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesReques...
<?php $assets = new Assets(); $assets->nav('.','Dashboard'); $assets->breadcrumbs('Dashboard','') ?> <div class="row"> <div class="col-md-12"> <!-- Icon Cards--> <div class="row"> <div class="col-xl-3 col-sm-6 mb-3"> <div class="card text-white bg-primary o-hidden h-10...
<?php namespace App\Controller\Contabilidad\Reportes; use App\CoreContabilidad\AuxFunctions; use App\CoreContabilidad\ControllerContabilidadReport; use App\Entity\Contabilidad\Config\Unidad; use App\Entity\Contabilidad\General\Asiento; use Doctrine\ORM\EntityManagerInterface; use Knp\Component\Pager\PaginatorInterfac...
<?php namespace Bdf\Queue\Serializer; use Bdf\Queue\Message\Message; use Bdf\Queue\Message\QueuedMessage; /** * JsonSerializer */ class JsonSerializer implements SerializerInterface { /** * {@inheritdoc} */ public function serialize(Message $message) { return json_encode($message->toQ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <section class="content-header"> <h1> <?php echo ucwords($title); ?> </h1> </section> <section class="content"> <div class="row"> <div class="col-md-12"> <div class="box box-warning"> <div class="box-body box-profile"> <...
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
<?php /** * Autor: * Email: * Web: * class Login_model * * Clase donde reposan las sentencias de bases de datos utilizadas para la clase Login, donde se autentica * y se ingresa al sistema * * @package * @author * @version * @copyright */ class Cita_model extends CI_Model...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\ParticipantSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="participant-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; use DB; class PostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $posts=Post::orderBy('created_at','d...
@extends('admin.master.master') @section('noidung') <section> <div class="breadcrumbs"> <div class="page-header"> <h1>Thêm Hãng Xe</h1> </div> </div> <div class="card"> <div class="card-header"> <strong>Data Form</strong> </div> </div> <div class="data"> @if(count($errors)>0) <div class="alert a...
<?php /** * @author Semenov Alexander <semenov@skeeks.com> * @link http://skeeks.com/ * @copyright 2010 SkeekS (СкикС) * @date 25.05.2015 */ namespace skeeks\cms\queryfilters; use skeeks\cms\helpers\PaginationConfig; use skeeks\cms\IHasModel; use skeeks\yii2\config\ConfigBehavior; use skeeks\yii2\config\ConfigTr...
@extends('adminlte::default') @section('content') <div class="container-fluid"> <td> <h3>Tem certeza que deseja Remover o Convenio?</h3> Nome: {{$convenios->nome}}<br> Numero: {{$convenios->numero}}<br> Plano: {{$convenios->plano}}<br> Valor: {{$convenios->valor}}<br> </td...
{{-- <div> Knowing is not enough; we must apply. Being willing is not enough; we must do. - Leonardo da Vinci </div> --}}
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> ERROR - 2015-10-12 07:08:14 --> Severity: 8192 --> mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead C:\xampp\htdocs\vidyanusa_lokal\system\database\drivers\mysql\mysql_driver....
<?php /** * @package modx * @subpackage mysql */ $xpdo_meta_map['modWebLink']= array ( 'package' => 'modx', 'version' => '1.1', 'extends' => 'modResource', 'fields' => array ( ), 'fieldMeta' => array ( ), );
<?php /** * SKUController * PHP version 5 * * @category Class * @package Swagger\Server\Controller * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Marketplace * * API Cloud Loyalty LTM - Webpremios * * OpenAPI spec version: 1.0 * * Generated by: ht...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('images', functio...
<?php namespace spec\PhpSpec\Process\ReRunner; use PhpSpec\ObjectBehavior; use PhpSpec\Process\ReRunner; use PhpSpec\Process\ReRunner\PlatformSpecificReRunner; use Prophecy\Argument; class CompositeReRunnerSpec extends ObjectBehavior { function let(PlatformSpecificReRunner $reRunner1, PlatformSpecificReRunner $r...
<?php namespace app\models; use yii\db\ActiveRecord; class Cart extends ActiveRecord { public function behaviors() { return [ 'image' => [ 'class' => 'rico\yii2images\behaviors\ImageBehave', ] ]; } public function addToCart($product, $qty = ...
<!DOCTYPE html> <html lang="en"> <head> @include('include.head') <!-- CSS styles --> @yield('css') @yield('css1') @yield('css2') <style> .spacer { display: block; height: 60px } </style> </head> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Banner; use App\Listings; use App\Admin; use App\About; class PagesController extends Controller { public function index(){ $admins = Admin::all(); if(count($admins)<=0){ $admin = new Adm...
<?php namespace App\Http\Controllers\System; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Model\Blog; use Illuminate\Support\Facades\Auth; use DB; use Hash; use App\Model\Log; class BlogController extends Controller { public function getListBlog (Request $req) { $Blog = Blog:...
<x-guest-layout> <x-jet-authentication-card> <x-slot name="logo"> </x-slot> <x-jet-validation-errors class="mb-4" /> @if (session('status')) <div class="mb-4 font-medium text-sm text-green-600"> {{ session('status') }} </div> @endif <for...
<?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; use Illuminate\Database\Eloquent\Model; class Lapso extends Model { protected $table = 'lapses'; protected $fillable = [ 'name','start_lapse','end_lapse','status' ]; }
<?php namespace App\Http\Controllers; use App\Models\Posts\Post; use Illuminate\Http\Request; class PostsController extends Controller { public function get_post_web(Post $post) { //$model = $post->toArray(); $model = $post->get()->toArray(); return view('app', ['model' => $model]); } /** * Displ...
<div class="franqueados form"> <script type="text/javascript"> jQuery(function($){ $("#FranqueadoTelefone1").mask("(99)99999-9999",{autoclear: false}); $("#FranqueadoTelefone2").mask("(99)99999-9999",{autoclear: false}); $('#FranqueadoTelefone1').blur(function() { if ($('#FranqueadoTelefone1').val(...
<?php namespace JSV\UserBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/'); $this->assertContains('Hel...
<?php namespace App\Http\Controllers; use App\OrderProduct; use App\Product; use App\Size; use Illuminate\Http\Request; class CartController extends Controller { public function store(Request $request) { $orderProductList = []; $orderProduct = new OrderProduct(); $orderProduct->p...
<?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\Component\Promotion\Checker; use Sylius\Component\Promotion\Model\CouponInterface; u...
<?php /** * 2013-2015 BeTechnology Solutions Ltd * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 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/afl-3.0.php ...
<?php /* @var $this yii\web\View */ /* @var $name string */ /* @var $message string */ /* @var $exception Exception */ use yii\helpers\Html; $this->title = $name; ?> <!-- Start of .main-block --> <div class="main-block thanks-page"> <div class="auto-container thanks-page__block p-4 p-md-5"> <div class="...
@extends('admin/layouts/app') @section('title', ucfirst($section)) @section('content') <div id="photo-list"> <button class="btn btn-primary mb-2" data-bs-toggle="modal" data-bs-target="#newPhotoModal"><i class="fas fa-plus me-1"></i> New photo</button> <table class="table text-center"> <thead> ...
{{ Form::model($logged_in_user, ['route' => 'frontend.user.profile.update', 'class' => 'form-horizontal', 'method' => 'PATCH']) }} <div class="form-group"> {{ Form::label('name', trans('validation.attributes.frontend.name'), ['class' => 'col-md-4 control-label']) }} <div class="col-md-6"> ...
@extends(Config::get('adminlte::views.master')) @section('content') <div class="row"> <div class="col-lg-12"> <div class="box box-primary"> <div class="box-header"> <h1 class="box-title">New Project Application</h1> </div> <div class="box-body"> ...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Achievement; /** * app\models\AchievementSearch represents the model behind the search form about `app\models\Achievement`. */ class AchievementSearch extends Achievement { /** * @inheritdoc */ ...
<?php /** * This file is part of RedisClient. * git: https://github.com/cheprasov/php-redis-client * * (C) Alexander Cheprasov <cheprasov.84@ya.ru> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Test\Integration\Version...
<?php /* (c) Anton Medvedev <anton@elfet.ru> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Executor; use Deployer\Console\Output\OutputWatcher; use Deployer\Server\Environment; use Deployer\Task\Context; class ...