text stringlengths 2 1.03M |
|---|
<?php
namespace Ingenico\Connect\Sdk;
use Exception;
use SplFileObject;
/**
* Class SplFileObjectLogger
*
* @package Ingenico\Connect\Sdk
*/
class SplFileObjectLogger implements CommunicatorLogger
{
/** */
const DATE_FORMAT_STRING = DATE_ATOM;
/** @var SplFileObject */
private $splFileObject;
... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Password;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Support\Facades\Validator;
class ResetPassword... |
<?php
namespace Composer;
use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'r... |
@php
$address = config('shop.address');
$number_phones = config('shop.number_phones');
@endphp
<h2 style="text-align: center; font-size: 30px;">Про интернет-магазин «{{env('APP_NO_URL')}}»</h2>
<h3 style="text-align: center;">{{env('APP_NO_URL')}} – интернет-магазин мобильной и цифровой техники в Казахстане... |
<?php
namespace CodeTool\ArtifactDownloader\Error;
class Error implements ErrorInterface
{
/**
* @var string
*/
private $message;
/**
* @var mixed
*/
private $context;
/**
* @var ErrorInterface|null
*/
private $prevError;
/**
* @param string ... |
<?php
function conexion(){
$con = mysql_connect("67.23.248.81","oskarinm_premio","221590jho");
if (!$con){
die('Could not connect: ' . mysql_error());
}
mysql_select_db("oskarinm_mindext_premio", $con);
return($con);
}
?> |
<?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 ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button typ... |
<?php
/*******************************************************************************
*
* @author : Dominik Bonsch <d.bonsch@buizcore.com>
* @date :
* @copyright : BuizCore GmbH <contact@buizcore.com>
* @project : BuizCore the business core
* @projectUrl : http://buizcore.net
*
* @licence : BSD ... |
<?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
* Define the model's defau... |
<?php
namespace tests;
use Omnipay\FirstAtlanticCommerce\Gateway;
use Omnipay\Tests\GatewayTestCase;
/**
* Class StatusTest
*
* Test the request to get the status of a transaction.
*
* @package tests
*/
class StatusTest extends GatewayTestCase
{
/** @var Gateway */
protected $gateway;
/** @var a... |
<div class="units-row">
<div class="unit-80 unit-centered whitebg">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, p... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<p>Hell... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use App\Http\Requests\Blog\StoreBlogRequest;
use App\Http\Requests\Blog\UpdateBlogRequest;
use App\Http\Resources\BlogResource;
use App\Mail\Gmail;
use App\Models\Blog;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Suppo... |
<!-- MODAL PREVIEW -->
<div class="modal" tabindex="-1" role="dialog" id="modal-preview">
<div class="modal-dialog modal-dialog-centered" role="document" style="max-width:800px">
<div class="modal-content" style="border-radius:0.75em">
<div class="modal-header py-0" style="display:bl... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class ModelPesertaKeberangkatan extends MY_Model {
function __construct()
{
parent::__construct();
$this->tabel = "tb_peserta_keberangkatan";
$this->primaryKey = "id";
$this->kolomBawaanCrud = [
"id_peserta_transaksi",
... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bán hàng</title>
<!-- Fonts -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<title>Ask me – @yield('title')</title>
@include('partials/head')
</head>
<body>
<div class="loader"><div class="loader_html"></div></div>
<div id="wrap" class="grid_1200">
{{-- Header --}}
... |
<?php
namespace models\commands;
use models\scriptureforge\dto\UsxTrimHelper;
use models\mapper\JsonDecoder;
use models\mapper\JsonEncoder;
use models\ProjectModel;
use models\TextModel;
class TextCommands
{
private static function makeValidRange(&$object)
{
if (isset($object['startCh'])) {
... |
<!-- jQuery -->
<script src="{{ url('backend') }}/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="{{ url('backend') }}/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="{{ url('backend') }}/dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purpo... |
<?php
/**
* routes.php
* $routes[] = ['URL', 'Class\Function']
* OR
* $routes[] = ['URL', 'Class\Function', 'METHOD']
* The route class/function is loaded from "src" directory.
* Use "$" as a wildcard to pass parameters from the URL to the function.
*/
$routes[] = ['/', 'example/exampleFunction'];
$routes[]... |
<?php
/* ============================================================================
* Copyright 2019 Zindex Software
*
* 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... |
<header>
<div class="container-fluid position-relative no-side-padding">
<a href="#" class="logo">Blog</a>
<div class="menu-nav-icon" data-nav-menu="#main-menu"><i class="ion-navicon"></i></div>
<ul class="main-menu visible-on-click" id="main-menu">
<li cla... |
<?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 PHPixie;
class Filesystem
{
protected $builder;
public function __construct()
{
$this->builder = $this->buildBuilder();
}
public function builder()
{
return $this->builder;
}
public function root($directory)
{
return $this->bui... |
<!-- Modal -->
<div id="tambah" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header bg-gradient-info">
<h4 class="modal-title">Form Tipe Menghitung HPP</h4>
<button type="button" class="close" data-dismi... |
@extends('layouts.app')
@section('content')
<h1>Welcome</h1>
<h2>Check out our horses you can bet on!</h2>
<div class="card-body">
<table class="table">
<tr>
<th>Name</th>
<th>Runs</th>
<th>Wins</th>
<th>Bets</th>
<th>Description</th>
</tr>... |
<?php
/**
* Created by Kutuzov Alexey Konstantinovich <lexus.1995@mail.ru>.
* Author: Kutuzov Alexey Konstantinovich <lexus.1995@mail.ru>
* Project: jungle
* IDE: PhpStorm
* Date: 01.06.2016
* Time: 23:59
*/
namespace Jungle\Data\Record {
use Jungle\Data\Record;
use Jungle\Data\Record\Collection;
use Jungle\... |
<?php
return [
'edit_modal_title' => 'Edit News',
'input_content' => 'Content',
'delete_modal_title' => 'Delete Running Text',
'add_modal_title' => 'Add Running Text',
]; |
<?php
namespace Ptf\Core;
/**
* Class for handling the URL path to controller/action routing.
*/
class Router
{
/**
* Match the given route string to the corresponding controller and action.
*
* @param string $route The route string to match (case insensitive)
* @param \Ptf\App\... |
<div class="body-content outer-top-bd">
<div class="container">
<div class="x-page inner-bottom-sm">
<div class="row">
<div class="col-md-12 x-text text-center">
<h1>404</h1>
<p>We are sorry, the page you've requested is not available. </p>
<form role="form" class="outer-top-vs outer-bot... |
@extends('layouts.master')
@section('css')
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
@endsection
@section('js')
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
@stop
@section('content')
... |
@extends('layouts.app')
@section('content')
<div class="card">
<div class="card-header d-flex">
{{ __('Dashboard') }}
<div class="ml-auto">
<a href="{{ route('home') }}">Home</a> -
<a href="{{ route('sons.index') }}">Sons</a> -
<a href... |
<div class="container">
<div class="container-fluid">
<div class="box">
<div class="box-header">
<center><h3 class="box-title">Dokumen Perpanjangan SETNEG</h3></center> <br>
</div><!-- /.box-header -->
<div class="box-body">
... |
<?php
class RSDStuurgegevensLa06
{
/**
* @var BerichtcodeLa06 $berichtcode
*/
protected $berichtcode = null;
/**
* @var Systeem $zender
*/
protected $zender = null;
/**
* @var Systeem $ontvanger
*/
protected $ontvanger = null;
/**
* @var Refnummer $ref... |
<?php
namespace AliOSS\Result;
use AliOSS\Model\LiveChannelInfo;
class PutLiveChannelResult extends Result
{
protected function parseDataFromResponse()
{
$content = $this->rawResponse->body;
$channel = new LiveChannelInfo();
$channel->parseFromXml($content);
return $channel;
... |
@extends ('backend.layouts.master')
@section ('title', trans('menus.category_management'))
@section('page-header')
<h1>
{{ trans('menus.category_management') }}
<small>{{ trans('menus.active_category') }}</small>
</h1>
@endsection
@section('content')
<div class="box box-success">
... |
<!DOCTYPE html>
<html lang="pt_br">
<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>Minha 1º Calculadora</title>
<link rel="stylesheet" href="estilo.css">
</head>
<body>
<section id=... |
@extends('layouts.admin')
@section('content')
<section class="material-half-bg">
<div class="cover"></div>
</section>
<section class="login-content">
<div class="logo">
<h1>E-Gudang </h1>
</div>
<div class="login-box">
<form class="login-form" method="POST" action="{{ route('login') }}">
@csrf
<... |
<?php
namespace A\B;
class Foo {
}
$function = new \ReflectionClass('stdClass');
\var_dump($function->inNamespace());
\var_dump($function->getName());
\var_dump($function->getNamespaceName());
\var_dump($function->getShortName());
$function = new \ReflectionClass('A\\B\\Foo');
\var_dump($function->inNamespace());
\va... |
@extends('layout')
@section('contentHeader')
@include('layoutHeader')
@stop
@section('content')
<table class="col-md-12" style="margin-top: -37px">
<thead>
<tr>
<td class="col-md-02 text-right label label-primary"> </td>
<td class="col-md-03 label label-info"><a href="{!! URL::t... |
<?php
namespace Softspring\CatalogBundle\Event;
use Softspring\CatalogBundle\Model\PackInterface;
use Softspring\CoreBundle\Event\RequestEvent;
use Symfony\Component\HttpFoundation\Request;
class PackEvent extends RequestEvent
{
/**
* @var PackInterface
*/
protected $pack;
/**
* PackEvent... |
<!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, user-scalable=0, minimal-ui">
<title>GoGyms Admin Dashboard</title>
<meta content="Admin Dashboard" name="description" />
<m... |
<?php
declare(strict_types=1);
namespace LDL\Env\Util\Compiler\Directive;
use LDL\Env\Util\Compiler\EnvCompilerDirectiveInterface;
use LDL\Env\Util\Line\Collection\EnvLineCollectionInterface;
use LDL\Env\Util\Line\EnvLineInterface;
use LDL\Env\Util\Line\Type\Directive\EnvLineDirectiveInterface;
use LDL\Env\Util\Line... |
<?php
namespace Vitess\Error;
class DeadlineExceeded extends Transient
{
} |
<br /><br /><br />
<div class="card card-warning">
<div class="card-header">
<h3 class="card-title">{{ ucfirst($params) }}</h3>
</div>
<form class="form-horizontal" method="post" id="simpan" action="{{ $action }}">
@csrf
{{ $method }}
<div class="card-body">
<div ... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... |
<?php
namespace PubNub\Models\Consumer\ChannelGroup;
class PNChannelGroupsRemoveGroupResult
{
} |
<?php
namespace App\Http\Livewire;
use App\Models\Books;
use Illuminate\Support\Carbon;
use Illuminate\Database\QueryException;
use Illuminate\Database\Eloquent\Builder;
use PowerComponents\LivewirePowerGrid\Button;
use PowerComponents\LivewirePowerGrid\Column;
use PowerComponents\LivewirePowerGrid\PowerGrid;
use Pow... |
<?php
namespace App\Http\Resources\API;
use Illuminate\Http\Resources\Json\JsonResource;
class UserResource extends JsonResource
{
protected $status;
protected $statusCode;
protected $message;
public function __construct($resource, $message = 'success', $statusCode = 200, $status = 1)
{
... |
<?php
namespace App\Services;
use Illuminate\Support\Str;
class HtmlBuilder extends \Collective\Html\HtmlBuilder
{
/**
* @param string $uri
* @param array|null $attributes
* @return array|\Illuminate\Contracts\Translation\Translator|\Illuminate\Support\HtmlString|string|\Underscore\Underscore|null... |
<?php
/**
* osCommerce Online Merchant
*
* @copyright Copyright (c) 2011 osCommerce; http://www.oscommerce.com
* @license BSD License; http://www.oscommerce.com/bsdlicense.txt
*/
namespace osCommerce\OM\Core\Site\Admin\Application\CoreUpdate\Model;
use \Phar;
use osCommerce\OM\Core\OSCOM;
class deleteP... |
@extends('layouts.app')
@section('content')
<div>
<listwygenerator></listwygenerator>
</div>
@endsection |
@extends('layouts.app')
<html>
<head>
<script>
function showFuncionario(){
$selectbox = document.getElementById('pessoaable_type');
$userinput = $selectbox.options[$selectbox.selectedIndex].value;
if ($userinput == 'funcionario'){
document.getElem... |
<?php
/**
* Description: This includes for basic and core configurations.
* Author: Joken Villanueva
* Date Created: october 27, 2013
* Revised By: Joken E. Villanueva
* Revised Date: January 23,2018
*/
//define the core paths
//Define them as absolute peths to make sure that require_once works as expected
//DIRECT... |
@extends('layouts.master')
@section('css')
<!-- Internal Data table css -->
<link href="{{URL::asset('assets/plugins/datatable/css/dataTables.bootstrap4.min.css')}}" rel="stylesheet" />
<link href="{{URL::asset('assets/plugins/datatable/css/buttons.bootstrap4.min.css')}}" rel="stylesheet">
<link href="... |
<?php
namespace backend\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use common\models\LoginForm;
use yii\filters\VerbFilter;
use backend\models\MembersWalletLogsSearch;
use backend\models\MembersGmaddLogsSearch;
use backend\models\DasboardModel;
use common\models\TblSettings;
use backe... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class DatasetValidator extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<?php
/**
* Created by PhpStorm.
* User: lhw
* Date: 2019/5/8
* Time: 16:04
*/
namespace app\api\err;
use Exception;
use think\exception\Handle;
class ApiHandle extends Handle
{
/**
* 自定义异常处理必须实现render方法
* @param Exception $e
* @return \think\Response|\think\response\Json
*/
public ... |
<?php
namespace App\Providers;
use App\Repositories\UserRepository;
use App\Repositories\UserRepositoryInterface;
use Illuminate\Support\ServiceProvider;
class RepositoryProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
// labels
$lang['article_movie_title'] = 'Vídeos';
$lang['article_thumb_label'] = 'Miniatura';
$lang['article_movie_create_title'] = 'Adicionar vídeo';
$lang['article_posted_label'] = 'Escrito';
$lang['article_posted_label_alt'] = 'Escrito em';
$la... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddSlugToPosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('posts', function (Bl... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Callback */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Callbacks', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="callback-vi... |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Dashboard Jadimanten | Official ... |
<?php
namespace App\Contracts;
/**
* Interface BrandContract
* @package App\Contracts
*/
interface AdminContract
{
/**
* @param string $order
* @param string $sort
* @param array $columns
* @return mixed
*/
public function listAdmins(string $order = 'id', string $sort = 'desc', arra... |
<?php
namespace App\Http\Controllers\Dashboard;
use App\Mail\ResetPassword;
use App\Models\BloodType;
use App\Models\Client;
use App\Models\Contact;
use App\Models\Governorate;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Mail;
class ContactsController extends Controller
{
public functi... |
<?php
namespace App\Http\Controllers\Guest;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\MovieData;
use App\ReviewData;
class MovieController extends Controller
{
public function index(Request $request)
{
$cond_title = $request->cond_title;
if ($cond_title != null... |
<?php
namespace Application\Model;
class CommentsFaik
{
public function exchangeArray($data)
{
foreach($data as $k => $v){
$this->arr[$k] = $v;
$this->$k = $v;
}
}
public function __set($k, $v){
$this->arr[$k] = $v;
$this->$k = $v;
}
} |
<?php
namespace app\modules\user\controllers;
use app\components\Controller;
use app\modules\user\models\searches\UrlSearch;
use Yii;
class UrlController extends Controller
{
public function actionIndex()
{
$searchModel = new UrlSearch();
$dataProvider = $searchModel->search(Yii::$app->reques... |
<?php namespace Database\Seeders;
use Illuminate\Database\Seeder;
class BroheadsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Brohead::seedTable();
}
} |
<!doctype html>
<html>
@include('layouts.head')
<body>
@include('layouts.header')
@include('layouts.categoriesHeader')
@yield('content')
@include('layouts.footer')
@include('main.partials._sessionMessages')
</body>
</html> |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap4\Breadcrumbs;
use common\widgets\Alert;
use yii\helpers\url;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
... |
<?php $this->load->view('member/v_header'); ?>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Data Pinjam</h3>
</div>
<div class="notif">
<?php echo $this->session->flashdata('message'); ?>
</div>... |
<?php
session_start();
$code=rand(1000,9999);
$_SESSION['captchasa']=$code;
$im = imagecreatetruecolor(50, 24);
$bg = imagecolorallocate($im, 22, 86, 165); //background color blue
$fg = imagecolorallocate($im, 255, 255, 255);//text color white
imagefill($im, 0, 0, $bg);
imagestring($im, 5, 5, 5, $code, $fg);
header("C... |
<!-- ********MODAL EDITAR****** -->
<div class="modal fade" id="ModalEditar{{$periodo->id_periodo}}" tabindex="-1" role="dialog" aria-hidden="true">
<form method="post" action="{{url("Administrador/periodos")."/".$periodo->id_periodo}}}}">
<div class="modal-dialog modal-dialog-scrollable" role="document">
... |
<?php
$sid = session_id();
?>
<section id="cart_items">
<div class="container">
<div class="breadcrumbs">
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li class="active">Shopping Cart</li>
</ol>
</div>
<div class="table-responsive cart_info">
<table class="table table-cond... |
<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
class Pager extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* Templates
* --------------------------------------------------------------------------
*
* Pagination links are rendered out using ... |
<?php
namespace App\Transformers;
use League\Fractal\TransformerAbstract;
use App\Entities\Barangay;
/**
* Class BarangayTransformer
* @package namespace App\Transformers;
*/
class BarangayTransformer extends TransformerAbstract
{
/**
* Transform the \Barangay entity
* @param \Barangay $model
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Dashboard">
<meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, ... |
@extends('libhome')
@section('content')
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Track Student</h1>
</div>
</div>
<form class="form-horizontal" role="form" method="POST" action="{{ url('/stidtrack')}}">
{{ csrf... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class StaticPagesController extends Controller
{
public function home()
{
$user = Auth::user();
$feed = [];
if(Auth::check()){
... |
<?php
/**
* @copyright 2015 Contentful GmbH
* @license MIT
*/
namespace Contentful;
/**
* A ResourceArray holds the response of an API request if more than one resource has been requested.
*
* In addition to the retrieved items themselves it also provides some access to metadata.
*
* @api
*/
class Resource... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order t... |
<?php
/**
* 用户模型字段增加
*
* @version $Id: member_model_field_add.php 1 11:20 2010年7月20日 $
* @package DedeCMS.Administrator
* @founder IT柏拉图, https://weibo.com/itprato
* @author DedeCMS团队
* @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
* @license http://help.dedecms.com/usersguide/lic... |
<?php
namespace Google\AdsApi\Dfp\v201708;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class getRateCardsByStatementResponse
{
/**
* @var \Google\AdsApi\Dfp\v201708\RateCardPage $rval
*/
protected $rval = null;
/**
* @param \Google\AdsApi\Dfp\v201708\RateCardPage $rval
... |
<?php
/**
* Created by PhpStorm.
* User: cheremhovo
* Date: 11.02.18
* Time: 23:53
*/
/** @var $this \yii\web\View */
/** @var $type \shop\types\Auth\UserType */
$this->title = $type->login;
$this->params['breadcrumbs'][] = ['label' => 'User', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $t... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class EditorProductNameValidation extends Component
{
public $name, $model_name;
protected $rules = [
'name' => 'max:255|required',
'model_name' => 'max:255',
];
public function updated()
{
$... |
<?php
include('../Connections/connection.php');
session_start();
if (isset($_SESSION['userid']))
{
$userid = $_SESSION['userid'];
}else
{
header ('location:../production/loginPage.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
... |
<?php
require_once "vendor/autoload.php";
use Wead\DigitalCep\Search;
$busca = new Search;
$resultado = $busca->getAddressFromZipcode('01001000');
print_r($resultado); |
<?php
# © Copyright 2018 HP Development Company, L.P.
# SPDX-License-Identifier: MIT
#Access credentials
$baseUrl = 'https://printos.api.hp.com/printbeat'; #use for a production account
#$baseUrl = 'https://stage.printos.api.hp.com/printbeat'; #use for a staging account
$key = ''; #enter the PrintBeat key generated ... |
<?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Polls Polls
* @ingroup UnaModules
*
* @{
*/
$aConfig = array(
/**
* Main Section.
*/
'type' => BX_DOL_MODULE_TYPE_MODULE,
'name' => 'bx_polls',
'title' => 'Pol... |
<?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... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Repositories\Comments\CommentRepositoryInterface;
use App\Repositories\Users\UsersRepositoryInterface;
use App\Repositories\Blogs\BlogRepositoryInterface;
class CommentsController extends Controller
{
protected $CommentRepository;
prot... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><?php echo C('COMM_TITLE');?></title>
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- basic styles -->
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Subscribe extends CI_Controller {
public function send_mail() {
$this->load->helper(array('form', 'url'));
$this->load->library('form_validation');
$this->form_validation->set_rules('name', 'Username', 'r... |
<?php
namespace Drupal\plugin_test\Plugin\plugin_test\mock_block;
use Drupal\Core\Plugin\ContextAwarePluginInterface;
use Drupal\Core\Plugin\ContextAwarePluginTrait;
use Drupal\Core\Plugin\PluginBase;
/**
* Implementation of a complex context plugin used by Plugin API context tests.
*
* @see \Drupal\plugin_test\P... |
@extends('layouts.layout')
@section('title', "All Switches")
@section('scripts')
$(document).ready(function(){ $('#switches').DataTable(); });
@endsection
@section('content')
<span style="font-size: 24px">All known network devices:</span><br />
<form action="@if ($building != null){{ route('all_buildings', $buil... |
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<a href="{{route('home.client')}}" class="brand-link">
<img src="{{ asset('admin-theme/dist/img/AdminLTELogo.png')}}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="op... |
<?php
/* Translated by Tony LAURENT */
$lang['list_add'] = 'Ajouter';
$lang['list_actions'] = 'Actions';
$lang['list_page'] = 'Page';
$lang['list_paging_of'] = 'de';
$lang['list_displaying'] = 'Affichage de {start} à {end} de {results} enregistrements';
$lang['list_filtered_from'] = '(filtré de {to... |
@extends('layouts.app-index')
@section('content')
<div class="bg-white mt-10 py-10 sm:py-16 lg:py-24">
<div class="max-w-screen-2xl px-4 md:px-8 mx-auto">
<x-form method='post' route="{{ route('users.update', 2) }}" action="Éditer">
@csrf
@method('PATCH')
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.