text
stringlengths
2
1.03M
<!doctype html> <html lang="fa"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Scripts --> <script src="{{...
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); namespace RectorPrefix20211211\Nette\Neon; /** @internal */ final class Parser { /** @var TokenStream */ private $tokens; public function parse...
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv=...
<?php $__env->startSection('title'); ?> <?php echo e($node->title); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('desc'); ?> <?php echo e($node->subtitle); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('style'); ?> <?php echo e(HTML::style('assets_back/css/plugins/dataTables/datatable...
<?php /** * Copyright 2021 Sage Intacct, 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 * * or in the "LICENSE" file accompanyin...
<?php /** * Created by IntelliJ IDEA. * User: Administrator * Date: 2017/7/20 * Time: 14:27 */ namespace app\modules\mch\controllers\princeorder\miaosha;//P_MOD use app\models\Express; use app\models\MsOrder; use app\models\MsWechatTplMsgSender; use app\models\Order; use app\models\OrderForm; use app\models\Ord...
<style> tr th,td{ text-align: center; } </style> <table class="table table-bordered"> <tr> <th>名称</th> <th>简介</th> <th>排序</th> <th>状态</th> <th>操作</th> </tr> <?php foreach ($rows as $row):?> <tr id="category<?php echo $row->id?>"> <t...
<?php /** * Copyright (c) 2019 TASoft Applications, Th. Abplanalp <info@tasoft.ch> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
<?php require('../../../../utility/utility.php'); $email=get_safe_value($con,$_POST['email']); $password=get_safe_value($con,$_POST['password']); $mobile=get_safe_value($con,$_POST['mobile']); $q="select * from sellers where email='$email' and status='1'"; $result=array(); if ($password == "") { $result...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAreasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('areas', function ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\User; use Mail; use Auth; class UsersController extends Controller { public function __construct() { $this->middleware('auth', [ 'except' => ['show', 'create', 'store', 'index', 'confirmEmail'] ]); ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2019-03-12 13:13:49 --> 404 Page Not Found: Verfikasi/15909a944537b7d123063e6f73caae0e ERROR - 2019-03-12 13:13:52 --> 404 Page Not Found: Verfikasi/15909a944537b7d123063e6f73caae0e ERROR - 2019-03-12 13:13:59 --> 404 Page Not Found: Verf...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Helpers\Common; use App\Http\Requests; use App\Http\Controllers\Controller; use Auth; use App\Models\User; use App\Models\UserDetails; use App\Models\Messages; use App\Models\Country; use App\Models...
<div class="field-group clearfix frm-first-row"> <label><?php _e( 'Size', 'formidable' ) ?></label> <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name('field_font_size') ) ?>" id="frm_field_font_size" value="<?php echo esc_attr( $style->post_content['field_font_size'] ) ?>" /> </div> <div class...
<?php /** * Atarashii MAL API. * * @author Ratan Dhawtal <ratandhawtal@hotmail.com> * @author Michael Johnson <youngmug@animeneko.net> * @copyright 2014-2015 Ratan Dhawtal and Michael Johnson * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Public License 2.0 */ namespace Atarashii\APIBundle\Control...
<?php /** * This file is part of the CertLetsEncryptBundle library. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cert\LetsEncryptBundle\DependencyInjection; use Symfony\Component\Config\Definition\Exception\InvalidConfig...
<?php /** * @see https://github.com/zendframework/zend-form for the canonical source repository * @copyright Copyright (c) 2018 Zend Technologies USA Inc. (http://www.zend.com) * @license https://github.com/zendframework/zend-form/blob/master/LICENSE.md New BSD License */ namespace Zend\Form\View; use Int...
<div class="control-sidebar-bg"></div> </div> <!-- ./wrapper --> <!-- jQuery 3 --> <script src="<?php echo base_url('assets/bower_components/jquery/dist/jquery.min.js'); ?>"></script> <!-- jQuery UI 1.11.4 --> <script src="<?php echo base_url('assets/bower_components/jquery-ui/jquery-ui.min.js'); ?>"></script> <!-- R...
<?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...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<!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="" /> <meta http-e...
<?php namespace app\controllers; use Yii; use app\models\Verkauf; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * VerkaufController implements the CRUD actions for Verkauf model. */ class VerkaufController extends Controller { /** ...
@php $url = $_SERVER["PHP_SELF"]; @endphp @php $path = explode("/", $url); @endphp @php $last = end($path); @endphp <header> <div class="modal fade search-hold" id="myModal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-body"> ...
<?php // ============================================================================= // _ANCHOR-CSS.PHP // ----------------------------------------------------------------------------- // Generated styling. // ============================================================================= // =========================...
<?php declare(strict_types=1); namespace App\Domain\Entity\User; use Leevel\Database\Ddd\Entity; use Leevel\Database\Ddd\GetterSetter; /** * 资源. */ class Resource extends Entity { use GetterSetter; /** * Database table. */ public const TABLE = 'resource'; /** * Primary key. *...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Promotion extends Model { protected $table = 'promotions'; protected $fillable = ['url', 'image', 'position']; public function menus() { return $this->belongsToMany('App\Menu', 'menu_promotion', 'promotion_id', 'menu_id'); ...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit449fe4584211958d82cbfec9a84027ab { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', '023d27dca8066ef29e6739335...
<?php namespace App\Http\Controllers\Blog; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Posts; /* ** 基础类用于各种公用方法 */ class BaseController extends Controller { protected static $mostpop; //最受欢迎列表 function __construct() { self::$mostpop = Posts::getMostPopular()->get(); ...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace JoliCode\Slack\Api\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\Denormaliz...
@extends('layouts.master') @section('main-content') <div class="row bg-title"> <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12"> <h4 class="page-title">Section</h4> </div> </div> <div class="col-sm-12"> <div cla...
<?php class service extends Eloquent{ protected $table='service'; protected $fillable=array('id','content','content_en'); }
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateConveniosCheckListTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('Convenios_CheckList', function(Blueprint $...
<?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 yii\helpers\Html; use xutl\inspinia\ActiveForm; /* @var $this yii\web\View */ /* @var $model yuncms\link\models\LinkSearch */ /* @var $form ActiveForm */ ?> <div class="link-search pull-right"> <?php $form = ActiveForm::begin([ 'layout' => 'inline', 'action' => ['index'], 'meth...
@extends('layouts.adm') @section('content.adm') <div class="container"> <h1 class="h2">Actualizar Usuario</h1> <div class="row justify-content-center"> <div class="col-md-8"> <div class="mostrar_ocultar"> {{-- Inicio de la condición --}} @if (Session::has('me...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
@extends('admin.layout.index') @section('content') <!-- Content Header (Page header) --> @if(session('message')) <div class="alert alert-success"> {{ session('message') }} </div> @endif <form method="Post" action="{{ url('admin/'.$url) }}"> <input type="hidden" name=...
<?php /** * @Created By ECMall PhpCacheServer * @Time:2015-01-26 01:49:43 */ if(filemtime(__FILE__) + 1800 < time())return false; return array ( 'id' => 2886, 'goods' => array ( 'goods_id' => '2886', 'store_id' => '131', 'type' => 'material', 'goods_name' => '娃哈哈纯净水596ml', 'description...
<?php /* * This file is part of the Ivory Http Adapter package. * * (c) Eric GELOEN <geloen.eric@gmail.com> * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. */ namespace Ivory\HttpAdapter\Event\Subscriber; use Ivory\HttpAdapter\Even...
<?php /** * Created by PhpStorm. * User: xavier * Date: 2018/8/15 * Time: 下午2:14 * 秒 分 时 日 月 星期几 * crontab 格式 * * * * * * => "类" * *中间一个空格 * 系统定时任务需要在swoole.php中开启 * 自定义定时器不受其影响 */ return [ //'*/5 * * * * *'=>'\\app\\lib\\Timer', ];
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Order; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; interface OrderImportLineItemStateAction extends OrderUpdateAction { public const FIEL...
<?php return [ 'common' => [ 'no-result-found' => 'Não conseguimos encontrar nenhum registro.', 'country' => 'Pais', 'state' => 'Estado/Província', 'true' => 'Verdadeiro', 'false' => 'Falso' ], 'layouts' => [ 'my-account' => 'Minha Conta', 'logout' => ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ExternalService extends Model { public function parent_service() { return $this->hasOne('App\ExternalService'); } public function references() { return $this->belongsToMany('App\Reference'); } public func...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Type extends Model { protected $guarded = []; public function topics() { return $this->hasMany(Topic::class); } public function details() { return...
<?php namespace App\Http\Controllers; use Auth; use App\User; use App\Publicacion; use App\Mascota; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Session; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use App\fotoMascota; use App\colorMascota; use App\Raza; class userCont...
<?php $min_area = isset ( $_GET['min-area'] ) ? esc_attr($_GET['min-area']) : ''; $area_plac = houzez_option('srh_min_area', 'Min. Area'); $area_unit = houzez_area_unit_label(); if(!empty($area_unit)) { $area_unit = '('.$area_unit.')'; } ?> <div class="form-group"> <input name="min-area" type="text" class="form-contr...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Search\Test\Unit\Adapter\Mysql; use Magento\Framework\DB\Select; use \Magento\Framework\Search\Adapter\Mysql\Mapper; use Magento\Framework\Search\Adapter\Mysql\Query\Builder\Ma...
@extends('pages.admin.master') @section('title','Claims - Transaction | i-Insure') @section('trans','active') @section('transClaims','active') @section('transClaimsOnline','active') @section('body') <section class="content"> <h2 style="text-align: center"> Welcome to <b style="color: orange;"> i-Insure </...
<div class="modal fade mt-5" tabindex="-1" role="dialog" data-backdrop="static" data-ajax-modal id="modalMessageUpdate"> <div class="modal-dialog modal-lg " role="document"> <div class="modal-content "> <div class="card-header text-dark">Actualizar Message <button type="button" ...
<?php $__env->startSection('content'); ?> <div class="card "> <div class="card-header card-header-rose card-header-icon"> <div class="card-icon"> <i class="material-icons">desktop_windows</i> </div> <h4 class="card-title"> <?php echo e($la...
@extends('layout') @section('content') <section class="contact spad" style="padding-top: 50px;"> <div class="container"> <h2 style="text-align: center; padding-bottom: 35px;">Đăng nhập và Đăng kí</h2> <div class="row"> <div class="col-md-5"> <form role="form" method="post" action="register...
<?php /** * ProjectMonitorGraphFilter * * @category Class * @package Rancher * @author Gerb Sterrenburg @ Bumbal * @link https://github.com/freightlive/rancher-php-client */ namespace Rancher\Filter; use Rancher\AbstractFilter; class ProjectMonitorGraphFilter extends AbstractFilter { /** * Ge...
<?php namespace app\commands; use app\models\User; use Yii; use yii\helpers\Console; /** * Служебные действия приложения. * @package console\controllers */ class ServiceController extends \yii\console\Controller { /** * Генерация админа по умолчанию. * @param $password * @return int * @th...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AuthController extends Controller { /** * Create a new AuthController instance. * * @return void */ public function __construct() { $this->middleware('auth:api', ['except' => ['login']]); } /** ...
@extends('layouts.frontend.index') @section('title', 'Gallery') @section('content') <div class="art-layout-wrapper"> <div class="art-content-layout"> <div class="art-content-layout-row"> <div class="art-layout-cell art-content"> <article class="art-post art-...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLeadsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('leads', function ...
<?php namespace Cornford\Googlmapper\Exceptions; use Exception; class MapperArgumentException extends Exception { }
<?php namespace Mayijuntuan\Alipay\Requests; /** * ALIPAY API: alipay.marketing.tool.fengdie.activity.create request * * @author auto create * @since 1.0, 2019-05-22 14:30:01 */ class AlipayMarketingToolFengdieActivityCreateRequest { /** * 创建凤蝶活动 **/ private $bizContent; private $apiParas = array(); p...
<?php declare(strict_types=1); namespace Hyva\Admin\Model; use Hyva\Admin\Model\GridSourceType\RepositorySourceType\SearchCriteriaEventContainer; use Magento\Framework\Api\SearchCriteriaInterface; use Magento\Framework\Event\ManagerInterface as EventManagerInterface; use function array_reduce as reduce; class GridS...
<?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 RectorPrefix20220308\Symfony\Component\Config; /** * A ConfigCacheFacto...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\SearchInterest */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Interests'; ?> <div class="interest-index"> <h1><?= Html::encode($this->title) ?></h1> <?php // echo $this->...
<?php session_start(); if (!isset($_SESSION['id'])) { $_SESSION['msg'] = "You must log in first"; header('location: http://localhost/rentaldb/index.php'); } ?> <!DOCTYPE html> <html> <head> <style> @import url('https://fonts.googleapis.com/css?family=Kanit&display=swap'); </style> <meta c...
@extends('layouts.app') @section('content') <div class="uk-section"> <div class="uk-container uk-container-expand"> <div class="uk-card uk-card-default uk-width-1-2@m uk-align-center"> <div class="uk-card-header"> <h3 class="uk-card-title">Edit a Profile</h3...
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\file\version$fvtags@[annot]][1]/ */ /* Type: array */ /* Expiration: 2018-10-01T14:42:14+00:00 */ $loaded = true; $expiration = 1538404934; $data = array(); /* Child Type: array */ $data['return'] = unserialize(base64_decode('YToxOntpOjA7TzoyNz...
<?php namespace App\Filters; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Filters\FilterInterface; class CustomerAuth implements FilterInterface { public function before(RequestInterface $request, $arguments = null) { if (!session()->has('user_logged'...
<?php /* @WebProfiler/Icon/redirect.svg */ class __TwigTemplate_abba73b7c323b4f6786869335cc7a0dcffbbb80fa8185d116d4693b467788f71 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<header class="mb-4"> <nav class="navbar navbar-expand-sm navbar-dark bg-dark"> {{-- トップページへのリンク --}} <a class="navbar-brand" href="/">Microposts</a> <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#nav-bar"> <span class="navbar-toggler-icon"></s...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class SampleProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { // } /** * Register the application services. * ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class ImageModel extends Model { protected $table = 'image'; function scopeAddImage($query, $data) { return DB::table('image') ->insert($data); } function scopeGetImage($query, $idstory) ...
<!-- videos/show.blade.php --> @extends('master') <?php $image_src = file_exists(public_path() . $record->video->poster)?$record->video->poster:'/img/null.jpg' ?> <?php $description = $record->description ?> @section('content') <input type="hidden" id="imdbShow" value="{{ $record->video->imdb }}"> <div class="...
<?php /** * User: Andy * Date: 05/12/14 * Time: 14:30 */ namespace AVCMS\Bundles\Users\Services; use AV\Service\ServicesInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpKernel\KernelEvents; class SecurityServices...
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; use App\Models\User; use Illuminate\Testing\Fluent\AssertableJson; class LoginTest extends TestCase { use RefreshDatabase, WithFaker; public function test_sends_...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Auth extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('form_validation'); } public function index() { $this->form_validation->set_rules('email', 'Em...
<?php namespace crudle\app\main\controllers\action; use crudle\app\helpers\SendNotification; use yii\base\Action; class ResendNotifications extends Action { public function run() { SendNotification::processQueue(); } }
@extends('layouts.super') @section('content') <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" ></script> <div class="container-fluid"> <div class="row"> <!-- left column --> <div class="col-md-10" style="margin-left: 7%; margin-top:2%"> <!-- general form elemen...
<?php /* * ********************************************************* * [cmlphp] (C)2012 - 3000 http://cmlphp.com * @Author linhecheng<linhechengbush@live.com> * @Date: 13-12-26 上午11:23 * @version @see \Cml\Cml::VERSION * cmlphp框架 php多线程工作类 * *********************************************************** */ namespa...
<?php use yii\db\Migration; /** * Handles the creation of table `followup_type`. */ class m170405_122228_create_followup_type_table extends Migration { /** * @inheritdoc */ public function up() { $this->createTable('followup_type', [ 'id' => $th...
<?php namespace App\Http\Controllers; use Carbon\Carbon; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\File; class UsersController extends Controller { ...
<?php /** * @see https://github.com/zendframework/zend-expressive-authentication-oauth2 for the canonical source repository * @copyright Copyright (c) 2017-2018 Zend Technologies USA Inc. (https://www.zend.com) * @license https://github.com/zendframework/zend-expressive-authentication-oauth2/blob/master/LICE...
@extends('layouts.vertical') @section('titulo', 'O meu Perfil') @section('content') <div class="msg"> <!-- mensagens de alerta --> <?php if (isset($_GET['sucesso'])) { ?> <div style="width: 17%; padding: 0.5rem;background-color: green;color:white; margin-top:0px; margin-bottom:20px;border-radius:0.5rem"> ...
<?php namespace App\Helpers; class SecurityHashHelper { public static function generateRandomString(int $length = 32): string { $bytes = random_bytes($length); return substr(base64_encode($bytes), 0, $length); } public static function generateRandomStringWithoutSpecialChars(int $leng...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class MkRvmQueue extends Model { use HasFactory; /** * The table associated with the model. * * @var string */ protected $table = 'mk_rvm_queue'; protected $...
<?php namespace Illuminate\Foundation\Console; use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Input\InputOption; class PolicyMakeCommand extends GeneratorCommand { /** * The console command name. * * @var string */ protected $name = 'mak...
<?php /* @var $this yii\web\View */ /* @var $model \store\forms\manage\site\NotificationForm */ /* @var $notification \store\entities\site\Notification */ $this->title = 'Редактироание объявления: ' . $notification->name; $this->params['breadcrumbs'][] = ['label' => 'Объявления', 'url' => ['index']]; $this->params['b...
<div class="modal fade" id="portlet-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button> ...
<?php if (!defined('BASEPATH')) die('No direct script access allowed'); // include config file require_once dirname(dirname(__FILE__)).'/updater/config.php'; /** * Updater Module Extension File * * @package DevDemon_Updater * @author DevDemon <http://www.devdemon.com> - Lead Developer @ Parscale ...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class StatisticSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('statistics')->delete(); $users = array( array( ...
<?php // GENERATED CODE -- DO NOT EDIT! // Original file comments: // Copyright 2021 Google LLC // // 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/L...
<?php return unserialize('a:1:{i:0;O:54:"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route":9:{s:10:"' . "\0" . '*' . "\0" . 'service";N;s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'path";s:22:"/year/{year}.{_format}";s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Rou...
<?php namespace common\models\rbac; use Yii; use yii\base\Model; use common\models\rbac\AuthItem; use common\models\rbac\AuthAssignment; class Rbac extends Model { /** * Initializes all roles required by the system. * @param yii\rbac\Role $auth * @return yii\rbac\Role | superuser */ public s...
<?php return [ 'date' => 'Date', 'number' => 'Number', 'patient' => 'Patient', 'dob' => 'Date of Birth', 'age' => 'Age', 'address' => 'Address', 'phone' => 'Phone', 'email' => 'Email' ];
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class CurrencyController extends Controller { public function __construct() { $this->middleware('auth'); } public function AddCurrencyPageShow() { $ourCurrencys = DB::table('curr...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\Admin\JobController; // use Auth; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes f...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCompaniesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('companies', f...
<?php namespace CfdiUtilsTests\Elements\CartaPorte10; use CfdiUtils\Elements\CartaPorte10\CantidadTransporta; use PHPUnit\Framework\TestCase; /** * @covers \CfdiUtils\Elements\CartaPorte10\CantidadTransporta */ final class CantidadTransportaTest extends TestCase { /** @var CantidadTransporta */ public $ele...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
<!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>OLE</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=...
<?php namespace RebelCode\Wpra\Core\Container; use DI\NotFoundException; use Interop\Container\ContainerInterface; use RebelCode\Wpra\Core\Modules\ModuleInterface; /** * A container implementation specifically tailored for modules. * * @since 4.13 */ class ModuleContainer implements ContainerInterface { /** ...