text stringlengths 2 1.03M |
|---|
<?php
namespace Emtudo\Units\School\Calendars\Http\Controllers;
use Emtudo\Domains\Calendars\Contracts\TwoMonthRepository;
use Emtudo\Support\Http\Controller;
use Emtudo\Units\School\Calendars\Http\Requests\TwoMonths\CreateTwoMonthRequest;
use Emtudo\Units\School\Calendars\Http\Requests\TwoMonths\UpdateTwoMonthReques... |
<?php
/**
* Default Values
*
* set the default values
* which stores in database options table
*
* @package ctc
* @since 2.0
* @from ht-ccw-register.php
*/
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'HT_CTC_DB' ) ) :
class HT_CTC_DB {
public function __construct() {
$this->db(... |
<?php
$date1=date_create("1981-11-04");
$date2=date_create("2013-09-04");
$diff=date_diff($date1,$date2);
echo $diff->format("%Y years %M months %D days");
?> |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ApplyjobsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = '';
$this->params['breadcrumbs'][] = $this->title;
?>
<html lang="en-US" style="padding-left:15px">
<div class="apply... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Repair::class, function (Faker $faker){
return [
'status' => $faker->numberBetween($min = 0, $max=4),
'idno' => 'ABC123',
'userInformed' => '0',
'description' => '---',
'repairCompany' => 'ivec customers supprot',
'repairD... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConveniosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('convenios', f... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return vo... |
@extends('master.master')
@section('title','List Song')
@section('content')
<div class="container"><a href="{{route('song.add')}}" class="btn-success">add song</a></div>
<table class="table table-striped">
<tr>
<th>#</th>
<th>Song</th>
<th>Image</th>
<th>S... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
use \Magento\Framework\Component\ComponentRegistrar;
ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Magento_SwatchesLayeredNavigation', __DIR__); |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\User;
use App\Helpers\Utility;
use App\Models\PerfectMoney;
use Illuminate\Mail\Mailer;
use Illuminate\Mail\Message;
use Mail;
class PerfectMoneyController extends Controller
{... |
<?php
namespace App\Models\Naics\SeventyOne;
use Illuminate\Database\Eloquent\Model;
class SeventyOneComments extends Model
{
//
} |
<?php
namespace app\admin\controller;
use app\common\controller\Backend;
use think\Controller;
use think\Request;
use EasyWeChat\Foundation\Application;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
define('ADMIN_GROUP_ID',6);
define('ASSISTANT_GROUP_ID',8);
define('ASSISTANT_DO... |
@extends('admin.layout.master')
@section('title','Dashboard')
@section('content')
<section class="wrapper main-wrapper" style=''>
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
<div class="page-title">
<div class="pull-left">
<h1 class="title">View Role</h1> </div>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ModelBuku extends Model
{
protected $table = 'books';
} |
<?php
/**
*Descript:
*User: jack wang
*Date: 2020-03-20
*Time: 23:15
*/
declare(strict_types=1);
namespace app\common\business;
use app\common\lib\sms\AliSms;
use app\common\lib\Num;
use think\facade\Log;
use app\common\lib\classArr;
class Sms
{
public static function sendCode(string $phone,int $len, string $... |
<?php include('includes/admin_header.php');
?>
<form method="post" action="admin_privilages_users.php" autocomplete="off">
<table class="table">
<thead>
<tr>
<th scope="col">id</th>
<th scope="col">name</th>
<th scope="col">Privilage</th>
</tr>
</thead>
<tbody>
<?php forea... |
<?php
namespace AlibabaCloud\Ecs;
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getServiceManaged()
* @method $this withServiceManaged($value)
* @method string getDescription()
* ... |
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">User Menu Add</h3>
</div>
<?php echo form_open('usermenu/add'); ?>
<div class="box-body">
<div class="row c... |
@extends('layouts.st_master')
@section('content')
@include('sidebar.sidebar')
<div class="content-body">
<div class="container-fluid">
<div class="row page-titles mx-0">
<div class="col-sm-6 p-md-0">
<div class="welcome-text">
<h4>N... |
<?php
namespace LSBProject\RequestBundle\Util\ReflectionExtractor;
use Doctrine\Common\Annotations\Reader;
use LSBProject\RequestBundle\Configuration\RequestStorage;
use LSBProject\RequestBundle\Util\ReflectionExtractor\Strategy\PropertyExtractor;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Applications/MAMP/htdocs/grav-ewb/user/plugins/problems/problems.yaml',
'modified' => 1472221241,
'data' => [
'enabled' => true,
'built_in_css' => true
]
]; |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit48d2371bdc53c7798a2a3b42c1171083
{
public static $prefixLengthsPsr4 = array (
'a' =>
array (
'app\\' => 4,
),
);
public static $prefixDirsPsr4 = array (
'... |
{{--
<x-guest-layout>
<x-jet-authentication-card>
<x-slot name="logo">
<x-jet-authentication-card-logo/>
</x-slot>
<x-jet-validation-errors class="mb-4"/>
<form method="POST" action="{{ route('register') }}">
@csrf
<div>
<x-jet-l... |
<?php
namespace App\Http\Controllers\Frontend;
use App\Http\Controllers\Controller;
use App\Models\Admin\AboutInfo;
use App\Models\Admin\Address;
use App\Models\Admin\Blog;
use App\Models\Admin\Counter;
use App\Models\Admin\Education;
use App\Models\Admin\Experience;
use App\Models\Admin\HomePage;
use App\Models\Admi... |
<?php
@set_time_limit(0);
/**
* 系统运行环境检测
*
* @version $Id: testenv.php 13:57 2011/11/10 tianya $
* @package DedeCMS.Administrator
* @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
... |
<?php
include '../lib/MailUtil.php';
include '../lib/Constants.php';
function getUsers($role) {
$url = API."/get/roleUsers?role=".$role;
$users = hitURL($url);
return $users;
}
function getCheckPoints($checkPoint,$role,$mcheck) {
$checkPoint=$checkPoint++;
$url = API."/get/word/checkpoint/".$check... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePanelsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('panels', functio... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Doctrine\ORM\EntityRepository;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\Form\FormEvents;
use Symfony\Component\HttpF... |
<meta name="keywords" content="@yield('keywords')"/>
<meta name="description" content="@yield('description')">
<meta name="author" content="{{$setting->titulo}}">
<meta property="og:url" content="{{request()->fullUrl()}}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{$setting->t... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cookie;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class AdminLoginController extends Controller
{
//
public function __construct()
{... |
<?php
namespace App\Http\Controllers;
use App\Mmpi_result;
use Illuminate\Http\Request;
use App\Mini;
use App\Mini_result;
use App\Consent;
use Auth;
class MiniController extends Controller
{
public function index(){
$consents = Consent::all();
$minis = Mini::all();
return view ('mini.mini', compact('minis',... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\TipeSurat;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class TipeSuratController extends Controller
{
public function getTipeSurat(){
return TipeSurat::all()->where('updated_at... |
<?php
declare(strict_types=1);
namespace mumsnet\mn_toolkit;
class ExampleTest extends \PHPUnit\Framework\TestCase
{
/**
* Test that true does in fact equal true
*/
public function testTrueIsTrue()
{
$this->assertTrue(true);
}
} |
<?php
/**
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
* @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com)
*/
namespace ZFTest\Console;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Zend\Console\Adapter\AdapterInterface;
use ZF\Conso... |
<?php
/*
* Created by Cdiscount
* Date : 18/05/2017
* Time : 12:32
*/
namespace Sdk\Fulfilment;
use Sdk\Common\CommonResult;
class SubmitOfferStateActionResult extends CommonResult
{
/*
* SubmitOfferStateActionResult constructor, initialize array erorList the commonResult
*/
public function _... |
<div class="row">
<div class="col-md-12">
<div class="card shadow mb-4 mt-4">
<div class="card-header">
<h2>{{ $answerCount . " " . Str::plural('Answer', $question->answers_count) }}</h2>
</div>
<div class="card-body">
@include('partials.al... |
<?php
declare(strict_types=1);
namespace Edde\Job;
use DateTime;
use Edde\Configurable\IConfigurable;
use Edde\Message\IMessage;
use Edde\Storage\IEntity;
interface IJobQueue extends IConfigurable {
/**
* push a new message
*
* @param IMessage $message
* @param DateTime|null $time
*... |
<?php
/**
* List View Template
* The wrapper template for a list of events. This includes the Past Events and Upcoming Events views
* as well as those same views filtered to a specific category.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/list.php
*
* @package Tri... |
@csrf
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="name">Họ và tên <span class="text-danger">*</span></label>
<select class="form-control select2" name="patient_id">
<option value="">Chọn bệnh nhân</option>
@foreach ($p... |
<?php $__env->startSection('content'); ?>
<div class="box">
<div class="box-header">
<div class="clearfix">
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create', App\Outcome::class)): ?>
<?php echo $__env->make('control.office.toolbar.create', [
'url' => route('office.outcom... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class InvalidTicket extends Model
{
protected $table = 'invalid_tickets';
protected $fillable = [
'user_id',
'transaction_code',
'outlet_id',
'ticket_number',
'result_date',
'schedule_key',
'... |
@extends('theme3')
@section('content')
<style>
th{
padding: 1rem 2rem;
letter-spacing: 0.05rem;
text-transform: uppercase;
color:#f9fbff;
font-size: 0.9rem;
}
table {
border-collapse: collapse;
box-shadow: 0 5px 10px #e1e5ee;
... |
<?php
namespace think;
// ThinkPHP 引导文件
// 1. 加载基础文件
require __DIR__ . '/base.php';
// 2. 执行应用
App::run()->send(); |
<?php
/**
* LDAP Password Driver
*
* Driver for passwords stored in LDAP
* This driver use the PEAR Net_LDAP2 class (http://pear.php.net/package/Net_LDAP2).
*
* @version 2.0
* @author Edouard MOREAU <edouard.moreau@ensma.fr>
*
* method hashPassword based on code from the phpLDAPadmin development team (http://... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<option value="">Pilih Waktu ...</option>
<?php
foreach($waktu as $waktus){
echo "<option value=".$waktus['id_waktu'].">".$waktus['nm_waktu']."</option>";
}
?> |
<?php
/**
* This class defines the structure of the 'tags' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY... |
<?php
namespace Modules\User\Enums;
use App\Helpers\EnumBase;
class Roles extends EnumBase
{
const ADMIN = 'admin';
const EMPLOYER = 'employer';
const EMPLOYEE = 'employee';
} |
<?php
/**
* PaymentModulesTest
*
* PHP version 5
*
* @category Class
* @package Kinow\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Server API
*
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 2.0.3
*
* Generated by: https... |
<?php
/*!
* FarFarAway v1.0 (https://github.com/giusniyyel/farfaraway)
* Copyright 2021 José Daniel Bautista Campos
* Licensed under MIT (https://github.com/giusniyyel/farfaraway/blob/master/LICENSE)
*/
?>
<!DOCTYPE html>
<html>
<head>
<title>Inicio de Sesión — FarFarAway</title>
<meta charset="UTF-8">
<me... |
<?php
namespace App\Models;
use DB;
use App\Models\State;
class Chart
{
function getChart()
{
$data=DB::table('monthdata')->get();
return $data;
}
} |
<?php
namespace App;
use Cache;
use Carbon\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
class Book extends Model
{
public $table = "book";
public $primaryKey = "book_id";
public $years_active;
protected $hidden = ['book_id'];
public $quarters = [
1 ... |
@extends('layouts.v1.default')
@section('title', 'Paramétrage - Type de ratios')
@section('pageTitle', 'Paramétrage - Type de ratios')
@section('filAriane')
<li class="breadcrumb-item text-muted">
<a href="{{ route('typeratios.index') }}" class="text-muted text-hover-primary">Type de ratios</a>
</li>
... |
<?php
/* @WebProfiler/Profiler/base.html.twig */
class __TwigTemplate_a5916d2ac8ae68587ca5371aad393d101bf885e11c8ac520ef7a618ee3e4c3da extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace BeerCollector\Exception;
/**
* Class InvalidGeolocationException.
*/
class InvalidGeolocationException extends \InvalidArgumentException
{
} |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Region;
class UpdateRegionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;... |
<!-- Sidebar -->
<nav id="sidebar">
<!-- Sidebar Scroll Container -->
<div id="sidebar-scroll">
<!-- Sidebar Content -->
<!-- Adding .sidebar-mini-hide to an element will hide it when the sidebar is in mini mode -->
... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace mageekguy\atoum\report\fields\runner\outputs;
use mageekguy\atoum\cli\colorizer;
use mageekguy\atoum\cli\prompt;
use mageekguy\atoum\report\fields\runner\outputs;
class cli extends outputs
{
protected $titlePrompt = null;
protected $titleColorizer = null;
protected $methodPrompt = null;
... |
<?php
namespace Adrianyg7\Acl\Permissions;
use Adrianyg7\Acl\Permissions\Permission;
use Adrianyg7\Acl\Permissions\PermissionRepositoryInterface;
class PermissionRepository implements PermissionRepositoryInterface
{
/**
* The Eloquent permission model name.
*
* @var string
*/
protected $p... |
<?php
namespace App\Providers\PassportExtension\Provider;
use App\Providers\PassportExtension\Controller\OAuthClientController;
use App\Providers\PassportExtension\Controller\PasswordClientController;
use App\Providers\PassportExtension\Controller\PersonalAccessClientController;
use Illuminate\Routing\Router;
use Illu... |
<?php include 'header.php';?>
<section class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_2.jpg');" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-end">
<div class="col-md-9 ftco-animate pb-5">
<p ... |
<body>
<div align="center" class="p-l-20 p-r-20">
<div class="col-md-6" style="background-color : #f7f7f7; border-radius : 2%; box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.25);">
<div class="p-b-30 m-t-30 p-r-30 p-l-30">
<div class="panel-default">
<form class="leave-comment" action... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
}
/**
* Show the appli... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateTableClients extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('clients', functi... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\categories\models\Category */
$this->title = 'Create Category';
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="category-create">
<h1... |
@extends('Layout.plantilladmin')
@section('title', 'Administrador')
@section('header')
<div class="container">
<div class="row">
<div class="col-md-5 p-2 m-2">
<form method="post" action="/login">
@csrf
<!-- Llenar Correo -->
<div class="form-group">
<label style="font-size: 30px;"><b>Emai... |
<?php
abstract class modelCfs extends baseObjectCfs {
protected $_data = array();
protected $_code = '';
protected $_orderBy = '';
protected $_sortOrder = '';
protected $_groupBy = '';
protected $_limit = '';
protected $_where = array();
protected $_stringWhere = '';
protected $_selectFields = '*';
protec... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\ImageSearch\V20190325\Models;
use AlibabaCloud\Tea\Model;
class SearchImageBody extends Model
{
/**
* @var int
*/
public $categoryId;
/**
* @var string
*/
public $instanceName;
/**
... |
<?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 /***********************************************************
* BuilderEngine v3.1.0
* ---------------------------------
* BuilderEngine CMS Platform - Radian Enterprise Systems Limited
* Copyright Radian Enterprise Systems Limited 2012-2015. All Rights Reserved.
*
* http://www.builderengine.com
* Email: i... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Specialite;
use Exception;
use Log;
use Illuminate\Validation\Rule;
class SpecialiteController extends Controller
{
public function create(Request $request)
{
$validatedData = $request->validate([
'specialite.titre'... |
<?php
namespace Database\Factories;
use App\Models\Team;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use Laravel\Jetstream\Features;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
... |
<?php
namespace AsyncAws\DynamoDb\ValueObject;
use AsyncAws\Core\Exception\InvalidArgument;
class DeleteGlobalSecondaryIndexAction
{
/**
* The name of the global secondary index to be deleted.
*/
private $IndexName;
/**
* @param array{
* IndexName: string,
* } $input
*/
... |
<?php
namespace App\Http\Controllers;
use App\Pembatalan;
use Illuminate\Http\Request;
class PembatalanController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$pembatalan = Pembatalan::all();
... |
<?php $__env->startSection('content'); ?><p>Former Tottenham midfielder Victor Wanyama has insisted he will take a 19-year-old woman to court following her claims he paid her £5,000 for sex.</p>
<p>During an Instagram Live interview with blogger Mandela, socialite Shakila claimed she had been paid for sex by several K... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Input;
use Symfony\Component\Console\Exceptio... |
<?php
namespace App\Repository;
use Illuminate\Database\Eloquent\Model;
class SpeciesRepository extends Model
{
//
} |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Address;
use Faker\Generator as Faker;
$factory->define(Address::class, function (Faker $faker) {
return [
'name'=>$faker->name,
'address_line_1' => $faker->streetName,
'address_line_2' => $faker->streetAddress,
... |
<?php
use yii\helpers\Html;
use kartik\widgets\ActiveForm;
use kartik\builder\Form;
use kartik\datecontrol\DateControl;
/**
* @var yii\web\View $this
* @var app\models\Program $model
* @var yii\widgets\ActiveForm $form
*/
?>
<div class="program-form">
<?php $form = ActiveForm::begin(['type'=>ActiveForm::TYP... |
<?php
/**
* NOTICE OF LICENSE
*
* The MIT License
*
* Copyright (c) 2016 e-Boekhouden.nl
*
* 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 lim... |
<?php
/**
* Created by PhpStorm.
* User: thomas
* Date: 1/12/2016
* Time: 2:08 PM
*/
class EducationController extends SiteController
{
public static $allowed_actions = array(
'index','search','printlist'
);
/**
* The current Family DataList .
*
* @var DataList
*/
protected $list;
... |
@extends('layouts.masters')
@section('content')
<div id="news-story-bar">
<div class="row">
<div class="large-12 medium-12 small-12 columns">
<div id="title-grouping" class="row">
<div class="large-5 medium-4 small-6 columns noleftpadding"><h3 class="news-caps">News... |
<?php
use App\Http\Controllers\Admin\Auth\AuthController;
use App\Http\Controllers\Admin\Catalogue\CatalogueController;
use App\Http\Controllers\Admin\Category\CategoryController;
use App\Http\Controllers\Admin\ColorProduct\ColorProductController;
use App\Http\Controllers\Admin\SizeProduct\SizeProductController;
use A... |
<?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 Enbit\eBaySDK\Test\Inventory\Types;
use Enbit\eBaySDK\Inventory\Types\OfferKeysWithId;
class OfferKey... |
<?php
namespace App\Models\Common;
use App\Models\AbstractModel;
use App\Models\User\UArticle;
use App\Models\User\UCategoryAssociatedArticle;
use Illuminate\Database\Eloquent\Collection;
class CCategory extends AbstractModel
{
protected $table = 'c_categories';
/**
* @return Collection
*/
pub... |
<?php
Class User {
private $_db;
function __construct($db_data){
$this->_db = $db_data;
}
public function sign_in($uname,$pass){
try {
$query = $this->_db->prepare('SELECT * FROM user WHERE Username=:uname AND Password=:pass');
$query->execute(array(':uname'=>$... |
<?php
namespace Drupal\search_api\Plugin\search_api\data_type;
use Drupal\Component\Datetime\DateTimePlus;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
use Drupal\search_api\DataType\DataTypePluginBase;
/**
* Provides a date data type.
*
* @SearchApiDataType(
* id = "date",
* label = @T... |
--TEST--
Check for xmldiff DOM diff fail
--SKIPIF--
<?php if (!extension_loaded("xmldiff")) print "skip"; ?>
--FILE--
<?php
$zxo = new XMLDiff\DOM;
$dir = dirname(__FILE__) . "/testdata/faildiff";
for ($i = 0; $i < 2; ++$i) {
$f = sprintf("$dir/%02da.xml", $i);
$t = sprintf("$dir/%02db.xml", $i);
$from = new DO... |
<?php
class Latihan1 extends CI_Controller
{
public function index()
{
echo "Selamat Datang Sunil Maulid..... selamat belajar web Programming";
//$this->load->view('view-latihan1');
}
public function penjumlahan($n1, $n2)
{
$this->load->model('Model_latihan1');
$data... |
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author phpFox LLC
* @package Module_Admincp
* @version $Id: index.html.php 2831 2011-08-12 19:44:19Z phpFox LLC $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
<h3>{_p var='global_settings'}</h3>
{foreach from=$aGroups item=aGroup na... |
<?php
/**
* Base class for both admin and frontend
*
* @since 1.2
*/
abstract class PLL_Base {
public $links_model, $model, $options;
/**
* Constructor
*
* @since 1.2
*
* @param object $links_model
*/
public function __construct( &$links_model ) {
$this->links_model = &$links_model;
$this->mode... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WindowsInformationProtectionIPRangeCollection File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporati... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use DB;
class Comment extends Model
{
public static function makeCommentInPost($request){
$comment = new Comment();
$comment->userId = $request->userId;
$comment->postId = $request->postId;
$comment->comment = $request->comm... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Item;
class ItemUserController extends Controller
{
public function want()
{
$itemCode = request()->itemCode;
// itemCode から商品を検索
$client = new \Ra... |
<?php
namespace Spatie\SchemaOrg\Contracts;
interface ResidenceContract
{
public function accommodationFloorPlan($accommodationFloorPlan);
public function additionalProperty($additionalProperty);
public function additionalType($additionalType);
public function address($address);
public functio... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CriaTabelaUsuario extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Usuarios', funct... |
<?php
class EmailEvent {
public string $key;
/** time of event in seconds since epoch */
public int $timestamp;
public bool $isSecure;
public MinimalEmailContext $minimalContext;
/** @var PublicEmailContext|SecureEmailContext|null */
public $context;
/**
* @param string $key
* @param int $times... |
<?php namespace Course\Http\Controllers;
use Course\User;
class UsersController extends Controller {
public function getOrm(){
$users = User::select('id','first_name')
->where('first_name','<>','Esteban')
->orderBy('first_name','ASC')
->get();
dd($users->... |
<?php
namespace test\Khalyomede;
use Khalyomede\Prototype;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use InvalidArgumentException;
use BadMethodCallException;
class PrototypeSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType(Prototype::class);
}
fun... |
<?php
namespace App\Providers;
use App\Actions\Fortify\CreateNewUser;
use App\Actions\Fortify\ResetUserPassword;
use App\Actions\Fortify\UpdateUserPassword;
use App\Actions\Fortify\UpdateUserProfileInformation;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.