text
stringlengths
2
1.03M
<?php namespace App\modules; use Illuminate\Support\ServiceProvider; class ModuleServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { $modules = config("modules.module"); $sub_module = config("...
<?php use App\Http\Controllers\Admin\CategoriaController; use App\Http\Controllers\Admin\ProgramaController; use App\Http\Controllers\Admin\InicioController; use App\Http\Controllers\Admin\MatriculaController; use App\Http\Controllers\Admin\PlantillaController; use App\Http\Controllers\Admin\UsuarioController; use App...
<!DOCTYPE html> <html> <head> <title>Welcome to Beetle!</title> <meta charset="UTF-8"> <meta name="description" content="Search the web for sites images, gifs, memes etc"> <meta name="keywords" content="HTML,CSS,PHP,JavaScript"> <meta name="author" content="Brendan Milton"> <meta name="view...
<div x-data="{ count: 0 }"> <x-table-responsive> <div class="flex items-center"> <p class="text-gray-500 text-lg font-bold text-center ml-2">Corte del año:</p> <select wire:model="ano_id" x-on:click="count = 1" class="w-52 form-control h-8 text-m text-center ml-4"> <o...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row"> <h3>Nova Programação</h3> @php $icon = Icon::create('floppy-disk'); @endphp {!! form($form->add('salve', 'submit', [ 'a...
<?php namespace App\Models; use PDO; /** * Example user model * * PHP version 7.0 */ class User extends \Core\Model { /** * Error messages * * @var array * */ public $errors = []; /** * Class constructor * * @param array $data Initial property values * ...
<style> .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th { padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 0px !important; } </style> <div class="d-grid gap-2 d-md-flex"> <button type="button" class="b...
@extends ('layouts.app') @section('content') <div class="py-12 bg-blue-200"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg"> <div class="p-6 bg-white border-b border-gray-200"> <form class="row g-3" action...
<?php namespace Domain\TodoCQRS\Query; use Domain\TodoCQRS\DataTransferObjects\GetListTodoData; class GetListTodosQuery extends Query { public function __construct(GetListTodoData $dTO) { parent::__construct($dTO); } }
<div class="form-group @if ($errors->has('title')) has-error @endif"> {!! Form::label('title', trans('fields.name'), ['class' => 'required']) !!} {!! Form::text('title', (Request::has('slug') ? studly_case(Request::get('slug')) : null), ['class' => 'form-control input-lg']) !!} @if ($errors->has('title')) <...
@extends('layout.app') @section('content') <div class="main-content"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2> Xem chi tiết Khóa học <a class="btn btn-primary" href="...
<div> <p>Poštovani/a, prvenstveno želimo da Vam se zahvalimo na interesovanju i prijavi na Excel online kurs. U prilogu Vam dostavljamo predračun i upute za plaćanje na osnovu kojeg je potrebno da izvršite uplatu. Molimo Vas da uplatu izvršite u što kraćem vremenskom periodu, kako bismo m...
@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">Register</div> <div class="panel-body"> <form class="form...
@extends('layouts.app') @section('css') @endsection @section('content') <!--begin::Content--> <div class="content d-flex flex-column flex-column-fluid" id="kt_content"> <!--begin::Subheader--> <div class="subheader py-2 py-lg-6 subheader-solid" id="kt_subheader"> <div class="container-fl...
<?php defined('COREPATH') or exit('No direct script access allowed'); ?> WARNING - 2014-10-17 06:52:13 --> Fuel\Core\Fuel::init - The configured locale en_US is not installed on your system. ERROR - 2014-10-17 06:52:19 --> Notice - Use of undefined constant user_name - assumed 'user_name' in C:\xampp\test_fuelphp\fuel...
@extends('layout') @section('content') @if ($errors->any()) <div class="alert alert-danger alert-dismissable" style="margin-top:10px;"> <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <ul> @foreach ($errors->all() as $error) ...
<?php namespace Pantono\Locale\Entity\Repository; use Pantono\Database\Repository\AbstractRepository; class CurrencyRepository extends AbstractRepository { /** * @param $code * @return null|\Pantono\Locale\Entity\Currency */ public function findCurrencyByCode($code) { return $this->...
<?php namespace BraspagCielo\API30\Ecommerce\Request; use BraspagCielo\API30\Ecommerce\Sale; use BraspagCielo\API30\Environment; use BraspagCielo\API30\Merchant; use Psr\Log\LoggerInterface; /** * Class QuerySaleRequest * * @package Cielo\API30\Ecommerce\Request */ class QuerySaleRequest extends AbstractRequest ...
<?php elgg_admin_gatekeeper(); _elgg_admin_add_plugin_settings_menu(); elgg_push_context('admin'); elgg_push_context('developers_gear'); // requires "admin" in context developers_setup_menu(); // requires "admin" and "developers_gear" in context $menu = elgg_view_menu('page', [ 'sort_by' => 'priority', 'show_sect...
<?php use PHPUnit\Framework\TestCase; use ontio\crypto\Address; use ontio\core\transaction\TransactionBuilder; use ontio\smartcontract\nativevm\OntAssetTxBuilder; use ontio\common\ByteArray; use ontio\core\scripts\ScriptReader; use ontio\sdk\Wallet; use ontio\crypto\PrivateKey; use ontio\network\JsonRpc; use ontio\cr...
<?php namespace PHPReportMaker12\project1; /** * File Viewer class */ class FileViewer { /** * Output file * Note: Uncomment ** for database connectivity * * @return bool Whether file is outputted successfully */ public function getFile() { global $Security, $RequestSecurity, $PROJECT_ID; //**$GLO...
@extends('layout.main') @section('title-page', 'Welcome to DC') @section('content-main') <h1>Welcome to DC Comics</h1> @endsection
@extends('layouts.app') @section('menuLocation') <div class="row"> <div class="col-lg-12"> <h3 class="page-header"><i class="icon_group"></i> Users </h3> <ol class="breadcrumb"> <li><i class="fa fa-home"></i><a href="/adminhome">Home</a></li> <li><i class="icon_group"></i>Applications</li> ...
<!-- Footer --> <div id="footer"> <!-- Phone Order --> <div id="phoneRow" class="row"> <div id="phoneDate"><p>© <?php echo date("Y"); ?> Evergreen Wellness, LLC</p></div> <div id="phoneDescription"><p>Partnering with The Villages Health</p></div> <div id="phonePolicy"><p><a href="#popup1">Pri...
<?php /** * Created by PhpStorm. * User: moTzxx * Date: 2018/11/20 * Time: 17:18 */ namespace app\common\validate; use think\Validate; class AdminRole extends Validate { protected $rule = [ 'user_name' => 'require|max:100', 'nav_menu_ids' => 'require', 'status' => 'numb...
<?php namespace App\Console\Commands; use App\Models\User; use Illuminate\Console\Command; class SyncUserActivedAt extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'larabbs:sync-user-actived-at'; /** * The console c...
<?php declare (strict_types=1); namespace Rector\Nette\Kdyby\Rector\ClassMethod; use RectorPrefix20211211\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Scalar\String_; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Return_; use Recto...
<!DOCTYPE html> <html> <head> <title>{{ $game->title }}</title> <meta charset="utf-8"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, ma...
<?php declare(strict_types=1); namespace KejawenLab\Application\SemartHris\Form\DataTransformer; use KejawenLab\Application\SemartHris\Component\Job\Model\JobLevelInterface; use KejawenLab\Application\SemartHris\Component\Job\Repository\JobLevelRepositoryInterface; use Symfony\Component\Form\DataTransformerInterface...
@extends('layouts.admin') @section('title','Inicio - BSControl') @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">Dashboard</div> <div class="panel-bo...
@extends('layouts.cockpit') @section('content') <div class="row"> <div class="col-12 col-md-8"> <h1 class="h1_admin">Gestion des articles</h1> </div> <div class="col-12 col-md-4 text-end"> <a href="{{ action('App\Http\Controllers\Admin\PostController@create') }}" clas...
@extends('layouts.main') @section('content') <!-- jQuery --> <script src="{{asset('js/jquery.min.js')}}"></script> <!-- nanogallery2 --> <link href="{{asset('css/nanogallery2.min.css')}}" rel="stylesheet" type="text/css"> <script type="text/javascript" src="{{asset('js/jquery.nanogallery2.min.js')}}"></script> <div...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdateTransactionItemsTableAddDescField extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::ta...
<?php namespace Sanjab; use Carbon\Carbon; use Exception; use EditorJS\EditorJS; use Sanjab\Cards\Card; use TusPhp\Cache\FileStore; use TusPhp\Events\TusEvent; use Sanjab\Helpers\MenuItem; use EditorJS\EditorJSException; use Sanjab\Helpers\SearchResult; use Sanjab\Helpers\PermissionItem; use Illuminate\Support\Facade...
<?php return array('name' => 'anchorcms', 'gc_probability' => '0', 'cookie_lifetime' => 86400, 'cookie_path' => '/', 'cookie_domain' => '', 'cookie_secure' => false, 'hash_function' => 'sha256', 'use_cookies' => true, 'use_only_cookies' => true,);
<?php declare(strict_types=1); namespace Extraton\TonClient\Entity\Crypto; use Extraton\TonClient\Entity\AbstractResult; /** * Type ResultOfHDKeyXPrv */ class ResultOfHDKeyXPrv extends AbstractResult { /** * Get serialized extended private / master private key * * @return string */ pub...
<?php require __DIR__ . '/vendor/autoload.php'; define('TITLE', 'Cadastrar uma nova tag '); use \App\Entity\Tag; $obTag = new Tag; //VALICAÇÃO DO POST if (isset($_POST['nome'])) { $obTag->name = $_POST['nome']; $obTag->cadastrar(); header('location: listar-tags.php?status=success'); exit; } inclu...
<?php /* Glory to Ukraine! Glory to the heros! */ namespace Codelegacy\Crud\Controller\Adminhtml\Tag; use Codelegacy\Crud\Api\Data\TagInterface; use Codelegacy\Crud\Api\TagRepositoryInterface; use Codelegacy\Crud\Controller\Adminhtml\AbstractNewAction; use Codelegacy\Crud\Helper\AclResources; class NewAction extends...
@extends('layouts.app') @section('content') <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Ref Categories</h1> </div> <div class="col-sm-6"> ...
@extends('layouts.app') @section('head') <META charset="utf-8"></META> @stop @section('heading') <div class='h1'> Ma Base de donnees contient : </div> @stop @section('content') <table> <tr> <th>First Name</th> <th>Last Name</th> <th>Email</th> ...
<?php namespace FluidTYPO3\Vhs\ViewHelpers\Content\Random; /* * This file is part of the FluidTYPO3/Vhs project under GPLv2 or later. * * For the full copyright and license information, please read the * LICENSE.md file that was distributed with this source code. */ /** * ViewHelper for fetching a random conten...
<?php /** * Class */ class H5peditorFile { private $result, $field, $interface; public $type, $name, $path, $mime, $size; /** * Constructor. Process data for file uploaded through the editor. */ function __construct($interface) { $field = filter_input(INPUT_POST, 'field', FILTER_SANITIZE_STRING, F...
<?php /** * UploadwbTypeBodyTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Apache OpenMeetings API * * Integration API enables to connect to an OpenMeetings instance, eg for generatin...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdateKaskecilsAddsaldoawalTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table("kaskecils", function(Blueprin...
<?php /* * The MIT License * * Copyright 2016 LengthOfRope, Bas de Kort <bdekort@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 without restriction, including without l...
<?php namespace Emporium; /** * Eloquent class to describe the adder table * * automatically generated by ModelGenerator.php */ class Adder extends \Illuminate\Database\Eloquent\Model { protected $table = 'adder'; public $primaryKey = 'adder_key'; public $timestamps = false; public $incrementing...
@extends('backend.layouts.master') @section('body') <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; use App\Models\Voucher; class ClientResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArr...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php /** * ArrayOfArrayOfNumberOnly * * PHP version 5 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do no...
<?php /** * PHPCI - Continuous Integration for PHP * * @copyright Copyright 2014, Block 8 Limited. * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md * @link https://www.phptesting.org/ */ namespace PHPCI\Plugin; use PHPCI; use PHPCI\Builder; use PHPCI\Model\Build; use PHPCI\Plugi...
<?php echo form_open('configuration/storagebin'); ?> <table> <thead> <tr> <th></th> <th><input type="submit" value="add" name="action" class="button"/></th> <th><input type="submit" value="edit" name="action" class="but...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/Raul/Documents/Websites/es.dev/user/plugins/form/blueprints.yaml', 'modified' => 1473975860, 'data' => [ 'name' => 'Form', 'version' => '2.0.3', 'description' => 'Enables the forms handling',...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEvaluacionesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('evaluacion...
<?php /** * JsonDefinitionRelTest class file */ namespace Graviton\GeneratorBundle\Tests\Definition; use Graviton\GeneratorBundle\Definition\JsonDefinitionRel; use Graviton\GeneratorBundle\Definition\Schema; /** * JsonDefinitionRel test * * @author List of contributors <https://github.com/libgraviton/graviton...
@if (session()->has('success')) <div x-data="{ show: true }" x-init="setTimeout(() => show = false, 4000)" x-show="show" class="fixed bg-green-500 opacity-90 text-white py-2 px-4 rounded-xl top-2 left-3 text-sm transition" > <p>{{ session('success') }}</p> </div>...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PostController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function i...
<!-- Content Header (Page header) --> <!-- Main content --> <section class="content"> <a href="<?php echo base_url(); ?><?php echo $this->router->class; ?>/add_new" class="btn btn-primary"> Add New </a> <div class="gp_empty" style="height:32px;" ></div> <div class="row"> <div class="co...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\InboundPackageLog; class CreateInboundPackageLogRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() ...
<x-jet-action-section> <x-slot name="title"> {{-- {{ __('Browser Sessions') }} --}} Sesiones en navegadores </x-slot> <x-slot name="description"> {{-- {{ __('Manage and log out your active sessions on other browsers and devices.') }} --}} Administra y cierra tus sesiones act...
<div class="form-group"> <label>Título</label> <input type="text" class="form-control" wire:model="title"> @error('title') <span class="text-danger">{{ $message }}</span> @enderror </div> <div class="form-group"> <label>Contenido</label> <textarea class="form-control" wire:model="body"></textarea> ...
<?php /* @Twig/Exception/error.atom.twig */ class __TwigTemplate_944eb1ccc68343e6d4737ae89a04981638f18fddb9f097e6d48fca8da5c4c909 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests\CategoryRequest; use App\Category; class CategoriesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
@extends('layouts.public') @section('title', 'Category') @section('content') <h1>Category</h1> <ul class="list-group"> @foreach ($categories as $cat) <li class="list-group-item"><a href="{{url('category/'.$cat->slug)}}">{{$cat->name}}</a> @auth @if(...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
@extends('layouts.main') @section('content') <div class="container"> <div class="container p-5"> <div class="row"> <div class="col-12"> <a class='btn btn-danger btn-lg' href="/admin-dashboard/weekly-menu"> Back</a> </div> </div> <...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class ConfirmationEmail extends Mailable { use Queueable, SerializesModels; public $otp; /** * Create a new message instance. ...
<aside class="main-sidebar"> <section class="sidebar"> <div class="user-panel"> <div class="pull-left image"><img src="<?= base_url('assets_template/'); ?>img/user2-160x160.jpg" class="img-circle" alt="User Image"></div> <div class="pull-left info"> <p>Simon Liling</p><a href="#"><i ...
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header border-0"> <button type="button" class="btn btn-primary float-right" data-toggle="modal" data-target="#exampleModal"> Add Reception </button> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Email extends Model { public static $rules = [ 'subject' => 'required', 'message' => 'required', ]; protected $table = 'mails'; protected $fillable = ['subject', 'body']; }
<?php // main.php // Info: // // n/A // $tmpl->assign("theme", $THEME); $tmpl->assign("lang", $lang); $tmpl->assign("pages", $nav); $tmpl->assign("content", parsetrue("container/".container("static"), "Main" , $tmpl->fetch("main/main.tpl"))); ?>
<?php namespace PicturePark\API\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; use PicturePark\API\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\N...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\Hash; use Spatie\Permission\Traits\HasRoles; class User extends Authenticatable { use HasFactory, Noti...
<?php namespace App\Http\Controllers\Admin; use App\Helpers\GalleryWeather; use App\Http\Controllers\Controller; use App\Models\Gallery; use App\Models\GalleryImages; use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Http\Respons...
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0...
<?php namespace App\Http\Covid2019; use Illuminate\Support\Facades\Auth; class Campaign { private $db_user; private $db_pass; private $db_name; private $db_host; private $db_port; private $dbconnection; function __construct() { $this->db_user = env("AST_DB_USER", ""); ...
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use App\Question; use App\Answer; use App\Policies\QuestionPolicy; use App\Policies\AnswerPolicy; class AuthServiceProvider extends ServiceProvider { /** ...
<?php namespace App\Http\Controllers\Api\AccountSys; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; // Model use App\Objects\Permission; class PermissionController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http...
<?php $this->load->view('common/header');?> <!--=========================================================================================================================--> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> ...
<?php /*************************************************************************** * * * (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev * * * * ...
<div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4 class="card-title">Basic</h4> </div> <div class="card-body"> <div class="table-responsive"> <table id="basic-datatables" class="display table table-striped table-ho...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StatusRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class BackgroundHistory extends Model { protected $table = "background_history"; /** * The attributes that are mass assignable. * * @var string[] */ protected $f...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Category; use App\Models\Item; class ItemController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } ...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class UserController extends Controller { public function authentication(Request $request){ $request->validate([ 'name' => 'required', 'password' => 'requi...
<?php namespace App\Http\Controllers; use App\Models\Form; use App\Models\Instrument; use App\Models\Question; use App\Models\QuestionType; use App\Models\OfferedAnswer; use Illuminate\Http\Request; use DataTables; class QuestionController extends Controller { protected $viewNamespace = "pages.admin.monitoring-e...
<? $MESS["LANDING_RIGHT_D"] = "Access denied"; $MESS["LANDING_RIGHT_W"] = "Full access"; $MESS["LANDING_MODULE_NAME"] = "Landings"; $MESS["LANDING_MODULE_DESCRIPTION"] = "Create landing pages using the Landing Page Designer."; $MESS["LANDING_INSTALL_TITLE"] = "\"Landing Page Designer\" Module Installation"; $MESS["LAND...
<?php header("Content-type: text/html; charset=utf-8"); session_start(); $_SESSION['username']=$_POST['username']; $_SESSION['id_level']=$_POST['id_level']; $_SESSION['real_name']=$_POST['real_name']; if($_SESSION['id_level']=='学生') { ?> <!DOCTYPE html> <html lang="en" > <head > <meta name="viewport" co...
<?php namespace App\Repositories; //use Illuminate\Http\Request; use App\Models\Comment; class CommentRepository { /** * @Var Post * * */ protected $comment; /** * * @param Comment $commment * */ public function __construct(Comment $comment) { $thi...
@extends('frontend.layouts.default', ['has_videojs' => false]) @section('after-scripts-end') @endsection @section('scripts-plugin') @endsection @section('content') <div class="container-fluid unibee-breadcrumb "> <div class="container no-padding"> {!! Breadcrumbs::render('pre_register_course') !!} ...
<?php declare(strict_types=1); namespace Rector\CodingStyle\Rector\FuncCall; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Scalar\String_; use Rector\Core\NodeAnalyzer\ArgsAnalyzer; use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\TypeAnalyzer\Stri...
<?php namespace Arbory\Soap\Client\Tests\Extension; use PHPUnit\Framework\TestCase; use Arbory\Soap\Client\SoapClient; use Arbory\Soap\Client\Event\CallEvent; use Arbory\Soap\Client\Event\FaultEvent; use Arbory\Soap\Client\Event\FinishEvent; use Arbory\Soap\Client\Event\RequestEvent; use Arbory\Soap\Client\Event\Resp...
<?php namespace RHBundle\Controller; use RHBundle\Entity\conge; use RHBundle\Entity\Employe; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\Serializer\Encoder\JsonEncoder; use Symfony\Component\Serializer\Encoder\XmlEncoder; use Sym...
<x-layout> <section class="px-6 py-8"> <main class="max-w-lg mx-auto mt-5 bg-gray-100 border border-gray-200 p-10 rounded-xl"> <style> .-z-1 { z-index: -1; } .origin-0 { transform-origin: 0%; ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]> <html class="no-js"> <!--<![endif]--> <html lang="{{ str_replace('_'...
--TEST-- Observer: Basic generator observability --EXTENSIONS-- zend_test --INI-- zend_test.observer.enabled=1 zend_test.observer.observe_all=1 zend_test.observer.show_return_value=1 --FILE-- <?php function getResults() { for ($i = 10; $i < 13; $i++) { yield $i; } } function doSomething() { $genera...
@extends('layouts.main') @section('other_pages.css') <link rel="stylesheet" href="/css/blog.css"> @endsection @section('content') <nav class="navbar navbar-expand-md navbar-fixed-top adminNav" id="adminNav1"> <div class="container"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-t...
<?php namespace app\controllers; use app\models\RegisterForm; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use yii\web; use yii\filters\VerbFilter; use app\models\LoginForm; use app\models\ContactForm; use app\models\Users; class SiteController extends Controller { public function beforeAction(...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AlbumsController extends Controller { public function index() { $data = []; if (\Auth::check()) { $user = \Auth::user(); $albums = $user->albums()->orderBy('created_at', 'desc')->pagi...