text
stringlengths
2
1.03M
<?php ini_set('display_errors', 1); error_reporting(E_ALL); $parse_uri = explode( 'wp-content', filter_input(INPUT_SERVER, 'SCRIPT_FILENAME') ); require_once( $parse_uri[0] . 'wp-load.php' ); // On efface les fichiers existants $jsonDir = __DIR__ . '/../json'; if (is_dir($jsonDir)) { ...
@extends('layouts.dashboard', ['title' => 'Gerenciar Turmas']) @section('custom-css') <link rel="stylesheet" href="{{ asset('vendors/datatables/css/datatables.min.css') }}"/> @endsection @section('content') <div class="list-div p-4"> <table id="list" class="table table-striped table-bordered" style="w...
<?php namespace App\Http\Livewire; use Livewire\Component; class Reserved extends Component { public function render() { return view('livewire.reserved'); } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePdContentTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pd_content', ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Store extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('Store_Model'); } public function index() { $storeHashes= json_decode($this->input->post('sto...
<?php return [ 'buttons' => [ 'save' => [ 'label' => 'Guardar', ], ], 'messages' => [ 'saved' => '¡Guardado!', ], 'title' => 'Cuenta', ];
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php /* * 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\ClassLoader; if (\PHP_VERSION_ID >= 70000) { @tri...
<?php namespace HeadPortrait\Service\PriceCalculate; use HeadPortrait\Model\ActivityModel; class ActivityCalculator extends CalculatorDecorator { public function calculator(Pirce $price, $combo, $param) { $res = $this->calculator->calculator($price, $combo, $param); if (!$res || $res['status...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateViewsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { DB::statement(' CREATE VI...
<nav class="navbar navbar-default green"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" ari...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUserModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tb_user', fu...
<?php class Carro extends Veiculo { public $teto_solar = true; function abrirTetoSolar() { echo "abrir teto solar"; } function __construct($cor,$placa){ $this->cor = $cor; $this->placa = $placa; } } class Moto extends Veiculo { public $guidon = true; function __construct($cor,$plac...
<?php /* @Framework/Form/choice_widget_options.html.php */ class __TwigTemplate_8a6b346dadd647ea350e99f12ac1ff08315a4e4fa69e41c53f1cb2b6f17ac025 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Category; use App\Models\Product; use App\Models\ProductDetail; class HomepageController extends Controller { public function index(){ $categories = Category::whereRaw('up_id is null')->take(8)->get(); // $product_...
<?php namespace App\Http\Controllers; use App\Models\Role; use App\Models\Transaction; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class UserController extends Controller { public function getAdminRegister(){ $user=User::all(); $count=$user->count(); ...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Cart; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; use Commercetools\Base\JsonObjectModel; use Commercetools\Base\MapperFactory; use stdClass; ...
<?php use yii\helpers\Html; $this->title = 'Добавить товар'; $this->params['breadcrumbs'][] = ['label' => 'Товары', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \dvizh\shop\assets\BackendAsset::register($this); ?> <div class="product-create"> <?= $this->render('_form', [ 'model'...
<?php namespace app\common\model; use think\Model; class AdminSidebar extends Model { public static function getList($where = []){ return self::where($where)->select(); } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { public function getAuthor(){ return $this->hasOne('App\User', 'id','author')->first(); } }
<?php namespace App\Http\Services; use App\Http\Repositories\TableRepository; use App\Table; class TableService { protected $tableRepo; public function __construct(TableRepository $tableRepo) { $this->tableRepo = $tableRepo; } public function getAll() { return $this->tableRe...
<?php /** * This is an example of how you can use the WhatsAPI to request a code * from the WhatsAPP server, register that code and retrieve your password. * * Once you have your password you will then be able to use it in * examplefunctional.php to actually send and receive messages. * */ require_once('../src...
<?php if ( !defined('BASEPATH') ) exit('No direct script access allowed'); class Event_date_model extends CI_Model { var $table; function __construct() { parent::__construct(); $this->table = 'event_date'; } function insert($data) { $this->db->insert($this->table, ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class IndexRequestServicesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('request_services', function($table) { $table->index('request_id');...
<?php /* * This file is part of Fixhub. * * Copyright (C) 2016 Fixhub.org * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ // Fixhub specific config 'socket_url' => env('SOCKET_URL', 'http://fixhub.app'),...
<?php /** * @author col.shrapnel@gmail.com * @link http://phpfaq.ru/safemysql * * Safe and convenient way to handle SQL queries utilizing type-hinted placeholders. * * Key features * - set of helper functions to get the desired result right out of query, like in PEAR::DB * - conditional query building using p...
@extends('layouts.app') @section('content') <div class="container"> <div class="container"> <div id="navSection" data-spy="affix" class="nav sidenav"> <div class="sidenav-content"> <a href="#fclCopyInput" class="acti...
@extends('layouts.app') @section('judul','Detail Surat Masuk') @section('content') <!-- ============================================================== --> <!-- Start Page Content --> <!-- ============================================================== --> <div class="row"> <div class="col-lg-12"> <div class=...
<?php /* @var $this yii\web\View */ /* @var $model app\models\Coupon */ $this->title = Yii::t ( 'app', 'Update Coupon: {nameAttribute}', [ 'nameAttribute' => $model->title ] ); $this->params ['breadcrumbs'] [] = [ 'label' => Yii::t ( 'app', 'Coupons' ), 'url' => [ 'index' ] ]; $this->params ['bread...
@extends('frontend.app') @section('icerik') <title>Fashi | Add FAQs</title> <!-- Breadcrumb Section Begin --> <div class="breacrumb-section"> <div class="container"> <div class="row"> <div class="col-lg-12 row"> <div class="breadcrumb-text col-md-9"> ...
<?php declare(strict_types=1); namespace Mthole\OpenApiMerge\Tests\Console; use Generator; use Mthole\OpenApiMerge\Console\Application; use Mthole\OpenApiMerge\Console\Command\CommandInterface; use Mthole\OpenApiMerge\Console\IO\DummyWriter; use Mthole\OpenApiMerge\FileHandling\File; use PHPUnit\Framework\TestCase; ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; use App\Cliente; use PDF; class ClienteController extends Controller{ public function leer(Request $request){ $buscar = $request->get('buscarpor'); $tipo = $request->get('tipo'); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSettingTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('setting', funct...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use App\User; class LoginController extends Controller { public function login(Request $request){ if(Auth::attempt([ 'email' => $request->email, 'password' => $request->password ])...
@extends('frontend.layout.layout') @section('content') <section class="space-ptb mt-100"> <div class="container"> <div class="row"> <div class="col-12"> <div class="agent agent-03"> <div class="row no-gutters"> <div class="col-md-3 text-center border-right"> <div ...
<?php /* ------------------------------------------------ INFORMACION TECNICA DEL SISTEMA ------------------------------------------------ -> Autor: Daniel Rivera https://github.com/DanielRivera03 -> Sistema gestion de Casos [CRM] PHP Puro / MVC ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateIncentiveBracketsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('incen...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>RELATÓRIO</title> </head> <body> <div class="container"> <h1 class="title">RELATÓRIO {{$relatorio->id}}</h1> despesas <br> @foreach ($relatorio->despesas as $despesa) {{ $despesa->id }} <br> @end...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Inventory; class InventoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $Inventories = Inventory...
<?php namespace PaymentMethods\Services; class OttoAustriaPaymentMethodService extends PaymentMethodService{ const PLUGIN_KEY = 'plenty_OttoAustriaPayment'; const PAYMENT_KEY = 'OttoAustriaPayment'; const PAYMENT_NAME = 'Otto Österreich'; }
<?php namespace app\common\model\recharge; use app\common\model\BaseModel; use app\common\enum\recharge\order\RechargeType as RechargeTypeEnum; use app\common\enum\recharge\order\PayStatus as PayStatusTypeEnum; /** * 用户充值订单模型 * Class Order * @package app\common\model\recharge */ class Order extends BaseModel { ...
<?php declare (strict_types=1); namespace RectorPrefix20211020\Symplify\SymplifyKernel\ValueObject; use RectorPrefix20211020\Symfony\Component\Console\Application; use RectorPrefix20211020\Symfony\Component\Console\Command\Command; use RectorPrefix20211020\Symfony\Component\HttpKernel\KernelInterface; use RectorPrefi...
@extends('layouts.dashboard.app2') @section('title') @lang("site.add_category") @endsection @section('mo') @section('ti') @lang("site.add_category") @endsection <div class="box box-primary"> <div class="box-header"> </div><!-- end of box header --> <div class="box-body"> @include(...
<?php namespace ccxt; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception as Exception; // a common import class coinmarketcap extends Exchange { public function describe () { return a...
<?php use Carbon\Carbon; class BaseModel extends Eloquent { public function getCreatedAtAttribute($value) { $utc = Carbon::createFromFormat($this->getDateFormat(), $value); return $utc->setTimezone('America/Chicago'); } public function setUsernameAttribute($value) { $this->attributes['username...
<?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 /** * @file * Contains \Drupal\block_content\Controller\BlockContentController. */ namespace Drupal\block_content\Controller; use Drupal\Component\Plugin\PluginManagerInterface; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\block_content\BlockContentTyp...
@extends('admin.layouts.layout-admin') @section('content') @include('admin._partials.breadcrumb', ['category' => 'Ürünler', 'page' => 'Ürün Ekle']) <div class="portlet light"> <div class="portlet-title tabbable-line"> ...
<?php /** * Handles strict_compatibility_content_filtering. * * @author Time.ly Network Inc. * @since 2.1 * * @package AI1EC * @subpackage AI1EC.Controller */ class Ai1ec_Controller_Content_Filter extends Ai1ec_Base { /** * Content filters lib. * @var Ai1ec_Content_Filters */ ...
<?php declare (strict_types=1); namespace RectorPrefix20220126; use PHPStan\Type\IterableType; use PHPStan\Type\MixedType; use Rector\Arguments\NodeAnalyzer\ArgumentAddingScope; use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector; use Rector\Arguments\Rector\ClassMethod\ReplaceArgumentDefaultValueRector; use ...
<?php namespace App\Http\Controllers\Factory\Order; use App\Exceptions\CommonException; use App\Http\Controllers\Factory\BaseController; use App\Repositories\SaasDeliveryRepository; use App\Repositories\SaasOrdersRepository; use App\Repositories\SaasSuppliersOrderRepository; use App\Services\Exception; use Illuminate\...
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="eSolutions"> <meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="userId" content="{{ Auth::check() ? Auth::user()->id : '' }}"> <link rel="shortcut icon"...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; class LoginController extends Controller { /* |--------------------------------------------------------------...
<?php /** * \PEAR2\Pyrus\PackageFile\v2Iterator\FileInstallationFilter * * PHP version 5 * * @category PEAR2 * @package PEAR2_Pyrus * @author Greg Beaver <cellog@php.net> * @copyright 2010 The PEAR Group * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @version SVN: $I...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Pronostico extends Model { protected $fillable = ['id','partido_id', 'user_id', 'porra_id', 'goles_local', 'goles_visitante', 'cerrado']; protected $hidden = ['created_at', 'updated_at']; public function usuario(){ return $thi...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace wrxswoole\Core\Database\Component\Mysql; use wrxswoole\Core\Database\Component\ExpressionInterface; /** * Class ColumnSchema for MySQL database * * @autho...
@extends('mahasiswa.mahasiswa_layout') @section('content') <div class="container-fluid"> <!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">Pelatihan Seminar dan Workshop</h6> <br> <a href="{{url('/tambah-pela...
<?php namespace Scalr\Tests\Functional\Api\V2\TestData; use Scalr\Model\Entity; use Scalr\Tests\Functional\Api\V2\ApiTest; /** * Class ScalingRule * * @author Andrii Penchuk <a.penchuk@scalr.com> * @since 5.11.10 (11.02.2016) */ class ScalingRule extends ApiFixture { /** * Farm Role Image created for ...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php namespace App\Controllers; /** * Class BaseController * * BaseController provides a convenient place for loading components * and performing functions that are needed by all your controllers. * Extend this class in any new controllers: * class Home extends BaseController * * For security be sure to d...
<?php /** * Created by PhpStorm. * User: Sothea * Date: 9/20/2018 * Time: 10:41 PM */ namespace App\Http\Controllers\Base\Model; class ChangeLogModel { public $action; public $showName; public $oldValue; public $newValue; public static function Instance(){ return new ChangeLogModel(...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * CONTROLADOR que muestra la vista al iniciar la aplicación. * Muestra todas los Productos seleccionados en distintas páginas. */ class Main extends CI_Controller { function __construct() { parent:: __construct(); } ...
<?php namespace Payum\Core\Request; use Payum\Core\Model\PaymentInterface; use Payum\Core\Security\TokenInterface; /** * @deprecated since 0.14.3 Use Convert request */ class FillOrderDetails { /** * @var PaymentInterface */ protected $order; /** * @var TokenInterface|null */ pr...
<?php declare(strict_types = 1); /* * This file is part of Phive. * * Copyright (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de> and contributors * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ nam...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class owned_file extends Model { use HasFactory; }
<?php namespace Symbiote\MemberProfiles\Forms; use SilverStripe\Control\Controller; use SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest; class MemberProfilesAddSectionAction_ItemRequest extends GridFieldDetailForm_ItemRequest { public function Link($action = null) { if ($this->record->I...
<?php /** * @version SEBLOD 3.x Core ~ $Id: generic_more.php sebastienheraud $ * @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder) * @url http://www.seblod.com * @editor Octopoos - www.octopoos.com * @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved. * @license GNU General P...
<?php defined('IN_DESTOON') or exit('Access Denied'); /** * 后台应答类 * ============================================================================ * api说明: * getKey()/setKey(),获取/设置密钥 * getContent() / setContent(), 获取/设置原始内容 * getParameter()/setParameter(),获取/设置参数值 * getAllParameters(),获取所有参数 * isTenpaySign(),是否财...
<?php namespace App\Repository; use App\Model\Category; use App\Model\Portfolio; use App\Model\PortfolioCategory; use App\Model\Team; use App\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; class PortfolioRepository { // port category save process ...
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Messenger Messenger * @ingroup UnaModules * * @{ */ /** * Module representation */ class BxMessengerTemplate extends BxBaseModGeneralTemplate { fu...
<?php namespace Bs\StationBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class BsStationBundle extends Bundle { }
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. * * @return void */ public function r...
<?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 RandomState\LaravelApi\Exceptions; interface Exception { public function getContent(); public function getHttpStatusCode() : int; public function getMessages() : array; }
<?php /** * Template for displaying lesson item section in single course. * * This template can be overridden by copying it to yourtheme/learnpress/single-course/section/item-lesson.php. * * @author ThimPress * @package Learnpress/Templates * @version 4.0.0 */ defined( 'ABSPATH' ) || exit(); if ( ! isset(...
<?php declare(strict_types=1); namespace ElliotJReed\HaveIBeenPwned\Exception; use Exception; final class UnknownServerError extends Exception implements HaveIBeenPwned { protected $message = 'An unexpected HTTP response code was returned from the HIBP API.'; }
<?php namespace App\Api\V1\Models; use Illuminate\Auth\Authenticatable; use Laravel\Lumen\Auth\Authorizable; use Illuminate\Database\Eloquent\Model; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract; class User extends M...
@extends('layouts.app') @section('title') Register @endsection @section('content') <div class="container" ng-controller="userController"> @include('layouts.errors') <div class="row"> <div class="col-12 col-md-12"> <div class="card"> <div class="card-header text-primary">Nue...
<div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800">Yearly Report</h1> <!-- <a href="#" class="d-none d-sm-inl...
<?php declare(strict_types=1); namespace Cordo\Core\Infractructure\Persistance\Doctrine\Query; use Doctrine\DBAL\Query\QueryBuilder; use Cordo\Core\Application\Query\QueryFilterInterface; abstract class QueryBuilderFilter { protected $queryFilter; public function __construct(?QueryFilterInterface $queryFil...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Rankfoundry\eBaySDK\Trading\Enums; class BidActionCodeType { const C_ABSENTEE = 'Absentee'; co...
<?php namespace App\Rates\ConvertedCurrency; use App\PaymentInformations; class ForValueBelow2700 extends Rate { /** * @param PaymentInformations $paymentInformations * @return float */ public function calculate(PaymentInformations $paymentInformations): float { if($paymentInformat...
@extends('users.layout') @section('content') @include('users.partials.user-nav') <!--sidebar start--> @include('users.partials.user-sidebar') <!--sidebar end--> <!--main content start--> <section id="main-content" class="main-content"> <section class="wrapper"> <div class="p...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class UsersController extends Controller { public function __construct() { $this->middleware('super_admin_check:store-update-destroy'); } public function index(Re...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('items', function ...
@extends('customer.base') @section('action-content') <div class="modal-body"> <div class="panel panel-default"> <div class="modal-body"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="modal-...
<?php namespace App\Models; use App\Models\Booking; use App\Models\Bookable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Review extends Model { use HasFactory; protected $fillable = ['id', 'content', 'rating']; public function bookable() { ...
<script> function checkDelete() { var chk = confirm("Are you sure to delete this ? "); if (chk) { return true; } else { return false; } } </script> <ul class="breadcrumb"> <li> <i class="icon-home"></i> <a href="index.html">Home</a> <i class="icon-angle-right"></i> </...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\claas; use App\section; $class = claas::all(); ?> <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> table tbody tr form th input[type="text"]{ height:100px ; width:1px; background:#2E363F; position:relative; top:0; ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\PasswordReset; use App\Models\User; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Http\Request; use Exception; use Illuminate\Support\Facades\Auth; class ResetPasswordController extends Controller { /*...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException; use Illuminate\Contracts\Validation\Validator; class ArticleUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Player extends Model { protected $guarded = []; }
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Cont...
<?php namespace PragmaRX\Glottos\Repositories\Locales; /** * Part of the Glottos package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. It is also available at * the follow...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class karyawan extends Model { protected $table = 'karyawan'; protected $primarykey = 'nik_karyawan'; protected $fillable = [ 'nik_karyawan', 'nama_lengkap', 'tempat_lahir', 'tanggal_lahir', 'tanggal_mula...
@extends('app') @section('styles') <script src="{{ asset('js/leaflet.js') }}" type="text/javascript"></script> <script src="{{ asset('js/leaflet-search.js') }}" type="text/javascript"></script> <script> function getDistance(id,lat1,lon1,lat2,lon2) { var campus = L.latLng(lat1, lon1); ...
<?php include_once 'config.class.php'; include_once Config::$lpfw.'sessionManager.php'; include_once Config::$lpfw.'userManager.php'; include_once Config::$lpfw.'appl.class.php'; include_once 'dbDaSongVote.class.php'; use \maierlabs\lpfw\Appl as Appl; include_once("dbBL.class.php"); global $db; $dbVote = new dbDaSongV...
<?php /** * @Author: Hafees Rahman * @Date: 2018-07-24 23:35:49 * @Email: hafees@ndimensionz.com * @Project: walk * @Filename: main.php * @Last Modified by: hafees * @Last Modified time: 2018-08-10 23:36:33 */ /** * @Author: Hafees Rahman * @Date: 2018-06-22 17:12:39 * @Email: hafees@ndimensio...
<?php namespace App\Enums; use BenSampo\Enum\Enum; final class CodeEnum extends Enum { const SUCCESS = 1; const FAIL = 0; const VALIDATION_ERROR = 10001; const MODEL_NOT_FOUND = 10002; }
@extends('layouts.app') @section('content') <div class="card"> <div class="card-header">{{ __('Dashboard') }}</div> <div class="card-body"> @if (session('status')) <div class="alert alert-success" role="alert"> ...