text stringlengths 2 1.03M |
|---|
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\SDK_DATA_1598238000612\Models\GetwithformSmartworkBpmsProcessinstanceResponseBody\result\result;
use AlibabaCloud\Tea\Model;
use AlibabaCloud\SDK\SDK_DATA_1598238000612\Models\GetwithformSmartworkBpmsProcessinstanceResponseBody\r... |
<?php
namespace App\Http\Controllers\Seed;
use App\Http\Controllers\ApiController;
use App\Http\Controllers\Controller;
use App\Models\Seed;
use Illuminate\Http\Request;
class SeedGroundController extends ApiController
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Respons... |
<?php
namespace App\Mail;
use App\Models\Project;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ReceiptEmail extends Mailable
{
use Queueable, SerializesModels;
private $email;
private $project;
pr... |
<?php $__env->startSection('content'); ?>
<?php if(session()->has('message')): ?>
<div class="alert alert-success alert-dismissible text-center"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><?php echo session()->get('message'); ?></div>
<... |
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<section class="content">
<!-- Small boxes (Stat box) -->
<div class="row">
<div class="col-lg-10 col-xs-6">
<div class="box">
<div class="box-header with-border">
... |
@if($flash = session('success'))
<div class="alert alert-success" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<p>{{ $flash }}</p>
</div>
@elseif($flash = session('warning'))
<... |
<?php
namespace Blog\AdminBundle\Controller;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Ro... |
<?php
$ur['title'] = "Login";
include 'header3.php';
/*echo '<form action="authenticate.php" method="post">
<label for="username">
<i class="fas fa-user"></i>
</label>
<input type="text" name="username" placeholder="Username" id="username" required>
<label for="password">
<i class="fas fa-loc... |
@extends('frontEnd/layouts/master2Column')
{{-- Page title --}}
@section('title')
最新消息
@parent
@stop
{{-- breadcrumb --}}
@section('top')
@include('frontEnd.partials._breadcum',['title'=>'客戶服務','subTitle'=>'最新消息'])
@stop
{{-- Page content --}}
@section('content')
<!-- ... |
<?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\Bridge\Twig\NodeVisitor;
use Symfony\Bridge\Twig\Node\TransNode... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "microactividad".
*
* @property integer $id
* @property string $nombre
* @property integer $peso
* @property integer $macroactividad_id
*
* @property Macroactividad $macroactividad
*/
class Microactividad extends \yii\db\ActiveReco... |
<?php
class PagamentoPS extends Conexao{
private
/**** @var string: armazena objeto da transação */
$transaction,
/**** @var string:forma de pagamento */
$forma_pag,
/**** @var string: trata o status do paga... |
<?php
/*
* A wrapper around curl_multi_info_read to make life easier:
* https://www.php.net/manual/en/function.curl-multi-info-read.php
*/
namespace Programster\AsyncCurl;
class CurlInfoReadResponse
{
private $m_handle;
private $m_result;
public function __construct(array $info)
{
$requi... |
<?php defined('BASEPATH') || exit('No direct script access allowed');
/**
* Bonfire
*
* An open source project to allow developers to jumpstart their development of
* CodeIgniter applications
*
* @package Bonfire
* @author Bonfire Dev Team
* @copyright Copyright (c) 2011 - 2014, Bonfire Dev Team
* @licens... |
@if($allsettings->maintenance_mode == 0)
@include('version')
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ Helper::translation(2882,$translate) }} - {{ $allsettings->site_title }}</title>
@include('stylesheet')
@include('dynamic-style')
</head>
<body class="preload term-condition-page">
@include(... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_jenis_pelajaran extends CI_Model {
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function selectReferensiJenisPelajaran(){
$this->db->select('*');
$query = $this->db->get('tr_jenis_pelaj... |
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<a... |
<!-- Navbar -->
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
</li>
<li class="nav-item d-none d-sm-... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentTypes extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payment_types',... |
<?php
/**
* @testCase
*/
namespace NextrasTests\Orm\Mapper\Dbal;
use Mockery;
use Nette\Caching\Storages\DevNullStorage;
use Nextras\Dbal\Connection;
use Nextras\Dbal\Platforms\IPlatform;
use Nextras\Orm\InvalidStateException;
use Nextras\Orm\Mapper\Dbal\StorageReflection\CamelCaseStorageReflection;
use Nextras\Or... |
<!DOCTYPE html>
<html lang="PT-BR">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row justify-content-center">
<label>Contacto</label>
<div class="col-12 text-center">
<a href="https://www.linkedin.com/in/camilo-oyarzo/" style="text-decoration: none;">
... |
<div class="container">
<div class="col-sm-10 col-sm-offset-2">
<h1>Edit Bus Info</h1>
<form action="<?php echo site_url('index.php/bus/edit') ?>" method="post" class="form-horizontal">
<div class="form-group">
<div class="col-sm-4">
<input type="hidden" name="bus_id" value="<?php echo $bus->bus_id ... |
/**
* PATH: {{ $action->getHttpMethod() }} {{ $action->getPath() }}
@foreach( $action->getParams() as $param )
* @param {{ $param->getVariableType() }} {{ $param->getName() }}
@endforeach
* @param {{ $action->getRequest()->getName() }} $request
*
* @return \Illuminate\Http\JsonResponse
* @throws... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitdc712c972903ba522454d6c65b679779::getLoader(); |
<?php
return [
/*
|--------------------------------------------------------------------------
| バリデーション言語行
|--------------------------------------------------------------------------
|
| 以下の言語行はバリデタークラスにより使用されるデフォルトのエラー
| メッセージです。サイズルールのようにいくつかのバリデーションを
| 持っているものもあります。メッセージはご自由に調整してくださ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/agora.css" rel="stylesheet">
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//tinymce.cachefly.net... |
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
protected $fillable = [ 'name', 'email', 'password', 'role_id', 'is_active', 'photo_id' ];
protected $hidden = [ 'password', 'remember_token', ];
public function setPasswordAttribute($passwo... |
<?php
namespace Drupal\Core\Entity\Controller;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\FieldableEntityInterface... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ModifyProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('products', func... |
@extends('layouts.default')
@section('title')Edit Pelayanan Bantuan Bencana Alam @endsection
@push('style')
<link href="{{ url('admin') }}/plugins/bootstrap-validator/bootstrapValidator.min.css" rel="stylesheet">
<link href="{{ url('admin') }}/plugins/bootstrap-timepicker/bootstrap-timepicker.min.css" rel="stylesheet">... |
<?php
namespace Bitrix\Crm\Recycling;
use Bitrix\Crm;
use Bitrix\Main\NotSupportedException;
class Relation
{
protected $sourceEntityTypeID = 0;
protected $sourceEntityID = 0;
protected $sourceRecycleBinID = null;
protected $destinationEntityTypeID = 0;
protected $destinationEntityID = 0;
protected $destinatio... |
<?php
namespace RIPS\ConnectorBundle\Hydrators\Application\Profile;
use stdClass;
use RIPS\ConnectorBundle\Entities\Application\Profile\SettingEntity;
use RIPS\ConnectorBundle\Hydrators\Application\Scan\PhpHydrator;
use RIPS\ConnectorBundle\Hydrators\Application\Scan\JavaHydrator;
class SettingHydrator
{
/**
... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\modules\settings\models\TblProductGroup */
$this->title = $model->product_group_id;
$this->params['breadcrumbs'][] = ['label' => 'Tbl Product Groups', 'url' => ['index']];
$this->params['breadcrumbs'][] = $thi... |
<?php namespace Modules\Core\Http\Middleware;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;
use Modules\Menu\Repositories\MenuItemRepository;
class PublicMiddleware
{
/**
* @var Request
*/
private $request;
/**
* @var MenuItemRepository
*/
private $menuItem;
... |
@extends('layouts.master')
@section('content')
<div class="products-box">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="title-all text-center">
<h1>PROJECT WHEEL LOADER</h1>
</div>
</div>
</div>... |
<?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... |
@extends('layouts.admin')
@section('title')
Hizmetler
@endsection
@section('css')
@endsection
@section('content')
<div class="page-header">
<h3 class="page-title"> Hizmetler </h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active... |
<?php
$lang['member_order_time'] = '下单时间';
$lang['member_show_order_send_time'] = '发货时间';
$lang['member_show_order_finish_time'] = '完成时间';
$lang['store_order_order_sn'] = '订单编号';
$lang['store_order_order_sn_search'] = '输入您要查询的订单编号';
$lang['store_order_comp_exp'] = '快递公司';
$lang['store_order_goods_detail'] = '商品';
$l... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAssortedsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('assorteds', f... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Space Room</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link href="https://fonts.googleapis.com/css?family=s... |
@extends('layouts.app')
@section('content')
<video-chat :user=" {{ $user }}" :others="{{ $others }}"
pusher-key="{{ config('broadcasting.connections.pusher.key') }}"
pusher-cluster="{{ config('broadcasting.connections.pusher.options.cluster') }}">
</video-chat>
@endsection |
<?php
namespace robman2100\Excel\Jobs;
use Throwable;
use robman2100\Excel\Sheet;
use Illuminate\Bus\Queueable;
use robman2100\Excel\HasEventBus;
use PhpOffice\PhpSpreadsheet\Cell\Cell;
use robman2100\Excel\Concerns\WithEvents;
use robman2100\Excel\Events\ImportFailed;
use robman2100\Excel\Files\TemporaryFile;
use Il... |
<div class="form-group">
<label class="col-sm-2 control-label">优惠条件:</label>
<div class="col-sm-10">
{{--<div class="alert alert-danger">--}}
{{--提示:请勿添加重复的规则类型--}}
{{--</div>--}}
<fieldset id="rules_box">
<div class="promotion_rules_box" id="promotion_rules_1">
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Channel Images Helper File
*
* @package DevDemon_ChannelImages
* @author DevDemon <http://www.devdemon.com> - Lead Developer @ Parscale Media
* @copyright Copyright (c) 2007-2010 Parscale Media <http://www.parscale.com>
* @li... |
<?php
declare(strict_types=1);
namespace App\Domain\Shared\Specification;
use App\Domain\Shared\Exception\NotNaturalNumberException;
interface NaturalNumberSpecificationInterface
{
/**
* @throws NotNaturalNumberException
*/
public function isNatural(int $value): bool;
} |
<?php
$lang = array(
'add_block' => 'Zu Gesperrten hinzufügen',
'add_buddy' => 'Zu Freunden hinzufügen',
'add_member' => 'Mitglied hinzufügen',
'allowed_mimes' => 'Zulässige Dateitypen:',
'any' => 'Jede(r)',
'attach_too_large' => 'Die Größe Ihrer Dateianhänge hat das zulässige Limit überschritten.',
'attachment... |
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#c7d8a7" class="header">
<table width="70" align="left" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="70" style="padding: 0 20p... |
@extends('admin.layouts.main')
@section('content')
@if(session()->get('success'))
<div class="alert alert-success">
{{ session()->get('success') }}
</div><br />
@endif
<div class="row">
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box bg-info">
<div cl... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
Eloquent::unguard();
$this->call('UsersTablesSeeder');
}
} |
<?php
namespace Encore\Admin\Grid;
use Carbon\Carbon;
use Closure;
use Encore\Admin\Grid;
use Encore\Admin\Grid\Displayers\AbstractDisplayer;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
... |
<?php
namespace App\Http\Middleware;
use Closure;
class VerifyIsAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(!auth()->us... |
<?php
/**
* @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
*/
namespace Team3\PayU\Order\Model;
interface OrderStatusInterface
{
const NEW_ORDER = 'NEW';
const PENDING = 'PENDING';
const WAITING_FOR_CONFIRMATION = 'WAITING_FOR_CONFIRMATION';
const COMPLETED = 'COMPLETED';
const CANCELED = ... |
<?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
* Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or w... |
<?php
namespace Tests\Browser\Client\Pages;
class ForgotPasswordPage extends Page
{
public function url(): string
{
return config('routes.forgot_password');
}
} |
<?php
/* @var $this TindakanController */
/* @var $model Tindakan */
$this->breadcrumbs=array(
'Tindakans'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Tindakan', 'url'=>array('index')),
array('label'=>'Create Tindakan', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScrip... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateProductRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<?php
use Illuminate\Database\Seeder;
class BrandTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('brands')->insert([
'brand' => 'Lacoste',
]);
}
} |
<?php
namespace Mandrill;
class Exports {
public function __construct(\Mandrill $master) {
$this->master = $master;
}
/**
* Returns information about an export job. If the export job's state is 'complete',
the returned data will include a URL you can use to fetch the results. Every export
jo... |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
<div class="container">
@if(!Route::is('categories.*') && !Route::is('products.*') && !Route::is('admin') )
<a class="navbar-brand" href="{{ route('product_home') }}">
{{strtoupper(config('app.name'))}}
... |
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header bg-success"><strong><h1>Edit Data</strong></div>
<div class="card-body">
<form class="mt-3 mb-3" action="<?= base_url('admin/update_data/' . $data->id_paket) ?>" method="POST">
<... |
@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">
Planter <br />
<a href='/planters/create'>Add Planter</a>
... |
;mw.loader.state({"site":"ready"});
/* cache key: wikidb_haskell:resourceloader:filter:minify-js:7:fba29bdcb828747c2ed17376d02217ef */ |
<?php
namespace Database\Seeders;
use App\Models\InformacionAdmin;
use Illuminate\Database\Seeder;
class InfoAdminSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
InformacionAdmin::create([
'estado_cupon' => 1,
... |
<?php
declare(strict_types=1);
/*
* PagarmeApiSDKLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
namespace PagarmeApiSDKLib\Controllers;
use PagarmeApiSDKLib\Exceptions\ApiException;
use PagarmeApiSDKLib\ApiHelper;
use PagarmeApiSDKLib\ConfigurationInterface;
use P... |
<section class="related-product-area section_gap_bottom">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center">
<div class="section-title">
<h1>Deals of the Week</h1>
<p>Lorem ipsum dolor sit am... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class EBookSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('ebooks')->insert([
'title' => 'Title E-Book ... |
<div class="container">
<div class="row-mt-3">
<div class="col-mt-6">
<div class="card">
<div class="card-header">
Form Edit Data Mahasiswa
</div>
<div class="card-body">
<form action="" method="post">
... |
<?php
namespace ElementorPro\Modules\QueryControl\Classes;
use Elementor\Widget_Base;
use ElementorPro\Modules\QueryControl\Module;
use ElementorPro\Classes\Utils;
/**
* Class Elementor_Post_Query
* Wrapper for WP_Query.
* Used by the various widgets for generating the query, according to the controls added using ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class State extends Model
{
protected $table = 'states';
public $timestamps = false;
protected $fillable = ['name'];
public function municipality(){
return $this->hasMany('Municipality', 'states_id');
}
} |
<?php
namespace App\Http\Controllers\Auth;
use App\Student;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
... |
<?php
/**
* ------------------------------------------------------------------------
* Theme's Navigations
* ------------------------------------------------------------------------
* This file is for registering your theme's custom navigation areas
* where various menus can be assigned by site administrators.
*/... |
<?php
/**
* Observer pattern using Closures
* Source: https://riptutorial.com/php/example/8748/use-closures-to-implement-observer-pattern
*/
// Let's first declare a class whose purpose is to notify observers when its property is changed.
class ObservedStuff implements SplSubject
{
protected $property;
pr... |
<?php
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBund... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class City extends Model
{
protected $table = 'cities';
protected $primaryKey = 'id';
public function country()
{
return $this->belongsTo(Country::class, "country_id", "id");
}
public function state()
{
return... |
@extends('layout.main')
@section('title', 'Order')
@section('content')
<style>
.pac-container { z-index: 100000 !important; }
.search-address {
z-index: 0;
width: 55%;
position: absolute;
left: 175px;
top: 0px;
margin-top: 10px;
}
</style>
<section class=... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">
{{ __('Applicability List') }}
<... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class PostImage extends Model
{
use SoftDeletes;
protected $dates = ['deleted_at'];
protected $fillable = [
'post_id','image',
];
protected function images(){
return $this->... |
<?php
namespace Neos\FluidAdaptor\ViewHelpers\Format;
/*
* This file is part of the Neos.FluidAdaptor package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with... |
<?php
namespace app\modules\v1\models;
use app\models\Rubric;
/**
* This is the model class for table "{{%news}}".
*
* @property int $id
* @property string $title
* @property string $text
*/
class News extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Artista extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'artista';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $... |
<?php
/**
* Created by Guilherme Couto.
* User: guicouto
* Email: ccoutoguilherme@gmail.com
* Date: 23/08/2017
* Time: 15:02
*/
namespace oGestor\LaravelBoleto\Cnab\Remessa\Cnab240\Banco;
use oGestor\LaravelBoleto\CalculoDV;
use oGestor\LaravelBoleto\Cnab\Remessa\Cnab240\AbstractRemessa;
use oGestor\LaravelBole... |
<div class="panel panel-primary">
<div class="panel-heading">เลือกโหมดการทำงาน</div>
<div class="panel-body">
<a href="<?php echo site_url('asset/index3/sync') ?>" class="btn btn-primary btn_main_wd" style="margin:5px;"><i class="fa fa-cubes fa-fw fa-5x"></i><br /><br />
สร้าง QR Code ครุภัณฑ์</a>
<a href="<?ph... |
<?php
namespace Spatie\Html\Elements\Attributes;
trait Required
{
/**
* @param bool $required
*
* @return static
*/
public function required($required = true)
{
return $required
? $this->attribute('required')
: $this->forgetAttribute('required');
}
} |
<?php
require_once 'userModel.php';
require_once 'dbaUserModel.php';
require_once 'footprintModel.php'; |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<!DOCTYPE html>
<html>
<head>
<style>
</style><title>contactusl146190019</title>
</head>
<body style="background-color:cornflowerblue">
<h1 style="font-family:verdana; text-align:center; color:white;">Contact Us</h1>
<img src="https://drive.google.com/uc?export=view&id=14avH06XV95wo-sfN8TmYIeIHzZaPE_j-" width="200" hei... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
use App\Http\Requests\RegisterRequest;
class RegisterController extends Controller
{
public function getstarted()
{
$data = file_get_contents('assets/json/pack... |
<header class="site-header shadow-lg fixed-top">
<div class="container mx-auto">
<div class="row align-items-center">
<a class="navbar-brand mr-auto my-0" href="{{ url('/en') }}"><img src="https://cotuong.r.worldssl.net/img/app-icons/logo.png" class="xiangqi-logo" alt="xiangqi logo"><h1 class="d-inline" sty... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
use Cart;
class HomeController extends Controller
{
public function index () {
return view ('home.index');
}
public function about () {... |
<?php
/*
* Common Helpers
*
*/
if (strpos($_SERVER['REQUEST_URI'], '/index.php') !== false) {
$ci = &get_instance();
$ci->load->helper('url');
redirect(current_url());
exit();
}
//generate product url
if (!function_exists('generate_ads_url')) {
function generate_ads_url($row)
{
if (... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDocumentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('documents', f... |
@extends('admin.layout.master')
@section('header')
<section class="content-header pl-3">
<h1>ওয়েবসাইট</h1>
<ol class="breadcrumb">
<li>
<a href="">
<i class="fa fa-fw ti-home"></i> জরুরী যোগাযোগ
</a>
</li>
<li> ত... |
@extends('layouts.app')
@section('title', 'Tambah File')
@section('content')
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-12">
<h1>Upload File</h1>
</div>
</div>
<... |
<?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\Finder\Tests\Iterator;
use Symfony\Component\Finder\Iterato... |
@section('header')
@parent
<title>Add Note</title>
@endsection
{{-- Extends layout --}}
@extends('layouts.default')
{{-- Content --}}
@section('container')
<!--begin::Container-->
<div class="container">
<!--begin::Card-->
<div class="card card-custom gutter-b example example-compact">
<div class... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
... |
<?php
namespace io\clonalejandro\cards;
/**
* Created by alejandrorioscalera
* 25/04/2018
*
* -- SOCIAL NETWORKS --
*
* GitHub: https://github.com/clonalejandro or @clonalejandro
* Website: https://clonalejandro.me/
* Twitter: https://twitter.com/clonalejandro11/ or @clonalejandro11
* Keybase: https://keybas... |
<?php
namespace Database\Factories;
use App\Models\DeskList;
use Illuminate\Database\Eloquent\Factories\Factory;
class CardFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.