text
stringlengths
2
1.03M
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\PostsController; use App\Http\Controllers\RegisterController; use Laravelista\Comments\CommentController; /* |-------------------------------------------------------------------------- | API Routes |---------------------...
@extends('administrator.layouts.master') @section('content') <div class="page"> <div class="pageheader"> <h2>Categories</h2> <div class="page-bar"> <ul class="page-breadcrumb"> <li> <a href="/admin"><i class="fa fa-home"></i> K-Backend</a> </li> ...
<?php /** * Update Safety Status * * @author Rob Caiger <rob@clocal.co.uk> */ namespace Dvsa\Olcs\Api\Domain\CommandHandler\ApplicationCompletion; use Doctrine\ORM\Query; use Dvsa\Olcs\Api\Entity\Licence\Licence; use Laminas\ServiceManager\ServiceLocatorInterface; use Dvsa\Olcs\Api\Entity\Application\Application;...
<?php if (!defined('APPLICATION')) exit(); echo '<h1>'.T('Transaction Status').'</h1>'; echo $this->Data['TransMessage'];
--TEST-- Bug #7214 (zip_entry_read() binary safe) --SKIPIF-- <?php /* $Id$ */ if(!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php $zip = zip_open(dirname(__FILE__)."/binarynull.zip"); if (!is_resource($zip)) die("Failure"); $entries = 0; $entry = zip_read($zip); $contents = zip_entry_read($entry, zip_entry_fil...
<?php //sessão session_start(); //conexão require_once 'db_connect.php'; if(isset($_POST['btn-adicionar'])): $Marca = mysqli_escape_string($connect, $_POST['Marca']); $Modelo = mysqli_escape_string($connect, $_POST['Modelo']); $Descricao = mysqli_escape_string($connect, $_POST['Descricao']); $Mod_fab = mysqli...
@if ($errors->any()) <div class="alert alert-danger mt-3"> <ul> @foreach ($errors->all() as $error) <li>{{$error}}</li> @endforeach </ul> </div> @endif
<?php namespace BitWaspNew\Bitcoin\Crypto; use BitWasp\Buffertools\Buffer; use BitWasp\Buffertools\BufferInterface; class Hash { /** * Calculate Sha256(RipeMd160()) on the given data * * @param BufferInterface $data * @return BufferInterface */ public static function sha256ripe160(Bu...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use App\Models\BuisnessCategory; use App\Models\SellerDiscountCoupon; use App\Models\SellerProduct; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Notifications\Notifiable; // use Illuminate\Contracts\Auth\Authenticatable; // use Tymon...
@extends('brackets/admin-ui::admin.layout.default') @section('title', trans('admin.etat-bien.actions.edit', ['name' => $etatBien->id])) @section('body') <div class="container-xl"> <div class="card"> <etat-bien-form :action="'{{ $etatBien->resource_url }}'" :da...
@extends('layouts.dashboard.app') @section('content') <div class="content-wrapper"> <section class="content-header"> <h1>@lang('site.suppliers')</h1> <ol class="breadcrumb"> <li><a href="{{ route('dashboard.welcome') }}"><i class="fa fa-dashboard"></i> @lang('sit...
<?php /* * This file is part of the Kuiper package. * * (c) Ye Wenbin <wenbinye@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace kuiper\rpc\registry\consul; /** * @see https://www.c...
<?php /** * Collator class. */ class Memcached { /** * Libmemcached behavior options. */ const OPT_HASH; const OPT_HASH_DEFAULT; const OPT_HASH_MD5; const OPT_HASH_CRC; const OPT_HASH_FNV1_64; const OPT_HASH_FNV1A_64; const OPT_HASH_FNV1_32; const OPT_HASH_FNV1A_32; const OPT_HASH_HSIEH; ...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; public $timestamps=false; /** * The attributes that are mass assignable. * ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Order extends Model { protected $fillable = ['shopping_cart_id', 'customid', 'shipment_agency', 'shipment_agency_id', 'recipient_name', 'recipient_id', 'recipient_email', 'payment_id', 'edited', 'status', 'guide_number', 'total']; pu...
@extends('public.layouts.app') @section('content') <div class="container"> <div class="row"> <div class="articles col-9"> <h1>Publish a Post</h1> <form method="POST" action="/admin/posts"> {{ csrf_field() }} @include('adm...
<?php /* * This file is part of the slince/upload package. * * (c) Slince <taosikai@yeah.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Slince\Upload\Filesystem; use Symfony\Component\HttpFoundation\File\Uploaded...
<?php /** * PHP Version 5 * * @category Amazon * @package FBAOutboundServiceMWS * @copyright Copyright 2009 Amazon.com, Inc. All Rights Reserved. * @link http://mws.amazon.com * @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0 * @version 2010-10-01 */ /*****...
<?php namespace App\Http\Middleware; use Closure; class Localization { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @return mixed */ public function handle($request, Closure $next) { r...
<?php /** * Class collections. * * A repository for class objects, each registered with a key. * * PHP versions 4 and 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Red...
<?php /** * Copyright (c) 2002-2003 Richard Heyes * Copyright 2011-2016 Horde LLC (http://www.horde.org/) * * This code is based on the original code contained in the PEAR Auth_SASL * package (v0.5.1): * $Id: DigestMD5.php 294702 2010-02-07 16:03:55Z cweiske $ * * That code is covered by the BSD 3-Clause lice...
<span class='tos'><strong>Evil Empire Terms of Service</strong></span><br><hr> <span class='author'><strong>Please take a moment to review the rules and conditions detailed below.</strong><br><br> <span class='tos'><strong>Restriction of Access</strong></span><br> <span class='tos'>In this segment "Of...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Pagination\Paginator; use App\Models\User; use Illuminate\Support\Facades\Gate; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function regist...
@extends('layouts.app') @section('content') <div class="content-heading"> <!-- START Language list--> <!-- END Language list--> Reportes <small data-localize="">reporte de Viajes</small> </div> <div class="col-md-12"> <!-- START panel--> <div class="panel "> <div class="panel-body"...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
<!-- <div class='globe'><i class="fa fa-globe fa-5x"></i></div> --> <?php $url = $this->di->url->asset('img/Javascriptkursus.png'); ?> <div class="globe"><img src="<?=$url?>" alt="JSlogo"/></div> <div class='logo'> <span class='sitetitle'><?=$siteTitle?></span> <span class='siteslogan'><?=$siteTagline?></span> </div>
<?php namespace App\Providers; use Illuminate\Auth\Events\Registered; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Event; class EventServiceProvider extends ServiceProvider { /*...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateHoaDonBan extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl_HoaDonBan', fu...
<?php declare(strict_types=1); /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tests\Localization; /** * @group localization */ c...
<?php namespace App; use Illuminate\Database\Eloquent\Model as Models; class Model extends Models { public function product() { return $this->belongsTo('App\Product'); } public function item() { return $this->hasMany('App\Item'); } }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cards', function (Bluep...
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> tareas <small>Nuevo</small> </h1> </section> <!-- Main content --> <section class="content"> <!-- ...
<?php namespace common\models; use Yii; use yii\base\NotSupportedException; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $password_hash * @property string $password_reset_to...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStocksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('stocks', functio...
<html> <head> <title>{{ trans('main.pagenotfound') }}</title> </head> <body> <div> <a href="{{ route('post.index') }}" title="{{ trans('main.backhome') }}" > <img src="{{ asset(\Config::get('blog.theme').'/img/404.png')}}" style="height:100%;" /> </a> </div> </body> </html>
@extends('layouts.app') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div ...
<?php require '../includes/input-format.inc'; require '../includes/url-list.inc'; // define variables $file = $_SERVER["DOCUMENT_ROOT"] . "/kiosk/sites"; $url = $urlError = ""; if ($_SERVER["REQUEST_METHOD"] == "POST") { if (!empty($_POST["url"])) { $url = test_input($_POST["url"]); if (!is_valid_url($url))...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCeosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ceos', function (B...
<?php include("../layout/top-nav.php"); ?> <?php // Get the user_id $user_id = $_SESSION["user_id"]; $sql = 'SELECT * FROM intervention, users WHERE intervention.user_id = users.user_id ORDER BY inter_id DESC'; $interventions = mysqli_query($link, $sql); ?> <!-- Content Wrapper. Contains page content --> <div class=...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); $this->call(ConversationsTableSeeder::class); $this->call(Message...
<?php namespace Astrotomic\Translatable\Traits; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; /** * @property-read string $translationModel * @property-read string $translationForeignKey */ trait Relationship { /** * @deprecated */ public ...
@extends('master') @section('content') <!-- /. NAV SIDE --> <div id="page-wrapper" > <div id="page-inner"> <div class="row"> <div class="col-md-12"> <h1 class="page-header"> Edit Order </h1...
<?php namespace src; use Exception; class Sexo { private $_sexo; public function __construct(string $sexo) { $this->_sexo = $this->setSexo($sexo); } public function sexo(): string { return $this->_sexo; } private function setSexo(string $sexo): string { i...
<!DOCTYPE html> <html > <head> <title>Letsgo</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="shortcut icon" href="images/car.png" /> <link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700...
<?php namespace App\Http\Livewire; use App\Category; use App\Pesanan; use App\PesananDetail; use Illuminate\Support\Facades\Auth; use Livewire\Component; class Navbar extends Component { public $jumlah = 0; protected $listeners = [ 'masukKeranjang' => 'updateKeranjang' ]; public function up...
<?php namespace App\Http\Controllers\Wechat\Auth; use App\Libraries\SMS; use App\Model\Current\Farmer; use App\Model\User; use Illuminate\Http\Request; use App\Model\Current\Worker; use App\Http\Requests\FarmerStorePost; use App\Http\Controllers\Wechat\BaseController; use Illuminate\Support\Facades\Auth; use Illuminat...
<x-header title="{!!$question->title!!}" css="teacher/course" /> <form action="{{route('teacher.questions.update',[$question->id])}}" method="post" id="descriptive-form" class="container d-flex flex-column"> @csrf @method('put') <label> <span class="fw-bold">Title : </span><input type=...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Email\Model; use Magento\Backend\App\Area\FrontNameResolver as BackendFrontNameResolver; use Magento\Framework\App\Area; use Magento\Framework\App\Filesystem\DirectoryList; use Magento\Framework\Ap...
<!-- Javascript --> <script src="<?=base_url("application/assets/vendor/jquery/jquery.min.js") ?>"></script> <script src="<?=base_url("application/assets/vendor/bootstrap/js/bootstrap.min.js") ?>"></script> <script src="<?=base_url("application/assets/scripts/script.js") ?>"></script> <script src="https://cdnjs.cloudfl...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel backend\models\RecordSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Records'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="record-index"> <h...
<?php /** * (c) NetSuite, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace SellerWorks\NetSuite\Model; /** * CampaignSearchRowBasic */ class CampaignSearchRowBasic extends SearchRowBasic { ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Termin extends Model { protected $table = 'termins'; public $timestamps = true; }
<?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 namespace SerEducacional\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CursoFormacaoUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; ...
<?php use yii\helpers\Html; use yii\helpers\Url; use wx\widget\wxHeaderWidget; $this->registerJsFile('@web/js/fastclick.js',['depends'=>['wx\assets\NewAppAsset']]); $labelImg=[ "1"=>"/bate2.0/images/system.jpg", "10"=>"/bate2.0/images/bao.png", "20"=>"/bate2.0/images/csh.png", "30"=>"/bate2.0/images/cja.png", "40"...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/3/30 * Time: 15:44 */ namespace app\api\validate; use app\lib\exception\ParameterException; use think\Request; use think\Validate; //goCheck的作用是在基类定义一个公共的方法然所有对象都可以使用,通过这个方法获取所有的http传入的参数,然后用对应的验证器进行验证 class BaseValidate extends Validate { ...
<?php namespace FilmApp\Domain; use FilmApp\Domain\Actor; // use Doctrine\ORM\Mapping as ORM; use \Exception; class Film { private $id; private $name; private $description; private $actor; public function __construct(string $name, string $description, Actor $actor) { // Sanitize ...
<?php namespace Neos\Flow\ResourceManagement\Storage; /* * This file is part of the Neos.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this *...
<?php namespace App; use Illuminate\Database\Eloquent\Model; /** * Class Booking. * * @method static Booking findOrFail($id) */ class Booking extends Model { protected $fillable = ['customer_id', 'room_id', 'checkin', 'checkout']; protected $dates = ['created_at', 'updated_at', 'checkin', 'checkout']; ...
<?php namespace mxrotha\LaravelTinify\Facades; use Illuminate\Support\Facades\Facade; class Tinify extends Facade { protected static function getFacadeAccessor(){ return 'tinify'; } }
<?php $__env->startSection('conteudo'); ?> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <h3>Cadastro Funcionario</h3> <?php if(count($errors)>0): ?> <!-- Se existir erro vai mostrar um alerta e vai listar os erros --> <div class="alert alert-danger"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Influencer extends Model { use HasFactory; }
@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">List Artikel</div> <div class="card-body"> <div class="f...
<?php /* * The MIT License (MIT) * * Copyright (c) 2014-2018 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ use Jose\Factory\CheckerManagerFactory; use Jose\Factory\JWSFactory; use Jose\Object\JWK; use Jose\Object\Signat...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\StoreChecklistGroupRequest; use App\Http\Requests\UpdateChecklistGroupRequest; use App\Models\ChecklistGroup; use Illuminate\Contracts\View\View; use Illuminate\Http\RedirectResponse; class ChecklistGroupController...
<div class="box"> <div class="box-title">{{trans('global.edit')}} {{$page->title}} </div> <div class="box-content"> <form enctype="multipart/form-data" id="page-edit-form" data-id="{{$page->id}}" class="form-horizontal" role="form" action="" method="post"> @if(!empty($message)) ...
<?php /** * The object manages the main CMS menu. See {@link LeftAndMain::init()} for * example usage. * * The menu will be automatically populated with menu items for subclasses of * {@link LeftAndMain}. That is, for each class in the CMS that creates an * administration panel, a CMS menu item will be create...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integ...
<?php namespace App\Forms; use Kris\LaravelFormBuilder\Form; class courseForm extends Form { public function buildForm() { $this ->add('name', 'text') ->add('permalink', 'text') ->add('description', 'textarea') ->add('instructor', 'text') ->add('starts_on', 'dat...
<?php declare(strict_types=1); namespace Symplify\CodingStandard\Tests\Fixer\ArrayNotation\StandaloneLineInMultilineArrayFixer; use Iterator; use Symplify\EasyCodingStandard\Testing\PHPUnit\AbstractCheckerTestCase; use Symplify\EasyTesting\DataProvider\StaticFixtureFinder; use Symplify\SmartFileSystem\SmartFileInfo;...
<?php namespace App\Http\Requests\Department; use Illuminate\Foundation\Http\FormRequest; use App\Models\Department; class CreateDepartmentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function author...
@component('mail::message') Buen dia <b>{{$name}}</b>, Usted a sido designado como JEFE SSOMAC DEL PROYECTO<br /> <b>{{$proyecto}}</b><br/> Saludos,<br /> Oficina de Seguridad, Salud Ocupacional, Medio Ambiente y Calidad. <b style="font-size: 8%">Abstenganse responder a este correo porque es un proceso automátic...
<?php namespace Composer; use Composer\Semver\VersionParser; class InstalledVersions { private static $installed = array ( 'root' => array ( 'pretty_version' => '1.0.0+no-version-set', 'version' => '1.0.0.0', 'aliases' => array ( ), 'reference' => NULL, 'name' => 'laravel/larav...
<?php namespace Rubix\ML\CrossValidation\Metrics; use InvalidArgumentException; /** * V Measure * * V Measure is the harmonic balance between homogeneity and completeness * and is used as a measure to determine the quality of a clustering. * * References: * [1] A. Rosenberg et al. (2007). V-Measure: A condit...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class CustomListDisplay extends Model { // }
<?php /** * REST API Coupons controller * * Handles requests to the /coupons endpoint. * * @author WooThemes * @category API * @package WooCommerce/API * @since 3.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * REST API Coupons controller class. * * @package WooCommerce/API * @extends WC_REST...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php namespace App\Http\Middleware; use Closure; class PersonnelMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if (cas()->au...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class SpAlbumsNotMigrated extends Migration { /** * Run the migrations. * * @return void */ public function up() { $sql =<<<EOSP DROP PRO...
<?php use Illuminate\Database\Seeder; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { //fill data of user DB::table('users')->insert([ 'name' => Str::random(10), 'email' => Str::random(1...
<?php namespace RectorPrefix20210828; /////////////////////////////// /// Utility regex constants /// /////////////////////////////// const LIB = '(?(DEFINE) (?<singleQuotedString>\'[^\\\\\']*+(?:\\\\.[^\\\\\']*+)*+\') (?<doubleQuotedString>"[^\\\\"]*+(?:\\\\.[^\\\\"]*+)*+") (?<string>(?&singleQuotedStrin...
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Qualcomm; use JMS\Serializer\Annotation\ExclusionPoli...
@extends('layouts.app') @section('content') <div class="row page-titles"> <div class="col-sm-12 align-self-center"> <h4 class="text-themecolor">Download Bill Zip files</h4> </div> </div> <x-emailverification/> <div class="row"> <div class="col-12"> <div class="card"> <div class...
<?php /** * Created by PhpStorm. * User : Leopard * Date : 2018/1/3 * Time : 10:08 * Email: 417780879@qq.com */ namespace app\admin\model; use app\common\model\Common; class CategoryContent extends Common { protected $table='ht_category_content'; protected $pk='clid'; public function category(){ ...
<?php namespace CMSlaravel\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 Illuminate\Foundation\Auth\Access\AuthorizesResources; ...
@extends('app') @section('content') <div class="row" > <div class="col-md-6 col-md-offset-3" > <!-- Below for Error Message --> @if (count($errors) > 0) <div class="alert alert-danger"> <strong>Whoops!</strong> There were some problems with your input.<br><br> ...
<section id="cart_items"> <div class="container"> <div class="table-responsive cart_info"> <table class="table table-condensed"> <thead> <tr class="cart_menu"> <td class="image">Товар</td> <td class="description"></td> ...
<?php $__env->startSection('app-body-main-content'); ?> <pos-s-p-a :user="8888888"></pos-s-p-a> <?php $__env->stopSection(); ?> <?php echo $__env->make('pos.master-pos-template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Club\cc\resources\views/p...
--TEST-- ocipasswordchange() --SKIPIF-- <?php $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on thes require(__DIR__.'/skipif.inc'); require(__DIR__.'/connect.inc'); if (empty($dbase)) die ("skip requires database connection string be set"); if ($test_drcp) die("skip password change not sup...
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:5:"photo";s:4:"type";s:6:"string";s:6:"length";i:100;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}');
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function index() { if (!$this->session->user) { $this->load->view('login'); } else { $this->load->view('home'); } } public function doLogin() { $username = $this->input->post('username')...
<?php include "view/header.html"; ?> <div class="main-title">个人信息</div> <div class="main-content"> <table> <tbody> <tr> <td>用户名:</td> <td><?php echo $user_valus["name"];?></td> </tr> <tr> <td>性别:</td> <td><?php echo $user_valus["Gender"]==1?'男':'女 ';?></td> </tr> <tr> <td>手机号码...
<?php use Monolog\Handler\StreamHandler; use Monolog\Handler\SyslogUdpHandler; return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- | | This option defines the ...
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="https://code.jquery.com/jque...
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integ...
<?php class CRUD { public $connection; function __construct($host,$user,$pass,$db) { $this->connection = new mysqli($host,$user,$pass,$db); } } ?>
@extends('layouts.main') @section('title', 'Contato') @section('content') <h1>Página de contato</h1> @if($busca != '') <p>Voce esta buscando por: {{ $busca }}</p> @endif @endsection
<?php namespace App\Http\Controllers; use App\Http\Requests\Auth\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Auth; class AuthController extends Controller { // public function getLoginForm(){ return view('auth.login'); } public functi...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...