text
stringlengths
2
1.03M
<?php namespace WLDH\Voyager\Events; use Illuminate\Queue\SerializesModels; class MediaFileAdded { use SerializesModels; public $path; public function __construct($path) { $this->path = $path; } }
@extends('layouts.dashboard') @section('titulo') Editar Registros @stop @section('sidebar') @include('configuracion.ruta.cuerpo.aside') @stop @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <h2 class="text-center"> Editar de Orden</h2> </div> </div> <div class=...
<!-- Footer Section Begin --> <footer class="footer spad "> <div class="container "> <div class="row "> <div class="col-lg-3 col-md-6 col-sm-6 "> <div class="footer__about "> <div class="footer__about__logo "> ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\ServiceCategory; use App\Tables\Builders\Admin\ServiceCategoryTable; use LaravelEnso\Tables\app\Traits\Datatable; use Illuminate\Support\Facades\Log; use App\Forms\Builders\Admin\PostForm; use App\Models\Post; use App\Http\...
<?php /** * php-gedcom. * * php-gedcom is a library for parsing, manipulating, importing and exporting * GEDCOM 5.5 files in PHP 5.3+. * * @author Kristopher Wilson <kristopherwilson@gmail.com> * @copyright Copyright (c) 2010-2013, Kristopher Wilson * @license MIT * * @link h...
<?php class reset extends CI_Controller { function __construct() { parent::__construct(); //$this->load->library('form_validation'); $this->load->library('session'); if (!$this->fuel->config('admin_enabled')) show_404(); $this->load->vars(array( 'js' => '', 'css' => css($this->fu...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStudentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('students', fun...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Database\Schema\Builder; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { if(config('app.env') === ...
<style type="text/css"> .td { width: 160px; } </style> <!-- <div class="page-title-area"> <div class="row align-items-center"> <div class="col-sm-6"> <div class="breadcrumbs-area clearfix" style="padding-top: 15px;padding-bottom: 15px"> ...
@extends('layouts.bootstrap') @section('title', 'Login') @push('styles') <link rel="stylesheet" src="{{ asset('css/app.css') }}" /> @endpush @section('content') <main class="d-flex align-items-center justify-content-center h-100 min-vh-100"> <form class="form-signin" target="/login"> <input type="hidden" name="...
<?php namespace kkr\laravelRequestAnalyze; use Illuminate\Log\Writer; use Monolog\Logger; class Log { /** * Set the logger name * @var string */ protected $loggerName; /** * File Name * @var string */ protected $file; /** * @var string */ protected $p...
<?php namespace Consolidation\OutputFormatters\Formatters; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Helper\TableStyle; use Consolidation\OutputFormatters\Validate\ValidDataTypesInterface; use Consolidation\OutputFormatters\Options\...
<?php declare(strict_types=1); /** * This file is part of DDD sample project. * */ namespace packages\Techno\Sns\Application\User\GetInfo; use Exception; use packages\Techno\Sns\Domain\User\UserName; use packages\Techno\Sns\Domain\User\UserRepositoryInterface; use packages\Techno\Sns\UseCase\User\GetInfo\UserDat...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>hello cac ban</title> <link rel="stylesheet" href=""> </head> <body> {{ 'toidicode.com'}} hello cac ban! </body> </html>
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Applications/MAMP/htdocs/grav-demo/user/themes/my-demo-theme/blueprints/fields/pages.yaml', 'modified' => 1520519317, 'data' => [ 'form' => [ 'fields' => [ 'header.pageselect' => [ ...
<?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 App\Repository\Eloquent; use App\Repository\Eloquent\EloquentRepositoryInterface; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; class BaseRepository implements EloquentRepositoryInterface { /** * @var Model */ p...
<?php namespace App\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; class CurrentTime { /** * @Route(path="/time", name="time", methods="POST") * @return Response */ public function showCurrentDate(): Response { $currentDat...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>labtop</title> <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap" rel="stylesheet"> <link rel="styles...
<?php return unserialize('a:2:{i:0;O:30:"Doctrine\\ORM\\Mapping\\ManyToOne":4:{s:12:"targetEntity";s:23:"AdminBundle\\Entity\\Item";s:7:"cascade";N;s:5:"fetch";s:4:"LAZY";s:10:"inversedBy";s:8:"parentid";}i:1;O:31:"Doctrine\\ORM\\Mapping\\JoinColumn":7:{s:4:"name";s:8:"parentid";s:20:"referencedColumnName";s:2:"id";s:6...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Customer extends Model { // }
@extends('master') @section('content') @include('users.partials.validation-error') <form action="{{ route("users.store") }}" method="POST"> @include('users._form', ['passw' => true]) </form> @endsection
<?php return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- | | This option defines the default log channel that gets used when writing | messages to the logs...
<?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 App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Company; use App\Transaction; use App\User; use Illuminate\Http\Request; use Auth; use \DB; class ControlPanelsController extends Controller { public function revert_status() { $transaction = null; if (...
<?php /** * Copyright Divante Sp. z o.o. * See LICENSE_DIVANTE.txt for license details. */ declare(strict_types=1); namespace Divante\ReviewApi\Api\Data; /** * Represents a Review object * * Used fully qualified namespaces in annotations for proper work of WebApi request parser * * @api */ interface ReviewIn...
<?php namespace App\Http\Middleware; use Closure; use App\Admins; class Permission { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(!...
@include('includes.opening_document.opening_document') @include('includes.head.head') @include('includes.body.body') @include('includes.closing_document.closing_document')
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Tag extends Model { protected $fillable = ['tag']; public function posts(){ return $this->belongsToMany('App\Post'); } }
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Updates; use Piwik\Common; use Piwik\Updater; use Piwik\Updates; /** */ class Updates_0_5 extends Updates { public static function getSql() ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <title>{{ sitesetting()->site_name}} | 500</title> <!-- Favicon--> <link rel="icon" href="{{url('/RKhB')}}/favicon.ico" type="image/x-icon"> ...
<?php namespace RomegaDigital\Multitenancy\Tests\Fixtures; use Illuminate\Database\Eloquent\Model; use RomegaDigital\Multitenancy\Traits\BelongsToTenant; class Product extends Model { use BelongsToTenant; public $timestamps = false; protected $fillable = ['name', 'tenant_id']; }
<?php declare(strict_types=1); namespace BrenoRoosevelt\Validation\Translation; class NaiveTranslator implements TranslatorInterface { public function translate(string $message, ...$args): ?string { return sprintf($message, ...$args); } }
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCostToInventoryTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('inventories', function (Blueprint $table) { ...
<label for="">TINT</label> <input type="text" list="tint_suggestions"> <datalist id="tint_suggestions"> <option value="Tint 1">Tint 1</option> <option value="Tint 2">Tint 2</option> <option value="Tint 3">Tint 3</option> <option value="Tint 4">Tint 4</option> </datalist> <label for="">LENS</label> <inp...
<script src="{{ asset('js/bootstrap.min.js') }}"></script> <!-- <script src="{{ secure_asset('js/bootstrap.bundle.min.js') }}"></script> -->
<?php /** * ChargeRuleTrait Class * * Created by PhpStorm. * User: zzr * Date: 2018/8/28 * Time: 12:54 */ namespace common\logic; use common\models\ChargeRule; use common\models\ChargeRuleDetail; use common\util\Common; use yii\base\UserException; /** * Trait ChargeRuleTrait * @package common\logic * @thro...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Module extends Model { // protected $table='course_modules'; protected $fillable=['name', 'info', 'url_img', 'duration','position','course_id']; public $timestamps =false; public function course() { return $this->belo...
<?php use Illuminate\Database\Seeder; class StatusTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $now = Carbon::now()->toDateTimeString(); Statue::insert([ ['name' => 'G+1', 'slug' => 'groundPlus1', 'c...
<?php return [ /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every error...
<?php declare(strict_types=1); /* * This file is part of the league/commonmark package. * * (c) Colin O'Dell <colinodell@gmail.com> * * Original code based on the CommonMark JS reference parser (https://bitly.com/commonmark-js) * - (c) John MacFarlane * * For the full copyright and license information, pleas...
<?php namespace App\Http\Controllers; use App\Models\product_category; use Illuminate\Http\Request; use Illuminate\Support\Str; use App\Http\Controllers\LanguagesController; class ProductCategoryController extends Controller { private LanguagesController $langController; public function __construct() { ...
<?php namespace Zimbra\Mail\Tests\Struct; use Zimbra\Mail\Tests\ZimbraMailTestCase; use Zimbra\Mail\Struct\MimePartInfo; use Zimbra\Mail\Struct\MimePartAttachSpec; use Zimbra\Mail\Struct\MsgAttachSpec; use Zimbra\Mail\Struct\ContactAttachSpec; use Zimbra\Mail\Struct\DocAttachSpec; use Zimbra\Mail\Struct\AttachmentsI...
<?php namespace Satudata\Ahhprovinsi; /** * The Ahhprovinsi class. * * @package Satudata\Ahhprovinsi * @author MKI <info@mkitech.net> */ class Ahhprovinsi { public function welcome() { return 'Welcome to Satudata\Ahhprovinsi package'; } }
<?php // gemaBundle:Activo:edit.html.twig return array ( );
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use App\Models\Backend\Brand; use Illuminate\Http\Request; use File; use Image; class BrandController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ p...
<?php namespace App\Admin\Forms; class UserForm extends Form { }
<?php namespace App\Repositories; use \App\Models\TblCooperative; use \App\Models\TblCooperativesName; use Illuminate\Support\Facades\Hash; use Illuminate\Http\Request; class CooperativeNamesRepository { protected $tblCooperativesName; public function __construct(TblCooperativesName $tblCooperativesN...
<?php use Illuminate\Support\Facades\Route; use \App\Http\Controllers\UserController; use \App\Http\Controllers\ContactController; use \App\Http\Controllers\AdminController; use \App\Http\Controllers\UserEcopontoController; use \App\Http\Controllers\HomeController; use \App\Http\Controllers\OnlyUserController; use \Ap...
<?php declare(strict_types=1); namespace Dryist; use PHPUnit\Framework\TestCase; class AlgebraTest extends TestCase { public function testItCanIdentify(): void { $x = rand(); $this->assertEquals($x, id($x)); } public function testItCanConstant(): void { $fn = always($val...
<?php define("BX_USE_MYSQLI", true); $DBDebug = false; $DBDebugToFile = false; define("MYSQL_TABLE_TYPE", "INNODB"); define("CACHED_b_file", 3600); define("CACHED_b_file_bucket_size", 10); define("CACHED_b_lang", 3600); define("CACHED_b_option", 3600); define("CACHED_b_lang_domain", 3600); define("CACHED_b_site_templa...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://hyperf.wiki * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\AsyncQueue\Signal; use Hyperf\AsyncQueue\Driver\Driver; use Hype...
<?php namespace Desk\Test\Operation\Articles\Translations; use Desk\Relationship\Resource\Model; use Desk\Test\Helper\Operation\UpdateOperationTestCase; use DateTime; use DateTimeZone; /** * @coversNothing * @group system */ class UpdateArticleTranslationOperationTest extends UpdateOperationTestCase { /** ...
<?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 Home extends CI_Controller { private $title = "Home"; public function __construct() { parent::__construct(); $this->load->library('Auth'); $auth = new Auth(); $auth->is_logged_in(); } pub...
<?php include "./core/bootstrap.php"; include 'dbconnect.php'; //check that user has a valid cookie, redirect if no valid cookie include 'php_common/cookiecheck.php'; //Read in submitted workout and write to workout tables $userService = new UserService(); $climbingAreaService = new ClimbingAreaService(); $workoutLo...
<div class="kingster-page-title-wrap kingster-style-medium kingster-left-align"> <div class="kingster-page-title-container kingster-container"> <div class="kingster-page-title-content kingster-item-pdlr"> <h1 class="kingster-page-title">Org...
@extends('layouts.app') @section('content') <h1>id: {{ $task->id }} タスク編集ページ</h1> <div class="row"> <div class="col-xs-12 col-sm-offset-2 col-sm-8 col-md-offset-2 col-mid-8 col-lg-offset-3 col-lg-6"> {!! Form::model($task, ['route' => ['tasks.update', $task->id], 'method' => 'put']) !!} ...
<?php if($awrite_script){ ?><script type="text/javascript"> <?php foreach($awrite_script as $rows){echo $rows;}?> </script> <?php }?>
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Artikel</div> <div class="card-body"> <a href="{!! route ('artikel.cr...
<?php namespace Tests\FrameworkBundle\Unit\Model\AdvancedSearch; use Doctrine\ORM\QueryBuilder; use PHPUnit\Framework\TestCase; use Shopsys\FrameworkBundle\Model\AdvancedSearch\AdvancedSearchFilterInterface; use Shopsys\FrameworkBundle\Model\AdvancedSearch\AdvancedSearchRuleData; use Shopsys\FrameworkBundle\Model\Adv...
<?php /** * +---------------------------------------------------------------------- * 向自定义进程发送消息 * +---------------------------------------------------------------------- * 官网:https://www.sw-x.cn * +---------------------------------------------------------------------- * 作者:小黄牛 <1731223728@qq.com> * +-----------...
<?php namespace Omnipay\Paymanat\Message; use Omnipay\Tests\TestCase; class PurchaseRequestTest extends TestCase { /** * @var PurchaseRequest */ private $request; public function setUp() { parent::setUp(); $this->request = new PurchaseRequest($this->getHttpClient(), $this->...
@extends('layouts.default') @section('title', 'comics') @endsection @section('content') <a href="{{ route('comics.create')}}">Aggiungi comic</a> @foreach($comics as $comic){ <div class="card"> <ul> <li><h1>{{ $comic->title }}</h1></li> <li>{{ $comic->t...
<?php defined('CORE_FOLDER') OR exit('You can not get in here!'); if(isset($visibility_invoice) && $visibility_invoice && $statistic3>0){ if(!isset($get_unpaid_invoice_total)){ Helper::Load(["Invoices","Money"]); $u_data = UserManager::LoginData("member"); $get_unpaid_inv...
<ul class="nav main-menu"> <li class="mm_welcome"> <a href="{{route('sma')}}"> <i class="fa fa-dashboard"></i> <span class="text"> Dashboard</span> </a> </li> <li class="mm_products"> <a class="dropmenu" href="#"> <i class="fa fa-barcode"></i> ...
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +---------------------...
<?php namespace Phulp\Test; use Phulp\Collection; use Phulp\DistFile; use Phulp\PipeIterate; use Phulp\Source; use Symfony\Component\Finder\SplFileInfo; class SourceTest extends TestCase { /** * @covers Phulp\Source::__construct */ public function testContructor() { new Source(['']); ...
<?php require '../wepay.php'; Wepay::useStaging('YOUR CLIENT ID', 'YOUR CLIENT SECRET'); session_start();
<?php namespace Plugins\testplugin\assets; use App\Component\HttpFoundation\CssResponse; use App\Component\HttpFoundation\JavascriptResponse; use App\Utils; use Plugins\testplugin\Config\Config; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\BinaryFileResponse; ...
<?php namespace App\Http\Controllers; use App\Models\Master; use App\Models\Outfit; use Illuminate\Http\Request; use Validator; class OutfitController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product', funct...
<!-- partial:../../partials/_footer.html --> <footer class="footer"> <div class="d-sm-flex justify-content-center justify-content-sm-between"> <span class="text-center text-sm-left d-block d-sm-inline-block">Copyright © 2021 <a href="#" target="_blank">OAL</a>. All rights reserved. </span> ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Reset كلمة المرور') }}</div> <div class="card-body"> @if (s...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'user/plugins/admin/languages/ja.yaml', 'modified' => 1643805791, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_NOSCRIPT_MSG' => 'お使いのブラウザーの JavaScript を有効にしてください。', 'ADMIN_BETA_MSG' => 'これはベータリリースで...
<?php namespace backend\modules\calendar\forms\booking; use common\entities\calendar\BookingCoupon; use common\entities\calendar\BookingData; use common\entities\calendar\BookingInfo; use common\entities\calendar\CouponInfo; use common\entities\calendar\CouponLog; use common\entities\calendar\CouponMember; use common\...
<?php namespace App\Mail; use App\Entity\User; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class VerifyMail extends Mailable { use Queueable, SerializesModels; /** * @var User */ public $user; ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Hooks | ------------------------------------------------------------------------- | This file lets you define "hooks" to extend CI without hacking the core | files. Pl...
<?php include 'DBConfig.php'; // $conn = new mysqli($HostName, $HostUser, $HostPass, $DatabaseName); $json = file_get_contents('php://input'); // decoding the received JSON and store into $obj variable. $obj = json_decode($json,true); // $p_id = $obj['p_id']; $date = strip_tags(mysqli_real_escap...
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
<?php if(!defined('KIRBY')) exit ?> title: Art Project pages: false files: sortable: true fields: title: label: Title type: text required: false caption: label: Caption type: textarea alt: label: alt Text type: text linkto: label: hyperlink type...
<!-- Header --> <header class="masthead d-flex"> <div class="container text-center my-auto"> <h1 class="mb-1 text-white" style="font-family: fuentetitulo">RySSistemas</h1> <h2 class="mb-1 text-white" style="font-family: fuentetitulo">Tu Solución</h2> <h3 class="mb-5 text-white"> <em>As...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class M_depanel_post extends CI_Model{ function tampil_data_post($limit,$id){ //return $this->db->get('post'); $this->db->select('*'); $this->db->from('kategori'); $this->db->join('post', 'post.id_kategori = kategori.id_kategori'...
<?php /** * Plugin installation and activation for WordPress themes. * * Please note that this is a drop-in library for a theme or plugin. * The authors of this library (Thomas, Gary and Juliette) are NOT responsible * for the support of your plugin or theme. Please contact the plugin * or theme author for suppor...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class News extends MY_Controller { private $title = "News"; private $file = "news"; private $gallery = TRUE; protected $helpers = array( 'am', 'admin_language' ); protected $models = array( 'news' ); public function __...
<!DOCTYPE html> <html lang="en"> <head> @include('dinsos.layout.head') </head> <body> <!-- ======= Header ======= --> <header id="header" class="fixed-top "> @include('dinsos.layout.header') </header><!-- End Header --> <main id="main"> <!-- ======= Breadcrumbs ======= --> <section id="breadcrumbs" cl...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class DropDataStudioLinkColumnOnWebsitesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::ta...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Address extends Model { // protected $fillable=[ 'first_name', 'last_name', 'address1', 'address2', 'city', 'state', 'zip', 'country' ]; }
<?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 $resultados = $controlador->getResultados(); ?> <div class="pular-menu"> <div class="marquee"><?= $this->getDicas() ?></div> </div> <div id="titulo-bg"> <div id="categoria-titulo" class="row"> <h1><?= nomeFormal($categoria, "plural") ?></h1> </div> </div> <div class="conteudo"> <!-...
<?php namespace App\Widgets\defaultWidget; use App\Entities\Galleries; use App\Entities\GalleryImages; use App\Widgets\BaseWidget; use App\Modules\ContentManager\Models\Terms; use App\Modules\ContentManager\Models\Articles; class PostSlider extends BaseWidget { public function __construct() { $this->name = "P...
@extends('adminlte::page') @section('title', "Editar o post {$post->name}") @section('content_header') <h1>Editar o post {{ $post->title }}</h1> @stop @section('content') <div class="card"> <div class="card-body"> <form action="{{ route('post.update', $post->id) }}" class="form" method="P...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php namespace Brasa\TurnoBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Doctrine\ORM\EntityRepository; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\Form\Extension\Core\...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use DB; use App\User; use App\Question; class Alternative extends Model { use SoftDeletes; protected $table = 'alternatives'; public $timestamps = true; protected $dates = ['deleted_at']; ...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'), 'phpseclib3\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), 'phpDocumentor\\Reflection\\' =...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSectionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sections', fun...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Controller\Adminhtml\Order\Create; class Cancel extends \Magento\Sales\Controller\Adminhtml\Order\Create { /** * Cancel order create * * @return \Magento\Backend\Model\View...
<?php /** * AVOLUTIONS * * Just another open source PHP framework. * * @copyright Copyright (c) 2019 - 2021 AVOLUTIONS * @license MIT License (https://avolutions.org/license) * @link https://avolutions.org */ namespace Avolutions\Validation; /** * RequiredValidator * * The RequiredValidator in...
<?php return array( 'code'=> 'tenpay', 'name' => 'PC端财付通', 'version' => '1.0', 'author' => '李洪顺', 'desc' => 'PC端财付通插件 ', 'scene' =>2, // 使用场景 0 PC+手机 1 手机 2 PC 'icon' => 'logo.jpg', 'config' => array( //array('name' => 'spname','label'=>'spname', 'type' => 'text', 'v...