text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers\Backend\Dashboard;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class DashboardController extends Controller
{
public function index()
{
return view('backend.pages.dashboard.index');
}
} |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class editalCreateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* G... |
<?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
/**
* Admin Menu
* Menus are top-level views in the Admin UI
* @package Simple Lightbox
* @subpackage Admin
* @author Archetyped
*/
class SLB_Admin_Menu extends SLB_Admin_View {
/* Properties */
/**
* Menu position
* @var int
*/
protected $position = null;
/* Init */
public function __cons... |
@extends('layout.admins')
@section('title',$title)
@section('content')
<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span>{{$title}}</span>
</div>
<div class="mws-panel-body no-padding">
<form action="/admin/doprofile" id='art_form' method='post' enctype='multipart/form-data' class... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class LoginRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the ... |
@if (count($topics))
<ul class="list-unstyled">
@foreach ($topics as $topic)
<li class="media">
<div class="media-left">
<a href="{{ route('users.show', [$topic->user_id]) }}">
<img class="media-object img-thumbnail mr-3" style="width: ... |
<?php /*e349acf6fdf3012bd107edc471de2183decfc1a2*/
/**
* @package GoodForNothing Classifieds
* @version 1.0.0 Alpha 2
* @since 1.0.0 Beta 7
* @author GoodForNothing Labs
* @copyright Copyright © 2012-2016 GoodForNothing Labs <https://gfnlabs.com/>
* @license https://gfnlabs.com/legal/license
... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Ml\Client\Resource;
use Commercetools\Client\ApiResource;
use GuzzleHttp\ClientInterface;
use Psr\Http\Message\UploadedFileInterface;
/**
* @psalm-suppress PropertyNotSetInConstructor
*/
class ... |
<?php
/**
* \AppserverIo\WebServer\Mock\MockCondition
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* PHP version 5
*
* @author Bernhard Wick <bw@appse... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(AdminSeeder::class);
$this->call(CategorySeeder::class);
$this->call(BrandSeeder::class);
... |
<?php
namespace Aws\Test\Credentials;
use Aws\Credentials\AssumeRoleCredentialProvider;
use Aws\Credentials\Credentials;
use Aws\Exception\AwsException;
use Aws\Result;
use Aws\Sts\StsClient;
use Aws\Api\DateTimeResult;
use GuzzleHttp\Promise;
use GuzzleHttp\Promise\RejectedPromise;
use Aws\Test\UsesServiceTrait;
use ... |
<?php
namespace Oro\Bundle\WorkflowBundle\Tests\Unit\Translation\Helper;
use Oro\Bundle\WorkflowBundle\Model\Transition;
use Oro\Bundle\WorkflowBundle\Translation\Helper\TransitionTranslationHelper;
use Symfony\Component\Translation\TranslatorInterface;
class TransitionTranslationHelperTest extends \PHPUnit_Framewor... |
<!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">
<!-- Title Of Site -->
<title>Blog</title>
<meta name="description" content="HTML Responsive Template for Directory or Yellow... |
<!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, user-scalable=no, initial-scale=1, maximum-scale=1">
<meta name="_token" content="{!! csrf_token() !!}"/>
<title>Bahan dan Peralatan</title>
<link hre... |
<div class="row">
<div class="col-md-6 pl-4 pr-4">
<div class="form-group row">
<label for="firstName" class="col-md-4 col-form-label">
First Name*
</label>
<div class="col-md-8">
<input type="text" id="firstName" name="first_name" required maxLength="40" class="form-control" value="<... |
<a href="https://online.msstate.edu/admissions-process/">
<img class="apply" alt="Apply now!" src="https://goto.msstate.edu/www/images/Distance/Email Template/apply_now.png" title="Apply now!"/></a> |
<?php
use Mundipagg\Integrity\IntegrityController;
class Mundipagg_Paymentmodule_Block_Adminhtml_Notification_Integrityviolation extends Mage_Adminhtml_Block_Template
{
public function __construct(array $args = array())
{
parent::_construct($args);
$this->setTemplate('paymentmodule/notificatio... |
<!-- Pg Id Field -->
<div class="form-group col-sm-6">
{!! Form::label('pg_id', 'Pg Id:') !!}
{!! Form::number('pg_id', null, ['class' => 'form-control']) !!}
</div>
<!-- Title Field -->
<div class="form-group col-sm-6">
{!! Form::label('title', 'Title:') !!}
{!! Form::text('title', null, ['class' => '... |
<!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">
<title>Car Inventory</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link href="https://maxcdn.bootstr... |
<?php
defined('BASEPATH') OR exit('');
/**
* Description of Projects
*
* @author Ameer <amirsanni@gmail.com>
* @date 30th RabAwwal, 1437AH
* @date 11th Jan., 2016
*/
class Projects extends CI_Controller{
public function __construct(){
parent::__construct();
$this->load->model('Design_model');
... |
<?php
namespace Database\Seeders;
use App\Client;
use App\Models\User;
use App\Product;
use Illuminate\Database\Seeder;
use App\Operation;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::factory()->create();... |
<?php
/**
* 版权声明 : 地老天荒科技有限公司
* 文件名称 : ModuleNameValidateDelete.php
* 创 建 者 : Shi Guang Yu
* 创建日期 : 2018/09/26 14:36
* 文件描述 : 景区优惠券管理删除验证器
* 历史记录 : -----------------------
*/
namespace app\couponlist_module\working_version\v1\validator;
use think\Validate;
class ModuleNameValidateDelete extends Vali... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\drinks;
use App\food;
use App\pesanan;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
class pesananActiveController extends Controller
{
// pesanan active only
public function pesananactive()
{
$food = food::get()... |
<?php
namespace app\modules\admin\modules\exam\controllers;
use app\modules\admin\modules\exam\models\Question;
use app\modules\admin\modules\exam\models\QuestionSearch;
use Yii;
use yii\filters\AccessControl;
use yii\filters\VerbFilter;
use yii\web\NotFoundHttpException;
use yii\web\Response;
use yii\widgets\ActiveF... |
<?php
/**
* These are the database login details
*/
define("HOST", "localhost"); // The host you want to connect to.
define("USER", "user1"); // The database username.
define("PASSWORD", ''); // The database password.
define("DATABASE", "NewStarPS1"); // The database name.
define("CAN_REGISTER", "any");... |
@extends('layouts.app', [
'namePage' => 'Inventario Lotes',
'class' => 'sidebar-mini',
'activePage' => 'inventario_lotes',
])
@section('content')
<script src="http://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<link href="h... |
<section class="content-header">
<h1>Supplier
<small>Toko Bahan</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i></a></li>
<li class="active">Toko Bahan</li>
</ol>
</section>
<!-- MAIN CONTENT-->
<section class="content">
<div class="b... |
<?php
$file = new CsvUtility(SYNC_FILE);
$sync_data = $file->find();
$executed_sync_data = $file->find(array(), array("is_execute" => 1));
$last_sync = $last_sync_on = false;
if ($sync_data == false)
{
$sync_data = array();
}
if ($executed_sync_data)
{
$last_sync = end($executed_sync_data);
$last_sync_on... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\user;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class StatusesSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('statuses')->insert([
'name' => 'Оформлено... |
@extends('layouts/default')
{{-- Page title --}}
@section('title')
Create Status Operations Type
@parent
@stop
{{-- page level styles --}}
@section('header_styles')
<!--page level css -->
<link rel="stylesheet" type="text/css" href="{{asset('assets/vendors/bootstrapvalidator/css/bootstrapValidator.min... |
--TEST--
cubrid_bind
--SKIPIF--
<?php
require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
include "connect.inc";
$conn1=cubrid_connect_with_url("CUBRID:$host:$port:$db:$user:$passwd:?autocommit=on","aaaa");
if (FALSE == $conn1) {
printf("[001]Expect: return value false. [%d] [%s]... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateResetTokensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reset_token... |
<?php
declare (strict_types=1);
namespace RectorPrefix20210608\Idiosyncratic\EditorConfig;
use RectorPrefix20210608\Idiosyncratic\EditorConfig\Declaration\Factory;
use ErrorException;
use RectorPrefix20210608\PHPUnit\Framework\TestCase;
class SectionTest extends \RectorPrefix20210608\PHPUnit\Framework\TestCase
{
... |
<?php
namespace sistemaReserva\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class FacultadFormRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/... |
@extends('main')
@section('title', 'Edulevel')
@section('breadcrums')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Program</h1>
</div>
</div... |
<?php
namespace api\controllers;
use Yii;
use common\models\RpjmdTujuanIndikator;
use yii\rest\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use \yii\web\Response;
use yii\helpers\ArrayHelper;
use yii\filters\auth\HttpBearerAuth;
use yii\filters\auth\QueryParamAuth;
use filsh\yii2\oauth2s... |
@include('common.modalHead')
<div class="row">
<div class="col-sm-12 col-md-8">
<div class="form-group">
<label>Direccion</label>
<input type="text" wire:model.lazy="direccion" class="form-control" placeholder="Direccion..">
@error('direccion')
<span class... |
@extends('base')
@section('content')
<div class="container">
<h1 class="text-center my-5"> Articles </h1>
<div class="d-flex justify-content-center">
<a class="btn btn-info my-2" href="{{route('articles.create')}}"><i class="fas fa-plus mx-2 mb-lg-2"></i> Ajouter un nouvel article</a>
</div>
<... |
<div class="modal fade" aria-hidden="true"
role="dialog" tabindex="-1" id="modal-delete-{{$top->id}}">
{{Form::Open(array('action'=>array('TopicController@destroy',$top->id),'method'=>'delete'))}}
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="... |
<?php
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Support\Collection;
use Illuminate\Support\Debug\Dumper;
use Illuminate\Contracts\Support\Htmlable;
if (! function_exists('append_config')) {
/**
* Assign high numeric IDs to a config item to force appending.
*
* @param a... |
<?php
declare(strict_types=1);
namespace Internships\Collectors;
class CountryCollector extends UniqueCollector
{
public function getJsonTag(): string
{
return "country";
}
} |
<?php
namespace AIOSEO\Plugin\Common\Traits\Helpers;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Contains string specific helper methods.
*
* @since 4.0.13
*/
trait Strings {
/**
* Convert to snake case.
*
* @since 4.0.0
*
* @param string $string The string to convert.... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/12/25 0025
* Time: 13:52
*/
namespace app\admin\controller;
use think\Controller;
class NjClass extends Controller
{
public function index()
{
return $this->fetch();
}
public function manageInfo()
{
return... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\administrator\models\general\StafSuratMasuk */
$this->title = Yii::t('app', 'Update {modelClass}: ', [
'modelClass' => 'Staf Surat Masuk',
]) . $model->no_surat;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Staf S... |
@extends('layouts.template')
@section('content')
<div class="card card shadow mb-4">
<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
<h4>Tambah Pegawai</h4>
</div>
<div class="card-body">
<div class="row">
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
class Google_lib {
private $ci;
private $key;
private $latitude;
private $longitude;
private $status;
public function __construct() {
$this->ci = & get_instance();
$this->ci->load->library('settings_lib');
$this->key = 'AIzaSyAOwnKmpn7vyLmrxds1vJXGzSaONvdjgmY';
... |
<script src="{{ asset('js/address.js') }}"></script>
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top">
<div class="container-fluid">
<h2 class="navbar-brand" style="font-size: 35px;">New Operations</h2>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=... |
@extends('layout.template')
@section('title')
<h1>Dosen</h1>
@endsection
@section('judul')
<h1>Judul Dosen</h1>
@foreach ($lecturs as $data)
<form action="{{ route('lectur.update', ['lectur'=>$data->id]) }}" method="POST" enctype="multipart/form-data">
@csrf @method('PATCH')
<div class="form-row">
<div ... |
<?php
if (config('app.env') === 'production') {
return [
/* Bosta for production */
'bosta_url' => 'https://api.bosta.co/api/v0/',
'bosta_token' => 'd9c594d797f5544462897552e00f1c871ba9f8ef3e02b702519d645177a0e120',
'webhook_url' => 'https://khotwh.retailak.com/api/shipment/webhook'... |
<!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>{{ config('app.name', 'Laravel') }}</title>
... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
use App\Models\Upload;
use Livewire\WithFileUploads;
class Uploads extends Component
{
public $title;
public $filename;
use WithFileUploads;
public function resetFildes(){
$this->title = "";
$this->filename = "";
}
... |
<?php
namespace App\Http\Requests\Posts;
use Illuminate\Foundation\Http\FormRequest;
class CreatePostsRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
namespace Igniter\Api;
use Admin\Models\Customers_model;
use Admin\Models\Users_model;
use Dingo\Api\Auth\Auth;
use Igniter\Flame\Database\Model;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Laravel\Sa... |
<?php
/*
* This file is part of the highcharts-bundle package.
*
* (c) 2017 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\Series\Bubble;
use WBW\Bundle\HighchartsBu... |
<?php
/**
* Slim - a micro PHP 5 framework
*
* @author Josh Lockhart <info@slimframework.com>
* @copyright 2011 Josh Lockhart
* @link https://www.slimframework.com
* @license https://www.slimframework.com/license
* @version 2.0.0
*
* MIT LICENSE
*
* Permission is hereby granted, free of... |
<div class="col-lg-4">
<div class="content-top-1">
<div class="panel panel-primary">
<div class="panel-heading"><i class="fa fa-building-o"></i> Form Supplier </div>
<div class="panel-body">
<h4><?php echo $alert; ?></h4>
<hr>
<form method="POST" role="form" onsubmit="return confirm('Anda Akan Meny... |
<?php
require_once( dirname(__FILE__)."/../../php/xmlrpc.php" );
require_once( $rootPath.'/php/cache.php');
eval(getPluginConf('scheduler'));
@define('SCH_FAST', 0);
@define('SCH_STOP', 1);
@define('SCH_SEEDONLY', 2);
@define('SCH_RESTRICT1', 3);
@define('SCH_RESTRICT2', 4);
@define('SCH_RESTRICT3', 5);
class rSched... |
<?php
namespace Novuso\Common\Bundle\Middleware;
use Exception;
use Negotiation\FormatNegotiator;
use Negotiation\FormatNegotiatorInterface;
use Negotiation\LanguageNegotiator;
use Negotiation\NegotiatorInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony... |
<?php
namespace App\Http\Controllers;
use App\kpi_downcode;
use Illuminate\Http\Request;
use DB;
use DataTables;
use Validator;
class DowncodeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $re... |
<?php
/*
* This file is part of the Tabler-Bundle demo.
* Copyright 2021 Kevin Papst - www.kevinpapst.de
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\EventSubscriber;
use KevinPapst\TablerBundle\Helper\ContextHel... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\BandaMembros */
$this->title = 'Update Banda Membros: ' . $model->IdBanda;
$this->params['breadcrumbs'][] = ['label' => 'Banda Membros', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->IdBanda, 'url' => [... |
<?php
if (isset($GLOBALS['CFG']['hooks']['lti'])) {
require_once($CFG['hooks']['lti']);
/**
* see ltihooks.php.dist for details
*/
}
function link_to_resource($launch, $localuserid, $localcourse, $db) {
$role = standardize_role($launch->get_roles());
$contextid = $launch->get_platform_context_id();
$p... |
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-2">
</div>
<!-- left column -->
<div class="col-md-8">
<!-- general form elements -->
<div class="box box-primary">
<div class="box-header with-border">
<h3 class=... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto
namespace Google\Ads\GoogleAds\V0\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Th... |
<?php
/**
* Test: Nette\Diagnostics\Debugger Bar in production mode.
*
* @author David Grudl
* @outputMatch
*/
use Nette\Diagnostics\Debugger,
Tester\Assert;
require __DIR__ . '/../bootstrap.php';
Debugger::$productionMode = TRUE;
header('Content-Type: text/html');
Debugger::enable(); |
<?php
namespace tests\Wamp;
use PHPUnit\Framework\TestCase;
use Reamp\Wamp\Exception;
use Reamp\Wamp\JsonException;
use Reamp\Wamp\ServerProtocol;
use Reamp\Wamp\WampConnection;
use Reamp\Wamp\WampServerInterface;
use tests\helpers\Mock\Connection;
use tests\helpers\Mock\WampComponent as TestComponent;
/**
* @cover... |
<?php
namespace App\Http;
use App\Http\Middleware\CheckAdminAuthenticated;
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.
*
... |
@extends('laravel-events-calendar::eventVenues.layout')
@section('title'){{ $eventVenue->name }}@endsection
@section('description')Venue profile @ Global CI calendar @endsection
@section('content')
<div class="row">
<div class="col-12 mb-4">
<h2>{{ $eventVenue->name }}</h2>
</div>
... |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Metaways Infosystems GmbH, 2013
* @copyright Aimeos (aimeos.org), 2015-2021
*/
$enc = $this->encoder();
$basketTarget = $this->config( 'client/html/basket/standard/url/target' );
$basketCntl = $this->config( 'client/html/basket/st... |
<?php
namespace LogHero\Client\Test;
use PHPUnit\Framework\TestCase;
use LogHero\Client\CurlClient;
use LogHero\Client\APIAccess;
use LogHero\Client\MemLogBuffer;
use LogHero\Client\APIAccessInterface;
use LogHero\Client\LogBufferInterface;
use LogHero\Client\AsyncLogTransport;
use LogHero\Client\AsyncFlushFailedExcep... |
<x-frontend.layouts.master>
<section class="section breadcrumb-modern context-dark parallax-container" data-parallax-img="images/parallax-03.jpg">
<div class="parallax-content section-30 section-sm-70">
<div class="shell">
<h2 class="veil reveal-sm-block">Event Page</h2>
<div class="... |
<?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\Serializer\Tests\Normalizer;
use PHPUnit\Framework\Te... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateModelServicosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('servicos'... |
<?php
use App\Models\Tag;
use Illuminate\Database\Seeder;
use Faker\Generator as Faker;
class TagsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run(Faker $faker)
{
$tag_name = ['FrontEnd', 'BackEnd', 'FullStack', 'UI/UX', 'Design... |
<?php
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddForeignKeysToAreaNewsletterTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(... |
<!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\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->call(CategoriesTableSeeder::class);
$this->call(UsersTableSeeder::class);
}
} |
<!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... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row" style="">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">验证密码</div>
<div class="panel-body">
... |
<?
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/admin/location_zone_edit.php");
?> |
@extends('layouts.master')
@section('content')<section class="banner">
<img src="{{ asset('contents/'.$headers->where('code', 'request-seminar')->first()->img) }}" alt="banner about" />
<div class="title">
<h2 class="inner">{{ trans('global.seminars') }}</h2>
</div>
</section>
<section class="content_std">
<div clas... |
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="{{asset('/')}}/fro... |
<?php
class CreateFirstPrintFromJsonAdapter extends BaseFirstPrintFromJsonAdapter implements CreateFirstPrintInfoRequest
{
/** @var int */
private $bookIdToLink;
/**
* @return int
*/
public function getBookIdToLink()
{
return $this->bookIdToLink;
}
/**
* @param int... |
@extends('layouts.admin')
@section('content')
@can('user_create')
<div style="margin-bottom: 10px;" class="row">
<div class="col-lg-12">
<a class="btn btn-success" href="{{ route('admin.users.create') }}">
{{ trans('global.add') }} {{ trans('cruds.user.title_singular') }}
... |
@extends('layouts.admin_layout')
@section('content')
<div class="container mt-3 mb-3">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Create New Role</h2>
</div>
</div>
</div>
@if (count($errors) > 0)
... |
<?php
$creds = include('config.php');
function getResults($start) {
global $creds;
$url = "https://www.googleapis.com/customsearch/v1?"
. 'key=' . urlencode($creds['key'])
. '&cx=' . urlencode($creds['cx'])
. '&userIp=' . urlencode($creds['ip'])
. '&alt=json'
... |
<?php
/**
* Copyright © PureClarity. All rights reserved.
* See LICENSE for license details.
*/
namespace XLite\Module\PureClarity\Personalization;
use XLite\Module\AModule;
/**
* Class Main
* @package XLite\Module\PureClarity\Personalization
*
* PureClarity Main module class
*/
abstract class Main extends A... |
<?php
namespace Database\Factories\content;
use Illuminate\Support\Str;
use App\Models\content\Section;
use Illuminate\Database\Eloquent\Factories\Factory;
class SectionFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Sec... |
<?php
class CoordinateReferenceSystemRefType
{
/**
* @var AbstractReferenceSystemType $_CoordinateReferenceSystem
*/
protected $_CoordinateReferenceSystem = null;
/**
* @var anyURI $remoteSchema
*/
protected $remoteSchema = null;
/**
* @var typeType $type
*/
pro... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit21ba6daceff0f9e2e9d33f5fe05842fe::getLoader(); |
<?php namespace Acme\Presenters;
use Laracasts\Presenter\Presenter;
class ProjectLaborCostPresenter extends Presenter {
public function prettyLineTotal()
{
return 'PHP '.number_format($this->getQuantity() * $this->rate, 2);
}
public function prettyRate()
{
return 'PHP '.number_format($this->rate, 2);
}
... |
<!DOCTYPE html>
<html lang="en">
<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">
<title>Rekap Hasil Produksi {{ date("d-m-y") }}</title>
<style>
@import url('https://fonts.googleapis.co... |
<?php
namespace App\Http\Controllers;
use App\Cliente;
use App\Pago;
use App\formaPago;
use App\factura;
use App\avanceSolicitud;
use App\Empresa;
use App\Ticket;
use App\User;
use Illuminate\Http\Request;
use Excel;
use Illuminate\Notifications\Notifiable;
class ClienteController extends Controller
{
/**
... |
<?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
namespace Appvise\AppStoreNotifications\Model;
use BenSampo\Enum\Enum;
class NotificationType extends Enum
{
const INITIAL_BUY = 'initial_buy';
const CANCEL = 'cancel';
const RENEWAL = 'renewal';
const INTERACTIVE_RENEWAL = 'interactive_renewal';
const DID_CHANGE_RENEWAL_PREF = 'did_change_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.