text stringlengths 2 1.03M |
|---|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Controller extends CI_Controller {
function __construct()
{
parent::__construct();
}
public function index()
{
}
public function view($page, $data)
{
$page_dir = "contents/";
if ( ! f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateIndustrialZonesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('industr... |
<?php
use yii\db\Migration;
/**
* Class m210208_065326_create_project
*/
class m210208_065326_create_project extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('project', [
'id' => $this->primaryKey(),
'title' => $this->stri... |
<?php
class Kwf_Trl_ChainedByMaster_Chained_Component extends Kwc_Root_TrlRoot_Chained_Component
{
public static function getSettings($masterComponentClass)
{
$ret = parent::getSettings($masterComponentClass);
$ret['generators']['page']['class'] = 'Kwc_Root_Category_Trl_Generator';
$ret[... |
<!-- Tambah Modal -->
<div class="modal fade" id="tambahModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 cl... |
<?php
namespace App\rakuten;
use tgMdk\dto\RakutenCancelRequestDto;
use tgMdk\TGMDK_Transaction;
/*
* 楽天ID決済 取消要求サンプル
* Created on 2014/10/02
*
*/
/**
* ステータスコード
*/
define('TXN_FAILURE_CODE', 'failure');
define('TXN_PENDING_CODE', 'pending');
define('TXN_SUCCESS_CODE', 'success');
require_once("../../vendor... |
<section class="content">
<div class="box">
<ol class="breadcrumb bg-white">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active"><i class="fa <?php echo $faicon_karyawan; ?>"></i> <?php echo $title_karyawan; ?></li>
</ol>
</div>
<!-- Info... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;
class Language
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handl... |
<?php
namespace InepZend\Module\Ssi\Entity;
use Doctrine\ORM\Mapping as ORM;
use InepZend\Entity\Entity;
use InepZend\Util\Date;
/**
* ConfiguracaoSistema
*
* @ORM\Table(name="SSI.TB_CONFIGURACAO_SISTEMA")
* @ORM\Entity(repositoryClass="InepZend\Module\Ssi\Entity\ConfiguracaoSistemaRepository")
*/
class Configu... |
<?php
/**
* Copyright (C) GrizzIT, Inc. All rights reserved.
* See LICENSE for license details.
*/
namespace Ulrack\AopExtension\Common;
use GrizzIt\Storage\Common\StorageInterface;
interface CompilerInterface
{
/**
* Compiles the configuration and retrieves it.
*
* @return StorageInterface
... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Pop\Attribute;
use Pop\AttributeValue;
use Pop\Product;
use Pop\User;
use Pop\Category;
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->clean();
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Login extends Model
{
protected $table="user";
protected $primaryKey="user_id";
public $timestamps=false;
protected $guarded=[];
} |
<?php
namespace SymfonyBundles\KafkaBundle\Producer;
class Producer
{
/**
* @var \RdKafka\Producer
*/
protected $client;
/**
* @var array|\RdKafka\ProducerTopic[]
*/
protected $topics = [];
/**
* @var Configuration
*/
protected $configuration;
/**
* {@... |
<?php
namespace App\Http\Requests\Permission;
use Illuminate\Foundation\Http\FormRequest;
class UpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
$permission = $this->route('per... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitf4cedd3868d03a603c2c376737cedb62::getLoader(); |
<?php
/////////////////
// APP VITALS //
function include_if_exists($_current_file, &$_environment_vars = null) {
$exists = file_exists($_current_file);
if ($exists) {
unset($exists);
if ($_environment_vars) // Set variables from hash
foreach($_environment_vars as $_environment_var => $_environ... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class Paid
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mi... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Test\Constraint;
use Magento\Catalog\Test\Block\Adminhtml\Product\Edit\AdvancedPricingTab;
use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
use Magento\Catalog\Test\Page\Admin... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePackageSaleUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('packag... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-8">
<img src="/storage/{{ $post->image }}" alt="{{ $post->caption }}" class="w-100">
</div>
<div class="col-4">
<div>
<div class="d-flex align-items-baseline">
... |
<?php
namespace App\Events;
use App\Models\Order;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Il... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class DashboardController extends Controller
{
// public function __construct()
// {
// $this->middleware('auth');
// }
public function index()
{
return view('dashboard');
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... |
@extends('layout')
@section('content')
@include('inc.sidebar')
<section id="choose-car" class="section-padding">
<div class="container">
<div class="row">
<!-- Section Title Start -->
<div class="col-lg-12">
<div class="section-title text-center">... |
<?php
if(!defined('BASEPATH')) exit('No direct script access allowed');
class Hello2 extends CI_Controller{
// declare variables or class properties
var $name;
var $color;
function __construct(){
parent::__construct();
$this->name="Abir";
$this->color="red";
}
function you(){
$data['name']=$this->name;
... |
<?php
namespace Org\Schema\Thing\Organization;
/**
* Class NGO
* Organization: Non-governmental Organization.
* @author AppBels <app.bels@gmail.com>
* @name NGO
* @namespace Org\Schema\Thing\Organization
* @package Org\Schema
* @see https://schema.org/NGO
* Date 09/04/2017
*... |
@extends('nav.navbar')
@section('content')
<div class="container">
@if(count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach($errors->all() as $error)
<li>{{$error}}</li>
... |
<?php
namespace App\Http\Controllers;
use DB;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Redirect;
use Session;
session_start();
class AdminController extends Controller {
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package L... |
@isset($errorMessageBox)
@include('components.controls.error_message_box', ['vueHookID' => $vueHookID])
@endisset
<label @isset($vueHookID)ref="label_ref_{{$vueHookID}}"@endisset class="select-label @if(isset($showError) and $showError) input-with-error @elseif(isset($showConfirmation) and $showConfirmation) i... |
<?php
/**
* Copyright 2005-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* Originally based on code from:
* - auth.php (1.49)
* - imap_general.php (1.212)
* - imap_me... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBo... |
<!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.0">
<title>Laravel Chat</title>
<link rel ="stylesheet" href="./css/app.css"/>
</head>
<style>
*{
margin: ... |
<?php
$rangeid=114;
$prevcid=126;
$prevwidth=511;
$interval=false;
$range=array (
32 =>
array (
0 => 255,
1 => 252,
2 => 292,
3 => 680,
4 => 619,
5 => 714,
6 => 667,
7 => 197,
8 => 269,
9 => 268,
10 => 321,
11 => 415,
12 => 225,
13 => 422,
14 => 189,
... |
<?php
declare(strict_types=1);
namespace Spiral\Queue\Driver;
use Ramsey\Uuid\Uuid;
use Spiral\Queue\OptionsInterface;
use Spiral\Queue\QueueInterface;
use Spiral\Queue\QueueTrait;
final class NullDriver implements QueueInterface
{
use QueueTrait;
public function push(string $name, array $payload = [], Opt... |
<?php
namespace App\Http\Controllers\API;
use App\Models\Department;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Resources\DepartmentResource;
class DepartmentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Re... |
@extends('layouts.cardBase')
@section('css')
<link href="{{mix("/css/jquery.magicsearch.min.css")}}" rel="stylesheet" />
@endsection
@section('card-header')
@section('card-header-classes', '')
<div class="text-center">
<h3>Ուղեգիր</h3>
</div>
@endsection
@section('card-content')
@include('shared.info-... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Li... |
<?php
/**
* Created by PhpStorm.
* User: ricardoc
* Date: 27/03/15
* Time: 19:45
*/
namespace DRC\ToDo\Data;
class Task implements \JsonSerializable {
protected $id;
protected $title;
protected $description;
protected $status;
protected $creationDate;
protected $lastModified;
const ST... |
<?php
namespace FondOfOryx\Client\ErpInvoicePageSearch\Dependency\Client;
use Spryker\Client\Search\SearchClientInterface;
use Spryker\Client\SearchExtension\Dependency\Plugin\QueryInterface;
class ErpInvoicePageSearchToSearchClientBridge implements ErpInvoicePageSearchToSearchClientInterface
{
/**
* @var \... |
<?php
/**
* @noinspection PhpUnused
* @noinspection MethodShouldBeFinalInspection
*/
declare(strict_types=1);
namespace OswisOrg\OswisCoreBundle\Entity\AbstractClass;
use DateTime;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\JoinColumn;
use Doctrine\ORM\Mapping\ManyToOne;
use OswisOrg\OswisCoreBundl... |
<?php
/*
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose Pty Ltd" file="ObjectSerializer.php">
* Copyright (c) 2003-2020 Aspose Pty Ltd
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, ... |
<?php
namespace App\Controller\Utils;
use App\Controller\UtilsController;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Crm\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for GetEmailsResponse StructType
* @subpackage Structs
*/
class GetEmailsResponse extends AbstractStructBase
{
/**
* The MidocoEmai... |
<?php
$this->extend('Layout/layout_users');
helper('funcoes');
?>
<?php $this->section('conteudo') ?>
<div class="row mt-1">
<div class="col-12 ">
<h1>Cotação_Lista_Clientes</h1>
<input type="hidden" name="id_cot" value="<?php echo $id_cot ?>">
<div class="row ">
<!-- botao adicionar -->
<div class="col-6 ... |
<div class="footer">
footer
</div> |
<?php
namespace backend\modules\media\controllers;
use Yii;
use common\models\media\Video;
use common\models\media\search\VideoSearch;
use common\components\UploadLib;
use common\components\ClaHost;
use common\components\ClaGenerate;
use common\components\ClaYoutube;
use yii\web\Controller;
use yii\web\NotFoundHttpEx... |
<?php
use App\User;
use App\Lead;
use App\Recording;
use App\Appointment;
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Validator;
use Illuminate\Support\Facades\Hash;
use DB;
use DataTables;
use App\Notifications\RecordingPublished;
use App\Notifications\NewLead;... |
<?php
namespace parallel\Events\Error;
use parallel\Events\Error;
class Timeout extends Error{
} |
@extends('shop::layouts.master')
@section('page_title')
Package Articles
@stop
@section('content-wrapper')
<div class="main">
Package Articles
</div>
@stop |
<?php
use App\Models\User;
?>
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Khaled</title>
<!-- Fonts -->
<link href="https://fo... |
<?php
/*******************************************************************************
* Copyright 2017 Okta, 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.a... |
<?php
/**
* Subclass of KM_Updates for plugins
*
* @package KM_Updates
* @since 4.6.3
* @author John Gera
* @copyright Copyright (c) 2013 John Gera, George Krupa, and Kreatura Media Kft.
* @license http://codecanyon.net/licenses/faq Envato marketplace licenses
*/
require_once dirname(__FILE__) . '/class.km.a... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PersonController extends Controller
{
public function index(){
return view('person.index');
}
private $code = '190313012';
private $name = 'Silver Farhanny Syifa';
public function sendData() {
$code = $this... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dingtalk\Vdrive_1_0\Models;
use AlibabaCloud\Tea\Model;
class GrantPrivilegeOfCustomSpaceResponse extends Model
{
/**
* @var string[]
*/
public $headers;
protected $_name = [
'headers' => 'headers',... |
<?php
namespace Codeception\Coverage;
use Codeception\Configuration;
use Codeception\Exception\ConfigurationException;
use Codeception\Exception\ModuleException;
use Symfony\Component\Finder\Finder;
class Filter
{
/**
* @var \PHP_CodeCoverage
*/
protected $phpCodeCoverage = null;
/**
* @va... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
namespace App\Http\Controllers\Doctor;
use App\Http\Controllers\Controller;
use App\Models\Appointment;
use App\Models\Doctor;
use App\Models\Emr;
use App\Models\EmrDocument;
use App\Models\User;
use Illuminate\Support\Facades\Validator;
class EMRController extends Controller
{
public function index()
... |
<!-- Header Starts -->
<div class="navbar-wrapper">
<div class="navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
... |
<?php
/**
* Main Plugin class.
*
* Responsible for initializing the plugin.
*
* @package Google\Web_Stories
* @copyright 2020 Google LLC
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link https://github.com/google/web-stories-wp
*/
/**
* Copyright 2020 Google LLC
*
*... |
<?php
namespace Pterodactyl\Http\Requests\Api\Application\Servers;
use Pterodactyl\Models\Server;
use Pterodactyl\Services\Acl\Api\AdminAcl;
use Pterodactyl\Exceptions\Repository\RecordNotFoundException;
use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
use Pterodactyl\Http\Requests\Api\Application\Appl... |
<?php
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* sfWidgetFormInput represents an HTML input tag.
*
* @pack... |
<?php
class User {
private $idusuario;
private $dslogin;
private $dssenha;
private $dtcadastro;
public function getIdusuario(){
return $this->idusuario;
}
public function setIdusuario($idusuario){
$this->idusuario = $idusuario;
}
public function getDslogin(){
return $this->dslogin;
}
public functi... |
@extends('layouts.new_app') @section('content')
@if(!auth()->user())
<frontpage-slider></frontpage-slider>
@endif
<div class="d-flex justify-content-center">
<div class="col-12 col-sm-12 col-md-11 col-lg-10 p-0">
<h1 class="text-center mt-4">
Elplore Vehicles
</h1>
<v-divider cla... |
<?php
namespace Modules\Media\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Modules\Core\Base\FrontController;
class IndexController extends FrontController
{
/**
* 首页
*
* @return Response
*/
public function index()
{
return $this->view();
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(UsersSeeder::class);
}
} |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v3/enums/offline_user_data_job_status.proto
namespace Google\Ads\GoogleAds\V3\Enums;
if (false) {
/**
* This class is deprecated. Use Google\Ads\GoogleAds\V3\Enums\OfflineUserDataJobStatusEnum\OfflineUserDataJobSt... |
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit(... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%article}}`.
*/
class m201225_124742_create_article_table extends Migration
{
/**
* {@inheritdoc}
*/
public function up()
{
$this->createTable('article', [
'id' => $this->primaryKey(),
'title' => $this->s... |
<?php
namespace App\Admin\Controllers;
use App\Models\User;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Facades\Admin;
use Encore\Admin\Layout\Content;
use App\Http\Controllers\Controller;
use Encore\Admin\Controllers\ModelForm;
class UsersController extends Controller
{
use ModelForm;
p... |
<?php
use Illuminate\Database\Seeder;
use luna\User;
class UserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(User::class,12)->create();
}
} |
<?php
session_start();
$this_page=$_SERVER['PHP_SELF'];
if($_SESSION['login']!='1'){ include("../common/login.php"); exit;}
date_default_timezone_set('America/Bogota');
$credential="asesor_cuartiles";
$menu_asesores="class='active'";
?>
<?php
include("../connectDB.php");
header("Content-Type: text/html;charset=utf-... |
@extends('layouts.app')
@section('title', 'Reporte')
@section('content')
@once
@push('css')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css"
integrity="sha512-nMNlpuaDPrqlEls3IX/Q56H36qvBASwb3ipuo3MxeWbsQB1881ox0cRv7UPTgBlriqoynt35KjEw... |
<?php
$array = array_map('intval', explode(' ', readline()));
$firstCarTime = 0;
$secondCarTime = 0;
for ($i = 0; $i < intval(count($array) / 2); $i++) {
if ($array[$i] === 0) {
$firstCarTime *= 0.8;
} else {
$firstCarTime += $array[$i];
}
}
for ($j = count($array) - 1; $j > intval(count($... |
<?php
class WorldOfTanksBridge extends BridgeAbstract {
const MAINTAINER = 'mitsukarenai';
const NAME = 'World of Tanks';
const URI = 'http://worldoftanks.eu/';
const DESCRIPTION = 'News about the tank slaughter game.';
const PARAMETERS = array( array(
'category' => array(
// TODO: should be a list
'name... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\PostsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="posts-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= ... |
<?php
echo '<h4 class="d-flex justify-content-between align-items-center mb-3">
<h5>Overall Details Hostel Wise</h5>
</h4>
<ul class="list-group mb-3">
<li class="list-group-item d-flex justify-content-between lh-condensed" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-contro... |
<?php
declare(strict_types=1);
namespace App\Setting\Mapper;
use App\Setting\Model\SettingGenerateTables;
use Hyperf\Database\Model\Builder;
use Mine\Abstracts\AbstractMapper;
use Mine\Annotation\Transaction;
/**
* 生成业务信息表查询类
* Class SettingGenerateTablesMapper
* @package App\Setting\Mapper
*/
class SettingGener... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Schedule File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license ... |
<?php
/**
* This Class is used to
* Send and recieve
* private or personal messages
* within the CLIPBUCKET system
*
* @Author : Arslan Hassan (=D)
* @Software : ClipBucket v2
* @License : Attribution Assurance License -- http://www.opensource.org/licenses/attribution.php
*
* Pleae check CBLA for more detai... |
<!DOCTYPE html>
<html lang="en">
@section('htmlheader')
@include('layouts.partials.htmlheader')
@show
<body class="skin-blue sidebar-mini">
<div id="app">
<div class="wrapper">
@include('layouts.partials.mainheader')
@include('layouts.partials.sidebar')
<!-- Content Wrapper. Contains page co... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Data Produk Lelang
</h1>
<ol class="breadcrumb">
<a href="<?= base_url('back_end/barang/add_produk') ?>" class="btn btn-su... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class Article extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
// r... |
<?php
namespace Modules\User\Repositories;
use Modules\User\Entities\Role;
class RoleRepository{
public function getAllRoles($attribute, $value, $columns = ['*']){
$role = Role::where($attribute, "LIKE", "%{$value}%")->get($columns);
return $role;
}
}
?> |
<!DOCTYPE html>
<html lang="en">
<!-- BEGIN HEAD -->
<head>
<meta charset="UTF-8">
<title>Stok Darah PMI</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<?php echo $this->... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class District extends Model
{
//เป็นการดึงตาราง district ของฐานข้อมูลมาใช้งาน
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'districts';
/**
* The attributes that are mass assign... |
<?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... |
<!DOCTYPE html>
<html>
<title>EMS</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap" rel="stylesheet">
<script src="https... |
<?php
//$name = nama select options
//$table = nama table yang akan di ambil datanya
//$field = nama field yang akan di tampilkan pada selected
//$selected = id yang akan di select biasanya di gunakan saat edit datanya
//$class = nama class $option_tamabahan
//$extra = untuk menambahkan id atau yang lainnya
//opion_tam... |
@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 Password') }}</div>
<div class="card-body">
<form method="POST" act... |
<?php
if ( !defined("PHPUNIT_TEST") ) {
show_404();
}
class Test extends CI_Controller
{
public function index()
{
}
} |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class BookingManager extends Model
{
protected $fillable = [
'room_id',
'date_start',
'date_end',
'fullname',
'email',
'total_nights',
'total_price',
'user_id'
];
protected $with = ... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... |
@include('frontend.landingPages.common.header')
<style>
header
{
background: linear-gradient(93.94deg, #7ED102 -41.2%, #cb8a12 238.88%);
position: relative;
}
@media (max-width: 991px)
{
header .navbar-collapse
{
background: linear-gradient(93.94deg,... |
<?php
session_start();
class test_book extends CI_Controller
{
public function book(){
$this->load->model('reservation_model', 'reservation');
$this->load->view('test_view');
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Education extends Model
{
protected $fillable = [
'title',
'institue',
'link',
'datee',
'detail'
];
} |
<!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" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateNurseStatusesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('nurse_sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.