text
stringlengths
2
1.03M
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Applications/MAMP/htdocs/spiro_d/user/accounts/guyspiro.yaml', 'modified' => 1595519744, 'data' => [ 'email' => 'admin@spirographics.com', 'fullname' => 'guy spiro', 'title' => 'administrator', ...
<?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 | ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" conte...
<?php namespace test\main\routes\Events; /** * @coversDefaultClass \main\routes\Events\Events */ class EventsTest extends \test\helpers\cases\RouteController { protected $testedClass = '\main\routes\Events\Events'; /** * @covers ::Calendar */ public function testCalendar() { $this...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateToursDailyTimelineTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tours_daily_timeline', function(Blueprint $table) { $table->incr...
<?php declare(strict_types=1); namespace Shopware\Core\Migration\V6_3; use Doctrine\DBAL\Connection; use Shopware\Core\Framework\Migration\MigrationStep; class Migration1585056571AddLanguageToMailTemplateMedia extends MigrationStep { public function getCreationTimestamp(): int { return 1585056571; ...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-4"></div> <h3>Enregistrer une Nouvelle</h3> <div class="col-4"></div> </div> <div class="row ml-4"> <div class="col-3 "> </div> <div class="col-5"> <form method="post" action="{{route('admin.news.s...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Config\Console\Command; use Magento\Config\Console\Command\ConfigSet\ConfigSetProcessorFactory; use Magento\Config\Model\Config\PathValidatorFactory; use Magento\Framework\App\Area; use M...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App\Listeners; use App\Events\myproject_envent; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Storage; class projectListener { /** * Create the event listener. * * @return void */ public function __construct() { } /** ...
<?php include '../../layout/head.php'; ?> <body id="page-top"> <div id="wrapper"> <!-- Sidebar --> <?php include '../../layout/sidebar.php'; ?> <!-- Sidebar --> <div id="content-wrapper" class="d-flex flex-column"> <div id="content"> <!-- TopBar --> <?php include '../../l...
<?php /* +---------------------------------------------------------------------------+ | OpenX v${RELEASE_MAJOR_MINOR} | | =======${RELEASE_MAJOR_MINOR_DOUBLE_UNDERLINE} | | ...
<?php /** * A helper file for Laravel 5, to provide autocomplete information to your IDE * Generated for Laravel 5.2.45 on 2017-09-22. * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/barryvdh/laravel-ide-helper */ namespace { exit("This file should not be included, only analyzed b...
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <title><?=$this->e($title);?></title> <link rel="stylesheet" href="<?= $this->assetUrl('css/style.css') ?>"> <?=$this->section('css');?> </head> <body> <div class="container"> <header> <h1>W Framework :: <?= $this->e($title);?></h1> </header> ...
<?php namespace App\Models\APICommands; use App\Events\PageEvent; use App\Models\Contracts\APICommand; use App\Models\Revision; use DB; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; use App\Models\Page; /** * Updates the slug for a page. * Updates the path for the page and all o...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { public function run(): void { $this ->call(AdSeeder::class) ->call(EmailListSeeder::class) ->call(MembersSeeder::class) ->call(InsightsSeeder::class)...
<?php require_once (dirname(dirname(dirname(__FILE__)))) . '/_support/SynapseRestfulTestBase.php'; class CoordinatorStaticListCest extends SynapseRestfulTestBase { private $coordinator = [ 'email' => 'albus.dumbledore@mailinator.com', 'password' => 'password1!', 'id' => 99704, 'org...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('profiles', function (Blu...
<?php /* * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> * * The majority of this is _NOT_ my code. I simply ported it from the * PERL Spreadsheet::WriteExcel module. * * The author of the Spreadsheet::WriteExcel module is John McNamara * <jmcnamara@cpan.org> * * I _DO_ maintain this code, and Joh...
<?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() { //Estremi della tabella del nostr...
<?php // +---------------------------------------------------------------------- // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved. // +-------------------------------------------...
<?php use kartik\helpers\Html; use kartik\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\JtSubcategory */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="jt-subcategory-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->errorSummary($model); ?> <div class="col-...
<?php // ===================================================================================================== // __ __ _ _ _ _ _ ____ ___ _ _ // | \/ | __ _ ___| | _| \ | | ___ | |_ __ _ ___ | / ___| / _ \| \ | | // | |\/| |/ _` |/ __| |/...
<?php namespace app\controllers; use Yii; use app\models\Dosis; use app\models\DosisSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * DosisController implements the CRUD actions for Dosis model. */ class DosisController extends Controller { /** * @inherit...
<?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...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> @foreach($posts as $post) <div class="panel panel-default"> <div class="panel-heading"> {{ $post->title }} ...
<?php $__env->startSection('content'); ?> <div class="page-wrapper"> <div class="content"> <div class="row"> <div class="col-lg-8 offset-lg-2"> <h4 class="page-title">Edit Asset</h4> </div> </div> ...
<?php /** * params.php * @author Revin Roman * @link https://rmrevin.com */ return [ 'component.authClientCollection' => [ 'class' => yii\authclient\Collection::className(), 'clients' => require __DIR__ . '/auth_clients.php', ], ];
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php print "You may not access this api directly.<br />"; exit (1); ?>
<?php namespace API_Medico; use Illuminate\Database\Eloquent\Model; class CatalogoRespuestas extends Model { public $timestamps = false; protected $table="catalogorespuestas"; protected $fillable = ['titulo','pregunta']; }
<?php /** * (c) NetSuite, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace SellerWorks\NetSuite\Model; /** * CustomerNumberFormat */ class CustomerNumberFormat { static $paramtypesmap = a...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class BeninChannelsController extends Controller { // }
<?php declare(strict_types=1); namespace Plaisio\Form\Test\Cleaner; use Plaisio\Form\Cleaner\AmbiguityCleaner; use Plaisio\Form\Test\Cleaner\Traits\StringCleaner; use Plaisio\Form\Test\PlaisioTestCase; /** * Test cases for class AmbiguityCleaner. */ class AmbiguityCleanerTest extends PlaisioTestCase { //--------...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePaymentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('payments', fun...
<?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 switch (true) { case false; echo "semicolons on case statements"; case true; echo "why does this work?"; }
<?php /* * (c) Antal Áron <antalaron@antalaron.hu> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ if (!@include __DIR__.'/../vendor/autoload.php') { exit('You must set up the project dependencies, run the following commands: w...
<?php namespace app\models; use Yii; /** * This is the model class for table "plan_de_estudio". * * @property integer $id_plan * @property integer $id_asig * @property integer $id_facultad * @property integer $curso * @property integer $semestre * * @property Asignaturas $idAsig * @property Facultades $idF...
<?php use yii\helpers\Html; use yii\grid\GridView; use app\models\Otdel; use app\models\Zakaz; use dosamigos\datepicker\DatePicker; use yii\bootstrap\Nav; use yii\grid\SetColumn; /* @var $this yii\web\View */ /* @var $searchModel app\models\ZakazSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->t...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Crm\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for MidocoDocumentBinary StructType * @subpackage Structs */ class MidocoDocumentBinary extends AbstractStructBase { /** * The docN...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit7ee59ce55d2c8d7b79642ac025947e72 { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', '98ac7ebbcd4b271b4f101d3af...
@extends('layouts.app') @section('content') <!-- top navbar --> @include('include.top-navbar') <!-- Table --> <div class="container-fluid mt--7"> <div class="row"> <div class="ml-lg-5 col-lg-10"> <div class="card shadow"> <div class="card-header border-0"> <div class="row align-items-center"> ...
<!-- top bar navigation --> <div class="headerbar"> <!-- LOGO --> <div class="headerbar-left"> <a href="#" class="logo"><span>Admin</span></a> </div> <nav class="navbar-custom"> <ul class="list-inline float-right mb-0"> <li class="list-inline-item dropdown notif mr-3"> ...
@extends('app') @section('content') <h1>Addresses of {{$contact->first_name.' '.$contact->last_name }} </h1> <table class="table table-bordered table-hover dataTables_wrapper dt-bootstrap4"> <thead> <tr> <td>#</td> <td> <h1>Address</h1> </td> </tr> </thead> <tb...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Holowatcher\V20200730\Models\UserFindAllResponseBody; use AlibabaCloud\SDK\Holowatcher\V20200730\Models\UserFindAllResponseBody\pageable\sort; use AlibabaCloud\Tea\Model; class pageable extends Model { /** * @var int ...
<?php namespace App\Http\Middleware; use Closure; use Auth; class UsuarioLogueado { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $user ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* ---------------------------------------------------------------------------- * Easy!Appointments - Open Source Web Scheduler * * @package EasyAppointments * @author A.Tselegidis <alextselegidis@gmail.com> * @copyright Copyright (c...
<?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 namespace Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20170428133143 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema $schema) ...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" int...
@extends('galleries.layout') @section('gallery-title') Home @endsection @section('gallery-content') {!! breadcrumbs(['Gallery' => 'gallery']) !!} <h1>Gallery</h1> @if($galleries->count()) {!! $galleries->render() !!} @foreach($galleries as $gallery) <div class="card mb-4"> <div class="ca...
<!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', 'Laravel') }}</tit...
<?php /** * Created by PhpStorm. * User: pbb * Date: 10/08/18 * Time: 4:02 PM */ namespace ZEROSPAM\Freshbooks\Business\Enums\Estimate; use MabeEnum\Enum; use ZEROSPAM\Framework\SDK\Utils\Contracts\Impl\PrimalValuedEnumTrait; use ZEROSPAM\Framework\SDK\Utils\Contracts\PrimalValued; /** * Class StatusEnum * ...
@extends('{$addon_name}::layouts.app') <?php $title = trans('{$addon_name}::messages.sample_title'); ?> {{-- --}} @section('content') <h1>{{ $title }}</h1> @endsection {{-- --}} @section('styles') @endsection {{-- --}} @section('scripts') @endsection
<?php /** * This file is part of the Nella Project (https://victor.nella.io). * * Copyright (c) Patrik Votoček (https://patrik.votocek.cz) * * For the full copyright and license information, * please view the file LICENSE.md that was distributed with this source code. */ namespace Nella\Victor\Composer; use Co...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Decreto extends Model { public $timestamps = false; protected $table = 'decreto'; protected $fillable = ['num_decreto','fecha_decreto']; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; class UserController extends Controller { // public function show(string $name) { $user = User::where('name', $name)->first() ->load(['articles.user', 'articles.likes', 'articles.tags']); $articles ...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class GoodsModel extends Model { protected $table="p_goods"; protected $primaryKey="goods_id"; protected $guarded=[]; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDepartmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('departments...
<?php /** * @license Copyright 2011-2014 BitPay Inc., MIT License * see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE */ namespace Bitpay\Config; use Symfony\Component\Config\Definition\Processor; class ConfigurationTest extends \PHPUnit_Framework_TestCase { public function testProcessAndVal...
@include('layout.template') <div class="container mt5"> <table class="table"> <thead> <tr> <!-- <th scope="col">Id Meniu</th> --> <th scope="col">Nota (1-5)</th> <th scope="col">Parere</th> <!-- <th scope="col">Pret</th> <th scope="col">Ingrediente</th> <th scope="col">Actiuni</...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace _PhpScoper5ece82d7231e4\Symfony\Component\DependencyInjection; use _PhpS...
<?php /** * @package Regular Labs Library * @version 20.4.17841 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2020 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.h...
<?php return [ /* |-------------------------------------------------------------------------- | バリデーション言語行 |-------------------------------------------------------------------------- | | 以下の言語行はバリデタークラスにより使用されるデフォルトのエラー | メッセージです。サイズルールのようにいくつかのバリデーションを | 持っているものもあります。メッセージはご自由に調整してくださ...
<?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...
<div class="row"> <div class="col-md-12"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">Bolsarol Edit</h3> </div> <?php echo form_open('bolsarol/edit/'.$bolsarol['']); ?> <div class="box-body"> <div class="row clearfix">...
<?php namespace WeSimplyCode\LaravelAfasRestConnector; class AfasConnection { /** * The configuration of the selected connection * @var array */ protected $config; public function __construct(array $config) { $this->config = $config; } /** * Get a getConnector for...
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2016 * @package Admin * @subpackage JQAdm */ namespace Aimeos\Admin\JQAdm\Dashboard\Order\Latest; /** * Default implementation of dashboard latest order JQAdm client. * * @package Admin * @subpackage JQA...
<div class="row"> <div class="box col-md-12"> <div class="box-inner"> <div class="box-header well" data-original-title=""> <h2><i class="glyphicon glyphicon-user"></i> Daftar anggota tim</h2> </div> <div class="box-content"> <?php if(isset($pesan)){ echo' <div class="alert al...
<?php ini_set('memory_limit', '-1'); include_once('./_common.php'); // clean the output buffer ob_end_clean(); if(!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE)) die('사용할 수 없는 기능입니다.'); if($is_admin != 'super') die('최고관리자로 로그인 후 실행해 주세요.'); // browscap cache...
<nav class="main-header navbar navbar-expand navbar-white navbar-light"> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> </ul> <!-- SEARCH FORM --> <form class="form-inline ml-3"> ...
<?php /* * Copyright 2018 Anthony Calabretta * * 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...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Payment extends Model { use HasFactory; use SoftDeletes; protected $fillable = [ 'student_id', 'subject_id', ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class RegistrationRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\MailerBundle\DependencyInjection; use Symfony\Compo...
<?php use App\Http\Controllers\TodoController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applicatio...
<?php namespace defyma\LaraRbac\Contracts; use defyma\LaraRbac\Models\Role; use Illuminate\Contracts\Auth\Authenticatable; /** * Interface User * * @package defyma\LaraRbac\Contracts * * @author Andrey Girnik <girnikandrey@gmail.com> */ interface User extends Authenticatable { /** * User identifier. ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Categoria; use Illuminate\Support\Str; use Illuminate\Support\Facades\Log; class CategoriasController extends Controller { // public function consultar(){ $categorias = Categoria::all(); return view("painel.cate...
@extends('layouts.contentLayoutMaster') {{-- page title --}} @section('title','Users List') {{-- vendor styles --}} @section('vendor-styles') <link rel="stylesheet" type="text/css" href="{{asset('vendors/css/tables/datatable/datatables.min.css')}}"> @endsection {{-- page styles --}} @section('page-styles') <link rel="s...
@extends('layout.master') @section('title') srvis @endsection @section('content') <div id="div1"><h2>Let jQuery AJAX Change This Text</h2></div> {{ $name }} <button>Get External Content</button> @foreach($name2 as $nn) <h1>{{ $nn['userName'] }}</h1> @endforeach {{ print_r($name2) }} @ends...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php 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 declare (strict_types = 1); namespace app\model; use think\Model; /** * @mixin \think\Model */ class Home extends Model { // }
<?php namespace Illuminate\Validation\Concerns; use DateTime; use Countable; use Exception; use Throwable; use DateTimeZone; use DateTimeInterface; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; use Illuminate\Validation\Rules\Exists; use Illuminate\Validation\Rules\Unique; use ...
<!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.0"> <title>Biodata</title> </head> <body> <fieldset> <legend> ...
<?php /* Hello, world! Hello, world! es el programa más básico que puede existir en cualquier lenguaje de programación. Todos recordamos la primera vez que escribimos un Hello, world! y lo satisfactorio que fue. El reto del día de hoy es escribir Hello, world! en todos los lenguajes de programación que puedas. ¡Espera...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
@extends('c::layout.main') @section('title', $title) @section('content') <div class="jumbotron text-center error-message-section"> <h1>{{ $title }}</h1> @foreach ((array) $text as $paragraph) <p>{{ $paragraph }}</p> @endforeach <p> @unless (isset($hideBackUrl)) <a href="javascript:history.back()" class="btn...
<?php namespace App\Providers; use App\Models\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; class BladeServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { /...
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use File; use Auth; use Session; use App\Service; class ServicesController extends Controller{ public function addService(Request $request){ if($request->isMetho...
<?php namespace AlipayAop\request; /** * ALIPAY API: alipay.ebpp.invoice.title.list.get request * * @author auto create * @since 1.0, 2021-01-05 16:24:24 */ class AlipayEbppInvoiceTitleListGetRequest { /** * 蚂蚁电子发票平台用户发票抬头列表获取 **/ private $bizContent; private $apiParas = array(); private $terminalType; ...
<x-admin-master> @section('title', 'Create Post') @section('content') <h1 class="h1">Create Concert</h1> <form method="POST" action="{{ route('admin.concerts.store') }}"> @csrf @method('POST') <div class="form-group"> <label for="date">Időpont</label> ...
<?php include "../../incl/lib/connection.php"; require "../../incl/lib/generatePass.php"; require_once "../../incl/lib/exploitPatch.php"; $ep = new exploitPatch(); //here im getting all the data $userName = $ep->remove($_POST["userName"]); $newusr = $ep->remove($_POST["newusr"]); $password = $ep->remove($_POST["passwor...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\theme */ $this->title = 'Редакция темы: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Темы', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; $t...
<?php namespace app\controllers; use Yii; use app\models\Product; use app\models\ProductSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * ProductController implements the CRUD actions for Product model. */ class ProductController extends Controller { /** ...
<?php use App\Http\Controllers\PemeringkatanController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your a...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Comment extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'comment', 'user_id', 'is_appro...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class HorarioRemedio extends Model { use HasFactory; protected $fillable = ['remedio_id', 'data_hora']; }