text stringlengths 2 1.03M |
|---|
<?php
/* Cachekey: cache/stash_default/doctrine/[portlandlabs\concrete5\migrationtool\batch\validator\page\content\factory@[annot]][1]/ */
/* Type: array */
/* Expiration: 2021-09-13T11:59:20+00:00 */
$loaded = true;
$expiration = 1631534360;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Comments;
class CommentController extends Controller
{
public function addComment(Request $request){
$username = $request->input('username');
$commenttext = $request->input('comment');
$postid = $request->input('postid');... |
@extends('app')
@section('content')
<div class="container">
<h3>Pedidos</h3><br>
<table class="table table-hover table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Total</th>
<th>Data</th>
<th>Itens</th>
<th>Entregador</th>
<th>Status</th>
... |
<?php
namespace App\Http\Controllers;
### URL Query : https://laravel.com/docs/5.5/queries .
use App\Http\Requests\StoreBlogCategory;
use Illuminate\Http\Request;
USE App\Category;
class CategoryController extends Controller
{
protected $redirectedTo = '/category';
public function index()
{
$c... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Bundle\ResourceBundle\Controller;
use PhpSpec\ObjectBehavior;
use Prophecy\Argu... |
<?php
/**
* PHPMailer language file: refer to English translation for definitive list
* Swedish Version
* Author: Johan Linnér <johan@linner.biz>
*/
$PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.';
$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
$PHPMAI... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Payment extends Model
{
use HasFactory;
protected $fillable = ['resnumber','price','status'];
public function order()
{
return $this->belongsTo(Order::class);
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Posting;
class WebsiteController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$website = Posting::where('id_kat... |
@extends('layouts.front')
@section('page')
<div class="container">
<div class="row pt120">
<div class="books-grid">
<div class="row mb30">
@foreach($products as $product)
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<!--Start Header -->
<header id="header">
<!-- Start Header Top -->
<div class="header-top">
<div class="container">
<div class="row">
<div class="hidden-sm hidden-xs col-md-6">
<!-- Topbar Menu -->
<div ... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4
Version: 4.0.1
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', $config->seo_title)</title>
<meta name="descr... |
<?php
final class PhabricatorPeopleQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $usernames;
private $realnames;
private $emails;
private $phids;
private $ids;
private $dateCreatedAfter;
private $dateCreatedBefore;
private $isAdmin;
private $isSystemAgent;
private $isDisabled;
... |
<?php
/** .-------------------------------------------------------------------
* | Software: [HDPHP framework]
* | Site: www.hdphp.com www.hdcms.com
* |-------------------------------------------------------------------
* | Author: 向军 <2300071698@qq.com>
* | WeChat: aihoudun
* | Copyright (c) 2012-20... |
<?php
namespace App\Http\Middleware;
use Closure;
class CheckDomain
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// $host = $request->h... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
namespace App\Models;
use App\Tenant\TenantModels;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
use TenantModels, Uuid;
protected $fillable = ['name'];
} |
<?php
/**
* Author: Amir Hossein Jahani | iAmir.net
* Last modified: 3/1/21, 12:13 PM
* Copyright (c) 2021. Powered by iamir.net
*/
namespace iLaravel\iPost\iApp\Http\Controllers\API\v1\Type;
use Illuminate\Http\Request;
trait RequestFilter
{
public function requestFilter($request, $model, $parent, $current... |
<?php
/**
* Test: Nette\Config\Configurator and autowiring.
*
* @author David Grudl
* @package Nette\Config
*/
use Nette\Config\Configurator;
require __DIR__ . '/../bootstrap.php';
class Factory
{
/** @return Model auto-wiring using annotation */
static function createModel()
{
return new Mode... |
<?php namespace Sumeko\Http\Exception;
use Sumeko\Http;
class NetworkAuthenticationRequiredException extends Http\ServerException implements Http\ExceptionInterface
{
protected $code = 511;
protected $message = "Network Authentication Required";
protected $explanation = "Indicates that the client needs to... |
<?php
class NodeRepositoryTest extends TestBase {
protected function getNodeRepository()
{
return $this->app->make('Reactor\Hierarchy\NodeRepository');
}
/** @test */
function it_is_instantiatable()
{
$this->assertInstanceOf(
'Reactor\Hierarchy\NodeRepository',
... |
<nav class="bg-white shadow dark:bg-gray-800">
<div class="container px-6 py-3 mx-auto md:flex md:justify-between md:items-center">
<div class="flex items-center justify-between">
<div>
<a class="text-xl font-bold text-gray-800 dark:text-white md:text-2xl hover:text-gray-700 dark... |
<?php
namespace App\Repositories;
use App\Models\users;
use InfyOm\Generator\Common\BaseRepository;
/**
* Class usersRepository
* @package App\Repositories
* @version October 23, 2018, 2:39 pm UTC
*
* @method users findWithoutFail($id, $columns = ['*'])
* @method users find($id, $columns = ['*'])
* @method us... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/**
*
*
* @package CodeIgniter
* @category Model
* @author Muhamad Taopik <muhamadtaopik007@gmail.com>
* @link https://github.com/Mr94t3z
* @param ...
* @return ...
*
*/
class Jenjang_model extends CI_Model
{
/**
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CommentLike extends Model
{
protected $fillable = ['user_id', 'comment_id'];
protected $casts = ['user_id' => 'integer', 'comment_id' => 'integer'];
#region Relations
#endregion
#region Mutators
#endregion
#regio... |
<?php
namespace app\commands;
use app\models\Investment;
use Yii;
use yii\console\Controller;
use app\models\User;
use app\models\Revenue;
class MeritController extends Controller
{
public $excludeDiamondMembers = array();
public function loadDiamondMembers()
{
$diamonds = User::find()->where(['... |
<?php
namespace Nails\Invoice\Resource\Invoice\Data;
use Nails\Common\Resource;
use Nails\Invoice\Resource\ArbitraryData;
/**
* Class Payment
*
* @package Nails\Invoice\Resource\Invoice\Data
*/
class Payment extends ArbitraryData
{
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
require __DIR__.'/../vendor/autoload.php';
# ************* REQUEST VALUES *************
$method = "POST";
$service = "translate";
$region = "us-west-2";
$host = $service . "." . $region . ".amazonaws.com";
$endpoint = "https://" . $host . "/";
# POST requests use a content type header. For Amazon Translate,
# ... |
<?php
namespace Ow\Manageable\Http;
use Spatie\MediaLibrary\HasMedia\Interfaces\HasMedia;
use Ow\Manageable\Contracts\Manageable;
use Ow\Manageable\Entities\RepositoryFactory;
use Ow\Manageable\Entities\EntityFactory;
use Ow\Manageable\Events\MediaAttachedTo;
use Ow\Manageable\Http\Criteria;
use Ow\Manageable\Http\R... |
<?php
include 'koneksi.php';
// menyimpan data id kedalam variabel
$nim = $_GET['nim'];
// query SQL untuk insert data
$query="DELETE from mahasiswa where nim='$nim'";
mysqli_query($koneksi, $query);
// mengalihkan ke halaman index.php
header("location:index2.php");
?> |
<?php
namespace Minime\Brasil\Endereco;
use Minime\Provedor\HttpRequest;
use Minime\Provedor\HttpHelper;
class Correios {
private $uri = "http://www.buscacep.correios.com.br/servicos/dnec/";
private $to_json = false;
public function toJson() {
$this->to_json = true;
return $this;
... |
<?hh // partial
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
namespace Facebook\HackRouter;
use namespace HH\Lib\{C, Dict, Keyset, Str, Vec};
// Dump... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateGamesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('games', function (Blueprint $table) {
$table... |
<?php
include_once('config.php');
if(isset($_POST['editar'])) {
$id = $_POST['id'];
$nome = $_POST['Nome'];
$sobrenome = $_POST['Sobrenome'];
$email = $_POST['Email'];
$senha = $_POST['Senha'];
$nascimento = $_POST['nascimento'];
$sexo = $_POST['Sexo'];
... |
<?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 Version20200703020344 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
namespace App\Console\Commands;
use App\Product;
use Illuminate\Console\Command;
class TrackCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'track';
/**
* The console command description.
*
... |
<?php
namespace App\Policies;
use App\Post;
use App\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class PostPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any posts.
*
* @param \App\User $user
* @return mixed
*/
public function viewAny(Us... |
<?php
namespace App\Http\Controllers\Ultimate;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Ultimate\Category;
use App\Ultimate\ProductCategory;
use App\Http\Requests\Ultimate\CategoryCreateRequest;
class CategoriesController extends Controller
{
public function __construct() {
... |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ProdutoShowTest extends TestCase
{
/**
* teste Visualizar Produto.
*
* @return void
*/
public function testVisualiz... |
<div class="card p-5 mb-5">
<div class="row form-group">
<div class="col-sm-2">
<label for="content_ru">Описание (ru)</label>
</div>
<div class="col-sm-8">
<textarea id="content_ru" name="content_ru" type="text" class="w-100 summernote" rows="10">{{ old('content_ru')... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
/**
* Class Subject.
*
* @package namespace App\Models;
*/
class Subject extends Model implements Transformable
{
use TransformableTrait;
... |
<?php
$this->breadcrumbs=array(
'Wtos'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List WTo','url'=>array('index')),
array('label'=>'Manage WTo','url'=>array('admin')),
);
?>
<h1>Create WTo</h1>
<?php echo $this->renderPartial('_form', array('model'=>$model)); ?> |
<?php
/**
* Part of windwalker project.
*
* @copyright Copyright (C) 2014 - 2015 LYRASOFT. All rights reserved.
* @license GNU Lesser General Public License version 3 or later.
*/
namespace Windwalker\Renderer;
use League\Plates\Engine as PlatesEngine;
use League\Plates\Extension\ExtensionInterface;
/**
*... |
<?php
/**
* Copyright (c) 1998-2015 Browser Capabilities Project
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use,... |
<?php
ini_set('display_errors', 'on');
use Workerman\Worker;
// 标记是全局启动
define('GLOBAL_START', 1);
require_once __DIR__.'/src/bootstrap.php';
//var_dump(glob(__DIR__ . '/Applications/*/start*.php'));exit;
// app/*/start.php,以便启动所有服务
foreach(glob(__DIR__ . '/Applications/*/start*.php') as $start_file)
{
require... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AdminLTE 3 | DataTables</title>
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
<div class="content-wrapper">
<!-- Content Head... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Selamat Datang</div>
<div class="card-body">
@if (session('statu... |
<?php
namespace Application\Bundle\UserBundle\Repository;
use Application\Bundle\UserBundle\Entity\User;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\NonUniqueResultException;
use Doctrine\ORM\QueryBuilder;
/**
* User Repository
*/
class UserRepository extends EntityRepository
{
/**
* Get all acti... |
{!! Html::style('css/bootstrap.min.css') !!}
{!! Html::style('css/catalog.css') !!}
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="{!! URL::to('/') !!}">Package Product - Laravel 5.1</a>
</div>
<div>
<ul class="nav n... |
<?php
require_once CLASSES_DIR . PHP5_DIR . 'PaymentGateway.class.php';
# Cash payment gateway handler
class cashPaymentGateway extends geoPaymentGateway
{
public $name = 'cash';//make it so that name is known.
const gateway_name = 'cash';
public $type = 'cash';
/**
* Expects to return an array... |
<?php
$url = "http://localhost/api/";
$post_string = '<?xml version="1.0" encoding="UTF-8"?>
<request>
<authentication>
<api_id>EB4RTDHWE5F18BDC8ZJ3</api_id>
<secret_key>FLIDRBM9S8E8PP9DZ9T319HC8WQCTUSINFFKJ7W3</secret_key>
</authentication>
<type>DeleteEmail</type>
<email_id>10</email_id>
</request>';
//ec... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Register';
$this->params['breadcrumbs'][] = $this->title;
?... |
@if(isset($medical_history))
<table border="0" style="border: none">
@foreach($medical_history as $k=>$m)
<tr>
<td width="5%">#{!! $k+1 !!}</td>
<td width="30%"><a href="#!" class="medical-history red-text" data-id="{!! $m->id !!}">{!! $m->date_of_history !!}</a> ... |
<?php
namespace Config;
use CodeIgniter\Config\BaseService;
/**
* Services Configuration file.
*
* Services are simply other classes/libraries that the system uses
* to do its job. This is used by CodeIgniter to allow the core of the
* framework to be swapped out easily without affecting the usage within
* the... |
<!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">
@media screen {
... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace App\Http\Controllers;
use App\Subscriber;
//use Brian2694\Toastr\Toastr;
use Brian2694\Toastr\Facades\Toastr;
use Illuminate\Http\Request;
class SubscriberController extends Controller
{
public function store(Request $request)
{
$this->validate($request,[
'email' => 'requir... |
<?php
defined('IN_IA') or exit('Access Denied');
global $_W, $_GPC;
load()->model('mc');
mload()->model('card');
$ops = array('display', 'query', 'checkpay', 'check');
$op = in_array(trim($_GPC['op']), $ops) ? trim($_GPC['op']) : 'display';
$_W['page']['title'] = '刷卡支付-微信收款';
if ($op == 'display') {
if ($_W['isaja... |
<?php
echo view('layout/v_head');
echo view('layout/v_nav');
// echo view('layout/v_header');
echo view('layout/v_content');
echo view('layout/v_footer'); |
<?php
/**
* Copyright 2017 DataStax, 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 agr... |
<?php
declare(strict_types=1);
namespace Enqueue\Redis;
use Predis\Client;
use Predis\ClientInterface;
use Predis\Response\ServerException as PRedisServerException;
class PRedis implements Redis
{
/**
* @var array
*/
private $parameters;
/**
* @var array
*/
private $options;
... |
<?php
namespace Modules\Activity\Admin;
use Illuminate\Http\Request;
use Modules\AdminController;
use Modules\Activity\Models\Activity;
use Modules\Activity\Models\ActivityCategory;
class BookingController extends AdminController
{
protected $activityClass;
public function __construct()
{
... |
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Ignited Datatables
*
* This is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine
* found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter
*
* @packa... |
<?php
$L = array();
$L["DATA_TYPE"] = array(
"NAME" => "Willekeurig Aantal Woorden",
"DESC" => "Deze optie genereert een willekeurig aantal woorden - het totale aantal ligt binnen het bereik dat u opgeeft (inclusief)."
);
$L["generate"] = "Genereren";
$L["help"] = "Deze optie genereert een willekeurig aantal ... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\MoveSizes */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="move-sizes-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'title')->textInput(['maxlength' => true])... |
<?php
/*
* This file is part of the core-library package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Quadratus\Tests\Model\Proprete;
use DateTime;
use Exception;
use WBW\Library\Qu... |
<?php
/**
* ALIPAY API: alipay.marketing.tool.fengdie.space.create request
*
* @author auto create
* @since 1.0, 2018-04-26 10:13:38
*/
class AlipayMarketingToolFengdieSpaceCreateRequest
{
/**
* 创建空间
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
pri... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Products extends CI_Controller {
function __construct()
{
parent::__construct();
ini_set('max_execution_time', 5000);
ini_set("memory_limit", "-1");
date_default_timezone_set('Asia/Kolkata');
$this->load->model('User_model','U... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.1
Version: 3.3.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... |
<?php
/**
* ARTEMIS-IA Office copyright message placeholder.
*
* @category General
*
* @author Andre Hebben <andre.hebben@artemis-ia.eu>
* @copyright Copyright (c) 2008-2016 ARTEMIS-IA Office (https://artemis-ia.eu)
*/
namespace Program\Service\Factory;
use Affiliation\Service\AffiliationService;
use Doctr... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use \dmstr\bootstrap\Tabs;
use yii\helpers\StringHelper;
/**
* @var yii\web\View $this
* @var app\models\PurchasingBillsDetails $model
* @var yii\widgets\ActiveForm $form
*/
?>
<div class="purchasing-bills-details-form">
<?php $form = ActiveForm::begin(... |
<?php
namespace App\Http\Controllers\Admin;
use App\Model\BusinessVideoUpload;
use App\Model\Video;
use App\Model\VideoUpload;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Session;
use Yajra\DataTables\DataTables;
class BusinessVideoUploadController extends Contro... |
<?php
namespace Craft;
class slugify extends \Twig_Extension {
public function getName() {
return Craft::t('Slugify');
}
public function getFilters() {
return array('slugify' => new \Twig_Filter_Method($this, 'slugify'));
}
public function getFunctions() {
return array('slugify' => new \Twig_F... |
<div class="page-content row">
<!-- Page header -->
<div class="page-header">
<div class="page-title">
<h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3>
</div>
<ul class="breadcrumb">
<li><a href="{{ URL::to('') }}">Home</a></li>
<li> Config</li>
<li cl... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Kelola Jadwal - <?php echo $kereta->nama . ' (' . $kereta->kode . ')';?>
<small>Daftar Jadwal</small>
<a href="<?php echo site... |
<?php
namespace App\Http\Controllers\User\Bid;
use App\Http\Controllers\Controller;
use App\Models\User\Bid;
use App\Models\User\Product;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class BidController extends Controller
{
/**
* Display a listing of the resource.
*
* @return ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LanguageModel extends Model
{
protected $table = 'language';
protected $fillable = [
'name', 'code'
];
} |
<?php $__env->startSection('content'); ?>
<style>
.uper {
margin-top: 40px;
}
</style>
<div class="card uper">
<div class="card-header">
Edit Task
</div>
<div class="card-body">
<?php if($errors->any()): ?>
<div class="alert alert-danger">
<ul>
<?php $__currentLoopData = ... |
<?php
/**
* Author: mark m /
* Date:4/22/2020 12:27 PM
* Email: markmei36@hotmail.com
*
*/
namespace app\api\controller\v1;
use app\api\model\ProductImage;
use app\api\model\ProductProperty;
use app\api\validate\Count;
use app\api\validate\IsIdPositiveInt;
use app\api\validate\isPositiveArray;
use app\api\valid... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Company File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license ... |
@extends('template')
@section('title')
Homepage
@endsection
@section('content')
<div class="content">
<div class="title m-b-md">
This is Home for
</div>
<div class="title m-b-md">
My First Laravel Website
</div>
<div class="hobby">
<h1>Here are the list of my hobbies :</h1>... |
<?php
/**
* Created by PhpStorm.
* User: dell
* Date: 9/24/2020
* Time: 4:31 PM
*/
namespace App\Http\LcgServices;
use App\Http\LcgServices\LcgContracts\LcgNewsGroupContract;
use App\Http\LcgServices\LcgModels\LcgNewsGroup;
use App\Http\Resources\LcgNewsGroup\LcgNewsGroupCollection;
class LcgNewsGroupService im... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Computadora */
$this->title = $model->nombre;
$this->params['breadcrumbs'][] = ['label' => 'Computadoras', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="computadora-vie... |
<?php
namespace Twig\Loader;
class_exists('Twig_LoaderInterface');
if (\false) {
interface LoaderInterface extends \Twig_LoaderInterface
{
}
} |
<?php
return [
/**
* Youtube.
*/
'youtube_key' => env('VIDEO_YOUTUBE_KEY'),
/**
* Youku
*/
'youku_key' => env('VIDEO_YOUKU_KEY'),
/**
* Set the get video information time limit. (seconds)
*/
'video_timeout' => 20
]; |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeProductCategoryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('product_c... |
<?php
/*
* This file is part of the Pops package.
*
* Copyright © 2014 Erin Millard
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
namespace Eloquent\Pops\Safe;
use Eloquent\Pops\ProxyPrimitive;
/**
* A proxy for primitives t... |
<?php
namespace Album\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Album\Model\AlbumTable;
class AlbumController extends AbstractActionController
{
private $table;
public function __construct(AlbumTable $table)
{
$this->table = $table;
}
... |
<?php
/**
* Podcast Title template.
*
* @package Jetpack
*/
namespace Automattic\Jetpack\Extensions\Podcast_Player;
/**
* Template variables.
*
* @var array $attachment
* @var array $primary_colors
* @var array $secondary_colors
* @var bool $is_active
*/
$track_title = $attachment['title'];
$track_lin... |
<?php defined('BASEPATH') or exit('No direct script access allowed');
$lang['streams:year.name'] = 'Rok';
$lang['streams:year.start_year'] = 'Start';
$lang['streams:year.end_year'] = 'Konec';
$lang['streams:year.default_year'] = 'Default Year'; #translate |
@extends('admin.common.layout')
@section('pagetitle')
Suppliers Details
@stop
@section('layoutContent')
@if(!empty($suppliers_details))
<div class="panel panel-default">
<div class="panel-heading">
<a href="{{URL::to('admin/seller/edit/'.$suppliers_details->uname)}}" id="create_supplier" class="btn btn-su... |
<?php
namespace App\Http\Controllers\API;
use App\Models\Food;
use Illuminate\Http\Request;
use App\Helpers\ResponseFormatter;
use App\Http\Controllers\Controller;
class FoodController extends Controller
{
public function all(Request $request)
{
$id = $request->input('id');
$limit = $request-... |
<?php
echo ManagerTheme::view('partials.footer')->render(); |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Rejestracja</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- CSS od Bootstrapa -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" in... |
<?php
/**
* Initialize Elgg's js lib with the uncacheable data
*/
$elgg = array(
'config' => array(
'lastcache' => (int)elgg_get_config('lastcache'),
'viewtype' => elgg_get_viewtype(),
'simplecache_enabled' => (int)elgg_is_simplecache_enabled(),
),
'security' => array(
'token' => array(
'__elgg_ts' =>... |
<?php
use Kirby\Cms\Form;
use Kirby\Cms\User;
/**
* User
*/
return [
'default' => function () {
return $this->user();
},
'fields' => [
'avatar' => function (User $user) {
return $user->avatar() ? $user->avatar()->crop(512) : null;
},
'blueprint' => function (U... |
@extends('layouts.phone')
@section('title')
{{$product->name}}
@endsection
@section('content')
@include('components.headerphone2')
<section>
<div class="container-lg">
<div class="item-wrapper">
<div class="product-added" id="notification">
<div class="product-added-text">✓... |
<?php
namespace Tonysm\TurboLaravel\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow;
use Illuminate\Database\Eloquent\Model;
use Tonysm\TurboLaravel\TurboStreamModelRenderer;
class TurboStreamModelUpdated implements ShouldBroadcastNow
{
use Inter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.