text
stringlengths
2
1.03M
<?php namespace Illuminate\Cookie; use Illuminate\Support\Arr; use Illuminate\Support\InteractsWithTime; use Symfony\Component\HttpFoundation\Cookie; use Illuminate\Contracts\Cookie\QueueingFactory as JarContract; class CookieJar implements JarContract { use InteractsWithTime; /** * The default path (i...
<?php namespace Database\Factories; use App\Models\Post; use Illuminate\Database\Eloquent\Factories\Factory; class PostFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Post::class; /** * Define the model's defau...
@extends('layouts.app') @section('title') Flash News @endsection @section('content') <div class="pcoded-content"> <div class="pcoded-inner-content"> <div class="main-body"> <div class="page-wrapper"> <!-- Page body start --> <div class=...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit9c398c133d4bd866eee7ea5a82263a25::getLoader();
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ config('app.name') }}</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/c...
<?php /** * @package s9e\TextFormatter * @copyright Copyright (c) 2010-2021 The s9e authors * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ namespace s9e\TextFormatter\Plugins\HTMLEntities; use s9e\TextFormatter\Plugins\ParserBase; class Parser extends ParserBase { /** * {@inhe...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/documentai/v1beta1/document.proto namespace Google\Cloud\DocumentAI\V1beta1\Document; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A phrase in the ...
<?php include_once('internal/Smarty.class.php'); $main_smarty = new Smarty; include('config.php'); include(mnminclude.'html1.php'); include(mnminclude.'link.php'); include(mnminclude.'tags.php'); include(mnminclude.'user.php'); include(mnminclude.'comment.php'); include(mnminclude.'smartyvariables.php'); // breadcru...
<?php namespace common\models\User; use Yii; use yii\base\NotSupportedException; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $password_hash * @property string $password_res...
@section('ccuestionariosAppTitle','Cuestionario Cliente')
<?php /** * Contains \jamesiarmes\PhpEws\Enumeration\ConflictResolutionType. */ namespace jamesiarmes\PhpEws\Enumeration; use \jamesiarmes\PhpEws\Enumeration; /** * Defines the type of conflict resolution to try during an update. * * @package php-ews\Enumeration */ class ConflictResolutionType extends Enumerat...
@extends('layouts.app') @section('title', '- Edit Artis') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-8"> <div class="card my-4"> <h4 class="card-header">Edit Data Artis</h4> <div class="card-body"> <form method="post" action="{{ url('/artis/'....
<!doctype html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>MySite</title> @include('layouts.links_css') </head> <body> <p class="bg-success">{{ $response }}</p> @include('layouts.scripts') </body> </html>
<div class="panel panel-primary"> <div class="panel-heading" style="min-height"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> Filter: Stock Card </div> </div> <div class="modal-body"> <form action="<?php echo HTTP_PATH .'inventory/stock_card/result'?>" method="...
<?php namespace HealthCareAbroad\UserBundle\Repository; use HealthCareAbroad\UserBundle\Entity\InstitutionUserTypeStatuses; use HealthCareAbroad\UserBundle\Entity\InstitutionUserType; use Doctrine\ORM\EntityRepository; /** * InstitutionUserTypeRepository * * This class was generated by the Doctrine ORM. Add your ...
<?php use Zend\Mvc\Application; use Zend\Stdlib\ArrayUtils; /** * This makes our life easier when dealing with paths. Everything is relative * to the application root now. */ chdir(dirname(__DIR__)); // Decline static file requests back to the PHP built-in webserver if (php_sapi_name() === 'cli-server') { $pa...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Sche...
@extends('layouts.master') @section('content') <div class="row"> <div class="col-md-6 col-md-offset-3"> @if(count($posts)>0) @foreach($posts as $post) <div class="post"> <div class="post-header"> <h4>{{ $post->title }}</h4> <div class="timestamp...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
<?php include("../conexion/conexion.php"); if(isset($_GET['id'])) { $id = $_GET['id']; $query = "DELETE FROM empleados WHERE id = $id"; $result = mysqli_query($conexion, $query); if(!$result) { die("Query Failed."); } header('Location: ../Empleados/index.php'); } ?>
<?php namespace asdf; class A { /** @var tuple(int, A) comment */ public $t; /** @var shape(x: int, y: A) comment */ public $sh; public ?int $i_null; /** @var ?tuple(int, string) */ public $t_null; /** @var ?int[] */ public $int_arr_null; } /** * @param tuple<int, ?A> $a some * @...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Gpdb\V20160503\Models; use AlibabaCloud\Tea\Model; class CreateDBInstanceResponse extends Model { /** * @var string */ public $requestId; /** * @var string */ public $DBInstanceId; /** ...
<?php namespace App\Http\Controllers; use Auth; use App\Birth; use Illuminate\Http\Request; class BirthController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $birth = Birth::orderBy('id', 'desc...
@extends('layouts.admin_master') @section('admin_title') เนเธเน‰เน„เธ‚เธเธดเธˆเธเธฃเธฃเธก @endsection @section('admin_style') <link rel="stylesheet" href="{{asset('template/plugins/dropify/dist/css/dropify.min.css')}}"> <!-- bootstrap datepicker --> <link rel="stylesheet" href="{{('template/plugins/bootstrap-datepicker/dist/css/bootstra...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class StateRegionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('state_regions', function (Blueprint $table) { $...
<?php namespace Pinq\Providers\DSL\Compilation\Compilers; use Pinq\Providers\DSL\Compilation\IOperationCompilation; use Pinq\Providers\DSL\Compilation\Processors; use Pinq\Queries; use Pinq\Queries\IOperationQuery; use Pinq\Queries\Requests; /** * Implementation of the operation query compiler using the visitor pat...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class StudentController extends Controller { public function index(){ return view('students.index'); } }
<?php namespace Database\Factories; use App\Models\Category; use App\Models\CategoryProject; use App\Models\ImageProject; use App\Models\Project; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class ProjectFactory extends Factory { /** * The name of the factory's correspondi...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use App\Models\Like; use App\Models\Post; use App\Models\User; class LikeController extends Controller { public function like(Request $request) { $like_s = $requ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <a href="{{ url('home') }}" class="btn btn-primary"><i class="fa fa-arrow-left"></i> Kembali</a> </div> <div class="col-md-12 mt-2"> <nav aria-label="breadcru...
<?php get_header();?> <div class="container"> <h2>Archive Team</h2> <h1 class="page-title"><?php single_cat_title();?> <hr/></h1> <?php if(have_posts()) : while(have_posts()) : the_post(); ?> <div class="card mb-4"> <div class="card-body"> <?php if(has_post_thumbnail...
<?php // namespace DG\AdminBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Response; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio...
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Ads Ads * @ingroup UnaModules * * @{ */ define('BX_ADS_OFFER_STATUS_ACCEPTED', 'accepted'); define('BX_ADS_OFFER_STATUS_AWAITING', 'awaiting'); ...
<?php /** * axCronTask form. * * @package ##PROJECT_NAME## * @subpackage form * @author ##AUTHOR_NAME## */ class axCronTaskForm extends BaseaxCronTaskForm { public function configure() { $this->embedRelation('axCronTaskParameter'); $this->embedRelation('axCronTaskSchedule'); unset($this->validat...
<?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 App\Http\Controllers; use App\Http\Requests; use Illuminate\Http\Request; use Auth; use App\User; use App\Oders; use DB; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this-...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class sanphamkhuyenmai extends Model { use HasFactory; protected $table = 'san_pham_khuyen_mai'; // protected $primaryKey = ['ma_km', 'ma_sp']; // public $incrementing = false; ...
<?php namespace Modules\Business\Http\Controllers; use App\Services\SessionService; use App\Traits\ApiServer; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Controller; use Modules\Business\Entities\BusinessEntity; use Modules\Business\Entities\WebsiteEntity; use Modules\Business\Mo...
<?php namespace OC\PlatformBundle\Entity; use Doctrine\ORM\EntityRepository; /** * ApplicationRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class ApplicationRepository extends \Doctrine\ORM\EntityRepository { public function getApplicationWithAd...
<?php namespace App\Http\Controllers; use App\Http\Requests\UpdateProjectRequest; use App\Project; use Illuminate\Http\Request; class ProjectController extends Controller { /** * View All Project. * * @return \Illuminate\Http\Response */ public function index() { $projects = a...
<!-- 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> ...
<?php namespace CM\Bundle\ModelBundle\Entity; /** * Taggleable * */ interface TaggeableInterface { public function tag(\CM\Bundle\ModelBundle\Entity\Tag $tag); }
<?php use Matodor\RegistryConstructor\models\data\ChildRecord\ValueForm; use Matodor\RegistryConstructor\models\TableField; use yii\web\View; use yii\bootstrap4\ActiveField; use yii\bootstrap4\ActiveForm; /** @var View $this */ /** @var TableField $field */ /** @var ValueForm $fieldValue */ /** @var ActiveForm $form ...
<?php /** * The MIT License (MIT) * * Copyright (c) 2014 LoyaltyLion * * 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 limitation the rights * to use, c...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSessionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { /*Schema::create('sessions', f...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\County; use Illuminate\Http\Request; class CountyController extends Controller { public function index(Request $request) { $counties = County::query(); if ($request->get('name')) { $co...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Carbon\Carbon; class StudController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $provi...
<?php use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\HttpFoundation\Request; umask(0000); // Dรฉfinit une permission 0777 date_default_timezone_set('Europe/Paris'); $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Use APC for autoloading to improve performance. // Change 'sf2...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSafeProcessTypesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('safe_p...
@extends('adminpanel') @section('breadcrumbs') <li> <i class="icon-home home-icon"></i> <a href="{{ $url }}/">{{ trans('backend.main') }}</a> <span class="divider"> <i class="icon-angle-right arrow-icon"></i> </span> </li> @if(isset($type)) <li> ...
<?php /* The comments page for Bones */ // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <div class="help"> <p class="nocomments"...
@extends('layouts.admin') @section('title') ACRVP - Admin | Certificates @endsection @section('content') @section('menu_li') <li> <a href="/admin"> <span class="glyphicon glyphicon-dashboard"></span>&nbsp &nbsp Dashboard </a> ...
<?php namespace App\Http\Controllers; use App\Http\Requests\StoreBookRequest; use App\Http\Requests\UpdateBookRequest; use App\Models\Book; use App\Models\Detail; use App\Models\Category; class BookController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Ht...
<?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\Unit\Cache\Adapter\Stream; use Ph...
<?php /************************************************************************* * jChat * * Author: Paulo Regina * Version: 1.0 * **************************************************************************/ class jChat { ###################################################################################...
<?php /** * Contains \jamesiarmes\PhpEws\Type\RulePredicateSizeRangeType. */ namespace jamesiarmes\PhpEws\Type; use \jamesiarmes\PhpEws\Type; /** * Specifies the minimum and maximum sizes that incoming messages must be in * order for the condition or exception to apply. * * @package php-ews\Type */ class Rule...
<!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><?= $title; ?></title> ...
<?php namespace App\Http\Controllers\Conversations; use App\Message; use Auth; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Conversation; use Redirect; class MessagesController extends Controller { public function store($conversation_id, Request $request) ...
<div class="portfolio-item xs-sm:w-75vw swiper-slide"> {{ $slot }} </div>
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Auth; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |------------------...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Name: Auth Lang - English * * Author: Ben Edmunds * ben.edmunds@gmail.com * @benedmunds * * Author: Daniel Davis * @ourmaninjapan * * Location: http://github.com/benedmunds/ion_auth/ * * Created: 03.09.2013 * * Descr...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class TM_NCKH extends Model { use HasFactory; public $timestamps = false; protected $fillable = [ 'tenbckh','ngaypheduyet','id_tgdk_seminar','tengv','mscb','id_donvi','noidung',...
<?php function remove_unknown_fields($raw_data, $expected_fields){ $new_data = array(); foreach ($raw_data as $field_name => $field_value) { # code... if ($field_value != "" && in_array($field_name, array_values($expected_fields))) { $new_data[$field_name] = $field_value; # code... } } return $new_dat...
<?php foreach ($post as $data) { $imgHeader = (''); $pageTitle = ($data['title']); $subTitle = ($data['introduction']); // Page header little image $imglittle = (''); ob_start(); ?> <div class="bloccomments"> <form action="index.php?page=postEdit&id=<?= esc_url($_SESSION['postId']); ...
<?php namespace Kvartiri\KvartiriBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * HotelService * * @ORM\Table("hotel_service") * @ORM\Entity(repositoryClass="Kvartiri\KvartiriBundle\Repository\HotelServiceRepository") */ class HotelService { /** * @var integer * * @ORM\Column(name="id", ...
<?php namespace App\Models; use \DateTimeInterface; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Comlog extends Model { use SoftDeletes; use Auditable; use HasFactory; publ...
<?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 use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCategorySubscriptionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('c...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.cs...
<?php foreach($post as $item) : ?> <div class="container border my-3 py-3 px-5 shadow"> <div class="row"> <div class="col-md-3 col-sm:text-center"> <!-- image --> <img class=" img-fluid " src="<?php echo site_url(); ?>assets/images/posts/<?= $item['...
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @yield('csrf-token') {{-- <title>@yield('title')</title> --}} <title>@yield('title')</title> ...
<!-- Modal --> <div class="modal fade" id="modal_eliminar" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">ยฟDes...
@extends('layouts.app') @section('tablas') <div class="nomodal"> @include('include.formBanner') <div class="px-6 caja-header text-center"> <h3 class="form-title">{{ __('Login') }} </h3> </div> <form class="px-6" method="POST" action="{{ route('login') }}"> @csrf <d...
<?php namespace DrupalCodeGenerator\Command\Drupal_7; use DrupalCodeGenerator\Command\BaseGenerator; use DrupalCodeGenerator\Utils; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\Question; /** * Implements d7:module-in...
<?php namespace App\Admin\Controllers\Views; use App\Models\Views\ViewEffectiveUserLoginRatio; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Facades\Admin; use Encore\Admin\Layout\Content; use App\Http\Controllers\Controller; use Encore\Admin\Controllers\ModelForm; class EffectiveUserLoginRatioCont...
<?php include "conn.php"; ?> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" ty...
<?php namespace Gt\Database\Test\Query; use Gt\Database\Connection\Driver; use Gt\Database\Connection\Settings; use Gt\Database\Query\PreparedStatementException; use Gt\Database\Query\QueryNotFoundException; use Gt\Database\Query\SqlQuery; use PHPUnit\Framework\TestCase; use Gt\Database\Test\Helper\Helper; class SqlQ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Lane extends Model { public function tasks() { $this->hasMany('\App\Task'); // a Lane has many tasks } }
<?php namespace app\admin\logic; use think\Model; use think\db; /** * ๅˆ†็ฑป้€ป่พ‘ๅฎšไน‰ * Class CatsLogic * @package Home\Logic */ class GoodsLogic extends Model { /** * ่Žทๅพ—ๆŒ‡ๅฎšๅˆ†็ฑปไธ‹็š„ๅญๅˆ†็ฑป็š„ๆ•ฐ็ป„ * @access public * @param int $cat_id ๅˆ†็ฑป็š„ID * @param int $selected ๅฝ“ๅ‰้€‰ไธญๅˆ†็ฑป็š„ID * @param...
<!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>Product System</title> <!-- Styles --> <link href="{{asset(...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Abstract base class for QuickForm validation rules * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.01 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.p...
<?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\Bridge\Twig\TokenParser; use Symfony\Bridge\Twig\Node\TransNode...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php /** * @var \Remorhaz\UniLex\Lexer\TokenMatcherContextInterface $context * @lexHeader * @lexTargetClass Remorhaz\JSON\Pointer\TokenMatcher */ use Remorhaz\JSON\Pointer\Parser\TokenType; /** * @lexToken /// */ $context ->setNewToken(TokenType::SLASH) ->setTokenAttribute('text', '/'); /** * @lexTok...
<?php namespace Faker\Provider\ms_MY; class Miscellaneous extends \Faker\Provider\Miscellaneous { /** * @link https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia */ protected static $jpjNumberPlateFormats = array( '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{n...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<?php namespace App\Http\Controllers; use App\Masjid; use App\Pengurus; use App\Announcements; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class IndexController extends Controller { public function index(){ $jmlMasjid = DB::table('masjids') ->select('id_masjid') ...
<!DOCTYPE html> <html> <head> <title>Admin Home</title> <style> * { padding: 0px; margin:0px; } body { } .a { width:450px; height:500px; padding:20px; text-align:center; position:relative; left:400px; } .menubar { background-color:black; text-align:center; } .me...
<?php /** * SchoolCategoryTypesApi * PHP version 5 * * @category Class * @package Swagger\Client * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Copyright 201...
<?php /* * UserFrosting Core Sprinkle (http://www.userfrosting.com) * * @link https://github.com/userfrosting/sprinkle-core * @copyright Copyright (c) 2021 Alexander Weissman & Louis Charette * @license https://github.com/userfrosting/sprinkle-core/blob/master/LICENSE.md (MIT License) */ /** * German me...
@extends('admin.layouts.master') @section('title','companies') @section('css') <link href="{{asset('assets/admin/css/plugins/summernote/summernote.css')}}" rel="stylesheet"> @endsection @section('content') <div class="main-content"> <!-- Breadcrumb --> <ol class="breadcrumb breadcrumb-2"> ...
<?php use yii\helpers\Html; use yii\helpers\Url; use yii\widgets\ActiveForm; use yii\bootstrap; ?> <?php use yii\bootstrap\Modal; Modal::begin([ 'header' => '<h2>ะšะพั€ะทะธะฝะฐ</h2>', 'id' => 'cart', 'size' => 'modal-lg', 'footer' => ' <button type="button" class="btn btn-danger" onclick="clea...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEpisodesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('episodes', fun...
<?php declare(strict_types=1); namespace CL\Mailer; use OutOfBoundsException; class TypeRegistry implements TypeRegistryInterface { /** * @var TypeInterface[] */ private $types = []; /** * @inheritdoc */ public function register(TypeInterface $type) { $name = get_cla...
@extends('layout.main') @section('title', "| $tag->name Tag") @section('content') <div class="row"> <div class="col-md-8"> <div class="col-md-8"> <div class="col-md-8"> <h1>{{ $tag->tag_name }} </small></h1> </div> </div> </div> <div class="col-md-2 col-md-offset-2"> </div> </div> ...
@extends('layouts.credenciales') @section('content') <div class="login-box2"> <!--Banner principal--> <div class="login-logo no-margin"> <img class="img-responsive center-block" src="{{ asset('images/BannerPeq.png') }}"> </div> <!--Login--> <div class="login-box...
<?php class FlickrAPIRetriever extends URLDataRetriever { protected $DEFAULT_PARSER_CLASS = 'FlickrDataParser'; protected $extraFields = array( 'description', 'date_upload', 'date_taken', 'owner_name', 'original_format', 'last_update', 'geo', 'tags', 'machine_tags', 'o_dims', 'views', 'media')...
<div x-data> {{-- con x-data inicio las funcionalidades de alpine --}} <p class="text-gray-700 mb-4"> <span class="font-semibold text-lg">Stock disponible: </span> {{ $quantity }} </p> <div class="flex"> <div class="mr-4"> <x-jet-secondary-button ...
<?php /** * Test: Nette\Application\UI\Presenter and checking params. */ declare(strict_types=1); use Nette\Application; use Nette\Http; use Tester\Assert; require __DIR__ . '/../bootstrap.php'; @require __DIR__ . '/fixtures/ParamPresenter.php'; // @ Required parameter $c follows optional parameter $b $present...
@extends('layouts.main') @section('title') Dashboard @endsection @section('contents') <!-- Main Content --> <main class="main-content"> <!-- |โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’ | Explore |โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’โ€’...