text
stringlengths
2
1.03M
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Linkedmall\V20180116\Models\QueryBizItemListResponseBody\itemList\item\skuList; use AlibabaCloud\SDK\Linkedmall\V20180116\Models\QueryBizItemListResponseBody\itemList\item\skuList\sku\gradePriceModels; use AlibabaCloud\SDK\Linked...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Post; use App\Models\Cast; use App\Models\Genre; use App\Services\IPostService; use App\Http\Requests\StorePost; class PostController extends Controller { // private $postService = null; public function __construct() // pu...
<!-- Striped table start --> <div class="col-lg-12 mt-5"> <div class="card"> <div class="card-body"> <h4 class="header-title">Orderan Status Paid</h4> <div class="single-table"> <div class="table-responsive"> <table id="tableListOrder" class="table...
@extends('navbar.navbar') @section('content') @section('titulo','Change password') <div class="container"> <form action="{{route('updatePassword')}}" method="POST"> @csrf @method('PUT') <div class="row"> <div class="col-md-6"> <div class="form-group"> ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Password; class AdminForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Rese...
<li class="nav-item dropdown no-arrow"> <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="mr-2 d-none d-lg-inline text-gray-600 small"> @if(Auth::check()) {{auth()->user()->...
<?php namespace App\Http\Controllers; use App\Models\Unit; use Illuminate\Http\Request; use Illuminate\Contracts\View\View; use Illuminate\Contracts\View\Factory; use Illuminate\Contracts\Foundation\Application; class UnitController extends BaseController { protected $model; protected $route; protected $...
<?php namespace Application\Theme\ekcintranet; use Concrete\Core\Page\Theme\Theme; defined('C5_EXECUTE') or die("Access Denied."); class PageTheme extends Theme { public function registerAssets() { //requireAsset = Loaded by C5 $this->requireAsset('javascript', 'jquery-ui'); $this->requi...
<div class="text-white bg-footer1"> {{-- Care about people's approval and you will be their prisoner. --}} <footer> <div class="container py-5"> <div class="row"> <div class="col-md-3"> <div class=""> <h5 class="">CONTACTS</h5> <div cla...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAlumniTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('alumni', functio...
<?php /* @var $this EstudiosController */ /* @var $dataProvider CActiveDataProvider */ $this->breadcrumbs=array( 'Estudioses', ); $this->menu=array( array('label'=>'Create Estudios', 'url'=>array('create')), array('label'=>'Manage Estudios', 'url'=>array('admin')), ); ?> <h1>Estudioses</h1> <?php $this->widget('...
<?php use yii\helpers\Url; use app\models\Posts; use app\models\Katagori; use app\models\VAllPost; use app\models\TbSosmed; use app\models\TbCso; use app\models\About; use app\models\Office; use app\models\Titlebox; use yii\db\Expression; use yii\bootstrap\ActiveForm; use yii\captcha\Captcha; ...
@extends('site.app') @section('title-meta') <title>Firebidder user loged </title> @endsection @section('content') @include('.site.login.login-partitial.header') @include('.site.login.login-partitial.nav') <section class="myFirebidder"> <div class="container"> <div class="row"> ...
<?php namespace frontend\modules\profile\models; use Yii; /** * This is the model class for table "profile". * * @property string $customer_user_name * @property string $profile_picture * @property string $profile_about * * @property Customer $customerUserName */ class ProfileSocialLogin extends \yii\db\Acti...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Photo extends Model { // protected $fillable =[ 'file' ]; protected $uploads = '/images/'; public function getFileAttribute($photo){ return $this->uploads . $photo; } }
<?php /** * Generated by phpSPO model generator 2020-05-29T07:19:37+00:00 */ namespace Office365\Graph; use Office365\Runtime\ClientObject; /** * "A calendar which is a container for events. It can be a calendar for a user, or the default calendar of an Office 365 group." */ class Calendar extends ClientObject ...
<ul class="nav nav-tabs mb-3"> <li class="nav-item"><a class="nav-link{{ $page === '' ? ' active' : '' }}" href="{{ route('admin.home') }}">Dashboard</a></li> @can ('manage-adverts') <li class="nav-item"><a class="nav-link{{ $page === 'adverts' ? ' active' : '' }}" href="{{ route('admin.adverts.adverts....
<?php defined('BASEPATH') or exit('No direct script access allowed'); class auth extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('form_validation'); } public function index() { // agar tidak bisa kembali ke halaman login ji...
<?php /* * This file is part of Saft. * * (c) Konrad Abicht <hi@inspirito.de> * (c) Natanael Arndt <arndt@informatik.uni-leipzig.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Saft\Rdf; /** * This interface is c...
<?php declare(strict_types = 1); namespace Innmind\ProcessManager\Process; use Innmind\ProcessManager\{ Process, Exception\CouldNotFork, Exception\SubProcessFailed, }; use Innmind\OperatingSystem\{ CurrentProcess, CurrentProcess\Child, Exception\ForkFailed, }; use Innmind\Signals\Signal; fina...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\CartController; class StripeController extends Controller { public function checkoutsession() { \Stripe\Stripe::setApiKey('sk_test_bXO6aSMopR4HS4z8lWcIK34a00SuoqE1AR'); $total = (new CartController)->...
<?php namespace ZM\Event; interface Event { const SWOOLE = 1; const CQ = 2; }
@title('Community Articles') @canonical($canonical) @extends('layouts.default', ['isTailwindUi' => true]) @section('content') <div class="bg-white pt-5 lg:pt-2"> <div class="container mx-auto flex flex-col gap-x-12 px-4 lg:flex-row"> <x-articles.featured :articles="$pinnedArticles" /> ...
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use App\Jobs\CheckCartItems; use App\Models\Country; use App\Models\Coupon; use App\Models\Product; use App\Models\ProductAttribute; use App\Models\Service; use App\Services\CartTrait; use Carbon\Carbon; use Illuminate\Http\Request; ...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\models\CallHistroy */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Call Histroys', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="call-histroy...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Teacher */ $this->title = 'Обновить преподавателя: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Teachers', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $...
<?php namespace App\Http\Actions\Fabric; use App\Models\Fabric; use PerfectOblivion\Actions\Action; use Illuminate\Http\RedirectResponse; use App\Services\Fabric\RestoreFabricService; use App\Http\Responders\Fabric\RestoreFabricResponder; class RestoreFabric extends Action { /** @var \App\Http\Responders\Fabric\...
<?php /** * Administration panel - PFS manager * * @package pfs * @version 0.1.0 * @author Cotonti Team * @copyright Copyright (c) Cotonti Team 2008-2014 * @license BSD */ (defined('COT_CODE') && defined('COT_ADMIN')) or die('Wrong URL.'); $t = new XTemplate(cot_tplfile('pfs.admin.allpfs')); $adminpath[] = a...
<?php namespace Tactile\Controller; use OmelettesDoctrine\Controller\AbstractDoctrineController; use OmelettesDoctrine\Document as OmDoc; use OmelettesDoctrine\Service; class UsersController extends AbstractDoctrineController { /** * @return Service\UsersService */ public function getUsersService()...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests\UsersRequest; use App\Http\Requests\UsersEditRequest; use Illuminate\Support\Facades\Session; use App\User; use App\Role; use App\Photo; class AdminUsersController extends Controller { /** * Display a listing of the res...
<?php /** * CouponShop数据模型 */ class CouponShopTable { // 数据表模型配置 public $config = [ 'name' => 'coupon_shop', 'title' => '适用门店', 'search_key' => 'name:店名搜索', 'add_button' => 1, 'del_button' => 1, 'search_button' => 1, 'check_all' => 1, 'list_row' => 20, 'addon' => 'Coupon' ]; // 列表定义 ...
<?php declare(strict_types=1); require_once dirname(__DIR__) . '/index.php'; require_once __DIR__ . '/helpers/helpers.php'; use PHPUnit\Framework\TestCase; use PhpcsChanged\PhpcsMessages; use PhpcsChanged\ShellException; use PhpcsChanged\CacheManager; use PhpcsChangedTests\TestShell; use PhpcsChangedTests\GitFixture;...
@extends('layouts.app', ['activePage' => 'sections', 'titlePage' => __('Table List')]) @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="car...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email',...
<div class="w3-padding w3-tiny awb-item" > <table class="w3-table w3-border-0 w3-tiny "> <tr> <td style="width: 10%;"> <div style="padding-top: 18px"> <img src="{{ url('/logo.png') }}" height="77px"> </div> </td> <td ...
<?php $db_penjualan = mysqli_connect("localhost", "root", "", "db_penjualan");
<?php #turn error reporting on ini_set('display_errors',1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require('newconfig.php'); echo "Loaded Host: " . $host; $conn_string = "mysql:host=$host;dbname=$database;charset=utf8mb4"; try{ $db = new PDO($conn_string, $username, $password); echo "Conn...
<?php namespace AssetsBundle\Service\Filter; class JpegFilter extends \AssetsBundle\Service\Filter\AbstractImageFilter{ /** * Compression level: from 0 (worst quality, smaller file) to 100 (best quality, biggest file) * @var int */ protected $imageQuality = 30; /** * Constructor * @param int $iImageQualit...
<?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 obtai...
<div class="ui basic segment"> <div class="ui large secondary inverted menu"> <a href="/home" class="item"> <img src="/storage/interface/logotext.png" class="ui tiny image"> </a> <a class="item" href="/home">Browse</a> <a class="item" href="{{route('forum.index')}}">Community</a> <a class="item"...
<?php use think\facade\Route;
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitd238766aa587794baa54e0fba8649270 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Domain\Users\Models\User; use Faker\Generator as Faker; use Illuminate\Support\Str; $factory->define(User::class, function (Faker $faker) { return [ 'name' => $faker->name, 'email' => $faker->unique()->safeEmail, 'em...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>{{ $title }}</title> <style> * { line-height: 1.5; margin: 0; } html { ...
<?php namespace app\models; use app\libraries\Core; use app\libraries\DiffViewer; use app\libraries\Utils; /** * Class GradeableAutocheck * * Contains information pertaining to the autocheck element that's contained within a * GradeableTestcase. There is 0+ autochecks per GradeableTestcase. * * @method string ...
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
<?php namespace App\Http\Controllers\Voyager; use TCG\Voyager\Http\Controllers\VoyagerMenuController as BaseVoyagerMenuController; class VoyagerMenuController extends BaseVoyagerMenuController { // }
<?php /** * Created by PhpStorm. * User: Prabodha Nirmani * Date: 12/15/2016 * Time: 10:09 AM */ class DatabaseHandler { }
<?php return [ 'plugin' => [ 'name' => 'Quiz', 'description' => '' ] ];
@extends('templates.interface') @section('content') {{Form::token()}} <div class="mws-panel grid_8 mws-collapsible"> <div class="mws-panel-header"> <span><i class="icon-table"></i>I.P. Bans</span> </div> <div class="mws-pan...
<?php namespace App\Listeners; use Mail; use App\Events\MessageWasReceived; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class SendAutoResponder implements ShouldQueue { /** * Create the event listener. * * @return void */ public function __construc...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class UserClassification extends Model { public $timestamps = false; protected $guarded = []; }
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var CBitrixComponentTemplate $this */ /** @var array $arParams */ /** @var array $arResult */ /** @global CDatabase $DB */ /** @global CUser $USER */ /** @global CMain $APPLICATION */ $pageId = ""; include("util_group_menu.php"); $componentPar...
<?php namespace common\models; use Yii; use yii\base\NotSupportedException; use yii\behaviors\AttributeBehavior; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $password_hash ...
<?php namespace App\Models; use \DateTimeInterface; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Spatie\MediaLibrary\HasMedia; use Spatie\MediaLibrary\InteractsWithMedia; use Spatie\MediaLibrary\MediaCollections\Models...
<?php namespace App\Observers; use App\Models\User; use Illuminate\Support\Facades\Cache; class UserObserver { private int $ttl = 15*60; /** * Handle the User "saved" event. * * @param User $user * @return void */ public function saved(User $user) { Cache::put("user.$...
contatti
<?php /** * Customer completed order email * * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-completed-order.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * mai...
<!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"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" > <...
<?php namespace Phircy\Event; class EventFactoryTest extends \PHPUnit_Framework_TestCase { /** * @var EventFactory */ protected $factory; protected function setUp() { $this->factory = new EventFactory(); } public function testCreateFromParserOutput() { $command ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Calificaciones extends Model { protected $fillable = [ 'noControl', 'maestro', 'alumno', 'icInicial1stTest', 'icInicial2stTest', 'icInicial3stTest', 'icInicialPlataformaYtareas', 'icInicialFinalScore', 'icInicialParticipa...
<?php return array ( 'AUD' => array ( 'name' => 'Аўстралійскі Даляр', 'symbol' => 'A$', ), 'BRL' => array ( 'name' => 'Бразільскі Рэал', 'symbol' => 'R$', ), 'BYR' => array ( 'name' => 'Беларускі Рубель', 'symbol' => 'р.', ), 'CNY' => array ( 'name' => 'Кітайскі Юан...
<?php namespace Rad\Core\Exception; /** * Missing Bundle Exception * * @package Rad\Core\Exception */ class MissingBundleException extends BaseException { }
<?php namespace Core\Services; use Core\Services\TicketStatusServiceContract; use Core\Services\ClientServiceContract; use Core\Services\TicketLogServiceContract; class TicketRelatedService { public $client; public $status; public $service; public $log; public function __construct(ClientServ...
<!-- page content --> <div class="right_col" role="main"> <div class="row"> <div class="col-md-7 "> <div class="flash-data" data-flashdata="<?= $this->session->flashdata('message'); ?>"> <div class="x_panel"> <div class="x_title"> <h2><?= $title; ?></h2> ...
<?php namespace App\Helpers; class Helper { public static function shout(string $string) { return strtoupper($string); } /** * * @param integer $angka number * @return string * * Usage example: * echo convert_to_rupiah(10000000); -> Rp. 10.000.000 */ public static function ...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit12208f9c0e6b3eb8544a4b7d5efcd37c { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
@extends('layouts.admin') @section('title') {{ trans('lang.portfolios') }} @endsection @section('content') <!-- END EXAMPLE TABLE PORTLET--> <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card"> <div class="header"> ...
<?php /** * Toknot (http://toknot.com) * * @copyright Copyright (c) 2011 - 2018 chopin xiao (xiao@toknot.com) */ namespace Toknot\Lib\View; use Toknot\Boot\Kernel; use Toknot\Lib\View\ViewData; /** * 支持标签列表(不包括下面列表首个@符号): * @:<TAG_NAME> <TAG_NAME>为占位符号名,可将块模板文件或模板代码插入此位置,通过view插入或在模板内使...
<?php /** * Overrides theme_devconnect_monetization_roles_form(). */ function apigee_responsive_devconnect_monetization_roles_form($variables) { $form = $variables['form']; $rows = array(); foreach (element_children($form['developers']) as $uid) { $row = array(); foreach (element_children($form['deve...
<?php // Under MIT License // Distribute, Modify and Contribute under MIT License. // Use of Software under MIT License. ?> <?php set_time_limit(0); include_once("../../common/conDb.php"); $sql1="ALTER TABLE `patientconfirmation` ADD `cost_procedure_id` INT NOT NULL AFTER `asc_id_before_merge`"; imw_query($sql1)or ...
<?php namespace DBDump\Lib; use Pimple\Container; use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Exception\ParseException; /** * A class to facilitate access to the configuration values */ class Config { /** * An array of config variables * * @var array */ protected $parsed...
<div class="row hidden-print"> <div class="portlet light " id="monthlydues"> <div class="portlet-title"> <div class="caption font-green-sharp"> <i class="fa fa-money font-green-sharp"></i> <span class="caption-subject bold uppercase"> Aging Reports</span> ...
<?php class OssnAnnotation extends OssnEntities { /** * Initialize the objects. * * @return void */ public function initAttributes() { $this->OssnDatabase = new OssnDatabase; $this->time_created = time(); if(empty($this->subtype)) { $this->subtype = NULL; } if(empty($this->per...
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="{{ URL::asset('css/LogIn.css') }}"/> <script type="text/javascript" src="{{ URL::asset('js/LogIn.js') }}"></script> </head> <body> <div class="login-page"> <div class="form"> <form class="login-form" method="post" action="/login/user"> ...
<?php declare(strict_types=1); namespace TYPO3\CMS\Backend\Utility; use TYPO3\CMS\Core\Utility\GeneralUtility; if (class_exists(BackendUtility::class)) { return; } final class BackendUtility { public static function editOnClick($params, $_ = '', $requestUri = ''): string { return 'foo'; } ...
@extends('template.master') @section('title','Send To Panel-Batch Upload') {{-- @section('breadcrumb') {!! Breadcrumbs::render('HRM.Ansar Promotion.Ansar Promotion') !!} @endsection --}} @section('content') <script> GlobalApp.controller('applicantSearch', function ($scope, $http, $q, httpServic...
<?php namespace App\DataFixtures; use App\Entity\Tag; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Persistence\ObjectManager; class TagFixtures extends Fixture { public function load(ObjectManager $manager) { foreach (range(0, 30, 2) as $tagNumber) { $tag = new Tag(); ...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php', 'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php', '...
{{-- <svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" {{ $attributes }}> <path d="M11.395 44.428C4.557 40.198 0 32.632 0 24 0 10.745 10.745 0 24 0a23.891 23.891 0 0113.997 4.502c-.2 17.907-11.097 33.245-26.602 39.926z" fill="#6875F5"/> <path d="M14.134 45.885A23.914 23.914 0 0024 48c13.255 0 ...
<?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 Symfony\Component\Notifier\Bridge\RocketChat; use Symfony\Component\Not...
<?php include "v_thead.php"; include "v_tnav.php"; include "v_tsidebar.php"; ?> <?php echo'<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Manajemen berita <small>Edit Berita</small> </h1> <ol class="bread...
<?php namespace app\home\model; use think\Model; use think\Request; use think\Session; use think\Cookie; use think\Db; class TcRole extends Model{ public function getSql(){ $deptId = request()->param('id');//dump(request()->param('id']); $rId = request()->param('rId'); //halt(request()); $sql = ''; $str =...
@extends('layouts.chat') @section('notice_count', isset($notice_count) ? $notice_count : "") @section('content') <div class=container> @if(Session::has('nologin_msg')) <p id="error_msg" style="background-color: #FF0000;padding:15px;position: absolute;z-index: 99;width:60%;opacity: 0.8;color:...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Rankfoundry\eBaySDK\Trading\Enums; class FeedbackTypeCodeType { const C_CUSTOM_CODE = 'CustomCode'...
<?php use Illuminate\Database\Seeder; use App\Models\Manufacturer; class ManufacturersTableSeeder extends Seeder { public function run() { Manufacturer::truncate(); $manufacturers = [ [ 'name' => 'GAF', 'logo' => 'clickthru/manufacturers/gaf.png', ], [ 'name' => 'Certainteed', ...
<?php /* * Copyright 2014 Brian Smith <wormling@gmail.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
<?php header('Content-Type:text/html;charset=utf-8'); class upload{ protected $filename; protected $maxSize; protected $allowExt; protected $allowMime; protected $uploadPath; protected $imgFlag; protected $fileInfo; protected $error; protected $ext; protected $destination; protected $imgUrl; //构造函数 public...
<?php /** * This file is part of the highcharts-bundle package. * * (c) 2017 WEBEWEB * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Polygon\States; use JsonSerializabl...
@extends('layouts.dashboard') @section('content') {!! $chart->render() !!} @endsection
<?php use Restserver\Libraries\REST_Controller; defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH . 'libraries/REST_Controller.php'; require APPPATH . 'libraries/Format.php'; class Antrian extends REST_Controller { public function index_get() { date_default_timezone_set(...
<?php namespace common\models; use Yii; /** * This is the model class for table "pelicula_actor". * * @property int $pelicula_id * @property int $actor_id * * @property Actor $actor * @property Pelicula $pelicula */ class PeliculaActor extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ p...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePaymenthistorysTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('payment...
<?php /** * Random_* Compatibility Library * for using the new PHP 7 random_* API in PHP 5 projects * * The MIT License (MIT) * * Copyright (c) 2015 - 2018 Paragon Initiative Enterprises * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documenta...
<?php namespace Centum\App; use Centum\Container\Container; abstract class Bootstrap { abstract public function boot(Container $container): void; }
<?php namespace app\admin\controller; use think\Controller; // use app\home\model\Aaguanlian; use app\home\model\Cate as Category; use think\Session; use think\Db; use think\Request; class Cate extends controller { public function index() { $list=DB::name('cate')->field("id,name,pid,path,concat(path,'-',id) as ...
<?php use App\Enums\Gender; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProfilesTable extends Migration { public function up() { Schema::create('profiles', function (Blueprint $table) { $table->...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <h1>SOmething</h1> </body> </html>
<?php namespace App\Http\Controllers; class HomeController extends Controller { /* |-------------------------------------------------------------------------- | Home Controller |-------------------------------------------------------------------------- | | This controller renders your application's "dashboard" ...
<?php namespace Shopsys\FrameworkBundle\Component\Domain\Exception; use Exception; class NoDomainSelectedException extends Exception implements DomainException { /** * @param string $message * @param \Exception|null $previous */ public function __construct($message = '', $previous = null) ...