text
stringlengths
2
1.03M
<?php namespace Laravel\Nova\Tests\Controller; use Illuminate\Support\Facades\Gate; use Laravel\Nova\Actions\ActionEvent; use Laravel\Nova\Tests\Fixtures\Post; use Laravel\Nova\Tests\Fixtures\User; use Laravel\Nova\Tests\IntegrationTest; use Laravel\Nova\Tests\Fixtures\Address; use Laravel\Nova\Tests\Fixtures\CustomK...
@extends('admin.layouts.admin') @section('content') {{-- <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> --}} {{-- <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> --}} {{-- <script src="//code.jquery....
<?php namespace metastore; /** * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ use Thrift\Base\TBase; use Thrift\Type\TType; use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use...
<?php namespace app\index\controller; use think\Db; require_once('../application/common.php'); class Pay extends Paycommon { # 买入库 public function index() { session('_paytoken',makeCode(20)); $data=$this->request->param(); if($this->request->isPost()) { $order_no = inpu...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Login</div> <div class="panel-body"> <form class="form-ho...
<?php namespace App\Containers\Crud\Actions; use App\Containers\Crud\Traits\FolderNamesResolver; /** * GenerateConfigFileAction Class. * * @author Johan Alvarez <llstarscreamll@hotmail.com> */ class GenerateConfigFileAction { use FolderNamesResolver; public function run(array $options) { $this->create...
<?php /** * ALIPAY API: alipay.mobile.public.follow.add request * * @author auto create * @since 1.0, 2014-06-12 17:16:19 */ class AlipayMobilePublicFollowAddRequest { /** * 对指定的公众号进行添加关注 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCo...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use kartik\select2\Select2; /* @var $this yii\web\View */ /* @var $model app\models\Empleado */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="empleado-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->fie...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInitde29830797182a3af3a4889dda2278f6::getLoader();
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class BlogCategoryUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { // return auth()->check(); ...
--TEST-- Bug #69337 (Stream context leaks when http request fails) --SKIPIF-- <?php require 'server.inc'; http_server_skipif('tcp://127.0.0.1:22345'); ?> --INI-- allow_url_fopen=1 allow_url_include=1 --FILE-- <?php require 'server.inc'; function stream_notification_callback($notification_code, $severity, $message, $me...
<?php namespace App\Http; 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 array */ protected $middleware =...
@extends('layouts.master') @section('content') <div class="app-main" id="main"> <!-- begin container-fluid --> <div class="container-fluid"> <!-- begin row --> <div class="row"> <div class="col-md-12 m-b-30"> <!-- begin page title --> <div class="d-b...
<?php use Illuminate\Database\Seeder; class DetailCetakSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Crm\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for GetErrorMessageRequest StructType * @subpackage Structs */ class GetErrorMessageRequest extends AbstractStructBase { /** * The ...
<?php namespace App\Http\Controllers; use App\GayleModel; class GayleController { public function __invoke(GayleModel $Gayle) { return; } }
<?php namespace Database\Factories; use App\Models\Salary; use Illuminate\Database\Eloquent\Factories\Factory; class SalaryFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Salary::class; /** * Define the model's...
<?php #----------------------------------------------------------------- function nombre_vendedor($vendedor){ $query='select * from vendedores where numero="'.$vendedor.'"'; $res=mysql_query($query); $rows=mysql_num_rows($res); if($rows<1){ $array="NULL"; return $array; }else{ $array=mysql_fetch_array($re...
<?php declare(strict_types=1); use Ssch\TYPO3Rector\Rector\v9\v4\SystemEnvironmentBuilderConstantsRector; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { $containerConfigurator->import(__DIR__ . '/....
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\Noticia; use App\Models\Category; use App\Models\Tag; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use App\Http\Requests\NoticiaRequest; use function GuzzleHttp\Promise\all; class NoticiaControl...
@include('../include.header') <section class="content-wrapper"> <div class="container-fluid"> <div class="row"> <aside class="col-md-12"> @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $e...
<?php get_header();?> <div class="content uk-container uk-container-center" > <ul id="categories-filter" class="categories-filter cl-effect-3"> <li class="relative" data-uk-filter=""> <a href=""><?php _e('todos', 'ip'); ?></a></li> <?php $categorias = get_terms('category'); foreach ($categorias as $fi...
<?php /** * This file is part of the netsuitephp/netsuite-php library * AND originally from the NetSuite PHP Toolkit. * * New content: * @package ryanwinchester/netsuite-php * @copyright Copyright (c) Ryan Winchester * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 * @link https://g...
<?php namespace Admingenerator\GeneratorBundle\Guesser; use Admingenerator\GeneratorBundle\Exception\NotImplementedException; use Doctrine\ODM\MongoDB\DocumentManager; use Symfony\Component\DependencyInjection\ContainerAware; class DoctrineODMFieldGuesser extends ContainerAware { private $documentManager; ...
<?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "siakad"; $port = 3310; $dbtable= "pegawai"; ?>
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php /** * Project: ASPES.msc * Author: Chukwuemeka Nwobodo (jcnwobodo@gmail.com) * Date: 9/11/2016 * Time: 9:09 PM **/ namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class Exercise * * @package App\Models */ class Exercise extends M...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * @author Neng Ani Suryani <nngnsryn@gmail.com> * @since 0.1 * @category Migrations */ class Migration_kelas extends CI_Migration { /** * Lets create user table */ public function up() { if (!$this->db->table_ex...
<?php namespace ROS\Request\V20150901; /** * Request of InquiryStack * */ class InquiryStackRequest extends \RoaAcsRequest { /** * @var string */ protected $uriPattern = '/stacks/inquiry'; /** * @var string */ protected $method = 'POST'; /** * Class constructor. ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="{{ asse...
<?php /** * Page template. * * @package Page Builder Framework */ defined( 'ABSPATH' ) || die( "Can't access directly" ); $grid_gap = get_theme_mod( 'sidebar_gap', 'medium' ); get_header(); ?> <div id="content"> <?php do_action( 'wpbf_content_open' ); ?> <?php wpbf_inner_content(); ?> <?php do_action( ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use App\Models\Checkout; use Illuminate\Support\Facades\Auth; class Camp extends Model { use HasFactory, SoftDeletes; protected $fillable =...
<?php namespace ContainerEoC31Yy; 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 getDoctrine_Orm_ProxyCacheWarmerS...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ListenTicks extends Model { protected $fillable = [ 'title', 'point','content_json', 'type_user', 'class_id', 'url', 'created_at', 'updated_at' ]; public function skills() { return $this->hasMany(Skill::class, 'id', 'skil...
<?php class Stripe_Plan extends Stripe_ApiResource { public static function constructFrom($values, $apiKey=null) { $class = get_class(); return self::_scopedConstructFrom($class, $values, $apiKey); } public static function retrieve($id, $apiKey=null) { $class = get_class(); return self::_sco...
@extends('client.layout') @section('content') {{-- <section class="site-section" id="about-section"> --}} <div class="gtco-section"> <div class="gtco-container"> <div class="row large-gutters"> @include('client.shared.slide-children') <div class="col-lg-6 ml-auto"> ...
@extends('front.layout.index') @section('meta') <title>HOME | Dlims Bhimber Govajk </title> @endsection @section('content') <div class="section-slider row-20"> <div class="flexslider advanced-slider slider white" data-options="animation:fade"> <ul class="slides"> <li data-slider-anima="fa...
<?php namespace app\Infrastructure\DB; use Yii; use yii\db\ActiveRecord; class RecordLandlord extends ActiveRecord { public static function getDb () { return Yii::$app->dbLandlord; } }
<?php use Restserver\Libraries\REST_Controller; defined('BASEPATH') OR exit('No direct script access allowed'); require APPPATH . 'libraries/REST_Controller.php'; require APPPATH . 'libraries/Format.php'; class history_purchase extends REST_Controller { public function __construct() { parent::__const...
<?php /** * @package Joomla.Administrator * @subpackage com_checkin * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $listOrder = $this->escape($this->state->ge...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Title extends Model { protected $table = 'title'; protected $fillable = [ 'description','order','isFirst','status','remarks' ]; }
<form method="POST"> <p> Name: <input type="text" name="name" value="<?php echo addslashes($artist['name']) ?>" /> </p> <p> Country: <input type="text" name="country" value="<?php echo addslashes($artist['country']) ?>" /> </p> <input type="hidden" name="id" value="<?...
<button type="button" class="btn_3" id="btn-change-profile" data-toggle="modal" data-target="#password">Đổi mật khẩu</button> <div class="wrap-modal-rating"> <div id="password" class="modal fade" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> ...
<?php // +---------------------------------------------------------------------- // | Yershop 开源网店系统 // +---------------------------------------------------------------------- // | Copyright (c) 2014 http://www.yershop.com All rights reserved. // +---------------------------------------------------------------------- /...
<?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 ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Project extends Model { public function tickets() { return $this->hasMany('App\Ticket'); } public function tests() { return $this->hasMany('App\test'); } public function modelcodes() { return $this->hasMany('App\Modelcode'); } }
<?php namespace App\Http; 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 array */ protected $middleware =...
<!-- ALERT GAGAL LOGIN --> <?php if ($this->session->flashdata('SE_check')) { if($this->session->flashdata('cond')=='0'){ ?> <script> swal({ title: "Failed !", text: "<?= $this->session->flashdata('SE_check') ?>", icon: "error", ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/resources/keyword_plan_campaign.proto namespace Google\Ads\GoogleAds\V6\Resources; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A Keywor...
<?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 ...
<!-- start: Content --> <div id="content" class="span10"> <ul class="breadcrumb"> <li> <i class="icon-home"></i> <a href="<?php echo base_url('dashboard')?>">Home</a> <i class="icon-angle-right"></i> </li> <li><a href="<?php echo base_url('manage-pages'...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang='zh-CN' xml:lang='zh-CN' xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>系统发展历程</title> <link rel="stylesheet" type...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductInfosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product_in...
<?php // Prevent file from being loaded directly if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } add_theme_support( 'custom-background', apply_filters( 'et_custom_background_args', array() ) ); if ( function_exists( 'add_post_type_support' ) ) { add_post_type_support( 'page', 'excerpt' ); } add_theme_support( 'aut...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<!DOCTYPE html> <html lang="en"> <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>{{ $title }}</title> <link rel="stylesheet" type="text/css" href="{{ asset('app/css/fonts.css') }}"> <link rel="stylesheet" type="tex...
<?php use app\models\Buku; use app\models\Pengarang; use yii\helpers\Html; /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <div class="site-index"> <?= Html::a('<i class="glyphicon glyphicon-plus"></i>', ['buku/create'], ['class'=>'btn btn-success']) ?> <div>&nbsp;</div> <table clas...
<?php use Faker\Generator as Faker; $factory->define(App\MedicalRequest::class, function (Faker $faker) { return [ // 'name' => $faker->name, 'email' => $faker->unique()->safeEmail, 'phone'=> $faker->e164PhoneNumber, 'status'=>0, ...
<!-- (14) Table Menu --> <div class="btn-group"> @if(isset($menuSetting['url_delete']) && !empty($menuSetting['url_delete']) &&isset($menuSetting['session_token']) && !empty($menuSetting['session_token'])) <form method='post' action="{{ $menuSetting['url_delete'] }}"> <input type='hidden' name='_toke...
<?php /* * This file is part of the GraphAware Neo4j PHP OGM package. * * (c) GraphAware Ltd <info@graphaware.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace GraphAware\Neo4j\OGM\Tests\Util; class NodeProxy { ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\Category; use App\Models\Post; use Illuminate\Http\Request; use Illuminate\Support\Str; class PostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(CountryTableSeeder::class); $this->call(DepartmentTableSeeder::class); $this->call(Municipa...
<!-- Modal content--> <div class="modal-content"> <div class="modal-header bg-info"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Edit job</h4> </div> <?php echo validation_errors(); $attributes = array('class' => '...
<?php namespace services; use common\components\Service; /** * Class Application * * @package services * @property \services\merchant\MerchantService $merchant 商户 * @property \services\merchant\AccountService $merchantAccount 商户 * @property \services\merchant\MemberService $merchantMember 商户用户 * @property \se...
<?php use Illuminate\Database\Seeder; class ObjectsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { /* Part 10 */ $faker = Faker\Factory::create(); /* Part 10 */ for ($i = 1; $i <= 10; $i++) ...
<?php namespace Miravel\Traits; trait HasOptions { /** * @var array */ protected $options = []; /** * @var array */ protected $defaultOptions = []; /** * @return array */ public function getDefaultOptions(): array { return $this->defaultOptions; ...
<!-- Reset mail Description: Php script to reset the mail. Author:Kshithij Iyer Date: 25/8/2017 Email: ahole@disroot.org --> <?php session_start(); include_once("db_connection.php"); #Creating a connection to db. $connection=mysqli_connect($host,$username,$password,$db_name); $query=""; if(mysqli_connect_errno())...
<?php namespace TypiCMS\Modules\Users\Repositories; use TypiCMS\Modules\Core\Repositories\RepositoryInterface; interface UserInterface extends RepositoryInterface { /** * Create a new model. * * @param array $data * * @return mixed Model or false on error during save */ public f...
<?php /* * Copyright (c) 2017 Baidu.com, Inc. All Rights Reserved * * 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 b...
<?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 ...
<?php return array ( 'FM-TRK' => array('name' => 'Chuuk', 'level' => 'state'), 'FM-KSA' => array('name' => 'Kosrae', 'level' => 'state'), 'FM-PNI' => array('name' => 'Pohnpei', 'level' => 'state'), 'FM-YAP' => array('name' => 'Yap', 'level' => 'state'), );
<?php /** * PaidMembershipsPro class * * @author: themeum * @author_uri: https://themeum.com * @package Tutor * @since v.1.3.5 */ namespace TUTOR_PMPRO; if ( ! defined( 'ABSPATH' ) ) exit; class PaidMembershipsPro { public function __construct() { add_action('pmpro_membership_level_after_othe...
<?php // SonataAdminBundle:CRUD:show_html.html.twig return array ( );
<?php namespace Ginger\Gin; use Guzzle\Http\Client; /** * Parser. * * @package GingerLight * @author Abdellatif Ait boudad <a.aitboudad@gmail.com> */ class Gin { /** * @var Client */ protected $client; /** * @var string */ protected $baseUrl = 'http://services.gingersoftwar...
<?php /** * This file is part of the CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CodeIgniter\Entity\Cast; /** * Class BaseCast */ ab...
<?php /** * Определение наличия мата (нецензурных слов) в тексте, матотест * * Алгоритм достаточно надёжен и быстр, в т.ч. на больших объёмах данных * Метод обнаружения мата основывается на корнях и предлогах русского языка, а не на словаре * Слова "лох", "хер", "залупа", "сука" матерными словами не считаются (см....
<?php /* * This file was automatically generated by sel-utils and * released under the MIT License. * * License: https://github.com/sel-project/sel-utils/blob/master/LICENSE * Repository: https://github.com/sel-project/sel-utils * Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ co...
<?php namespace App\Http\Controllers\Admin\Product; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class ReviewController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // ...
@extends('layouts.app') @section('template_title') E-Book Detail Page @endsection @section('free-book-css') <link rel="stylesheet" href="/css/free-book.css"> @endsection @section('content') <div class="free-ebook"> <div class="page-path"> <span class="start-text">Category | </span><span class="end-text">{{$...
<?php namespace LaravelEnso\Tables\Services\Data\Sorts; use Illuminate\Database\Eloquent\Builder; use LaravelEnso\Tables\Services\Data\Config; class Sort { private Config $config; private Builder $query; public function __construct(Config $config, Builder $query) { $this->config = $config; ...
@extends('admin.layouts.admin') @section('title', 'Thêm services') @section('css') <link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.3/summernote.css" rel="stylesheet"> @endsection @section('js') <script src="{{ asset('/vendor/laravel-filemanager/js/stand-alone-button.js') }}"></script> <...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); $this->call(UserTypesTableSeeder::class); } }
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit0e086745e3db7c19274c8071334baf5e::getLoader();
<?php/*| [{"username":"dev","password":"78977826ab260d2b41895aea75a5a1b27c8a79e5","project":"dev"},{"username":"dev1","password":"de36b56c6292111565f1f5f2d3f518268ed6bee4","project":"dev1"},{"username":"dev2","password":"bf441462eeb300be071c9022801d82f746d83d68","project":"dev2"},{"username":"dev4","password":"b8c8257e...
<?php namespace Coursework\View\StudentWork\SaveFiles; require_once("$CFG->libdir/formslib.php"); use Coursework\View\StudentWork\Locallib as locallib; use Coursework\View\DatabaseHandlers\Main as MainDB; use Coursework\View\Main as MainView; class TeacherFileManager extends \moodleform { //Add elements to for...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>@yield('title')</title> <link rel="stylesheet" type="text/css" href="{{asset('css/clipping.css')}}"> </head> <body> <page size="A4"> <div id="header"> <div id="titulo"> <span class="info_titulo">info</span> <span class="defe...
<?php $request = app('Illuminate\Http\Request'); ?> <?php $__env->startSection('content'); ?> <h3 class="page-title"><?php echo app('translator')->getFromJson('global.permissions.title'); ?></h3> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('permission_create')): ?> <p> <a h...
<?php namespace App\Shop\OrderDetails; use Illuminate\Database\Eloquent\Model; class OrderProduct extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'order_id', 'product_id', 'quantity' ]; /** * Th...
<?php namespace Connectum\Entity\Custom; class OrderRebillEntityMainOrdersSecure3d { }
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class AlatMusikSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $produk = [ [ 'name' => 'Pa...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUserAndCategoryTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_an...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class AddForeignKeysToColisTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('colis', function(Blueprint $table) { $table->foreign('id_user', 'id'...
@extends('layouts.app') @section('content') <div class="text-center"> <h1>プロフィール編集</h1> </div> <div class="row"> <div class="col-sm-6 offset-sm-3"> {!! Form::open(['route' => ['myteams.update', $user->id], 'method' => 'put']) !!} <div class="form-group"> {!! Form::label('na...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Contractor */ $this->title = 'Update Contractor: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Contractors', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => ...
<div id="trabajadores"> <br> <div align="center"> <h1>TRABAJADORES</h1> </div> <div class="container"> <div class="row"> <div class="col-md-12"> <table class="table bg-dark my-3"> <tr> <td> <button class="btn btn-default btn-block" @click="add...
<?php namespace Database\Seeders; use App\Models\Repository; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { Repository::factory(40)->create(); } }
<?php namespace App; trait PageTemplates { /* |-------------------------------------------------------------------------- | Page Templates for Backpack\PageManager |-------------------------------------------------------------------------- | | Each page template has its own method, that define...
<?php /** * Created by PhpStorm. * User: aless * Date: 13/03/2019 * Time: 12:38 */ namespace Bitlywrap\Interfaces; use Bitlywrap\Auth\Auth; interface AdapterInterface { /** * AdapterInterface constructor. * @param Auth $auth * @param string|null $base_uri * @param object|null $client ...
<?php /* coolsms php example send group messages */ $configFile = file_get_contents("../config.json"); $config = json_decode($configFile, true); function get_header() { global $config; # apiKey && apiSecret are acquired from coolsms.co.kr/credentials $apiKey = $config["apiKey"]; $apiSecret = $config["apiSecr...