text stringlengths 2 1.03M |
|---|
<?php
/**
* RoomStatus
*
* PHP version 5
*
* @category Class
* @package Ale\Rainbow\S2S\Client\S2S
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* S2S api
*
* # Rainbow S2S API guide ## Preamble ### Introduction This guide describes a list of API services that are... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use Tmdb\Helper\ImageHelper;
use Tmdb\Repository\MovieRepository;
class IndexController extends Controller
{
private $movies;
private $popular;
public function __construct(MovieRepository $movies, ImageHelper $h... |
<?php
namespace PhpLab\Sandbox\RestClient\Yii\Web\controllers;
use PhpLab\Core\Exceptions\NotFoundException;
use PhpLab\Sandbox\RestClient\Domain\Entities\ProjectEntity;
use PhpLab\Sandbox\RestClient\Domain\Interfaces\Services\ProjectServiceInterface;
use Yii;
use yii\web\ForbiddenHttpException;
use yii\web\NotFoundH... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateStepsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('steps', function ... |
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once '../Chapter 02/DebugSubject.php';
use React\EventLoop\StreamSelectLoop;
use Rx\Scheduler\EventLoopScheduler;
use Rx\Subject\Subject;
use Rx\Observable;
$loop = new StreamSelectLoop();
$scheduler = new EventLoopScheduler($loop);
$source = Observabl... |
<?php
namespace App\Http\Controllers\AJAX;
use App\Http\Controllers\Controller;
use App\Http\Requests\ClaimPostRequest;
use App\Models\Claim;
use App\Models\ClaimLineItem;
use App\Models\Participant;
use App\Models\Provider;
use Box\Spout\Common\Exception\IOException;
use Carbon\Carbon;
use F9Web\ApiResponseHelpers;
... |
@extends('layouts.app')
@section('content')
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h1">Modificar de Producto</h1>
</div>
<div class="card">
... |
<?php
namespace Home\Controller;
use Common\Controller\VerifyController;
use Common\Model\ProjectModel;
use Common\Service\CommonService;
use Common\Service\DiskService;
use Common\Service\ProjectService;
use Common\Service\SchemaService;
use Common\Service\StatusService;
use Common\Service\StepService;
use Common\Se... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function __construct()
{
$this->middleware('auth');
}... |
<?php
namespace App\Http\Controllers;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Validator;
class AttachmentController extends Controller
{
public function __invoke(Request $request): bool|string|F... |
<td>
<div class="btn-group btn-group-sm">
<?php foreach ($this->configuration->getValue('list.object_actions') as $name => $params): ?>
<?php if ('_delete' == $name): ?>
<?php echo $this->addCredentialCondition('[?php echo $helper->linkToDelete($'.$this->getSingularName().', '.$this->asPhp($params).') ?]'... |
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Database\QueryException;
use Illuminate\Validation\ValidationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Compo... |
<?php
require_once(__DIR__ . '/../autoload.php');
$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY'); // Set your own API access key here.
try {
$mmsList = $messageBird->mmsMessages->getList(['offset' => 0, 'limit' => 30]);
var_dump($mmsList);
} catch (\MessageBird\Exceptions\AuthenticateException $e)... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
require 'session_check.php';
require 'db.php';
$id= $_GET['id'];
$delete= "DELETE FROM single_user WHERE id=$id";
$select_result= mysqli_query($db, $delete);
header('location:supervisor_view.php');
?> |
@extends('admin/layout')
@section('page_title','Deshboard')
@section('dashboard_select','active')
@section('container')
<div class="row">
<h1>Dashboard</h1>
</div>
@endsection |
<!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.0">
<title>Show Author</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/boot... |
<?php
namespace Blaze\Myst\Laravel\Facades;
use Illuminate\Support\Facades\Facade;
use \Blaze\Myst\Api\Requests\BaseRequest;
/**
* @method static \Blaze\Myst\Api\Objects\Update|\Throwable handleUpdate(callable $pre_function = null)
* @method static \Blaze\Myst\Api\Objects\Update getWebhookUpdate()
* @method stati... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AvoredBannerSchema extends Migration
{
/**
*
* Install the AvoRed Featured Module Schema.
*
* @return void
*/
public function up()
{
... |
@extends('main')
@section('update-documents')
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jqu... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Brands;
class UpdateBrandsRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;... |
<?php
namespace GbiliMediaEntityModuleTest\Entity;
class BaseFileTest extends \PHPUnit_Framework_TestCase
{
public function testSlugifyMethod()
{
}
} |
<!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="">
<meta name="author" content="">
<!-- <link rel="icon" type="image/png" s... |
<?php
// Added by KP on March 31, 2015. So, if something is buggered, it's probably my bad! ;-)
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'reduxNewsflash' ) ) {
class reduxNewsflash {
private $parent = null;
private $notice_data = '';
... |
<?php
declare(strict_types=1);
namespace Miklcct\Nwst\Parser;
use Miklcct\Nwst\Model\Rdv;
use Miklcct\Nwst\Model\Route;
use Miklcct\Nwst\Model\RouteInStop;
use Miklcct\Nwst\Model\StopInfo;
use function array_filter;
use function array_slice;
use function explode;
use function Miklcct\Nwst\enable_error_exceptions;
use... |
<?php
/**
* A class of methods for adding icons to menu items.
*
* @since 1.0.0
* @package Worknet
* @subpackage Worknet/classes
*/
class Worknet_Slushicons {
/**
* Constructor
*/
public function __construct() {}
/**
* Registers all the WordPress hooks and filters for this class.
*/
public f... |
<div class="mt-8 max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
{{$slot}}
</div> |
<?php
namespace MVNerds\ViewBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfon... |
<?php
namespace App\Services\AmericanFoundation\Entities;
use App\Services\AmericanFoundation\Entities\AppEntity;
class AfCustomerEntity extends AppEntity
{
protected $af_id;
protected $customer_id;
protected $rep_id;
protected $referred_by_type;
protected $company_name;
protected $first_nam... |
<?php
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Sunra\PhpSimple\HtmlDomParser;
class LayTinTucZing extends Command {
protected $name = 'laytintuc:zing';
protected $description = 'Lay tin tuc tu trang zing';
public fu... |
<?php
/*
* This file is part of the Libralyze Device List.
*
* (c) RUNALYZE <mail@runalyze.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Libralyze\Devices\Device;
class GarminMarqDriver extends AbstractDevice
{
use GarminD... |
<?php
namespace Apie\OpenapiSchema\Spec;
use Apie\OpenapiSchema\Concerns\CompositeValueObjectWithExtension;
use Apie\OpenapiSchema\Map\MediaTypeMap;
use Apie\ValueObjects\ValueObjectInterface;
class RequestBody implements ValueObjectInterface
{
use CompositeValueObjectWithExtension;
/**
* @var string|... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePhonesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('phones', functio... |
<?php
/******************************
------Глобальные объекты-------
******************************/
App::setProperty('test', 'test_value');
/******************************
-----------События-------------
******************************/
Event::register('test', function(&$data) {
echo "firstHandler\n";
$data['tes... |
<?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.
*/
echo "ok"; |
<?php
namespace app\admin\controller;
use think\facade\Lang;
use think\facade\Request;
use app\common\model\Hooks;
use app\common\model\Addons as AddonsModel;
class Addons extends Admin
{
public function index()
{
// 分页列表
$obj = new AddonsModel;
$list =$obj->getList();
$data = ... |
<?php
namespace PhpAmqpLib\Connection\Heartbeat;
use PhpAmqpLib\Connection\AbstractConnection;
use PhpAmqpLib\Exception\AMQPRuntimeException;
/**
* Manages pcntl-based heartbeat sending for a {@link AbstractConnection}.
*/
final class PCNTLHeartbeatSender
{
/**
* @var AbstractConnection
*/
private... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateNormalAdminRole extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$managerRole = new \Kodeine\Acl\Models\Eloquent\Role([
... |
@extends('layouts.frontend')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">
{{ trans('global.create') }} {{ trans('cruds.assetLocation.title_singular') ... |
<?php
namespace App\Http\Controllers\Author\Setting;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Validator;
use App\User;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;
use Illuminate\Support\Facades\Hash;... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use App\Models\Department;
class RegisterController extends Controller
{
public function index(){
return view('auths.register');
}
public function createDepartment(){
$id_depart = Department::all();
... |
<?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
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePeliculaGeneroTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pelicula_genero', function (Blueprint $table) {... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Jobs extends Model
{
protected $fillable = ['job_id','client_id','property_id', 'user_id', 'description','type','date_started','date_ended','time_started','time_ended','internal_notes','invoicing', 'duration', 'duration_unit', 'billing_frequency',... |
<?php
namespace App\Http\Controllers;
use App\Models\AdminUser;
use Illuminate\Http\Request;
class UpdateUserController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index(AdminUser $adminUser)
{
return view('pages.update-user', [... |
<?php
namespace App\Http\Controllers;
use App\Services\BraintreeGateway;
use Illuminate\Support\Facades\Auth;
class PaymentTokenController extends Controller {
/**
* Send to the client a token related to a braintree customer for a transaction
*
* @param BraintreeGateway $braintreeGateway
* @r... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateWeekWiseFrequencyMastersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class insert_users extends CI_Model {
public function insert($data)
{
$this->db->insert('users', $data);
}
}
/* End of file insert_users.php */ |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Api;
/**
* Interface \Magento\Framework\Api\AttributeTypeResolverInterface
*
*/
interface AttributeTypeResolverInterface
{
/**
* Resolve attribute type
*
* @param s... |
@extends('login.register')
@section('title')
重置密码
@endsection
@section('content')
<div role="main" class="main">
<section class="page-top">
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="#">Home</a></li>
<li cl... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@yield('meta')
<title>AllStars</title>
<!-- Google Tag Manager -->
<script>(functio... |
<?php
namespace frontend\controllers;
use Yii;
use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\LoginForm;
use frontend\models\PasswordResetRequestForm;
use frontend\models\ResetPasswordForm;
u... |
<?php
namespace XF\Service\ProfilePostComment;
use XF\Entity\ProfilePostComment;
use XF\Entity\User;
class Deleter extends \XF\Service\AbstractService
{
/**
* @var ProfilePostComment
*/
protected $comment;
/**
* @var User
*/
protected $user;
protected $alert = false;
protected $alertReason = '';
pu... |
@extends("layout")
@section("tieude", "Update Ticket")
@section("contentHeader", "Update TicketRepository")
@section("content")
<div class="row mt-4">
<div class="col">
<div class="card">
<!-- Card header -->
<div class="card-header border-0">
... |
<?php declare(strict_types=1);
/**
* Copyright © Willem Poortman 2021-present. All rights reserved.
*
* Please read the README and LICENSE files for more
* details on copyrights and license information.
*/
namespace Magewirephp\Magewire\ViewModel;
use Magento\Framework\App\ProductMetadataInterface;
use Magento\F... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'kopokopo',
'sms'... |
<?php
namespace Azure\Http\Controllers;
use Azure\Jobs\CompileReports;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function index(Request $request)
{
$job = new CompileReports($request);
$this->dispatch($job);
//$this->dispatchFrom(CompileReports::cla... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
class followsController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function store(User $user){
return auth()->user()->following()->toggle($user->profile);
}
} |
@extends('admin.layouts.app')
@section('content')
<div class="content">
<!-- Start Content-->
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4 clas... |
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";
$search = $this->... |
<?php
class Transaksi extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model("HeaderModel","",TRUE);
$this->load->model("TransaksiModel","",TRUE);
$this->load->model("RekeningModel","",TRUE);
$this->load->model("KonfigurasiModel","",TRUE);
... |
<?php
namespace App\Middleware;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class Benchmark {
protected $container;
protected $start;
public function __construct(\Slim\App $app) {
$this->container = $app->getContainer();
$this->sta... |
<?php
return [
'default' => 'mongodb',
'connections' => [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', ''),
'username' => env('DB_USERNAME', ''),
'password' => env('DB_PA... |
<?php
/*
* This file is part of PharIo\Manifest.
*
* (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namesp... |
<?
// Define the global cache date for assets
define('MMRPG_CACHE_DATE', '20XXYYZZ-01');
// Define the base directory and URL for the project
define('MMRPG_ROOT_DIR', '/var/www/mmrpg.map.editor/html/');
define('MMRPG_BASE_HREF', 'http://mmrpg.map.editor/');
?> |
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Validation\ValidationException;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that should not be reporte... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEmployeesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('employees', f... |
<style>
#panel-first-step{
text-align: center;
margin-top:20px;
}
#panel-first-step button{
margin-bottom:5px;
}
</style>
<!--
<div class="col-md-12" id="panel-first-step">
<div class="col-md-3">
<button class="btn bg-green"><i class="fa fa-plus-circle"></i> Référencer une association</button></br>
<la... |
<?php
/*
| 작성자 : sb
| 작성일 : 2021-10-19
| 용도 : 모든 TLA 웹페이지에서 재사용할 수 있는 페이지 header
*/
?>
<!DOCTYPE html>
<html>
<head>
<title>TLA Consulting Pty Ltd</title>
<link href="styles.css" type="text/css" rel="stylesheet">
</head>
<body>
<!-- page header -->
<header>
<img src="logo.g... |
<?php
namespace frontend\controllers;
use Yii;
use common\models\City;
use common\models\Citycategory;
class ReserverController extends \yii\web\Controller
{
public $layout = 'LayoutWhite';
public function actionIndex()
{
$request = Yii::$app->request;
$get = $request->get('cityid'); ... |
@extends('must')
<link href="{{url('css/comm.css')}}" rel="stylesheet" type="text/css" />
<link href="{{url('css/member.css')}}" rel="stylesheet" type="text/css" />
@section('content')
<body class="g-acc-bg">
<div class="welcome" style="display: none">
<p>Hi,等你好久了!</p>
<a href="" class="orang... |
<?php
/**
* @package FrameworkOnFramework
* @subpackage view
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// Protect from unauthorized access
defined('FOF_INCLUDED') or die;
... |
<?php
namespace App\Observers;
use App\Jobs\CalculateUsedDiskSpace;
use App\Jobs\GenerateUrlPreview;
use App\Models\Url;
use Illuminate\Support\Facades\Bus;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Storage;
class UrlObserver
{
/**
* Handle the Url "created" event.
*
* @... |
<?php
/**
* Display single product reviews (comments)
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.2.0
*/
global $product;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if ( ! comments_open() ) {
return;
}
?>
<div id="reviews">
<div id="comments">
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| User config
|--------------------------------------------------------------------------
|
| Here you can specify voyager user configs
|
*/
'user' => [
'add_default_role_on_regist... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
You received a message:
<p>
Name: {{ $name }}
</p>
<p>
{{ $email }}
</p>
<p>
{{ $user_message }}
</p> |
<?php
echo "<html>";
echo '<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" />';
echo "<body>";
echo "<p>*** start ***</p>";
echo "<p>test_write01.php</p>";
echo "<h2>テスト</h2>";
echo "<p>ファイルの書き込み</p>";
//
$file_out = "/tmp/tmp0012.txt";
$fp_out = fopen($file_out,'w');
fputs($fp_out,"*** start ***\n")... |
<?php
//Your database configuration
return array(
'driver' => 'mysql', // Db driver
'host' => 'localhost',//Your webhost
'database' => 'jerry',//Your DataBase Name
'username' => 'root',//Your database username
'password' => '',//Your database passwo... |
@extends('layoutsadmin.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-4">
@include('layouts.sidebar')
</div>
<div class="col-md-8">
<!--Search -->
<div class="searchparentadmin">
... |
<?php
namespace App\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Passport\Token;
use SMartins\PassportMultiauth\HasMultiAuthApiTokens;
class Organizer extends Authenticatable
{
protected $fillable=[
'name','description','picture','email... |
<div class="page-header">
<div class="row">
<div class="col-md-4">
<div class="media">
<div class="media-body">
<div class="display-6">Division Management</div>
<!-- <p class="small text-muted">
Info Table Desig... |
<?php
/**
* Inactive categories cannot be seen by public users
*
* @author Daniel Deady <daniel@clockworkgeek.com>
* @license MIT
*/
class Clockworkgeek_Extrarestful_Model_Api2_Categorytree_Rest_Guest_V1
extends Clockworkgeek_Extrarestful_Model_Api2_Categorytree
{
/**
* Guests may not see inactive categ... |
<x-front-layout>
<div class="container">
<div class="row justify-content-center mt-5">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<form method="POST" action="{{ route('password.update') }}">
@csrf
... |
@extends('layout')
@section('content')
<section id="form"><!--form-->
<div class="container">
<div class="row">
<div class="col-sm-4 col-sm-offset-1">
<div class="login-form"><!--login form-->
<h2>Account Log In</h2>
<form action="{{URL::to('/login-customer')}}" method="POST">
{{csrf_... |
<?php
return [
'color' => 'Färg som RGB eller Hex (frivilligt)',
'color_ph' => 'Färg, t ex. #ffffff eller rgb(255, 255, 255)',
'create_new_item' => 'Skapa Nytt Menyobjekt',
'delete_item_confirm' => 'Ja, Radera Detta Menyobjekt',
'delete_item_question' => 'Är du... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Produit extends Model
{
use HasFactory;
public $fillable=["designation","description","prix", "category_id","image"];
public function category ()
{
return $th... |
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@if($errors ->any())
<div class="alert alert-danger m-b-0">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-... |
<?php
namespace App\Controllers;
class Home extends BaseController
{
public function index()
{
echo view('header');
echo view('areaAdm');
echo view('footer');
}
} |
<?php
namespace App\Http\Controllers\Admin;
use App\DataTables\PackageDatatables;
use App\Http\Controllers\Controller;
use App\Repositories\PackageRepository;
use App\Repositories\DestinationRepository;
use App\Http\Requests\PackageRequest;
use Illuminate\Http\Request;
use App\PackagePrice;
use App\PackageOption;
use... |
<?php
class HttpBase
{
public $header;
public $server;
public $get;
public $post;
public $cookie;
public $files;
public $raw_content;
public $session;
public $resp_data;
protected $display_data;
public function sessionStart()
{
}
public function setS... |
<?php
namespace Algolia\SearchBundle;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
class SearchableEntity implements SearchableEntityInterface
{
protected $indexName;
protected $entity;
protected $entityMetadata;
protect... |
<?php
// +----------------------------------------------------------------------
// | core\libPHP [ WE CAN DO IT JUST core\lib ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2017 http://core\libphp.cn All rights reserved.
// +----------------------------------------... |
<?php
/**
* Created by PhpStorm.
* User: adminn
* Date: 2018/4/12
* Time: 17:51
*/
namespace app\common\controller;
use think\Config;
use think\Controller;
use think\Route;
class Pay extends Controller {
protected $nodeUrl;
protected $blackListRule = [
'index/logi... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Svg\\' => array($vendorDir . '/phenx/php-svg-lib/src/Svg'),
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
'PhpOffice\\PhpSpreadsheet\\' => array... |
<?php
namespace App\Controller;
use App\Entity\Adherent;
use App\Form\AdherentType;
use App\Repository\AdherentRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annota... |
<?php
include_once('../controller/config.php');
if(isset($_GET["do"])&&($_GET["do"]=="confirm_friends")){
$my_index=$_GET['my_index'];
$friend_index=$_GET['friend_index'];
$msg=0;
$sql="update my_friends set _status='Friend',_isread='1' where my_index='$my_index' and friend_index='$friend_index'";
if(mysql... |
<?php
// This file is example#1
// from http://www.php.net/manual/en/function.get-included-files.php
include 'test1.php';
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';
$included_files = get_included_files();
foreach ($included_files as $filename) {
echo "$filename\n";
} |
<?php
use Sim\Utils\StringUtil;
$validator = form_validator();
?>
<div class="dashboard_content">
<div class="card">
<div class="card-header">
<h3>ویرایش نظر</h3>
</div>
<div class="card-body">
<div class="d-block d-lg-flex m-0 align-items-start">
... |
@extends ('layouts.admin')
@section ('contenido')
<head>
<title>Pedidos</title>
<!--<link rel="stylesheet" href="{{ asset('css/Almacen/usuario/styles-iniciar.css') }}" />-->
</head>
<body>
<!--Control de errores en los campos del formulario-->
<div class="container col-sm-12" align="center">
<div class="row"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.