text stringlengths 2 1.03M |
|---|
<?php
/*
* EmailService.php
*
* Copyright 2019 Михаил
*
*/
namespace common\components;
use Yii;
use yii\base\Component;
use common\components\UserNotificationInterface;
class EmailService extends Component
{
/**
* @param UserNotificationInterface $user
* @param string $subject
* @return ... |
<body>
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container px-4 px-lg-5">
<a class="navbar-brand" href="#!">Start Bootstrap</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupported... |
<?php
namespace Vitalii\Bundle\TrackerBundle\Tests\Functional\DataFixtures;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\Persistence\ObjectManager;
use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
use Oro\Bundle\NoteBundle\Entity\Note;
use... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/mediatranslation/v1beta1/media_translation.proto
namespace Google\Cloud\MediaTranslation\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* A st... |
<?php
namespace App\Exports;
use App\Models\Curriculum;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithMapping;
use Maatwebsite\Excel\Concerns\Exportable;
use Illuminate\Support\Facades\Auth;
use Maatwebsite\Excel\Concerns\FromQuery;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
cla... |
<?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... |
@extends('public.layouts.layout')
@section('title')Airposted - Shipping Simplified @stop
@section('main')
@include('user.partials.nav')
<section class="row user-panel">
<div class="col-sm-10 col-sm-offset-1">
{!! errors($errors) !!}
<div class="col-xs-12 no-padding">
... |
<?php
namespace Imper86\AllegroRestApiSdk\Model\SoapWsdl;
class ShipmentPriceTypeStruct
{
/**
* @var int $shipmentPriceTypeId
*/
protected $shipmentPriceTypeId = null;
/**
* @var string $shipmentPriceTypeName
*/
protected $shipmentPriceTypeName = null;
/**
* @param int ... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Resources\PermissionResource;
use App\Permission;
use Illuminate\Http\Request;
class PermissionController extends ApiController
{
protected $permission;
public function __construct(Permission $permission)
{
parent::__construct();
... |
<?php
function sanitizeFormUsername($inputText) {
$inputText = strip_tags($inputText);
// strip_tags remove all the html elements that might be on string.
$inputText = str_replace(" ", "", $inputText);
// replace all the spaces with empty string.
return $inputText;
}
function sanitizeFormString($i... |
<?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 ... |
@extends('errors.minimal')
@section('code', '404')
@section('title', __('Page Not Found'))
@section('image')
<div style="background-image: url({{ asset('/svg/404.svg') }});"
class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center">
</div>
@endsection
@section('message', __('Sorry, the page you a... |
<?php
use App\Http\Controllers\Panel\DashboardController;
use App\Http\Controllers\Panel\PackageController;
use App\Http\Controllers\Panel\ProfileController;
use App\Http\Controllers\Panel\ShopController;
use Illuminate\Support\Facades\Route;
/*
|-----------------------------------------------------------------------... |
<?php
namespace App\Models;
class Users extends Database
{
protected $table = 'users';
public $allowedFields = ['username', 'password', 'avatar', 'disabled'];
public function addUser($username, $password)
{
$this->save(
[
'username' => $username,
'pa... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Fixtures\Traits;
use UnitTest... |
<?php namespace FacturaScripts\Dinamic\Controller;
/**
* Class created by Core/Base/PluginManager
* @author FacturaScripts <carlos@facturascripts.com>
*/
class AccountingReports extends \FacturaScripts\Core\Controller\AccountingReports
{
use \FacturaScripts\Core\Base\ExtensionsTrait;
} |
<?php
/**
* OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures
* all the essential functionalities required for any enterprise.
* Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
*
* OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
*... |
<?php
/**
* This file is part of the netsuitephp/netsuite-php library
* AND originally from the NetSuite PHP Toolkit.
*
* New content:
* @package ryanwinchester/netsuite-php
* @copyright Copyright (c) Ryan Winchester
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @link https://g... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Category;
class CategorySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Category::create([
'name' => 'Питьевые фильтры под мойку',
'image' => '/assets/... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v7/errors/currency_code_error.proto
namespace Google\Ads\GoogleAds\V7\Errors;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Container for en... |
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Làm bài thi trắc nghiệm</title>
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<lin... |
<?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
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 3 of the License, or
(at your option) any later version.
... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
use HasFactory;
protected $fillable = ['user_id', 'total_amount', 'status'];
public function carrier(){
return $this->hasOne(CarrierAssign::clas... |
<?php
namespace Diego\Gerenciador\Controller;
use Nyholm\Psr7\Response;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
class Deslogar implements RequestHandlerInterface
{
public function handle(ServerRequestInterface $request):... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(UserSeeder::class);
$this->call(RoleSeeder::class);
$this->call(PenggunaSeeder::class);
... |
<?php
namespace Encore\Admin\Form\Field;
use Encore\Admin\Admin;
use Encore\Admin\Form\Field;
class Textarea extends Field
{
use HasValuePicker;
/**
* Default rows of textarea.
*
* @var int
*/
protected $rows = 5;
/**
* @var string
*/
protected $append = '';
/... |
<?php
class sample
{
public function hello1()
{
}
protected function hello2()
{
}
private function hello3()
{
}
public function hello4()
{
}
public static function static_hello1()
{
}
protected static function static_hello2()
{
}
private... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', functio... |
<?php
/**
* Tests for the \PHP_CodeSniffer\Files\File:getMethodParameters method.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer... |
<?php
/**
* SEOmatic plugin for Craft CMS 3.x
*
* A turnkey SEO implementation for Craft CMS that is comprehensive, powerful,
* and flexible
*
* @link https://nystudio107.com
* @copyright Copyright (c) 2017 nystudio107
*/
namespace nystudio107\seomatic\models\jsonld;
use nystudio107\seomatic\models\jsonl... |
<!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:wght@400;600;700&displ... |
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Estera
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_post_thumbnail('large'); ?>
<header class="entry-header">
<?php
if ( is_singular() ... |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php
namespace App\Components\Diaries;
use Bastinald\Ux\Traits\WithModel;
use App\Models\Diary;
use Livewire\Component;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
class Save extends Component
{
use WithModel;
public $diary;
public function mount(Diary $diary = null)
{... |
<?php
namespace Websm\Framework\Validation\Exceptions;
class InvalidArgument extends ValidatorBaseException {} |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class ArticleResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializabl... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Auth;
class SendWithdrawalEmailNotification extends Notification
{
use Queueabl... |
@extends('frontend.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">Admin Login</div>
<div class="card-body">
<form method="P... |
<?php
namespace Dms\Core\Tests\Form\Field\Processor\Fixtures;
use Dms\Core\Model\Object\Enum;
use Dms\Core\Model\Object\PropertyTypeDefiner;
/**
* @author Elliot Levin <elliotlevin@hotmail.com>
*/
class StatusEnum extends Enum
{
const ACTIVE = 'active';
const INACTIVE = 'inactive';
/**
* Defines ... |
<?php
function get_weight($weight,$number) {
$n = $number;
foreach($weight as $val) {
$res[] = (int) floor($n/$val);
$n = $n % $val;
}
return $res;
}
function number2token($number) {
$isPrevToken = False;
$prefix = 'C';
$nextToken = "AA";
$prevToken = "A_";
$b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijk... |
<div class="slim-header">
<div class="container">
<div class="slim-header-left">
<h2 class="slim-logo"><a href="index.html">slim<span>.</span></a></h2>
<div class="search-box">
<input type="text" class="form-control" placeholder="Search">
<button class="btn btn-primary"><i class="fa f... |
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Events - Find all your favorite events near you</title>
<link href="https://fonts.googleapis.com/css?family=Poppins:400,700,900" rel="style... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/**
* Customer
* @author: mubashir
* @author:(sub) raseel
* @version: 1.0.0
*
*@extends:Admin_Controller
*
*/
class Customer extends Admin_Controller
{
/** title nav bar */
protected $title_nav_bar =array();
/**
* @var ar... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitc5012bd7ed9ebf5f65b9c3f1e8ee2900
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
@extends('admin.dashboard.template')
@section('title', 'Campaign Master')
{{-- @section('dash', 'active') --}}
@section('dashboard_section')
<div>
<nav class="bg-info d-flex justify-content-between border border-dark" aria-label="breadcrumb">
<ol class="breadcrumb m-0 d-flex align-items-center... |
<?php
class Carrera_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
function ModelAllCarreras()
{
$this->db->from('5acat_carrera');
$this->db->order_by('PkCarrera');
$result = $this->db->get();
$carreras = array()... |
<section class="blog-area section-gap" id="blog">
<div class="container">
<div class="row">
<div class="single-blog col-lg-8 col-md-4">
<h2 class="entry-title">Kegiatan Usaha Hilir</h2>
<p>Kegiatan Usaha Hilir dilaksanakan oleh Badan Usaha yang telah memiliki Izin Usaha yang dikelu... |
<?php
/*
* This file is part of the Cocorico package.
*
* (c) Cocolabs SAS <contact@cocolabs.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cocorico\CoreBundle\Validator;
use Cocorico\CoreBundle\Model\TimeRange;
u... |
@extends('layouts.app-backend')
@section('title', 'Dashboard')
@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="car... |
<?php declare(strict_types=1);
$header = <<<'EOF'
This file is part of sebastian/diff.
(c) Sebastian Bergmann <sebastian@phpunit.de>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
$finder = PhpCsFixer\Finder::create()
->files()
->... |
@extends('Layout.app')
@section('title','View Company Establisment')
@section('content')
<!-- Sidebar -->
@include('Layout.sidebar')
<!-- /Sidebar -->
<div class="col-xl-9 col-lg-8 col-md-12">
<div class="row">
<div class="col-xl-12 col-lg-8 col-md-12">
<form method="POST" name="joblist" id="... |
<?php
use yii\helpers\Html;
use salopot\debug\memcached\panels\MemcachedPanel;
/* @var MemcachedPanel $panel */
$stateLabels = [
MemcachedPanel::STATE_GOOD => 'label-success',
MemcachedPanel::STATE_NORMAL => '',
MemcachedPanel::STATE_WARNING => 'label-warning',
MemcachedPanel::STATE_ERROR => 'label-im... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
protected $connection = 'mysql';
const TABLE_NAME = 'bs_orders';
const STATE_ACTIVE = true;
const STATE_INACTIVE = false;
/**
* The attributes that are mass assignable.
*
* @var array
... |
<?php
///////////////////////////////////////////
// This is version 0.1 of browse0.php ///
///////////////////////////////////////////
////////////////// Borrowed from Mediawiki index.php (for Security)--not sure if I need it, but...
unset( $IP );
@ini_set( 'allow_url_fopen', 0 ); # For security...
if ( isset( $_R... |
<?php
namespace Soho\Roots\Console;
use Illuminate\Console\GeneratorCommand;
class CrudModelCommand extends GeneratorCommand
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'roots:model
{name : The name of the mo... |
<!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>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?fam... |
<div class="row">
<div class="col-sm-4 col-xs-6">
<div class="panel panel-default">
<div class="panel-thumbnail"><img src="#" class="img-responsive"></div>
<div class="panel-body">
<p class="lead">Some News</p>
<p>Some info news here</p>
<p>
<img src="#" width="28px" height="2... |
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">Did you consume alcohol today?</span>
</div>
<label class="input-group-text" for="inputGroupSelect01">Yes</label>
<label class="input-group-text" for="inputGroupSelect01">... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\System\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for MidocoPrintRemarkDestination StructType
* @subpackage Structs
*/
class MidocoPrintRemarkDestination extends PrintDestinationDTO
{
} |
<?php
/**
* @var modX $modx
*/
$tstart = explode(' ', microtime());
$tstart = $tstart[1] + $tstart[0];
set_time_limit(0);
if (!defined('SONEPROVIDER_BUILD')) {
/* define version */
define('PKG_NAME','sOnePackage');
define('PKG_NAME_LOWER',strtolower(PKG_NAME));
define('PKG_VERSION','1.0.0');
def... |
@extends('layouts.main')
@section('main')
@include ('layouts.donationlayouts.donationnav')
<h1 class="page-header">Donation <small>{{ isset($donation) ? 'Edit' : 'Create' }}</small></h1>
@include('layouts.partials.messages')
@include('donations.form')
@stop |
@extends('auths.layout')
@section('content')
<div class='row' style="text-align:center;margin-top:15px;margin-bottom:15px">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Show Information</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" ... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Roles
<small>Nuevo</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<!-- Default b... |
<?php namespace RamonLeenders\BlockDesigner;
defined('C5_EXECUTE') or die("Access Denied.");
use Package;
use Config;
use Concrete\Core\File\Service\File;
use Zend\Code\Generator\ValueGenerator;
class BlockDesignerProcessor
{
protected static $packageHandle = 'block_designer';
protected static $errors = [];
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSubtaaksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('subtaaks', fun... |
<!doctype html>
<html lang="en">
<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.5.0/css/bootstrap.mi... |
<?php
include("DBconnect.php");
$sql = "SELECT * FROM `Team` WHERE 1";
$result = mysqli_query($conn, $sql);
if(mysqli_num_rows($result) > 0){
$data_array = array();
while($row = mysqli_fetch_array($result)){
$data_array[] = array(
'TeamID' => $row['TeamID'],
... |
<?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... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Dashboard</h1>
</div>
... |
<?php
namespace TaxiAdmin\EmpresaBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class EmpresaControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
... |
<?php
namespace App\Http\Middleware;
use Closure;
class CheckRole
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if($request->user()==nu... |
<?php
namespace Swarrot\SwarrotBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Alias;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class ProviderCompilerPass implements CompilerPassInterface
{
... |
<?php
namespace Dtc\GridBundle\Manager;
use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\Persistence\AbstractManagerRegistry;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Dtc\GridBundle\... |
<?php namespace IMSUR\Http\Controllers;
class WelcomeController extends Controller {
/*
|--------------------------------------------------------------------------
| Welcome Controller
|--------------------------------------------------------------------------
|
| This controller renders the "marketing page" fo... |
<?php
declare(strict_types=1);
namespace SimpleJsonRpc\Exception;
/**
* Class TransportException.
*/
class TransportException extends \RuntimeException implements TransportExceptionInterface
{
} |
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<?php
$this->load->model('admin');
?>
<title><?= $this->admin->is_role() == 'kasi' ?... |
@extends('common.layouts.main')
@section('title', trans('general.shop'))
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<!-- .row -->
<div class="row bg-title" style="background:url({{'/assets/'.config('project.layoutAssetsFolder')}}/plugins/images/headin... |
<?php
declare(strict_types=1);
namespace Rikta\Repository\Cache;
/**
* Very primitive Cache, but still faster than multiple times unserializing or computing something.
*
* @template K
* @template V
*
* @internal
*/
final class Cache
{
private array $data = [];
private bool $enabled;
public functi... |
<?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\Tests\Helper;
use Symfony\Component\Console\H... |
@extends('layouts.app')
@section('content')
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Ubah Data Kritk & Saran</h1>
</div>
</div>
</div>
</section>
<section class="content">
<div class="c... |
@extends('layouts.default')
@section('content')
<!-- Animated -->
<div class="animated fadeIn">
<!-- Widgets -->
<div class="row">
<div class="col-lg-6 col-md-6">
<div class="card">
<div class="card-body">
<div class="stat-widget-five">
... |
<?php
namespace common\models\relations;
use backend\models\Action;
use backend\models\ActionCategoryRelation;
trait ActionCategoryRelations
{
/**
* 私教管理 - 动作库 - 动作表、分类表、关联表三表关联
* @author jianbingqi <jianbingqi@itsports.club>
* @return \yii\db\ActiveQuery
*/
public function getActions()... |
<?php
include "conn_db.php";
if(isset($_POST['Submit'])){
$subject=$_POST['name'];
$email=$_POST['email'];
$body=$_POST['msg'];
require 'PHPMailerAutoload.php';
require 'cred.php';
$subject=mysqli_real_escape_string($con,$subject);
$Email=mysqli_real_escape_string($con,$email);
$Msg=mysqli_real_e... |
<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swag\MigrationMagento\Profile\Magento22\Converter;
use Swag\MigrationMagento\Profile\Magento\Converter\P... |
<?php
namespace CodeProject\Entities;
use Illuminate\Database\Eloquent\Model;
class Client extends Model
{
protected $fillable = [
'name',
'responsible',
'email',
'phone',
'address',
'obs'
];
} |
<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
//... |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) 2019 Amasty (https://www.amasty.com)
* @package Amasty_Rewards
*/
namespace Amasty\Rewards\Controller\Adminhtml\Reports;
use Magento\Backend\App\Action;
use Magento\Framework\App\ResponseInterface;
class Index extends Action
{
/**
* Execute act... |
<?php declare(strict_types=1);
/**
* @author Igor Nikolaev <igor.sv.n@gmail.com>
* @copyright Copyright (c) 2020, Darvin Studio
* @link https://www.darvin-studio.ru
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace backend\grid;
use Closure;
use yii\base\BaseObject;
use yii\helpers\Html;
/**
* Column is the base class of all [[GridView]] column classes.
*
* For more... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "feedback".
*
* @property int $id
* @property string|null $text
* @property string|null $mail
* @property int|null $status
* @property int|null $created_at
* @property int|null $user_id
*/
class Feedback extends \yii\db\ActiveRe... |
<div class="row">
<div class="col-sm-12">
<div class="padding-top-15 font-size-18 padding-bottom-10">Kontrak Kerja</div>
<div class="slim-scroll-tab">
<div class="text-xs-center padding-right-15 padding-bottom-15">
<div class="link-square-yellow">
<div class="font-red font-14"> Silahkan Upgrade Plan An... |
@extends('master')
@section('content')
<div class="panel panel-default">
<div class="panel-heading"><b><i class="fa fa-home"></i>| Quản lý phiếu đánh giá hội | Cập nhật</b></div>
<div class="panel-body">
<div class="bootstrap-table">
<div class="fixed-table... |
<?php
namespace App\Http\Controllers;
use Str;
use App\Models\TinTuc;
use App\Models\Comment;
use App\Models\LoaiTin;
use App\Models\TheLoai;
use Illuminate\Http\Request;
class TinTucController extends Controller
{
public function getDanhSach() {
$tintuc = TinTuc::all();
return view('admin.tintuc... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableStarArtistsSongGenres extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('s... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ProductDetail extends Model
{
//
public function prices(){
return $this->hasMany('App\ProductPrice', 'product_details_id');
}
} |
<?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... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
namespace App\Policies;
use App\Models\Playlist;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class PlaylistPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*
* @param \App\Models\User $user
* @return \Illuminate\Au... |
<?php
/**
* This file is part of Hydrogen package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace RDS\Hydrogen\Tests\Application;
use Doctrine\ORM\EntityRepository;
use Faker\Generator;
use RDS\H... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.