text stringlengths 2 1.03M |
|---|
@extends('layouts.admin')
@section('judul', "Berita")
@section('content')
<script src='https://cdn.tiny.cloud/1/ip0rkeafploig1u7xvh8y8bb0c7qg3gz1kesdzcwab09fnzx/tinymce/5/tinymce.min.js' referrerpolicy="origin">
</script>
<script>
tinymce.init({
selector: '#mytextarea'
});
</script>
<div class="container">... |
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package voltata
*/
get_header(); ?>
<div id="primary" class="content-area col-md-12">
<main id="main" class="site-main" role="main">
<section class="error-404 not-found">
... |
@extends('layouts.backend')
@section('content')
<div class="container">
<div class="row">
@include('admin.sidebar')
<div class="col-md-9">
<div class="card">
<div class="card-header">Edit students_attendance #{{ $students_attendance->id }}</div>
... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="jumbotron">
<h1>Update Blog</h1>
</div>
<div class="col-md-12">
<form action="{{route('blogs.update', $blog->id)}}" method="post" enctype="multipart/form-data">
{{met... |
<div class="page-content-wrapper">
<div class="page-content">
<div class="xcrud-container">
<div class="row">
<div class="col-lg-12">
<div class="portlet box blue-sharp">
<div class="portlet-title">
<div class="caption">
Trace Container
</div>
<div class="tools">
... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
<?php namespace App\Core\V202\Forms\Activity;
use App\Core\Form\BaseForm;
/**
* Class ProviderOrg
* @package App\Core\V202\Forms\Activity
*/
class ProviderOrg extends BaseForm
{
/**
* builds provider org form
*/
public function buildForm()
{
$this
->add('ref', 'text', ['la... |
<?php
/*
+--------+----------+----------+------+----------------------------------------------+--------------+
| Domain | Method | URI | Name | Action | Middleware |
+--------+----------+----------+------+----------------------------------------------+--------------+
| ... |
<?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
/**
* Created by PhpStorm.
* User: peter
* Date: 26.05.2015
* Time: 21:20
*/
namespace SikIndustries\Bundles\TrobaUserBundle\Command;
use SikIndustries\Bundles\TrobaUserBundle\Entity\User;
use SikIndustries\Bundles\TrobaUserBundle\Manager\UserManager;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwa... |
<?hh
type Tmixed = mixed;
function is_mixed($x): void {
if ($x is Tmixed) {
echo "mixed\n";
} else {
echo "not mixed\n";
}
}
<<__EntryPoint>>
function main_is_expression_ta_mixed() {
is_mixed(null);
is_mixed(-1);
is_mixed(false);
is_mixed(1.5);
is_mixed('foo');
is_mixed(STDIN);
is_mixed(new stdClass()... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class CertificateType extends Model {
protected $table="certificate_types";
protected $fillable = ["name","nameAr"];
protected $dates = [];
public static $rules = [
"name" => "required",
"nameAr" => "required",
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php declare(strict_types = 1);
namespace PHPStan\Type\Symfony;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Reflection\ParametersAcceptorSelector;
use PHPStan\Type\ArrayType;
use PHPStan\Type\Constant\ConstantBooleanType;
use PHPStan\Type\Dynam... |
<?php
use Core\Model;
namespace Sharding\Core\Env;
use Sharding\Core\Loader as Loader,
Sharding\Core\Model\Model as Model,
Sharding\Core\Env\Helper\THelper as Helper,
\Exception as Exception;
trait Phalcon
{
use Helper;
public static $targetShardCriteria = false;
public static $convertationMode = false... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'... |
<?php
/*
* This file is part of the Stati package.
*
* Copyright 2017 Jonathan Foucher
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation th... |
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#Delete<?php echo $peminjaman->id_peminjaman ?>" title="Delete User">
<i class="fa fa-trash-o"></i>
</button>
<div class="modal fade" id="Delete<?php echo $peminjaman->id_peminjaman ?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ar... |
<?php
namespace it\icosaedro\lint\docblock;
require_once __DIR__ . "/../../../../autoload.php";
use it\icosaedro\containers\Printable;
use it\icosaedro\utils\StringBuffer;
use it\icosaedro\lint\Where;
use it\icosaedro\lint\types\Type;
use it\icosaedro\lint\types\ClassType;
use it\icosaedro\lint\docblock\DocBlockParame... |
<?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... |
<?php
interface IBuilder {
public function build() : SystemConfig;
} |
--TEST--
Ignoring a sent value shouldn't leak memory
--FILE--
<?php
function gen() {
yield;
}
$gen = gen();
$gen->send(NULL);
echo "DONE";
?>
--EXPECT--
DONE |
<?php
/**
* Global Configuration Override
*
* You can use this file for overriding configuration values from modules, etc.
* You would place values in here that are agnostic to the environment and not
* sensitive to security.
*
* @NOTE: In practice, this file will typically be INCLUDED in your source
* control,... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payments', fun... |
<?php
$lang['required'] = "%s alanının doldurulması zorunludur.";
$lang['isset'] = "%s alanına bir veri girilmelidir.";
$lang['valid_email'] = "%s alanına geçerli bir eposta adresi girilmelidir.";
$lang['valid_emails'] = "%s alanına girdiğiniz tüm eposta adresleri geçerli olmalıdır.";
$lang['valid_url'] = ... |
<style>
.child {margin-left: 55px;}
</style>
<!--start: Container -->
<div class="container">
<!--start: Row -->
<div class="row">
<div class="col-sm-9">
<!-- start: Post -->
@foreach ($posts as $post)
<div class="post">
<div class="post... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class RecycledItem extends Model
{
use HasFactory;
public $timestamps = False;
protected $table = 'recycleditems';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Business extends Model
{
protected $table = 'business';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'phone_number', 'website', 'address'
];
} |
<?php
header('Access-Control-Allow-Origin: *');
header("Content-type: text/css");
CONST BASE_FONTS_DIR = 'fonts';
$family = $_GET['family'];
$filter = array('.', '..', '.DS_Store');
$directories = array_diff(scandir(BASE_FONTS_DIR), $filter);
foreach($directories as $dir) {
if($dir == $family) {
$files =... |
@section('title')
<title>Data Pesanan - Dikirim</title>
@endsection
<x-app-layout>
<x-slot name="header">
<div class="d-flex justify-content-between">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Pesanan Sedang Di Kirim') }}
</h2>
... |
<?php
namespace App\Http\Models;
use Illuminate\Database\Eloquent\Model;
class Couverture extends Model
{
protected $guarded = [''];
} |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\RespaldoSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Respaldos');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="respald... |
<?php
namespace App\Http\Middleware;
use Closure;
use Session;
class CheckLoginMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... |
<?php
namespace App\Http\Controllers\Site;
use App\Contracts\CategoryContract;
use App\Contracts\ProductContract;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class CategoryController extends Controller
{
protected $categoryRepository;
protected $productRepository;
public function _... |
<?php
namespace app\modules\adminzhengwen;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'app\modules\adminzhengwen\controllers';
public $defaultRoute = 'weixin-user';
public function init()
{
parent::init();
$this->layout = 'main.php';
// custom initia... |
<?php namespace Pop\Http\Controllers\Api;
use Illuminate\Http\Request;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Auth\Registrar;
use Pop\Transformers\UserTransformer;
class AuthController extends ApiController {
/**
* The Guard implementation.
*
* @var \Illuminate\Contracts\Aut... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', functio... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Employee;
class EmployeesController extends Controller
{
//
public function index()
{
$employees=Employee::all();
return view('admin.employees.index',compact('employees'));
}
public function create()
{... |
<?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... |
--TEST--
Test basic date_sun_info()
--FILE--
<?php
date_default_timezone_set('Europe/Oslo');
$sun_info = date_sun_info(strtotime("2007-04-13 08:31:15 UTC"), 59.21, 9.61);
foreach ($sun_info as $key => $elem )
{
echo date( 'Y-m-d H:i:s T', $elem ), " ", $key, "\n";
}
echo "Done\n";
?>
--EXPECT--
2007-04-13 06:11:26 CE... |
<?php
namespace Charcoal\Queue;
use InvalidArgumentException;
/**
* Full implementation, as a Trait, of the `QueueableInterface`.
*/
trait QueueableTrait
{
/**
* The queue ID.
*
* @var mixed $queueId
*/
private $queueId;
/**
* Set the queue's ID.
*
* @param string|nu... |
@extends('layouts.layout')
@section('title')
Add New Task
@endsection
@section('body')
<div class="container">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<div class="panel panel-primary">
<div class="panel-heading">
Ad... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Validation\ValidationException;
use Staudenmeir\LaravelAdjacencyList\Eloquent\Ha... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTipoAnalisesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tipo_anali... |
<!-- views/index/roadmap.php -->
<!-- Page Content -->
<div id="page-content-wrapper" >
<div class="container-fluid">
<h1><i><b>Stappenplan</b></i></h1>
<div class="panel-group roadmap-panel-group" id="accordion">
<div class="panel panel-default">
<div class="pa... |
<h4>Imágenes de galería</h4>
<ul class="list-inline" style="border: 2px dotted lightgrey; padding: 5px">
@forelse($images as $imagen)
<li>
<span style="display: inline-block">
<a href="" data-toggle="modal" data-target="#modalVerImage{!! $imagen->id !!}">
<im... |
<?php
return [
'ability_title' => 'خطأ ',
'ability_content' => 'لا تمتلك صلاحية الوصول لهذه الصفحةإذا أردت الوصول لتلك الصفحة يمكنك الأتصال بالمدير الرئيسى لكى يتيح لك ذلك',
]; |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\models\Train */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Trains', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<di... |
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvide... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreDomain extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the v... |
@extends('admin.layouts.main')
@section('main_content')
<div class="main_content">
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-caret-square-o-right"... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class PenginapanController extends Controller
{
public function index()
{
$data_penginapan = \App\Models\Penginapan::all();
return view('admin.penginapan.index',['data_penginapan'=> $... |
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<?php echo e(Illuminate\Mail\Markdown::parse($slot)); ?>
</td>
</tr>
</table>
<?php /**PATH /Users/user/Desktop/dev/code/laravel6auth/vendor/laravel/framework/src/Illuminate/Mail/resources/views/html/subcopy.blade.php EN... |
<?php
class ShoppingCart extends CI_Controller{
public function __construct()
{
parent::__construct();
$this->load->library('cart');
$this->load->helper('url');
}
public function index(){
$data = array(
'id'=> '4',
'qty'=>0,
'price'=>50000,
'name'=>'Rice',
'option'=>'ngon'
... |
<?php
namespace AshAllenDesign\ShortURL\Classes;
use AshAllenDesign\ShortURL\Exceptions\ShortURLException;
use AshAllenDesign\ShortURL\Exceptions\ValidationException;
use AshAllenDesign\ShortURL\Models\ShortURL;
use Carbon\Carbon;
use Illuminate\Support\Str;
class Builder
{
/**
* The class that is used for ... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "incoming".
*
* @property integer $incomingID
* @property integer $childName
* @property integer $subject
* @property integer $sum
* @property string $description
* @property string $parentName
* @property integer $checkingAccount
... |
@extends('layouts.main')
@section('content')
<div class="innerContent">
<header class="pageTitle">
<h1>Add <span>Warehouse</span></h1>
</header>
<form action="{{ action('Masterresources\WarehouseController@store') }}" method="post" id="warehouseinsertion">
<div class="fieldGroup" id="fie... |
<?php
/**
* Created by PhpStorm.
* User: bart
* Date: 09/10/15
* Time: 14:38
*/
namespace Kunstmaan\MenuBundle\Repository;
interface MenuItemRepositoryInterface
{
/**
* @param string $menuName
* @param string $locale
*
* @return array
*/
public function getMenuItemsForLanguage($m... |
<?php
/**
* Template part for displaying results in search pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package speziale_coming
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href=... |
@extends('layouts.app')
@section('title')
Report a Problem
@endsection
@section('header')
{!! Html::style('front/css/side.css') !!}
<style>
.progress{
height: 32px;
}
.progress-bar{
line-height: 31px;
font-size: 15px;
}
</style>
@endsection
... |
<?php
/*
* Copyright 2010 Butin Kirill <kiryaka@gmail.com>
*
* 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 ... |
<?php
namespace App\Http\Controllers;
use Illuminate\View\View;
/**
* Class AdminController controller for admin related functionality
* @package App\Http\Controllers
*/
class AdminController extends Controller {
public function getAdmin(): View {
return view('admin.admin');
}
public function... |
<?php
require(__DIR__.'/config.php');
// Worker - process all queues
// $worker = new Qutee\Worker;
// while (true) {
// try {
// $worker->run();
// } catch (Exception $e) {
// echo $e->getMessage();
// }
// }
// Or, with more configuration
$worker = new Qutee\Worker;
$worker
->setInt... |
@extends('admin-app')
@section('content')
<h3>Print Relays</h3>
<a href="{{ action('matchesController@show',['match_id'=>$match_id]) }}" class="btn btn-flat "> Back to Matches</a>
<hr>
<div class="row">
<div class="col s6">
<h4>Classes - Gender:</h4>
@foreach($decodeArray['classes'] ... |
<?php
namespace App\Http\Controllers\Admin\AccrRequests;
use App\Http\Controllers\Controller;
use App\Models\AccrRequest;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use JavaScript;
use Illuminate\Support\Facades\DB;
class AccrRequestController extends Controller
{
public function in... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class sanpham extends Model
{
use HasFactory;
protected $table = "sanpham";
public $timestamps = false;
public function loaisanpham(){
return $this->belongsTo('App\Mode... |
@extends('layouts.main')
@section('content')
<div class="w-10/12 mx-auto text-gray-700">
<a class="text-xs font-semibold text-main-blue" href="">Regresar</a>
<img class="h-24 my-5 rounded-full shadow-md" src="{{asset('assets/001 - Home/foto-eduardo.png')}}" alt="">
<h1 class="text-2xl text-main-blue">{{$... |
<?php
declare(strict_types=1);
namespace CodelyTv\Mooc\Videos\Application\Find;
use CodelyTv\Mooc\Videos\Domain\VideoFinder as DomainVideoFinder;
use CodelyTv\Mooc\Videos\Domain\VideoId;
use CodelyTv\Mooc\Videos\Domain\VideoRepository;
final class VideoFinder
{
private DomainVideoFinder $finder;
public fun... |
<?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
/**
* @var object $connection
*/
include('../../partials/connection.php');
include('../../partials/header.php');
$id = $_GET['id'];
$delete_query = "DELETE FROM `recipes`.`units` WHERE `recipes`.`units`.`unit_id` = '$id'";
$result = mysqli_query($connection, $delete_query);
if ($result) {
header('Location: ... |
<?php
/*******************************************************************************
* FPDF *
* *
* Version: 1.81 ... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<h2 class="page-header">Add User</h2>
<!--Display validation errors-->
<?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>
<?php echo form_open('admin/users/add'); ?>
<!--First name-->
<div class="form-group">
<?php echo form_label('First Name', 'first_name'); ?>
<?php
$dat... |
<nav id="sidebar" class="px-0 bg-dark bg-gradient sidebar">
<ul class="nav nav-pills flex-column invisible" data-qp-animate-type="fadeInLeft">
<li class="logo-nav-item">
<a class="navbar-brand" href="#">
<img src="{{ asset('img/photo.jpg') }}">
</a>
</li>
... |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.css" />
<!-- Style -->
<link rel="stylesheet" href="<?php echo e(asset('assets/website/css/bootstrap.min.css')); ?>" />
<link rel="stylesheet" href="<?php echo e(asset('assets/website/css/style.css'));... |
<?php declare(strict_types=1);
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Test\Au... |
<?php
/**
* Html2Pdf Library - parsing Html class
*
* HTML => PDF converter
* distributed under the OSL-3.0 License
*
* @package Html2pdf
* @author Laurent MINGUET <webmaster@html2pdf.fr>
* @copyright 2017 Laurent MINGUET
*/
namespace Spipu\Html2Pdf\Parsing;
use Spipu\Html2Pdf\Exception\HtmlParsingExcept... |
<?php
class IndexAction extends CommonAction
{
public function index()
{
$data = $this->weixin->request();
// $open=fopen('/var/www/html/baocms/Baocms/Lib/Payment/logs/'.date( 'Y-m-d' ) . '.1414.log',"a" );
// fwrite($open,var_export($data,true));
// fclose($open);
switch ($... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header"><?php echo e(__('Dashboard')); ?></div>
<div class="card-body">
<?php... |
@extends('client.listening.layouts.master')
@section('title', 'contest')
@section('test-content')
<?php
$dem = 0;
$index = $dem;
?>
<form method="post" id="fulltest_part_head" action="{{ route('test.result') }}" data-part="part4">
<input type="hidden" value="part4" name="part"/>
<div data-media="media_{{ $med... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Role extends Model
{
public function user()
{
return $this->hasOne('App\User');
//return $this->belongsToMany('App\User');
}
} |
<?php
namespace App\Http\Controllers\Web\Merchant;
use App\Entities\BrandM;
use App\Entities\CategorieM;
use App\Entities\Malfunction;
use App\Entities\MerchantProduct;
use App\Entities\Order;
use App\Entities\Product;
use App\Http\Controllers\Controller;
use App\Repositories\ProductRepository;
use Illuminate\Support... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
@if ($paginator->hasPages())
<nav
role="navigation"
aria-label="Pagination Navigation"
>
<ul class="flex justify-center">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li aria-disabled="true">
<span
class="px-4 py-3 block text-gray-500 border bor... |
</div>
<!-- /content -->
<?php if (isset($MM_PageType) && $MM_PageType == "simple") { ?>
<div data-role="footer" data-position="fixed" data-tap-toggle="false" class="jqm-footer">
<p>Version 1.0_dev</p>
<p>© Copyright 2021</p>
</div>
<?php } else { ?>
<div data-role="footer" class="nav-glyphish-examp... |
<?php
namespace Webkul\Admin\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
/**
* New Invoice Mail class
*
* @author Jitendra Singh <jitendra@webkul.com>
* @copyright 2018 Webkul Software Pvt Ltd (http://www.... |
<?php
/**
* @author ykmship@yandex-team.ru
* Date: 03/11/14
*/
namespace Kozz\Tests\Fixtures;
use JMS\Serializer\Annotation\Type;
class MapFixture
{
/**
* @Type("integer")
*/
public $client_id;
/**
* @Type("integer")
*/
public $sender_id;
/**
* @Type("string")
*/
public $order_req... |
<?php
namespace Illuminate\Tests\Integration\Database\EloquentBelongsToManyTest;
use Illuminate\Support\Str;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Databas... |
<?php
namespace PHPFacile\Group\Service;
use PHPFacile\Group\Model\GroupItemInterface;
use Psr\Log\LoggerInterface;
abstract class GroupService implements GroupServiceInterface
{
/**
* Factory used to instantiate new (grouped) items
*
* @var GroupItemFactoryInterface
*/
protected $groupIte... |
<?php
class projects extends CI_Controller{
public function projects_details(){
$this->load->model('projects_model');
$data['project_details'] = $this->projects_model->getprojects();
$this->load->view('projects_view',$data);
}
public function add(){
if($this->input->post('submit')){
$id=$this->i... |
<?php
namespace Jikan\Lib\Parser;
use Jikan\Model\CharacterPictures as CharacterPicturesModel;
class CharacterPicturesParse extends TemplateParse
{
private $return = [];
public function parse() : Array
{
$this->model = new CharacterPicturesModel;
/*
* Rules
*/
... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'/check_order',//Webh... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Payment extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (Blueprint... |
<?php
/**
* @package shop
*/
class AddProductForm extends Form
{
/**
* Populates quantity dropdown with this many values
*
* @var int
*/
protected $maxquantity = 0;
/**
* Fields that can be saved to an order item.
*
* @var array
*/
protected $saveablefields = ... |
<!-- Content Wrapper. Contains page 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-sm-6">
<h1 class="m-0 text-dark">Summary</... |
<?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use DB;
class Mall_amad extends Model
{
public $fillable = ['account_id','item_id','date','deleted','id','weight'];
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SessionController extends Controller
{
public function getSessionData(Requeest $request)
{
if($request->session()->has('name'))
{
echo $request->session()->get('name');
}
else
{
... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Leaf;
use JMS\Serializer\Annotation\ExclusionPolicy;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.