text
stringlengths
2
1.03M
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\Api\AuthController; use App\Http\Controllers\Api\SongController; use App\Http\Controllers\Api\ChatroomController; /* |-------------------------------------------------------------------------- | API Routes |--------------...
<?php namespace common\models; use yii\base\Model; /** */ class Constants extends Model { const WORDS_MONEY = 'Монеты'; }
<?php namespace App\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\ResourceCollection; use Illuminate\Support\Collection; class ProductCollection extends ResourceCollection { /** * @var int */ private $total; /** * ProductCollection constructor. * @p...
<!-- BEGIN: Content--> <div class="app-content content "> <div class="content-overlay"></div> <div class="header-navbar-shadow"></div> <div class="content-wrapper"> <div class="content-header row"> </div> <div class="content-body"> <section id="ajax-datatable"> ...
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ * * @defgroup TridentCore Trident Core * @{ */ bx_import('BxDol'); bx_import('BxDolLanguagesQuery'); define('BX_DOL_LANGUAGE_DEFAULT', ...
<?php use Carbon\Carbon; use Illuminate\Database\Connection; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Model as Eloquent; class DatabaseEloquentSoftDeletesIntegrationTest extends PHPUnit_Framework_TestCase { /** * Bootstrap Eloquent. * * @return void */ ...
<?php declare(strict_types=1); namespace GraphQL\Type\Definition; use GraphQL\Error\Error; use GraphQL\Error\InvariantViolation; use GraphQL\Error\Warning; use GraphQL\Language\AST\FieldDefinitionNode; use GraphQL\Type\Schema; use GraphQL\Utils\Utils; use function is_array; use function is_callable; use function is...
<!DOCTYPE html> <html lang="en" dir="rtl"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Login</title> <!-- Global stylesheets --> <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,1...
<?php namespace App\Http\Controllers\Livewire; use Illuminate\Http\Request; use Illuminate\Routing\Controller; class Enable2FaController extends Controller { /** * Show the user profile screen. * * @param \Illuminate\Http\Request $request * @return \Illuminate\View\View */ public...
<?php namespace Doctrine\DBAL\Platforms; use Doctrine\DBAL\Exception; use Doctrine\DBAL\LockMode; use Doctrine\DBAL\Schema\Column; use Doctrine\DBAL\Schema\ColumnDiff; use Doctrine\DBAL\Schema\Constraint; use Doctrine\DBAL\Schema\ForeignKeyConstraint; use Doctrine\DBAL\Schema\Identifier; use Doctrine\DBAL\Schema\Inde...
hello{{$name}}
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Model\Advertisements; class AdvertisementsController extends Controller { //构造方法 为了网站安全 防止地址栏直接访问后台模块 public function __construct() { if(!session('admin')...
<?php declare(strict_types=1); namespace Rector\DeadCode\Rector\ClassLike; use PhpParser\Node; use PhpParser\Node\FunctionLike; use PhpParser\Node\Stmt\ClassConst; use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\Stmt\Property; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode; use Rector\BetterPhpDocParse...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<tr class="row-keranjang"> <td class="nama_barang"> <?= $this->input->post('nama_barang') ?> <input type="hidden" name="nama_barang_hidden[]" value="<?= $this->input->post('nama_barang') ?>"> </td> <td class="harga_barang"> <?= $this->input->post('harga_barang') ?> <input type="hidden" name="harga_barang_hid...
@extends('layouts.admin') @section('breadcrumb') {!! cui()->breadcrumb([ 'Home' => route('home'), 'Barang' => '#' ]) !!} @endsection @section('toolbar') {!! cui()->toolbar_btn(route('barang.create'), 'cil-address-book', 'Tambah Barang') !!} @endsection @section('content') <div class="...
<?php /* ----------------------------------------------------------------------------------------- $Id: freeamount.php 4856 2013-06-03 12:37:26Z Tomcraft $ modified eCommerce Shopsoftware http://www.modified-shop.org Copyright (c) 2009 - 2013 [www.modified-shop.org] ---------------------------------...
<?php /* Smarty version Smarty-3.0.6, created on 2020-03-01 18:33:11 compiled from "/var/www/html/tpl/require_feeds.html" */ ?> <?php /*%%SmartyHeaderCode:20451576495e5b8f679868b9-58728732%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency'...
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Admin extends Controller_Main { public $template = 'admin/a_main'; public function before() { if(!Auth::instance()->logged_in('admin')) { HTTP::redirect('login'); } parent::before(...
<?php namespace api\controllers; use api\services\CreditProductService; use common\exceptions\RequestException; /** * Site controller */ class CreditProductController extends BaseController { /** * 文件描述 产品列表 * Created On 2019-02-21 20:21 * Created By heyafei * @return array * @throws R...
<?php namespace Towa\Eventserver; use Exception; use GuzzleHttp\Client; class Eventserver { /** @var string */ private $apiVersion; /** @var string */ private $baseUrl; /** @var \GuzzleHttp\Client */ private $client; /** @var array */ private $options; /** @var string */ p...
<?php /** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Request; class Submission extends Model { protected $table = "submissions"; protected $primaryKey = "runid"; protected $fillable = [""]; public function sim() { return $this->hasOne('App\Sim', 'runid'); } /* ...
<?php /* 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\Filter; /** * Lazy loads, stores and exposes sanitizer objects */ ...
<?php namespace Console\Commands; use Mix\Console\CommandLine\Flag; /** * Class class MacdSyncCommand * @package Console\Commands * @author alex <alexgaozhongze@gmail.com> */ class MacdSyncCommand { /** * 主函数 */ public function main() { xgo(function () { $code = Flag::...
<?php $lang['required'] = "O campo %s é obrigatório."; $lang['isset'] = "The %s field must have a value."; $lang['valid_email'] = "O campo %s deve conter um endereço de e-mail válido."; $lang['valid_emails'] = "The %s field must contain all valid email addresses."; $lang['valid_url'] = "The %s field must cont...
<?php use Illuminate\Database\Seeder; class CategoriaSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('categorias')->insert([ 'nombre'=>'Ensalada', 'created_at'=>date('Y-m-d H:i:s'), ...
<?php /* * This file is part of Twig. * * (c) 2010 Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Represents a template test. * * @author Fabien Potencier <fabien@symfony.com> * @deprecated since 1.12 ...
<?php namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; class TeamMemberSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php if (file_exists(__DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php')) { require_once __DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php'; } spl_autoload_register(function ($class) { $name = str_replace('AlibabaCloud\\SDK\\Alikafka\\V20190916\\'...
@extends('admin.home') @section('page') show orders @endsection @section('content') <!-- Main content --> <section class="content"> <!-- Default box --> <div class="card" id="printTable"> <div class="card-header"> <h3 class="card-title">show orders</h3> ...
<?php use App\Events\RealtimeTest; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | r...
<?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; class User extends Authenticatable { use HasFactory, Notifiable; /** * The a...
<?php /* * Installer for the Forkor * * @package forkor */ function load_constants() { $is_loaded = false; if ( file_exists( __DIR__ . '/index.php' ) && $_tmp_index = @file_get_contents( __DIR__ . '/index.php' ) ) { $_lines = explode( "\n", $_tmp_index ); foreach ( $_lines as $_line ) { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Rie_Predio_Has_Observaciones extends Model { use HasFactory; protected $table = 'rie_predio_has_observaciones'; public $timestamps = false; protected $fillable = [ ...
<? $MESS["IBLOCK_SORT_SHOWS"] = "average views"; $MESS["IBLOCK_SORT_SORT"] = "sorting index"; $MESS["IBLOCK_SORT_TIMESTAMP"] = "modification date"; $MESS["IBLOCK_SORT_NAME"] = "name"; $MESS["IBLOCK_SORT_ID"] = "ID"; $MESS["IBLOCK_SORT_ACTIVE_FROM"] = "active from"; $MESS["IBLOCK_SORT_ACTIVE_TO"] = "active to"; $MESS["I...
@extends('layouts.master') @section('page-css') <link rel="stylesheet" href="{{asset('assets/styles/vendor/datatables.min.css')}}"> @endsection @section('main-content') <div class="separator-breadcrumb border-top"></div> <div class="row"> <div class="col-lg-6 col-md-12"> <div class="card mb-4"> ...
<?php class Paylike_Payment_Model_Config_Backend_TestAppKey extends Mage_Core_Model_Config_Data { public function save() { $keysValidator = Mage::getModel( 'paylike_payment/config_validator_keys'); $keysValidator->setAppKey($this->getValue()) ->validateAppKey() ->valida...
<?php namespace Morilog\Jalali; use Assert\Assertion; use Carbon\Carbon; class Jalalian { /** * @var int */ private $year; /** * @var int */ private $month; /** * @var int */ private $day; /** * @var int */ private $hour; /** * @var...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class PermisoMTCResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializ...
<?php /** * Created by PhpStorm. * User: zunly * Date: 2018/12/17 * Time: 10:48 */ namespace Home\Controller; use Home\Model\Article; use Think\Controller; use Home\Model\ArticleViewModel; use Home\Model\ArticleModel; class ArticleController extends Controller { public function allArticle() { $a...
<?php use Illuminate\Database\Seeder; use App\Models\RoleUser; class RoleUserTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $roles = [ [ 'role_id' => '1', 'user_id' => '1' ...
<x-guest-layout> <!-- Validation Errors --> <!-- <x-auth-validation-errors class="mb-4" :errors="$errors" /> --> <div class="main-panel"> <form method="POST" action="{{ route('register') }}"> @csrf <label for="email">{{ __('Email') }}</label><br> <input id="ema...
<?php namespace Tsukudol\Nizicon; abstract class TestCase extends \PHPUnit_Framework_TestCase { /** * @param string|array $class_method_str "Klass::method_name" * @return callable */ public static function getPrivateMethodAsPublic($class_method) { if (is_string($class_method)) { ...
<?php namespace GoodID\Helpers; class StateNonceHandlerTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function itStoresStateInSessionHandler() { $sessionDataHandler = $this->createMock(SessionDataHandlerInterface::class); $sessionDataHandler->expects($this->once...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTasksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tasks', function ...
<?php namespace Ess\Request\V20140828; /** * @deprecated Please use https://github.com/aliyun/openapi-sdk-php * * Request of VerifyUser * * @method string getResourceOwnerId() * @method string getResourceOwnerAccount() * @method string getOwnerId() */ class VerifyUserRequest extends \RpcAcsRequest { /** ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
<?php return array( /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every ...
@extends("layouts.main") @section("content") <style> small{ color: red; } </style> <div class="d-flex flex-column-fluid" id="shipping-dev"> <div class="loader-cover-custom" v-if="loading == true"> <div class="loader-custom"></div> </div> <!--begin::Conta...
<?php namespace Services\Validators; class StudentPoints extends Validator { public static $rules = [ 'reflection' => 'required|numeric', 'responsibility' => 'required|numeric', 'reasoning' => 'required|numeric', 'resourcefulness' => 'required|numeric', 'resilience' => 'required|numeric', 'respect' => 'r...
<?php declare(strict_types=1); /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalconphp.com> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Test\Integration\Mvc\Model\Query\St...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class estudiantes extends Model { protected $fillable=['nombre','identificacion', 'apellido','contrasena','correo','tel']; use HasFactory; }
<?php session_start(); ?> <!DOCTYPE html> <html lang = "en-US"> <head> <meta charset="UTF-8"> <meta name="author" content="Vitor Yamanaka"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Website</title> </head> <body> <header></header> <nav></nav> <main> ...
<table class="table table-striped table-bordered table-hover" id="attendance_result_table"> <thead> <tr> <td></td> <td></td> <td><b>{{ date('d-m-Y',strtotime($date)) }}</b></td> <td></td> <td></td> <td></td> </tr> <tr> <th>Class/Section</th> <th>Total Student</th> <th>Present</...
<?php namespace App\Models; class TESTCTRL extends Eloquent { /** * The database utilisée par le modèle. * @var string */ protected $table = 'users'; protected $primaryKey = 'id'; } ?>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class City extends Model { protected $table = "cities"; protected $primaryKey = "CiuCodigo"; }
<!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="{{ csrf_token() }}"> <title>{{ config('app.name', 'CartShop') }}</t...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UserAddressSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table("address")->insert([ "logradouro" => "...
<?php namespace Delivery\Transformers; use League\Fractal\TransformerAbstract; use Delivery\Models\Client; /** * Class ClientTransformer * @package namespace Delivery\Transformers; */ class ClientTransformer extends TransformerAbstract { /** * Transform the \Client entity * @param \Client $model ...
<?php /** * Zend Framework * * LICENSE * * This source file is subject 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://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Auth\Middleware\Role as Middleware; use Illuminate\Support\Facades\Auth; class Role { public function handle($request, Closure $next, String $role) { if (!Auth::check()) // This isnt necessary, it should be part of your 'auth' middleware re...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Location extends Model { protected $table = 'locations'; public function distributors() { return $this->hasMany('App\Distributor'); } public function companies() { return $this->hasMany('App\Company'); } }
<li><a href="#">About</a></li> <li><a href="#">Contact</a></li>
<?php class UserTest extends ExpendableTestCase { protected function addContent() { $faker = Faker\Factory::create(); $role = \Distilleries\Expendable\Models\Role::create([ 'libelle' => $faker->text(), 'initials' => $faker->name, 'over...
<?php session_start(); include "connection.php"; error_reporting(0); ?> <!DOCTYPE html> <html lang="en"> <!--Purpose of assignment: Course:CSCI2170 Date: October 14th 2020 Author: Shawn Shahin B00632190 Description of page:This is the page that allows the user in the future to login and be able to post items an...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Index</title> </head> <body> @foreach($lab8s as $lab ) <tr class="active"> <td>{{$lab->id}}</td> <td>{{$lab->name}}</td> <td>{{$lab->surname}}</td> ...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Projects </h1> </section> <div class="content"> @include('adminlte-templates::common.errors') <div class="box box-primary"> <div class="box-body"> <div class="...
<?php $params = array_merge( require(__DIR__ . '/../../common/config/params.php'), require(__DIR__ . '/../../common/config/params-local.php'), require(__DIR__ . '/params.php'), require(__DIR__ . '/params-local.php') ); return [ 'id' => 'app-admin', 'basePath' => dirn...
<!DOCTYPE html> <html lang="en"> <head> <title>Update Account Types </title> <?php $this->load->view('main/head');?> </head> <body class="fix-header card-no-border"> <!-- ============================================================== --> <!-- Preloader - style you can find in spinners.css --> <!-- ...
<?php namespace Fuel\Migrations; class Create_Countries { function up() { \DBUtil::create_table('location_countries', array( 'id' => array( 'type' => 'int', 'constraint' => 10, 'auto_increment' => true, ), 'code' => array( 'type' => 'varchar', 'constraint' => 255, ...
<?php /** * @package Grav.Common.Page * * @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved. * @license MIT License; see LICENSE file for details. */ namespace Grav\Common\Page\Medium; class VideoMedium extends Medium { use StaticResizeTrait; /** * Parsedown element...
<?php require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'moriarty.inc.php'; require_once MORIARTY_ARC_DIR . "ARC2.php"; require_once MORIARTY_DIR . 'httprequest.class.php'; require_once MORIARTY_DIR . 'httprequestfactory.class.php'; /** * Represents a store's contentbox * @see http://n2.talis.com/wiki/Contentbo...
<?php /* Project: EQdkp-Plus * Package: Guildbanker Plugin * Link: http://eqdkp-plus.eu * * Copyright (C) 2006-2016 EQdkp-Plus Developer Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Softwar...
@extends('admin.layouts.layout') @section('header') <link rel="stylesheet" href="/css/select2.min.css"> @endsection @section('title', 'Admin | Редактировать сорт винограда: '.$product->name) @section('key', 'Admin | Редактировать сорт винограда: '.$product->name) @section('desc', 'Admin | Редактировать сорт виног...
<?php require_once './config.php'; use Cake\ORM\TableRegistry; $page = new AdminPage(); $id = 0; // Set the current action. $action = $_REQUEST['action'] ?? 'view'; $table = TableRegistry::getTableLocator()->get('Groups'); // Get the valid columns for this table $columns = array_flip($table->getSchema()->columns(...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTagsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tags', function (B...
<footer class="sticky-footer"> <div class="container my-auto"> <div class="copyright text-center my-auto"> <span>©Copyright 2021-2022 WA Academy. All Rights Reserved </span> </div> </div> </footer>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { protected $fillable = ['name']; // }
<?php declare(strict_types=1); namespace PChess\Chess\Test; use PChess\Chess\Board; use PChess\Chess\Chess; use PChess\Chess\Move; use PChess\Chess\Piece; use PHPUnit\Framework\TestCase; class MoveTest extends TestCase { public function testBuildMove(): void { $chess = new ChessPublicator(); ...
<?php // +---------------------------------------------------------------------- // | 后台菜单模型 // +---------------------------------------------------------------------- namespace app\admin\model; use \think\Db; use \think\Model; class Menu extends Model { /** * 获取菜单 * @return type */ final pub...
<?php /** * 2007-2019 PrestaShop and Contributors * * 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: * https://opensource.org/licenses/OSL-3.0 * ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('Login_Model'); } public function login(){ $this->load->view('login/login'); if(isset($_POST['lo...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php namespace Lake\FormMedia; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Storage; /** * Class MediaManager. */ class MediaManager { /** * @var string */ protected $path = '/'; /** * @var str...
@extends('admin.layout.app') @section('css') <style> .col-md-3 { /* margin-bottom: 10px; */ } label { font-weight: 600; font-size: 1.1rem; /* margin-bottom: 5px; */ color: black; margin-top: 5px; } .for...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateActividadUserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('actividad...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGymnastsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('gymnasts', function(Blueprint $table) { $table->increments('id');...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\Role; class RoleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $Role = ['customer', 'rider', 'company', 'admin', 'support', 'others']; $C...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ [ 'f_name'=>'Super', ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class CompanyDetailsController extends Controller { // }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMemberDriverTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('member_dri...
<div class="row"> @forelse ($heroes as $hero) <div class="col-12 col-md-6 col-lg-4 mb-4"> <article class="card"> <img style="height: 320px; object-fit: cover;" src="{{$hero->poster}}" class="card-img-top" alt="poster"> <div class="card-body text-truncate"> <h2>{{$he...
<?php namespace Database\Factories; use App\Models\Project; use App\Models\Task; use Illuminate\Database\Eloquent\Factories\Factory; class TaskFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Task::class; /** * ...
<?php /** * ALIPAY API: alipay.security.prod.productmanage.query request * * @author auto create * @since 1.0, 2019-06-28 10:52:41 */ class AlipaySecurityProdProductmanageQueryRequest { /** * 用户产品管理状态查询 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; ...
<?php namespace InnoBrig\FlexInput; /** * Class Input * * @package Rgasch\FlexInput */ class Input { // These remove all HTML special chars, newlines, etc. //public static $defaultFilter = FILTER_SANITIZE_STRING; //public static $defaultFlags = FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_HIGH; //...
<?php use Illuminate\Database\Seeder; class CartSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { foreach (\App\User::all() as $user) { for ($i = 0; $i < 5; $i++) { $qty = rand(1, 20); ...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" /> <?php echo snappy_style('styl...