text stringlengths 2 1.03M |
|---|
<?php
/*
* This file is part of Fixhub.
*
* Copyright (C) 2016 Fixhub.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fixhub\Providers;
use Fixhub\Services\Github\LatestRelease;
use Fixhub\Services\Github\LatestRel... |
<?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;
use Illuminate\Database\Eloquent\Model;
class Hora extends Model
{
protected $table = "horas";
protected $primaryKey ='id';
protected $fillable=[
'hora_inic',
'hora_fina',
'id_horario',
'condicion'
];
protected $guarded=[
];
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMomentcontactsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('momentco... |
<div class="card mx-auto" style="width: 98%;">
<div class="card-header">
Nuevo Horario
</div>
<div class="card-body">
<form id="frmLogin" role="form">
<div class="row">
<div class="col-12 col-sm-3 col-md-3 col-lg-3 col-xl-3">
<div class="form-group">
<label style="width: 100%">
... |
<?php
/**
* Created by PhpStorm.
* User: haxianhe
* Date: 2018/10/10
* Time: 下午4:12
*/
namespace HpLib\Core;
/*
* 路由类
*/
class Router
{
public $url; //url串
public $router_url; //url数组
public $params; //请求参数
public $method; //请求方式
function __construct()
{
$this->url = parse_... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTestimonialsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('testimonia... |
<?php
namespace Yii2Oauth2ServerTests\unit\models\_traits;
use DateTimeImmutable;
use Yii2Oauth2ServerTests\unit\models\_traits\_base\Oauth2BaseModelTestTrait;
use Yii2Oauth2ServerTests\unit\models\_traits\_base\Oauth2BasePhpUnitTestCaseTrait;
trait GetSetExpiryDateTimeTestTrait
{
use Oauth2BaseModelTestTrait;
... |
<?php
namespace fangchaogang\uniontk\suning\request\netalliance;
use fangchaogang\uniontk\suning\SuningRequest;
use fangchaogang\uniontk\suning\RequestCheckUtil;
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-11-16
*/
class GetlevelinfoQueryRequest extends SuningRequest{
/**
*
*/
private $memberNo;
... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Admin\Album;
use App\Admin\Artist;
use App\Admin\Song;
class AlbumsController extends Controller
{
public function __construct() {
$this->album = new Album();
$this->artist ... |
<?php
/**
* Updated By PHP Office365 Generator 2019-10-12T20:10:10+00:00 16.0.19402.12016
*/
namespace Office365\SharePoint\Sharing;
use Office365\Runtime\ClientValueObject;
use Office365\SharePoint\SharingLinkInfo;
/**
* Represents
* a response for a request for the retrieval or creation/update of a tokenized ... |
<?php
namespace Modules\Supports\Entities;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class TypeSupport extends Model
{
use HasFactory;
protected $fillable = [];
protected static function newFactory()
{
return \Modules\Supports\Databas... |
<!-- BEGIN MAIN CONTENT -->
<div class="row" ng-controller="modellistcontroll as modelc">
<div class="col-md-12" st-pipe="modelc.callServer" st-table="modelc.displayed">
<!-- BEGIN start search CONTENT -->
<div class="portlet box blue">
<div class="portlet-title">
<div c... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div id="page-wrapper">
<div class="row"></div>
<div class="row">
<div class="col-lg-12">
<h4 class="page-top">
<a href="<?php echo base_url()."index.php/Common/Promotion/Eset";?>">
<span class="glyphicon glyphicon-arrow-left" ></... |
@extends('layout')
@section('content')
<div class="title">Home Page</div>
@stop |
<?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\Note\Component;
use Chamilo\Application\Weblcms\Tool\Implementation\Note\Manager;
class AttachmentViewerComponent extends Manager
{
} |
<?php
/* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
require "password.php";
if(!$a... |
<?php
/**
* Bitrix Framework
* @package bitrix
* @subpackage main
* @copyright 2001-2013 Bitrix
*/
namespace Bitrix\Main\Entity\Validator;
use Bitrix\Main\Entity;
use \Bitrix\Main\Config\ConfigurationException;
IncludeModuleLangFile(__FILE__);
/**
* Class description
* @package bitrix
* @subpackage m... |
@extends('home')
@section('content')
<div class="col-lg-12">
<h1 class="my-4">Video edit</h1>
<form action="{{route('video.update',$video)}}" method="POST">
@csrf
@method('PUT')
Title
<br/>
<input type="text" name="title" value="{{$video-... |
<footer class="footer-area">
<div class="container-xl">
<div class="row">
<div class="col-md-6">
<p class="copyright-text">
<a href=""><img src="{{ url('/uploads/system/logo-dark.png') }}" alt="" class="d-inline-block" width="110"></a>
<a h... |
<?php
use Faker\Factory as Faker;
use Illuminate\Database\Seeder;
class entregaFacukTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$faker = Faker::create('\App\entregaFacil');
$dato = 0;
while($dato <1){
... |
<?php
/*
* PSX is a open source PHP framework to develop RESTful APIs.
* For the current version and informations visit <http://phpsx.org>
*
* Copyright 2010-2017 Christoph Kappestein <christoph.kappestein@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... |
<?php
class ControllerModuleAmazonCheckoutLayout extends Controller {
protected function index($setting) {
if ($this->config->get('amazon_checkout_status') == 1 && $setting['status']) {
$allowed_ips = $this->config->get('amazon_checkout_allowed_ips');
if ((empty($allow... |
<?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... |
$forum_structure_r = $forumlist[$fid]['structure'];
$forum_structure= explode('|',$forum_structure_r);
$forum_structure_count = count($forum_structure); $update_array = array();
$update_array['tid']= $tid;
for($i=0;$i<$forum_structure_count;$i++)
$update_array['c'.($i+1)] = param('ini_'.($i+1),'-');
db_insert('thre... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Product;
class GalleryController extends Controller
{
function index(){
return view("tienda");
}
function fetchAll(){
$products = Product::with("productFormatSizes.size")->orderBy("id", "desc")->get();
... |
<?php
namespace App\Http\Controllers\Filters;
use phpDocumentor\Reflection\Types\Boolean;
class DateFilter
{
const MODE_TODAY = "today";
const MODE_RANGE = "range";
const ALL_MODES = [self::MODE_TODAY, self::MODE_RANGE];
public static function filterEnabled($filterData): bool
{
switch ($... |
<table class="wm_contacts_view">
<tr>
<td class="wm_field_title" colspan="2">
<h3><?php echo CApi::I18N('ADMIN_PANEL/DOMAINS_GENERAL_REGIONAL_SETTINGS');?></h3>
</td>
</tr>
<tr>
<td class="wm_field_title">
<span id="selLanguage_label">
<?php echo CApi::I18N('ADMIN_PANEL/DOMAINS_GENERAL_LANGUAGE');?>
... |
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>MENU</h3>
<ul class="nav side-menu">
<li><a href="zona.php"><i class="glyphicon glyphicon-signal"></i> Listin </a></li>
<li><a href="entrega/index.php" target="_blank"><i class="glyphicon glyph... |
<?php
/*
* Solr Bundle
* This is a fork of the unmaintained solr bundle from Florian Semm.
*
* @author Daan Biesterbos (fork maintainer)
* @author Florian Semm (author original bundle)
*
* Issues can be submitted here:
* https://github.com/daanbiesterbos/SolrBundle/issues
*/
namespace FS\SolrBundle\Repos... |
<?php
// +----------------------------------------------------------------------+
// | Anuko Time Tracker
// +----------------------------------------------------------------------+
// | Copyright (c) Anuko International Ltd. (https://www.anuko.com)
// +------------------------------------------------------------------... |
<div class="col-md-8">
<div class="row">
<div class="panel">
<div class="modal-header" class="btn btn-sm" style="background-color:#2c3e50; color:white">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
... |
<?php
/* Masonry Gallery shortcode*/
if (!function_exists('qode_masonry_gallery')) {
function qode_masonry_gallery($atts, $content = null){
global $wp_query, $qodeIconCollections;
$default_args = array(
'category' => '',
'number' => -1,
'order' => 'DESC',
... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $get_email_code_form \frontend\models\FormGetEmailCode */
/* @var $model \frontend\models\FormSignup */
/**
* @var $wait
*/
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
//\xutl\layui\LayuiAsset::register($this);
$this->ti... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
class SubCategory extends Model
{
use HasFactory;
protected $fillable = ['category_id', 'name', 'slug', 'description'];
public function category()
... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\DetailPembayaran;
use Illuminate\Http\Request;
class DetailPembayaranController extends Controller
{
public function index()
{
return response()->json([
'status' => 'OK',
'data' => De... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Restaurantly Bootstrap Template - Index</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href=... |
<?php
namespace uamext\widgets\navbar;
use yii\web\AssetBundle;
class MessagesAsset extends AssetBundle
{
public $sourcePath = '@uamext/widgets/navbar';
public $css = [];
public $js = [
'nav-messages.js',
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
]... |
<?php
/**
* @copyright Marko Cupic 2019 <m.cupic@gmx.ch>
* @author Marko Cupic
* @package Contao Theme Boilerplate Bundle
* @license LGPL-3.0+
* @see https://github.com/markocupic/contao-theme-boilerplate-bundle
*
*/
namespace Markocupic\ContaoThemeBoilerplateBundle\ContaoManager;
use Contao\M... |
<?php
$a[0] = new stdclass;
$a[0][0] = new stdclass;
?> |
<?php declare(strict_types=1);
namespace GraphQL\Tests\Executor;
use function count;
use GraphQL\Error\Error;
use GraphQL\Executor\Values;
use GraphQL\Language\AST\NamedTypeNode;
use GraphQL\Language\AST\NameNode;
use GraphQL\Language\AST\NodeList;
use GraphQL\Language\AST\VariableDefinitionNode;
use GraphQL\Language... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Studentabout */
$this->title = 'Create Studentabout';
$this->params['breadcrumbs'][] = ['label' => 'Studentabouts', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="studentabout-create">
<h1><?... |
<?php
use Illuminate\Database\Seeder;
class OriLocalbodytypeTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('ori_localbodytype')->delete();
\DB::table('ori_localbodytype')->insert(arr... |
<?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\Console\Tests;
use PHPUnit\Framework\TestCase;
use Sy... |
<?php
$STORE = @$_SESSION[$controller->defaultStore];
if(!empty($tpl['bus_type_arr']))
{
$map = PJ_INSTALL_PATH . $tpl['bus_type_arr']['seats_map'];
if (is_file($map))
{
$size = getimagesize($map);
?>
<div class="bsMapHolder pjBsSeatsContainer" style="height: <?php echo $size[1] + 20;?>px;">
<img id="map... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model frontend\models\RefTahapAkademikSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="ref-tahap-akademik-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => '... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Planing Maintenance
- Pabrik :
<?php echo $dropdown_pabrik ?>
<!-- <small>Input Harian</small> -->
</h1>
... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
@include('header.head')... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<h1>The Spectrum: Experience Theme Support Options</h1>
<?php settings_errors() ?>
<div class="ts-generalCntr">
<form action="options.php" method="post" class="ts-general-form">
<?php settings_fields( 'ts-theme-support-group' ) ?>
<?php do_settings_sections( 'ts_exp_options' ) ?>
<?php submit_button() ?>
</for... |
<?php
namespace Symfony\Component\Debug\Tests\Fixtures;
class CaseMismatch
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class StaticController extends Controller
{
public function home()
{
return view('static.home');
}
public function help()
{
return view('static.help');
}
public function about()
{
return view(... |
<?php
/**
* Controller genrated using LaraAdmin
* Help: http://laraadmin.com
*/
namespace App\Http\Controllers\LA;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Requests;
use Auth;
use DB;
use Validator;
use Datatables;
use Collective\Html\FormFacade as Form;
use Dwij\Laraadmin\Mod... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UserFavorController extends Controller
{
public function store(Request $request, $id)
{
\Auth::user()->favor($id);
return redirect()->back();
}
public function destroy($id)
{
\Auth::user()->unfavor($i... |
<?php
namespace App\Http\Controllers\Cron;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;
use Validator;
use PHPMailer;
class ReminderController extends Controller
{
public function index()
{
$mail = new PHPMailer;
$mail->SMTPDebug = 3; ... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateContentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contents', fun... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<table class="tb_list" width="100%">
<tr>
<th width="50">No.</th>
<th width="50">แสดง</th>
<th width="60">อนุมัติ</th>
<th width="200">ประเภท</th>
<th width="">เรื่อง</th>
<th width="50" align="center">แก้ไข</th>
<th width="50" align="center">ลบ</th>
</tr>... |
<?php
Yii::import('system.db.CDbConnection');
class PostRecord extends CComponent
{
public $param1;
public $param2;
public $id;
private $_title;
public $content;
public $create_time;
public $author_id;
public function __construct($param1,$param2)
{
$this->param1=$param1;
$this->param2=$param2;
}
publ... |
<div class="col-md-3">
<div class="box" id="order-summary">
<div class="box-header">
<h3>Order summary</h3>
</div>
<p class="text-muted">Ringkasan belanja anda adalah sebagai berikut</p>
<div class="table-responsive">
... |
<?php
/**
* Author: Ole Fredrik Lie
* URL: http://olefredrik.com
*
* FoundationPress functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionalit... |
<section class="wrapper site-min-height">
<!-- page start-->
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
Employee
</header>
<div class="panel-body">
<d... |
<?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 ... |
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
$params = $displayData['params'];
$item = $displayData['item'];
?>
<p class="readm... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Arr;
class CanViewProfile
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... |
<?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
/* WebProfilerBundle:Profiler:search.html.twig */
class __TwigTemplate_91e134cc6e6eaed831e887052d2927139243fab25d966a2344864651d8f25058 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = ... |
@extends('layouts.mjml')
@section('content')
<h3>MABM Communication Plan</h3>
<ul>
<li>
<a href="{{ url('mabm/zero') }}">Day 0</a>
</li>
<li>
<a href="{{ url('mabm/three') }}">Day 3</a>
</li>
<li>
<a href="{{ url('mabm/seven') }}">Day 7</a>
</li>
<li>
<a href="{{ url('mabm/ten') }}">Day 10</a>
</li>
<... |
<?php
/**
* Created by PhpStorm.
* User: Brito
* Date: 14/12/2016
* Time: 22:43
*/
namespace CodeProject\Transformers;
use CodeProject\Entities\Client;
use League\Fractal\TransformerAbstract;
class ClientTransformer extends TransformerAbstract
{
protected $defaultIncludes = ['projects'];
public functio... |
<?php
if ($this->session->userdata('level') == "Admin") {
?>
<div class="row">
<div class="col-sm-12">
<div class="card-box table-responsive">
<h4 class="m-t-0 header-title m-b-30"><b>Rekening Pelapak</b></h4>
<div style="width:100%; text-align:right; margin-bottom:10px;">
... |
<?php
declare(strict_types = 1);
namespace byrokrat\amount\Currency;
/**
* This file has ben auto generated and should not be edited directly
*/
class LBPTest extends \PHPUnit\Framework\TestCase
{
public function testCurrencyCode()
{
$this->assertSame(
'LBP',
(new LBP(''))->... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Passport\HasApiTokens;
use Hootlex\Friendships\Traits\Friendable;
use Tymon\JWTAuth\Contracts\JWTSubject;
class User extends Authenticatabl... |
<?php
namespace Product\Controller;
use Zend\Db\Adapter\Adapter;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Zend\Mail;
use Zend\Mail\Message;
use Zend\Mail\Transport\Sendmail;
class IndexController extends AbstractActionController
{
public function getProductMapper()
{
... |
<?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 App\Models\Role;
use Illuminate\Support\Arr;
use Illuminate\Database\Eloquent\SoftDele... |
<?php
function targetFiles($target)
{
if (is_dir($target)):
$files = glob($target . '*', GLOB_MARK);
foreach($files as $file):
targetFiles($file);
endforeach;
rmdir($target);
elseif (is_file($target)):
unlink($target);
endif;
} |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
@include('admin.sidebar')
<div class="col-md-9">
<div class="panel panel-default">
<div class="panel-heading">Manajemen <strong>Jenis Surat</strong></div>
... |
<?php
declare(strict_types=1);
namespace Vkbd\Vk\Message;
use Vkbd\Vk\User\Id\NumericVkId;
final class OutgoingMessage
{
public function __construct(
private NumericVkId $to,
private string $text
) {
}
public function to(): NumericVkId
{
return $this->to;
}
publ... |
@extends('master')
@section('title', 'Admin Control Panel')
@section('content')
<div class="container">
<div class="row banner">
<div class="col-md-12">
<div class="list-group">
<div class="list-group-item">
<div class="row-action-... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Doctor;
class DoctorController extends Controller
{
public function create(Request $request){
$doctor = new Doctor;
$doctor->nome = $request->nome;
$doctor->crm = $request->crm;
$doctor->email = $request->email;
... |
<?php include('includes/header.php'); ?>
<section id="main-content">
<section class="wrapper">
<div class="typo-agile">
<div class="grid_3 grid_4 w3layouts">
<h3 class="hdg">Appointment | Select Hospital</h3>
<div class="bs-example">
<div clas... |
<!-- Title page -->
<section class="how-overlay2 bg-img1" style="background-image: url(assets/images/{{$image}});">
<div class="container">
<div class="txt-center p-t-160 p-b-165">
<h2 class="txt-l-101 cl0 txt-center p-b-14 respon1">
{{$title}}
</h2>
<spa... |
<?php
defined('BASEPATH') OR exit('');
/**
* Description of Items
*
* @author Pesoros <pesorosdev@gmail.com>
* @date 31st Dec, 2015
*/
class Items extends CI_Controller{
public function __construct(){
parent::__construct();
// $this->genlib->checkLogin();
$this->... |
<?php
namespace Ekyna\Component\Commerce\Stock\Helper;
use Doctrine\ORM\EntityManagerInterface;
use Ekyna\Component\Commerce\Stock\Entity\ResupplyAlert;
use Ekyna\Component\Commerce\Stock\Repository\ResupplyAlertRepositoryInterface;
use Ekyna\Component\Commerce\Subject\Model\SubjectInterface;
use Ekyna\Component\Comm... |
<?php
namespace Tests\Feature;
use Tests\TestCase;
use Livewire\Livewire;
use Illuminate\Support\Facades\Http;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class ViewMoviesTest extends TestCase
{
public function test_the_main_page_shows_correct_info()
{
... |
<?php
namespace App;
use App\User;
use Illuminate\Database\Eloquent\Model;
class Listing extends Model
{
// One to Many Reply
public function user()
{
return $this->belongsTo(User::class);
}
} |
@extends('layout')
@section('content')
<link href="{{asset('css/bootstrap-datetimepicker.min.css')}}" rel="stylesheet">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Bank Detail</h3>
... |
<?php
//inclui arquivo conexao.php
include("conexao.php");
// inclui arquivo de regras de negocios desconto1
include("desconto1.php");
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>produtos</title>
<meta charset="utf-8">
<!-- add folhas de estilo -->
<link rel="stylesheet" type="text/css" href=... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This... |
<?php
namespace FilippoToso\Travelport\Util;
class MCOInformation
{
/**
* @var PassengerInfo $PassengerInfo
*/
protected $PassengerInfo = null;
/**
* @var string $MCONumber
*/
protected $MCONumber = null;
/**
* @var string $Status
*/
protected $Status = null;
... |
<?php
namespace App\Http\Controllers;
use App\CrewSalaryScale;
use App\CrewStatus;
use App\CrewVessel;
use App\Repositories\CrewRepository;
use App\VesselSalaryScale;
use Illuminate\Http\Request;
class CrewVesselController extends Controller
{
private $crewRepository;
public function __construct(CrewReposi... |
<?php
return [
[
'name' => 'php7lab',
'provider_name' => 'github',
'authors' => [],
],
[
'name' => 'php7bundle',
'provider_name' => 'github',
'authors' => [],
],
[
'name' => 'php7example',
'provider_name' => 'github',
'authors'... |
<div class="container-fluid p-1">
<div class="row">
<div class="col-md-5 ">
<nav aria-label="breadcrumb" style="margin:7px -5px -10px -5px;">
<div class="breadcrumb text-dark bg-white font-weight-bold shadow border">
<i class="fas fa-tags mt-1"></i> &nbs... |
<div class="code-box dark-theme">
<div class="box-header">
<div class="box-title">{{ $title }}</div>
<div title="Click to Change" style="height: 26px;
display: flex;
align-items: center;" class="xtooltip box-tab ml-auto">
<select class="lang-switch curl">
... |
@extends('admin::layouts.main')
@section('breadcrumb')
<li> <a href="{{ Route('admin-faqs') }}">Faqs</a></li>
<li> <a href="{{ Route('admin-viewfaq', ['id' => $model->id]) }}">{{ $model->question }}</a></li>
<li class="active">Update</li>
@stop
@section('content')
<div class="users-update">
<div class="portlet li... |
<?php
require_once (dirname(__FILE__).'/../../../boot.php');
require_once (dirname(__FILE__).'/functions.php');
$app = json_decode (base64_decode_url($_GET['apps']), true);
global $naIP;
global $naLAN;
// tvGetTableRows() means : themeViewerGetTableRows()
//$tableRows = tvGetTableRows();
?>
<div class="lds-facebook"... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
Model::unguard();
// $this->call(UsersTableSeeder::class);
$this->... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.