text
stringlengths
2
1.03M
<?php use App\Http\Controllers\AssignmentController; use Illuminate\Support\Facades\Route; use App\Http\Controllers\VehiculoController; use App\Http\Controllers\HomeController; use App\Http\Controllers\RoleController; use App\Http\Controllers\UsuarioController; use App\Http\Controllers\EventoController; use App\Models...
@extends('layouts.app') @section('content') <ol class="breadcrumb bc-3"> <li> <a href="/"><i class="fa fa-home"></i></a> </li> <li> <a href="{{route('admin.crazies.detail.index')}}">{{trans('table.crazy_details')}}</a> </li> <li class="active"> <strong>Table</strong> </li...
--TEST-- Ignoring return inside loop using finally --FILE-- <?php function foo() { $array = [1, 2, $n = 3]; foreach ($array as $value) { var_dump($value); try { try { foreach ($array as $_) { return; } } finally { ...
<?php use yii\db\Migration; /** * Class m200122_091127_targets_results */ class m200122_091127_targets_results extends Migration { /** * {@inheritdoc} */ public function safeUp() {//Шкала $this->createTable('sys_targets_results',[ 'id' => $this->primaryKey(), 'target' => $this->integer()->notNull()->c...
<?php namespace App\Filters; use Atnic\LaravelGenerator\Filters\BaseFilter; /** * CommentFilter Filter */ class CommentFilter extends BaseFilter { /** * Searchable Field, * support relation also, ex: [ 'name', 'posts' => [ 'title' ] ] * @var array */ protected $searchables = [ '...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use \DateTimeInterface; class CrmNote extends Model { use SoftDeletes, HasFactory; public $table = 'crm_notes'; protected $dates = [ ...
<?php // (C) Copyright Bobbing Wide 2016-2017 /** * Map IP addresses to host name using a cached file for previously discovered IPs * * The oik-bwtrace daily trace summary file records the IP address of the requester * Until Jan 2016 it didn't record the HTTP_USER_AGENT, which CAN be used to determine * who's mak...
<nav class="navbar navbar-expand-lg navbar-dark bg-dark rounded"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="co...
@extends('push.layouts.app') @section('content_push') <div class="col-md-10"> <div class="card"> <div class="card-header">Statistics Push @if(isset($domain->domain_name)) -> <span class="border border-success"> https://{{ $domain->domain_name}} </span>@endif </div> <div ...
<?php define('_MD_LEGACY_ERROR_DBUPDATE_FAILED', "Database update failed"); define('_MD_LEGACY_ERROR_EMAIL', "{0} is an invalid email address"); define('_MD_LEGACY_ERROR_INCORRECTLOGIN', "Invalid Login!"); define('_MD_LEGACY_ERROR_MASK', "{0} format is invalid."); define('_MD_LEGACY_ERROR_MAXLENGTH', "Input {0} with {...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it should respond | to...
<?php session_start(); include "../php/loginTimeCheck.php"; if(isset($_SESSION["login"])){ #if the user is already logged in, send them to the home page header('Location: ../home'); } ?> <html> <head> <script src="../js/jquery-3.3.1.min.js"></script> <link rel="stylesheet" type="text/css" href="../theme/theme...
<?php /**************************************** * @project: Xenomorph * @file: MANAGER de la Class XLdap * @author: Mickaël POLLET *****************************************/ class XLdapManager { /******************************************************/ /***************** PARAMETRES *****************/ /**...
<?php namespace App\Controllers\Admin; use App\Controllers\Controller; use App\Models\Post; use App\Models\Tag; class PostController extends Controller { public function index() { $this->isAdmin(); $posts = (new Post($this->getDB()))->all(); return $this->view('admin.post.index', c...
<?php namespace App\Events\User; use App\User; use Illuminate\Queue\SerializesModels; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; class UserEmailChanged { use Dispatchable, InteractsWithSockets, Serializes...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <articles-component></articles-component> </div> </div> @endsection
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Summary extends Model { // protected $guarded = ['id']; protected $table = 'summaries'; }
<?php namespace App\Providers; use App\Company; use App\Observers\CompanyObserver; use App\Observers\UserObserver; use App\User; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * ...
<?php require_once('tcpdf/config/lang/hrv.php'); require_once('tcpdf/tcpdf.php'); // extend TCPF with custom functions class MYPDF extends TCPDF { // Load table data from file public function LoadData($file) { include 'db.php'; $result = $db->query('select id from godine where aktivan = 1'); $id_go...
<?php declare(strict_types=1); namespace Luno\Request; class PostLimitOrder extends AbstractRequest { /** * The currency pair to trade. */ protected $pair; /** * Limit price as a decimal string in units of ZAR/BTC. */ protected $price; /** * <code>BID</code> for a bid (buy) limit order<br> ...
<?php defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' ); class Travaux_housing_model extends CI_Model { private $table = "travaux"; private $id = "id"; public function add($posts) { $this->db->insert ( $this->table, $posts); return $this->db->insert_id (); } }
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit1f4e660539e001e0cfc66343ebee6434 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace Bowhead\Console\Commands; use Bowhead\Traits\OHLC; use Bowhead\Util\Console; use Illuminate\Console\Command; use SimpleXMLElement; class FxStreamCommand extends Command { use OHLC; /** * The console command name. * * @var string */ protected $name = 'bowhead:fx_stream'...
<?php class Login_service { private $model; public function set_model($model) { $this->model = $model; } public function login($email, $password) { $user = $this->model->get_where([ 'email' => $email, ]); if ($user) { return password_verify($password, $user->password) ? ...
@extends('layouts._layout') @section('title', 'Noticias') @section('contenido') <main class="formulario-center"> <div class="slider"> <div class="container"> <div class="row"> <div class="col-xs-12 col-lg-9"> @foreach ($noticias as $item) ...
<?php declare(strict_types = 1); return new \PHPStan\Reflection\Native\NativeFunctionReflection( 'intlcal_get_keyword_values_for_locale', [ new \PHPStan\Reflection\Native\NativeParameterReflection( 'key', false, PHPStan\Type\StringType::__set_state(array()), false, false ), new \PHPSta...
<section class="blog_area section_padding" style="margin-top: 50px;"> <div class="container"> <div class="row"> <div class="col-lg-8 mb-5 mb-lg-0"> <div class="blog_left_sidebar"> <article class="blog_item"> <div class="blog_item_img"> ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\ExpurgoMaterial */ $this->title = Yii::t('app', 'Create Expurgo Material'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Expurgo Materials'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div ...
<?php /** * Contains the post embed content template part * * When a post is embedded in an iframe, this file is used to create the content template part * output if the active theme does not include an embed-content.php template. * * @package WordPress * @subpackage Theme_Compat * @since 4.5.0 */ ?> <div <?p...
<?php $this->load->view("script_header")?> <div class="container-scroller"> <!-- partial:partials/_navbar.html --> <?php $this->load->view('header');?> <!-- partial --> <div class="container-fluid page-body-wrapper"> <div class="row row-offcanvas row-offcanvas-right"> ...
<?php /* * - added an check on isset($table[0]) because that threw an error once * - utf8mb4 instead of utf8 as default as recommended in the docs * - mb_substr instead of substr since we use utf8 * - added 3 function aliases for easier understanding (see CHANGED) * - corrected some spelling and grammar in comments * -...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class MunicipioRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Image extends Model { use HasFactory; protected $fillable = [ 'partner_id', 'image_cover', 'image_01', 'image_02', '...
<?php /** * Created by PhpStorm. * User: Nouri * Date: 04/06/2017 * Time: 17:16 */ namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Class AuthToken * @package AppBundle\Entity * @ORM\Entity() * @ORM\Table(name="auth_token ", * uniqueConstraints={@ORM\UniqueConstraint(name="token_value_un...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreCategoryRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
<?php include_once("BaseRepository.php"); class UsuarioRepository extends BaseRepository{ private $result; function __construct() { $this->result = new stdClass(); parent::__construct(); } public function showAllUsers() { $users = new stdClass(); /*JOZ*/ $stmt = $this->pdo->prepare(" SELECT * FRO...
@if(!empty($categoria_id)) {!! Form::hidden('categoria_id', $categoria_id, ['class'=>"form-control width-grande <% validar(post.categoria_id) %>", 'ng-model'=>'post.categoria_id', 'ng-required'=>'true', 'init-model'=>'post.categoria_id', 'placeholder' => '']) !!}<br> @endif <label for="data">Data</label><br> <input typ...
<?php namespace App\Http\Controllers\Admin; use App\Models\Group; use Backpack\CRUD\app\Http\Controllers\CrudController; class GroupCrudController extends CrudController { use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation; use \Backpack\CRUD\app\Http\Controllers\Operations\ShowOperation; u...
<?php /* * Copyright 2014 Google 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 agreed t...
<?php namespace Test; use Nette, Tester, Tester\Assert; $container = require __DIR__ . '/bootstrap.php'; class ValidationTest extends Tester\TestCase { private $container; /** * @var \Trejjam\Validation\Validation */ private $validation; function __construct(Nette\DI\Container $container) { $this->co...
<!DOCTYPE html> <html lang="en"> <?php $this->load->view('includes/head'); ?> <body class="nav-md"> <div class="container body"> <div class="main_container"> <?php $this->load->view('includes/side-bar'); ?> <!-- top navigation --> ...
<?php /** * * @package VC * @version $Id$ * @copyright (c) 2006 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * Wave3D CAPTCHA * * @author Robert Hetzler * @package VC */ class captcha { var $width = 360; var $height = 96; function execute($code, $seed) { gl...
<nav class="navbar navbar-expand-lg navbar-dark bg-danger"> <div class="container"> <a class="navbar-brand" href="#">Alifa Oty S</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Add New Purchase Order </h1> <ol class="breadcrumb"> <li><a href="#"><i class=""></i>Home</a></li> <li><a href="<?php echo base_url(); ?>Home_ctrl/">Add New Purchas...
<?php namespace Google\AdsApi\AdWords\v201802\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ class getUserInterestCriterionResponse { /** * @var \Google\AdsApi\AdWords\v201802\cm\CriterionUserInterest[] $rval */ protected $rval = null; /** * @param \Google\AdsApi\AdWords\...
<?php /** * @var array * @var \hipanel\widgets\AdvancedSearch $search */ use hipanel\modules\client\widgets\combo\ClientCombo; ?> <div class="col-md-4 col-sm-6 col-xs-12"> <?= $search->field('client_id')->widget(ClientCombo::class) ?> </div> <div class="col-md-4 col-sm-6 col-xs-12"> <?= $search->field('s...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\Admin\Roles\CreateRequest; use App\Http\Requests\Admin\Roles\UpdateRequest; use App\Models\Admin\Permission; use App\Models\User; use App\Models\Admin\Role; use Illuminate\Http\Request; /** * Управление ролями * ...
<?php $name = $_GET['name']; $email = $_GET['email']; $phone = $_GET['phone']; $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "http://localhost/wieg16-curl/form.php", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /** * CSZ CMS * * An open source content management system * * Copyright (c) 2016, Astian Foundation. * * Astian Develop Public License (ADPL) * * This Source Code Form is subject to the terms of the Astian Develop Public * License, v. 1.0...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ChangeTrainingPlan extends Model { // }
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Prebooking extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('M_Booking'); } public function index() { $rute_id = $this->input->get('rute_id'); $passengers = $this->input->get('passeng...
@extends('layouts.app') @section('content') <div class="col-12"> Crea un nuevo Cliente </div> @php echo Form::open(['url' => $url, 'method' => $method]); echo '<div class="row">'; echo '<div class="col-10">'; echo '<div class="card">'; ...
<?php /** * Created by PhpStorm. * User: Lloric Mayuga Garcia <lloricode@gmail.com> * Date: 12/2/18 * Time: 5:16 PM */ test('get profile', function ($roleName, $status) { if (! empty($roleName)) { $userData = collect($this->loggedInAs($roleName))->only( [ 'first_name', ...
<?php /* * ircPlanet Services for ircu * Copyright (c) 2005 Brian Cline. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyrig...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class QuizUserResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializab...
<?php namespace Illuminate\Tests\Database; use DateTimeInterface; use Exception; use Illuminate\Database\Capsule\Manager as DB; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model as Eloquent; use Illumin...
@extends('layouts.app', ['activePage' => 'records-create', 'titlePage' => __('Reserves Management')]) @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <form method="post" action="{{ route('reserve.update', $reserve) }}" aut...
<?php use Migrations\AbstractMigration; class AddIsAllDayToCalendarEvents extends AbstractMigration { /** * Change Method. * * More information on this method is available here: * http://docs.phinx.org/en/latest/migrations.html#the-change-method * @return void */ public function c...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; use App\User; use App\Game; class PostsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $posts=Post::with('...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Masjid */ $this->title = $model->id_masjid; $this->params['breadcrumbs'][] = ['label' => 'Data Masjid', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this...
<?php /** * The template for displaying all single posts. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package tdandpartners */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <section class="inner"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLogAccessTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('log_access', function (Blueprint ...
<?php declare(strict_types = 1); // Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information namespace Elasticsearch\Examples\Docs\Ilm; use Elasticsearch\Examples\Docs\Test...
<?php namespace Pterodactyl\Models; use Illuminate\Database\Eloquent\Model; class ServerVariable extends Model { /** * The resource name for this model when it is transformed into an * API representation using fractal. */ const RESOURCE_NAME = 'server_variable'; /** * The table assoc...
<?php /** * Copyright 2017 Cloud Creativity Limited * * 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 ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace tests\Psy\CodeCleaner; use Mockery as m; use Psy\CodeCleaner\ValidConstantPass; class ValidConstantPassTest extends \PHPUnit_Framework_TestCase { /** * @var \Psy\CodeCleaner\ValidConstantPass */ protected $validConstantPass; public function setUp() { parent::setUp(); $this->validConstantPas...
<?php return [ 'about' => 'About me', 'info' => 'My Info', 'name' => 'Name', 'birthdate' => 'Birthdate', 'address' => 'Address', 'phone' => 'Phone', 'email' => 'Email', 'editVideos' => 'Edit Videos', 'reading' => 'Reading', 'learnLanguages' => 'Learn Languages', 'walk' => 'Walking', 'workout' ...
@extends('layouts.global') @section('title') Edit stuff @endsection @section('content') <div class="row"> <div class="col-md-8"> @if(session('status')) <div class="alert alert-success"> {{session('status')}} </div> @endif <form enctype="multipart/form-data" ...
<?php // +--------------------------------------------------------------------- // | 后台逻辑基础类 // +--------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +--------------------------------------------------------------------- // | Copyright (c)...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-10"> <div class="card"> <div class="card-header">{{ __('app.subscription.expired') }}</div> <div class="card-b...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Alumno extends Model { use HasFactory; protected $fillable=['id_usuario','nombre','apellidos','foto','domicilio','poblacion', 'provi...
<?php session_start(); $firstname = ucwords($_POST['first_name']); $lastname = ucwords($_POST['last_name']); $email_address = $_POST['email_address']; $services = ucwords($_POST['services']); $amount = $_POST['enter_amount']; $amount_type = $_POST['currency_type']; ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAgeRangesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('age_ranges', ...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |---------------------------------------...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Language; class LanguageController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('backend.language.index');...
@extends('admin.base') @section('content') <!-- Main content --> <section class="content"> <div class="row"> <!-- right column --> <div class="col-md-12"> <!-- Horizontal Form --> <div class="box box-primary"> <div class="b...
<?php /** * Copyright (c) Andreas Heigl<andreas@heigl.org> * * 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, copy,...
@extends('layouts.main') @section('vendor-css') <link href="{{ asset('lib/jquery-timepicker/jquery-timepicker.css') }}" rel="stylesheet"> <link href="{{ asset('lib/highlightjs/github.css') }}" rel="stylesheet"> <link href="{{ asset('lib/datatables/jquery.dataTables.css') }}" rel="stylesheet"> <link hre...
<?php /** * OnApp API wrapper Helpers * * @category API wrapper * @package OnApp * @author Mykola Vuy * @copyright © 2018 OnApp * @link http://www.onapp.com/ * @see OnApp */ if (!function_exists('is_countable')) { function is_countable($var) { return (is_array($var) ...
<?php return '<?php namespace Modules\\Blog\\Http\\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\\Http\\Request; use Illuminate\\Routing\\Controller; class MyController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public funct...
<?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\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEquipamentosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('equipament...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Pizza extends Model { use HasFactory; public function category() { return $this->belongsTo(Category::class); } }
<?php do_action('init'); ?> <?php do_action('frontend_init'); ?> <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ cs...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\District */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="district-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'state')->dropDownList( \yii\helpers\Arra...
<?php use Illuminate\Database\Seeder; class IdentityCardSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\IdentityCard::class, 20)->create(); } }
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/enums/change_client_type.proto namespace Google\Ads\GoogleAds\V9\Enums; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Container for enum ...
<?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 | ...
<p class="title-main">{{ $title }}</p> <div class="content-container news-content"> <p class="notice">Nội dung đang cập nhật...</p> <div class="clear"></div> <div class="wrap_paging"> <div class="paging paging_ajax clearfix"></div> </div><!--end wrap_paging--...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class AdminOrganize extends CI_Controller{ public function Blog(){ $role = $this->load_data->CekRole('blog'); $view = 'blog/index'; if(!$role['success']){ $view = 'service/error_page';} $admin = $role['data']; ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\Url; ?> <div> <table class="pdfTable" > <thead> <tr> <td class="pdf_number" > # </td> <td class="pdf_headBg" > Module List </td> </tr> </thead> <tbody> <?php foreach($result as $row ){ ?> <tr> <td><?php echo $row['...
<?= $this->extend('templates/index'); ?> <?= $this->section('page-content'); ?> <div class="container"> <div class="row"> <div class="col"> <h1 class="mt-2 text-center">Nilai Input Parameter OEE</h1> <h2>Availability</h2> <!-- <a href="/dashboard/create" class="btn btn-...
<?php namespace App\Tests\Mothers; use App\Entity\User; use Faker\Factory; use Ramsey\Uuid\Uuid; use App\Entity\Enum\UserStatusEnum; final class UserMother { /** * @return User * @throws \Assert\AssertionFailedException * @throws \Exception */ public static function random(): User { ...
<?php namespace PHPFHIRGenerated\FHIRResource\FHIRCarePlan; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: April 7th, 2016 * * PHPFHIR Copyright: * * Copyright 2016 Da...
@extends('layouts.content') @section('content') <!-- header image --> <div class="header-img-3"></div> <!-- end header image --> <!-- Welcome message --> <div class="welcome-container"> <div class="container"> <div class="row"> <div class="col-lg-1...
<?php namespace App\Traits; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; trait apiResponser { private function successResponse($data, $code) { return response()->json($data,$code); } protected function errorResponse($message, $code) { return response()->json(['error...
<?php namespace App\Http\Controllers; use App\Http\Resources\ProductResource; use Illuminate\Http\Request; use App\Http\Requests; use App\Product; class ProductController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function...
<?php return array ( '<strong>Password</strong> changed!' => '¡<strong>Contraseña</strong> cambiada!', 'Login' => 'Iniciar sesión', 'Your password has been successfully changed!' => '¡Tu contraseña se ha cambiado satisfactoriamente!', );