text
stringlengths
2
1.03M
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password', ]; /** * The attributes that should...
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.property.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.properties.store") }}" enctype="multipart/form-dat...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class RegistracijaNoviRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php /** * @author Prima Noor */ GtfwDispt()->load->response('ViewInput'); class ViewAddMenu extends ViewInput { } ?>
@extends('layouts.admin.master') @section('title', 'Edit Driver') @section('breadcrumb') <li class="breadcrumb-item"><a href="{{ route('admin.drivers.index') }}">Drivers</a></li> <li class="breadcrumb-item">Edit Driver</li> @endsection @section('content') <div class="card"> <div class="card-block"...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Auth extends Model { public $table = 'users'; public $fillable = [ 'id', 'name', 'password', ]; public $timestamps = false; }
<?php namespace App\Http\Controllers\Admin; use App\Models\Drink; use App\Models\Client; use App\Models\Commande; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Fournisseur; class AdminController extends Controller { public function index(){ return view('auth.login'); ...
<?php namespace Framelix\Pdf; use TCPDF; use function call_user_func_array; require_once __DIR__ . "/../vendor/autoload.php"; /** * Class PdfWrapper */ class PdfWrapper extends TCPDF { /** * A callable to execute for every page header * @var callable|null */ public $header = null; /**...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Tax extends Model { protected $fillable = [ 'name', 'tax_percent' ]; /* * A tax belongs to company * *@ */ public function company() { $this->belongsTo(Company::class); } /* * To store a tax * *@ */ ...
<?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('movies', function (Blue...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" type="image/png" href="assets/img/favicon.ico"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Seguradora - ITE</title> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\moratoire; use Faker\Generator as Faker; $factory->define(moratoire::class, function (Faker $faker) { return [ // ]; });
<?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; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use App\Module; use Auth; class Controller extends BaseController...
<?php namespace Templator; class Templator { /** * Templator version * @var string */ public $version = '0.0.1'; /** * Configuration * @var array */ public $_config = array( 'path' => array( 'root' => 'templates', 'base' => 'ba...
<link rel="stylesheet" href="{{ asset('/css/sidebar.min.css') }}"> <link rel="stylesheet" href="{{ asset('/css/sidebar.css') }}"> <div class="ui sidebar inverted vertical menu right uncover bg-purple" style=" color: #fff;"> <h2 class="brand"><strong>Coursenta</strong></h2> <div id="accordion" role="tablist"> ...
@extends('layouts.main') @section('content-header') @breadcrumb( [ 'title' => 'Assign Resources', 'items' => [ 'Dashboard' => route('index'), 'Assign Resources' => route('resource.assignResource'), ] ] ) @endbreadcrumb @endsection @section('content') <div class="...
<?php /** * This file is part of the osWFrame package * * @author Juergen Schwind * @copyright Copyright (c) JBS New Media GmbH - Juergen Schwind (https://jbs-newmedia.com) * @package osWFrame * @link https://oswframe.com * @license MIT License */ $links=$this->getEditElementOption($element, 'data'); $links_a...
<html lang="pt-BR"> <head> <meta charset="UTF-8" /> <title>Home - {{ config('app.name') }}</title> <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('images/favicon/favicon-32x32.png') }}" /> <link rel="icon" type="image/png" sizes="96x96" href="{{ asset('images/favicon/favicon-96x96.png') ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class HojaResumenPrograma extends Model { use HasFactory; protected $fillable = ['hojaResumen_id', 'programa_id']; protected $table = 'hoja_resumen_programa'; public function pr...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; use Spatie\Permission\Traits\HasRoles; use Laravel\Passport\HasApiTokens; class User extends Authenticatable { use HasApiTokens, Notifiable; use HasRoles; /** * The attributes that are ...
<?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 Symfony\Component\Routing\Loader\Configurator; use Symfony\Component\Ro...
<?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'); $this->load->model('Identitas_model'); } public function index(){ $t...
<?php namespace CommonTest\Data\Mapper\Lva\TransportManager\Sections; use Common\Data\Mapper\Lva\TransportManager\Sections\AdditionalInformation; use Common\Service\Helper\TranslationHelperService; use Mockery\Adapter\Phpunit\MockeryTestCase; use Mockery as m; class AdditionalInformationTest extends MockeryTestCase...
<?php namespace backend\models; use Yii; use yii\base\NotSupportedException; use yii\behaviors\TimestampBehavior; use yii\behaviors\BlameableBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property integer $user_id * @property string $fio * @prope...
<?php //DBの接続情報 $host = "host"; $username = "username"; $password = "password"; $dbname = "dbname"; ?>
<?php namespace Illuminate\Auth\Passwords; use Illuminate\Contracts\Auth\PasswordBrokerFactory as FactoryContract; use Illuminate\Support\Str; use InvalidArgumentException; /** * @mixin \Illuminate\Contracts\Auth\PasswordBroker */ class PasswordBrokerManager implements FactoryContract { /** * The applicat...
<?php namespace ServiceNode\services; class HTTPRequestHandler implements IRequestHandler { protected $protocol = null; public function __construct($requestProtocol) { if ($requestProtocol instanceof \ServiceNode\protocol\http\HTTPMethod) { $this->protocol = $requestProtocol; } ...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class Gmail extends Mailable { use Queueable, SerializesModels; public $details; /** * Create a new message instance. * *...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Handles Database Search * * @package PhpMyAdmin */ namespace PMA\libraries; use PMA\libraries\URL; use PMA\libraries\Sanitize; /** * Class to handle database search * * @package PhpMyAdmin */ class DbSearch { /** * Database name * * @acc...
<?php declare(strict_types=1); namespace Phel\Interop; use Gacela\Framework\AbstractFactory; use Phel\Interop\DirectoryRemover\DirectoryRemover; use Phel\Interop\DirectoryRemover\DirectoryRemoverInterface; use Phel\Interop\ExportFinder\FunctionsToExportFinder; use Phel\Interop\ExportFinder\FunctionsToExportFinderInt...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(BagianSeeder::class); $this->call(WargaSeeder::class); $this->call(UserSeeder::class); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTipoDispositivosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tipo_d...
<?php /** * The template for displaying Search Results pages. * * @package WordPress * @subpackage Starkers * @since Starkers HTML5 3.0 */ get_header(); ?> <?php if ( have_posts() ) : ?> <h1><?php printf( __( 'Search Results for: %s', 'starkers' ), '' . get_search_query() . '' ); ?></h1> <?php get_temp...
@extends('layouts.log') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Reiniciando Contraseña</div> <div class="panel-body"> @i...
<x-about-layout> <x-page-header> <section class="font-poppins"> <span class="h-16 w-16 rounded-xl bg-gradient-to-br flex items-center justify-center from-[#5e60ce] to-[#6930c3] text-white mb-8"> <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 2...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use DB; class Users extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // DB::table('users')->insert([ 'first_name' => "Owner", 'last_na...
<div class="dynamic-content"> <form id="peso-form" action="cadastro_peso.php" method="POST"> <div class="mb-3"> <label for="weight" class="form-label">Novo Peso</label> <input type="text" name="peso" class="form-control" id="weight" placeholder="Informe seu peso em Kg"> </div> <div class="mb-3...
<footer class="navbar-fixed-bottom"> <small> CasePicture &copy; 2016-2018 Jason Thistlethwaite </small> <a class="btn btn-sm btn-info pull-right" href="about.php">About</a> </footer> </body> </html>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Product extends Model { use HasFactory; // protected $fillable = ['name', 'description', 'image', 'price', 'stock']; protected $guarded = []; }
<?php namespace HL7\FHIR\STU3\FHIRResource\FHIRTestScript; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: April 21st, 2019 * * PHPFHIR Copyright: * * Copyright 2016-20...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrderDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_deta...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Themeoption; use App\Menu; use FHelper; use BHelper; class AjaxController extends Controller { public static function updateThemeOption(Request $request) { if(...
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <?php session_...
<?php /** * Short description for file. * * PHP 5 * * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.tx...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\PagesController; use App\Http\Controllers\ApiController; use App\Http\Controllers\UsersController; use App\Http\Controllers\EventTypesController; use App\Http\Controllers\EventsController; /* |--------------------------------------------------------...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Outstanding_c extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('Outstanding_c_model'); } public function selectmaxid() { $table_name = $this->input->post('table_name'); $id = $this->input-...
<?php /* * This file is part of the Assetic package, an OpenSky project. * * (c) 2010-2013 OpenSky Project Inc * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Assetic\Test\Filter; use Assetic\Asset\FileAsset; use Asset...
<?php namespace App\Http\Controllers\User; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Storage; use App\Models\UserInfo; use App\Models\User; use App\Models\Investment_Packages; use App\Models\...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class AccountingApplicant extends Model { protected $guarded = [ 'id' ]; public function job(){ return $this->belongsto(AccountingJob::class, 'position_id'); } ...
<?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 // including the widgets language file $language_file = array ('widgets'); // include the global Dokeos file include_once('../../inc/global.inc.php'); // load the specific widget settings api_load_widget_settings(); //action handling switch ($_POST['action']) { case 'get_widget_information' : content_bis_ge...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2016, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php use backend\models\Statistics; use yii\helpers\Url; $this->title = Yii::t('default', 'Pigeon Statistics'); ?> <div class="row"> <div class="col-md-12"> <div class="grid simple"> <div class="grid-title no-border"> <h4> <?= Yii::t('default', 'My pigeons'); ?> </h4> <di...
<?php class Http_Exception extends Exception{ const NOT_MODIFIED = 304; const BAD_REQUEST = 400; const NOT_FOUND = 404; const NOT_ALOWED = 405; const CONFLICT = 409; const PRECONDITION_FAILED = 412; const INTERNAL_ERROR = 500; } class Http_Multiple_Error { private $_status = null...
@extends('layouts.backend') @section('title') {{ __('dashboard.Orders') }} @endsection @section('links') <li class="breadcrumb-item active"> {{ __('dashboard.Orders') }} </li> @endsection @can('create orders') @section('button-link') {{ route('dashboard.orders.create') }} @endsection @...
<!-- Navigation --> <nav class="navbar navbar-default navbar-custom navbar-fixed-top"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header page-scroll"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-t...
<?php session_start(); // echo $_SESSION['email']; include('database.php'); ?> <!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"> <meta name="description" content=""...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2017, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Template { protected $CI; protected $folder; public function __construct($_folder=NULL) { // Assign the CodeIgniter super-object $this->CI =& get_instance(); // set default fol...
<?php namespace spec\Yproximite\Api\Message\Article; use PhpSpec\ObjectBehavior; use Yproximite\Api\Model\Article\Article; use Yproximite\Api\Message\Article\ArticlePostMessage; use Yproximite\Api\Message\Article\ArticleMediaMessage; use Yproximite\Api\Message\Article\ArticleTranslationMessage; class ArticlePostMes...
@extends('layouts.master') @section('page-header') <!-- PAGE-HEADER --> <div class="page-header"> <div> <h1 class="page-title">Create a new website</h1> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Sites</a></li> <li class="bread...
<?php require_once 'wpml-update-term-action.class.php'; /** * This class holds all basic functionality for translating terms. */ class WPML_Terms_Translations { /** * @deprecated since Version 3.1.8.3 * @param $terms array * @param $taxonomies array|string * This is only used by the WP core AJAX call that...
<?php namespace App\Rules; use App\Models\Hamlet; use Illuminate\Contracts\Validation\Rule; use Illuminate\Support\Facades\Auth; class CheckStatusAccount implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() { // } /** ...
<div class="x_panel"> <div class="x_title px-0"> <h5 class="mb-0">{{ __('Danh sách')}}</h5> <div class="clearfix"></div> </div> <div class="x_content"> @if (count($items) > 0) <table class="table"> <thead class="thead-dark"> <tr> ...
<?php namespace App\Exchanges\Coinbase\DataMappers; use App\Contracts\TransactionDataMapper; use App\Enums\TransactionType; use App\ValueObjects\Amount; use App\ValueObjects\Transaction; final class SendTransactionDataMapper implements TransactionDataMapper { public function execute(Transaction $transaction): Tr...
<?php define('DT_REWRITE', true); $moduleid = 10; require '../common.inc.php'; require DT_ROOT.'/module/'.$module.'/index.inc.php'; ?>
@extends('layout.master') @section('page') {{__("site.sessions")}} @endsection @section('link') {{route('dashboard.clients.sessions.index')}} @endsection @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header card-header-style"> ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/aiplatform/v1/model_service.proto namespace Google\Cloud\AIPlatform\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Details of [ModelService.Expor...
<?php use kartik\widgets\FileInput; use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $model shop\forms\manage\Shop\Product\ProductCreateForm */ $this->title = 'Create Product'; $this->params['breadcrumbs'][] = ['label' => 'Products', 'url' => ['index']]; $this->params['breadc...
<?php namespace App\Http\Controllers\Project; use App\Http\Controllers\Controller; use App\Http\Requests\AuthRequest; use App\Http\Requests\StoreProjectHeroSectionSettingsRequest; use App\Services\HeroSectionSettingsService; use Illuminate\Http\Request; /** * Class HeroSectionSettingsController * @package App\Http...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class DependencyInjectionServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { // Global register // Modules register $this->r...
<?php namespace App\ValueObjects; final class ColorContrast { const DEFAULT_THRESHOLD = 70; /** * @var int|float */ private $contrast; /** * @var int */ private $threshold; public function __construct($contrast, $threshold = self::DEFAULT_THRESHOLD) { $this->c...
<?php session_start(); $admin_name=$_SESSION["admin_name"]; if ($admin_name == NULL) { header("location: http://localhost/hospital_management_system/login.php"); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" type="image/png" href="assets/img/favicon.ico"> <met...
<?php $this->load->view('partials/header') ?> <div class="main-container"> <h1>Add a new course</h1> <div class="label"> <p>Name:</p> <p>Description:</p> </div> <form action="courses/add" method="post"> <input type="text" name="course" id=""> ...
<?php /** * Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com> * Copyright (c) 2014 Jörn Dreyer jfd@owncloud.com * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\Repair; use OC\Hooks\BasicEmitter; class RepairMimeTypes ex...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\HelpFunds; class CreateHelpFundsRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return...
@extends('template.main') @section('title', 'Highlight Berita | Portal Percepatan Digitalisasi Daerah') @if($p2dd_info != null) @section('description', strip_tags($p2dd_info['deskripsi'])) @endif @section('menu') <header> <!-- Header Start --> <div class="header-area header-transparrent "> ...
<!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 namespace App\Factory; use Sylius\Component\Product\Model\ProductInterface; use Sylius\Component\Resource\Factory\Factory as BaseFactory;; use Sylius\Component\Resource\Factory\FactoryInterface; use App\Entity\Customer\Customer; use Sylius\Component\Customer\Model\CustomerInterface; use App\Entity\User\ShopUser...
<?php namespace PersonalAccountBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping\UniqueConstraint; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * @ORM\Entity * @ORM\Table(name="student_invoice", uniqueConstraints={@UniqueConstraint(name="student_ivoice_unique", columns...
<?php include "top_menu.php" ?> <!-- Main Content --> <div class="page-wrapper"> <div class="container-fluid"> <!-- Title --> <div class="row heading-bg"> <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12"> <h5 class="txt-dark">เช็คชื่อกิจกรรมโฮมรูม</h5> </div> ...
--TEST-- Test various decimal places of money values (feature request issue 415) --DESCRIPTION-- In SQL Server, the maximum precision of money type is 19 with scale 4. Generate a long numeric string and get rid of the last digit to make it a 15-digit-string. Then replace one digit at a time with a dot '.' to make it a ...
<?php /* * This file is part of the CCDNForum ForumBundle * * (c) CCDN (c) CodeConsortium <http://www.codeconsortium.com/> * * Available on github <http://www.github.com/codeconsortium/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source cod...
<?php include('session_timeout.php'); session_start(); session_expired(); ?> <html lang="pt"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> ...
@extends('backend.layouts.app') @section('title', 'Book Table List') @section('content') <div class="content-wrapper"> <section class="content-header"> <h1> {{__('Dashboard')}} <small>Version 2.0</small> </h1> <ol class="breadcrumb"> <li><a href="{{route('...
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "healthcenter"; // Create connection $conn = new mysqli($servername, $username, $password,$dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $firstName=$_POST["firstName"]; ...
<?php return [ 'user' => [ 'changePassword' => [ 'user_not_exist' => '该用户不存在', 'old_password_wrong' => '旧密码有误', 'save_failed' => '保存失败' ], 'info' => [ 'user_not_exist' => '该用户不存在' ], 'getSubscribe' => [ 'user_not_ex...
<?php namespace extas\components\repositories; use extas\components\exceptions\MissedOrUnknown; use extas\components\repositories\clients\databases\DbCurrent; use extas\interfaces\repositories\IRepositoryDescription; use extas\interfaces\repositories\IRepositoryDynamic; /** * Class RepositoryDynamic * * @package e...
<?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 ...
@extends('layouts.ejemplolayout') @section('titulo', 'Página 02 del proyecto') @section('barralateral') @parent <p>Esta parte es de la pagina 02</p> @endsection @section('contenido') <h3>El tema elegido es: {{ $tema }}</h3> <a href="{{url('/')}}" class="btn btn-xs btn-info pull-rigth">Pagina 01</a> @endsection
<?php return array( //Attorn 'attorn_item'=>'转让项目', 'username'=>'用户名', 'receiver_name'=>'项目接收者用户名', 'verify_identity'=>'验证身份', 'your_password'=>'你的登录密码', 'attorn'=>'转让', 'close'=>'关闭', //Catalog 'new_or_edit_catalog' => '新建/编辑目录', 'catalog_name' => '目录名', 's_number' => ...
<button class="btn btn-danger"><i class="glyphicon glyphicon-erase"></i> {{ $value }}</button>
<?php namespace App\Http\Middleware; use Closure; use Auth; class AdminAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(...
<?php namespace Finite\Test; use Finite\State\State; use Finite\StateMachine\StateMachine; /** * @author Yohan Giarelli <yohan@frequence-web.fr> */ class StateMachineTestCase extends \PHPUnit_Framework_TestCase { /** * @var StateMachine */ protected $object; protected function setUp() {...
<?php /* * This file is part of the Doctrine\OrientDB package. * * (c) Alessandro Nadalin <alessandro.nadalin@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Class Where * * @package Doctrine\OrientDB * @...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Mon extends Model { public $timestamps = false; protected $table = 'mon'; protected $fillable = ['m_ten', 'm_taomoi']; protected $guarded = ['m_ma']; protected $primaryKey = 'm_ma'; protected $dates ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('orders', function...