text stringlengths 2 1.03M |
|---|
@extends('layouts.master')
@section('content')
<script src="{{ asset('js/jquery.js') }}"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<link rel="stylesheet" href="{{asset('css/datatables.css')}}">
<script>
$(document).ready(function(){
var table = $('#employee-list')... |
<?php
require_once('config.php');
if ( isset($_GET['url']) ) {
$url = rtrim($_GET['url'], '/');
$url = filter_var($url, FILTER_SANITIZE_URL);
$url = explode('.', $url)[0];
}else {
$url = 'index';
}
//cek apakah file ada
if( file_exists('pages/' . $url . '.php') ){
require_once('template/header.php... |
<div class="w3-row-padding" style="margin:0 -16px">
<!-- PUT TABLE HERE -->
<!-- PHP.MySQL.START -->
<?php
$servername = "localhost";
$username = "pi";
$password = "raspberry";
$dbname = "pi";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ( $conn... |
<?php
/**
* @package Monitor
* @subpackage admin
*
* @copyright Copyright (C) 2015 Constantin Romankiewicz.
* @license Apache License 2.0; see LICENSE
*/
defined('_JEXEC') or die;
/**
* View to edit a status.
*
* @author Constantin Romankiewicz <constantin@zweiiconkram.de>
* @since 1.0
*/
cla... |
<?php
namespace App\Acme\Transformers;
/**
* Created by PhpStorm.
* User: Nu1
* Date: 3/11/2017
* Time: 1:13 PM
*/
abstract class Transformer
{
public function transformCollection(array $item)
{
return array_map([$this, 'transform'], $item);
}
public abstract function transform($item);
} |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/meadowsw/public_html/tca-ewb/user/plugins/admin/languages/th.yaml',
'modified' => 1472486252,
'data' => [
'PLUGIN_ADMIN' => [
'ADMIN_BETA_MSG' => 'นี่เป็นรุ่นทดลอง หากคุณใช้บนเว็บจริงคุณต้องยอมรับ... |
<?php
namespace Krak\Svg;
function serialize_svg($serializer, Element\AbstractElement $root)
{
if ($serializer instanceof SvgSerializer) {
return $serializer->serializeSvg($root);
}
else if ($serializer instanceof \Closure) {
return $serializer($root);
}
else if (is_callable($seria... |
@extends('layouts.auth')
@section('customTitle')
@include('layouts.inc.title',['title'=>'Refund Types Index'])
@endsection
@section('customCss')
@include('layouts.css.datables')
@endsection
@section('content')
<div class="container">
<a class="btn btn-primary" href="{{route('refundtypes.create... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Blog</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load Bootstrap CSS -->
<link href="<?= asset('css/bootstrap.min.css') ?>" rel="stylesheet">
<link rel="style... |
@if (count($errors) > 0)
<!-- Form Error List -->
<div class="alert alert-danger">
<strong>Whoops! Something went wrong!</strong>
<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif |
@extends('layouts.master')
@section('content')
<div class="container">
<h5>Edit Room Form</h5>
<form method="POST" action="/rooms/{{ $room->id }}">
@method('PUT')
@csrf
<div class="form-group">
<label for="exampleInputEmail1">Building</label>
<select class="custom-select" name='building'>
@f... |
<?php
namespace App\Http\Controllers\Api;
use App\User;
use App\Mobile;
use App\Order;
use App\Category;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use App\Http\Controllers\Controller;
use JWTAuth;
use Tymon\JWTAuth\Exceptions\JWTException;
class MobileController extends Controller
{
// повертає ма... |
<?php declare(strict_types=1);
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
class TraitUse extends Node\Stmt
{
/** @var Node\Name[] Traits */
public $traits;
/** @var TraitUseAdaptation[] Adaptations */
public $adaptations;
/**
* Constructs a trait use node.
*
* @param Node\... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Article extends Model
{
public function user()
{
return $this->belongsTo('App\User');
}
public function category()
{
return $this->belongsTo('App\Category');
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Posting extends Model
{
protected $guarded = [];
public function journal_entry()
{
return $this->belongsToMany(JournalEntry::class);
}
public function account()
{
return $this->hasOne(Account::class);
}
... |
<?php
declare(strict_types=1);
namespace Application\Service;
use Application\Model\Message;
use Doctrine\ORM\EntityManager;
use Ecodev\Felix\Service\Mailer;
use Laminas\Mail\Transport\TransportInterface;
use Psr\Container\ContainerInterface;
class MailerFactory
{
/**
* Return a configured mailer.
*/
... |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>SIAKAD - Masu... |
<style>
table {
width: 100%;
border-collapse: collapse;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 8px !important;
}
th, td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.col {
margin-b... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
@include('admin.sidebar')
<div class="col-md-9">
<div class="card">
<div class="card-header">Histórico de Serviços Executados</div>
<div cla... |
</div>
<hr/>
<div class="container-fluid text-center">
<div class="row p-3">
<div class="col-sm-6 col-md-3 border-right">
<h5 class="mt-3">Help</h5>
<ul class="list-unstyled footer_list">
<li><a href="#">Auction</a></li>
<li><a href="#">Shipping</a></li>
<li><a href="#">Payments</a></li>
<li><a... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
//use Illuminate\Database\Eloquent\SoftDeletes;
class Availablemedic extends Model
{
//use SoftDeletes;
//protected $dates = ['deleted-at'];
protected $fillable = ['Username', 'Cert_Level', 'Location'];
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class BarberTestimonial extends Model
{
use HasFactory;
protected $table = 'barberstestimonials';
public $timestamps = false;
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDemandesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('demandes', fun... |
<!doctype html>
<h1 class="text-center">Crud</h1><hr>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width,initial-scale=1">
<title> Cadastrar novo Livro</title>
<style>
label{
float: left;
display: block;
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Alternatif_model extends CI_Model
{
private $tb_alternatif='alternatif';
function __construct()
{
$this->load->library('M_db');
}
function alternatif_add($id_perawat,$kriteriaData=array(), $sub=array())
{
... |
<?php
namespace Pine\SimplePay\Handlers;
use Pine\SimplePay\Support\Log;
class IPNHandler extends Handler
{
/**
* Handle the IPN request.
*
* @param array $payload
* @return void
*/
public function handle($payload)
{
error_log("IPN event was fired"); //bela
Log::info(_... |
<?php
/**
* Part of the Sentinel package.
*
* NOTICE OF LICENSE
*
* Licensed under the 3-clause BSD License.
*
* This source file is subject to the 3-clause BSD License that is
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.14
* @author Cartalyst LLC
* @lic... |
<?php
namespace Some\Other\Name\Space {
const SOME_CONST_WITH_EXPRESSION = 'expression' . '1,2,34';
function someFunction() {
return __FUNCTION__;
}
}
namespace Pinq\Tests\Integration\ExpressionTrees {
use function Some\Other\Name\Space\someFunction as aliasedFunction;
use const Some\Othe... |
<?php
/**
* GetFwLeaderboardsYesterdayYesterday1
*
* PHP version 5
*
* @category Class
* @package App\EveApi\Esi
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* EVE Swagger Interface
*
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.8.3
*
*... |
<?php include(dirname(__FILE__) . '/../includes/header.php'); ?>
<?php $listeExam = $this->md_parametre->liste_acts_laboratoires_actifs();?>
<?php $list = $this->md_parametre->liste_reactif_actifs(); ?>
<section class="content">
<div class="container-fluid">
<div class="block-header">
... |
<?php
/**
* @author: Viskov Sergey
* @date: 05.07.17
* @time: 1:29
*/
use LTDBeget\jiraIntegration\Programmer;
use LTDBeget\jiraIntegration\WorkLogger;
require '../vendor/autoload.php';
$programmer = new Programmer("your-wakatime-api-key");
$workLogger = new WorkLogger(
"https://path-to-your-jira.com",
"... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CategoryHandler extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'required|mi... |
<?php
return [
'Name' => '变量名',
'Tip' => '提示信息',
'Group' => '分组',
'Type' => '类型',
'Title' => '变量标题',
'Value' => '变量值',
'Basic' => '基础... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>House Rent BD</title>
<!-- plugins:css -->
<link rel="stylesheet" href="{{asset('frontend')}}/userDashboard/ass... |
<?php
Route::group([
"namespace" => "Order",
], function () {
/*
* Admin Order Controller
*/
// Route for Ajax DataTable
Route::get("order/get", "AdminOrderController@getTableData")->name("order.get-list-data");
Route::resource("order", "AdminOrderController");
}); |
<?php
namespace App\Http\Controllers;
use App\Models\Cart;
use Illuminate\Http\Request;
class StripeController extends Controller
{
public function makePayment()
{
$cartDat = Cart::with(['user' => function($query){
return $query->find(auth('user')->id());
}])->get();
dd($c... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>TasksList</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
<... |
@extends('admin::layouts.master')
@section('header')
<strong>Dashboard</strong>
@endsection
@section('content')
<div class="row sameheight-container">
<div class="col col-12 col-sm-12 col-md-6 col-xl- stats-col">
<div class="card sameheight-item stats" data-exclude="xs">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
use HasFactory;
protected $guarded = [];
public function Event(){
return $this->belongsTo(Event::class,'event_id','id');
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$this->load->view('c/common/header');
$this->load->view('c/common/navbar');
?>
<div class="col-md-9 col-sm-8 col-xs-12">
<h3>Problems List</h3>
<hr>
<table id="problems" class="display " cellspacing="0" width="100%" >
<thead>
... |
<?php
ini_set('error_log','my_file.log');
ini_set('display_errors',1);
error_reporting(E_ALL);
require '../conn/MySQL.php';
require_once("../classes/class.SiteManager.php");
require_once("../includes/generalFunction.php");
$dbcon = new MySQL();
$siteObj = new SiteManager();
$groupName = $_REQUEST['groupName'];
$dev... |
@extends('layouts.admin_app')
@push('styles')
<style>
label
{
color: rgba(0, 0, 0, 0.51);
}
</style>
@endpush
@section('content')
<div class="container">
<div class="row">
<div class="col-12">
<div class="d-flex justify-content-between... |
<?php
namespace Nova\Auth;
interface UserProviderInterface
{
/**
* Retrieve a user by their unique identifier.
*
* @param mixed $identifier
* @return \Nova\Auth\UserInterface|null
*/
public function retrieveById($identifier);
/**
* Retrieve a user by by their unique ident... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Product extends Model
{
use HasFactory;
public function Category()
{
return $this->belongsTo(ProductCategories::class, 'category');
}
} |
<?php
/*
Este archivo es parte de la aplicación web Celia360.
Celia 360 es software libre: usted puede redistribuirlo y/o modificarlo
bajo los términos de la GNU General Public License tal y como está publicada por
la Free Software Foundation en su versión 3.
Celia 360 se distribuye con el propósito de resu... |
<?php
/*
* This file is part of TechnicPack Solder.
*
* (c) Syndicate LLC
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tests\Unit;
use App\Build;
use App\Modpack;
use Carbon\Carbon;
use Tests\TestCase;
use Illuminat... |
<?php
/*
* User.php
*
* Copyright 2018 Grega Mohorko
*
* 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 ... |
<body class="<?php echo $setting[0]->setting_layout; ?> sidebar-mini <?php echo $setting[0]->setting_color; ?> fontPoppins">
<div class="preloader">
<div class="loading text-center">
<img src="<?php echo base_url(); ?>assets/core-images/load.gif" width="50">
<br>
... |
<div class="content">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h4 class="card-title"> Penilaian Praktikan</h4>
</div>
<div class="card-body">
<div id="accordion">
<?php $i = 0; $k = 0;
... |
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\File;
use Illuminate\Http\Request;
use App\Models\GalleryImagesDetailModel;
use App\Models\TrashGalleryModel;
use App\Models\MetaTagsModel;
use App\Models\MetaKeywordsModel... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\ContactForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;
$this->title = 'Статьи';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-contact">
<h1 class="page... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Accounts\V1\Credential;
use DateTime;
use Twilio\Deserialize;
use Twilio\Exceptions\TwilioException;
use Twilio\InstanceResource;
use Twilio\Options;
use Twilio\Values;
use Twilio\... |
<?php
// $Id: dom_exception.php 2017 2009-01-08 19:09:51Z dualface $
/**
* 定义 QDom_Exception 类
*
* @link http://qeephp.com/
* @copyright Copyright (c) 2006-2009 Qeeyuan Inc. {@link http://www.qeeyuan.com}
* @license New BSD License {@link http://qeephp.com/license/}
* @version $Id: dom_exception.php 2017 2009-01... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateReservaSafarisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reserva_... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Bundle\TaxonomyBundle\Form\DataTransformer;
use Doctrine\Common\Collections\Col... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Resto extends MY_Controller {
function __construct() {
parent::__construct();
$this->load->model('Resto_model');
$this->load->library('form_validation');
}
public function index() {
$q = ur... |
<?php
namespace App\Models;
class ActivityOrderRefund extends AppModel
{
//
const INIT_REFUND = 0;//发起退款
const CANCEL_REFUND = 1;//取消退款
const REFUNDING = 2;//退款中
const FINISH_REFUND = 3;//退款完成
const FAILD_REFUND = 4;//退款失败 驳回退款
protected $table = "activity_order_refunds";
protected $... |
<?
$MESS["CRM_ENTITY_RQ_CONV_INTRO"] = "You no longer have to enter details every time you create a new invoice. Provide your contact details once and then use this data in any CRM entity. We recommend you convert old details to new ones for further use. <b>The \"address\" field will also be copied but hidden.</b> <a i... |
<?php
class CrudGeneratorTest extends TestCase
{
public function testCrudGenerateCommand()
{
// $this->artisan('crud:generate', [
// 'name' => 'Posts',
// '--fields' => "title#string; content#text; category#select#options=technology,tips,health",
// ]);
// $this-... |
<!-- <div class="alert alert-danger" role="alert" >
<b>ATTENTION:</b> This Module is under System/Server Maintenance, <b>Approving of company request is temporarily unavailable. Sorry for the inconvenience.
</div> -->
<!-- Begin Page Content -->
<div class="container-fluid">
<div class="row">
<!-- Area Char... |
<?php
namespace App\Http\Controllers;
use App\Models\Cart;
use App\Models\Product;
use App\Models\User;
use Illuminate\Contracts\Session\Session;
use Illuminate\Http\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
class CartController extends Controller
{... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sistem Pakar Penyakit Stunting</title>
<!-- head -->
<?php $this->load->view('backend/tamplate/head')?>
</head>
<body class="hold-transition sidebar-mini">
... |
<?php
namespace Faker\Provider;
class Payment extends Base
{
public static $expirationDateFormat = "m/y";
protected static $cardVendors = array(
'Visa', 'Visa', 'Visa', 'Visa', 'Visa',
'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard',
'American Express', 'Discover ... |
<?php
/**
* Copyright 2020-2022 ZaphireUHC
*
* 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 o... |
<?php $this->load->view('header');?>
<div class="sidebar">
<div class="logo-details">
<i class='bx bxl-c-plus-plus icon'></i>
<div class="logo_name">Project Manager</div>
<i class='bx bx-menu' id="btn" ></i>
</div>
<ul class="nav-list">
<li><i class='bx bx-search' ></i>
... |
<?php
namespace Project\Models;
class Register
{
public $firstname;
public $lastname;
/**
* Register constructor.
* @param string $firstname
* @param string $lastname
*/
public function __construct(string $firstname, string $lastname)
{
$this->firstname = ucwords(strto... |
<?php
global $sql;
$connect=$sql->connect();
if(isset($_POST['query_data'])){
$perNumber=5;
@$page=$_POST['page'];
$count=$sql->query($connect,"select count(*) from umarket_order");
$rs=$sql->fetch_array($count);
$totalNumber=$rs[0];
$totalPage=ceil($totalNumber/$perNumber);
if (!isset($page)) {
$page=1;
}
$startCou... |
<?php
namespace TMCms\Cache;
use TMCms\Cache\Interfaces\ICache;
use TMCms\Log\Usage;
use TMCms\Traits\singletonInstanceTrait;
/**
* Class Cacher
* @package TMCms\Cache
*/
class Cacher
{
use singletonInstanceTrait;
/**
* @var string
*/
private $default_cache_classname = 'FileCache';
/**... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUserIdTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('shops', function (Bl... |
<?php
namespace Kassko\DataMapperTest\Hydrator\Fixture\DataSource;
use Kassko\DataMapperTest\Hydrator\Fixture\Model\DataSourceParameters;
class ParametersDataSource
{
public function getData(DataSourceParameters $object, array $data, $propertyValue, $valueInt, $valueString)
{
return '123';
}
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Requests\PhongbanAddRequest;
use App\Http\Requests\PhongbanEditRequest;
use App\Phongban;
use DB;
class PhongbanController extends Controller {
public function getList()
{
... |
<?php
namespace Themsaid\Forge\Resources;
class SSHKey extends Resource
{
/**
* The id of the key.
*
* @var integer
*/
public $id;
/**
* The id of the server.
*
* @var integer
*/
public $serverId;
/**
* The name of the key.
*
* @var string
... |
<?php
namespace App\Providers;
use App\Models\User;
use Illuminate\Http\Request;
use Laravel\Fortify\Fortify;
use Illuminate\Support\Facades\Auth;
use App\Actions\Fortify\CreateNewUser;
use Illuminate\Support\ServiceProvider;
use Illuminate\Cache\RateLimiting\Limit;
use App\Actions\Fortify\ResetUserPassword;
use App\... |
@extends('unstarter.layouts.master_bootstrap_scaffold')
@section('content')
<h1>Feature Index:</h1>
<form class = 'col s3' method = 'get' action = '{{url("feature")}}/create'>
<button class = 'btn btn-primary' type = 'submit'>Create New Feature</button>
</form>
... |
<?php
namespace App\Http\Resources;
use App\Models\Institutii;
use App\Models\Judet;
use App\Models\Localitate;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Support\Carbon;
class DatePersonaleAngajat extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param ... |
<?php
namespace App\Http\Controllers\traits\user\view;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Auth;
/**
* Trait SaveView
* @package App\Http\Controllers\traits\user\view
*/
trait SaveView
{
/**
... |
<?php
namespace App\Menu;
use Knp\Menu\FactoryInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
class Builder {
private $factory;
private $authorizationChecker;
/**
* @param FactoryInterface $factory
*
* Add any other dependency you need
*/
public function __c... |
<?php require_once '../../config.php'; ?>
<?php require_once DBAPI; ?>
<?php
require_once LOGIN2;
verificaLoginAdmin();
?>
<?php require_once SETOR;
?>
<?php require_once LOCAL; ?>
<?php require_once CHAMADO;
viewchamado($_GET['id']);
index_tag_chamado();
add_resp_chamado();
?>
<?php include(HEADER_TEMPLATE); ?>
... |
@extends('layouts.app')
@section('content')
<div class="col-xs-12 col-sm-8 col-lg-12">
<hr>
@include('parcial3.partials.info')
<table class="table">
<div class="form-row">
<thead>
<tr>
<th scope="col">ALUMNOS</th>
<th scope="col"><a class="btn btn-primary" href="{... |
<?php
namespace news\services\manage\posts\rubrics;
use news\entities\posts\rubric\templates\RubricTemplates;
use news\forms\manage\posts\post\rubrics\TemplatesForm;
use news\repositories\posts\rubrics\RubricTemplateRepository;
/**
* Class RubricTemplatesManageService
* @package news\services\manage\posts\rubrics... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class GasMechanics extends Model
{
protected $guarded = [];
} |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace lliyplliuk\eBaySDK\MerchantData\Types;
/**
*
* @property boolean $BusinessSeller
* @property boolea... |
<?php
namespace BBC\ProgrammesPagesService\Domain\Entity;
use BBC\ProgrammesPagesService\Domain\Entity\Unfetched\UnfetchedNetwork;
use BBC\ProgrammesPagesService\Domain\Entity\Unfetched\UnfetchedVersion;
use BBC\ProgrammesPagesService\Domain\Exception\DataNotFetchedException;
use BBC\ProgrammesPagesService\Domain\Val... |
<?php
/**
* Header social menu template part.
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Get social options array.
$social_options = oceanwp_social_options();
// Return if array is empty.
if ( empty( $social_options ) ) {
return;
}
// Get t... |
<?php
namespace Jd\Request;
class ServicePromotionBatchGetcodeRequest
{
private $apiParas = array();
public function getApiMethodName(){
return "jingdong.service.promotion.batch.getcode";
}
public function getApiParas(){
return json_encode($this->apiParas);
}
public function check(){
}
public fu... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class myController extends Controller
{
public function index()
{
return view("home");
}
public function contact_us()
{
return view("contact-us");
}
public function login()
... |
<?php
// require common code
require_once("includes/common.php");
// escape username and password for safety
$username = mysqli_real_escape_string($connection, $_POST["username"]);
$password = mysqli_real_escape_string($connection, $_POST["password"]);
// prepare SQL
$sql = "SELECT uid F... |
<?php namespace Tests\Repositories;
use App\Models\tramite;
use App\Repositories\tramiteRepository;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Tests\TestCase;
use Tests\ApiTestTrait;
class tramiteRepositoryTest extends TestCase
{
use ApiTestTrait, DatabaseTransactions;
/**
* @var tramit... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up(): void
{
Schema::create('failed... |
<?php
namespace App\Services;
use App\Http\Resources\IntervalUnitResource;
use App\Models\IntervalUnit;
class IntervalUnitService
{
/** @var IntervalUnit $intervalUnit */
protected $intervalUnit;
/**
* IntervalUnitService constructor.
*
* @param IntervalUnit $intervalUnit
*/
publ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ApkList extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('apk_list', function (Bluep... |
<?php
include(app_path().'/includes/classes/load.php');
$header_content=create_header("CONTACT US");
$sh_hero_image="assets/images/test-hero4.jpg";
$header_class='sub-header-wrapper';
?>
@extends('layouts.master')
@section('title')
EZ-Payroll - Contact Us
@endsection
@section('content')
<main class="epc-conta... |
<?php
namespace App\Orchid\Layouts;
use App\Models\Account;
use Orchid\Screen\TD;
use Orchid\Screen\Actions\Link;
use Orchid\Screen\Layouts\Table;
class AccountListLayout extends Table
{
/**
* Data source.
*
* The name of the key to fetch it from the query.
* The results of which will be elem... |
@extends('admin.layouts.master')
@section('title')
{{ __('main.Add New Category') }}
@endsection
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-... |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel common\models\search\CoursesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Courses';
$this->params['subtitle'] = '<h1>Courses '.Yii::$app->myhelper->getCreaten... |
<?php
return array (
'singular' => 'Infromative Data',
'plural' => 'Infromative Datas',
'fields' =>
array (
'id' => 'Id',
'about_en' => 'English About',
'about_ar' => 'Arabic About',
'contact_email' => 'Contact Email',
'phone_number' => 'Phone Number',
'p... |
<?php
namespace app\homeapi\controller;
use think\Controller;
class User extends BaseApi
{
public function userDetail($id="")
{
$user = \app\adminapi\model\User::find($id);
$this->ok($user);
}
public function avatar($id="")
{
$params = input();
unset($params['/avat... |
<?php
namespace Autobox;
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', 'ema... |
<!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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.