text
stringlengths
2
1.03M
<?php namespace App\Model\Backend\Admin\UserRoleManagement; use Illuminate\Database\Eloquent\Model; use App\Model\Backend\Admin\UserRoleManagement\User_role_menu_action_permition; use Illuminate\Support\Facades\Auth; class User_role_menu_title extends Model { public function menuTitleUseMenePermission() ...
@extends('layout.main') @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">Register</div> <div class="panel-body"> <form class="form...
<?php return array( //最大异步任务数 'SERVICE_MAX_TASK'=>10, //最大同时接收请求数量(同步异步都算) 'SERVICE_MAX_REQUEST'=>10, //module & ctrl 名称定义(重命名的机会) 'SERVICE_MODULE_NAME'=>'monitor', //需要加载所有配置 'NeedsMoreIni'=>'MonitorEvt,ServiceProxy,DB', 'Timer_Interval_MS'=>30000, //'QueDriver'=>'\\SingleServic...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; use App\Kendaraan; class DeleteController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $ken...
<?php /** * Messages de-DE * * @author Alexander Schmidt <a.schmidt@internet-of-voice.de> * @license http://opensource.org/licenses/MIT */ return [ "I am afraid I did not understand you." => "Ich habe Sie leider nicht verstanden.", 'array' => [ 'key1' => 'value1', 'key2' => 'value2', ...
<?php /** * YAWIK * * @filesource * @license MIT * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> */ /** */ namespace CoreTest\Mail\MailService; use Core\Mail\MailService; use Core\Mail\Message; use Zend\Mail\AddressList; use Zend\ServiceManager\ServiceManager; /** * Tests sending mails v...
<?php // /docs/common/head.php ?> <meta charset="UTF-8"> <meta http-equiv="Content-Language" content="Japanese"> <meta name="keywords" content="knockout,knockoutjs,ドキュメント,MVVM,バインディング,bindings,カスタムバインディング,custombindings,"> <meta name="description" content="JavaScriptのMVVMライブラリKnockout非公式日本語ドキュメントです。"> <title>ドキュメント | ...
<?php class Servers extends \Phalcon\Mvc\Model { /** * * @var integer */ public $id; /** * * @var string */ public $name; /** * * @var string */ public $localeIp; /** * * @var string */ public $remoteIp; /** * Ini...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AntChain\SHUZIWULIU\Models; use AlibabaCloud\Tea\Model; class CreateBillReceivablebillRequest extends Model { // OAuth模式下的授权token /** * @var string */ public $authToken; /** * @var string */ public $produ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/compute/v1/compute.proto namespace Google\Cloud\Compute\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A request message for Images.TestIamPermis...
@extends('admin.layouts.main') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card mt-5"> <div class="card-header">Show Training</div> <div class="card-body"> ...
<?php /* * Opulence * * @link https://www.opulencephp.com * @copyright Copyright (C) 2017 David Young * @license https://github.com/opulencephp/Opulence/blob/master/LICENSE.md */ namespace Opulence\Cryptography\Hashing; use RuntimeException; /** * Defines a cryptographic hasher */ interface IHasher {...
<?php namespace App\Common\Models\Qyweixin\ExternalContact; use App\Common\Models\Base\Base; class MsgTemplateSendLog extends Base { function __construct() { $this->setModel(new \App\Common\Models\Qyweixin\Mysql\ExternalContact\MsgTemplateSendLog()); } public function getUploadPath() { ...
<?php namespace Anik\ElasticApm; class Transaction { private $name; private $type; public function __construct($name = null, $type = null) { $this->setName($name); $this->setType($type); } public function setName($name): self { if (!is_null($name)) { ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\solicitacoes\MaterialCopiasAutGerenciaSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="material-copias-aut-gerencia-search">     <?php $form = ActiveForm::begin([         'action' => ['ind...
@extends('layouts.admin') @section('title') Store Dashboard @endsection @section('content') <!-- Section Content --> <div class="section-content section-dashboard-home" data-aos="fade-up" > <div class="container-fluid"> <div class="dashboard-heading"> <h2 class="dashboard-title...
@extends ('layouts.admin') @section ('content') @include('alerts.cargando') @include('cria-recria.modal_alimento') @include('cria-recria.mensaje') @include('galpon.modals.modal') <?php $cont = 0;$x=1; $cantidad=0; $alimento=""; $id=0; $cantidad_granel=0; $contador_consumo=0;//cuenta el array consumo para desactivar el...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Website Cán bộ Viên chức</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="A fully featured nguoidung theme which can be used to build CRM, CMS, etc." n...
<?php return unserialize('a:1:{i:0;O:30:"Doctrine\\ORM\\Mapping\\OneToMany":6:{s:8:"mappedBy";s:8:"protocol";s:12:"targetEntity";s:6:"Annexe";s:7:"cascade";a:1:{i:0;s:6:"remove";}s:5:"fetch";s:4:"LAZY";s:13:"orphanRemoval";b:0;s:7:"indexBy";N;}}');
<?php declare(strict_types=1); namespace App\Domain\Model; final class CurrentWeather { private float $temperature; private float $rain; private float $windSpeed; private int $windDirection; public function __construct( float $temperature, float $rain, float $windSpeed...
<?php use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use Slim\Factory\AppFactory; require __DIR__ . '/../vendor/autoload.php'; $app = AppFactory::create(); $app->get('/hello/{name}', function (Request $request, Response $response, array $args) { $name...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddColumnsSessions extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('sessions', funct...
<?php namespace UUP\Exchange\Types; class ResponseMessageType { /** * @var string $MessageText */ protected $MessageText = null; /** * @var ResponseCodeType $ResponseCode */ protected $ResponseCode = null; /** * @var int $Descriptiv...
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:60:"D:\toutiao\public/../application/admin\view\genre\index.html";i:1515128682;s:63:"D:\toutiao\public/../application/admin\view\layout\default.html";i:1515128713;s:60:"D:\toutiao\public/../application/admin\view\common\meta.html";i:1515128766;s:62:"D:\toutiao\public/....
<?php /** * This is the template for generating the model class of a specified table. */ /* @var $this yii\web\View */ /* @var $generator yii\gii\generators\model\Generator */ /* @var $tableName string full table name */ /* @var $className string class name */ /* @var $queryClassName string query class name */ /* @v...
<?php namespace Oro\Bundle\NotificationBundle\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; /** * Class MassNotificationCommand * ...
<?php class Upload extends CI_Controller{ public function photo($type = '', $id = ''){ if ($type == '' || $id == '') { return false; } elseif ($type == 'user') { $user = $this->crud_model->get_by_condition('users',array('id' => $id))->row(); $config['allowed_types'] = 'jpg|png|jpeg'; ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class RequestDosen extends Model { protected $table = 'request_dosen'; protected $fillable = ['kode_mk','matakuliah','nama_dosen','durasi','jenis_ujian','ruangan','jlh_mahasiswa']; }
<?php namespace Intervention\HttpAuth\Laravel; use Illuminate\Support\ServiceProvider; use Intervention\HttpAuth\HttpAuth; class HttpAuthServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** ...
<!DOCTYPE html> <html> <body> <?php // 这是 PHP 单行注释 /* 这是 PHP 多行 注释 */ echo "Hello World!"; $txt="Hello world!"; $x=5; $y=10.5; ?> </body> </html>
<?php namespace Maize\Encryptable\Tests; use Maize\Encryptable\Encryption; use Maize\Encryptable\Exceptions\MissingEncryptionCipherException; use Maize\Encryptable\Exceptions\MissingEncryptionKeyException; class EncrypterTest extends TestCase { /** @test */ public function it_should_throw_exception_when_encr...
@extends('manager.layouts.master') @section('content') <h1>Dashboard of Manager</h1> @endsection
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; // use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\Pivot; use Illuminate\Support\Facades\DB; class BatchUser extends Pivot { use HasFactory; /** * Indicates if the IDs are auto-incremen...
<?php use App\Models\User; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::crea...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Report extends AUTH_Controller { public function __construct() { parent::__construct(); $this->load->model('M_report'); $this->load->model('M_pesanan'); $this->load->model('M_produksi'); $this->load->mo...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use backend\assets\AppAsset; use yii\helpers\Html; use yii\widgets\Breadcrumbs; use common\widgets\Alert; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yi...
<?php namespace App\Http\Livewire\Admin\Reports; use Livewire\Component; use Livewire\WithPagination; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use App\Repositories\Contracts\CountryRepositoryInterface; class Countries extends Component { use WithPagination, AuthorizesRequests; public $searc...
<?php namespace App\Filters; use App\User; class ThreadsFilters extends Filters { protected $filters = ['by','popularity','unanswered']; protected function by($username) { $user = User::where('name',$username)->firstOrFail(); return $this->builder->where('user_id',$user->id); } ...
<?php namespace Database\Factories; use App\Models\Course; use App\Models\Task; use Illuminate\Database\Eloquent\Factories\Factory; class TaskFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Task::class; /** * D...
<?php /** * LoginForm class. * LoginForm is the data structure for keeping * user login form data. It is used by the 'login' action of 'SiteController'. */ class LoginForm extends CFormModel { public $username; public $password; public $rememberMe; private $_identity; /** * Declares the validation rules. ...
@extends('layout/main') @section('title', 'Contact') @section('container') <section class="section-hero"> <div class="container"> <div class="col-lg-12 col-md-12 col-sm-12"> <h1>Contact</h1> </div> </div> </section> <!-- End content --> @endsection
<?php declare(strict_types=1); /* * This file is part of the package bk2k/bootstrap-package. * * For the full copyright and license information, please read the * LICENSE file that was distributed with this source code. */ namespace BK2K\BootstrapPackage\Updates; use Doctrine\DBAL\ForwardCompatibility\Result; u...
<header class="header b-b clearfix"> <div class="row m-t-sm"> <div class="col-sm-12 m-b-xs"> @can('files_create') <a href="{{ route('files.upload', ['module' => 'indexings', 'id' => $indexing->id]) }}" class="btn btn-{{ get_option('theme_color') }} btn-sm pu...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateVideosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('videos', functio...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<?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...
@extends('layouts.layout') @section('title','Bienvenida') @section('content') <h1>Bienvenido a la pagina principal</h1> @endsection
<?php require('../app/classLoad.php'); require('../db/PDOFactory.php');; //classes loading end session_start(); if(isset($_SESSION['userImmoERPV2'])){ ?> <!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if !IE]>...
<?php include_once 'api/product/read.php'; session_start(); if(!isset($_SESSION['login'])){ header('Location: login.php'); } ?> <html> <head> <!-- Bootstrap --> <link href="css/index.css" rel="stylesheet"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/...
<?php namespace App\Http\Controllers; use App\Http\Resources\RoleResource; use App\Models\Role; use App\Models\User; use Illuminate\Http\Request; class RoleController extends Controller { public function index() { $item=RoleResource::collection(Role::all()); return response($item); }...
<?php $count = count($rows); $this->load->library('Excel'); $objPHPExcel = new PHPExcel(); $this->excel->getDefaultStyle() ->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT); $this->excel->getActiveSheet()->setShowGridlines(true); $this->excel->getActiveSheet()->getDefaultStyle()->get...
<?php /* * 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. */ namespace app\controllers\admin; use \yii\web\Controller; /** * Description of UserController * * @author Умбакано */ class ...
<?php /** * PHPExcel * * Copyright (c) 2006 - 2012 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
<?php namespace Codesleeve\Sprockets; use RecursiveIteratorIterator, RecursiveDirectoryIterator; class StaticFilesGeneratorTest extends TestCase { public function setUp() { $this->basePath = realpath(__DIR__ . '/fixtures'); $this->tempDir = __DIR__ . '/temp'; $this->cache = new Cache\S...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProfileCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('profile_comments', function (Blueprint $table)...
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Proyecto Electiva 1</title> <link rel="stylesheet" href="{{ asset('assets/css/bootstrap.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/bootstrap-responsive.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/style__n...
<svg width="57" height="53" viewBox="0 0 57 53" fill="none" xmlns="http://www.w3.org/2000/svg"> <ellipse cx="28.5" cy="26.5" rx="28.5" ry="26.5" fill="url(#paint0_linear)"/> <path d="M16.5251 37.2729H33.3327V41.4748H16.5251V37.2729Z" fill="#57A4FF"/> <path d="M31.2319 37.2729H33.3329V41.4748H31.2319V37.2729Z" fill="#00...
<!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"> <title>LATECOMERS</title> <style> table, td, th { border: 1px solid black; } ...
<?php if (true) {^ ?>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Transaction extends Model { use HasFactory; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = ['category_id','transacti...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterTableUsersAddColumnAdm extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users',...
<!-- begin:: Footer --> <div class="kt-footer kt-grid__item kt-grid kt-grid--desktop kt-grid--ver-desktop"> <div class="kt-footer__copyright"> <?= date("Y"); ?>&nbsp;&copy;&nbsp;<a href="https://www.linkedin.com/in/bayoehidayah/" target="_blank" class="kt-link">Bayu Hidayah M.</a> ...
<?php namespace App\Listeners; use App\Events\UserApproved; use App\Notifications\ApprovedUser; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class SendUserApprovedNotification { /** * Create the event listener. * * @return void */ public function __...
<?php /* * This file is part of the iomywiab-php-constraints package. * * Copyright (c) 2012-2021 Patrick Nehls <iomywiab@premium-postfach.de>, Tornesch, Germany. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * File name....: IsU...
<?php /* SquadFttBundle:Club:new.html.twig */ class __TwigTemplate_ab4ec3f0963c47e8a63f9c5165f69d4e9c6ecda37a93774bab315a51b42be8ba extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("Squ...
<?php declare(strict_types=1); namespace PhelTest\Unit\Compiler\Analyzer\SpecialForm; use Phel\Compiler\Analyzer\Analyzer; use Phel\Compiler\Analyzer\AnalyzerInterface; use Phel\Compiler\Analyzer\Ast\DefStructNode; use Phel\Compiler\Analyzer\Environment\GlobalEnvironment; use Phel\Compiler\Analyzer\Environment\NodeE...
<?php namespace app\models; use Yii; /** * This is the model class for table "car". * * @property integer $id * @property string $mark * @property string $model * @property string $colour * @property string $state_num * @property integer $price * @property integer $status * @property string $foto * @prope...
<?php namespace CEPROZAC\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace Pushword\Flat\Importer; use DateTimeInterface; //use iBudasov\Iptc\Manager as Iptc; use Pushword\Core\Entity\MediaInterface; /** * Permit to find error in image or link. */ trait ImageImporterTrait { abstract protected function getMedia(string $media): MediaInterface; public function impor...
<?hh /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) * Description: Returns the entries of arr1 that have values which are present in all the other arguments. * Keys are used to do more restrictive check * Source code: ext/standard/array.c */ <<__EntryPoint>> function main(): v...
<?php /** * ALIPAY API: alipay.overseas.open.preorder.create request * * @author auto create * @since 1.0, 2020-11-27 15:59:53 */ class AlipayOverseasOpenPreorderCreateRequest { /** * 预下单 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCo...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <form actio...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> ERROR - 2014-11-10 00:50:09 --> 404 Page Not Found --> robots.txt ERROR - 2014-11-10 01:32:20 --> 404 Page Not Found --> robots.txt ERROR - 2014-11-10 01:42:56 --> 404 Page Not Found --> robots.txt ERROR - 2014-11-10 01:46:17 --> 404 Page N...
<?php namespace RainLoop\Providers\TwoFactorAuth; abstract class AbstractTwoFactorAuth { /** * @return string */ public function Label() { return 'Two Factor Authenticator Code'; } /** * @param string $sSecret * @param string $sCode * @return bool */ public function VerifyCode($sSecret, $sCode) ...
<?php namespace App\Http\Controllers\Admin; use DB; use Datatables; use Carbon\Carbon; use App\Models\PostsType; use Illuminate\Http\Request; use App\Http\Controllers\AppController; class PostsTypesController extends AppController { /** * Display a listing of the resource. * * @return \Illuminate\...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Auth; class LoginController extends Controller { /* |------------------------------------------------------...
<?php namespace App\Http\Controllers; use App\Models\Domain; use Illuminate\Http\Request; use Inertia\Inertia; class NslookupController extends Controller { protected function getDnsTypeOptions() { $type = [ 'A', 'AAAA', 'CNAME', 'MX', 'NS',...
<?php namespace Food\OrderBundle\Service\Banklink; abstract class AbstractBanklink { abstract public function getBankUrl(); abstract public function mac($data = array(), $vkService = 0); private $privateKey; private $bankKey; public function __construct($config) { $this->privateKey =...
<?php /** * @see https://github.com/dotkernel/dot-controller/ for the canonical source repository * @copyright Copyright (c) 2017 Apidemia (https://www.apidemia.com) * @license https://github.com/dotkernel/dot-controller/blob/master/LICENSE.md MIT License */ declare(strict_types = 1); namespace Dot\Controller\Plu...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\accountsController; use App\Http\Controllers\LedgerPartiesController; use Carbon\Carbon; use DB; class investorController extends Controller { public static function addInvestorProduct(Request $request, $CO){ $ata=jso...
<?php namespace Drupal\exo_config_file\Form; use Drupal\Core\Entity\EntityConfirmFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; /** * Builds the form to delete eXo Config File entities. */ class ExoConfigFileDeleteForm extends EntityConfirmFormBase { /** * {@inheritdoc} */ publi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class SearchRequest extends Model { protected $fillable = [ 'closed' ]; public function getAttachmentsAttribute($value) { return explode(',',$value); } }
<footer class="footer text-center"> <div class="container"> <!--logo2--> <div class="loga2 wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s"> <a href="index.html"> <h1>L<span>a Loma</span></h1> </a> <p>Mexico</p>...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\User; use Faker\Generator as Faker; use Illuminate\Support\Str; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Thi...
<?php /* * Copyright (C) 2011 by TEQneers GmbH & Co. KG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
<?php namespace app\admin\controller; use app\admin\model\Admin; use app\common\model\System; use think\captcha\facade\Captcha; use think\facade\Request; use think\facade\Session; use think\facade\View; class Login { // 登录页面 public function index() { //查找所有系统设置表数据 $system = System::getLis...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Depoimentos extends Model { protected $table = 'depoimentos'; protected $fillable = [ 'id', 'imagens_id', 'name', 'testemonial' ]; protected $dates = ['created-at', 'updated-at...
<header class="header_area sticky-header"> <div class="main_menu"> <nav class="navbar navbar-expand-lg navbar-light main_box"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <a class="navbar-brand logo_h" href="/"><img src=...
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?> <script> const dataStats = Object.values(<?= json_encode($stat) ?>); </script> <h2 class="content__heading">Demografi Berdasar <?= $heading ?></h2> <hr class="--mt-2 --mb-2"> <section class="content__article"> <div class="--flex --items-c...
<?php namespace App; abstract class SkillCategory{ const FUNDAMENTAL = 1; const FUNDAMENTAL_DETAIL = "Basic knowledge"; const NOVICE = 2; const NOVICE_DETAIL = "Limited experience"; const INTERMEDIATE = 3; const INTERMEDIATE_DETAIL = "Practical application"; const ADVANCED = 4; ...
<?php echo Modules::run('templates/Templates/header'); ?> <?php echo Modules::run('templates/Templates/sidebar'); ?> <section class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Utilisateurs </h1> <ol class="breadcrumb"> ...
<?php namespace Ekyna\Bundle\PayumMoneticoBundle; use Ekyna\Bundle\PayumMoneticoBundle\DependencyInjection\Compiler\RegisterGatewayPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * Class EkynaPayumMoneticoBundle * @package Ekyna\Bundle\PayumMone...
@extends('producto.layout') @section('encabezado') <h2>Listado de productos</h2> @endsection @section('contenido') <a href="{{route ('producto.create')}}" class="btn btn-success mb-2">Agregar</a> <br> <div class="row"> <div class="col-12"> <table class="table table-bordered"...
<?php /* * * LiveOptim - Optimize the content of your articles and automatically tickets to easily improve your position in the results of search engines: Google, Baidu, Yandex, Bing ... * License: GPLv3 * License URI: http://www.gnu.org/licenses/gpl.htm * Copyright (C) 2012 Erwan MILBEO — All rights reserved * ...
@component('mail::message') # Du nouveau sur Shopify Un nouveau produit vient d'être modifié sur votre plateforme shopify. N'hésitez pas à le consulter en cliquant sur le bouton ci-dessous. @component('mail::button', ['url' => 'produits']) Voir le produit @endcomponent Merci d'avoir choisi Shopify pour votre shoppin...
<?php $page = 'index'; include "inc/header.php"; $action = isset( $_GET['action'] ) ? $_GET['action'] : ""; switch ( $action ) { case 'archive': archive(); break; case 'viewPosts': viewPosts(); break; default: homepage(); } function archive() { $results = array(); $data = Posts::getLi...
<?php namespace App\Actions\Banner; class DeleteBanner { public function destroy($banner) { if ($banner->picture != null) { $banner->getMedia('banner')->each(function($item){ $item->delete(); }); } $banner->delete(); return null; } }
<?php /* * Pipedrive * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ namespace Pipedrive\Http; /** * HTTP Methods Enumeration */ class HttpMethod { const GET = "Get"; const POST = "Post"; const PUT = "Put"; const PATCH = "Patch"; const DELETE = "Delete"; ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLanguagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('languages', f...