text stringlengths 2 1.03M |
|---|
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Topic
*
* @ORM\Table(name="topics")
* @ORM\Entity(repositoryClass="AppBundle\Repository\TopicRepository")
*/
class Topic
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedVal... |
<header class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="col-md-offset-1 col-md-10">
<a href="{{ route('home') }}" id="logo">Sample App</a>
<nav>
<ul class="nav navbar-nav navbar-right">
@if (Auth::check())
<... |
<?php
use Illuminate\Database\Seeder;
use App\User;
use App\Role;
class AssignedRoleTableSeeder extends Seeder
{
public function run ()
{
DB::table('assigned_roles')->delete();
$user = User::where('username', '=', 'root')->firstOrFail();
$role = Role::where('name', '=', 'admi... |
<?php
$newfunc = create_function('$a,$b', 'return "ln($a) + ln($b) = " . log($a * $b);');
echo "New anonymous function: $newfunc\n";
echo $newfunc(2, M_E) . "\n";
// outputs
// New anonymous function: lambda_1
// ln(2) + ln(2.718281828459) = 1.6931471805599
?> |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="h-full font-sans antialiased">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1280">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ \Laravel\Nova\Nova::name() }}</title>
<!-- Fo... |
<?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;
class User extends Authenticatable
{
use HasApiToken... |
@extends('layouts.admin')
@section('title', 'Dashboard')
@push('css')
<link rel="stylesheet" href="{{ asset('css/estilos.css') }}">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
@endpush
@section('content_header')
@endsection
@section('content')
<users-component
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class SubCategory extends Model
{
protected $primaryKey = 'sub_category_id';
protected $fillable = [
'sub_category_name', 'sub_category_description','publicationStatus'
];
} |
<?php
namespace Dhii\Data\Exception\FuncTest;
use Dhii\Data\Exception\AbstractBaseTransitionerException;
use Dhii\Data\TransitionerInterface;
use Exception;
use PHPUnit_Framework_MockObject_MockObject as MockObject;
use stdClass;
use Xpmock\TestCase;
/**
* Tests {@see TestSubject}.
*
* @since [*next-version*]
*/... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Kata Sandi') }}</div>
<div class="card-body">
<form m... |
@extends('layouts.app')
@section('content')
<style>
@import url('https://fonts.googleapis.com/css?family=Anton');
@import url('https://fonts.googleapis.com/css?family=Oswald');
body{
padding: 0;
margin: 0;
}
.banner{
background: #124151;
height: 400px;
positi... |
@extends(env('BACKEND_THEME_NAME').'.layout.dashboard')
@section('content')
@include('error')
@include('flash::message')
<div class="">
<label for="body">ارتباط با ما</label>
<form action="{{ route('contact-us.update', ['id' => 1]) }}" method="post" enctype="multipart/form-data">
... |
<!DOCTYPE html>
<html>
<head>
<title>Library - Reservations</title>
<link type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans">
<link rel="stylesheet" type="text/css" href="../CSS/mystyle.css">
<script src="../JS/script.js"></script>
</head>
<body>
<div id="container">
<?php include "../HTM... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBarangsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('barangs', funct... |
<?php
declare(strict_types=1);
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files m... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitbd6a90e832b99b9912f828984dbb3a83::getLoader(); |
<script>
$(function() {
try
{
/*Định nghĩa hàm khởi tạo bảng*/
function init_DataTables(){
try
{
if(console.log("run_datatables"),"undefined"!=typeof $.fn.DataTable)
{
var b=$("#table__id__thongBao");
console.log("init_DataTables");
b.dataTable({
order:[[1,"asc"]],
... |
<?php
namespace Illuminate\Pagination;
use Closure;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Illuminate\Support\Traits\ForwardsCalls;
use Illuminate\Support\Traits\Tappable;
/**
* @mixin \Illuminate\Support\Collection
... |
@extends('template.second')
@section('content')
<table class="table table-bordered table-dark container mt-5">
<thead>
<tr>
<th scope="col">Titre</th>
<th scope="col">Paragraphe</th>
<th scope="col">Icone Adresse</th>
<th scope="col">Titre Adresse</th>
<th scope="col... |
<html>
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,500">
<title>Bagisto Installer</title>
<link rel="icon" sizes="16x16" href="Images/favicon.ico">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
... |
<?php
namespace Store\ShippingBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class CompanyType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $op... |
<?php
/**
* Tokenizes doc block comments.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Tokenizers;
use PHP_CodeSniffer\Util;
... |
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
<div class="sidebar-brand-icon rotate-n-15">
<i class... |
<?php
declare(strict_types=1);
namespace LauLamanApps\IzettleApi\Client\Product;
use LauLamanApps\IzettleApi\API\Product\Library;
use Psr\Http\Message\ResponseInterface;
use Ramsey\Uuid\Uuid;
final class LibraryBuilder implements LibraryBuilderInterface
{
private $productBuilder;
private $discountBuilder;
... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
/* EasyAdminBundle:default:new.html.twig */
class __TwigTemplate_6e0b037e79a4ead8810bea5ac91de5f8e0ad657af12a104002dc96f3098da440 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->blocks = array(
'body_id' => array(... |
<?php
namespace App\Http\Controllers;
use App\NasirModel;
class NasirController
{
public function __invoke(NasirModel $Nasir)
{
return;
}
} |
<?php
return [
// All the sections for the settings page
'sections' => [
'app' => [
'title' => 'General Settings',
'descriptions' => 'Application general settings.', // (optional)
'icon' => 'fa fa-cog', // (optional)
'id' => 'app',
'inputs' ... |
layout:<?= $content ?><?= $this->other ?> |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Category;
class indexController extends Controller
{
//
public function index(Request $request){
return view('index');
}
} |
<?php
namespace App\Domains\Location\Model;
use Illuminate\Database\Eloquent\Model;
class LocationModel extends Model
{
protected $keyType = 'string';
public function getDateFormat()
{
return 'U';
}
public function getTable()
{
return 'location';
}
} |
<?php
namespace Modules\Localidade\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
/**
* Modules\Localidade\Models\Bairro
*
* @property int $id
* @property int $cidade_i... |
<?php
namespace Modules\Coordination\Interfaces;
use Illuminate\Database\Eloquent\Model;
interface DestroyInterface
{
/**
* @param Model $model
* @param $id
* @return mixed
*/
public function destroyData(Model $model, $id);
/**
* @param $id
* @return mixed
*/
publ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', f... |
<?php
/**
* Configuracoes de eventos do modulo Monitoramento
*
* 'EventClass' => [
* 'FirstListenerClass',
* 'SecondListenerClass' => $priorityValue
* ]
*
* @see Illuminate\Contracts\Events\Dispatcher
* @see Illuminate\Events\Dispatcher
*/
return [
'Modulos\Monitoramento\Events\HelloMonitoram... |
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class Search_ui extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
... |
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var ar... |
<?php
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateExpensesTable extends Migration
{
public function up()
{
Schema::create('expenses', function (Blueprint $table) {
$table->increments('id');
$table->un... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class DropFieldsFromMiningLicenseCodesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::tabl... |
<?
require_once '__system.php'; ?>
<div class="col s10 offset-s1" id="mainList">
<table class="striped">
<thead>
<tr>
<th>Class</th>
<th>Package</th>
<th>Description</th>
<th>Use</th>
</tr>
</thead>
<tbody>
<?
$q = mysqli_query(connect(), "select * from Classes")or die("err list");
... |
@extends('layouts.appAdmin')
@section('content')
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFileUploadTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('file_upload', function (Blueprint $table) {
... |
<?php
namespace RaulFraile\Bundle\LadybugBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* The bundle main class.
*/
class RaulFraileLadybugBundle extends Bundle
{
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMovementTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('movements', fu... |
@extends('layout.app')
@section('title')
{{$product->name}}
@endsection
@section('description')
{{$product->short_desc}}
@endsection
@section('content')
<div class="container">
<div class="give-me-space" v-cloak>
<div>
<div class="row" itemscope="scope" itemtype="... |
<?php
namespace frontend\controllers;
use Yii;
use frontend\models\SwmBlockedEmails;
use frontend\models\SwmBlockedEmailsSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* SwmBlockedEmailsController implements the CRUD actions for SwmBlockedEmails model.
*/
class S... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddColumnsToCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('customer... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterTableTimesChangeStatus extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('times',... |
<?php
namespace App\Http\Resources;
use Carbon\Carbon;
use Illuminate\Http\Resources\Json\JsonResource;
class MessageResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($... |
<?php namespace spec\BX\DB\UnitOfWork;
use BX\Config\DICService;
use BX\Cache\CacheManager;
use BX\DB\DatabaseManager;
use BX\DB\Test\TestTable;
use BX\Event\EventManager;
use BX\ZendSearch\ZendSearchManager;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class EntityUpdateSpec extends ObjectBehavior
{
/**
* @v... |
<?php
function welcome(){
return "welcome mahmoud";
} |
<?php
namespace Nogrod\eBaySDK\MerchantData;
use Nogrod\XMLClientRuntime\Func;
/**
* Class representing StoreCustomCategoryArrayType
*
* Set of custom categories for the Store.
* XSD Type: StoreCustomCategoryArrayType
*/
class StoreCustomCategoryArrayType implements \Sabre\Xml\XmlSerializable, \Sabre\Xml\XmlDes... |
<?php
namespace App\Http\Middleware;
use Closure;
use App\Order;
class BasketIsNotEmpty
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$o... |
<?php
/* @var $this PageController */
/* @var $model Page */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'page-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation corre... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... |
<?php
namespace Sistac;
use Illuminate\Database\Eloquent\Model;
class Activity extends Model
{
//
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'activity';
/**
* The attributes that are mass assignable.
*
* @var array
*/
... |
<?php
namespace App\Exports;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
class AliasesExport implements FromCollection, WithHeadings
{
/**
* @return \Illuminate\Support\Collection
*/
public function collection()
{
return user()->aliases()->w... |
<?php
$month_arr = array('1'=>'มกราคม','2'=>'กุมภาพันธ์','3'=>'มีนาคม','4'=>'เมษายน','5'=>'พฤษภาคม','6'=>'มิถุนายน','7'=>'กรกฎาคม','8'=>'สิงหาคม','9'=>'กันยายน','10'=>'ตุลาคม','11'=>'พฤศจิกายน','12'=>'ธันวาคม');
$month_short_arr = array('1'=>'ม.ค.','2'=>'ก.พ.','3'=>'มี.ค.','4'=>'เม.ย.','5'=>'พ.ค.','6'=>'มิ.ย.','7'=>'ก.... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCompanyNameToJobs extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('jobs', functio... |
<?php
namespace oasis\names\specification\ubl\schema\xsd\CommonAggregateComponents_2;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
* @xmlType LineReferenceType
* @xmlName CatalogueLineReference
* @var oasis\names\specification\ubl\schema\xsd\CommonAggregateComponents... |
@extends('layouts.app')
@section('title', 'Home')
@section('content')
@endsection |
@extends("admin.layout.master")
@section("title","Create New What Makes Better")
@section("content")
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>What Makes Better</h1>
</div>
<div class="col-sm-6">
<ol class... |
<?php declare(strict_types=1);
namespace Pinepain\SimpleRouting;
use Pinepain\SimpleRouting\Chunks\AbstractChunk;
use Pinepain\SimpleRouting\Contracts\CompilerFilterInterface;
class Filter implements CompilerFilterInterface
{
/**
* @var CompilerFilterInterface[]
*/
private $filters = [];
/*... |
<!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="">
<meta name="author" content="">
<title>Upload Download File Gratis</title>
<!-- Bootstrap core CSS -->
<link... |
<?php
return array_replace(require __DIR__.'/ca-national.php', array(
'3rd-monday-after-02-01' => '= third Monday after 02-01',
'3rd-friday-after-08-01' => '= third Friday after 08-01',
)); |
<?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\Form;
use Symfony\Component\Form\Event\DataEvent;
use... |
<?php
use shubhamt619\PhpExcelTemplator\params\ExcelParam;
use shubhamt619\PhpExcelTemplator\setters\CellSetterStringValue;
use shubhamt619\PhpExcelTemplator\setters\CellSetterArrayValue;
$now = new DateTime();
$dateArr = [
'01-06-2018',
'02-06-2018',
'03-06-2018',
'04-06-2018',
'05-06-2018',
];
$codeArr = [
'00... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Dashboard">
<meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive... |
<?php namespace Irsyadulibad\DataTables;
use CodeIgniter\Format\JSONFormatter;
abstract class DataTableMethods
{
protected $fields;
protected $aliases = [];
protected $totalRecords;
protected $filteredRecords;
protected $isFilterApplied = false;
protected $processColumn = [
'appends' => [],
'hidden' =>... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: spacecp_follow.php 32667 2013-02-28 07:07:30Z monkey $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$ops = array('add', 'del', 'bkname', 'checkfeed', 'relay', 'getfeed', 'd... |
<?php
/*
* This file is part of the DataGridBundle.
*
* (c) Abhoryo <abhoryo@free.fr>
* (c) Stanislav Turza
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace APY\DataGridBundle\Grid\Export;
use Symfony\Component\Depende... |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script>
$('ul.nav... |
<?php
require_once __DIR__ . '/constants.php';
require_once __DIR__ . '/vendor/autoload.php';
use Symfony\Component\Debug\ErrorHandler;
use Symfony\Component\Debug\ExceptionHandler;
use Symfony\Component\Routing\RouteCollection;
$app = new Silex\Application();
/** @var \Core\Entity\AppParameters $app['params'] */
$... |
<!DOCTYPE html>
<html>
<head>
<title>@yield('title', '招聘') - Laravel 新手入门教程</title>
<link rel="stylesheet" href="/css/app.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
@include('layouts._header')
<div class="container">
<div class="offset-... |
<?php
namespace OpenEmis\Model\Behavior;
use Cake\ORM\Entity;
use Cake\ORM\Behavior;
use Cake\ORM\TableRegistry;
use Cake\Event\Event;
use Cake\Utility\Inflector;
/**
* OpenEmis SectionBehavior
*
* This file is to render input element as a section separator in forms.
* *Depends on ControllerAction Component
*
*... |
<?php
namespace App\Http\Requests\Sale;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Http\Exceptions\HttpResponseException;
class SaleShowRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @... |
<?php
namespace iFood\API\Ecommerce\Request;
/**
* Class iFoodError
*
* @package iFood\API\Ecommerce\Request
*/
class ifoodError
{
private $code;
private $message;
private $description;
/**
* iFoodError constructor.
*
* @param $message
* @param $code
*/
public func... |
<?php
namespace App\models;
use Illuminate\Database\Eloquent\Model;
class Presupuesto extends Model
{
protected $fillable =[
'proyecto_id',
'nombre',
'valor',
'descripcion',
'estado'
];
} |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\UserDocumentCategory;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;
use Ap... |
<?php
/*
* This file is part of the webmozart/path-util package.
*
* (c) Bernhard Schussek <bschussek@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DaveLiddament\StaticAnalysisResultsBaseliner\Tests\Unit\Co... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Order\EnumType;
use WsdlToPhp\PackageBase\AbstractStructEnumBase;
/**
* This class stands for payment-type EnumType
* Meta information extracted from the WSDL
* - documentation: supplier is set when creditcard payment via airline is used | SUPPLIER: intend... |
<!doctype html>
<html lang="pt-br">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="node_modules/bootstrap/compiler/bootstrap.css">
<link rel="... |
<?php
namespace App;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* App\DeepstackCall.
*
* @property-read mixed $run_time_seconds
* @method static Builder|DeepstackCall newModelQuery()
* @method static Builder|DeepstackCall ne... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePartnershipRequestTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('part... |
<!--************************************
Welcome Start
*************************************-->
<section id="hb-services" class="hb-services ver-4 v2 hb-sectionspace hb-haslayout">
<div class="container">
<div class="row">
<div class=" col-xs-12 col-sm-12 col-sm-offset-0 col-md-8 col-md-offse... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Home | E-Shopper</title>
<?php $this->load->view('partials/head'); ?>
</hea... |
<?php
$lang['wbox_pm_string'] = "У вас %s непрочитанных приватных сообщений";
$lang['wbox_last_visit'] = "Последний раз вы были на сайте %s";
$lang['wbox_guest_reg'] = "Для публикации новостей на сайте вы должны %s";
$lang['wbox_register'] = "зарегистрироваться";
$lang['wbox_g_username'] = "Ваше имя";
$lang['wbox_... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Parents;
class UpdateParentsRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return tru... |
<?php
if(!defined('ROOT')) exit('No direct script access allowed');
checkServiceAccess();
if(!isset($_REQUEST["action"])) {
printServiceErrorMsg("NotAcceptable","Action Not Defined.");
}
switch ($_REQUEST['action']) {
case 'update':
if(isset($_POST['pwd']) && strlen($_POST['pwd'])>1) {
loadHelpers("pwdhash");... |
@include('home.wap.header')
<style>
.order_info{
position: fixed;top: 0;bottom: 0;left: 0;right: 0;background: #000000;opacity: 0.6;display: none;
}
.o_info{
width: 85%;height: auto;background: #fff;position: fixed;top: 10%;left: 5%;padding: 20px 0 20px 5%;border-radius: 5px;display: none;
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBloodPressuresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('blood_pr... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
'6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contra... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class KategoriController extends Controller
{
public function index()
{
$obj = \App\Kategori::all();
$data['obj'] = $obj;
return view('kategori_index',$data);
}
public function tambah()
{
$data['obj... |
@extends('layouts.profile_lay_bus')
@section('profilecontent')
@if ($c==1 || $c == 2)
<div class="row">
<div class="col-lg-12">
<div class="row merged20" id="page-contents">
<div class="col-lg-3">
<aside class="sidebar static">
<div class="widget stick-widget... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Cashier\Billable;
use Illuminate\Support\Str;
use App\User;
class User extends Authenticatable
{
use Notifiable, Billable;
protecte... |
<?php
/**
* Le controller pour les questions
*
* @version 0.1
* @author benou
*
*/
class QuestionsController extends BaseFilteredResourcesController {
public function __construct(QuestionsGestion $gestion) {
//parent::__construct();
$this->gestion = $gestion;
$this->base = "questions";
$this->message_... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreatePersonasRequest;
use App\Http\Requests\UpdatePersonasRequest;
use App\Repositories\PersonasRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Prettus\Repository\Criteria\RequestCriteria;
use Response;
us... |
<section class="sec-content">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Add Customer</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-head... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Auth_model extends CI_Model {
function __construct(){
parent::__construct();
$this->load->library('session');
}
public function check_login($username,$password){
$query = $this->db->get_where("user",array("username" => $username, "p... |
<div id="page-wrapper">
<div class="container-fluid" style="min-height: 650px;">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
Survey
</h1>
<ol class="breadcrumb">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.