text stringlengths 2 1.03M |
|---|
<?php
namespace Zendesk\API;
/**
* The Organizations class exposes methods as detailed on http://developer.zendesk.com/documentation/rest_api/organizations.html
*/
class Organizations extends ClientAbstract {
const OBJ_NAME = 'organization';
const OBJ_NAME_PLURAL = 'organizations';
/*
* List all ... |
<li><i class="text-primary fa fa-check"></i><b>{!! $n->data['tender']['tender_name'] !!}</b> tenderinizə <b>{!! $n->data['offer']['c_name'] !!}</b> şirkətindən yeni təkif - <a href="/tenderler/{!! $n->data['tender']['tender_id'] !!}/{!! $n->data['tender']['tender_slug'] !!}">ətraflı</a></li> |
<?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
session_start();
if(isset($_GET['idku'])){
$_SESSION['idku'] = $_GET['idku'];
$_SESSION['kotaku'] = $_GET['kotaku'];
} |
<?php
namespace Fast\Api\Permission\Http\Api\Base;
use Prettus\Repository\Contracts\CriteriaInterface;
use Prettus\Repository\Contracts\RepositoryInterface;
abstract class AbstractCriteria implements CriteriaInterface
{
protected $orCondition;
protected $andCondition;
protected $orders;
public functio... |
<?php
class City extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->model(array('State_Model','Country_Model','City_Model'));
$this->page = $this->config->item("base_url_admin")."/city";
if(!$this->session->userdata('fname') &&
!$t... |
<?php
declare(strict_types=1);
/*
* This file is part of Domesticated.
*
* (c) Brian Faust <hello@basecode.sh>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Artisanry\Tests\Domesticated;
abstract class AbstractTestC... |
<!-- Default Bootstrap Navbar -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-col... |
<?php
namespace App\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as the URL g... |
<?php
declare(strict_types = 1);
namespace Innmind\AMQP\Client\Channel;
use Innmind\AMQP\Model\Exchange\{
Declaration,
Deletion,
};
interface Exchange
{
public function declare(Declaration $command): void;
public function delete(Deletion $command): void;
} |
Servicio disponible {{$servicio}}<br> |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The a... |
<?php $__env->startSection('content'); ?><p>She urged her fans and followers to register to vote ahead of the November election earlier in the day on Instagram.</p>
<p>And Sofia Richie kept the message going later as she stopped at a gas station in Los Angeles while wearing a charcoal 'Voter' T-shirt.</p>
<p>The 22-y... |
<?php
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2016-Present ZhiYiChuangXiang Technology Co., Ltd. |
* +--... |
<?php
return [
'adminEmail' => 'admin@example.com',
'baseUrl' => 'http://192.168.43.240:8888/api',
'urlImagemPadrao' => 'http://192.168.0.18:8888/img/usuarioPadrao.jpeg'
]; |
<?php declare(strict_types=1);
namespace packages\PhpParser\Node\Stmt;
use packages\PhpParser\Node;
abstract class TraitUseAdaptation extends Node\Stmt
{
/** @var Node\Name|null Trait name */
public $trait;
/** @var Node\Identifier Method name */
public $method;
} |
<?php
// array_slice
$arr = [2, 4, 6, 8, 10, 12, 14, 16, 18];
$slice = array_slice($arr, 1, 3);
print_r($slice);
echo "<br>";
$slice2 = array_slice($arr, 4, 4);
print_r($slice2);
echo "<br>";
$slice3 = array_slice($arr, 4);
print_r($slice3);
echo "<br>";
$slice4 = arr... |
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-static-top">
<div class="container">
<!-- Branding Image -->
<a class="navbar-brand " href="{{ url('/') }}">
LaraBBS
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" ari... |
<?php
return [
'about' => 'Egyszerű eszközök a gyakori képekkel kapcsolatos számításokhoz',
'scale_tab' => 'Átméretezés',
'aspect_ratio' => 'Oldalarány',
'orig_resolution' => 'Eredeti Felbontás',
'width' => 'Szélesség',
'height' => 'Magasság',
'desired' => 'Kívánt',
'scale' => 'Méretará... |
@extends('layouts.none')
@section('content')
<!-- Begin page content -->
<div class="container">
<div class="p-5">
<h1 class="mt-5"><span class="text-secondary"><i class="fa fa-exclamation-triangle"></i> Error</span> </h1>
<h4>Website[{{$subdomain}}] Not Published</h4>
<p class="lead">... |
<?php namespace Subscribo\Localization\Interfaces;
/**
* Class HavingLocaleInterface
*
* @package Subscribo\Localization
*/
interface HavingLocaleInterface
{
/**
* @return string
*/
public function getLocale();
/**
* @param string $locale
* @return mixed|void
*/
public fun... |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>SB Admin 2 - ... |
@extends('layouts.admin')
@section('title')
<title>Trang chu</title>
@endsection
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
@include('partials.content-header', ['name' => 'Home', 'key' => 'home'])
... |
@extends('layouts.frontend')
@section('content')
<!-- Start Slider area -->
<div class="slider-area brown__nav slider--15 slide__activation slide__arrow01 owl-carousel owl-theme">
<!-- Start Single Slide -->
<div class="slide animation__style10 bg-image--1 fullscreen align__center--left">
<div class="container">
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDistrictsTab extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('districts', function (Blueprint $table) {
... |
<?php
class madbUserConnectorFactory
{
/**
* user
*
* @var MadbUser
*/
private $user;
/**
* guardUser
*
* @var PluginsfGuardUser
*/
private $guardUser;
/**
* username
*
* @var string
*/
private $username;
/**
* password
*
* @var string
*/
priva... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CropPesticideController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form for creating... |
<?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Form;
use Symfony\Component\Form\Abstra... |
<?php
namespace App\Controller\Back;
use App\Entity\Car;
use App\Form\CarsType;
use App\Repository\CarRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Rout... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
... |
@extends("back.layouts.app")
@section("content_header")
@component("components.breadcrump",["items"=> ["Dashboard" =>route("admin.dashboard.index"),"current"=>"فرزندان"]])
<a href="{{ route("admin.children.create") }}" class="btn btn-info btn-sm">جدید</a>
@endcomponent
@endsection
@php
use Hsy\Html... |
<?php
namespace ModulesGarden\Servers\VpsServer\App\UI\SshKeys\Modals;
use ModulesGarden\Servers\VpsServer\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\VpsServer\App\UI\SshKeys\Forms\AddSshKeyForm;
use ModulesGarden\Servers\VpsServer\Core\UI\Widget\Modals\BaseEditModal;
class AddSshKeyModal extends BaseE... |
<?php
final class HarbormasterBuildViewController
extends HarbormasterController {
public function handleRequest(AphrontRequest $request) {
$request = $this->getRequest();
$viewer = $request->getUser();
$id = $request->getURIData('id');
$generation = $request->getInt('g');
$build = id(new Ha... |
<?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
namespace app\common\model;
use think\Model;
class Story extends Model
{
} |
<?php
/*
| -----------------------------------------------------
| PRODUCT NAME: Codeclub Marketplace - Toko Online Produk Digital Multiseller
| -----------------------------------------------------
| AUTHORS: CODETHEMES & ONEZEROART TEAM
| -----------------------------------------------------
| EMAIL: mycoding@401xd.... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Images extends Model
{
//
protected $table = 'image';
} |
<?php //echo "<pre>";print_r($bookTableData);echo "</pre>";die();
//print_r($sub_menu_list);
?>
<div id="loader_menu" style="position: fixed; left: 0px; top: 0px; background: #fff; width: 100%; height: 100%; text-align: center; padding-top: 10%; display: block; z-index: 999999;">
<img src="<?php echo base_url()?>... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
@extends('frontEnd.layouts.master')
@section('title')
Product Details
@endsection
@section('content')
<div class="container">
<div class="women_main">
<!-- start content -->
<div class="row single">
<div class="col-md-9">
<div class="single_... |
<div class="col-md-4">
{(id)}
</div>
<div class="col-md-4">
{(inventory_type_id)}
</div>
<div class="col-md-4">
{(inventory_type_id)}
</div>
<div class="col-md-12">
{((operations))}
</div> |
@php
Session::put('pesan','Kembali');
@endphp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SAKU - Admin Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="{{ asset('asset_dore/font/iconsmind-s/cs... |
<?php
include '../configuracion/conexion.php';
$id = $_GET["id"];
$qry = "SELECT id, nombre FROM grupos
WHERE id = '$id'";
$consulta = mysqli_query($conexion,$qry);
... |
@extends('layouts.master')
@section('nav')
@include('coop_division.layouts.navbar')
@endsection
@section('content')
<div class="panel panel-default">
<div class="panel-heading">
<h4>เพิ่มไฟล์</h4>
</div>
<div class="panel-body">
{{Form::open(['route'=>'coop_di... |
<?php
namespace common\models;
use Yii;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "uploading_files_meanings".
*
* @property integer $id
* @property string $name
* @property string $keywords
*
* @property FileStorage[] $files
*/
class UploadingFilesMeanings extends \yii\db\ActiveRec... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>项目列表</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="https... |
<?php
/* @var $this ResourceCategoryController */
/* @var $model ResourceCategory */
$this->breadcrumbs = array(
'Resource Categories' => array('index'),
$model->title => array('view', 'id' => $model->id),
Yii::t('backend', 'Update'),
);
$this->menu = array(
array(
'label' => Yii::t('app', 'Manage ResourceCateg... |
@extends('welcome')
@section('content')
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<h3 class="text-center">PHIẾU ĐÁNH GIÁ NGHIỆM THU </h3>
<h3 class="text-center mb-4">ĐỀ TÀI KHOA HỌC VÀ CÔNG NGHỆ CẤP CƠ SỞ </h3>
... |
<!DOCTYPE html>
<html>
<head>
<title>Personal Details</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="<?php print base_url();?>assets/bower_components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<?php print base_url();?>assets/bower_components/boot... |
<?hh <<__EntryPoint>> function main(): void {
echo HH\Lib\Legacy_FIXME\cast_for_arithmetic(".1") * HH\Lib\Legacy_FIXME\cast_for_arithmetic("2");
echo "\n";
echo HH\Lib\Legacy_FIXME\cast_for_arithmetic("-.1") * HH\Lib\Legacy_FIXME\cast_for_arithmetic("2");
echo "\n";
} |
@extends('layouts.app')
@section('page-title', 'Sign In')
@section('page-content')
<main class="main">
<section class="section user-login">
<h2 class="section__title section__title--center">Sign In</h2>
{!! Form::open(['route' => 'login.process', 'class' => 'form login-form']) ... |
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Admin_Data extends Controller_Admin
{
public function before()
{
parent::before();
}
public function action_groups()
{
$this->template->content = View::factory('admin/data/groups');
}
public ... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/domains/v1/domains.proto
namespace Google\Cloud\Domains\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The `Registration` resource facilitates ma... |
<?php
declare(strict_types=1);
/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
* Copyright (c) Adamo Aerendir Crespi <aerendir@serendipityhq.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Serendipi... |
<?php
namespace Certificate\Model;
class Currency
{
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $symbol;
/**
* Currency constructor.
* @param string $name
* @param string $symbol
*/
public function __construct(string $name, string... |
<?php
declare(strict_types=1);
namespace Otis22\VetmanagerRestApi\Query\Filter;
use Otis22\VetmanagerRestApi\Query\Filter;
use Otis22\VetmanagerRestApi\Model\Property;
use Otis22\VetmanagerRestApi\Query\Filter\Value\ArrayValue;
final class InArray implements Filter
{
/**
* @var string
*/
private $... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Socio extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->helper('url');
$this->load->model('Socio_model');
$this->load->model('Actividad_model');
}
pu... |
<?php
return [
//PostController
'postCreated' => 'Nová zpráva vytvořena.',
'postEdited' => 'Změny uloženy.',
'postDeleted' => 'Zpráva smazána.',
//AdminController
'userCreated' => 'Uživatel vytvořen. S heslem: ',
'privilegiaChanged' => 'Privilegia změněna.',
'passwordReset' => 'Uži... |
<?php
namespace Database\Factories\SaleSystem;
use App\Models\File\File;
use App\Models\SaleSystem\SaleSystem;
use App\Models\SaleSystem\Partner;
use App\Models\User\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class PartnerFactory extends Factory
{
/**
* The name of the factory's corresponding... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Notifications extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('Notifications_model');
$this->load->library('form_validation');
}
public function index(... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
// Broadcast::routes... |
<?php
require_once('../../inc/config/constants.php');
require_once('../../inc/config/db.php');
if(isset($_POST['id'])){
$productID = htmlentities($_POST['id']);
$defaultImgFolder = 'data/item_images/';
// Get all item details
$sql = 'SELECT * FROM item WHERE productID = :productID';
$stmt = ... |
<?php
namespace App\Admin\Actions\Problem;
use App\Models\Enum\AdminUserEnum;
use App\Models\Enum\ProblemEnum;
use App\Models\ProblemRecord;
use Encore\Admin\Actions\BatchAction;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Http\Request;
class BatchPoint extends BatchAction
{
protected $selector =... |
<?php
/*
* This file is part of the mingyoung/dingtalk.
*
* (c) 张铭阳 <mingyoungcheung@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyDingTalk\Kernel\Providers;
use Monolog\Logger;
use Pimple\Container;
use Pimple\Servi... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Webmozart\\PathUtil\\' => array($vendorDir . '/webmozart/path-util/src'),
'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'),
'Symfony\\Polyfill\\Mbs... |
<?php
/**
* Updated By PHP Office365 Generator 2019-11-17T17:00:44+00:00 16.0.19506.12022
*/
namespace Office365\SharePoint\Microfeed;
use Office365\Runtime\ClientObject;
class MicrofeedManager extends ClientObject
{
/**
* @return MicroBlogEntity
*/
public function getCurrentUser()
{
... |
<?php
/**
* Created By Roopan v v <yiioverflow@gmail.com>
* Date : 24-04-2015
* Time :3:00 PM
*/
namespace common\models;
use Yii;
/**
* This is the model class for table "config".
*
* @property integer $id
* @property string $param
* @property string $value
* @property string $default_value
* @property stri... |
<x-emoji-icon-emoji :name="'octopus'" {{ $attributes }} /> |
<?hh
<<__EntryPoint>> function main(): void {
echo "*** Test substituting argument 1 with boolean values ***\n";
$variation_array = array(
'lowercase true' => true,
'lowercase false' =>false,
'uppercase TRUE' =>TRUE,
'uppercase FALSE' =>FALSE,
);
foreach ( $variation_array as $var ) {
var_dump(proc_ni... |
<?php
namespace Core\Traits;
trait TraitRoute{
public function url(){
$url = $_SERVER['QUERY_STRING'];
}
} |
<?php
/**
* This model manages code documentation.
*
* Required models: Admin_Menu
*
* @package Интоор Library (intoor)
* @author Colton James Wiscombe <colton@hazardmediagroup.com>
* @copyright 2014 Hazard Media Group LLC
* @license MIT License - http://www.opensource.org/licenses/mit-license.ht... |
<?php
namespace App\Http\Requests\Forum;
use Illuminate\Foundation\Http\FormRequest;
class CreatePostFormRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
namespace RingCentral\Psr7;
use Psr\Http\Message\StreamInterface;
/**
* Compose stream implementations based on a hash of functions.
*
* Allows for easy testing and extension of a provided stream without needing
* to create a concrete class for a simple extension point.
* @property callable _fn___toString
... |
<?php declare(strict_types=1);
namespace App\Domain\Authentication\Factory;
use App\Domain\Authentication\Entity\User;
use App\Domain\Authentication\Exception\AuthenticationException;
use App\Domain\Authentication\Repository\UserRepository;
use App\Domain\Common\Exception\CommonValueException;
class IncomingUserFact... |
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
class AdminSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$user = new User();
$user->name = 'admin';
$user->email = 'admin@... |
<?php
namespace Edgewizz\Marew\Models;
use Illuminate\Database\Eloquent\Model;
class MarewAns extends Model{
protected $table = 'fmt_marew_ans';
} |
<?php
session_start();
?>
<link rel="stylesheet" type="text/css" href="assets/styles/simditor.css" />
<script type="text/javascript" src="assets/scripts/module.js"></script>
<script type="text/javascript" src="assets/scripts/uploader.js"></script>
<script type="text/javascript" src="assets/scripts/hotkeys.js"></script... |
<?php
require_once 'head.php';
?>
<section class="container">
<article>
<div class="subtitulo">
<h3>CONTACTO</h3>
<div class="linea"></div>
</div>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d15602.933234383796!2d-77.0387331302246!3d-12.130391000000003!2m3!1f0... |
<?php
if (!empty($iWidth) && !empty($iHeight)) {
$arConfig = [
'offset-top' => 1,
'offset-bottom' => 1,
'offset-left' => 1,
'offset-right' => 1,
'colum-count' => 5,
'colum-solt' => 17
];
$iColWidth = ($iWidth - $arConfig['offset-left'] - $arConfig['offset-ri... |
<?php
class CreateUserTest extends TestCase
{
/**
* Testing the user create user but the user do not have permission
*
* @return void
*/
public function testCreateUserButNotHavePermission()
{
$user = $this->initUser(str_random(5) . "@imac.com", str_random(10));
$token = ... |
<?php
namespace Ilcfrance\Orangetools\DataBundle\EntityRepository;
/**
* GroupmoduleRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class GroupmoduleRepository extends \Doctrine\ORM\EntityRepository
{
/**
* Count All
*
* @return Ambigous <\D... |
@extends('layouts.master', ['simpanan'=>'active'])
@section('title', 'Simpanan')
@section('content')
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="header">
... |
<x-alert />
<div class="leave-comments-area">
<h4 class="title-bg">Leave Comments</h4>
<form id="commentForm" method="POST" action="{{ route('comments.store') }}">
@csrf
@method('POST')
<fieldset>
<input id="post" type="hidden" name="post_slug" value="{{ $post->slug }}">
... |
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
* Display the image details when viewing an image.
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Miguel Espinoza
* @package Module_<INSERT MODULE NAME HERE>
* @version $Id: detail.class.php 254 2009-02-23 12:36:20Z Miguel_Espinoz... |
<?php
use Illuminate\Database\Seeder;
use App\Models\BannerLimit;
class BannerLimitsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
BannerLimit::insert([
['name' => 'По времени'],
['name' => 'По к... |
<?php
namespace Kelunik\AcmeClient\Commands;
use Amp\ByteStream\Message;
use Amp\File;
use Amp\File\FilesystemException;
use Amp\Process\Process;
use Amp\Promise;
use Kelunik\Acme\AcmeException;
use Kelunik\AcmeClient;
use Kelunik\AcmeClient\ConfigException;
use League\CLImate\Argument\Manager;
use League\CLImate\CLI... |
@extends('layouts.app')
@section('title', 'Edit Article')
@section('content')
<div class="banner-wrap">
<div class="banner"></div>
</div>
<h3 class="text-center py-5">Edit Article</h3>
<div class="container pb-5">
<form action="{{ route('articles.update', ['article' => $article]) }}"... |
@extends('layouts.master1')
@section('content')
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<a href="{{route('home')}}">
<i class="ace-icon fa fa-home home-icon"></i>
</a>
</li>
<li>
<a href="{{ route('s_st_bs.s_st_b.index') }}">{{ trans('s_st_bs.... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit417c2f5de395397c16aa08a18eb9e129::getLoader(); |
<?php
/*
Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]);
Description: PHP supports a portable way of locking complete files
in an advisory way
*/
echo "*** Testing flock() fun with the various operation and
wouldblock values ***\n";
$file = ... |
<?php
namespace Delivery\Transformers;
use League\Fractal\TransformerAbstract;
use Delivery\Models\User;
/**
* Class UserTransformer
* @package namespace App\Transformers;
*/
class UserTransformer extends TransformerAbstract
{
protected $availableIncludes = ['client'];
/**
* Transform the \User ent... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class Website extends Model{
protected $table = "website";
// fungsi ambil seluruh data / data spesifik dengan id tertentu
public function getAllData($id = false){
if($id === false){
return $this->table('website')
... |
<?php
namespace CF\WordPress\Test;
use CF\Integration\DefaultIntegration;
use CF\WordPress\Constants\Plans;
use CF\WordPress\PluginActions;
use phpmock\phpunit\PHPMock;
class PluginActionsTest extends \PHPUnit\Framework\TestCase
{
use PHPMock;
private $mockConfig;
private $mockDataStore;
private $mo... |
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
... |
<?php
/**
* Form View: Textarea
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<div class="ur-input-type-textarea ur-admin-template">
<div class="ur-label">
<label><?php echo esc_html( $this->get_general_setting_data( 'label' ) ); ?></label>
</div>
<div class="ur-field" data-field-... |
<?php
namespace Laravel\Passport;
use DateInterval;
use Illuminate\Auth\Events\Logout;
use Illuminate\Auth\RequestGuard;
use Illuminate\Config\Repository as Config;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cookie;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Request;... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Bluep... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
class UserController extends Controller
{
public function __construct()
{
}
public function index()
{
$users = User::all();
return $this->responseSuccess($users);
}
... |
<?php
declare (strict_types=1); namespace MailPoetVendor\Doctrine\ORM\Mapping; if (!defined('ABSPATH')) exit; interface EntityListenerResolver { public function clear($className = null); public function resolve($className); public function register($object); } |
<?php
namespace App\Exports;
use Maatwebsite\Excel\Concerns\FromArray;
use Maatwebsite\Excel\Concerns\WithHeadings;
use App\Models\Sale;
use Maatwebsite\Excel\Concerns\FromCollection;
class SalesExport implements FromArray, WithHeadings
{
/**
* @return \Illuminate\Support\Collection
*/
public funct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.