text
stringlengths
2
1.03M
<?php namespace Docker\Api\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Jane\JsonSchemaRuntime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\Denorm...
<?php /* * This file is part of Flarum. * * For detailed copyright and license information, please view the * LICENSE file that was distributed with this source code. */ namespace Flarum\Tests\integration\policy; use Carbon\Carbon; use Flarum\Bus\Dispatcher; use Flarum\Discussion\Discussion; use Flarum\Foundati...
<?php include 'header.php'; ?> <section class="konten"> <div class="container"> <h4>Detail Pinjaman</h4> <?php $ambil = $koneksi->query("SELECT * FROM tbl_pinjam JOIN tbl_anggota ON tbl_pinjam.nis=tbl_anggota.nis WHERE tbl_pinjam.id_pinjam='$_GET[id]'"); $detail = $ambil->fetch_assoc(); ?> ...
<?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\Http\Controllers; use Illuminate\Http\Request; use App\Model\GoodsModel; use Illuminate\Support\Facades\Redis; use App\Model\CartModel; use App\Model\CollectModel; class IndexController extends Controller { /** * 前台首页 */ public function index() { $goodsmodel = new Go...
<?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'); $this->load->helper('captcha'); } public function index() { $th...
<?php /* @SRVDVServer/admin/TypeAdmin.html.twig */ class __TwigTemplate_f564113211db0a1dbef8950c282bb46e6668ecdd2b26daef6d04aa3eca2963be extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array...
<?php namespace App\Http\Controllers; use App\Http\Requests; use App\Http\Controllers\Controller; //Thêm Illuminate\Support\Facades\Input khi gặp class input not found /*use Illuminate\Support\Facades\Input;*/ //use Illuminate\Http\Request; use Request; use App\Cate; use App\Product; use Auth; use App\ProductImages; u...
<?php namespace backend\controllers; use Yii; use backend\models\AuthItem; use backend\models\AuthItemSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\filters\AccessControl; /** * PermissionController implements the CRUD actions for AuthItem model. */ class Per...
<!DOCTYPE html> <html lang="en"> <head> <?php $this->load->view("admin/_partials/head.php") ?> </head> <body id="page-top"> <?php $this->load->view("admin/_partials/navbar.php") ?> <div id="wrapper"> <?php $this->load->view("admin/_partials/sidebar.php") ?> <div id="content-wrapper"> <div class="contain...
@extends('template/admin/main') @section('title', 'Testimoni') @section('content') <nav aria-label="breadcrumb"> <ol class="breadcrumb rounded-3 px-4"> <li class="breadcrumb-item"><a href="/admin"><i class="fas fa-tachometer-alt"></i></a></li> <li class="breadcrumb-item"><a href="/admin/testimoni...
<?php namespace App\Http\Controllers; use App\Http\Controllers\controller; use App\Models\Priba; use Illuminate\Http\Request; use Illuminate\Pagination\LengthAwarePaginator as Paginator; use Validator, Input, Redirect ; class PribaController extends Controller { protected $layout = "layouts.main"; protected $dat...
<?php namespace GrowChart\Command; use GrowChart\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Input\InputArgument; use GrowChart\Common\Measurement; use Exception; class AddMeasurementCommand extends Command { pro...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</ti...
<?php session_start(); include("includes/db_config.php"); if(isset($_POST['search2'])){ $search2= $_POST['search2']; $sqlll2 = mysqli_query($conn,"SELECT * from user_profile where email ='$search2' ") or die (mysql_error()); if(mysqli_num_rows($sqlll2)>0){ echo "<b>".$search2."Email Id Already Exists!"; }else{ } } /...
<?php /** * A status class for Jetpack. * * @package automattic/jetpack-status */ namespace Automattic\Jetpack; use WPCOM_Masterbar; /** * Class Automattic\Jetpack\Status * * Used to retrieve information about the current status of Jetpack and the site overall. */ class Status { /** * Is Jetpack in develo...
@extends('dashboard.auth.layouts') @section('title',' Lupa Passowor') @section('content') <div class="panel-heading"> <h3 class="text-center">Lupa Password</h3> </div> <div class="panel-body"> <form class="form-horizontal m-t-20" action="" method="post"> {{ csrf_field() }} ...
<?php namespace Oc\Account\Subscriber; use Oc\Menu\Event\MenuEvent; use Oc\Menu\MenuEnum; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class MenuSubscriber implements EventSubscriberInterface { /** * Returns an array of event names this subscriber wants to listen to. * * @return...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php namespace App\Models\DifferentLocation; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Comment extends Model { use HasFactory; protected $fillable = [ 'content', ]; }
<?php namespace DFSClientV3\Models\BusinessDataApi\Google\Reviews; use DFSClientV3\Models\AbstractModel; class ReviewsLanguages extends AbstractModel { protected $method = 'GET'; protected $isSupportedMerge = false; protected $pathToMainData = 'tasks->{$postID}->result'; protected $requestToFunctio...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie...
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Auth; use App\Mail\SendEmail; use User; use Mail; use App\Book;...
<?php defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH . '/libraries/REST_Controller.php'; use Restserver\Libraries\REST_Controller; class AuthController extends REST_Controller { public function __construct() { parent::__construct(); $this->load->model('AuthMod...
<?php namespace Google\AdsApi\AdManager\v202105; /** * This file was generated from WSDL. DO NOT EDIT. */ class getCurrentNetworkResponse { /** * @var \Google\AdsApi\AdManager\v202105\Network $rval */ protected $rval = null; /** * @param \Google\AdsApi\AdManager\v202105\Network $rval ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\RolSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="rol-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $form->...
<?php namespace Database\Factories; use App\Models\Photo; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class PhotoFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Photo::class; /** ...
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ require_once dirname(__FILE__) . '/../../../../runtime/lib/util/PropelDateTime.php'; require_once dirname...
<?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\Rate; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Http\Controllers\ApiController; use App\Rate; class RateController extends ApiController { public function __construct() { parent::__construct(); // Solo chequea cliente-id, no...
<?php // autoload_namespaces.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Whoops' => array($vendorDir . '/filp/whoops/src'), 'VIPSoft\\Unzip' => array($vendorDir . '/vipsoft/unzip/src'), 'System' => array($vendorDir . '/phpseclib/phpse...
<?php /** * Created by PhpStorm. * User: админ * Date: 27.12.2017 * Time: 14:43 */ use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\Url; use kartik\select2\Select2; ?> <div class="product-search"> <?php $form = ActiveForm::begin([ 'action' => Url::to(['category', 'slug' => $slug]), ...
<?php namespace SisCombustible; use Illuminate\Database\Eloquent\Model; class ControlVehiculo extends Model { protected $table='controlvehiculo'; protected $primaryKey='idControlVehiculo'; public $timestamps=false; protected $fillable =[ 'idVehiculo', 'idAsignacion', 'idColaborador', ...
<?php /** * +---------------------------------------------------------------------- * | 草帽支付系统 [ WE CAN DO IT JUST THINK ] * +---------------------------------------------------------------------- * | Copyright (c) 2018 http://www.iredcap.cn All rights reserved. * +--------------------------------------------...
<?php /** * Description of adfsuserdetails */ class AdfsUserDetails { public $nameIdentifier; public $nameIdentifierFormat; public $attributes; } ?>
<?php /** * Tera_WURFL - PHP MySQL driven WURFL * * Tera-WURFL was written by Steve Kamerman, and is based on the * Java WURFL Evolution package by Luca Passani and WURFL PHP Tools by Andrea Trassati. * This version uses a MySQL database to store the entire WURFL file, multiple patch * files, and a persistent ca...
<?php /** * Created by PhpStorm. * User: websp * Date: 01.05.2016 * Time: 13:33 */
--TEST-- Catching an exception thrown from an included file --FILE-- <?php try { include "inc_throw.inc"; } catch (Exception $e) { echo "caught exception\n"; } ?> --EXPECT-- caught exception
<!DOCTYPE html> <html lang="en"> <head> <title>Matrix Admin</title> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="<?php echo base_url(); ?>assets/html/css/bootstrap.min.css" /> <link rel="stylesheet" href="<?php echo base_url(); ?>assets/h...
<?php namespace Iot\Request\V20180120; /** * @deprecated Please use https://github.com/aliyun/openapi-sdk-php * * Request of GetSpeechModel * * @method string getCode() * @method string getApiProduct() * @method string getApiRevision() */ class GetSpeechModelRequest extends \RpcAcsRequest { /** * @v...
<?php namespace App\Http\Controllers; use App\Models\TvSeries; use Illuminate\Http\Request; class TvSeriesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //showing data on the index pag...
<?php declare(strict_types = 1); namespace Middlewares; use Middlewares\Utils\Traits\HasResponseFactory; use Middlewares\Utils\Factory; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Container\ContainerInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="page-header"> <avatar-form :user="{{ $profileUser }}"></avatar-form> </div> @forelse ($activ...
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Laravel\Passport\Passport; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protect...
<?php namespace RuchJow\TerritorialUnitsBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass="RuchJow\TerritorialUnitsBundle\Entity\RegionRepository") * @ORM\Table(name="region") */ class Region { /** * @ORM\Id * @ORM\Colu...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLatentClientsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('latent_clients', function (Blueprint $table) { ...
<?php namespace Nemundo\Workflow\App\Calendar\Data\Calendar; class CalendarListBox extends \Nemundo\Package\Bootstrap\FormElement\BootstrapModelListBox { /** * @var CalendarModel */ public $model; protected function loadCom() { parent::loadCom(); $this->model = new CalendarMo...
@extends('admin.app') @section('title', ' |حجز البرامج') @section('content') <div class="row"> <div class="col-md-12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet light bordered"> <div class="portlet-title"> <div class="caption font-dark"> ...
<?php class ExecCest { public function _before(CliGuy $I) { $I->getContainer()->addServiceProvider(\Robo\Task\Base\loadTasks::getBaseServices()); } // tests public function toExecLsCommand(CliGuy $I) { $command = strncasecmp(PHP_OS, 'WIN', 3) == 0 ? 'dir' : 'ls'; $res =...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Repository') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-xl sm:r...
<?php declare(strict_types=1); /** * This file is part of Narrowspark Framework. * * (c) Daniel Bannert <d.bannert@anolilab.de> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Viserio\Component\Container\Tests\Fixture\Inline; class ...
<?php // autogenerated file 30.09.2013 15:20 // $Id: $ // $Log: $ // require_once 'EbatNs_FacetType.php'; /** * Specifies the criteria for filtering search results by site, where site is * determined by the site ID in the request. * * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/Preferre...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace Product\Table; use Zend\Db\TableGateway\TableGateway; class ProductMetaTable extends TableGateway { const NAME = 'hs_products_meta'; }
</div> <footer class="main-footer"> <div class="pull-right hidden-xs"> <b>Version</b> 1.0.0 </div> <strong>Copyright &copy; 2017 <a href="http://web.artssoct.com/">ArtsSoct</a>.</strong> All rights reserved. </footer> </div> <script src="<?php echo base_url().'assets/';?>AdminLTE/plugins/jQuery/jquery-2.2.3...
<?php return [ "name" => "Имя", "code" => "Код", "active" => "Активен", "default" => "По умолчанию", ];
<?php namespace DreamFactory\Core\Enums; /** * DbResourceTypes * Database resource types */ class DbResourceTypes extends FactoryEnum { //************************************************************************* // Constants //************************************************************************* ...
<?php namespace App\Interfaces; interface PaymentGateway { /** * @param int $discount * @return PaymentGateway */ public function setDiscount(int $discount); /** * @param float $amount * @return array */ public function charge(float $amount); }
<?php namespace app\modules\support\controllers; use Yii; use app\modules\support\models\TicketStatus; use app\modules\support\models\search\TicketStatusSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * TicketStatusesController implements the CRUD actions for Ticke...
<?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\DependencyInjection\Loader; use Symfony\Component\Dep...
<?php $ruta="."; require_once($ruta."/modelos/modelo_comentario.php"); $comentario = new modelo_comentario(); $comentarios=$comentario->getUltimos5Comentarios(); ?>
<?php /** * Enable theme features */ add_theme_support('root-relative-urls'); // Enable relative URLs add_theme_support('bootstrap-top-navbar'); // Enable Bootstrap's top navbar add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery] add_theme_support('nice-search'); ...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class isAdmin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illumi...
<?php namespace DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15:43+0000 * * PHPFHIR Copyright:...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Drds\V20190123\Models; use AlibabaCloud\SDK\Drds\V20190123\Models\DescribeInstanceSwitchNetworkResponseBody\vpcInfos; use AlibabaCloud\Tea\Model; class DescribeInstanceSwitchNetworkResponseBody extends Model { /** * @va...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; use App\Models\User; use Auth; use Validator; class AuthController extends Controller { public function login() { return view('login'); } public function submitLogin (Request $request) { $ema...
<?php /** * @file * UkAddressDecoratorInterface.php * * @author Josh Parkinson <joshua.parkinson@rchl.co.uk> */ namespace JParkinson1991\Common\Location\Address; /** * Class UkAddressDecoratorInterface * * @package JParkinson1991\Common\Location\Address */ interface UkAddressDecoratorInterface { /** ...
@include('header') @include('sidebar') <div class="content-wrapper"> <section class="content-header"> <h1> Monthly Sales <small>(RD) </small> </h1> </section> <section class="content"> @include('flash::message') <div class="box"> <div...
<?php namespace Styde\Enlighten\Drivers; use Styde\Enlighten\Contracts\ExampleGroupBuilder; use Styde\Enlighten\Contracts\Run as RunContract; use Styde\Enlighten\Contracts\RunBuilder; use Styde\Enlighten\Facades\VersionControl; use Styde\Enlighten\Models\Run; class DatabaseRunBuilder implements RunBuilder { /** ...
@extends('admin.shared.master') @section('title','Departments') @section('page') <div class="pd-ltr-20 customscroll customscroll-10-p height-100-p xs-pd-20-10"> <div class="min-height-200px"> <div class="page-header"> <div class="row"> <div class="col-md-6 col-sm-12"> <div class="title"> <h4>Depart...
<?php namespace app\models; use Yii; /** * This is the model class for table "spre_he_solicita". * * @property integer $SOLI_ID * @property integer $SPRE_ID * @property string $HE_ID * @property integer $SOLI_CANTIDAD * * @property SolicitudPrestamo $sPRE * @property Herramientas $hE */ class SpreHeSolicit...
<?php return [ 'About' => 'О компании', 'About us' => 'О нас', 'Create about' => 'Создать запись о компании', 'Update about' => 'Обновить запись о компании', 'Text' => 'Текст', 'Technologies' => 'Технологии', 'Information' => 'Информация', 'Qualities' => 'Особенности', ];
<?php namespace Topxia\Api\Resource; use Silex\Application; use Symfony\Component\HttpFoundation\Request; use Topxia\Common\ArrayToolkit; class ExerciseResult extends BaseResource { public function post(Application $app, Request $request, $exerciseId) { $answers = $request->request->all(); $...
@extends('back') @section('title', '用户分析') @section('head') <script type="text/javascript"> $(function(){ }) </script> @endsection @section('body') <input type="hidden" id="page" value="activity"/> <input type="hidden" id="data" value="{{$data or ''}}"/> <br /> <table class="table"> <tr> ...
<?php declare(strict_types=1); use App\Kernel; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Dotenv\Dotenv; require dirname(__DIR__) . '/vendor/autoload.php'; if (file_exists(dirname(__DIR__) . '/config/bootstrap.php')) { require di...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLanguageUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('language_...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRoleTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { if(!Schema::hasTable('role')) { ...
<?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...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; /** * Class CreateFriendshipGroupMembersTable */ class CreateFriendshipGroupMembersTable extends Migration { public function up() { Schema::create(config('friendships.tables.fr_groups_pivot'), function (Bl...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://doc.hyperf.io * @contact group@hyperf.io * @license https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE */ namespace Hyperf\Di; class MethodDefinitionCollector extends MetadataCol...
<?php namespace App\Http\Controllers\Api; use App\Http\Resources\Api\CityCollection; use App\Http\Resources\Api\CountryCollection; use App\Models\City; use App\Models\Country; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class PublicDataController extends Controller { // public functio...
<? /*************************************************************************** * * IMPORTANT: This is a commercial product made by MChristiaan and cannot be modified for other than personal usage. * This product cannot be redistributed for free or a fee without written permission from MChristiaan. * This notice may ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Image extends Model { protected $table = 'elementos_image'; public function elemento(){ return $this->belongsTo('App\Elemento'); } }
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\package\communitystore\src\communitystore\product\product$ppriceminimum@[annot]][1]/ */ /* Type: array */ /* Expiration: 2021-02-16T12:52:02+05:30 */ $loaded = true; $expiration = 1613460122; $data = array(); /* Child Type: array */ $data['return'] = unser...
<ol class="breadcrumb bg-transparent mt-4"> <?php $i=0; foreach ($breadcrumb as $bc): ?> <li class="breadcrumb-item active"><?= $bclink[$i] ?><?= $bc ?></a></li> <?php $i++; endforeach ?> </ol> <div class="card mb-4 shadow" id="kartu"> <div class="card-header"> <button class="btn btn-primary" ...
<?php namespace App\Http\Controllers; // フォルダーモデルの読み込み use App\Folder; // タスクモデルの読み込み use App\Task; use App\Http\Requests\CreateTask; use App\Http\Requests\EditTask; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class TaskController extends Controller { /** * タスク一覧 * @param Folder $...
<?php // Create a blank image and add some text $im = imagecreatetruecolor(120, 20); $text_color = imagecolorallocate($im, 255, 255, 255); imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); $file = dirname(__FILE__) .'/simpletext.jpg'; // Save the image as 'simpletext.jpg' imagejpeg($im, $file); // Fre...
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; use App\Notifications\ResetPassword; use Auth; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array ...
<?php // vscode-fold=9 use Phinx\Migration\AbstractMigration; class AtlantisMakeFieldsNullableInLogTable extends AbstractMigration { public function Up() { /*// operations to perform when upgrading the database with this migration. //*/ $this->Execute(" ALTER TABLE `LogBlogPostTraffic` CHANGE COLUMN `Blo...
<?php /** * Created by PhpStorm. * User: Wind * Date: 2017/10/28 * Time: 10:49 */ //url 必须以 '/' 或 调用的file.suffix结尾,否则curl报301错误 $url = 'http://localhost/think/public/index.php'; $data = [ 'name' => 'king', 'pwd' => '123456' ]; $data = http_build_query($data); $ch = curl_init(); curl_setopt($ch, CURLOPT_...
import { Component, OnInit } from '@angular/core'; import { <?= $entity_class_name ?> } from '../<?= $route_name ?>'; import { <?= $entity_class_name ?>Service } from '../<?= $route_name ?>.service'; import { NotificationService } from 'src/app/shared/services/notification.service'; import { Router } from '@angular/rou...
<?php namespace App\Http\Requests; use App\Http\Requests\VideoRequest; class MetaRequest extends VideoRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'type' => 'nullable|string', ...
<html lang="en"> <head> <title>Test</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/lib...
<?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 PWCode\eBaySDK\Trading\Types; /** * */ class GetTokenStatusRequestType extends \PWCode\eBaySDK\Tradi...
<?php namespace TYPO3\CMS\Install\Updates; /* * 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 infor...
<!-- ============================================================== --> <!-- footer --> <!-- ============================================================== --> <div class="footer"> <div class="container-fluid"> <div class="row"> <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12"> ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,5...
<?php declare (strict_types=1); namespace Rector\CodeQuality\Rector\FuncCall; use RectorPrefix20210607\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\StaticCall; use Rector\Core\Php\Regex\RegexPatternArgumentManipulator; use Rector\Core\Rector\AbstractRector; use Sy...
@extends('layouts.frontend') @section('title', trans('front.albums')) @section('content') <h1>{{trans('front.albums')}}</h1> <div> @if($albums) <ul> @foreach($albums as $album) <li><a href="{{route('album.view', ['id' => $album->id, 'slug' => $album->slug])}}">{{$album->name}}</a></li> @endforea...
<?php namespace app\admin\controller; //定义控制器的命名空间 use think\Controller; // 引入命名空间类 use app\home\model\Order; class OrderController extends CommonController { public function index(){ $keyword=trim(input('keyword')); $where=''; if($keyword){ $where.="receiver like '%{$keyword...