text stringlengths 2 1.03M |
|---|
@extends('website.partials.de.maintre')
@section('title', 'Trésors du sud Pérou')
@section('keywords', 'machu picchu, agence voyage, voyage de noce, circuit perou, voyage perou, voyage au perou, perou, nomade aventure, le perou, lac titicaca, tour operateur, Agence de voyages au Pérou')
@section('description', 'From th... |
<?php namespace App\SupportedApps\Photonix;
class Photonix extends \App\SupportedApps {
} |
<?php
use common\models\Category;
use common\models\Product;
class OrderCest
{
public function _before(FunctionalTester $I)
{
$cat = new Category();
$cat->title = "trial";
$cat->save();
$id = Category::findOne(['title' => $cat->title])->id;
$prod = new Product();
... |
<?php session_start(); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
include_once("../connection/database/connection.php");
include_once("../connection/core/operator.php");
include_once('../verifyLogin.php');
$usuario_uid = $_SESSION[SITE]["usr_uid"];
$regisroUID = $_SESSION[SITE]["registro_uid"];
$uidFormulario ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PageController extends Controller
{
//Home
public function index() {
return view('home');
}
} |
<?php
namespace App\Http\Controllers\admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\User;
class ManageUserController extends Controller
{
function showUserList(){
$user_list = User::orderBy("id", "desc")->paginate(10);
return view("admin.user_list", ["user_list" => $user_lis... |
<?php
namespace App\Http\interfaces;
interface RepositoryInterface
{
public function all();
public function create(array $data);
public function update(array $data, $id);
public function delete($id);
public function show($id);
} |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200820164548 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php namespace Themesfa\Support\Tests\Database;
use Themesfa\Support\Tests\TestCase;
/**
* Class ModelTest
*
* @package Themesfa\Support\Tests\Bases
* @author Themesfa <info@themesfa.net>
*/
class ModelTest extends TestCase
{
/* -----------------------------------------------------------------
|... |
<?php
define('WORDFENCE_API_VERSION', '2.23');
define('WORDFENCE_API_URL_SEC', 'https://noc1.wordfence.com/');
define('WORDFENCE_API_URL_NONSEC', 'http://noc1.wordfence.com/');
define('WORDFENCE_API_URL_BASE_SEC', WORDFENCE_API_URL_SEC . 'v' . WORDFENCE_API_VERSION . '/');
define('WORDFENCE_API_URL_BASE_NONSEC', WORDF... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class MicropostsController extends Controller
{
public function index()
{
$data = [];
if (\Auth::check()) {
$user = \Auth::user();
$microposts = $user->feed_micropo... |
<?php
class Admin extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->helper(array('form', 'url'));
$this->load->library(array('session', 'pdflibrary'));
$this->load->model(array('Admin_Model'));
}
public function login()
{
i... |
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvide... |
<?php
/**
* @date : 2018年1月29日
*/
namespace backend\modules\attachment\service;
use Yii;
use backend\modules\attachment\models\Attachment;
use backend\modules\attachment\models\UploadImage;
class UploadService
{
public static function uploadforueditor($file)
{
$user_id = 0;
... |
<?php
namespace Config;
use CodeIgniter\Database\Config;
/**
* Database Configuration
*/
class Database extends Config
{
/**
* The directory that holds the Migrations
* and Seeds directories.
*
* @var string
*/
public $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR;
/**
* Lets you choose wh... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Registro</div>
<div class="panel-body">
<form class="form... |
<?php
namespace Tests;
use Tests\TestCase;
use Octopush\Api;
use Octopush\Message;
/**
* Testing Api
*/
class ApiTest extends TestCase
{
/**
* @test
*/
public function testIfCredentialLoginIsSet()
{
$this->assertNotNull(SMS_API_LOGIN, 'the login constant must be set');
}
/**... |
<?php
return [
'name' => $faker->name,
'ip' => $faker->ipv4,
'browser' => $faker->word,
'email' => $faker->email,
'homepage' => $faker->url,
'message' => $faker->text,
'msgputtime' => $faker->iso8601($max = 'now') ,
'image' => $faker->imageUrl($width = 320, $height = 240),
'file' => $faker->url
]; |
<?php
namespace Illuminate\Http\Client;
use GuzzleHttp\Client;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Exception\TransferException;
use GuzzleHttp\HandlerStack;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
... |
<?php
namespace common\models\child_category_section;
use yii\{ behaviors\TimestampBehavior, data\ActiveDataProvider, db\ActiveRecord };
use common\models\child_category_section\repositories\FrontendChildCategorySectionRepository;
use common\models\theme\ThemeEntity;
use yii\helpers\ArrayHelper;
/**
* Class ChildCat... |
<?php
namespace App\Http\Controllers\Admin\Modules\ManageHoroscope;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Horoscope;
use App\Models\HoroscopeCategory;
use App\Models\OrderMaster;
use App\Models\HoroscopeTitle;
use App\Models\Expertise;
use App\Models\HoroscopeToExpertise;
cl... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
// Paypal IPN Class
// ------------------------------------------------------------------------
// Use PayPal on Sandbox or Live
$config['sandbox'] = TRUE; // FALSE for... |
<?php
/**
* @copyright Copyright (C) 2015-2017 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@fetus.jp>
*/
namespace app\controllers;
use Yii;
use yii\filters\VerbFilter;
use app\components\web\Controller;
class ShowUserController extends Contro... |
<?php
namespace Ddd\Arquitetura\Dominios\Academico\Matricula;
use Ddd\Arquitetura\Dominios\Academico\Aluno\Aluno;
use Ddd\Arquitetura\Dominios\Academico\Curso\Curso;
use Illuminate\Database\Eloquent\Collection;
class RepositorioDeMatriculaComEloquent
{
/**
* Recupera as matriculas de um aluno
*
* ... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddSoftdeleteGasPowerSales extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('gas_powe... |
<div class="pcoded-main-container">
<div class="pcoded-content">
<!-- Breadcumb -->
<div class="page-header">
<div class="page-block">
<div class="row align-items-center">
<div class="col-md-12">
<div class="page-header-title">... |
<?php
//===================================
// Forms the basis of all tests that
// are performed.
//===================================
require_once '../src/api_exception.php';
abstract class Test
{
protected $name = '[untitled]'; // the name of the test (shouldn't have 'test' in the name)
... |
<?php
namespace Coyote\Mail;
use Coyote\Job;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class OfferReferred extends Mailable implements ShouldQueue
{
use Queueable, SerializesModels;
/**
* @var Job
... |
<?php
namespace WpOop\Containers\FuncTest\Options;
use Brain\Monkey\Functions;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use WpOop\Containers\Options\SiteMeta as TestSubject;
use WpOop\Containers\TestHelpers\ComponentMockeryTrait;
use Exception;
use PHPUnit\Framework... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/backoffice/master_customer.js"></script>
<div class="row">
<div class="col-xs-12">
<?php
error_reporting(E_ALL & ~E_NOTICE);
echo "Hello, user " . $name->name . ".<br />";
?>
<!-- Button trigger m... |
<?php
/**
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
/**
* List of enabled modules for this ... |
<?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\Bridge\PhpUnit\Legacy;
use PHPUnit\Framework\MockObject\MockObj... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Helpers;
use App\Model\Brand;
use App\Model\Category;
use App\Model\Color;
use App\Model\Subcategory;
use App\Model\SubSubcategory;
use App\Model\Product;
use App\Model\ProductStock;
use Brian2694\Toastr\Facades\Toastr;
us... |
<?php
/* @Twig/layout.html.twig */
class __TwigTemplate_c7ec3d7db6e260acd6f363d27d394c8e309ad382c7ddfaed1d431119d9d57aca extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
't... |
<?php
declare(strict_types=1);
namespace Rector\Php74\Rector\FuncCall;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\ArrayItem;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\Ternary;
use PhpParser\Node\Expr\Variabl... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Rome Admin</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="styleshee... |
<?php
/**
* See LICENSE.md for license details.
*/
namespace Dhl\Express\Webservice\Soap\Type\Common;
use Dhl\Express\Webservice\Soap\ValueInterface;
/**
* A ship timestamp value.
*
* Identifies the date and time the package is tendered. Both the date and time portions of
* the string are expected to be used. T... |
<?php
namespace AntiMattr\Tests\MongoDB\Migrations;
use AntiMattr\MongoDB\Migrations\AbstractMigration;
use AntiMattr\MongoDB\Migrations\Version;
use AntiMattr\TestCase\AntiMattrTestCase;
use Doctrine\MongoDB\Database;
class VersionTest extends AntiMattrTestCase
{
private $className;
private $configuration;
... |
<?php
namespace hexpang\tencent;
/*
* Copyright ? 1998 - 2014 Tencent. All Rights Reserved. 腾讯公司 版权所有
*/
use Exception;
class XingeApp
{
const DEVICE_ALL = 0;
const DEVICE_BROWSER = 1;
const DEVICE_PC = 2;
const DEVICE_ANDROID = 3;
const DEVICE_IOS = 4;
const DEVICE_WINPHONE = 5;
const... |
<?php
namespace App\Http\Controllers\Cursos;
use App\Models\Curso;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
class CursoController extends Controller
{
public function index(Request $request){
$cursos = DB::table('cursos')
->wh... |
<?php
class Sosti_Form_HomologacaoServico extends Zend_Form
{
public function init()
{
$this->setAction('')
->setAttrib('enctype', 'multipart/form-data')
->setMethod('post');
$homologar = new Zend_Form_Element_Hidden('Homologar');
$homologar->removeDecorator('L... |
<?php
/**
* Close.io Api Wrapper - LLS Internet GmbH - Loopline Systems.
*
* @see https://github.com/loopline-systems/closeio-api-wrapper for the canonical source repository
*
* @copyright Copyright (c) 2014 LLS Internet GmbH - Loopline Systems (http://www.loopline-systems.com)
* @license https://github.c... |
<?php
namespace DeliciousBrains\WPMDB\Container\PhpDocReader;
use DeliciousBrains\WPMDB\Container\PhpDocReader\PhpParser\UseStatementParser;
use ReflectionClass;
use ReflectionMethod;
use ReflectionParameter;
use ReflectionProperty;
use Reflector;
/**
* PhpDoc reader
*
* @author Matthieu Napoli <matthieu@mnapoli.f... |
<!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>Web Programming II</title>
</head>
<body>
<center>
<form action="<?= base_url('matakuliah/cetak... |
<?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.7
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2013 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Core;
/**
* Upload Class
*
* @package Fuel
* @category Core
* @... |
<?php get_header();
?>
<div class="parallax full-width-bg lr_widget">
<div class="container">
<div class="main-title">
<div class="column dt-sc-three-fifth first">
<h1>IvyCamp Event</h1>
</div>
<!-- <div class="column dt-sc-two-fifth first ">
<a class="dt-sc-... |
@extends('layouts.app')
@section('content')
<div class="col-md-12">
<h1>Smazat předpis</h1>
<p>Určitě si přejete smazat předpis?</p>
<table class="table">
<thead>
<tr>
<th>ID predpisu</th>
<th>Rodné číslo</th>
<th>Pojišťovna</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{$predpis->id_p... |
<?php
/**
* Created by PhpStorm.
* User: guenter
* Date: 04.04.14
* Time: 20:22
*/
namespace FSW\Services\Facade;
//use Libadmin\Model\BaseModel;
use FSW\Model\Forschung;
use FSW\Model\Person;
use Zend\Db\TableGateway\TableGateway;
use Zend\Db\Adapter\Adapter;
use Zend\Db\Sql\Sql;
class ForschungFacade extends... |
<?php
namespace AlvariumDigital\WorkflowMakr\Helpers;
use AlvariumDigital\WorkflowMakr\Exceptions\TransitionNotAuthorized;
use AlvariumDigital\WorkflowMakr\Exceptions\TransitionRollbackNotAuthorized;
use AlvariumDigital\WorkflowMakr\Models\History;
use AlvariumDigital\WorkflowMakr\Models\Scenario;
use AlvariumDigital... |
@if ($showLabel && $showField)
<div {!! $options['wrapperAttrs']!!} >
@endif
@if ($showLabel)
<?php $options['label_attr']['class'] .= ' col-md-3'; ?>
{!! Form::label($name, $options['label'], $options['label_attr']) !!}
@endif
<div class="col-md-4">
@if ($showField)
@if(isse... |
<?php
namespace SBBCodeParser;
class Node_Container_Document extends Node_Container
{
/**
* Current Tag
* @var Node_Container
*/
protected $current_tag = null;
/**
* Assoc array of all the BBCodes for this document
* @var array
*/
protected $bbcodes = array();
/**
* Base URI to be used for links... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class inicioSesionAsesor extends Model
{
protected $table = 'inicioSesionAsesor';
protected $fillable = [
'idAsesorEmpresa','clave', 'nombre','cargo','telefono','correo','tipoAsesor','password'
];
} |
<?php
namespace ApiClacBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/');
$this->assertContains('Hell... |
<?php
return [
'guide_title' => 'Průvodce Nákupem',
'compare_prices' => 'Porovnat ceny',
'to_the_shop' => 'Do obchodu',
'add' => 'Přidat',
'accept' => 'Potvrdit',
'next' => 'Dalších',
'less' => 'Méně',
'show_reviews' => 'Zobrazit recenze',
'close' => 'Zavřít',
'next1' => 'Další'... |
<?php
namespace app\services;
use yii;
use yii\base\Component;
/**
* Created by PhpStorm.
* User: liuzhen12
* Date: 17-5-16
* Time: 上午10:36
*/
class LoggingService extends Component implements LoggingInterface
{
private static $counter = 0;
private $dynamicCounter = 0;
private static $id;
public... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Validator;
class Statik extends Model {
public function getValidationCreateUser($data){
$validator = Validator::make(
array(
'Fullname' => $data->fullname,
... |
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>{{$title}}</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<section class="content">
<div class="container-fluid">
<div class="block-header">
<h2>Edit Course</h2>
</div>
<?php
if($this->session->flashdata('msg')==4) {
echo '<div class="alert alert-danger">Already exits.</div>';
}
?>
<div class="row clearfix">
<div class... |
@extends('index')
@section('content')
<?php
$setting = Cache::get('setting');
?>
<section class="vk-content">
<div class="vk-breadcrumb">
<div class="vk-breadcrumb__banner">
<div class="vk-img vk-img--cover">
<img src="{{asset('public/images/banner/banner-1.jpg')}}" alt="" cl... |
<?php
declare(strict_types=1);
namespace Jadob\Core;
use Jadob\Container\Container;
use Jadob\Core\Exception\KernelException;
use Jadob\EventDispatcher\EventDispatcher;
use Jadob\Router\Route;
use Jadob\Router\RouteCollection;
use Jadob\Router\Router;
use PHPUnit\Framework\TestCase;
use Psr\Log\NullLogger;
use Symfon... |
<?php
/*
* $Id: ContainsConditionTest.php 123 2006-09-14 20:19:08Z mrook $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE AR... |
<?php
/**
* Author:Dieudonne Takougang
* Date: 11/10/2020
* Description: User service implementation
*/
namespace App\Services;
use App\Repositories\Interfaces\UserRepositoryInterface;
use App\Services\Interfaces\UserServiceInterface;
use Illuminate\Support\Facades\Auth;
class UserService implements UserService... |
<?php
namespace Osoobe\Linkable\Models;
use Carbon\Traits\Timestamp;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
use Osoobe\LaravelTraits\Support\Active;
use Osoobe\LaravelTraits\Support\TimeDiff;
use Osoobe\LaravelTraits\Support\Userstamp... |
<?php
namespace App\Models\Cultures;
use Illuminate\Database\Eloquent\Model;
use App\Models\Cultures\Traits\Relationship\CulturesRelationship;
use App\Models\Cultures\Traits\Attribute\CulturesAttribute;
class Cultures extends Model
{
/**
* The database table used by the model.
*
* @var string
... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Store Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Animate.css -->
<link rel="stylesheet" href="css/animate.css">
<!-- Icomoon Icon Fonts-->
<link rel=... |
<!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" />
<meta name="generator" content="http://www.movabletype.org/" />
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AlterOriHelpdesk2 extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('ori_helpdesk', function (Blueprint $table) {
$table->intege... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
function check_login($con)
{
if(isset($_SESSION['user']))
{
$id = $_SESSION['user'];
$query = "SELECT * from Login where user = '$id' limit 1";
result = mysqli_query($con, $query)
if($result && mysqli_num_rows($result) > 0)
{
$user_data = mysqli_fetch_a... |
<?php
namespace atoum\atoum\cli\command;
use atoum\atoum\exceptions;
class exception extends exceptions\runtime
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Customer;
class CustomerController extends Controller
{
function __construct()
{
$this->middleware('permission:customer-list|customer-create|customer-edit|customer-delete', ['only' => ['index','show']]);
$this... |
<?php
namespace JouwWeb\TokenBucket\Storage;
use JouwWeb\TokenBucket\Storage\Scope\GlobalScope;
use Laminas\Cache\Storage\StorageInterface;
use malkusch\lock\mutex\CASMutex;
class LaminasStorage implements Storage, GlobalScope
{
const PREFIX = 'TokenBucket_';
/** @var string */
protected $key;
/** ... |
<?php
namespace App\Models;
use Osiset\ShopifyApp\Contracts\ShopModel as IShopModel;
use Osiset\ShopifyApp\Traits\ShopModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class ... |
<?php
/**
* @package Grav\Framework\Uri
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Framework\Uri;
use InvalidArgumentException;
use function is_string;
/**
* Class Uri
* @package Grav\Framewor... |
<?php
/**
* Project: kriteria.
* @author Adryan Eka Vandra <adryanekavandra@gmail.com>
*
* Date: 11/4/2019
* Time: 9:24 AM
*/
namespace app\helpers\kriteria9;
use common\models\kriteria9\led\Led;
use common\models\kriteria9\lk\Lk;
use common\models\kriteria9\penilaian\Penilaian;
use JsonMapper;
use Yii;
use yii... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Edge extends Model
{
protected $table = 'edge';
public $timestamps = false;
protected $fillable = array(
'weight',
'erosseg',
'type',
);
public function node1()
{
return $this->belongsTo('App\Node', 'node1_id', 'id');
}
public func... |
<?php
namespace MelonSmasher\EthosPHP\HumanResources;
use MelonSmasher\EthosPHP\EthosClient;
/**
* Class EmploymentFrequenciesClient
*
* EmploymentFrequenciesClient class used to interact with the `employment-frequencies` data type.
* Domain: Human Resources
... |
<!DOCTYPE html>
<html lang="es">
<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">
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdn.j... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class extracurricular extends Model
{
use HasFactory;
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class DashboardController extends Controller
{
public function index(Request $request)
{
$request->session()->flash('flash.banner', 'Yay it works!');
$request->session()->flash('flash.bannerStyle', 'success');
return ... |
@extends('layouts.app')
@section('content')
<v-container>
<v-layout justify-center class="my-4">
<h1>Create Social Network Link</h1>
</v-layout>
<v-layout justify-center>
<v-flex xs6>
<form action="{{ route('social-pages.store') }}" method="post" enct... |
<?php
/**
* Created by PhpStorm.
* User: pcunningham
* Date: 4/12/16
* Time: 4:31 PM
*/
namespace App\Providers;
use App\Models\Suppression;
use App\Models\SuppressionReason;
use App\Repositories\SuppressionRepo;
use App\Services\SuppressionService;
use Illuminate\Support\ServiceProvider;
use App\Models\Suppress... |
<?php
return [
'listadomatricula' => 'Listado de Matrículas',
'numero' =>'Número de matrícula',
'asesor' =>'Asesor',
'persona' =>'Persona',
'terminado' =>'Cancelado',
'cancelado' =>'Baja',
'cursa' =>'Cursa',
'datos... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateStoresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('stores', functio... |
<?php
$image_position = get_sub_field('image_position');
$image = get_sub_field('image');
$div_style = "background-image: url('" . get_sub_field('image') . "'); ";
$div_style .= "background-size: " . get_sub_field('background_size') . "; ";
$div_style .= "min-height: " . get_sub_field('min_height') . "px; ";
?>
<... |
<input type="checkbox" name="item[]" class="item_checkbox" value="{{ $id }}"> |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Portal PPDB SMK Online</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="{{asset('landing... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReviewBaseTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// review_base Database Tabl... |
<?php
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript;
use RectorPrefix20210828\Helmich\TypoScriptParser\Parser\Traverser\Visitor;
use Rector\Core\Contract\Rector\RectorInterface;
interface TypoScriptRectorInterface extends \Rector\Core\Contract\Rector\RectorInterface, \RectorPr... |
<?php
/**
* Created by PhpStorm.
* User: 3N
* Date: 2018/9/9
* Time: 21:37
*/
namespace App\Common\Actions;
class BaseAction
{
} |
<?php // $Id: chatinput.php,v 1.19.4.6 2009/01/14 04:35:23 dongsheng Exp $
$nomoodlecookie = true; // Session not needed!
require('../../../config.php');
require('../lib.php');
$chat_sid = required_param('chat_sid', PARAM_ALPHANUM);
$chatid = required_param('chat_id', PARAM_INT);
if (... |
<?php
add_action( 'after_setup_theme', 'blankslate_setup' );
function blankslate_setup() {
load_theme_textdomain( 'blankslate', get_template_directory() . '/languages' );
add_theme_support( 'title-tag' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'responsive-embeds' );
add_theme_support( 'automatic-fee... |
<?php
namespace App\Http\Controllers\Pnf;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\pnf\Cohorte;
use App\Models\usuario\Usuario;
use App\Models\publico\Persona;
use App\Http\Controllers\Comunes\PdfController;
class CohorteController extends Controller
{
public function get... |
<?php $this->load->view('admin_layout/header');?>
<?php
$pageName = "User Registration";
$calledName = "Customer";
$heading = "User Registration";
$key = "user_id";
$tableName='e_users';
$fields = array('Full Name','Email','Phone','Role','Status');
$indexes = array('name','email','phone','role','status');
?>
<div clas... |
<?php
$this->load->view('templates/headers/admin_header', $title);
$info = '';
if(!empty($_GET['info'])){
$info = $_GET['info'];
}
?>
<style type="text/css">
.pagination_ul li {
display: inline-block;
}
.pagination_ul {
padding:10px;
}
.pagination_ul li .active {
background: #140c0c1a;
}
.thumbnail ... |
<?php
namespace yii\helpers;
use backend\models\AktJurnalUmumDetail;
use backend\models\MenuNavigasi;
use backend\models\MenuNavigasiRole;
use Yii;
class Utils
{
public static function getDsnAttribute($name, $dsn)
{
if (preg_match('/' . $name . '=([^;]*)/', $dsn, $match)) {
return $match... |
@extends('layouts.app')
@section('title', $pageTitle)
@section('content')
<div class="first-section row">
<div class="col-md-10 col-md-offset-1">
<div class="download-weafrican">
<div class="col-md-9 col-sm-8 col-xs-12">
<h2>weafrican</h2>
<p>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.