text stringlengths 2 1.03M |
|---|
@extends('layouts.backend.app')
@push('css')
@endpush
@section('content')
<div class="app-page-title">
<div class="page-title-wrapper">
<div class="page-title-heading">
<div class="page-title-icon">
<i class="pe-7s-check icon-gradient bg-mean-fruit">
</i>
... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2021-02-03 04:33:21 --> Config Class Initialized
INFO - 2021-02-03 04:33:21 --> Hooks Class Initialized
DEBUG - 2021-02-03 04:33:21 --> UTF-8 Support Enabled
INFO - 2021-02-03 04:33:21 --> Utf8 Class Initialized
INFO - 2021-02-03 04:33:21 ... |
<?php
namespace Core;
use \App\Config;
/**
* View
*
* PHP version 7.0
*/
class View
{
/**
* Render a view file
*
* @param string $view The view file
* @param array $args Associative array of data to display in the view (optional)
*
* @return void
*/
public static funct... |
<?php
// Version: 2.0; PersonalMessage
$txt['pm_inbox'] = 'Personal Messages - Inbox';
$txt['send_message'] = 'Send message';
$txt['pm_add'] = 'Add';
$txt['make_bcc'] = 'Add BCC';
$txt['pm_to'] = 'To';
$txt['pm_bcc'] = 'Bcc';
$txt['pm_contact_list'] = 'Contact List';
$txt['inbox'] = 'Inbox';
$txt['conversation'] = 'Co... |
<style type="text/css">
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
</style>
<div class="content-wrapper" style="min-height: 946px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<i class... |
<?php
namespace App\Http\Controllers;
use App\Mail\OrderEmail;
use App\Order;
use App\Product;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
class OrderController extends Controller
{
public function __construct()
{
$this->middleware('auth')->except('store');
}
public fu... |
<?php
namespace LaravelEnso\PackagingUnits\Forms\Builders;
use LaravelEnso\PackagingUnits\Models\PackagingUnit;
use LaravelEnso\Forms\Services\Form;
class PackagingUnitForm
{
protected const TemplatePath = __DIR__.'/../Templates/packagingUnit.json';
protected Form $form;
public function __construct()
... |
<?php
session_start();
?>
<!DOCTYPE HTML>
<html>
<head>
<title>x6</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<meta name="viewport" content="width=device-width, initial-scale=1, ... |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]--... |
<?php
declare(strict_types=1);
namespace Doctrine\Bundle\MongoDBBundle\Tests\Fixtures\Security;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
use MongoDB\BSON\ObjectId;
use Symfony\Component\Security\Core\User\UserInterface;
/** @ODM\Document */
class User implements UserInterface
{
/**
* @ODM\Id(st... |
<?php
/**
* This file is part of the PHP Telegram Bot example-bot package.
* https://github.com/php-telegram-bot/example-bot/
*
* (c) PHP Telegram Bot Team
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Edited channel po... |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------... |
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
use Illuminate\Support\Facades\Config;
use App\Models\User;
use JWTAuth;
class authTest extends TestCase
{
public function setUp(): void
{
parent::setUp()... |
@include('templates.basic_info')
@include('templates.res_summary')
@include('templates.res_experience')
@include('templates.res_projects')
@include('templates.res_education')
@include('templates.res_skills')
@include('templates.res_display_list')
@include('templates.res_generate') |
<?php
declare(strict_types=1);
namespace Rector\Tests\PHPUnit\Rector\Class_\AddSeeTestAnnotationRector\Source;
final class SomeExistingTest
{
} |
@extends('layouts.adminlte')
@section('content')
<style type="text/css">
.no-padding {
padding: 0px;
}
</style>
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3>{{$count_app}}</h3>
<p>Aplikasi</p>
... |
<?php
/**
* @link:http://www.gdqijianshi.com/
* @copyright: Copyright (c) 2020 广东七件事集团
* Created by PhpStorm
* Author: ganxiaohao
* Date: 2020-04-16
* Time: 18:29
*/
namespace app\forms\mall\express;
use app\core\ApiCode;
use app\models\BaseModel;
use app\models\Delivery;
use app\validators\MobileValidator;
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class AdminController extends My_controller
{
public function __construct()
{
parent::__construct();
$this->set_css(array(
'style',
));
}
public function index(){
$this->load->view('ad... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db\conditions;
/**
* Condition that connects two or more SQL expressions with the `AND` operator.
*
* @author Dmytro Naumenko <d.naumenko.a@gmail.com>... |
<?php
// +----------------------------------------------------------------------
// | ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2016~2018 贵州华宇信息科技有限公司 [ ]
// +----------------------------------------------------------------------
// | 官方网站:
// +-------------------... |
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="<?php echo base_url(); ?>assets/#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: admincp_threadsplit.php 29236 2012-03-30 05:34:47Z chenmengshu $
*/
if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}
@set_time_limit(0);
define('IN_DEB... |
<?php
/**
* Created by PhpStorm.
* User: ivan
* Date: 14.6.2017.
* Time: 22.36
*/
$_TITLE = 'Home';
require 'moduli/header.php';
include_once "scripts/connectToDb.php";
$od=$_POST["od"];
$do=$_POST["do"];
$sql = "SELECT ProductID as id, ProductCategoryID , ProductName as ime , ProductPrice as cena , ProductCartD... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Comment;
class CommentsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
for ($i = 1; $i <= 10; $i++) {
Comment::create([
'user_id' => ... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace hmmmath\Fibonacci;
use hmmmath\Exception\InvalidArgumentException;
use Traversable;
use LimitIterator;
class FibonacciFactory
{
/**
* Create fibonacci sequence
*
* The sequence is infinite but the factory method optionally takes a third argument to limit the sequence. A fourth
... |
<?php
namespace Lider\Bundle\LiderBundle\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
use Symfony\Component\Validator\Constraints as Assert;
use Lider\Bundle\LiderBundle\Entity\Tournament as TournamentEntity;
/**
* @MongoDB\EmbeddedDocument
*/
class Tournament extends TournamentEntity
{
/**
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Brainindustrial\V20200920\Models\GetPidProjectReportOverviewResponse\data;
use AlibabaCloud\Tea\Model;
class keyOperationRateList extends Model
{
/**
* @var string
*/
public $xlabel;
/**
* @var string... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Dealer extends Model
{
use HasFactory;
protected $fillable = [
'code',
'name',
'email',
'phone',
'address',
'manager_name',
... |
<?php
namespace App\Repository;
class QuoteMongo implements Quote
{
public function publish()
{
$mongo = new \MongoClient();
$collection = $mongo->scoop->quotes;
return iterator_to_array($collection->find(), false);
}
} |
<?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/hyperf/blob/master/LICENSE
*/
namespace App\Controller\Admin;
use App\Form\Elm;
use App\Middleware\CheckLogi... |
<?php
namespace App\Http\Controllers\Admin\CultureGroups;
use App\Http\Controllers\Controller;
use App\Models\Client;
class CreateController extends Controller
{
public function __invoke()
{
$cultureGroup = new Client();
return view('admin.culturegroups.create', compact( 'cultureGroup'));
... |
<?php
namespace App\Http\Controllers\Linea;
use App\Linea;
use App\Transporte;
use App\LineaChofer;
use App\LineaTransporte;
use App\PropietarioLinea;
use Illuminate\Http\Request;
use App\ChoferLineaTransporte;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use App\Http\Controllers\ApiControl... |
<?php declare(strict_types=1);
namespace Rector\Tests\Rector\MethodCall\ServiceGetterToConstructorInjectionRector;
use Iterator;
use Rector\Rector\MethodCall\ServiceGetterToConstructorInjectionRector;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use Rector\Tests\Rector\MethodCall\ServiceGetterToConstructorInjec... |
<?php
namespace Arara\Process\Handler;
class SignalQuit extends SignalAbstract
{
public function __invoke($signal)
{
$this->control->quit(4);
}
} |
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|... |
<!DOCTYPE html>
<html lang="pt-BR" ng-app="sigere_login">
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="<?= url('/'); ?>/scss/login.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1... |
<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
/**
* Livre
*
* @ORM\Table(name="livre")
* @ORM\Entity(repositoryClass="App\Repository\LivreRepository")
*/
class Livre
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
... |
<?php
namespace MembreBundle\Controller;
use BackBundle\Entity\BookImagesBD;
use BackBundle\Entity\BookVotes;
use BackBundle\Entity\Box;
use BackBundle\Entity\Collectionmedia;
use BackBundle\Entity\Humeur;
use BackBundle\Entity\Listamis;
use BackBundle\Entity\Magazinegallery;
use BackBundle\Entity\Medias;
use BackBun... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>p2p网贷平台</title>
<meta name="keywords" content="" />
<meta name="descri... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{trans('cruds.admin.reset_password')}}</div>
<div class="card-body">
... |
<?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
| ... |
@extends('frontend.layouts.app')
@section('content')
<!-- welcome section -->
<!--breadcumb start here-->
<section class="xs-banner-inner-section parallax-window" style="background-image:url('{{asset('frontend/assets/images/about_bg.jpg')}}')">
<div class="xs-black-overlay"></div>
<div class="container">
<div class... |
<?php
/**
* @author Björn Schießle <bjoern@schiessle.org>
* @author Thomas Müller <thomas.mueller@tmit.eu>
* @author Vincent Petry <pvince81@owncloud.com>
*
* @copyright Copyright (c) 2018, ownCloud GmbH
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the te... |
<?php
namespace App\Http\Middleware;
use Illuminate\Support\Facades\Auth;
use Closure;
class Admin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDiscussionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('discussions... |
<?php
$id = isset($_SERVER['HTTP_LAST_EVENT_ID'])
? $_SERVER['HTTP_LAST_EVENT_ID']
: '';
$ident = isset($_GET['ident'])
? $_GET['ident']
: 'test';
$cookie = isset($_COOKIE[$ident])
? "COOKIE"
: "NO_COOKIE";
$origin = isset($_GET['origin'])
? $_GET['origin']
: $_SERVER['HTTP_ORIGIN'];
$cred... |
<?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\PersistentCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\MongoDBException;
/**
* Interface for persistent collection class... |
<?php
declare(strict_types=1);
namespace App\Option;
use Illuminate\Support\Facades\Config;
class SummaryAccessLog extends Response
{
public function create()
{
$get = new \App\Method\GetRequest();
$this->verbs['GET'] = $get->setParameters(Config::get('api.request-access-log.parameters.collec... |
<?php
use yii\web\JsExpression;
$form=\yii\bootstrap\ActiveForm::begin();
echo $form->field($model,'name');
echo $form->field($model,'logo')->hiddenInput();
echo \yii\bootstrap\Html::fileInput('test', NULL, ['id' => 'test']);
echo \xj\uploadify\Uploadify::widget([
'url' => yii\helpers\Url::to(['s-upload']),
'i... |
<?php
/**
* Tracking class.
*
* Used for setting up telemetry.
*
* @package Google\Web_Stories
* @copyright 2020 Google LLC
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link https://github.com/google/web-stories-wp
*/
/**
* Copyright 2020 Google LLC
*
* Licensed und... |
<?php
namespace Bug4504TypeInference;
use function PHPStan\Testing\assertType;
class Foo
{
public function sayHello($models): void
{
/** @var \Iterator<A> $models */
foreach ($models as $k => $v) {
assertType('Bug4504TypeInference\A', $v);
}
assertType('array{}|Iterator<mixed, Bug4504TypeInference\A>'... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Authentication Driver
|--------------------------------------------------------------------------
|
| This option controls the authentication driver that will be utilized.
| This driver ... |
<?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\Backend;
use Auth;
use Session;
use App\Models\User;
use App\Http\Controllers\Controller;
use App\Http\Requests\ProfileUpdateRequest;
class ProfileController extends Controller
{
/**
* Display the user profile page.
*
* @return \Illuminate\View\View
*/
... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Adm... |
<div class="main-banner banner text-center">
<div class="container">
<!-- <h1>Sell or Advertise <span class="segment-heading"> anything online </span> with Resale</h1>
<p>Product Selling and Auction Platform Project for my CSE Final year Project</p>
<a href="{{url('/post-ad/category-ar... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'voku\\tests\\' => array($vendorDir . '/voku/portable-ascii/tests'),
'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'),
'phpDocumentor\\Reflection\\' => a... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>Fullscreen Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- CSS -->... |
<?php
namespace Fire\Business\Webhook;
use Fire\Business\Exceptions\ConfigurationException;
use Fire\Business\Model\Transaction;
use Fire\Business\JWT;
/**
* A Handler for parsing the webhooks sent by Fire
*
* @author Owen O Byrne <owen.obyrne@fire.com>
*
*/
class Handler {
protected $mKeyId;
protected... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Adapter\Translation;
use Psr\Cache\CacheItemPoolInterface;
use Shopware\Core\Defaults;
use Shopware\Core\Framework\Context;
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
use Shopware\Core\Framework\DataAbstractionLayer\Sear... |
<?php
class Model_logros extends Orm\Model
{
protected static $_table_name = 'logro';
protected static $_primary_key = array('id');
protected static $_properties = array(
'id',
'nombre' => array(
'data_type' => 'varchar',
'validation' => array('required')
... |
<h1>Profile: {{ $username }}</h1>
<p>email: {{ $email }}</p>
<p>Fn: {{ $first_name }}</p>
</br> |
<!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 - 40... |
<?php
/**
* papaya CMS
*
* @copyright 2000-2018 by papayaCMS project - All rights reserved.
* @link http://www.papaya-cms.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, version 2
*
* You can redistribute and/or modify this script under the terms of the GNU Gene... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model\Category;
use Faker\Generator as Faker;
$factory->define(Category::class, function (Faker $faker) {
$title = $faker->words($nb = 2, $asText = true);
return [
//
'title' => $title,
'description' => $faker->s... |
@extends('larasnap::layouts.app', ['class' => 'user-create'])
@section('title','User Management')
@section('content')
<!-- Page Heading Start-->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Add User</h1>
</div>
<!-- Page Heading End-->
<!-- Page Con... |
<?php declare(strict_types=1);
namespace Invariance\Datapunk\Ecs\Filter;
use Attribute;
#[Attribute(Attribute::TARGET_PROPERTY)]
class EcsFilterIncluded
{
public function __construct(...$params) {}
} |
<?php
namespace CL\CurrencyConvert\Test;
use CL\CurrencyConvert\NullSource;
use SebastianBergmann\Money\Currency;
/**
* @coversDefaultClass CL\CurrencyConvert\NullSource
*/
class NullSourceTest extends AbstractTestCase
{
/**
* @covers ::getRateBetween
*/
public function testConstruct()
{
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateEmployee extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function rules()
{
return [
'email'=>'required|uniqu... |
@extends('layouts.master')
@section('content')
@include('main.carousel')
@stop |
<?php
namespace App\Http\Controllers;
use App\Kursus;
use App\Kuis;
use App\Pertanyaan;
use App\Answer;
use App\Result;
use App\reset;
use App\Profile;
use App\Video;
use App\User;
use Carbon\Carbon;
use App\Artikel;
use App\kursus_video;
use App\kuis_kursus;
use App\artikel_kursus;
use App\kursus_uraian;
use App\Jawa... |
<?php
namespace App\Http\Controllers;
use App\Models\Post;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class PostController extends Controller
{
/**
* index
*
* @return void
*/
public function index()
{
// get data from table posts
$posts = ... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
... |
@extends('layouts.app')
@section('contenido')
<main id="main">
<!-- ======= Breadcrumbs ======= -->
<section id="breadcrumbs" class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2>Servicios</h2>
<ol>
<li>... |
@extends('master.layout1')
@section('body')
<div class="white-box profile">
<h2 class="title title-font">{{ $profileUser->getTwoName() }}</h2>
@include('profile.submenu')
<div class="profile-img">
@if($profileUser->profileImage)
<a href="{{ URL::image( $profileUser->profileImage ) }}">
<img src="{{ $profi... |
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2015-02-25 07:53:28 --- ERROR: Database_Exception [ 0 ]: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY u.id' at line 4 ( SELECT u.id, u.nombre,u.car... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<nav> Nav | Home | About</nav> |
<tr>
<td class="header">
<a href="{{ $url }}" style="display: inline-block;">
@if (trim($slot) === 'Laravel')
<img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo">
@else
<img src="{{ asset('logo-2.png') }}" class="logo" alt="Logo">
@endif
</a>
</td>
</tr> |
<?php
namespace Mouf\NodeJsInstaller\NodeJs;
use Composer\Package\AliasPackage;
use Composer\Package\CompletePackage;
class Bootstrap
{
/**
* @var \Mouf\NodeJsInstaller\Composer\Context
*/
private $composerContext;
/**
* @var \Composer\IO\IOInterface
*/
private $cliIo;
... |
<section class="page container">
<div class="row">
<div class="span16">
<div class="box">
<div class="box-header">
<i class="icon-user"></i>
<h5>Master Data Dosen</h5>
<a class="btn btn-box-ri... |
<?php
/**
* Created by PhpStorm.
* User: root
* Date: 29/12/17
* Time: 17:42
*/
namespace App;
class GeneralFunction
{
public static $SUCCESS_STATUS = 'success';
public static $FAILED_STATUS = 'failed';
public static $SUCCESS_CODE = 200;
public static $CREATED_CODE = 201;
... |
<?php
/**
* BufferSimpleElementTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Abletech.Arxivar.Server.WebApi.Services
*
* No description provided (generated by Swagger Codegen https:/... |
<?php
namespace RDM\Assetic\Filter\Imagine\Advanced;
use RDM\Assetic\Filter\ImagineFilter;
use Imagine\Image\ImagineInterface;
use Imagine\Image\BoxInterface;
use Imagine\Image\PointInterface;
use Imagine\Image\Palette\Color\ColorInterface;
use Imagine\Filter\Advanced\Canvas;
/**
* A canvas filter
*/
class CanvasFi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDataWeb extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('data_web', function ... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\OrderSD\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for SearchMidocoAttributeLocalizationRequest StructType
* @subpackage Structs
*/
class SearchMidocoAttributeLocalizationRequest extends ... |
@extends('layouts.app')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<style>
.card-box {
position: relative;
color: #fff;
padding: ... |
<?php
namespace App\Policies;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class UserPolicy
{
use HandlesAuthorization;
//限制不同用户间的恶意操作
public function update(User $currentUser,User $user)
{
return $currentUser->id === $user->id;
}
//管理员权限
public function ... |
<?php include "includes/header.php"?>
<!-- <p>left column will have a live youtube video</p> -->
<!--
<div class='embed-container'>
<iframe src='https://www.youtube.com/embed/RtU_mdL2vBM' allowfullscreen></iframe>
</div>
-->
<div class='embed-container'>
<iframe src='https://www.youtube.com/embed/6NI... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
<?php
if ($selected_value == "") {
$selected_value = [""];
}
if (isset($data->$field_name)) {
$selected_value = $data->$field_name;
if (!is_array($data->$field_name)) {
$selected_value = array($data->$field_name);
}
}
if ($multiple != "" && $remove_mult... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Color extends Model
{
protected $guarded =[];
} |
<?php
/**
* yuan1994/ZCrawler
*
* @author yuan1994 <tianpian0805@gmail.com>
* @link https://github.com/yuan1994/ZCrawler
* @documentation http://zcrawler.yuan1994.com
* @copyright 2017 yuan1994 all rights reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0
*/
namespace ZCr... |
<?php
declare(strict_types=1);
namespace GCCISWebProjects\Utilities\DatabaseTable\Exceptions;
class MariaDBExceptionData
{
private function __construct()
{
}
public const CODES_TO_CLASSES = [
1000 => 'Hashchk',
1001 => 'Nisamchk',
1002 => 'No',
1003 => 'Yes',
1... |
<?php
// * @copyright OPENCART.PRO 2011 - 2017.
// * @forum http://forum.opencart.pro
// * @source See SOURCE.txt for source and other copyright.
// * @license GNU General Public License version 3; see LICENSE.txt
$_['text_title'] = 'Credit / Debit card';
$_['text_card_details'] = 'Card details';
$_['text_wait'] = 'P... |
<?php
/**
* Created by PhpStorm.
* User: quill
* Date: 4/8/2019
* Time: 2:16 PM
*/
//turn on error reporting
ini_set('display_errors', 1);
error_reporting(E_ALL);
//require autoload file
require_once('vendor/autoload.php');
//create an instance of the base class
$f3 = Base::instance();
//define a default route... |
<?php
namespace Rds\Request\V20140815;
/**
* Request of DescribeDBInstanceMonitor
*
* @method string getResourceOwnerId()
* @method string getResourceOwnerAccount()
* @method string getClientToken()
* @method string getOwnerAccount()
* @method string getDBInstanceId()
* @method string getOwnerId()
*/
class D... |
<?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$app = 'frontend';
if (!include(dirname(__FILE__).'/../b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.