text stringlengths 2 1.03M |
|---|
<?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
return [
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| Here you can change the default title of your admin panel.
|
| For detailed instructions you can look th... |
<?php
/**
* Created by PhpStorm.
* User: hungnv
* Date: 2/13/2017
* Time: 10:32 PM
*/
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class AuthenticateAdmin
{
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->guest()) {
... |
<div class="min-h-screen flex flex-row sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
<div>
<img src="logo.png" alt="logo" srcset="" class="xl:w-80 xl:h-80 md:w-64 md:h-64 w-0 h-0 mr
-12">
</div>
<div class="flex flex-col">
<div class="w-full sm:max-w-md mt-6 px-6 py-4 b... |
<?php session_start();
if(!isset($_SESSION['admin']) || $_SESSION['admin'] != true){
echo "<script>alert('У вас нет прав доступа на эту страницу!'); location.replace('../index.php');</script>";}
if($_GET[id]=='ok'){
require 'Connection.php';
mysqli_select_db($link, 'flowershop') or die('Невозможно подключиться к ... |
<?php return array (
'FR-01' => array('name' => 'Ain', 'level' => 'metropolitan department'),
'FR-02' => array('name' => 'Aisne', 'level' => 'metropolitan department'),
'FR-03' => array('name' => 'Allier', 'level' => 'metropolitan department'),
'FR-06' => array('name' => 'Alpy Nadmorskie', 'level' => 'metropoli... |
<!DOCTYPE html>
<html lang="vi">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="{{csrf_token()}}">
<title>Tuyển Dụng, Tìm Kiếm Việc Làm Mới Lương Cao - 123Job.vn</title>
<link rel="... |
<?php
if (!isset($_SESSION['pos_username'])
or !isset($_SESSION['pos_id'])
or !isset($_SESSION['pos_uniqid'])
or !isset($_SESSION['pos_h_menu']) )
{
header('Location: '.$sitename.'application/main/login.php');
}
?> |
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="a... |
<?php
$lang['login_login']='تسجيل الدخول';
$lang['login_username']='اسم المستخدم';
$lang['login_password']='الرقم السري';
$lang['login_go']='اذهب';
$lang['login_invalid_username_and_password']='اسم المستخدم او الرقم السري غير صحيح';
$lang['login_welcome_message']='أهلاً وسهلاً بك في نظام PHP Point Of Sale، للإستمرار. ا... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<h1>Edit Menu</h1>
<hr>
<form action="{{url('menu', [$menu->id])}}" method="post">
<input type="hidden" name="_method" value="PUT">
{{ csrf_field(... |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<?php
namespace App\Http\Controllers;
use Sorskod\Larasponse\Larasponse;
use App\Services\Contexts\Context;
use App\Services\PhoneCalls\PhoneCallsService;
use App\Exceptions\PhoneCallException;
use App\Exceptions\TwilioException;
use App\Transformers\PhoneCallsTransformer;
use Request;
use App\Models\ApiResponse;
use ... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */
/*
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title;
*/
?>
<div class="row section_login_reg">
<div class="col-12">
<div ... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
/**
* App\Models\User
*
* @property int $id
* @prope... |
@extends('/../layouts/admin')
@section('navbar')
@if ($nav)
<div class="navbar-header">
{!! Menu::get('adminMenu')->asUl(array('class' => 'nav nav-pills')) !!}
</div>
@endif
@endsection
@section('content')
<nav class="navbar navbar-inverse">
<div class="container-fluid"... |
@extends('frontend.master')
@section('title','Contact')
@section('content')
<header class="header header-normal set-bg" data-setbg="{{ asset('assetss/img/little-header.jpg') }}">
<div class="container-fluid">
<div class="row">
<div class="col-lg-3">
<div class="header__logo">
... |
<?php
namespace App\Models\Setting\Group;
use Illuminate\Database\Eloquent\Model;
class Group extends Model
{
protected $table = 'groups';
protected $fillable = [
'name',
'slug',
'country',
'city',
'address',
];
public function getRouteKeyName()
{
... |
@extends('layouts.admin')
@section('content')
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
</div>
<!-- Co... |
<?php
/*
* 909
* https://github.com/novecentonove
*
* This program 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.
*
* This p... |
<?php
namespace App\Mail;
use App\Claim;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class AdminMakeResponseOnUserClaim extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
*/
... |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Copyright © 2011–2013 Spadefoot Team.
*
* Unless otherwise noted, LEAP is 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
* ... |
<?php
namespace Bundle\MenuBundle\Tests;
use Bundle\MenuBundle\MenuItem;
class MenuItemRenderTest extends \PHPUnit_Framework_TestCase
{
public function testRenderEmptyRoot()
{
$menu = new MenuItem('test');
$menu->getRenderer()->setRenderCompressed(true);
$rendered = '';
$this->... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sales_return extends MY_Controller {
public function __construct(){
parent::__construct();
$this->load_global();
$this->load->model('sales_return_model','sales');
$this->load->helper('sms_template_helper');
}
public function is_sms... |
@extends('umslayout')
@section('titlename') Year Entry @endsection
@section('maincontent')
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-6">
<h3>Year Entry</h3>
</div>
<div class="col-lg-6">
<ol class="breadcrumb float... |
<?php declare(strict_types=1);
/**
* This file is part of the Sarif-PHP-SDK package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bartlett\Sarif\Property;
use DomainException;
use function preg_match_all;
/**
* @autho... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFieldSortTypeProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('type_... |
<?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... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Province extends Model
{
use HasFactory;
public $timestamps = false; //set time to false
protected $fillable = [
'name_quanhuyen', 'type', 'matp'
];
protected $pri... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AuthRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the v... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function (Blueprint $table) {
$table... |
<?php
namespace App\Http\Controllers;
use App\Models\SuratKeteranganPindah;
use App\Models\SuratPengantarPindah;
use Illuminate\Http\Request;
class SuratKeteranganPindahController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public... |
<?php
/* LexikFormFilterBundle:Form:form_div_layout.html.twig */
class __TwigTemplate_8a079acc4342c73e9cff08f4259cfc5cb2021bb89d05bff3b918a80fc7af4cea extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->... |
@extends('layouts.app')
@section('title')
Pengisian Form AK1 - Kemampuan dan Bahasa
@endsection
@section('content')
<!-- BEGIN: Page Main-->
<div id="main">
<div class="row" id="app">
<div class="pt-1 pb-0" id="breadcrumbs-wrapper">
<!-- Search for small screen-->
<div class="contai... |
<?php
$class = '';
if (set_value('idConteudo', false) == false) {
$class = 'disabled';
}
?>
<script src="<?php echo base_url('assets/plugins/ckeditor/ckeditor.js'); ?>"></script>
<div>
<div class="page-header">
<h1>Conteúdo <small>Cadastro de Notícia</small></h1>
<a class="btn btn-primary ... |
<?php
declare(strict_types=1);
namespace PB\Cli\SmartBench\Benchmark\CacheLibrary;
use PB\Cli\SmartBench\Connection\MemcachedConnection;
/**
* @author Paweł Brzeziński <pawel.brzezinski@smartint.pl>
*/
abstract class AbstractMemcachedCacheLibraryBench extends AbstractCacheLibraryBench
{
/**
* Flush Memca... |
@extends('layout.masster')
@section('body')
<h1>THIS IS OUR SERVICES PAGE</h1>
@stop |
<?php
$link = mysqli_connect("localhost", "root", "", "collegework");
// Check connection
if($link === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
$email= mysqli_real_escape_string($link, $_REQUEST['email']);
$name = mysqli_real_escape_string($link, $_REQUEST['name']);
$institution = ... |
<?php
namespace App\Http\Controllers\Dashboard;
use App\Models\Blog;
use App\Models\Gallery;
use App\Models\Image;
use App\Models\Message;
use App\Models\Service;
use App\Models\Video;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class DashboardController extends Controller
{
public function... |
@extends('layouts.app')
@section('content')
<div class="container">
<form action="/addfac" method="post" id="addfl">
<input type="hidden" value="{!! csrf_token() !!}" name="_token">
<h2>Набор удобств</h2>
<div class="form-row">
<div class="form-check">
<input class="form-check-input" type="... |
<?php
namespace Riverline\DynamoDB;
use Aws\DynamoDb\Enum\AttributeAction;
class UpdateActionTest extends \PHPUnit_Framework_TestCase
{
public function testNew()
{
$action = new UpdateAction(AttributeAction::ADD, 10);
$this->assertEquals(AttributeAction::ADD, $action->getAction());
$... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateArticlesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', fun... |
<?php
/* ************************************************************************* */
/* */
/* Title: MethodReceiver.php */
/* ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CoursePromotion extends Model
{
protected $fillable = [
'course_id', 'promotion_id'
];
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class VatTuKemTheo extends Model
{
use HasFactory;
protected $table = 'vattukemtheo';
protected $fillable = ['tenVatTu', 'maVatTu', 'maThietBiTuongUng', 'donViTinh', 'soLuong', 'tran... |
<?php
namespace Blok\Modules\Commands;
use Blok\Modules\Support\Config\GenerateConfigReader;
use Blok\Modules\Support\Stub;
use Blok\Modules\Traits\ModuleCommandTrait;
use Symfony\Component\Console\Input\InputArgument;
class MailMakeCommand extends GeneratorCommand
{
use ModuleCommandTrait;
/**
* The c... |
<?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
// Merchant key here as provided by Payu
$MERCHANT_KEY = "wh6zdt3O";
// Merchant Salt as provided by Payu
$SALT = "qpEK3Buvdq";
// Merchant Key and Salt as provided by Payu.
$PAYU_BASE_URL = "https://sandboxsecure.payu.in"; // For Sandbox Mode
//$PAYU_BASE_URL = "https://secure.payu.in"; // For Production Mo... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
/*
Flickr Short Code
Author: kellan
License: BSD/GPL/public domain (take your pick)
[flickr video=http://flickr.com/photos/revdancatt/2345938910/]
[flickr video=2345938910]
[flickr video=2345938910 show_info=true w=400 h=300]
[flickr video=2345938910 show_info=true w=400 h=300 secret=846d9c1be9]
*/
/*
* <... |
<?php
namespace App\Http\Requests\User;
use Illuminate\Foundation\Http\FormRequest;
class UpdateUserPasswordRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/... |
@extends('backend.master')
@section('BodyContent')
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Liệt kê danh mục sản phẩm
</div>
<div class="row w3-res-tb">
<div class="col-sm-5 m-b-xs">
<select class="input-sm form-control w-sm inline v-... |
<?php
/**
* Lesson Progression block.
*
* @package LifterLMS_Blocks/Abstracts
* @since 1.0.0
* @version 1.1.0
*
* @render_hook llms_lesson-progression-block_render
*/
defined( 'ABSPATH' ) || exit;
/**
* Course syllabus block class.
*/
class LLMS_Blocks_Lesson_Progression_Block extends LLMS_Blocks_Abstr... |
@extends("layout")
@section("content")
@include("music.js-play-music")
@endsection |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\A2Caja */
$this->title = 'Update A2 Caja: ' . $model->id_caja;
$this->params['breadcrumbs'][] = ['label' => 'A2 Cajas', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id_caja, 'url' => ['view', 'id' => $mod... |
<?php
namespace App\Http\Controllers;
use App\Order;
use Cart;
use Illuminate\Http\Request;
class PaymentController extends Controller
{
public function view(Request $request)
{
$total = Money(Cart::getSubTotal(), config('settings.cashier_currency'), config('settings.do_convertion'))->format();
... |
@extends('layouts.master')
@section('content')
<div class="main">
<div class="main-content">
<div class="container-fluid">
@if(session('Sukses'))
<div class="alert alert-success" role="alert">
{{session('Sukses')}}
</div>
@endif
@if(session('Error'))
<div class="ale... |
<?php //00541
// FileRun 2016.11.07
// Copyright Afian AB
// http://www.filerun.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exe... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>更新数据库数据</title>
</head>
<body>
<?php
require 'conn.php';
$sql = "update test set name = '全蛋' where id = 4";
// print_r($mysqli -> query($sql));
$mysqli -> query($sql);
if ($mysqli -> affected_rows) {
echo "更新成功!" . $mysqli -> affected_rows... |
<?php
namespace Temporal\Tests\Workflow;
use React\Promise\Deferred;
use Temporal\Workflow;
use Temporal\Workflow\WorkflowMethod;
#[Workflow\WorkflowInterface]
class RuntimeSignalWorkflow
{
#[WorkflowMethod]
public function handler()
{
$wait1 = new Deferred();
$wait2 = new Deferred();
... |
<?php
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Auth::routes([
'register' => true,
'reset' => true,
'verify' => true,
]);
Route::middleware('auth:user')->group(function () {
Route::get('/home', 'App\Http\Controllers\HomeController@index')->na... |
<?php
/**
* If you need an environment-specific system or application configuration,
* there is an example in the documentation
* @see http://framework.zend.com/manual/current/en/tutorials/config.advanced.html#environment-specific-system-configuration
* @see http://framework.zend.com/manual/current/en/tutorials/con... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="card">
<div class="card-header d-flex">
<h3>Daftar Artikel Permintaan</h3>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Judul</th>
<th>Penulis</th... |
<?php
/**
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
* @version $Id: dumper.php 1909 2009-07-29 15:58:11Z dgheath $
*/
/**
* Parses the command line arguments.
* @package SimpleTest
* @subpackage UnitTester
*/
class SimpleArguments {
privat... |
<?php
// Admin Routes
Route::group(['prefix'=>'admin','as'=>'admin.', 'namespace' => 'Admin'],function(){
Route::get('/login','AdminLoginController@login_form')->name('login');
Route::post('/login','AdminLoginController@loginAdmin');
Route::get('/logout','AdminLoginController@logout')->name('logout');
// Ajax... |
<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +-------------------------------------------... |
<?php
namespace Swork\Bean\Annotation;
/**
* 注释入口
* @Annotation
*/
class ExceptionHandler
{
public function __construct()
{
}
} |
<?php
namespace Manager\Controller;
/**
* 产品分类管理控制器
*/
class ProcateController extends ManagerController {
/**
* 分类管理列表
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
*/
public function index(){
$tree = D('procate')->getTree(0,'id,name,title,sort,pid,allow_publish,status');
$this->assig... |
<?php
namespace Bolt\Nut;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Nut command to remove a role from a Bolt user account
*/
class UserRoleRemove extends BaseCommand
{
/**
* @see \Symfo... |
<?php
$title = "User data streams";
$page = "system-stream.php";
require("header.php");
?>
<h1>User data streams</h1>
<?php h2('Introduction') ?>
<p>
SFML has several resource classes: images, fonts, sounds, etc. In most programs, these resources will be loaded from files, with the help of their
... |
<?php
require_once 'phpgmailer/class.phpgmailer.php';
$mail = new PHPGMailer(); //object creation
$mail->Username = "shana.chammu@gmail.com"; //gmail
$mail->Password = "roshinipriya"; //gmail password
$mail->From = "shana.chammu@gmail.com"; //from email id
$mail->FromName = "shana t"; //from name
$... |
<?php
namespace App\Http\Controllers;
use App\ModelUser;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Session;
class User extends Controller
{
//
public function index(){
if(!Session::get('login')){
return redirect('login')->with('alert'... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Input;
use App\Delivery;
use App\Vimeo;
use App\Event;
use App\Http\Requests;
use App\Http\Requests\StoreDeliveryRequest;
use App\Http\Controllers\Controller;
class DeliveryController extends Controller
{
/**
* Display a listing of the ... |
<?php
URL::setRootControllerNamespace('App\Http\Controllers');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo e(Config::get('app.name')); ?> :: Admin</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link href=... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\Category;
use App\Model\Product;
class productController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publi... |
<?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... |
<?php
/**
* Created by PhpStorm.
* User: marksimonds
* Date: 2/2/16
* Time: 8:25 AM
*/
require_once('../config.php');
try
{
/* initialize whatcounts */
$whatcounts = new ZayconWhatCounts\WhatCounts( WC_REALM, WC_PASSWORD );
$subscriber_id = 123456;
$subscriber = $whatcounts->showSubscriber($sub... |
@extends(env('THEME').'.admin.admin')
@section('content')
@if($forecast && $sports && $countrys)
<h3 align="center">Первый шаг по редактированию Прогноза</h3>
<br />
<form method="POST" action="{{route('ForecastEdit2', ['id' => $forecast->id])}}" enctype="multipart/form-data">
{{ csrf_field() }}
<b>Вид спор... |
<?php
namespace Mapbender\WmtsBundle\Component;
Use Mapbender\CoreBundle\Component\EntityHandler;
use Mapbender\CoreBundle\Component\InstanceConfiguration;
use Mapbender\CoreBundle\Component\InstanceConfigurationOptions;
use Mapbender\WmtsBundle\Entity\WmtsInstance;
/*
* To change this template, choose Tools | Templ... |
<?php namespace frontend\assets;
class SiteBundle extends AppAsset
{
public $js = [
'js/site/index.js'
];
public $depends = [
DataTableBundle::class,
BootboxBundle::class,
];
} |
<?php
declare(strict_types=1);
namespace JeroenG\Autowire\Tests\Support\Subject\Domain\Greeting;
use JeroenG\Autowire\Tests\Support\Attributes\CustomConfigure;
#[CustomConfigure(['$greeting' => 'Good day to you!'])]
class CustomGreeting
{
private $greeting;
public function __construct($greeting)
{
... |
<?php
declare(strict_types=1);
namespace Stu\Orm\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
/**
* @Entity
* @Table(
* name="stu_buildings_upgrades",
* indexes={
* @Index(name="upgrade_from_research_idx", columns={"upgrade_from", "resear... |
@extends('layout.frontend.main')
@section('main-container')
@include('layout.frontend.slider')
<section id="content">
<div class="content-wrap">
<div class="promo promo-light promo-full bottommargin-lg header-stick border-top-0 p-5">
<div class="container clearfix">
<div clas... |
<?php
namespace League\Glide\Urls;
use League\Glide\Signatures\Signature;
class UrlBuilderTest extends \PHPUnit_Framework_TestCase
{
public function testCreateInstance()
{
$this->assertInstanceOf('League\Glide\Urls\UrlBuilder', new UrlBuilder());
}
public function testGetUrl()
{
... |
<?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... |
@extends('layout')
@section('content')
<h1>Dashboard Mi Conjunto App</h1>
@endsection |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateNewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('news', function (B... |
<?php
/**
* This file is part of the sj-i/phpdoc-type-reader package.
*
* (c) sji <sji@sj-i.dev>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace PhpDocTypeReader\Type;
abstract class AtomicTyp... |
<?php
/**
* AnotherFakeApi
* PHP version 7.2
*
* @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTestTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('test', function (Blueprint $table) {
$table->... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Keahlian */
$this->title = 'Update Keahlian: ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Keahlians', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id... |
<html>
<head>
<title>Admin Login</title>
<!-- Bootstrap Core CSS -->
<link rel="icon" href="<?php echo base_url().'assets/images/logo_kominfo.png'?>" type="image/gif">
<link href="<?php echo base_url().'assets/css/bootstrap.min.css'?>" rel="stylesheet">
<!-- Custom CSS -->
<link href="<?php ec... |
<?php
namespace Laravel\Nova\Fields;
class Place extends Text
{
/**
* The field's component.
*
* @var string
*/
public $component = 'place-field';
/**
* Create a new field.
*
* @param string $name
* @param string|null $attribute
* @param mixed|null $reso... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Job Finder — </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
@include('includes.head')
</head>
<body>
@include('includes.nav')
<br>
<br>
<br>
@inc... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The a... |
@extends('layouts.type200.main')
@section('styles')
@include('cssbundle.datatablefor5',['button'=>true])
@include('layouts._commonpartials.css._select2')
@endsection
@section('sidebarmenu')
@include('layouts.type200._commonpartials._sidebarmenu_acr',['active'=>'arc'])
@endsection
@section('pagetitle')
@if ($acr->acr_... |
<?php
include_once "application/libraries/UUID.php";
include_once "application/entities/CProjectdocumenttype.php";
class CProjectdocumenttypeModel extends CI_Model
{
public function __construct(){
parent::__construct();
$this->load->database();
}
public function get($id) {
$query = $this->d... |
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://apiv2.shiprocket.in/v1/external/courier/track?order_id=117640503",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_HTTPGET => true,
CURLOPT_FOLLOW... |
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond_Benc
* @package Phpfox_Component
* @version $Id: notify.class.php 2629 2011-05-25 19:08:51Z Raymond_Benc $
*/
class Friend_Component_Block_Notify extends Phpfox_Component
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.