text stringlengths 2 1.03M |
|---|
<?php
/**
* Copyright 2016 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 agr... |
<?php
declare(strict_types=1);
namespace Psl\Tests\Unit\Filesystem;
use Psl\Filesystem;
use Psl\Str;
final class CopyTest extends AbstractFilesystemTest
{
protected string $function = 'copy';
public function testCopy(): void
{
$text_file = Str\join([$this->directory, 'hello.txt'], Filesystem\SE... |
<?php
namespace Chronogramm\TimelineBundle\Repository;
/**
* SourceRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class SourceRepository extends \Doctrine\ORM\EntityRepository
{
} |
<?php
// +----------------------------------------------------------------------
// | ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: https... |
<?php
$func = rex_request('func', 'string');
$id = rex_request('id', 'int');
$message = '';
$content = '';
if ('delete' == $func) {
if (!rex_csrf_token::factory('user_role_delete')->isValid()) {
$message = rex_view::error(rex_i18n::msg('csrf_token_invalid'));
} else {
$sql = rex_sql::factory(... |
<?php
require dirname(dirname(__DIR__)).'/Rundiz/DateInterval/DateInterval.php';
// functions for use in this page. ------------------------------------------------------------------------------------------
include __DIR__.'/functions.php';
// end functions for use in this page. -------------------------------------... |
<x-guest-layout>
<x-auth-card>
<x-slot name="logo">
<a href="/">
<img src="/assets/images/footer_logo.png" alt="" srcset="">
</a>
</x-slot>
<div class="mb-4 text-sm text-gray-600">
{{ __('Thanks for signing up! Before getting started, coul... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Customer extends Model
{
use HasFactory;
protected $table = 'customer';
public function city(): BelongsTo
{
... |
<?php
return [
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'language' => 'ru-RU',
'sourceLanguage' => 'ru-RU',
'components' => [
'cache' => [
'class' => 'yii\cachi... |
<?php
namespace MyProject;
class Connection {}
function connect() {}
namespace AnotherProject;
class Connection {}
function connect() {}
?> |
<!-- Menu -->
<div class="menu">
<ul class="list">
<li class="header">MAIN NAVIGATION</li>
<li>
<a href="{{ url('operator')}}">
<i class="material-icons">dashboard</i>
<span>Manage Parking</span>
</a>
</li>
<li>
<a href="/tr... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Rating extends Model
{
//
protected $table = "ratings";
} |
<?php
declare(strict_types=1);
namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor;
use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode;
use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer;
use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface;
use Rector... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AdminLTE 2 | Dashboard</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- Bootstrap 3.3.2 -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" ... |
<div class="col-lg-3 col-sm-6">
<div class="caseta <?php echo (!empty($page) && $page == 'services' ? 'bkg-brown' : ''); ?> caseta-bkg minimize" id="caseta-acasa">
<div class="minimize-caseta">+</div>
<div class="caseta-titlu"><?php echo lang('caseta_acasa_titlu')?></div>
<div class="caseta-content">
<?php ec... |
<?php
namespace app\modules\users\models;
use Yii;
use yii\helpers\ArrayHelper;
use common\modules\user\models\UserSettings;
class User extends \common\modules\user\models\User
{
const SCENARIO_ADMIN_CREATE = 'adminCreate';
const SCENARIO_ADMIN_UPDATE = 'adminUpdate';
public $newPassword;
public $ne... |
<?php
require_once('../config.php');
$json = file_get_contents($CFG->apipath."?tags=core");
$links = (array) json_decode($json);
$alinks = [];
foreach ($links as $link) {
$alinks[] = $link;
}
$head = $MST->render('head', ['faviconurl' => $CFG->faviconurl]);
$htmllinks = $MST->render('body', [
'links' => $alin... |
<?php
namespace AlxS\BlogBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this->assert... |
@extends('layouts.app')
@section('content')
<style>
.container {
max-width: 450px;
}
.push-top {
margin-top: 50px;
}
</style>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card push-top">
<div class="card-header">
Nyitvatartás
</div>
<div class... |
<?php
/**
* App Name : Admin Template Dashboard Codeigniter 4
* Developed by: Agus Prawoto Hadi
* Website : https://jagowebdev.com
* Year : 2020
*/
namespace App\Models;
class OptionsDinamisModel extends \App\Models\BaseModel {
public function getData() {
// DISTINCT nama_file => Link nama... |
@extends('layout')
@section('meta')
@endsection
@section('title')
Test result
@endsection
@section('content')
<div class="panels-container">
@include('exams/left-side-nav')
<div class="exam-container">
<div id="user-role-div">
<div id="one-exam-title">
... |
<?php
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Fortify\TwoFactorAuthenticatable;
use Laravel\Jetstream\HasP... |
<?php
/*
* 退出登录
*/
session_start();
if(isset($_SESSION['username'])){
$_SESSION['username'] = null;
$_SESSION['uid'] = null;
if(isset($_SESSION['is_admin'])){
//删除管理员严重,防止用户直接url访问管理后台
$_SESSION['is_admin'] = false;
}
echo "<script>alert('成功退出后台管理!');setTimeout(window.location.hre... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Pages extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model(array(
'pages_model'
));
}
public function index($page_url=NULL)
{
if($pag... |
<?php
/**
* RemovalShipmentEventList.
*
* PHP version 5
*
* @author Stefan Neuhaus
*/
/**
* Selling Partner API for Finances.
*
* The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event gr... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Set of functions for kanji-encoding convert (available only with japanese
* language)
*
* PHP4 configure requirements:
* --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex
*
* 2002/2/22 - by Yukihiro Kawada <kawada@den.fujifilm.co.jp>
*
* @pack... |
<?php
use yii\helpers\Url;
use yii\widgets\LinkPager;
use yii\data\Pagination;
use yii\widgets\Pjax;
$i=0;
$this->title = 'Member - '.$data->username;
?>
<style media="screen">
#user-header{
background: linear-gradient(white,grey);
}
</style>
<div class="site-user">
<div class="container">
<div class="co... |
<?php
class PermissionAccessListItemsDataType extends PHPUnit_Framework_TestCase {
public function testAutoload() {
$this->assertInstanceOf('DataTypePermissionAccessListItem', new DataTypePermissionAccessListItem);
}
} |
<?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
/** @license
* Copyright 2019-2011 Rafael Gutierrez Martinez
* Copyright 2012-2013 Welma WEB MKT LABS, S.L.
* Copyright 2014-2016 Where Ideas Simply Come True, S.L.
* Copyright 2017 nabu-3 Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in... |
<?php
class jibresAppInput
{
public static function get()
{
// get store id
$myStore = jibresAppExec::send('https://core.jibres.ir/r10/queue/app', true);
$endPoint = null;
// get store id
if(isset($myStore['result']['store']) && $myStore['result']['store'])
{
$myStoreID = $myStore['result']['store'];... |
<?php
namespace app\models;
/**
* This is the ActiveQuery class for [[Siswa]].
*
* @see Siswa
*/
class SiswaQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @return Siswa[]|array
*/
public... |
<?php
class MyClass {}
function test(MyClass $mc, int $i, string $s, $any, $hlp) {
$is = $hlp ? $i : $s;
$ismc = $hlp ? $is : $mc;
$number = strpos("a", "b") + $any; // cannot be array
return array(
$i => 'Lorem',
$s => 'Ipsum',
$mc/*!PHP5021!*/ => 'Dolor',
$any => 'Sit',
$is => 'Amet',
... |
<?php
namespace App\Http\Controllers\Voyager;
use App\Property;
use App\Location;
use App\LocationProperty;
use App\PropertyStatus;
use App\PropertyType;
use App\Status;
use App\Type;
use Exception;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Ill... |
<?hh
/**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the "hack" directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
functio... |
<?php
namespace Modules\Notification\Transformers;
use Illuminate\Http\Resources\Json\Resource;
use Modules\Iprofile\Transformers\UserTransformer;
class RuleTransformer extends Resource
{
public function toArray($request)
{
$data = [
'id' => $this->when($this->id, $this->id),
'name' => $this->... |
<?php
/**
* Created by PhpStorm.
* User: xiaomage
* Date: 2019/5/13
* Time: 9:49
*/
namespace backend\controllers;
use app\models\form\CusReportsForm;
use backend\responses\ApiResponse;
use yii\web\Controller;
class CusReportsController extends Controller
{
/**
* 营业数据报表
* @return string
*/
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class habito_alimentar extends CI_Controller {
function __construct() {
parent::__construct();
/* Carrega o modelo */
$this->load->model('habito_alimentar_model', 'model', TRUE);
}
function index()
{
$this-... |
@extends('front.layout.layout')
@section('content')
<!--============== CARRIER-BANNER START =============== -->
<section id="carrier-banner" class="pt-300 mb-100">
<div class="container">
<div class="row justify-content-lg-center">
<div class="col-md-12 col-lg-7">
... |
<?php
class Mexit extends CI_Model
{
public function getall()
{
return $this->db->query("SELECT*FROM `tb_exit`
JOIN `tb_entry` ON `tb_entry`.id_entry=`tb_exit`.`id_Entry`
JOIN `tb_daftar_gate` ON `tb_daftar_gate`.id=`tb_entry`.`gate_id`")->result_array();
}
}
?> |
<?php
namespace App\Widgets\defaultWidget;
use App\Entities\Galleries;
use App\Entities\GalleryImages;
use App\Widgets\BaseWidget;
use App\Modules\ContentManager\Models\Terms;
use App\Modules\ContentManager\Models\Articles;
class PostSlider extends BaseWidget
{
public function __construct()
{
$this->... |
@extends('admin.layouts.index_layout')
@section('custom-css')
<link rel="stylesheet" href="{{url('assets/admin/css/admin_indexes_style.css')}}">
@endsection
@section('title') صفحه نمایش دسته بندی سایت @endsection
@section('content')
<div class="col-12 mx-auto tm-login-col">
<div class="bg-white tm-... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentRepliesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comment_replies', function (Blueprint $table) {... |
<h1>Welcome to CodeIgniter Simplicity!</h1>
<div id="body">
<p>This is just an example view of the home page. You can easily load whatever html file you like here with a normal
codeigniter view.</p>
</div>
<div>
<h2>Code Behind this page</h2>
<pre>
<?php if ( ! defined('BASEPATH')) exit('No dire... |
<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Max-Age: 36000");
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
$db = new mysqli("localhost","u400631424_virus","9874NESF... |
<?php
namespace app\models\tables;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
class ActiveRecord extends \yii\db\ActiveRecord
{
//behavior for tables/models
public function behaviors()
{
return [
[
'class' => TimestampBehavior::className(),
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\ApiController;
use App\Repositories\PackagesRepository;
class PackageController extends ApiController
{
private $packagesrepository;
public function __construct(PackagesRepository $packagesrepository)
{
$... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?= $title; ?>
<small>to manage <?= $title; ?></small>
</h1>
<ol class="breadcrumb">
<li><a href="... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePetBreedsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pet_breeds', ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
<link rel="liubei icon" href="./liubei.ico">
<title>刘备修车网 - 首页</title>
<meta name="keywords" content="刘备修车网,基于汽车后市场的全产业供应链公共服务平台。打造可靠可信、公平公正、快速高效的汽车后市场良性生态圈是我们的不懈追求。">
<meta name=... |
<?php
namespace app\api\controller\miniapp;
use app\common\controller\Api;
use think\Config;
use think\Db;
use \think\Cache;
use fast\Http;
use wechat\wxBizDataCrypt;
use app\api\model\Wxuser as WxuserModel;
use app\api\model\Sports as SportsModel;
use app\common\library\Token;
/**
* 运动会接口
*/
class Sports extends A... |
<?php
// # Create Billing Agreement with PayPal as Payment Source
//
// This sample code demonstrate how you can create a billing agreement, as documented here at:
// https://developer.paypal.com/webapps/developer/docs/api/#create-an-agreement
// API used: /v1/payments/billing-agreements
// Retrieving the Plan from t... |
<?php
declare(strict_types=1);
/*
* 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 App\Entity;
use Doctrine\Common\Collections\A... |
<?php
// This file was auto-generated from sdk-root/src/data/codebuild/2016-10-06/docs-2.json |
<?php
include "assets/database_Connection.php";
?>
<!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">
<title>Document</title>
<link rel="stylesheet" href="css... |
<?php namespace Stevenmaguire\Uber\Resources;
trait Reminders
{
/**
* Cancels a specific reminder.
*
* The Reminders endpoint allows you to remove any reminder in the pending
* state from being sent.
*
* @param string $reminderId Reminder id
*
* @return stdClass ... |
<?php
class RainTPL{
// -------------------------
// CONFIGURATION
// -------------------------
/**
* Template directory
*
* @var string
*/
static $tpl_dir = "tpl/";
/**
* Cache directory. Is the directory where RainTPL will compile the template and save the cache
*
* @var string
... |
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header">
</div>
<!-- /.box-header -->
<div class="box-body">
<?php if ($pengaduan!=null): ?>
<table id="example1" class="table table-bordered table-hover">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStatusesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('statuses', fun... |
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="card">
<div class="card-header card-header-info">
<h3 class="card-title">
Program's List
... |
<div class="panel">
<div class="panel-title"><strong>{{__('Ical')}}</strong></div>
<div class="panel-body">
<div class="form-group">
<label>{{__("Import url")}}</label>
<input type="text" value="{{$row->ical_import_url}}" name="ical_import_url" class="form-control">
</di... |
<?php
/**
* 基本文字回复处理类.
*
* [WeEngine System] Copyright (c) 2014 W7.CC
*/
defined('IN_IA') or exit('Access Denied');
class ChatsModuleProcessor extends WeModuleProcessor {
public $priority = 255;
public function begin($expire = 300) {
$this->beginContext($expire);
return true;
}
public function end() {
... |
<?php
namespace App\Http\Controllers\API;
use App\Events\OrderAcceptedEvent;
use App\Events\OrderCancelEvent;
use App\Events\OrderDoneEvent;
use App\Events\OrderMadeEvent;
use App\Http\Controllers\Controller;
use App\Http\Resources\OrderResource;
use App\Order;
use App\Restaurant;
use Illuminate\Http\Request;
use Ill... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Auth;
use Exception;
use Illuminate\Support\Facades\createToken;
class AuthCon... |
<?php
require_once('model_class.php');
class EmployeeAttendence extends Model
{
protected $EmployeeId;
protected $Date;
protected $Presence;
protected function defineTableName()
{
return('employee_attendance');
}
protected function defineRelationMap()
{
return (array(
"id"=>"ID",
"employee_id"=>"EmployeeId",
... |
<?php
namespace Phpactor\Extension\WorseReflectionExtra\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
... |
<?php if (Auth::has_access('access.level3')) { ?>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
CSVファイルアップロード
</div><!-- /.panel-heading -->
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<?php
if (isset... |
<?php
/**
* Created by Reliese Model.
* Date: Sun, 16 Jul 2017 01:34:04 +0000.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class Friend
*
* @property int $char_id
* @property int $friend_account
* @property int $friend_id
*
* @package App\Models
*/
class Friend extend... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/... |
<?php
/**
* Add nova lang vars
*
* @author mh
* @created Wed, 9 Oct 2019 11:21:00 +0200
*/
use JTL\Update\IMigration;
use JTL\Update\Migration;
/**
* Class Migration_20191009112100
*/
class Migration_20191009112100 extends Migration implements IMigration
{
protected $author = 'mh';
protected $desc... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Gov_model extends CI_Model
{
public function getOurDetails($id){
$this->db->select('
user.user_email as `Email`,
CONCAT_WS(" ", myinfo.fname, myinfo.lname) as `Name`,
myinfo.street as `Street`,
myinfo.cit... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Biodatapenduduk extends CI_Controller
{
function __construct()
{
parent::__construct();
$c_url = $this->router->fetch_class();
$this->layout->auth();
$this->layout->auth_privilege($c_url);
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCitiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cities', functio... |
<?php
namespace App\Http\Controllers\Admin\Home;
use App\Http\Controllers\Controller;
use App\Models\Setting;
use Illuminate\Http\Request;
class AdminSettingController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function in... |
<?php
namespace GuzzleHttp\Psr7;
use Psr\Http\Message\StreamInterface;
/**
* Trait implementing functionality common to requests and responses.
*/
trait MessageTrait
{
/** @var array Map of all registered headers, as original name => array of values */
private $headers = [];
/** @var array Map of lower... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
error_reporting(0);
class Usuarios extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->database();
}
public function admin() {
$data = array();
$data['error'] = $this->ses... |
<?php
/**
* @author AzT3k
*/
class InstagramUpdate extends Page {
/**
* @var array
*/
private static $db = array(
'UpdateID' => 'Varchar(255)',
'OriginalCreated' => 'SS_DateTime',
'OriginalUpdate' => 'Text'
);
/**
* @var array
*/
private... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEspecialidadsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('especiali... |
@extends('voyager::master')
@section('page_title', 'Pedidos do Cliente')
@section('page_header')
<div class="container-fluid">
<h1 class="page-title">
<i class="icon voyager-person"></i> Área do Cliente
</h1>
</div>
@endsection
@section('content')
<div class="page-content b... |
--TEST--
PEAR_Downloader_Package->detectDependencies(), dependency group not specified, but groups exist
--SKIPIF--
<?php
if (!getenv('PHP_PEAR_RUNTESTS')) {
echo 'skip';
}
?>
--FILE--
<?php
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
$packageDir = dirname(__FILE__) . DIRECTORY_SEPARA... |
<?php
namespace app\models\query;
/**
* This is the ActiveQuery class for [[\app\models\StandardSmartContractValues]].
*
* @see \app\models\StandardSmartContractValues
*/
class StandardSmartContractValuesQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[sta... |
<?php
/**
* PHPMailer Exception class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxt... |
<?php
namespace Dhi\UserBundle\Repository;
use Doctrine\ORM\EntityRepository;
use \DateTime;
/**
* UserActivityLogRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class UserActivityLogRepository extends EntityRepository {
public function g... |
<?php
/*
* Options and settings arrays for use configuring the theme
*
* License: http://www.opensource.org/licenses/mit-license.php
*/
function template_options()
{
global $context, $settings, $options, $scripturl, $txt;
$context['theme_options'] = array(
array(
'id' => 'return_to_post',
'label... |
<?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
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2020/4/1 0001
* Time: 10:29
*/
namespace app\front\model;
use app\front\base\BaseModel;
class SystemVerifyCodeModel extends BaseModel
{
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProjectbidsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('projectbids... |
<!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>Kawal Korona | Kita Bisa</title>... |
<?php
namespace Bitrix\Sale\Services\Base;
use Bitrix\Main\Error;
use Bitrix\Main\Loader;
use Bitrix\Main\ModuleManager;
use Bitrix\Sale\Result;
use Bitrix\Main\Context;
use Bitrix\Main\Web\Json;
use Bitrix\Main\Config\Option;
use Bitrix\Main\Text\Encoding;
use Bitrix\Main\Web\HttpClient;
use Bitrix\Main\Localization... |
@extends('admin::admin.app')
@include('admin::admin.nav-bar')
@include('admin::admin.left-menu')
@section('content')
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ url('/back') }}">Contol Panel</a></li>
<li class="breadcrumb-item"><a hr... |
<style>
.wp1s-slider-wrapper-<?php echo $random_num ?> {
width:<?php echo $wp1s_slide_width;?>%;
}
.wp1s-slider-wrapper-<?php echo $random_num ?> .wp1s-caption-wrapper.wp1s-caption-type-1 .wp1s-caption-title{
font-size:<?php echo $wp1s_title_1_font_size;?>px;
}
.wp1s-slider-wrapper-<?php echo $... |
<?php
declare(strict_types=1);
namespace Doctrine\Website\DataBuilder;
interface DataBuilder
{
public function getName() : string;
public function build() : WebsiteData;
} |
<?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\Messenger\EventListener;
use Psr\Container\ContainerIn... |
@extends('layouts.superadmin_layout')
@section('content')
<?php
$get_user = DB::table('main_users')->where('isactive',1)->get();
?>
<div class="content p-0">
<div class="container-fluid">
<div class="page-title-box">
<div class="row align... |
<?php
declare(strict_types=1);
namespace Speicher210\OpenApiGenerator\Describer\OutputDescriber;
use cebe\openapi\spec\Schema;
use Speicher210\OpenApiGenerator\Assert\Assert;
use Speicher210\OpenApiGenerator\Model\Path\Output;
final class ScalarOutputDescriber implements OutputDescriber
{
public function descri... |
<?php
/**
* Excerpt length 90 return
*
* @since Agami Shop 1.0.0
*
* @param null
* @return null
*
*/
if ( !function_exists('agami_shop_alter_excerpt') ) :
function agami_shop_alter_excerpt( $length ){
if( is_admin() ){
return $length;
}
return 90;
}
endif;
add_filter('excerpt_length', 'a... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$role1 = Role::create(['gu... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="<?php echo base_url()?>admin/assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="<?php echo base_url()?>admin/assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.