text stringlengths 2 1.03M |
|---|
<?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\Bundle\FrameworkBundle\DependencyInjection;
use Symfony\Compone... |
<?php
/* SensioDistributionBundle:Configurator:check.html.twig */
class __TwigTemplate_dd1ac00c944efb1c99c899c82ec95d77b0cfe3c6f05a93a529adc330d482f16f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTempla... |
<?php
namespace App\Http\Controllers;
use App\Models\StaffLevel2;
use App\Http\Requests\StaffLevel2Request;
class StaffLevel2Controller extends Controller
{
public function index()
{
return view('#');
}
public function show($id)
{
$data = StaffLevel2::findOrFail($id);
re... |
<?php
$event_id = $this->uri->segment(3);
$Result = $this->EventModel->get_events();?>
<div class="container-fluid">
<div class="col-md-12 form_section">
<div class="row">
<div class="card">
<div class="header">
<h4 class="title">Single Events</h4>
<p class="category"></p>
... |
@extends ('layouts.admin')
@section ('contenido')
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
<h3>Listado de Almacenes
@if (auth()->user()->tipo_usuario=='SU_ADMIN')
<a href="almacen/create"><button class="btn btn-success">Nuevo</button></a></h3>
@endif
</h3>
@include... |
<div class="row mt-5">
<div class="col-md-6">
<div class="mb-3">
<label for="name" class="form-label">Nome do produto</label>
<input type="text" class="form-control" id="name" name="name" placeholder="Ex.: Macarrão parafuso" value="{{$product->name ?? ''}}" required>
</div>
... |
<?php
/**
* php-gedcom.
*
* php-gedcom is a library for parsing, manipulating, importing and exporting
* GEDCOM 5.5 files in PHP 5.3+.
*
* @author Kristopher Wilson <kristopherwilson@gmail.com>
* @copyright Copyright (c) 2010-2013, Kristopher Wilson
* @license MIT
*
* @link h... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit6d5d63dfc32fa6295a20cd7bcdcfea9e
{
public static $files = array (
'3f8bdd3b35094c73a26f0106e3c0f8b2' => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/SendGrid.php',
);
public static $prefixLength... |
<?php
namespace Llewdur\Boilerplate;
use Illuminate\Support\Facades\Facade;
/**
* @see \Llewdur\Boilerplate\Skeleton\SkeletonClass
*/
class BoilerplateFacade extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccesso... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace App\Policies;
use App\Models\Status;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class StatusPolicy {
use HandlesAuthorization;
/**
* Create a new policy instance.
*
* @return void
*/
public function __construct() {
//
}
public function destroy(User $user, S... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdditionalsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('additionals... |
<?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.
*/
declare(strict_types=1);
namespace Sylius\Bundle\ShopBundle\DependencyInjection;
use Symfony\Compone... |
<?php
declare(strict_types=1);
namespace PhpValueObjects\Tests\Network;
use PhpValueObjects\Network\TcpPort;
final class TcpPortValueObject extends TcpPort
{
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Danger extends Model
{
protected $table = 'tb_danger';
public $primaryKey = 'id';
public $timestamps = false;
} |
<?php
/**
* @author Leizhishang <info@Leizhishang.com>
* @copyright ©2016-2100 Leizhishang.com
* @license http://www.Leizhishang.com
*/
return [
'name'=>'名称',
'module'=>'应用模型',
'description'=>'描述',
'issystem'=>'是否是系统',
'hook.name'=>'钩子别名',
'alias'=>'挂载别名',
'alias.empty'=>'挂载别名不能为空',
... |
<?php
namespace App\Http;
use App\Http\Middleware\Admin;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddOrderWxmenuTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('wx_menus', function (Blueprint $table) {
$... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Alumnos extends Model
{
use SoftDeletes;
//
public function carrera()
{
return $this->belongsTo(Carreras::class, 'id_carrera');
}
} |
<?php
namespace EntityManager5a44f288badd3_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\Entit... |
@extends('layouts.app')
@section('title','EAPI')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Dashboard') }}</div>
<div class="card-body">
... |
<?php
use PHPUnit\Framework\TestCase;
class AssertionExampleTest extends TestCase
{
public function testOne()
{
$e = new AssertionExample;
$e->doSomething();
}
} |
@extends('layouts.videoLayout')
@section('content')
<div class="row">
<section class="content">
<div class="col-md-8 col-md-offset-2">
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<ul>
@foreach ($errors->all()... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\PeriodOfClasses;
class CreatePeriodOfClassesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark rounded">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="co... |
<?php
// Autogenerated from KST: please remove this line if doing any edits by hand!
namespace Kaitai\Struct\Tests;
class Enum1Test extends TestCase {
public function testEnum1() {
$r = Enum1::fromFile(self::SRC_DIR_PATH . '/enum_0.bin');
$this->assertSame(\Kaitai\Struct\Tests\Enum1\MainObj\Anima... |
{"filter":false,"title":"header.php","tooltip":"/php-calendar/event/header.php","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":20,"column":38},"end":{"row":20,"column":54},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":fal... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class JadwalKegiatanDetail extends Model
{
protected $fillable = [
'kegiatan_id', 'user_id', 'absen', 'keterangan', 'created_by', 'updated_by',
];
public static function boot()
{
parent::boot();
self::creatin... |
@extends('layouts.master')
@section('title')
طباعة الفاتوره
@stop
@section('css')
<style>
@media_print{
#print_button{
display:none
}
}
</style>
@endsection
@section('page-header')
<!-- breadcrumb -->
<div class="breadcrumb-header justify-content-between">
<div class="my-auto">
<... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @F... |
<?php
require_once("rand_dir.php");
if(!isset($_GET["which"]))
{
die('{"error" : "invalid argument"}');
}
$wanted = explode(",", $_GET["which"]);
if(empty($wanted) || (count($wanted) == 1 && $wanted[0] == ""))
die('{"error" : "empty request"}');
$g_raw = file_get_contents(dirname(__FILE__) . "/galleries.jso... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Oos\V20190601\Models;
use AlibabaCloud\SDK\Oos\V20190601\Models\ListResourceExecutionStatusResponseBody\resourceExecutionStatus;
use AlibabaCloud\Tea\Model;
class ListResourceExecutionStatusResponseBody extends Model
{
/**
... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitcb8217b1b5e42927f3315c983f78873d
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?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... |
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="dist/img/user2-160x160.j... |
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2014 osCommerce
Released under the GNU General Public License
*/
////
// Get the installed version number
function tep_get_version() {
static $v;
if (!isset($v)) {
$v = trim(implode('', file... |
<?php
namespace TSantos\HttpAnnotationBundle\Annotations;
use Symfony\Component\HttpFoundation\Request;
/**
* Class RequestCookie.
*
* @Annotation
*/
class RequestCookie extends Annotation
{
public ?string $name = null;
public function initialize(\ReflectionMethod $reflectionMethod, Request $request): v... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\UpdateForeignMedicalAppointmentRequest;
use App\Models\ForeignMedicalAppointment;
use Illuminate\Http\Request;
class ForeignMedicalAppointmentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate... |
<!-- Site Navigation -->
<ol class="breadcrumb">
<li><a href=<?php echo URL::site(); ?>>Home</a></li>
<li class="active">My Profile</li>
</ol>
<h3>My Profile</h3>
<br>
<div class="row">
<div class="col-xs-6 col-md-4">
<img src="<?php echo ($user['pic'] ? URL::base().'files/upload_photos/'.$user['pic'] : URL::b... |
<?php
session_start();
if(!isset($_SESSION["login-admin"])){
header("Location: ../index.php");
exit();
}
elseif(isset($_SESSION["login"]) ){
header("Location: ../home.php");
exit();
}
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="v... |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Product;
use Illuminate\Http\Request;
class NewShopController extends Controller
{
//
public function index(){
$newProducts = Product::where('publication_status',1)
->orderBy('id','DESC')
->take(4)
-... |
<?php
///////////////////////////////////////////////////////////////////////////////
// Licensed Source Code - Property of ProjectKit.net
//
// © Copyright ProjectKit.net 2014. All Rights Reserved.
//
///////////////////////////////////////////////////////////////////////////////
class DefaultController extends AmfCon... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTipoingreso extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tipoingreso', fu... |
<?php
namespace App\Http\Controllers\Api\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller as BaseController;
class Controller extends BaseController
{
//
} |
@extends('layouts.backEnd.layoutBackEnd')
@section('title_page','Product Admin')
@section('title_form','Product')
@section('content')
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h3 class="card-title"><strong>List Product</strong></h3>
<div class="card... |
@extends('layouts.user_master')
@section('title','SingleHotel')
@section('content')
<section class="singlehotel-area pb-100">
<img src="{{asset('public/uploads/hotelImages/' .$hotel->image)}}" alt="">
<div class="banner-text bg text-center pt-10 pb-10">
<h2>welcome to the {{$hotel->name}... |
<?php
namespace App\Http\Livewire\Editor;
use Livewire\Component;
use Illuminate\Support\Facades\Session;
class EditorDashboard extends Component
{
public $slct_id = '';
protected $listeners = ['detaisShowed'];
public $detailsW = '';
public function removeSession()
{
Session::forget('ste... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\models\AuthAssignmentSearch */
$this->title = $model->item_name;
$this->params['breadcrumbs'][] = ['label' => 'Auth Assignment Searches', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\y... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
/**
* This file is part of the Vection package.
*
* (c) David M. Lung <vection@davidlung.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Vection\Component\Http\Server\Event;
/**
*... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\file\FileInput;
use kartik\date\DatePicker;
use backend\models\SpNationyii;
use yii\helpers\ArrayHelper;
use backend\models\SpCountryyii;
use backend\models\SpDivisionyii;
use wbraganca\dynamicform\DynamicFormWidget;
use kartik\select2\Select2;
use yii... |
<?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\Yaml;
use Symfony\Component\Yaml\Exception\DumpExcept... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class AdminKlinis extends CI_Controller {
private $filename = "import_data";
public function __construct()
{
parent::__construct();
$this->load->model('mdl_login');
$this->load->model('mdl_pelamar');
$this... |
<?php
namespace Webcosmonauts\Alder\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller as IlluminateController;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Validation\ValidatesRequests;
class BaseController extends IlluminateController
{
... |
<?php
namespace Modules\User\Models;
use Illuminate\Database\Eloquent\Model;
class UserSocial extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'user_social';
/**
* @var array
*/
protected $fillable = [
'provider',... |
@extends('pages.users.master')
@section('sub-content')
<div class="card-body">
<form method="POST" action="{{ route('user.profile.update') }}">
@csrf
<div class="row mb-3">
<label for="first_name" class="col-md-4 col-form-la... |
<?php
namespace SudiptoChoudhury\Biller\Support\Abstracts\Payments;
abstract class AbstractShipping
{
public $shipper;
public $receiver;
public $carrier;
public $date;
public $status;
public $notes;
} |
@extends('back.layouts.app', [$auth = false])
@section('content')
<div class="content container">
<section class="comp-section">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Accueil</a></li>
<li class="breadcrumb-item active" aria-current="page">Compte cré... |
<?php
declare(strict_types=1);
namespace Tests\Qossmic\Deptrac\Configuration;
use PHPUnit\Framework\TestCase;
use Qossmic\Deptrac\Configuration\Configuration;
use Qossmic\Deptrac\Configuration\Exception;
/**
* @covers \Qossmic\Deptrac\Configuration\Configuration
*/
final class ConfigurationTest extends TestCase
{... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
$this->registerCssFile('@web/calendar/jquery-ui.min.css', ['depends' => ['app\assets\AdminAsset']]);
$this->registerJsFile('@web/calendar/jquery-ui.min.js', ['depends' => ['app\assets\AdminAsset']]);
$this->registerJsFile('@web/js/calendar.js', ['depends' => ['ap... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Core\Dice;
class DiceSeeder extends Seeder
{
public function run()
{
DB::table('dice')->truncate();
/**
*
* Insert Dice
*
*/
Dice::create([
'sides' => 4,
]);
Dice::... |
<?php
/**
* This phpFile is auto-generated.
*/
declare(strict_types=1);
namespace AurimasNiekis\TdLibSchema;
/**
* Closes the TDLib instance, destroying all local data without a proper logout. The current user session will remain in the list of all active sessions. All local data will be destroyed. After the des... |
<?php
declare(strict_types=1);
namespace Sales;
use PHPUnit\Framework\TestCase;
final class OrderStatusTest extends TestCase
{
/**
* @test
*/
public function it_can_be_created_without_a_purchase_order_id(): void
{
$status = new OrderStatus('1eabf902-0c60-4e1f-adae-0db116c97f16');
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href=<?= base_url("assets/boot/bootstrap.min.css"); ?> >
<link rel="stylesheet" href=<?= base_url("assets/font-awesome-4.7.0/css/font-awesome.min.css") ?> >
<link rel="stylesheet" href=<?= base_url("assets/css/main.css... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Students extends Model
{
use HasFactory;
protected $gaurded = [];
} |
<?php
namespace Kibo\Phast\Build;
use PhpParser\PrettyPrinter;
class ASCIIPrettyPrinter extends PrettyPrinter\Standard {
protected function escapeString($string, $quote) {
if (null === $quote) {
// For doc strings, don't escape newlines
$escaped = addcslashes($string, "\t\f\v$\\");... |
<?php
/*
* 后台应用公共文件
* 作者:YG
* 时间:2018.7.13
*/
namespace app\admin\controller;
use \think\Request;
use \think\Session;
use \think\Db;
use \think\File;
//短信验证码引入阿里云短信命名空间
use Aliyun\Core\Config;
use Aliyun\Core\Profile\DefaultProfile;
use Aliyun\Core\DefaultAcsClient;
use Aliyun\Api\Sms\Request\V20170525\SendSmsRequest;... |
<?php
/**
* @file
* Contains \Drupal\comment\Plugin\Field\FieldWidget\CommentWidget.
*/
namespace Drupal\comment\Plugin\Field\FieldWidget;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\Component\Utility\Html;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Field\WidgetBa... |
<?php
namespace Bpocallaghan\Corporate\Controllers\Admin;
use Redirect;
use App\Http\Requests;
use Illuminate\Http\Request;
use Bpocallaghan\Corporate\Models\Tender;
use App\Http\Controllers\Admin\AdminController;
class TendersController extends AdminController
{
/**
* Display a listing of tender.
*
... |
@extends('app')
@section('content')
<div class="container">
<div class="row">
@include('common.errors')
<div class="card col-12">
<div class="card-body">
<form action="{{ url('groups/'.$group->id) }}" method="POST" >
{{ csrf_field()... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class GuestRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Author extends Model
{
//
protected $fillable = ['name','address','email' ,'phone'];
public function books()
{
return $this->hasMany('App\Book');
}
} |
<?php
ini_set('display_errors', 1);
require_once('TwitterAPIExchange.php');
$settings = array(
'oauth_access_token' => $_POST['token'],
'oauth_access_token_secret' => $_POST['secret'],
#'consumer_key' => "ifZDKvMyvpP4uzRUPMHACnUwj",
'consumer_key' => "qZRhHGisBP0vNd5WMdaJCxWSY",
#'consumer_secret... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit84aadd5037bc8b21403168931ee5ba3a
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace CWM\BroadWorksConnector\Ocip\Models;
/**
* SystemMultimediaPolicyGetRequest
*
* Request the system level data associated with Multimedia Policy.
* The response is either a SystemMultimediaPolicyGetResponse or an
* ErrorResponse.
*
* @see SystemMultimediaPolicyGetResponse
* @see... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/user/themes/darkquark/blueprints/modular/text.yaml',
'modified' => 1643805920,
'data' => [
'title' => 'Text',
'@extends' => 'default',
'form' => [
'fields' => [
'tabs' =... |
@extends('layouts.master')
@section('title')@parent - {{ trans('store.cart_view.your_shopping_cart') }} @stop
@section('page_class')products_view @stop
@section('content')
@parent
@section('center_content')
<div class="panel panel-default" ng-controller = "ShoppingCart" >
<div class="panel-hea... |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<title>Rekap Presensi Karyawan</title>
@include('Template/header')
</head>
<body class="hold-transitio... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Kriteria extends Model
{
protected $table = 'kriteria';
protected $fillable = ['nama_kriteria', 'bobot', 'bobot_relatif'];
} |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2010, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code m... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Cliente ID / Cliente Secret
|--------------------------------------------------------------------------
|
| Aqui será necessário setar as credênciais do Cliente ID e Cliente Secret fornecidas pelo G... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddForeignKeysToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(
'users', function (Blueprint $tabl... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Blue Team 6 - Home</title>
<?php include 'head.php' ?>
</head>
<body>
<?php include 'header.php' ?>
<section class="container">
<!-- logo -->
<section class="row">
<div class="col-md-2 col-sm-1"></div>
<img src="images/us.jpg" alt="Team log... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserExtraDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_e... |
@component('mail::message')
<b>#INVOICE</b>
<h4>ORDER SUMMARY</h4>
<P>Order Number<span style="margin-left: 8%;">{{$order->order_number}}</span></P>
<P>Order Number<span style="margin-left: 8%;">{{$order->grand_total}}</span></P>
<h4>Dear Customer,</h4>
<p>Welcome to the best Nigeria Fabrics destination, have a grea... |
<?php
/** @generate-class-entries */
final class __PHP_Incomplete_Class
{
}
class AssertionError extends Error
{
}
/* main/main.c */
function set_time_limit(int $seconds): bool {}
/* main/SAPI.c */
function header_register_callback(callable $callback): bool {}
/* main/output.c */
/** @param callable $callback ... |
<?php declare(strict_types = 1);
/*
** Zabbix
** Copyright (C) 2001-2021 Zabbix SIA
**
** This program 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 2 of the License, or
** (at your option) ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
date_default_timezone_set('Asia/Jakarta');
class MemberC extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model(['HomeM','LoginM','MemberM']);
$this->load->library('upload');
$this->load... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1 class="pull-left">Roles</h1>
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{{ route('roles.create') }}">Ajouter</a>
</h1>
</sect... |
@extends('admin.layouts.master')
@section('styles')
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css"
rel="stylesheet" />
<style>
.slow .toggle-group {
transition: left 0.7s;
-webkit-transition: left 0.7s;
... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>E-Pratiyogi</title>
<!-- Fonts -->
<link rel="style... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-primary">
<div class="panel-heading"><h3>Create Post</h3></div>
<div class="panel-body">
... |
<?php
use Codeception\Test\Unit;
class RemarketingVkAppsTest extends Unit
{
/**
* @var UnitTester
*/
protected $tester;
public function testGet()
{
$result = $this->tester->getApi()->remarketingVkApps()->get();
$this->assertIsArray($result);
$this->assertArrayHasKey(... |
@extends('frontend.layout')
@include('frontend.partials.meta')
@section('content')
<article class="block-breadcrumb-page">
<ul class="breadcrumb">
<li><a href="{{ route('home') }}" title="Trở về trang chủ">Trang chủ</a></li>
<li class="active">
Tag : '{!! $detail->name !!}'
</li>
</ul>
</article>
<secti... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sistema Web | Restablecer contraseña</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name=... |
<?php
// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
'language'=>'zh_cn',//本地化
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARA... |
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>Insertar archivo</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.... |
<?php
declare(strict_types = 1);
namespace Bakabot;
use Acclimate\Container\ArrayContainer;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
class BotTest extends TestCase
{
/** @test */
public function getContainer_boots_kernel(): void
{
$kernel = $this->crea... |
<?php
namespace Google\AdsApi\AdManager\v201902;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
abstract class CreativeWrapperAction
{
public function __construct()
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.