text stringlengths 2 1.03M |
|---|
<?php
use yii\helpers\Html;
use yii\grid\GridView;
$this->title = 'Тренировки';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="training-index">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Создать', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridVi... |
try{_gnayTrack.creElm({src:"http://fg.jiathis.com/cm.js?p=3752&k=B699A0CCE5009DE9&g=f2f9b89cc1ce44668c04bc34d40d0ca3&lp=http%3A%2F%2Fwww.northnews.cn%2F2016%2F0625%2F2210283.shtml&ti=%E7%8E%8B%E5%90%9B%E4%B8%BB%E6%8C%81%E5%8F%AC%E5%BC%80%E5%86%85%E8%92%99%E5%8F%A4%E8%87%AA%E6%B2%BB%E5%8C%BA%E5%85%9A%E5%A7%94%E4%B8%93%E... |
<?php
namespace common\models;
class UsersAccessTokens extends \common\models\base\UsersAccessTokensBase
{
public function beforeSave($insert)
{
if (parent::beforeSave($insert)) {
if ($this->isNewRecord) {
$this->created_at = date("Y-m-d H:i:s");
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<!DOCTYPE html>
<html lang="en">
<!-- begin::Head -->
<head>
<base href="">
<meta charset="utf-8" />
<title>Backoffice | <?= $title; ?></title>
<meta name="description" content="Updates and statistics">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--begin::Font... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Order;
use App\User;
use Illuminate\Support\Facades\Auth;
class OrderController extends Controller
{
public function __construct($value='')
{
$this->middleware('role:admin')->except('store');
$this->middleware('role:cu... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
return array(
'number.decimals_separator' => ',',
'number.thousands_separator' => '.',
'None' => 'Geen',
'Edit' => 'Bewerken',
'Remove' => 'Verwijderen',
'Yes' => 'Ja',
'No' => 'Nee',
'cancel' => 'annuleren',
'or' => 'of',
'Yellow' => 'Geel',
'Blue' => 'Blauw',
'Gr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProjectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('projects', fun... |
<?php
namespace Register;
class Register
{
protected static $objects;
static function set($alias,$object)
{
self::$objects[$alias] = $object;
}
static function get($alias)
{
return self::$objects[$alias];
}
static function _unset($alias)
{
unset(self::$obj... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Interface Module Controller Class
*
* @package Interface
* @category Controller
* @author Yun
* @link https://codeigniter.com/user_guide/general/controllers.html
*/
class Home extends MY_Controller {
/**
* Show index page
... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Sergio Sepúlveda">
<title>Majime · ... |
<?php
class m281218_131817_add_field_img_attribute_option extends yupe\components\DbMigration
{
public function safeUp()
{
$this->addColumn('{{store_attribute_option}}', 'image', "string");
}
public function safeDown()
{
$this->dropColumn('{{store_attribute_option}}', 'image');
... |
<?php
namespace App\Http\Controllers\Admin;
use Backpack\CRUD\app\Http\Controllers\CrudController;
use App\Http\Requests\ContactRequest as StoreRequest;
// VALIDATION: change the requests to match your own file names if you need form validation
use App\Http\Requests\ContactRequest as UpdateRequest;
class ContactCont... |
<?php
declare(strict_types=1);
use Widmogrod\Functional as f;
use Widmogrod\Monad\Maybe\Just;
use Widmogrod\Monad\Maybe\Maybe;
use Widmogrod\Primitive\Stringg;
use const Widmogrod\Monad\Maybe\maybeNull;
use function Widmogrod\Functional\map;
use function Widmogrod\Monad\Maybe\just;
use function Widmogrod\Monad\Maybe\... |
<?php
use DTS\eBaySDK\Trading\Types\CharityIDType;
class CharityIDTypeTest extends \PHPUnit_Framework_TestCase
{
private $obj;
protected function setUp()
{
$this->obj = new CharityIDType();
}
public function testCanBeCreated()
{
$this->assertInstanceOf('\DTS\eBaySDK\Trading\T... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class PrioridadeRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get... |
<?php
namespace Satelite\Http\Requests;
use Satelite\Http\Requests\Request;
class TesteUpdateRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get the ... |
<?php
namespace App\Http\Middleware;
use Closure;
class VerfiyIsAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(!auth()->user()-... |
<?php
/**
* BulkDomainCancelationDeleteRequest
*
* PHP version 5
*
* @category Class
* @package Domainrobot
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Domainrobot JSON API
*
* Domainrobot JSON API for managing: Domains, SSL Certificates,... |
<?php
namespace Getresponse\Sdk\Operation\Model;
use Getresponse\Sdk\Client\Operation\BaseModel;
class NewProduct extends BaseModel
{
/** @var string */
private $name;
/** @var string */
private $type = self::FIELD_NOT_SET;
/** @var string */
private $url = self::FIELD_NOT_SET;
/** @var... |
@extends('layouts.app')
@section('content')
@include('partials.navbar')
@include('partials.sidebarOwner')
<div id="layoutSidenav_content">
<style>
strong, ::placeholder {
font-family: 'Poppins', sans-serif;
}
</style>
<main>
<div cla... |
<?php
require_once "../connect/dbconn.php";
include ('session.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDepartmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('departments... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSubstageTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tblsubstage', fu... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class AuthAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $next)
... |
<?php
/***************************************/
//
//
// PHP Live! Support
//
// https://www.phplivesupport.com
//
/***************************************/
include_once( "../web/config.php" ) ;
include_once( "$CONF[DOCUMENT_ROOT]/API/Util_Format.php" ) ;
$action = Util_Format_Sanatize( Util_Format_GetVar( ... |
<?php
session_start();
if(isset($_SESSION['login'])){
$idUser = $_SESSION['login'];
require_once('includes/connexionbd.php');
require_once('includes/function_role.php');
if(!has_Droit($idUser, "Enregistrer deces")){
header('Location:index.php');
}else{
... |
<h2><?=$title?></h2>
<div><button type="button" class="btn btn-primary btn-sm" data-title="Add" data-toggle="modal" data-target="#additemclass" onclick="location.href='<?php echo base_url(); ?>items/class_create';" >Add Item Class</button></div>
<br>
<div>
<table class="table table-hover">
<thead>
<tr>
... |
</div>
</div>
<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="page-footer">
<div class="page-footer-inner">
© TimeSheet 2020
</div>
<div class="page-footer-tools">
<span class="go-top">
<i class="fa fa-angle-up"></i>
</span>
</di... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2019-04-15 15:26:14 --> Config Class Initialized
INFO - 2019-04-15 15:26:14 --> Hooks Class Initialized
DEBUG - 2019-04-15 15:26:14 --> UTF-8 Support Enabled
INFO - 2019-04-15 15:26:14 --> Utf8 Class Initialized
INFO - 2019-04-15 15:26:14 ... |
<?php
namespace P2A\YourMembership\Exceptions;
/**
* Generic YourMembership Exception
*
* Used typically for errors dealing with XML Parsing Issues
*
*/
class YourMembershipException extends \Exception
{
} |
<?php
namespace App;
use App\Traits\MultiTenantModelTrait;
use Illuminate\Database\Eloquent\Model;
use \DateTimeInterface;
class Religion extends Model
{
use MultiTenantModelTrait;
public $table = 'religions';
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
... |
<?php
namespace EntityBundle\Entity;
/**
* BlogImagen
*/
class BlogImagen
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $url;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
... |
<?php
/**
* GetCharactersCharacterIdPlanetsPlanetIdHeadTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* EVE Swagger Interface
*
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0... |
<?php
use App\Http\Controllers\dataController;
use App\Http\Controllers\loginController;
use App\Http\Controllers\register;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|---------------------------------------------------------------... |
<?php
namespace frontend\assets;
use yii\web\AssetBundle;
class StaticPageAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/static.css'
];
} |
<?php echo $header; ?>
<div class="containerPage">
<div class="panel panel-default" id="panelClients">
<div class="panel-heading"><?php echo $this->lang->line('title_clients'); ?></div>
<div class="panel-body">
<table id="tableClients" class="table table-stri... |
<?php
/*
* By adding type hints and enabling strict type checking, code can become
* easier to read, self-documenting and reduce the number of potential bugs.
* By default, type declarations are non-strict, which means they will attempt
* to change the original type to match the type specified by the
* type-decla... |
<?php
/*
* This file is part of the Chameleon System (https://www.chameleonsystem.com).
*
* (c) ESONO AG (https://www.esono.de)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ChameleonSystem\CoreBundle\SanityCheck;
us... |
<table class="table table-responsive" id="statusTransaksiInvestasis-table">
<thead>
<th>Nama</th>
<th colspan="3">Action</th>
</thead>
<tbody>
@foreach($statusTransaksiInvestasis as $statusTransaksiInvestasi)
<tr>
<td>{!! $statusTransaksiInvestasi->nama !!}</td>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::table('posts', function (Blueprint $table) {
$table->boolean('send_automated_tweet')->def... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Vod\V20170321\Models\DescribeVodDomainLogResponse\domainLogDetails;
use AlibabaCloud\SDK\Vod\V20170321\Models\DescribeVodDomainLogResponse\domainLogDetails\domainLogDetail\logInfos;
use AlibabaCloud\SDK\Vod\V20170321\Models\Descr... |
<?php
namespace oeleco\Larasuite\Facades;
use Illuminate\Support\Facades\Facade;
use oeleco\Larasuite\Services\OrgUnitService;
class GSuiteOrgUnitService extends Facade
{
protected static function getFacadeAccessor()
{
return OrgUnitService::class;
}
} |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace frontend\models;
use yii\data\ActiveDataProvider;
class post_spr_globam extends Spr_globam
{
public function rules()
{
return [
[ [ '_id', 'id', 'name', 'tx' ], 'safe' ],
];
}
/**
* Creates data provider instance with search query applied
*
... |
@extends('layouts.admin')
@section('content')
@can('employee_create')
<div style="margin-bottom: 10px;" class="row">
<div class="col-lg-12">
<a class="btn btn-success" href="{{ route('hr.admin.employees.create') }}">
{{ trans('global.add') }} {{ trans('cruds.employee.title_singul... |
<?php
//General Config File:
include_once('../assets/php/config.php');
include_once('../assets/php/includes/film_dao.php');
include_once('../assets/php/includes/film.php');
include_once('../assets/php/form.php');
class formDeleteFilm extends Form{
//Constants:
const HTML5_EMAIL_REGEXP = '^[a-zA-Z0-9.!#$%&\'*+\/=?^_`... |
<?php
namespace backend\modules\esiap\models;
use Yii;
/**
* This is the model class for table "sp_study_mode".
*
* @property int $id
* @property string $mode_name
* @property string $mode_name_bi
*/
class StudyMode extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function ta... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Con... |
<ul class="livestats">
<li>
<span class="title">Last update</span>
<span><strong>{!! $last_update !!}</strong></span>
</li>
</ul> |
<form method = "POST" action = "manage_product_c/edit" enctype = "multipart/form-data">
<div class = "modal-body">
<div class = "form-group">
<input type = "hidden" name = "eproduct-id-input" value = "<?php echo $product->content_product_id; ?>" required = "required" class = "form-control" />
</div>
<div cla... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* App\Tren
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Tren newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Tren newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Tren query()
* @... |
<?php
return array(
// menu
'admin:develop_tools' => 'Tools',
'admin:develop_tools:sandbox' => 'Theme Sandbox',
'admin:develop_tools:inspect' => 'Inspecteer',
'admin:inspect' => 'Inspecteer',
'admin:develop_tools:unit_tests' => 'Unittesten',
'admin:developers' => 'Ontwikkelaars',
'admin:developers:settings' => ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\KoreanUserData;
use App\Models\EnglishUserData;
class StudyPlanController extends Controller
{
public function showKoreaStudyPlan(Request $req){
return view('studyplan.korea.index',[
... |
<?php
namespace App\Policies;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class UserPolicy
{
use HandlesAuthorization;
/**
* Create a new policy instance.
*
* @return void
*/
public function __construct()
{
//
}
public function before($u... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Iovcc\V20180501\Models;
use AlibabaCloud\Tea\Model;
class ListVersionDeviceGroupsRequest extends Model
{
/**
* @var string
*/
public $projectId;
protected $_name = [
'projectId' => 'ProjectId',
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Blog\Article;
use Auth;
use Illuminate\Http\Request;
use Social... |
<?php
namespace Rhubarb;
/**
* @license http://www.apache.org/licenses/LICENSE-2.0
* Copyright [2012] [Robert Allen]
*
* 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.... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
@if (Session::has('success'))
<div class="alert alert-success" role="alert">
<strong>Success:</strong> {{ Session::get('success') }}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger" role="alert">
<strong>Errors:</strong>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li... |
<?php
/**
* ImageOptimize plugin for Craft CMS 3.x
*
* Automatically optimize images after they've been transformed
*
* @link https://nystudio107.com
* @copyright Copyright (c) 2017 nystudio107
*/
namespace nystudio107\imageoptimize\jobs;
use nystudio107\imageoptimize\fields\OptimizedImages as OptimizedIm... |
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Twig\Extension {
use Twig\FileExtensionEscapingStrategy;
use Twig\NodeVisitor\EscaperNodeVisitor;
use Twig\T... |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Combines assets and merges them to single files in production
*
* @package Despark/asset-merger
* @author Ivan Kerin
* @copyright (c) 2011-2012 Despark Ltd.
* @license http://creativecommons.org/licenses/by-sa/3.0/legalcode
*/
abstract class ... |
<?php
/**
*
* PHP version 5
*
* @category Dust-iCalendar
* @package Dust\Calendar\iCalendar\Node\DateTime
* @subpackage Start
* @author Dustin Breuer <dustin.breuer@googlemail.com>
* @license MIT License
* @link http://thedust.in
*/
namespace Dust\Calendar\iCalendar\Node\DateTime;
use Dust... |
<?php
declare(strict_types=1);
namespace Riot\DTO;
use Riot\Collection\PlayerDTOCollection;
final class LeaderboardDTO implements DTOInterface
{
/** @var PlayerDTOCollection<PlayerDTO> */
private PlayerDTOCollection $players;
/**
* @param PlayerDTOCollection<PlayerDTO> $players
*/
public ... |
<?php
namespace App\Http\Requests\App\Auth;
use Illuminate\Auth\AuthManager;
use Illuminate\Foundation\Http\FormRequest;
class ResetEmailRequest extends FormRequest
{
public function __construct(AuthManager $authManager)
{
$this->authManager = $authManager;
}
/**
* Determine if the user... |
<?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
defined('BASEPATH') or exit('No direct script access allowed');
class Component extends CI_Controller
{
public function adminComponent()
{
if ($this->accesscontrol->checkAuth()['correct']) {
$this->load->view('admin/header');
$this->load->view('admin/adminCompone... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Personas</div>
<div class="panel-body">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class User_model extends CI_Model {
// ADMIN //
public function admin_userpass($username,$password)
{
$pass = md5($password);
$this->db->where('username',$username);
$this->db->where('password', $pass);
$result = $this->db->get('admin... |
<?php
/**
* Class sspmod_perun_Auth_Process_RetainIdPEntityID
*
* Filter extract entityID of source remote (source/original) IdP to attribute defined by 'attrName' config property.
* It supposed to be used in proxy SP context. Means it should be defined in authsources or idp-remote files.
* But it can be placed a... |
@extends('base')
@section('main')
<div class="row">
<div class="col-sm-8 offset-sm-2">
<h1 class="display-3">Add a contact</h1>
<div>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@fo... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Product;
class ProductController extends Controller
{
public function create()
{
return view("admin.addproduct");
}
public function store(Request $request)
{
if ($request->hasFile("image")) {
... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type as Type;
use AppBundle\Entity\Dish;
class FrontTableOrderType extends AbstractType
{
/**
... |
<?php
/**
* UMI.Framework (http://umi-framework.ru/)
* @link http://github.com/Umisoft/framework for the canonical source repository
* @copyright Copyright (c) 2007-2013 Umisoft ltd. (http://umisoft.ru/)
* @license http://umi-framework.ru/license/bsd-3 BSD-3 License
*/
namespace umi\config\entity\value;
u... |
<?php
namespace app\controllers;
use Yii;
use app\models\Peso;
use app\models\PesoSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* PesoController implements the CRUD actions for Peso model.
*/
class PesoController extends Controller
{
/**
* @inheritdoc
... |
<?php
declare(strict_types=1);
namespace Symplify\MonorepoBuilder\Propagate\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symplify\Astral\Exception\ShouldNotHappenException;
use Symplify\ComposerJsonManipulator\FileSystem\JsonFileManager;
use S... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBidsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bids', function (B... |
<?php
/* TwigBundle:Exception:error.html.twig */
class __TwigTemplate_43ca8692b8d1ea12ae685a853e98dfea214a062b293ade284350ef7550975314 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
/**
* This file is part of the PageCache package.
*
* @author Denis Terekhov <i.am@spotman.ru>
* @author Muhammed Mamedov <mm@turkmenweb.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PageCache\Tests\Integra... |
<?php
namespace SilverStripe\i18n\Tests;
use InvalidArgumentException;
use SilverStripe\Control\Director;
use SilverStripe\Core\Convert;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\SapphireTest;
use SilverStripe\i18n\i18n;
use SilverStripe\i18n\Messages\MessageProvider;
use SilverStripe\i18n\Message... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator c... |
@extends('btybug::layouts.mTabs',['index'=>'page_edit'])
@section('tab')
Extra
@stop
@section('CSS')
{!! HTML::style('public/css/create_pages.css') !!}
{!! HTML::style("public/css/select2/select2.min.css") !!}
<style>
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4,... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AdminLogin extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the va... |
@extends('layouts.app')
@section('content')
<div class="container">
<h1>Editace uživatele</h1>
<form class="form-horizontal" role="form" method="POST" action="{{ url('my/edit') }}">
{{ csrf_field() }}
<h2>Osobní údaje</h2>
<div class="form-group{{ $errors->has('firstname') ? ' has-dange... |
<!DOCTYPE html>
<html lang="en">
<head>
<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="">
<link href="img/logo/l... |
<?php include "../includes/cabecalho.php";
include "../includes/conexao.php";
if (!isset($_SESSION['nomeFuncionario'])){
header('Location: funcionario-login.php?');
}
?>
<div class="container">
<h2 class="mt-5">Efetuar reserva / emprestimo</h2>
<div class="row py-5">
<form name="efetuar-reserva-... |
<div class="card">
<h5 class="card-header">Featured</h5>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> |
<?php
namespace BlockCypher\Test\Functional\Api;
use BlockCypher\Api\Blockchain;
use BlockCypher\Test\Functional\Setup;
/**
* Class BlockchainFunctionalTest
*
* @package BlockCypher\Test\Api
*/
class BlockchainFunctionalTest extends \PHPUnit\Framework\TestCase
{
public $operation;
public $response;
... |
<?php
namespace App\Console\Commands;
use App\Models\Attendee;
use App\Models\Course;
use Illuminate\Console\Command;
use Illuminate\Http\Request;
class LinkAttendeeCourse extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'fit... |
<?php
namespace App\Services\Contracts;
interface AccountServiceContract
{
public function changePassword (string $uuidAccount, int $idAccount, array $inputs);
public function update ($uuidAccount, $values);
} |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Forms\Element\Text;
u... |
@extends('app')
@section('title')
Agregar Nuevo Servicio
@stop
@section('content')
<h2 class="page-header">Servicios</h2>
{{-- Mostrar mensaje exitoso --}}
@if(Session::has('mensaje'))
@include('mensajes.notify', ['mensaje' => Session::get('mensaje'), 'tipo' => 'success'])
@endif
<div class="tabbable-pan... |
<?php
add_action( 'vc_load_default_templates_action','my_custom_template_for_vc' );
add_filter( 'vc_load_default_templates', 'my_custom_template_modify_array' );
function my_custom_template_modify_array( $data ) {
return array(); // This will remove all default templates. Basically you should use native PHP functi... |
<?php
/*
* This file is part of Twig.
*
* (c) 2010 Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Imports macros.
*
* <pre>
* {% from 'forms.html' import forms %}
* </pre>
*/
class Twig_TokenParser... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card-header">{{ __('Dashboard') }} ||
Ticket Assign : <span style="color:red">{{$tickets->count()}}</span>
</... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Car;
use Illuminate\Database\Eloquent\ModelNotFoundException;//find or fail error exception class.
use App\Http\Requests\CreateValidationRequest;
class CarsController extends Controller
{
/**
* Display a listing of the resourc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.