text
stringlengths
2
1.03M
<?php header ("Content-Type:text/css"); /** =============================================================== * * Edit your Color Configurations below: * You should only enter 6-Digits HEX Colors. * ================================================================== */ $color = "#1ABC9C"; // Change your ...
<?php namespace App\Http\Controllers; use App\Methods\GenericMethod; use App\Models\Document; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Support\Facades\Route; class DocumentController extends Controller { public function index...
@extends('backend.layouts.master') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col"> <div class="card"> <div class="card-header">Register New {{ ucfirst(config('multiauth.prefix')) }}</div> <div class="card-bod...
<?php if (isset($_GET['xem'])) { $tam = $_GET['xem']; if ($tam == 'phim_theloai') { $ten_theloai = $_GET['theloai']; $query = mysqli_query($conn, "SELECT tentheloai FROM theloai WHERE tentheloai_khongdau='$ten_theloai' LIMIT 1"); $theloai = mysqli_fetch_array($query); echo("Thể loại ".$theloai['ten...
<!DOCTYPE html> <html> <head> <title> <?php printf( /* translators: %s: Blog name */ __( '%s &mdash; Coming Soon', 'mojo-marketplace-wp-plugin' ), get_option( 'blogname' ) ); ?> </title> <?php echo mm_cs_meta(); ?> <style type='text/css'> body{ background-color: #2D2A25; background-image: url( <?php echo MM_...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Borrowing extends Model { use HasFactory; protected $fillable = [ 'book_id', 'student_id', 'tanggal_pinjam', 'tanggal_kembali', 'ket', ...
<?php namespace App\Http\Livewire\Batch; use Livewire\Component; use App\Models\Admin\Batch; use App\Models\Admin\BatchStudentEnrollment; class Increment extends Component { public $batch_running_days; public $batch_id; public $possible = false; public function up() { $this->batch_runnin...
<?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\Http\Controllers; use App\User; use App\Role; use Illuminate\Http\Request; use App\Http\Requests\UsuariosRequest; use App\Http\Requests\ProfileRequest; use Illuminate\Validation\Rule; class UserController extends Controller { public function __construct() { $this->middleware('auth...
@extends('layouts.app') @section('content') <div class="col-12"> <div id="qr_receve" class="card mx-auto"> <div class="card p-1 pb-0"> <div class="mx-auto mt-3">{{$items->links()}}</div> <h2 class="p-3">全体履歴</h2> <div class="mx-auto"> <table class="table ...
<?php /** * The Shop paper. * * @since 1.0.22 * @package RankMath * @subpackage RankMath\Paper * @author Rank Math <support@rankmath.com> */ namespace RankMath\Paper; use RankMath\Post; use RankMath\Helper; use MyThemeShop\Helpers\Str; defined( 'ABSPATH' ) || exit; /** * Shop. */ class Shop ext...
<?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...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use App\Page; use App\Categories; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { $pages = Page::select('permalink','title')->get(); $categor...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCategoryFaqsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('category_f...
<?php declare(strict_types = 1); namespace Saschahemleb\LaravelPrometheusExporter\Tests; use Illuminate\Http\Response; use Illuminate\Routing\ResponseFactory; use Mockery; use PHPUnit\Framework\TestCase; use Prometheus\RenderTextFormat; use Saschahemleb\LaravelPrometheusExporter\Http\Controllers\MetricsController; u...
<?php use common\models\AffiliateCompany; use common\models\InfoPublic; use yii\helpers\Url; ?> <div class="header posf"> <div class="tac posr"> <div class="menu-rps-992"><a href="#"><i class="fa fa-bars"></i></a></div> <?php if (isset($cate)){ /** @var \common\models\Category $item */ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class New_page extends CI_Model { public function __construct() { parent::__construct(); } #-------------------------------- # get page Data #-------------------------------- public function page_data($slug = NULL) {...
<header class="header-login-signup"> <div class="header-limiter"> <h1> <a href="{{route("go_to_home")}}"> <img src="{!! BBgetSiteLogo() !!}" alt=""> <span>{!! BBgetSiteName() !!}</span> </a> </h1> @if(isset($settings['menu_area'])) ...
<?php return [ 'sign_in' => 'Sign In', 'sign_up' => 'Sign Up', 'russian' => 'Russian', 'english' => 'English', ];
@extends('home') @section('home-contents') <div> <div class="content-header"> <div> <div> <h1 class="text-capitalize">Sim Trash</h1> </div> </div> </div> <div class="content"> <div class="container-flui...
<?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 namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Category extends Model { use SoftDeletes; protected $fillable = [ 'name','photo','slug' ]; protected $hidden = [ ...
@extends('layouts.master') @section('content') <div class="col-12"> <div class="box box-warning"> <div class="box-header"> <p> <button class="btn text-white btn-warning btn-refresh"> <i class="fa fa-redo"></i>Refresh ...
<?php namespace App\Models\SHAPES; use App\Models\User; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasOne; use Illuminate\Database\Eloquent\SoftDeletes; class UserToken extends Model { use SoftDeletes; /** * The attributes that are mass assignable. * * ...
<?php namespace Symfony\Component\HttpKernel\Tests\Exception; use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException; class UnauthorizedHttpExceptionTest extends HttpExceptionTest { public function testHeadersDefault() { $exception = new UnauthorizedHttpException('Challenge'); $...
<?php namespace app\common\model; use app\common\BaseModel; use app\common\Helper; use think\Db; /** * Date: 2019/3/7 * Time: 21:06 * Author jimadela * Github https://github.com/JimAdela * Blog https://jimadela.github.io/ */ class CmsAdType extends BaseModel { /** * 过滤get参数 * @param [type] $wher...
<?php namespace App\Http\Controllers; use App\Models\Ad; use Illuminate\Http\Request; class RevisorController extends Controller { public function __construct(){ $this->middleware('auth.revisor'); } public function index(){ $ad = Ad::where('is_accepted', null) ->o...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace Tests\Feature\Controllers\TeachersController; use Domains\Accounts\Database\Factories\UserFactory; use Domains\Accounts\Enums\UserRolesEnum; use Domains\Accounts\Models\User; use Domains\Accounts\Repositories\TeacherRepository; use Domains\Accounts\Tests\DataProviders\UserRolesDataProvider; use Illumi...
@extends('layout.layoutOrderStats') @section('orderstats') <div class="sticky"> <div class="container1"> <img src="images/head.png" class="responsive1" width="200" height="100" &nbsp;> </div> <div class="topnav" id="myTopnav"> <a href="login.html">Login</a> <div class="dropdown1">...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('its-lte.title') }}</title> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMetodosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('metodos', funct...
<?php final class HeraldConditionTranscript { protected $ruleID; protected $conditionID; protected $fieldName; protected $condition; protected $testValue; protected $note; protected $result; public function setRuleID($rule_id) { $this->ruleID = $rule_id; return $this; } public function g...
<?php namespace App\Http\Controllers; use App\Models\Aboutli; use App\Models\Socialicone; use Illuminate\Http\Request; class SocialiconeController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row"> <div class="col-md-10 col-md-offset-1"> <div class="panel panel-default"> <div class="panel-heading">Dashboard</div> <div class="panel-body"> <div class="list-group"> <a ...
@extends('layouts.main') @section('title', 'Editar Curso') @section('content') <h1>Editar curso</h1> <form action="{{ route('cursos.update', $curso) }}" method="post"> @csrf @method("put") <div clas="form-group"> <label for="name">Nome:</label><br> <input class...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class LoginController extends Controller { public function confirmLogin(Request $request){ if($request->ajax()){ //get the value of the sent details $email = $request->email; $password = $request->pass...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Comments extends Model { protected $table = 'comments'; public function news() { /* get news by this comment App\Comments::find(1)->news; */ return $this->belongsTo('App\News'); } public function user() ...
<div class="container mt-3"> <div class="text-center"> <img src="/assets/images/linux.png" alt="logo" width="180" class="img-thumbnail rounded-circle"> <h1 class="display-4">Praktikum Web Lanjut Dengan Studi Kasus Blog App</h1> <p class="lead">Programming | Codeigniter 4 | Php</p> </div>...
@extends('layouts.backend.main') @section('title', 'MyBlog | Users') @section('content') <style> a.selected-status{ font-weight: bold; } </style> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> users <small>Display All users</s...
<?php /** * MIT License * * Copyright (c) 2005-2017 TorrentPier * * 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 limitation the rights * to use...
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-unlock {{ $class ?? null }}" style="{{ $style ?? null }}"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></...
<?php namespace App\Http\Controllers\backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class MemberController extends Controller { public function index() { $item = ['data_member' => DB::table('customer')->where('status', '1')->orderBy('id_...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { protected $fillable = [ 'name', 'image','price' ,'commission','is_select' ]; public function subCategories() { return $this->hasMany('App\SubCategory'); } }
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'C:/xampp/htdocs/albayan/system/blueprints/pages/default.yaml', 'modified' => 1523109659, 'data' => [ 'title' => 'PLUGIN_ADMIN.DEFAULT', 'rules' => [ 'slug' => [ 'pattern' => '[a-...
@extends("admin.layout.interface") @section("breadcrumb") <li class="breadcrumb-item"><a href="{{URL::to('/admin')}}">Admin</a></li> <li class="breadcrumb-item" aria-current="page"><a href="{{URL::to('/admin/coupon')}}">Coupon</a></li> <li class="breadcrumb-item active" aria-current="page">Update</li> @ends...
<?php namespace Addon\Cpanel\Libraries; use Addon\Cpanel\Libraries\Api\Xmlapi; class Cpanel { public $server; public $server_group; public $server_module; public $hosting; public $cmd; public function initServer($server, $server_group, $server_module) { $this->server = $server; ...
<?php namespace App\Http\Middleware; use Auth; use Closure; use Illuminate\Http\Request; class checklogin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle(Request $request, Clos...
<?php declare(strict_types=1); namespace App\Core\V1\Posts\Controllers\Api; use App\Core\V1\Controller; use Infrastructure\Eloquent\Models\Post\Post; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; final class ShowController extends Controller { public function __invoke(Request $request, string $...
@extends('users::layouts.login') @section('content') {{Form::open(array('url'=> route('admin_login'), 'class'=>'form-signin', 'method'=>'post'))}} <div class="login-form"> <div> <p class="title">Quán 108</p> </div> @if(Session::has('error')) ...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Feature; use Shopware\Core\Framework\ShopwareHttpException; use Symfony\Component\HttpFoundation\Response; /** * @deprecated tag:v6.4.0 (flag:FEATURE_NEXT_12246) Exception moved to Shopware\Core\Framework\Feature\Exception */ class FeatureNotActiveEx...
<div class="row"> <div class="col-xs-5 col-sm-5 col-md-5 col-lg-5"> @include('layouts.common.profile-img') </div> <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <h4>{{ Auth::user()->name }}...
<?php /** * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ OC::$CLASSPATH['OC\Files\Storage\StreamWrapper'] = 'files_external/lib/streamwrapper.php'; OC::$CLASSPATH['OC\Files\Storage\F...
<!--A Design by W3layouts Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE HTML> <html> <head> <title>Free Brighton Website Template | Home :: w3layouts</title> <link href="css/style.css" rel="styl...
<?php Route::group(['middleware' => ['auth', 'csrf'], 'namespace' => 'Web\Messaging', 'prefix' => 'messaging'], function () { /* Full messaging version route Route::get('conversations', [ 'as' => 'messaging.conversations.index', 'uses' => 'MessagingController@index' ]);*/ Route::get(...
@extends('front.master-pages') @section('content') <main> <article class="article"> <header class="article__header"> <div class="container"> <h1 class="article__heading heading heading--size-large" style="font-size:40px; text-align: center;"> <span class="color-yellow">Interiors ...
@extends('layouts.app') @section('content') <login-component xyz="Propriedade 1" abc="Propriedade 2"> </login-component> @endsection
<header class="header bg-white b-b clearfix"> <div class="row m-t-sm"> <div class="col-sm-12 m-b-xs"> <div class="m-b-sm"> <div class="btn-group"> <button class="btn btn-{{ get_option('theme_color') }} btn-sm dropdown-toggle" d...
<?php declare(strict_types=1); namespace Rector\Php73\Rector\FuncCall; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\ConstFetch; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Name; use PhpParser\Node\Scalar\LNumber; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\PhpVe...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the Route...
<?hh // strict /** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ /** * Original thrift enum:- * MyEnum */ enum MyEnum: int { MyValue1 = 0; MyValue2 = 1; DOMAIN = 2; } /** * Original thrift struct:- * MyStructNestedAnnotation */ class M...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Myprofile extends Model { protected $fillable = [ 'name', 'email', 'password','isAvailable','amount' ]; protected $hidden = [ 'password', 'remember_token', ]; public function user(){ return $this->belo...
<?php namespace App; use App\PseudoRandomNumber; class ProbabilityNumber { //Distribuciones Probabilísticas public function getNormal(float $mean, float $deviation) : float { $pseudoRandomNumber = new PseudoRandomNumber(12); $pseudoRandomNumber->generate(); $uList = $pseudoRandom...
<?php declare(strict_types=1); /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Cons...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Model_armada extends CI_Model { function tampil_armada(){ return $this->db->query('SELECT t_rute.asal,t_rute.tujuan,t_armada.kelas,t_armada.harga_tiket,t_armada.no_travel,t_armada.no_plat,t_armada.jumlah_kursi,t_rute.id_rute ...
<?php use Illuminate\Database\Seeder; class PeopleDirectMoviesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('people_direct_movies')->insert([ 'id_person' => '1', 'id_movie' => '2', ...
<div class="modal fade" id="catprodModal" role="dialog" aria-labelledby="catprodModal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden=...
<?php namespace FilippoToso\Travelport\Air; class PersonalGeography { /** * @var typeCountry $CountryCode */ public $CountryCode = null; /** * @var typeState $StateProvinceCode */ public $StateProvinceCode = null; /** * @var typeCity $CityCode */ public $CityCo...
<?php /** * Просмотр репутации участников. * * @copyright Copyright (C) 2008 PunBB, partially based on code copyright (C) 2008 FluxBB.org * @modified Copyright (C) 2008-2009 Flazy.ru * @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher * @package Flazy */ if (!defined('FORUM_ROOT')) define(...
<?php namespace App\Http\Controllers\front; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Models\Customer; use App\Models\CustomerServices; class OurCustomersController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Ht...
<div class="main col-sm-9"> <h2>You are in the View: application/view/home/index.php (everything in the box comes from this file)</h2> <p>In a real application this could be the homepage.</p> </div>
@extends('index') @section('title') @endsection @section('content') <div class="card-header"><legend>Editar usuario</legend></div> <div class="card-body"> <form action="/usuarios/{{$usuario->id}}" method="POST" role="form" id="form"> @method('PUT') @csrf Editar Trabajo {{ $u...
<?php /* * This file is part of SwiftMailer. * (c) 2009 Fabien Potencier <fabien.potencier@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Base class for Spools (implements time and message limits). * * @packag...
<?php /** * phpDocumentor * * PHP Version 5.4 * * @copyright 2010-2014 Mike van Riel / Naenius (http://www.naenius.com) * @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */ namespace phpDocumentor\Application\Renderer\StructureXmlRenderer\Tag; /** * Behaviour ...
<?php namespace App\Models\Naics\FiftyTwo; use Illuminate\Database\Eloquent\Model; class FiftyTwoLikesCampaigns extends Model { // }
<?php namespace Super\V1\Rest\OauthUsers; use ZF\Apigility\Doctrine\Server\Resource\DoctrineResource; class OauthUsersResource extends DoctrineResource { }
<style> body{ background-image: url('images/careers.png'); background-repeat: no-repeat; background-size:cover; /* width:600px; */ /* overflow: scroll; */ width: 100%; min-width: 800px; } #talnt, #talent { padding: 5px; text-align: center; } #talnt{ color:#d6b37c; font-weight:b...
<?php /** * Ok, glad you are here * first we get a config instance, and set the settings * $config = HTMLPurifier_Config::createDefault(); * $config->set('Core.Encoding', $this->config->get('purifier.encoding')); * $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath')); * if ( ! $this->con...
<!DOCTYPE html> <html> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Return Solution</title> <link rel="canonical" href="https://www.creative-tim.com/product...
<?php // EasyAdminBundle:default:field_datetimetz.html.twig return array ( );
2017-02-28 03:06:14 "ctr: index action:index"
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $users = User::paginate(5); ...
<table class="table table-striped"> <thead> <tr> <th width="10%">{{ trans('requesition_item.attributes.mix_no') }}</th> <th width="10%">{{ trans('requesition_item.attributes.product_code' )}}</th> <th width="10%">{{ trans('requesition_item.attributes.location_name') }}</th> <th>{{ trans('requesition_item...
<?php namespace App\Http\Controllers; use App\Product; use Illuminate\Http\Request; class ProductController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $products = Product::all(); ...
<?php /** * @return mixed */ function Distributers() { $distributerArray = array('0' => 'grupo saesa', '22' => 'frontel', '23' => 'saesa', '39' => 'luz-osorno', '24' => 'edelaysen'); return $distributerArray; } /** * @param $selected */ function distributer_selectList($selected = '') { if (count(Distributers(...
<?php include("../inc/config.php"); ?> <?php include("../inc/blog-header.php"); ?> <section class="container col-xs-10 blog-posts lead"> <h1>5 Amazing Websites <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://codingtestsite.com/blogs/5-amazing-websites.php" data-text="You'll be amaze...
<?php /* * This is the default license template. * * File: PutTemplate.php * Author: root * Copyright (c) 2021 root * * To edit this license information: Press Ctrl+Shift+P and press 'Create new License Template...'. */ /** * Elasticsearch PHP client * * @link https://github.com/elastic/elast...
<?php namespace SDSLabs\Quark\App\Auth; use SDSLabs\FalconClient\API; use SDSLabs\Quark\App\Models\User; use Illuminate\Support\Facades\App; use Illuminate\Contracts\Auth\Guard; class FalconGuard implements Guard { use \Illuminate\Auth\GuardHelpers; /* * The request instance. * * @var \Illuminate\Http\Requ...
<?php if (!(defined('IN_IA'))) { exit('Access Denied'); } class Peerpay_EweiShopV2Page extends ComWebPage { public function __construct() { if (!(com('perm')->check_com('sale'))) { if (cv('sale.peerpay')) { header('location: ' . webUrl('sale/peerpay')); } else { $this->message('你没有相应...
<?php declare(strict_types=1); namespace Neighborhoods\Buphalo\V2\TemplateTree; use Neighborhoods\Buphalo\V2\TemplateTreeInterface; /** @codeCoverageIgnore */ class Factory implements FactoryInterface { use AwareTrait; public function create(): TemplateTreeInterface { return clone $this->getTemp...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Role extends Model { //指定表 protected $table='role'; //主键id protected $primaryKey='role_id'; //关闭时间戳 使用create public $timestamps=false; //黑名单 protected $guarded=[]; //白名单 //protected $fillable=[]; }
<?php class Kwf_Controller_Action_Helper_ViewRenderer extends Zend_Controller_Action_Helper_ViewRenderer { public function init() { $this->setNoController(); $this->setViewSuffix('tpl'); $this->setRender('master'); } public function preDispatch() { $module = $this->getRe...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>Input Data Sukses</p> <a href="<?php echo base_url().'jabatan/index' ?>">kembali</a> </body> </html>
<?php /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
<?php namespace Illuminate\Routing; use Closure; use ArrayObject; use JsonSerializable; use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Http\JsonResponse; use Illuminate\Support\Collection; use Illuminate\Container\Container; use Illuminate\Support\Traits\Macroabl...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Chat */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Объявление', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> <div...
<?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- ...
<?php namespace Polyether\Meta\Repositories; use Polyether\Support\EloquentRepository as Repository; class PostMetaRepository extends Repository { public function model() { return \Polyether\Meta\Models\PostMeta::class; } }
<?php namespace App; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Model; class Station extends Model { use SoftDeletes; protected $fillable = [ 'name','ward_id','expected_votes','spoilt','valid' ]; public function aspirant() { return $this->belongsTo...