text
stringlengths
2
1.03M
<?php use Carbon\Carbon; use App\Http\Language; use App\Models\Company; use App\Http\Requests\UrlParser; if (! function_exists('get_company')) { /** * Get the company based on the user that is logged in. * * @return Company */ function get_company() { return (new Company)->get(...
<?php namespace App\Http\Controllers\API; use App\Http\Controllers\Controller; use App\Models\User; use App\Http\Controllers\UserController; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class AuthController extends Controller { public function regist...
@section('blogRelatedContent') <aside class="blog-latest-entries safari-reader-mode-hide-links"> <header aria-hidden="true"> <small>{{ __($blog->transKey('titles.latest_entries')) }}</small> </header> @includeFirst($blog->bladeViews('blog.latestEntriesLinks')) <div class="blog-feed-subscriptions...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>Pablo</title> <!-- Bootstrap...
<?php namespace Pterodactyl\Repositories\Wings; use Webmozart\Assert\Assert; use Pterodactyl\Models\Server; use GuzzleHttp\Exception\TransferException; use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException; class DaemonServerRepository extends DaemonRepository { /** * Returns details about a ...
<?php defined('SYSPATH') or die('No direct script access');?> <?php $info=(isset($info)?$info:null);?> <div> <div class="well"> <div> <h4> <span class="badge badge-warning"> <strong class="lead">!</strong> </span> ...
@extends('welcome') @section('content') <h3>Welcome Home </h3> @endsection
<?php namespace app\models; use Yii; /** * This is the model class for table "auth_item". * * @property string $name * @property integer $type * @property string $description * @property string $rule_name * @property resource $data * @property integer $created_at * @property integer $updated_at * * @prope...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
@extends('frontend.master') @section('content') <div class="page-wrapper"> <!-- Preloader --> <div class="preloader"></div> <!-- Main Header--> <header class="main-header style-two"> <!--Header-Upper--> <div class="header-upper"> <div class="auto-container"> ...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\assets; use yii\web\AssetBundle; class WebAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public ...
<?php use yii\helpers\Url; ?> <div class="page-content"> <div class="page-header"> <h1> 内容管理 <small> <i class="ace-icon fa fa-angle-double-right"></i> 推荐位管理 </small> </h1> <div class="widget-toolbar no-border"> <d...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class RentalServer extends Model { use HasFactory; protected $fillable = [ 'name', 'domain', 'user_id', 'plan_id', ]; public function user() ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Plane extends Model { use HasFactory; protected $table = 'planes'; public $fillable = [ 'name', 'brand_id' ]; public function brand(){ return $this->bel...
<?php namespace app\admin\controller; use app\common\controller\Backend; /** * * * @icon fa fa-circle-o */ class UserTalk extends Backend { /** * UserTalk模型对象 * @var \app\admin\model\UserTalk */ protected $model = null; public function _initialize() { parent::_initia...
--TEST-- Bison weirdness --FILE-- <?php echo "blah-$foo\n"; ?> --EXPECTF-- Warning: Undefined variable: foo in %s on line %d blah-
<?php /** * @link:http://www.gdqijianshi.com/ * @copyright: Copyright (c) 2020 广东七件事集团 * Created by PhpStorm * Author: ganxiaohao * Date: 2020-05-07 * Time: 16:22 */ ?> <div id="app" v-cloak> <el-card shadow="never" style="border:0" body-style="background-color: #f3f3f3;padding: 10px 0 0;"> <div sl...
<h1>Gestion de Productos</h1> <a href="<?=base_url?>producto/crear" class="button button-smail">Crear Producto</a> <?php if (isset($_SESSION['producto'] ) && $_SESSION['producto']=='complete'): ?> <strong class="alert_green" El producto se ha creado correctamente ></strong> <?php elseif (isset($_SESSION['producto'] )...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateParsesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('parses', functio...
<?php namespace Zelenin\SmsRu\Response; use Zelenin\SmsRu\Entity\StoplistPhone; class StoplistGetResponse extends AbstractResponse { /** * @var StoplistPhone[] */ public array $phones = []; /** * @var array */ protected array $availableDescriptions = [ '100' => 'Запрос обработан. На последу...
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class Gas implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, Seria...
<?php namespace App\Http\Controllers; use App\Models\Entry; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; class EntryController extends Controller { public function index() { function getEntryPairs() { ...
<?php namespace Riverline\DynamoDB\Enum; /** * Replaces deprecated AWS enum types * Class AttributeAction * @package Riverline\DynamoDB\Enum */ class AttributeAction { const ADD = 'ADD'; const PUT = 'PUT'; const DELETE = 'DELETE'; }
<?php $qunatity=0; ?> <?php $__currentLoopData = $result['commonContent']['cart']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cart_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $qunatity += $cart_d...
<?php namespace App\Repo; use App\Models\Message; use App\Models\User; use Carbon\Carbon; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; class ChatRepo { public static function saveMessage(array $data) { $message = new Message(); $message->from_id = Aut...
@extends( 'app' ) @section( 'title', 'Aviso de Privacidad' ) @section( 'section-class', 'aviso' ) @section( 'content' ) <section class="internal clearfix content bit-1"> <article class="clearfix bit-1"> <h1 class="bit-1">Aviso de Privacidad.</h1> <h...
@extends('layout.plantilla') @section('titulo', 'inicio') @section('titulodepagina', 'home ') @section('contenido') <div class="container"> <div class="row"> <div class="col"> <h1>LARAVEL</h1> </div> </div> </div> <div class="container"> <div class="row"> <div class="col"...
<?php use yii\helpers\Inflector; use yii\helpers\StringHelper; /* @var $this yii\web\View */ /* @var $generator yii\gii\generators\crud\Generator */ $urlParams = $generator->generateUrlParams(); $nameAttribute = $generator->getNameAttribute(); echo "<?php\n"; ?> use yii\helpers\Html; use <?php echo $generator->inde...
<?php namespace App\Repositories; use App\Models\Week; use App\Repositories\BaseRepository; /** * Class WeekRepository * @package App\Repositories * @version November 13, 2020, 1:43 pm UTC */ class WeekRepository extends BaseRepository { /** * @var array */ protected $fieldSearchable = [ ...
<?php namespace App\Console\Commands\OneDrive; use App\Service\OneDrive; use App\Utils\Tool; use Illuminate\Console\Command; use Illuminate\Support\Arr; use Artisan; use Cache; class RefreshCache extends Command { /** * The name and signature of the console command. * * @var string */ pro...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
<?php /** * The [give_register] Shortcode Generator class * * @package Give * @subpackage Admin * @copyright Copyright (c) 2016, GiveWP * @license https://opensource.org/licenses/gpl-license GNU Public License * @since 1.3.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exi...
<?php /** * Unit test class for the NamedColours sniff. * * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence */ namespace MolliePrefix\PHP_CodeSniffer\Standards\Sq...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Contact; use DB; use Validator; use Mail; class ContactController extends Controller { // function viewcontacts(){ $contacts = Contact::all()->toArray(); return view('contactform.index',compact('contacts')); } fun...
<!-- Revolution slider start --> <div class="tp-banner-container"> <div class="tp-banner"> <ul> <li data-slotamount="7" data-transition="3dcurtain-horizontal" data-masterspeed="1000" data-saveperformance="on"> <img alt="" src="images/dummy.png" data-lazyload="images/slider1.jpg"> <div class="caption...
<?php namespace App\Http\Livewire; use Illuminate\Support\Facades\Http; use Livewire\Component; class TopAnime extends Component { public $topAnime = []; public function loadTopAnime() { $this->topAnime = collect(Http::get('https://api.jikan.moe/v4/top/anime')->json()['data']) ->take...
<?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 namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures; class ClassWithPhpCsSuppressAnnotation { /** * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint */ public function foo($parameterWithoutTypehint): void { } }
<?php /** * Part of the Joomla Framework Event Package * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\Event; /** * Interface for event dispatchers. * * @since 1.0 */ interfa...
<?php /** * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. * * @package Fuel * @version develop * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2018 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; class HttpNoAccessExc...
<?php namespace Frank\Cloudflare\Http\Controllers; use App\Http\Controllers\Controller; use Frank\Cloudflare\Helpers\Http; use Illuminate\Http\Request; use Config; use Response; class ZoneController extends SuperController { /** * Gets all sites added to account on cloudflare * @param mixed $request...
<?php namespace PHPixie\ORM\Relationships\Type\NestedSet\Steps; class MoveChild extends \PHPixie\ORM\Steps\Step { protected $repository; protected $config; protected $result; protected $parentId; public function __construct($repository, $config, $result, $parentId) { $this->reposi...
<?php /** * ALIPAY API: alipay.user.antpaas.tokenidentity.create request * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ namespace Alipay\Request; class AlipayUserAntpaasTokenidentityCreateRequest { /** * 基于识别创建蚂蚁通行证,即创建匿名用户Id **/ private $bizContent; private $apiParas = array(); private $te...
<? print ' <html lang="ru"> <head> <meta charset="utf-8" /> <title>Личный кабинет</title> <link href="css\style.css" rel="stylesheet" type="text/css"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> '; print ' <div class="list"> <div class="header"> <div class...
@extends('layouts.master') @section('content') <div class="container-fluid"> <!--BUTTON BACK--> <a href="{{ URL::route('professor.index') }}" class="btn btn-default">Voltar atrás</a> <hr> <!--TITULO--> <h1 class="text-primary text-center"><b>Editar professor</b> "{{ $professor->nome }}"</...
<?php define("DATA_LAYER_CONFIG", [ "driver" => "mysql", "host" => "localhost", "port" => "3306", "dbname" => "phptips_aula_5", "username" => "root", "passwd" => "", "options" => [ PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8", PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,...
<?php namespace App\Providers; use Illuminate\Support\Facades\URL; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { } /** * Bootstrap any a...
<?php namespace iraecio\Builder; class Montadora { private $builder; public function __construct() { $this->builder = new MontadoraVeiculoBuilder(); } public function montar(string $tipo, string $modelo) { $this->builder->montar($tipo, $modelo); return $this->builder-...
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\Order[]|\Cake\Collection\CollectionInterface $orders */ ?> <div class="orders index content"> <?= $this->Html->link(__('Payment'), ['action' => 'payment'], ['confirm' => 'Are you sure, your action will delete the order and make the payment...
<?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 /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, please read the * LICENSE.tx...
<?php namespace ElementorPro\Modules\ThemeBuilder\Widgets; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Page_Title extends Title_Widget_Base { protected function get_dynamic_tag_name() { return 'page-title'; } public function get_name() { // `theme` prefix is to avoid conflicts...
@extends('master') @section('title', 'New Post') {{-- Versión corta solo para textos breves --}} @section('class') no-navbar @endsection @section('main') <div class="nav-scroller py-1 mb-2"> <nav class="nav d-flex justify-content-between"> <a class="p-2 text-muted" href="#">World</a> <a class="p-...
<?php namespace App\Extensions\Repositories; use App\Extensions\Repositories\Contracts\Repository; use ArrayIterator; use Detection\MobileDetect; use Exception; use Illuminate\Database\Eloquent\Concerns\HasAttributes; use Illuminate\Support\Collection; class BaseRepository implements Repository { use HasAttribut...
<?php function woocommerce_cookbook_only_ship_to_continental_us( $available_methods ) { global $woocommerce; $excluded_states = array( 'AK','HI','GU','PR' ); if( in_array( $woocommerce->customer->get_shipping_state(), $excluded_states ) ) { // Empty the $available_methods array $available_m...
<?php namespace Pb\Test\Domain\Calculator; use Money\Money; use Pb\Domain\Calculator\BasicCalculator; use Pb\Domain\Calculator\Calculator; use Pb\Domain\PriceBreakdown\TaxableCollection\TaxableCollection; use Pb\Domain\PriceBreakdown\TaxableCollection\TaxableCollectionFactory; use Pb\Domain\PriceBreakdown\TaxableItem...
<?php use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; use Symfony\Component\DependencyInjection\Except...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. The...
<?php /** * Email\Native * * Email\Native PHP mail() driver. * * @package core * @author stefano.azzolini@caffeina.com * @copyright Caffeina srl - 2016 - http://caffeina.com */ namespace Email; class Native implements Driver { public function onInit($options){} public function onSend(Envelope $envelo...
<?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 /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<div class="modal fade" id="konfirmasiHapus" role="dialog"> <div class="modal-dialog modal-md" role="document"> <div class="modal-content"> <div class="col-md-offset-1 col-md-10 col-md-offset-1 well"> <h3 style="display:block; text-align:center;">Apakah Anda Yakin Hapus Data Ini ?</h3> ...
<?php namespace App\Http\Controllers; use App\Models\KartuKeluarga; use App\Models\Jorong; use App\Models\Penduduk; use App\Models\LevelPendidikan; use App\Models\Pekerjaan; use App\Models\Kewarganegaraan; use RealRashid\SweetAlert\Facades\Alert; use Illuminate\Http\Request; class KartuKeluargaController extends Con...
<?php class Model_auth extends CI_Model { public function __construct() { parent::__construct(); } /* This function checks if the email exists in the database */ public function check_email($email) { if($email) { $sql = 'SELECT * FROM users WHERE email = ?'; $query = $this->db->query($sql, array...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v0/enums/hotel_date_selection_type.proto namespace GPBMetadata\Google\Ads\GoogleAds\V0\Enums; class HotelDateSelectionType { public static $is_initialized = false; public static function initOnce() { $pool...
<?php namespace App\Http\Controllers; use App\ProductType; use Illuminate\Http\Request; class ProductTypeController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show th...
<?php declare(strict_types=1); /* * This file is part of JoliCode's Slack PHP API project. * * (c) JoliCode <coucou@jolicode.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace JoliCode\Slack\Api\Endpoint; class Apps...
<?php /** * phpDocumentor * * PHP Version 5.3 * * @copyright 2010-2018 Mike van Riel / Naenius (http://www.naenius.com) * @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */ namespace phpDocumentor\Descriptor\Builder\Reflector\Tags; use phpDocumentor\Descriptor\...
<?php namespace app\home\controller; use think\Controller; use think\Db; use app\home\model\User; class Data extends Controller { public function index(){ if(session("homeuser")==null){ return $this->redirect("/home/index/index"); exit(); } //实例化自定义方法 查出所有类别 和 友情链接 ...
@extends('layouts.default') @section('breadcrumb') <li class="breadcrumb-item">Master</li> <li class="breadcrumb-item"><a href="{{ route('appsetting.index') }}">Appsetting</a></li> @endsection @section('main_container') <div class=""> <div class="row"> <div class="x_panel"> <div class="x_title"> <...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class pesanan extends Model { use HasFactory; public $timestamps = false; protected $primaryKey = 'id_pesan'; protected $fillable = [ 'no_meja', 'tanggal_pesan',...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title><?php echo $title; ?></title> <?php echo Asset::css('bootstrap.css'); ?> <style> body { margin: 50px; } </style> <?php echo Asset::js(array( 'http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js', 'bootstrap.js', )); ?> <scr...
<?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 Novice\Event; use Symfony\Component\HttpFoundation\Request; class GetR...
<?php namespace Softlogo\ProductBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Symfony\Component\Validator\Constraints\Type; use Symfony\Component\Validator\Constraints\NotBlank; class SearchType...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\State; use App\Zone; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use App\ShippingZone; class ShippingZonesController extends Controller { public function __construct() { $this->middleware('a...
<form action="{{route('service.store')}}" method="post" enctype="multipart/form-data" id="submit_form"> @csrf <div class="row"> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="form-group"> <label for=""> Title</label> <input type="text" required name=...
<!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...
@extends('layouts.front.app') @section('content') {{--@if(Session::has('message_toastr'))--}} {{--<div class="alert alert-danger alert-dismissible" role="alert">--}} {{--<button type="button" class="close" data-dismiss="alert" aria-label="Close">--}} {{--<span aria-hidden="true">&times;</span>--}} ...
<?hh <<__EntryPoint>> function main(): void { $variation_array = darray[ 'empty string DQ' => "", 'empty string SQ' => '', 'uppercase NULL' => NULL, 'lowercase null' => null, ]; foreach ( $variation_array as $var ) { try { var_dump(fstat( $var ) ); } catch (Exception $e) { echo "\n".'Warning: '.$e->getM...
<?php /** * Copyright (c) 2016, Rogiel Sulzbach * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of...
<?php \error_reporting(E_ALL); function classNameExists(string $className) : string { $path = ".\\src\\{$className}.php"; if ('WIN' !== \strtoupper(\substr(PHP_OS, 0, 3))) { $path = \str_replace('\\', '/', $path); } return \file_exists($path) ? $path : ''; } function autoload($className) : void { ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); require APPPATH . '/libraries/REST_Controller.php'; class Api extends REST_Controller{ public function index_get(){ $this->load->view('userdata'); } public function data_post(){ $this->load->model('Api_model'); $bookname = $this->input->...
<?php namespace PhpSsrs\ReportExecutionService; class ToggleItemResponse { /** * * @var boolean $Found * @access public */ public $Found = null; /** * * @param boolean $Found * @access public */ public function __construct($Found = null) { $this->Found = $Found; } }
<!DOCTYPE html> <html lang="en"> <head> <title>Entititi</title> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEO...
<?php namespace Brisum\Wordpress\PostType\FAQ\PostType; use Brisum\Wordpress\Breadcrumbs\BreadcrumbsInterface; use Brisum\Wordpress\Breadcrumbs\CrumbsInterface; class Breadcrumbs implements CrumbsInterface { public function __construct(BreadcrumbsInterface $breadcrumbs) { $breadcrumbs->registerPostType('faq', $t...
<?php declare(strict_types=1); namespace GQLSchema\Tests\Collections; use GQLSchema\Argument; use GQLSchema\Exceptions\SchemaException; use GQLSchema\Types\Scalars\IntegerType; use GQLSchema\Collections\ArgumentCollection; use GQLSchema\Tests\SchemaTestCase; use stdClass; /** * Class FieldCollectionTest * @package...
<?php namespace app\admin\controller; use think\Db; use app\admin\model\Log as LogModel; use think\Exception; class Goodscate extends Base { public function _initialize() { parent::_initialize(); $this->goodsCateModel = model('GoodsCategory'); } public function index(){ return ...
<?php /** * ECSHOP 货到付款语言文件 * ============================================================================ * * 版权所有 2008-2015 折翼天使资源社区网络服务中心,并保留所有权利。 * 网站地址: http://bbs.ahxcjy.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Logout extends MY_Controller { public function index() { $sess_data = [ 'id', 'name', 'email', 'role', 'is_login' ]; $this->session->unset_userdata($sess_data); $this->s...
<!DOCTYPE html> <html lang="en"> <head> <title>Login ADMIN</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--===============================================================================================--> <link href="{{asset('/css/dataTables.boo...
<?php namespace Czim\Repository\Criteria; use Czim\Repository\Contracts\BaseRepositoryInterface; use Czim\Repository\Contracts\ExtendedRepositoryInterface; use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Query\Builder as DatabaseBuilder; use ...
<h1 style="color:Ocean;">Register</h1> <?php $attributes = array('id'=>'register_form', 'class'=> 'form_horizontal'); ?> <?php echo validation_errors("<p class='bg-danger'>"); ?> <?php echo form_open('users/register', $attributes);?> <div class="form-group"> <?php echo form_label('First Name'); ?> <?php $da...
30 mtime=1556801015.969381274 24 SCHILY.fflags=extent
<script> $(document).ready(function(){ $('#judul').html("Project table"); $('.table_button').each(function(){ $(this).click(function(evt){ evt.preventDefault(); // Biar gak ke refresh var uri = "<?php echo site_url() . "/Project/form"?>"; var proj_id = $(this).attr('actualid'); $.post(uri, { id: proj_...
<?php /* * This file is part of the Elcodi package. * * Copyright (c) 2014 Elcodi.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@mmoreram.com> ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Dataworkspublic\V20200518\Models; use AlibabaCloud\SDK\Dataworkspublic\V20200518\Models\GetMetaTableColumnResponse\data; use AlibabaCloud\Tea\Model; class GetMetaTableColumnResponse extends Model { /** * @var string ...
<?php namespace LightSaml\Tests\Meta; use LightSaml\Credential\X509Certificate; use LightSaml\Meta\ParameterBag; use LightSaml\Meta\SigningOptions; use LightSaml\Tests\TestHelper; class SigningOptionsTest extends \PHPUnit_Framework_TestCase { public function test_constructs_wout_arguments() { new Sig...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterLocations extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::disableForeignKeyConstraint...
<?php /** * Tencent is pleased to support the open source community by making TSF Solution available. * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obta...
<?php return [ 'version' => 'category-name-not-unique', 'sql' => <<<'SQL' drop index name on blog_category; SQL ];