text stringlengths 2 1.03M |
|---|
</div>
<!-- /.container-fluid -->
</div>
<!-- Footer -->
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>Copyright © Muchsin & Istna</span>
</div>
</div>
</foo... |
<?php declare(strict_types=1);
namespace Chiiya\Passes\Google\Components\Common;
use Chiiya\Passes\Common\Component;
class AppLinkData extends Component
{
/**
* Optional.
* Optional information about the partner app link. If included, the app link link module will be rendered on
* the valuable det... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
<?php
namespace Tests\Feature;
use App\Models\Space;
use App\Models\Spending;
use App\Models\User;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class SpendingTest extends TestCase
{
public function testUnauthorizedUserCantDeleteSpending()
... |
<script type="text/javascript">
$(document).ready(function() {
// $.ajax({
// url : "<?php echo site_url('index.php/Universitas/get_universitas_aktif_all')?>",
// type: "GET",
// dataType: "JSON",
// success: function(response){
// response.forEach(... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('companies', f... |
<?php
namespace models;
use isxoq\multilingual\behaviors\MultilingualBehavior;
class PostWithLocalizedPrefix extends PostCustomized
{
public static function tableName()
{
return '{{%post_prefixed}}';
}
public function behaviors()
{
return [
'multilingual' => [
... |
@extends('admin.index')
@section('content')
<div class="breadcrumbs">
<div class="col-sm-4 float-right-1">
<div class="page-header float-left float-right-1">
<div class="page-title">
<h1>{{__('messages.quesans')}}</h1>
</div>
</div>
</div>
<div class="col-sm-8 float-le... |
<?php
namespace Shopsys\ShopBundle\Controller\Front;
use Shopsys\FrameworkBundle\Component\Domain\Domain;
use Shopsys\FrameworkBundle\Model\Order\Order;
use Shopsys\FrameworkBundle\Model\Script\ScriptFacade;
use Symfony\Component\HttpFoundation\Response;
class ScriptController extends FrontBaseController
{
/**
... |
<?php
/**
* @author col.shrapnel@gmail.com
* @link http://phpfaq.ru/safemysql
*
* Safe and convenient way to handle SQL queries utilizing type-hinted placeholders.
*
* Key features
* - set of helper functions to get the desired result right out of query, like in PEAR::DB
* - conditional query building using p... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Requests\SimpleRequest;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\File;
use App\Product;
use App\Category;
use App\Catalog;
use App\Color;
class WebColorsController extends Controller... |
<?php
namespace App\Containers\PrivateCabinet\Actions;
use App\Ship\Parents\Actions\Action;
use App\Ship\Parents\Requests\Request;
use Apiato\Core\Foundation\Facades\Apiato;
class setAdsActivityAction extends Action
{
public function run(Request $request)
{
if($request->input('state')=='true'){
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
// Table Name
protected $table = 'posts';
// Primary Key
public $primaryKey = 'id';
// Timestamps
public $timestamps = true;
public function user(){
return $this->belongsTo('App\User');
}
} |
<?php
if (!defined('DC')) die("!defined('DC')");
$tpl['data']['credit_part_type'] = 'money_back_request';
$tpl['data']['credit_part_type_id'] = ParseData::findType($tpl['data']['credit_part_type']);
$tpl['data']['time'] = time();
$tpl['data']['user_id'] = $user_id;
$tpl['my_orders'] = $db->query( __FILE__, __LINE__, ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class LogoutController extends Controller
{
public function index(){
auth()->logout();
return redirect('login')->with(["status"=>"Logout!"]);
}
} |
<?php
declare (strict_types=1);
namespace RectorPrefix20211221\Symplify\Skipper\SkipCriteriaResolver;
use RectorPrefix20211221\Symplify\PackageBuilder\Parameter\ParameterProvider;
use RectorPrefix20211221\Symplify\Skipper\ValueObject\Option;
use RectorPrefix20211221\Symplify\SmartFileSystem\Normalizer\PathNormalizer;... |
@if ($paginator->hasPages())
<nav class="flexbox mt-30">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<a class="btn btn-white disabled"><i class="ti-arrow-left fs-9 mr-4"></i> Newer</a>
@else
<a class="btn btn-white " href="{{ $paginator->... |
<?php declare(strict_types=1);
namespace Dive\Fez\Contracts;
interface Titleable
{
public function title(string $title);
} |
<?php
session_start();
// inputan
$uname = $_POST['uname'];
$upass = $_POST['upass'];
// hardcode
$username = "ubus_admin";
$password = "1234";
// $k = new PDO("mysql:host=localhost;dbname=unimedia_senin", "root", "");
// $sql = "SELECT * FROM users WHERE username = ?";
// $result = $k->prepare($sql);
//$result->execut... |
<div class="row">
<div class='col-12 col-sm-12 col-md-12'>
<div class="pull-right">
<button id="btnNewAuth" data-toggle="modal" class="mb-xs mt-xs mr-xs btn btn-primary" data-target="#newAuth">
Agregar <i class="fa fa-plus"></i>
</button>
</div>
</div>
</div>
<!-- start: page -->
<div class="row">
<div... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ShippingAlertGeneric extends Mailable
{
use Queueable,
SerializesModels;
/**
* The shipment instance.
*
* @var... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Proveedores */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Proveedores', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="proveedores-view">
... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... |
<?php
return [
'main' => [
'className' => 'Dengarin\Main\Module',
'path' => APP_PATH . '/modules/main/Module.php',
'namespace' => [
'base' => 'Dengarin\Main',
'webController' => 'Dengarin\Main\Controllers\Web',
'apiController' => 'Dengarin\Main\Controller... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace Post\Form;
use Zend\Form\Form;
class PostForm extends Form{
function __construct($name = null){
parent::__construct('post');
$this->setAttribute('method', 'POST');
$this->add([
'name' => 'id',
'type' => 'hidden'
... |
<?php
/**
* Mix plugin for Craft CMS 3.x
*
* Helper plugin for Laravel Mix in Craft templates
*
* @link https://venveo.com
* @copyright Copyright (c) 2017 Venveo
*/
namespace venveo\mix\variables;
use venveo\mix\Mix;
use Craft;
/**
* Mix Variable
*
* Craft allows plugins to provide their own template... |
<div class="container" ng-controller="cultivosController">
<div class="col-xs-12">
<h4>Gestión de Cultivos</h4>
<hr>
</div>
<div class="col-xs-12" style="margin-top: 5px;">
<div class="col-sm-6 col-xs-8">
<div class="form-group has-feedba... |
<?php declare(strict_types = 1);
/**
* Test: Mapping\Parameter\BooleanTypeMapper
*/
require_once __DIR__ . '/../../../../bootstrap.php';
use Apitte\Core\Exception\Runtime\InvalidArgumentTypeException;
use Apitte\Core\Mapping\Parameter\BooleanTypeMapper;
use Tester\Assert;
use Tester\TestCase;
final class TestBool... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class PromotionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get... |
<?php
require __DIR__ . '/../src/autoload.php';
$rng = new \Riimu\Kit\SecureRandom\SecureRandom();
$timer = microtime(true);
$rng->shuffle(range(0, 100000));
//$rng->getSequence(range(0, 100000), 100000);
echo 'Time: ' . round(microtime(true) - $timer, 2) . ' s' . PHP_EOL;
echo 'Memory: ' . round(memory_get_peak_us... |
<!doctype html>
<html>
<head>
<title>harviacode.com - codeigniter crud generator</title>
<link rel="stylesheet" href="<?php echo base_url('assets/bootstrap/css/bootstrap.min.css') ?>"/>
<style>
body{
padding: 15px;
}
</style>
</head>
<b... |
<?php
namespace TweakIt\Bundle\DoctrineDatagridBundle\Datagrid;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormFactory;
use Symfony\Component\HttpKernel\Kernel;
/**
* @author Maxime CORSON <maxime.corson@spyrit.net>
*/
class FilterObject
{
protected $data = array();
... |
<?php
class Detalles_producto_model extends CI_Model {
public function __construct() {
parent::__construct();
}
public function get_producto($id) {
$this->db->where('id_producto', $id);
$query = $this->db->get('producto');
return $query->result();
}
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
<?php
namespace RedUNIT\Blackhole;
use RedUNIT\Blackhole as Blackhole;
use RedBeanPHP\Facade as R;
use RedBeanPHP\ToolBox as TB;
use RedBeanPHP\QueryWriter as QueryWriter;
use RedBeanPHP\Adapter as Adapter;
use RedBeanPHP\OODB as OODB;
use RedBeanPHP\BeanHelper as BeanHelper;
use RedBeanPHP\BeanHelper\SimpleFacadeBea... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;
use App\EiaQuestion;
use App\EiaRelated;
use Session;
use storage;
use Validator;
use Response;
use Redirect;
use App\Uploads;
use Image;
use DB;
class EiaQuestionController extends Controller
{
/**
* Di... |
<?php
namespace App\Form;
use App\Entity\User;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class UserType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\MediaBundle\Domain\Event;
use Sulu\Bundle\EventLogBundle\Domain\Event\DomainEvent;
use Sulu\Bundle\MediaBundle\Admin\... |
<?php declare(strict_types=1);
/**
* This File is part of JTL-Software
*
* User: mbrandt
* Date: 11/12/19
*/
namespace JTL\SCX\Lib\Channel\MetaData\Attribute;
use JTL\SCX\Lib\Channel\Contract\MetaData\MetaDataCategoryAttributeLoader;
use RuntimeException;
class DefaultMetaDataCategoryAttributeLoader implements ... |
<!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">
<meta name="description" content="">
<meta name="author" content="Facin">
<title>Denúncias</title>
... |
<?php
/**
* Whoops - php errors for cool kids
* @author Filipe Dobreira <http://github.com/filp>
*/
namespace Whoops\Handler;
use RuntimeException;
use StdClass;
use Whoops\TestCase;
use Whoops\Exception\Frame;
class PlainTextHandlerTest extends TestCase
{
const DEFAULT_EXCEPTION_LINE = 34;
const DEFAULT_... |
<?php
namespace app\controllers;
use Yii;
use app\models\Users;
use app\models\UsersSearch;
use yii\helpers\Url;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\data\ActiveDataProvider;
use app\models\UploadForm;
use yii\web\UploadedFile;
/**
* UsersController implemen... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use app\widgets\Alert;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->lang... |
@extends('admin.layouts.app', ['title' => 'Главная страница', 'active_index' => 'active'])
@section('content')
<section class="content">
<div class="container-fluid">
<div class="block-header">
<h2>Главная страница</h2>
</div>
<div class="row clearfix">
... |
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Http;
class HomeController extends Controller
{
/**
* index
*
* @return void
*/
public function index()
{
$tags = Http::get('https://master.idkoding.com/api/tag');
... |
<section class="leto">
<div class="row">
<span class="col-md-7">
<ul class="baseul">
<li>¿Desea Contactarnos? </li>
<li class="phone"><i class="fa fa-fw fa-phone-square"></i><a href="tel:8095418233"> 809-541-8233</a></li>
<li class="phone"><i class="fa fa-fw fa-phone-square"></i>... |
@extends('backend.layouts.app')
@section('title',$title)
@section('content')
<div id="app" class="container-fluid" data-site="{{$url}}" data-unset="{{url('unset')}}" data-limit="{{$limit}}">
<div class="row">
<div class="col-lg-9 col-12">
<div class="card border-0 h-100">
... |
<?php
/**
* This is the model class for table "cataloginventory_stock_status".
*
* The followings are the available columns in table 'cataloginventory_stock_status':
* @property string $product_id
* @property integer $website_id
* @property integer $stock_id
* @property string $qty
* @property integer $stock_s... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddLocationToTournamentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('tourn... |
<html>
<head>
<title>AndroidHive | Firebase Cloud Messaging</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="//www.gstatic.com/mobilesdk/160503_mobilesdk/logo/favicon.ico">
<link rel="stylesh... |
<?php
namespace CTApi\Models;
use CTApi\Models\Traits\FillWithData;
use CTApi\Models\Traits\MetaAttribute;
use CTApi\Requests\SongRequest;
class Song
{
use FillWithData, MetaAttribute;
protected ?string $id = null;
protected ?string $arrangementId = null;
protected ?string $name = null;
protec... |
<?php
namespace nanson\messenger\widgets;
use Yii;
use yii\base\Widget;
use yii\helpers\ArrayHelper;
use yii\data\ActiveDataProvider;
use yii\base\InvalidConfigException;
use nanson\messenger\models\Message;
/**
* Class Messages
* @package nanson\messenger\widgets\messenger
* @author Chernyavsky Denis <panopticum... |
<?php
use App\Term;
use Illuminate\Database\Seeder;
class TermsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Term::truncate();
$data = [
'title' => 'Terms of Use',
'body' => '
... |
<?php
namespace App\Http\Livewire\User;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
class Index extends Component
{
public function render()
{
return view('livewire.user.index')->layout('layouts.admin');
}
} |
<?php
class Controller_Reports extends Controller {
public function __construct($call=null, $method=null) {
parent::__construct($call, $method);
$this->data['menu']['reports'] = array( 'url' => UIR.'Reports', 'display' => 'Reports' );
}
public function index() {
}
function parkheraldry($kingdom_id=null) ... |
<?php
/* SonataBlockBundle:Block:block_container.html.twig */
class __TwigTemplate_5e0d19cd5f91b379219e72bf86b1d48563166b2936ff6502a99742a25107bd55 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->blocks = array(
'block_... |
<?php
/******** DESCRIÇÃO DO DOCUMENTO ********
* Nome do ficheiro: ex1.php *
* UC: Programação II *
* @author Ema Guedes *
* @version 1.0 *
* Data: Janeiro de 2020 *
* Descrição: ficha 2, exercício 1 *
*****************************************/
?>
<!DOCTYPE html>
<html lang="pt">
<hea... |
<?php
namespace PhpTuf\ComposerStager\Console\Output;
use PhpTuf\ComposerStager\Domain\Output\ProcessOutputCallbackInterface;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @internal
*/
final class ProcessOutputCallback implements ProcessOutputCallba... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sh... |
<?php
/**
* This file is part of amfPHP
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file license.txt.
* @package Amfphp_Backoffice_Generators
*/
/**
* generates a Flash project for consumption of amfPHP services
*
* @author Ariel Sommeria-klein
* ... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class LinkResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
/**
* Copyright (c) 2013, EBANX Tecnologia da Informação Ltda.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright not... |
<?php
namespace Mpclarkson\FreshdeskBundle\Tests\DependencyInjection;
/**
* @covers \Mpclarkson\FreshdeskBundle\DependencyInjection\Configuration
*/
class ConfigurationTest extends \PHPUnit_Framework_TestCase
{
public function testImplementsConfigurationInterface()
{
$rc = new \ReflectionClass('Mpcl... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace Scoop\Storage\SQO;
class Filter
{
protected $from = array();
protected $params = array();
protected $query = '';
protected $order = array();
protected $group = array();
protected $con;
private $rules = array();
private $orderType = ' ASC';
private $limit = '';
pr... |
<?php
namespace Knp\RadBundle\Composer;
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler;
class ScriptHandler extends BaseScriptHandler
{
public static function installParametersFile($event)
{
$options = self::getOptions($event);
$appDir = $options['symfony-app... |
<?php
/**
* This file is part of TheCartPress.
*
* TheCartPress 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.
*
* TheCartPre... |
<!doctype html>
<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="">
<title>Admin TCI UDAYANA</title>
<!-- Bootstrap core CSS -->
<link href="{{ asset('asset\vendor\mdbootstr... |
<?php
/**
* The main template file
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exist... |
<?php
/**
* Template part for displaying results in search pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Bowark
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel=... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('blogs', function (Bluepr... |
<section>
<h1 class="mt-5">Image Gallery</h1><hr>
<div id="gallery" class="container-fluid">
<?php
$imagesDirectory = "./admin-uploads-to-website/insert-admin/images/";
if (is_dir($imagesDirectory))
{
$opendirectory = opendir($imagesDirectory);
while (($image = readdir($opendirectory)) !== false)
{
if((... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Resources\DistrictResource;
use App\Models\District;
use Illuminate\Http\Request;
class DistrictController extends Controller
{
public function index(Request $request)
{
$typeIdsString = $request->input('museu... |
<?php
namespace TwinElements\PostBundle\Controller\Admin;
use Knp\Component\Pager\PaginatorInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use TwinE... |
<div class="container" ng-controller="formController as fc">
<div class=" col-sm-12 col-md-10" id="logo" style="z-index: 1">
<h1 id="about_title">Client Form</h1>
<form class="client_form" name="form1" novalidate>
<h3 class='third_head'>Background Information</h3>
Age
... |
<?php
/*******************************************************************************
* Copyright (c) 2020. CleanPHP. All Rights Reserved.
******************************************************************************/
/**
* File delete
*
* @package app\core\sql
* Date: 2020/10/14 11:20 下午
* Author: ankio
* D... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace Thecodebunny\eBayApi\MerchantData\Types;
/**
*
* @property \Thecodebunny\eBayApi\MerchantData\Types\... |
<?php
use App\Book;
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the ... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<html>
<head>
<title>Pagina Inicial - Estuda.com</title>
<meta content="charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Descrição da pagina Estuda.com">
<meta name="keywords" content="Descrição da pagina Estuda.com">
<meta name="autho... |
<?php
namespace App\Http\Controllers;
use App\User;
use App\Product;
use App\Order;
use DB;
use Illuminate\Http\Request;
use Illuminate\Database\Eloquent\Model;
class UsersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publi... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\VarDumper\Tests\Caster;
use Symfony\Component\VarDump... |
<?php
define('HOST', 'localhost');
define('DBUSER', 'root');
define('DBPASSWORD', '');
define('DATABASE', 'store');
const DRIVER = 'mysql';
const CHARSET = 'utf8mb4';
/**
* Данные для подключения к БД
*/
return [
'db' => [
'driver' => DRIVER,
'dbname' => DATABASE,
'host' => HOST,
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
use App\Http\Requests;
use App\Section;
use App\Product;
use App\Article;
use App\Similar;
class IndexController extends Controller
{
public function error404(){
return view('errors.404');
}
p... |
<?php
namespace Pterodactyl\Repositories\Eloquent;
use Pterodactyl\Models\Server;
use Illuminate\Support\Collection;
use Illuminate\Database\Eloquent\Builder;
use Pterodactyl\Repositories\Concerns\Searchable;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Contracts\Pagination\LengthAwarePagin... |
<?php
namespace app\modules\admin\modules\vote\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
/**
* VoteOptionSearch represents the model behind the search form of `app\modules\admin\modules\vote\models\VoteOption`.
*/
class VoteOptionSearch extends VoteOption
{
/**
* @inheritdoc
*/
... |
<?php
/**
* Copyright (c) 2015 - 2016. Hryvinskyi Volodymyr
*/
namespace app\modules\shop\models;
use dosamigos\transliterator\TransliteratorHelper;
use yii\helpers\Inflector;
use yii\helpers\Url;
use Yii;
class Producer extends \yii\db\ActiveRecord
{
function behaviors() {
return [
'images... |
<?php
/**
* 应用基础控制器
*
* @author linzequan <lowkey361@gmail.com>
*
*/
class MY_Controller extends CI_Controller {
public function __construct() {
parent::__construct();
$this->resource_url = $this->config->item('base_url') . 'www/views/';
$this->load->config('customer');
$this->... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/**
* Banner Categories (banner-category)
* @var $this CategoryController
* @var $model BannerCategory
* @var $form CActiveForm
*
* @author Putra Sudaryanto <putra@sudaryanto.id>
* @copyright Copyright (c) 2014 Ommu Platform (ommu.co)
* @link https://github.com/oMMu/Ommu-Banner
* @contect (+62)856-299-41... |
<?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 CreateCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', f... |
<?php
// DUTCH USERS.PHP FILE
$language["FIND_USER"] = "Vind Gebruiker";
$language["USER_LEVEL"] = "Gebruikerslevel";
$language["ALL"] = "Alle";
$language["SEARCH"] = "Zoek";
$language["USER_NAME"] = "Gebruikersnaam";
$language["USER_LEVEL"] = "Gebruikerslevel";
$language["U... |
@section('page_title')
Tasks for Course > {{ $course->name }}
@endsection
@section('title')
Tasks for {{ $course->code }}
@endsection
<div class="p-4">
<div>
@if ($current_task)
<div x-data="{preview: false}" x-show="preview" x-cloak @open-task-preview.window="preview = true" class="bg... |
<?php
declare (strict_types=1);
namespace RectorPrefix20220220;
use Rector\Core\ValueObject\Visibility;
use Rector\Nette\Kdyby\Rector\ClassMethod\ChangeNetteEventNamesInGetSubscribedEventsRector;
use Rector\Nette\Kdyby\Rector\MethodCall\ReplaceEventManagerWithEventSubscriberRector;
use Rector\Renaming\Rector\Name\Ren... |
<?php
namespace Apie\StaticResourcesPlugin;
use Apie\Core\PluginInterfaces\ResourceProviderInterface;
class StaticResourcesPlugin implements ResourceProviderInterface
{
private $resources;
/**
* @param array $resources
*/
public function __construct(array $resources)
{
$this->reso... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Guia extends Model
{
use HasFactory;
public function scopeBuscarpor($query, $tipo, $buscar){
if(($tipo) && ($buscar)){
return $query->where($tipo, 'like',... |
<?php
use const OTGS\Toolset\Views\UserCapabilities\EDIT_VIEWS;
/**
* Create a Content Template.
*
* Currently only used in the Content Template Listing page.
*
* @since unknown
* @since 2.7.0 Moved the callback here.
*/
class WPV_Ajax_Handler_Create_Content_Template extends Toolset_Ajax_Handler_Abstract {
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.