text stringlengths 2 1.03M |
|---|
<?php
namespace PractiCampoUD\Http\Middleware;
use Closure;
class User
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if($request->user(... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API r... |
<?php
namespace Zazama\OnePage;
use Page;
class OnePage extends Page {
private static $allowed_children = [BaseChildPage::class];
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->removeByName('Content');
return $fields;
}
} |
<?php
/** .-------------------------------------------------------------------
* | Software: [hdcms framework]
* | Site: www.hdcms.com
* |-------------------------------------------------------------------
* | Author: 向军大叔 <www.aoxiangjun.com>
* | Copyright (c) 2012-2019, www.houdunren.com. All Rights Res... |
<?php
declare(strict_types=1);
namespace Slam\Zend\Log;
use Zend\Log\Logger;
use Zend\Log\LoggerInterface;
use Zend\Log\Writer\Noop;
trait LoggerAwareTrait
{
private $logger;
public function setLogger(LoggerInterface $logger)
{
if (null !== $this->logger) {
throw new Exception\Runti... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\MiCuentaController;
use App\Http\Controllers\Backend\RolController;
use App\Http\Controllers\Backend\TagController;
use App\Http\Controllers\Backend\MenuController;
use App\Http\Controllers\Backend\PostController;
use App\Http\Controllers\FrontEnd\Blo... |
<?
CCurrencyLang::disableUseHideZero();
$orderId = (int)$GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"];
if ($orderId > 0)
{
/** @var \Bitrix\Sale\Order $order */
$order = \Bitrix\Sale\Order::load($orderId);
if ($order)
{
/** @var \Bitrix\Sale\PaymentCollection $paymentCollection */
$paymentCollection = $order-... |
<?php return [
'mode' => '',
'format' => 'A4',
'default_font_size' => '12',
'default_font' => 'sans-serif',
'margin_left' => 10,
'margin_right' => 10,
'margin_top' => 10,
'margin_bottom' => 10,
'margin_header' => 0,
'margin_foot... |
<?php
return [
'card' => [
'title' => 'Restablecer Contraseña',
],
'form' => [
'inputs' => [
'email' => 'Correo electrónico',
],
'buttons' => [
'submit' => 'Enviar enlace para restablecer contraseña',
],
],
]; |
<?php
/* Glory to Ukraine! Glory to the heros! */
namespace Codelegacy\Crud\Api\Data;
interface PostInterface extends ChangeDateInterface, StatusSwitchInterface
{
const ID = 'post_id';
const TITLE = 'title';
const CONTENT = 'content';
const STORE_IDS = 'store_ids';
const PUBLICATION_DATE = 'publi... |
@extends('layouts.app')
@section('content')
<div class="pg-tp">
<i class="ion-cube"></i>
<div class="pr-tp-inr">
<h4>Welcome to <strong>LCA's</strong> <span>Comprehensive</span> Dashboard Manager</h4>
<span>Created to display company data needed for reporting</span>
</div>
</div><!-- Page T... |
@extends('auth.layouts.master')
@section('content')
<section class="row">
<div class="center-block mt-xl wd-xl">
<div class="panel panel-grey">
<div class="panel-body">
<h3><strong>{{ trans('message.activation') }}</strong></h3>
<p>{{ tra... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
//
use App\User;
//
use App\Category;
//
use Illuminate\Foundation\Auth\RegistersUsers;
//
use Illuminate\Support\Facades\Hash;
//
use Illuminate\Support\Facades\Validator;
// Include Reques... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Discount_code extends Model
{
protected $table = "discount_code";
public function users(){
return $this->belongsTo('App\User','user_id','id');
}
} |
<?php
//
// This code and all components (c) Copyright 2006 - 2018, Wowza Media Systems, LLC. All rights reserved.
// This code is licensed pursuant to the Wowza Public License version 1.0, available at www.wowza.com/legal.
//
// Create settings
$settings = new \com\wowza\entities\application\helpers\Settings();
$sf ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DAILY CAR RENTAL INSIDE DHAKA</title>
<link rel="icon" href="/images/larent.png">
<link rel="stylesheet" href="/css/bootstrap.css">
<link href="/css/style.css" rel="stylesheet">
<link rel="stylesheet" href="/css/fontawesome-all.css">
<link rel... |
<?php
namespace App\Http\Controllers;
use App\Gateway\EventLogGateway;
use App\Gateway\QuestionGateway;
use App\Gateway\UserGateway;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Log\Logger;
use LINE\LINEBot;
use LINE\LINEBot\HTTPClient\CurlHTTPClient;
use LINE\LINEBot\MessageBuilder\Mult... |
<?php
namespace Psalm\Internal\Codebase;
use PhpParser;
use Psalm\Codebase;
use Psalm\Internal\Analyzer\ProjectAnalyzer;
use Psalm\Internal\Type\Comparator\UnionTypeComparator;
use Psalm\Storage\FunctionLikeParameter;
use Psalm\Type;
use Psalm\Type\Atomic\TCallable;
use function array_shift;
use function assert;
use ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>{{ $text }}</h1>
</body>
</html> |
@extends('layouts.admin')
@section('header') @endsection
@section('body')
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Vendors Request : {{ $total }}</h1>
</div>
<div class="col-sm-6">
... |
<?php
namespace App\Contracts;
/**
* Interface GroupContract
* @package App\Contracts
*/
interface GroupContract
{
/**
* @param string $order
* @param string $sort
* @param array $columns
* @return mixed
*/
public function listGroup(string $order = 'id', string $sort = 'desc', arra... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
class LabourCardType extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
public $table = "labour_card_types";
protected $fillable = ['name'];
} |
<?php
namespace PFC\Editor;
class SyntaxChecker
{
public static function php_syntax_error($code)
{
$braces = 0;
$inString = 0;
// First of all, we need to know if braces are correctly balanced.
// This is not trivial due to variable interpolation which
// occurs in heredoc, backt... |
<?php
namespace Wave\Validator\Datatypes;
use Wave\Validator\CleanerInterface;
class FloatDatatype extends AbstractDatatype implements CleanerInterface {
public function __invoke() {
if(!is_scalar($this->input)) return false;
return false !== filter_var($this->input, FILTER_VALIDATE_FLOAT, FIL... |
<?php
namespace App\Http\Controllers;
use App\AdminSetting;
use App\Campaign;
use App\Customer;
use App\DefaultInfo;
use App\DropshipRequest;
use App\DropshipRequestStatus;
use App\EmailTemplate;
use App\Exports\CustomersExport;
use App\GeneralDiscountPreferences;
use App\GeneralFixedPricePreferences;
use App\Jobs\Se... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class GhContract extends CI_Model {
private $table = 'gh_contract';
const STATUS_ACTIVE = 'Active';
const STATUS_CANCEL = 'Cancel';
const STATUS_PENDING = 'Pending';
const STATUS_EXPIRED = 'Expired';
public function __constru... |
@extends('layout')
@section('title', Page::title())
@section('main')
@include('partials.heroHome')
<main class="main">
@include('partials.featuredEvents')
@include('partials.infoSection')
@include('partials.latestEvents', [
'class' => 'home',
])
@include('part... |
<?php
declare(strict_types=1);
namespace Tests\Support\Models;
use CodeIgniter\Model;
class ExampleModel extends Model
{
/** @var string */
protected $table = 'factories';
/** @var string */
protected $primaryKey = 'id';
/** @var string */
protected $returnType = 'object';
/** @var bool... |
<div class="card">
<div class="card-header"><h5> {{ trans('settings.protocols_report') }} </h5></div>
<div class="card-body">
<form method="post" target="_blank" action="{{ route('administrators/settings/protocols_report') }}">
@csrf
<div class="input-group col-md-6 input-form"... |
<?php
namespace InetStudio\BannersPackage\Banners\Http\Requests\Back;
use Illuminate\Foundation\Http\FormRequest;
use InetStudio\BannersPackage\Banners\Contracts\Http\Requests\Back\SaveItemRequestContract;
/**
* Class SaveItemRequest.
*/
class SaveItemRequest extends FormRequest implements SaveItemRequestContract
... |
@extends('backend.master')
@section('title',' Edit')
@section('content')
<div class="row">
<h1>Edit Form</h1>
</div>
<div class="card shadow mb-4">
<div class="card-header">
<h6 class="m-0 font-weight-bold text-primary d-inline-block">Edit Items List</h6>
<a href="{{route('items.index')}}" class="btn btn btn-outl... |
<?php
/*
* This file is part of the LightSAML-Core package.
*
* (c) Milos Tomic <tmilos@lightsaml.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace LightSaml\Store\TrustOptions;
use LightSaml\Meta\TrustOptions\TrustOptions;
class... |
@extends('layouts.ecommerce.ecommerce', ['class_body' => 'home-page home-01'])
@section('title')
<title>Ecommerce - Online Shopping Center</title>
@endsection
@section('content')
<div class="container">
<!--MAIN SLIDE-->
<div class="wrap-main-slide">
<div class="slide-carousel owl-carousel style-nav-... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
/**
* Tiny Api Framework.
*
* @link https://github.com/cizel/tiny
*
* @copyright 2017-2017 i@cizel.cn
*
*/
use Http\Rest;
class IndexController extends Rest
{
public function indexAction()
{
$ret = 'hello world';
return $this->response(200, $ret, 200);
}
} |
<?php
class ControllerLocalisationLanguage extends Controller {
private $error = array();
public function index() {
$this->load->language('localisation/language');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('localisation/language');
$this->getList();
}
public f... |
<?php
namespace Iyngaran\Advertiser\Search;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Pagination\Paginator;
use Iyngaran\Advertiser\Models\Post;
class SearchPost extends Search
{
public function getResults(FormRequest $filters)
{
retur... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="<?php echo base_url(); ?>/public/assets/sansfontpro.css">
<link rel="stylesheet... |
<?php
print($id);
echo "Welcome";
?> |
<?php
/**
* Copyright (c) BrownBear, 2017-Present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
use chillerlan\QRCode\QRCode;
class Complain extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->simple_login->cek_login(); // cek login
$this->load->model([
'M_task' => 'm_tas... |
<?php
/** @var \Laravel\Lumen\Routing\Router $router */
/*
|---------------------------------------------------------------------
-----
| Application Routes
|---------------------------------------------------------------------
-----
|
| Here is where you can register all of the routes for an application.
| It is a bre... |
<?php
/*
* This file is part of the league/commonmark package.
*
* (c) Colin O'Dell <colinodell@gmail.com>
*
* Original code based on the CommonMark JS reference parser (http://bitly.com/commonmark-js)
* - (c) John MacFarlane
*
* For the full copyright and license information, please view the LICENSE
* file ... |
<?php
session_start();
session_destroy();
echo '<script>setTimeout(function(){location.href="index.php"} , 1000);</script>';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WorkWise Html Template</title>
<meta name="viewport" content="width=device-width, initial-... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<div class="main-container">
<div class="pd-ltr-20 xs-pd-20-10">
<div class="min-height-200px">
<!-- Export Datatable start -->
<div class="card-box mb-30">
<div class="col-12">
<!-- Main content -->
<div class="invoice p-3 mb-3... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\modules\users\models\User;
use app\modules\tasks\models\Workplace;
/* @var $this yii\web\View */
/* @var $model app\modules\tasks\models\Workplace */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'workplace'), ... |
<?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 Sensio\Bundle\GeneratorBundle\Tests\Command;
use Sensio\Bundle\Generato... |
<?php
require 'vendor/autoload.php';
use App\Entity\Produto;
use App\Entity\Categoria;
use App\Session\Carrinho;
use App\Entity\Desconto;
use App\Entity\FormaDePagamento;
use App\Entity\Entrega;
use App\Entity\Pedido;
use App\Telegram\Alert;
//VALIDA SE TEM ITENS NO CARRINHO
if (Carrinho::getQuantidadeProdutos() == ... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Settings */
/* @var $form yii\widgets\ActiveForm */
$settings = new \app\modules\admin\models\Settings();
$positions = $settings->getPositions();
?>
<a class="btn btn-info" role="button" data-... |
<?php
namespace id009\Neo4jBundle\Form\ChoiceList;
use Symfony\Component\Form\Extension\Core\ChoiceList\ObjectChoiceList;
use HireVoice\Neo4j\EntityManager;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityLoaderInterface;
/**
* A choice list presenting Neo4j entities as choices
*
* @author Alex Belyaev <lex@alex... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQuestionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('questions', f... |
<?php
namespace backend\modules\schl\models;
use Yii;
use common\behaviors\TimestampBehavior;
use common\behaviors\BlameableBehavior;
use common\behaviors\DeleteBehavior;
/**
* This is the model class for table "schl_kemahasiswaan".
*
* @property integer $kemahasiswaan_id
* @property integer $pegawai_id
* @prop... |
<!DOCTYPE html>
<div class="tab-content">
<?php echo validation_errors(); ?>
<div class="card-body" style="padding: 20px;">
<h3 style="text-align: center; text-decoration: bold;" >TRANSACTION DETAILS</h3>
<br />
<br />
<p class="xxx text-center"><a href="<?php echo base_url('SalesAgent/addSched/'.$orderID) ?>"><spa... |
<?php declare(strict_types=1);
namespace PeeHaa\FeedMe\Controller;
use Amp\Http\Server\Request;
use Amp\Http\Server\RequestHandler;
use Amp\Http\Server\Response;
use Amp\Http\Status;
use Amp\Promise;
use function Amp\call;
use function Amp\File\get;
final class Index implements RequestHandler
{
/**
* phpcs:... |
<?php
/**
* @package s9e\TextFormatter
* @copyright Copyright (c) 2010-2019 The s9e Authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\TextFormatter\Plugins\Litedown\Parser;
class ParsedText
{
/**
* @var bool Whether to decode HTML entities when decoding text
... |
<?php
namespace app\controllers;
class DbUpdaterStatusController extends \yii\web\Controller
{
public function actionIndex()
{
return $this->render('index');
}
} |
<?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 Slim\Http\Request;
use Slim\Http\Response;
use Stripe\Stripe;
require 'vendor/autoload.php';
$ENV_PATH = '../../..';
$dotenv = Dotenv\Dotenv::create(realpath($ENV_PATH));
$dotenv->load();
require './config.php';
if (PHP_SAPI == 'cli-server') {
$_SERVER['SCRIPT_NAME'] = '/index.php';
}
$app = new \Slim... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Ecs\V20140526\Models\DescribeLaunchTemplateVersionsResponseBody\launchTemplateVersionSets\launchTemplateVersionSet\launchTemplateData;
use AlibabaCloud\SDK\Ecs\V20140526\Models\DescribeLaunchTemplateVersionsResponseBody\launchTem... |
<?php
/**
* PHPMailer - PHP email creation and transport 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 ... |
<?php
class m_telephony extends CI_Model{
function deleterecords($id)
{
$this->db->query("delete from tb_telephony where dt_id='".$id."'");
}
function fetch_data(){
$query = $this->db->get("tb_telephony");
//$query = $ this->db->query("SELECT * FROM tb_telephony ORDER BY dt_id ASC");
return $qu... |
<?php
/**
*
*/
class Mproveedor extends CI_Model
{
function __construct()
{
// code...
}
//MOSTRAR proveedor
public function mselectproveedor(){
$this->db->select('c.*, tpd.codigo codtipo_documento, tpd.nombre tipo_documento, tpc.codigo codtipo_proveedor, tpc.nombre tipo_proveedor');
$this->... |
<?php
namespace App\Console\Commands\Parsers\Xml;
use App\Commands\AutoScanForNewFiles;
use App\Commands\ParseFile;
use App\Contracts\CustomLogging;
use App\Entities\File;
use App\Repositories\FileRepository;
use App\Services\JsonLogService;
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use Leagu... |
<?php
require_once __DIR__ . '/../../vendor/autoload.php';
require_once 'MySSOServer.php';
require_once __DIR__ . '/../../src/Polyfill/getallheaders.php';
$ssoServer = new MySSOServer();
$command = isset($_REQUEST['command']) ? $_REQUEST['command'] : null;
if (!$command || !method_exists($ssoServer, $command)) {
... |
<?php
/*
* This file is part of the Oryzone/MediaStorage package.
*
* (c) Luciano Mammino <lmammino@oryzone.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Oryzone\MediaStorage\Exception;
use Oryzone\MediaStorage\... |
<?php
/* partials/base.html.twig */
class __TwigTemplate_296210126e27a47464e257a6ccbc4362458788c367f1d6a212609de52eedeb49 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'... |
<?php
namespace src\services\networks;
use src\entities\company\Company;
class WallFB
{
public $group_id;
public $at;
public function __construct(Company $name)
{
$this->at="573815686124177|gEwY_inZ-n_4MVZStgQZ6cHKuRM";
$pos=strripos($name, '... |
<footer class="page-footer">
<div class="container">
© Copyright {{ date('Y') }}
<a href="#" class="grey-text text-lighten-4 right">Forum</a>
</div>
</footer> |
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>TP 3 - Exo 2</title>
<meta name="author" content="Marc Gaetano">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<link rel="stylesheet" href="../css/tp3.css">
<link rel="stylesheet" type="text/css" href="style.css"... |
<?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()
{
$roleAdmin = Role::create([... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
@extends('layouts.admin')
@section('page-title')
管理ユーザー一覧
@endsection
@section('page-content')
<div class="card w-75 mx-auto p-4" id="app">
<div class="admins-head">
<div>
<h4>管理ユーザー 一覧</h4>
</div>
<div class="admins-link">
<a href... |
@extends('layout.app')
@section('content')
<div class="content">
<h2>over mij</h2>
<img src="/images/4.JPG" alt="Marijn op feestje" class="responsive2 fotocontent "/>
<h3>Wie ben ik?</h3>
<div>
<p>Ik ben Marijn woon in Wapenveld, Gelderland. Ben 17 jaar oud e... |
<?php
require "connect.php";
require "C:/xampp/htdocs/myfiles/PHPMailer/src/PHPMailer.php";
require "C:/xampp/htdocs/myfiles/PHPMailer/src/Exception.php";
require "C:/xampp/htdocs/myfiles/PHPMailer/src/OAuth.php";
require "C:/xampp/htdocs/myfiles/PHPMailer/src/SMTP.php";
session_start();
$signs = '';
if(isset($_SE... |
<?php
namespace App\Policies;
use App\Role\UserRole;
use App\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class UserPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*
* @param User $user
* @return mixed
*/
public function viewAny... |
<?php
if ( false == class_exists( 'xajaxPlugin' ) || false == class_exists( 'xajaxPluginManager' ) )
{
$sBaseFolder = dirname( dirname( dirname( __FILE__ ) ) );
$sXajaxCore = $sBaseFolder.'/xajax_core';
if ( false == class_exists( 'xajaxPlugin' ) )
require $sXajaxCore.'/xajaxPlugin.inc.php';
if ( false == class... |
<?php
/**
* This file is part of the ramsey/uuid library
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright Copyright (c) Ben Ramsey <ben@benramsey.com>
* @license http://opensource.org/licenses/MIT MIT
* @link h... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateImagesTable extends Migration {
public function up()
{
Schema::create('images', function(Blueprint $table) {
$table->increments('id');
$table->timestamps();
$table->softDeletes();
$table->bigInte... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App\Test\Unit\DeploymentConfig;
use Magento\Framework\App\DeploymentConfig;
use Magento\Framework\App\DeploymentConfig\Writer;
use Magento\Framework\App\Filesystem\DirectoryList;
use Mag... |
<?php
namespace Composer\Command;
use Composer\Composer;
use Composer\DependencyResolver\Request;
use Composer\Installer;
use Composer\IO\IOInterface;
use Composer\Plugin\CommandEvent;
use Composer\Plugin\PluginEvents;
use Composer\Package\Version\VersionParser;
use Composer\Semver\Constraint\MultiConstrain... |
<style>
.accion{
display: none;
}
.editar:hover .accion{
display: inline-block;
position: absolute;
background-color: white;
padding-left: 5px;
font-size: 18px;
}
.eliminar:hover .accion{
display: inline-block;
position: absolute;
background-color: white;
font-size: 18px;
padding-left: 5px;
}
.ver:hover .acc... |
<?php
namespace Proyecto1\Http\Controllers\Backend;
use Illuminate\Http\Request;
use Proyecto1\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
use Proyecto1\Modelos\Ciudad;
class CiudadesController extends Controller
{
//Listar Ciudades
public function getIndex()
{
$ciudades = Ciudad:... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
{{HTML::style("asset/backend/css/jquery.dataTables.css")}}
{{HTML::style("asset/backend/css/css_admin.css")}}
</head>
<body>
@section('sidebar')
<!-- Header -->
<div id="header">
<div id="top">
</div>
<!... |
<?php
namespace app\controllers;
use app\models\Audio;
use app\models\ConfirmType;
use app\models\FilterForm;
use app\models\Image;
use app\models\Log;
use app\models\OfficeCheckTask;
use app\models\Organization;
use app\models\SelfCheckTask;
use app\models\User;
use app\models\Work;
use app\models\WorkType;
use Yi... |
<?php namespace Fisharebest\Localization\Script;
/**
* Class ScriptLatn - Representation of the Latin script.
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2015 Greg Roach
* @license GPLv3+
*/
class ScriptLatn extends AbstractScript implements ScriptInterface {
public function code() {
... |
<?php
ob_start();
/**
* 123PHPSHOP
* ============================================================================
* 版权所有 2015 上海序程信息科技有限公司,并保留所有权利。
* 网站地址: http://www.123PHPSHOP.com;
* ----------------------------------------------------------------------------
* 这是一个免费的软件。您可以在商业目的和非商业目的地前提下对程序除本声明之外的
* 代码进行修改和使... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="Dasho Bootstrap admin template made usi... |
<div class="gmap-html">
<span class="image"><?php echo html::image(array('src' => $location->link, 'alt' => $location->title, 'width' => 100, 'height' => 100)) ?></span>
<h6 class="title"><?php echo $location->title ?></h6>
<?php
echo '<p>', implode("</p>\n<p>", explode("\n\n", $location->description)), "</p>\n";
?>
... |
<?php
/**
* FromBuilder.php
*
* Builds the FROM statement
*
* PHP version 5
*
* LICENSE:
* Copyright (c) 2010-2014 Justin Swanhart and André Rothe
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
@extends('main')
@section('style')
<!-- DataTables CSS -->
<link href="{{ asset('vendor/datatables-plugins/dataTables.bootstrap.css') }}" rel="stylesheet">
<!-- DataTables Responsive CSS -->
<link href="{{ asset('vendor/datatables-responsive/dataTables.responsive.css') }}" rel="stylesheet">
@stop
@sect... |
<?php
?>
<div class="container mt-5">
<h2 class="text-center">Haz tu reserva</h2>
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-6 col-xl-6">
<div class="mb-3">
<input class="form-control" placeholder="¿Cómo te llamas?">
</div>
<div class="mb... |
<?php
namespace Czim\Service\Test;
use Czim\Service\Interpreters\Xml\XmlObjectToArrayConverter;
class XmlObjectToArrayConverterTest extends TestCase
{
/**
* @test
*/
function it_converts_simple_xml_object_to_array()
{
$converter = new XmlObjectToArrayConverter();
$result = $con... |
<?php
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateRankPokemonTable extends Migration
{
protected $tableName = 'rank_pokemon';
/**
* Run the migrations.
*
* @return void
*/
publi... |
<?php
class Usuarios_contas_arquivos_model extends CI_Model {
public function __construct()
{
parent::__construct();
}
public function set_arquivo($cliente_id, $conta_id, $nome, $arquivo_nome)
{
$data_cadastro = date("Y-m-d");
... |
<?php
namespace App\Models\Front;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
use HasFactory;
protected $fillable = [
'code', 'member_id', 'address_id',
'first_name', 'last_name', 'phone', 'base_price',
's... |
@extends('layouts.logo_only_layout')
@section('content')
<link rel="stylesheet" href="{{ url('css/style_signup.css?css='.$random_number,[],$ssl)}}">
<section class="unsubscribe_wrapper mainwrap">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="signu... |
<?php
# ========================================================================#
#
# This work is licensed under the Creative Commons Attribution 3.0 Unported
# License. To view a copy of this license,
# visit http://creativecommons.org/licenses/by/3.0/ or send a letter to
# Creative Commons, 444 Castro Street, Su... |
<?php if(time() > 1346311532){return null;} return array (
0 => 4,
1 => 15,
); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.