text
stringlengths
2
1.03M
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-pencil" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" d="M11.293 1.293a1 1 0 0 1 1.414 0l2 2a1 1 0 0 1 0 1.414l-9 9a1 1 0 0 1-.39.242l-3 1a1 1 0 0 1-1.266-1.265l1-3a1 1 0 0 1 .242-.391l9-9zM12 2l2 2-9 9-3 1 1-3 9-9z"/...
<?php namespace iDimensionz\Common\Result; use Psr\Log\LoggerAwareTrait; use Psr\Log\LoggerInterface; use Throwable; class ResultModel { use LoggerAwareTrait; public bool $isSuccess = true; /** * @var mixed */ public $returnValue = null; /** * @var string[]|null This can be used t...
<? $MESS["IBLOCK_TYPE_TIP"] = "Select one of existing information block types in the list and click <b>OK</b>. This will load information blocks of the selected type."; $MESS["IBLOCK_ID_TIP"] = "Select one of information blocks of the chosen type. If you select <b>(other)-&gt;</b>, specify the information block ID in t...
<table class="table table-responsive" id="tipoAsociacions-table"> <thead> <tr> <th>Nombre</th> <th colspan="3">Acciones</th> </tr> </thead> <tbody> @foreach($tipoAsociacions as $tipoAsociacion) <tr> <td>{!! $tipoAsociacion->nombre !!}</td> ...
<?php /** * Generated by phpSPO model generator 2020-05-26T22:10:14+00:00 */ namespace Office365\Graph; use Office365\Runtime\ClientObject; use Office365\Runtime\ResourcePath; class WindowsPhone81CompliancePolicy extends ClientObject { /** * @return bool */ public function getPasswordBlockSimple(...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); use Magento\Catalog\Api\Data\ProductAttributeInterface; use Magento\Catalog\Api\ProductAttributeRepositoryInterface; use Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory; use Magento...
<?php declare(strict_types=1); namespace Kiboko\Plugin\Spreadsheet\Builder\OpenDocument; use Kiboko\Contract\Configurator\StepBuilderInterface; use PhpParser\Node; final class MultipleFileLoader implements StepBuilderInterface { private ?Node\Expr $logger; private ?Node\Expr $rejection; private ?Node\Exp...
@extends('backend.master') @section('content') <main> <div class="container-fluid"> <div class="card mb-4 mt-4"> <div class="card-header"> Sửa Khách Hàng </div> <div class="tables"> ...
<?php namespace App\Http\Controllers\Pay; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Utils\Ballance; use App\Utils\Order; use App\Models\QrCode; use App\Models\PaymentType; use App\Models\Tips; use App\Models\EnrollmentPercents; use App\Models\TipPercents; use App\Utils\Payments\Rbk...
@extends('pelapak/_layouts.template') @section('title', 'Profil Pelapak') @section('bread') <li><a href="{{ url('pelapak') }}"><i class="icon-laptop"></i> Home</a></li> <li class="active">Profil Pelapak</li> @endsection @section('main') <div class="row"> <div class="col-sm-12"> <div class="panel panel-defaul...
<?php namespace App\Repository; use App\Entity\User; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @method User|null find($id, $lockMode = null, $lockVersion = null) * @method User|null findOneBy(array $criteria, array $orderBy = null) * @me...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests\UserRequest; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } public func...
<?php namespace Pastheme\Blog\Controller\Admin; use Pagekit\Application as App; /** * @Access(admin=true) */ class CategoryController { /** * @Route("/categories") * @Request({"page":"int" , "filter":"array"}) * @Access("dpnblog: manage all categories") */ public function categoriesAction( $page = 0 , $...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\DeliveryOrder; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\ValidationException; class DeliverOrderController extends Controller { /** * Display a listing of the resource. * * @return \Illumina...
<?php namespace app\widgets\periodPicker\assets; use yii\web\AssetBundle; /** * Class PeriodPickerAsset * @package common\widgets\periodPicker\assets */ class PeriodPickerAsset extends AssetBundle { /** * @var string */ public $sourcePath = '@app/widgets/periodPicker/assets'; /** * @var...
@extends('userpage.userpage_layout') @section('title') {{ Auth::user()->name }} @endsection @section('css') <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/css/select2.min.css" rel="stylesheet" /> <link rel="stylesheet" href="{{ URL::asset('css/userpage/profile.css') }}"> @endsection @section('main-...
<?php namespace App\Exports; use App\Models\Well; use Carbon\Carbon; use \Maatwebsite\Excel\Sheet; use Maatwebsite\Excel\Events\AfterSheet; use Maatwebsite\Excel\Events\BeforeSheet; use PhpOffice\PhpSpreadsheet\Shared\Date; use Maatwebsite\Excel\Concerns\FromQuery; use Maatwebsite\Excel\Concerns\WithEvents; use Maatw...
<div class="footer-basic"> <footer> <div class="social"><a href="https://www.instagram.com/"><i class="icon ion-social-instagram"></i></a><a href="https://twitter.com/home"><i class="icon ion-social-twitter"></i></a><a href="https://www.facebook.com/"><i class="icon ion-social-facebook"></i></a></di...
<?php namespace PhpOffice\PhpSpreadsheet\Reader; use PhpOffice\PhpSpreadsheet\Cell\Coordinate; use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\Cell\Hyperlink; use PhpOffice\PhpSpreadsheet\DefinedName; use PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner; use PhpOffice\PhpSpreadsheet\Reader...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddUrlQty extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('urls', function (Blueprin...
<?php namespace Habib\Layout\AuthTraits; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; trait ConfirmsPasswords { use RedirectsUsers; /** * @var string */ // protected $viewName = 'auth.passwords.confirm'; /** * Display the password confirmation view. * * @ret...
<?php namespace AustenCam\Cable\Providers; use AustenCam\Cable\Commands\CableCommand; use Illuminate\Support\ServiceProvider; class CableProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { if ($this->app->ru...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\ArticleController; use App\Http\Controllers\MahasiswaController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is wher...
<?php namespace ContainerYSqT0SV; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getMaker_AutoCommand_MakeMessen...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class CouponProducts extends Model { protected $table = "coupon_products"; protected $primaryKey = "id"; protected $guarded = []; public $timestamps = false; public function coupon() { return $this->belongsTo(Coupon...
@extends('backend') @section('content1') <h1 class="h3 mb-2 text-gray-800"></h1> <div class="card shadow mb-4"> <div class="card-header py-3"> <div class="row"> <div class="col-10"> <h6 class="m-0 font-weight-bold text-primary">List</h6> ...
<?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; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpExceptio...
<div class="content-wrapper"> <?php $this->load->view('admin/signpost'); ?> </div>
<?php namespace App\Http; use App\Http\Middleware\CheckActive; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var arra...
<?php use Illuminate\Database\Seeder; use App\User; use App\Pet; class PetsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $c = new User(); // Veterinario $c->name = 'Julian'; $c->client= 1; $c->dn...
<?php if($this->session->userdata('id_akun') == 1){ $this->load->view('templates/v_admin'); }else{ $this->load->view('templates/v_kasir'); } ?> <h5>Kasir</h5> <hr> <!-- <br> --> <a href="<?php echo base_url('ckasir/index/konfirmasi') ?>" class="btn btn-primary">Konfirmasi Pembayaran</a> <a href="<?php echo ba...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CarGenerationLang extends Model { // }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="<?php echo $this->config->item('title'); ?>"> <link rel="shortcut icon" href="<?php e...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; // use Illuminate\Database\Eloquent\SoftDeletes; class Place_Type extends Model { // use SoftDeletes; public $table = 'place_type'; public $primaryKey = 'place_type_id'; public $fillable = ['place_type_id','place_type_name_th','pla...
<?php class Excel_export_model extends CI_Model { private $table = "city"; public function fetch_all(){ $this->db->order_by("id", "desc"); $query = $this->db->get($this->table); return $query->result(); } }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Purpose; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Gate; class PurposeController extends Controller { public function add(Request $request){ if (! Gate::allows('super-admin')) { abor...
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=talentsheart', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'tablePrefix' => 'tbl_' ];
<?php /*-------------------------------------------------- class AppController extends Controller { function beforeRender() { if (class_exists('ConnectionManager') && Configure::read('debug') > 1) { $db = ConnectionManager::getDataSource('default'); $this->set('cakeSql', $db->getLog()); } else { ...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<!-- Navigation Bar --> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <div class="container"> <a class="navbar-brand" href="{{ route('index') }}">LaraEcommerce</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#na...
<?php namespace Triadev\Es\Mapping\Mapping; use Illuminate\Support\Fluent; use Triadev\Es\Mapping\Facade\ElasticMapping; use Triadev\Es\Mapping\Mapping\Fluent\FluentBinary; use Triadev\Es\Mapping\Mapping\Fluent\FluentBoolean; use Triadev\Es\Mapping\Mapping\Fluent\FluentByte; use Triadev\Es\Mapping\Mapping\Fluent\Fluen...
<!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=UTF-8" /> <title><?= Lang::get('errors.403.title') ?></title> </head> <body> ...
@extends('layouts.master') @section('title' , 'Cadastrar') @section('content') <div class="page-wrapper"> <div class="container-fluid d-flex justify-content-center"> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-...
<?php namespace flowcode\enlace\http; /** * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-01-04 at 20:35:52. */ class HttpRequestBuilderTest extends \PHPUnit_Framework_TestCase { /** * @var HttpRequestBuilder */ protected $object; /** * Sets up the fixture, for example, opens a n...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class lorrydetails extends Model { protected $table="lorrydetails"; }
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {html_radios} function plugin * * File: function.html_radios.php<br> * Type: function<br> * Name: html_radios<br> * Date: 24.Feb.2003<br> * Purpose: Prints out a list of radio input types<br> * Inp...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<!-- Id Field --> <div class="form-group"> {!! Form::label('id', 'Id:') !!} <p>{!! $suratketeranganusaha->id !!}</p> </div> <!-- Nik Field --> <div class="form-group"> {!! Form::label('nik', 'Nik:') !!} <p>{!! $suratketeranganusaha->nik !!}</p> </div> <!-- Nomor Surat Field --> <div class="form-group"...
<?php namespace DateRepetition; use DateTime; /** * TimeProvider so that time can be mocked for better testing */ class TimeProvider { public function __construct() { } /** * @return DateTime */ public function now() { return new DateTime('now'); } /** * @param string date string a...
<?php namespace App\Http\Controllers\Writer; use App\Http\Controllers\Controller; use App\Models\Bidding; use App\Models\Project; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class WriterAssignedController extends Controller { /** * Display a listing of the resource. * * @retu...
<?php /** * @covers ExternalStoreFactory */ class ExternalStoreFactoryTest extends PHPUnit\Framework\TestCase { use MediaWikiCoversValidator; public function testExternalStoreFactory_noStores() { $factory = new ExternalStoreFactory( [] ); $this->assertFalse( $factory->getStoreObject( 'ForTesting' ) ); $thi...
<?php /* * Copyright 2020 Osclass * Maintained and supported by Mindstellar Community * https://github.com/mindstellar/Osclass * * 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 * * ...
<?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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
<?php namespace App\Http\Requests; use App\Http\Requests\Request; class StateRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules ...
<?php class User_list extends CI_Model { private $table = 'users'; private $pk = 'id'; function exists($id) { $this->db->from($this->table); $this->db->where($this->pk,$id); $query = $this->db->get(); return ($...
<?php namespace App\Http\Controllers; use App\User; use Validator; use App\Http\Requests; use Illuminate\Http\Request; class ProcessController extends Controller { /** * Registeration of new user. * * @return \Illuminate\Http\Response */ public function login(Request $request) {...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Utenti extends Model{ protected $table = "utenti"; protected $primaryKey = "user"; protected $autoIncrement = false; protected $keyType = "string"; public $timestamps = false; protected $fillable = [ "user", "...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Adoption-Record extends Model { // }
<div class="box"> <div class="box-header with-border"> <h3 class="box-title">Relasi <?=$subjudul?></h3> <div class="box-tools pull-right"> <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i> </button> </div> </div> ...
<?php /** * GenericErrorTest * * PHP version 7.3 * * @category Class * @package Ory\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Ory APIs * * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Per...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Jetstream\HasProfilePhoto; use La...
<?php namespace app\home\controller; use think\Controller; use think\Db; use think\Cache; use app\home\model\Betting; use app\home\model\User; class ReturnMoney extends Controller { private $post_data; private $lottery_config; private $betting; public function initialize() { $post_data = input('param.'); if(e...
@if($child == 0) <div class="list-group-item" style="background-color : greenyellow"> <p> {{$comment->comment_text}} </p> <!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\parkingspace; use Illuminate\Support\Facades\DB as DB; class ParkingspaceController extends Controller { public function getall() { $parkingspace = parkingspace::all(); $response["parkingspace"] = $parkingspace;...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Student extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'emai...
<script type="text/javascript"> function tampilkan_select_prodi() { $('#select_prodi').show(100); } function mahasiswa_select_dosen() { $('#select_dosen').show(100); } function tampilkan_button_lihat() { $('#button-lihat').show(100); } function tampilkan_button_cetak() { $('#but...
<?php namespace app\admin\model; class Regionss extends Base { protected $table = 'cms_regions'; //根据条件获取信息 public function getInfoByWhere($where = []) { $list = $this->where($where)->select(); return $list; } //获取信息 public function getInfo($code) { $where['...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Enbit\eBaySDK\Trading\Types; /** * */ class ClassifiedAdBestOfferEnabledDefinitionType extends \Enbi...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\assets; use yii\web\AssetBundle; /** * Main application asset bundle. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset ex...
@extends('layouts.index') @section('main-content') <!-- Breadcrumbs --> <div class="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-xs-12"> <ul> <li class="home"> <a title="Go to Home Page" href="{{route('fronthome')}}">Home</a><span>&raquo;</span></li...
<?php namespace FondOfOryx\Service\UtilMathFormula; use Codeception\Test\Unit; use FondOfOryx\Service\UtilMathFormula\Model\FormulaEvaluator; class UtilMathFormulaServiceFactoryTest extends Unit { /** * @var \FondOfOryx\Service\UtilMathFormula\UtilMathFormulaServiceFactory */ protected $utilMathSer...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Subcategory extends Model { protected $table = 'sub_categories'; public static function getsubcategoryname($id){ $check = Subcategory::find($id); if(count($check) == 1){ return $check->name; } return ""; } ...
<?php defined('BASEPATH') OR exit('No direct script access allowed');?> <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt...
<section class="content-header"> <h1> <?= $title ?> </h1> <h2> </h2> <ol class="breadcrumb"> <li><a href="<?= base_url('admin') ?>"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active"><?= $title ?></li> </ol> </section> <div class="row"> <div class="col-md-12"> <div class="bo...
@extends('layouts.app', ['activePage' => 'clientes']) @section('content') @if($errors->any()) <div class="alert alert-danger"> <div class="header"><strong>Ups.</strong> Algo anda mal...</div> <ul> @foreach ($errors->all() as $error) <li>{{ $error}}</li> @endforeach </ul> </div>...
<div class="col-a text-size"> <p class="space">Stevens Technologies has been founded in the Netherlands to provide web development services to small and medium sized companies. The main focus are companies and organisation that make this world just a little bit better, including but not limited to free range initiati...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Transaksi extends CI_Controller { function __construct() { parent::__construct(); $this->load->database(); $this->load->model('Model_data_barang'); $this->load->model('Transaksimodel'); if ($this->session->userdata('role_id')!='2'...
<?php /** * Mockery * * LICENSE * * This source file is task to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://github.com/padraic/mockery/blob/master/LICENSE * If you did not receive a copy of the license ...
<?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 Oro\Bundle\MigrationBundle\Locator; use Oro\Bundle\MigrationBundle\Migration\DataFixturesExecutorInterface; /** * Provides the path to "main" and "demo" data fixtures. */ class FixturePathLocator implements FixturePathLocatorInterface { protected const MAIN_FIXTURES_PATH = 'Migrations/Data/ORM'...
<?php namespace PlaygroundCore\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping\HasLifecycleCallbacks; use Doctrine\ORM\Mapping\PrePersist; use Doctrine\ORM\Mapping\PreUpdate; use Zend\InputFilter\InputFilter; use Zend\InputFilter\InputFilterAwareInterface; use Zend\InputFilter\InputFilterInterface; ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Routine extends Model { protected $fillable = ['name', 'description','user_id']; public function sections(){ return $this->hasMany('App\Section'); } public function user(){ return $this->belongsTo(User::class); }...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> @if(session('loginError')) <div class="alert alert-danger alert-dismissible fade show" role="alert"> <strong>{{session('loginError')}}</str...
<?php /* * The MIT License (MIT) * * Copyright (c) 2013 Jonathan Vollebregt (jnvsor@gmail.com), Rokas Šleinius (raveren@gmail.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 wi...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>ETsHAT Shop - Home</title> <link rel="stylesheet" href="{{asset('frontend/css/bootstrap.min.css')}}"> <link rel="...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
<?php /* Question2Answer by Gideon Greenspan and contributors http://www.question2answer.org/ File: qa-include/qa-index.php Description: The Grand Central of Q2A - most requests come through here This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
<?php /** * Kuuzu Cart * * @copyright (c) 2007 - 2017 osCommerce; http://www.oscommerce.com * @license BSD License; http://www.oscommerce.com/bsdlicense.txt * * @copyright Copyright c 2018 Kuuzu; https://kuuzu.org * @license MIT License; https://kuuzu.org/mitlicense.txt */ namespace Kuuzu\KU\Core\Site\Shop\...
<?php requirePHPLib('form'); if (!validateUInt($_GET['id']) || !($contest = queryContest($_GET['id']))) { become404Page(); } genMoreContestInfo($contest); if ($myUser == null) { redirectToLogin(); } elseif (hasContestPermission($myUser, $contest) || hasRegistered($myUser, $contest)) { redirectTo('/contest...
<?php return [ [ 5.47698696965696, 4, 5, 8, 7, 11, 4, 3, ], [ 1.6226711115996, 2.5, 3, 0.5, 1, 3, ], [ '#NUM!', ], ];
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as...
<?php require_once 'vendor/autoload.php'; use ZxcvbnPhp\Zxcvbn; $args = $_REQUEST; header('Content-Type: application/json'); try { //Generate $password = generatePassword($args); //Check strength $zxcvbn = new Zxcvbn(); $strength =($zxcvbn->passwordStrength($password))['score']; //Start building positive re...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; /**Clase que crea una migracion para una tabla determinada * Creada con el comando php artisan make:migration nombremigracion(CreateNameTable)*/ return new class extends Migration { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $data = Category::get(); // 无限极...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class ResetPasswordNotification extends Notification { use Queueable; public $url; /** * Create...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCompaniesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('companies', f...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\User; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $user = User::create([ 'name' => 'Hidalgo Ch Ponce', 'ema...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Staff extends Model { // public function __construct(Staff $staff) { $this->staff = $staff; } // protected $fillable = ['user_id', 'title', 'content']; }
<?php namespace NEM\tests; class TestInfo{ const address = 'SCTVW23D2MN5VE4AQ4TZIDZENGNOZXPRPRLIKCF2'; const privateKey = '26b64cb10f005e5988a36744ca19e20d835ccc7c105aaa5f3b212da593180930'; const publicKey = 'c2f93346e27ce6ad1a9f8f5e3066f8326593a406bdf357acb041e2f9ab402efe'; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Cliente extends Model { protected $table = 'clientes'; protected $primaryKey = 'id'; protected $fillable = [ 'nome', 'cpf_cnpj', 'rg_ie', 'cep', 'logradouro', 'numer...