text stringlengths 2 1.03M |
|---|
<?php
namespace Artesaos\Defender\Repositories\Eloquent;
use Artesaos\Defender\Contracts\Repositories\RoleRepository;
use Artesaos\Defender\Contracts\Role;
use Artesaos\Defender\Exceptions\RoleExistsException;
/**
* Class EloquentRoleRepository.
*/
class EloquentRoleRepository extends AbstractEloquentRepository im... |
<?php
define('baafoo', 'blub');
echo BAAFOO; |
<?php
namespace App\Http\Controllers;
use App\Models\Categoria;
use Illuminate\Http\Request;
use Spatie\Activitylog\Models\Activity;
class CategoriaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
use DB;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateKelasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kelas', function ... |
@extends('admin.layout.app')
@section('content')
<!--begin::Entry-->
<div class="d-flex flex-column-fluid">
<!--begin::Container-->
<div class="container">
<!--begin::Card-->
<div class="card card-custom card-transparent">
<div class="p-0 card-body">
<!--begin::Wizard-->... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Mts\V20140618\Models\QueryFpShotJobListResponseBody\fpShotJobList\fpShotJob\fpShotResult\textFpShots\textFpShot\textFpShotSlices\textFpShotSlice;
use AlibabaCloud\Tea\Model;
class inputFragment extends Model
{
/**
* @va... |
<script>
$(document).ready(function(){
$("#department").change(function(){
var dep = $("#department").val();
$.ajax({
type: "POST",
url:"<?php echo base_url();?>manage/getBookByDepId/"+dep,
success:function(data){
$... |
<?php
namespace LaminasTest\Db\Adapter\Driver\IbmDb2;
use PHPUnit\Framework\TestCase;
use function extension_loaded;
use function getenv;
abstract class AbstractIntegrationTest extends TestCase
{
/** @var array */
protected $variables = [
'database' => 'TESTS_LAMINAS_DB_ADAPTER_DRIVER_IBMDB2_DATABAS... |
<?php
set_include_path( ".:" . __DIR__ . "/../includes/");
include_once "web_functions.inc.php";
include_once "ldap_functions.inc.php";
include_once "module_functions.inc.php";
set_page_access("admin");
render_header();
render_submenu();
$invalid_password = FALSE;
$mismatched_passwords = FALSE;
$invalid_username = ... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Payment extends CI_Module {
const PAYMENT_METHOD_PAYPAL_EC = 'paypal_ec';
const PAYMENT_METHOD_PAYPAL = 'paypal';
const PAYMENT_METHOD_CREDIT_CARD = 'credit_card';
const PAYMENT_METHOD_SOFORT = 'sofort';
const PAYMENT_METHOD_SAFETYP... |
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative... |
<?php
/**
* Created by PhpStorm.
* User: asasi
* Date: 2018/8/16
* Time: 15:39
*/
namespace by\component\message_sender\impl;
use by\component\message_sender\interfaces\SenderInterface;
use by\component\sms\aliyun\AliyunSmsManage;
class AliyunSmsSender implements SenderInterface
{
protected $data = [
... |
<?php echo $__env->make('components.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>;
<body>
<div class="container">
<div class="content">
<div class="title">home 2</div>
</div>
</div>
</body>
</html> |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
/**
* LoginForm is the model behind the login form.
*
* @property User|null $user This property is read-only.
*
*/
class LoginForm extends Model {
public $username;
public $password;
public $rememberMe = true;
private $_user = false;
... |
<?php
<<__EntryPoint>> function main() {
$file = dirname(__FILE__).'/iptcembed_001.data';
$fp = fopen($file, "w");
fwrite($fp, "-1-1");
fclose($fp);
var_dump(iptcembed('-1', $file, -1));
unlink($file);
echo "Done\n";
} |
<?php
namespace App\Form;
use App\Entity\Annonces;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\FileType;
use Symfony\Component\Form\Extension\Core\Type\NumberType;
use Sy... |
@extends('base')
@section('content')
<!-- Main Section -->
<section class="main-section">
<!-- Add Your Content Inside -->
<div class="content">
<!-- Remove This Before You Start -->
<h1>Register new user</h1>
<hr>
@if ($errors->any())
... |
<?php
namespace MangoPay;
class Ubo extends Libraries\EntityBase
{
/**
* @var string
*/
public $FirstName;
/**
* @var string
*/
public $LastName;
/**
* @var Address
*/
public $Address;
/**
* @var string
*/
public $Nationality;
/**
*... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Image extends Model
{
use HasFactory;
//Relacion polimorfica
public function imageable(){
return $this->morphTo();
}
} |
<?php
/**
* CWsdlGenerator class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008-2013 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* CWsdlGenerator generates the WSDL for a given service class.
*
* The WSDL generation is base... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Языковые ресурсы для проверки значений
|--------------------------------------------------------------------------
|
| Последующие языковые строки содержат сообщения по-умолчанию, используемые
| ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Oftalmologo extends Model
{
use SoftDeletes;
protected $table = 'oftalmologos';
protected $fillable = [
'user_id',
'nit',
'celular',
];
protected $dates = ['del... |
@extends('layouts._layout')
@section('content')
<div class="container-fluid">
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<h4 class="text-themecolor">Tambah Kecamatan</h4>
</div>
<div class="col-md-7 align-self-center text-right">
<div clas... |
@extends('plantillas.admin_template')
@include('tareas._common')
@section('header')
<ol class="breadcrumb">
<li><a href="{{ route('home') }}"><span class="glyphicon glyphicon-home" aria-hidden="true"></span></a></li>
<!--
@if ( $query_params = Request::input('q') )
<li class="ac... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lambdavirtual</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=N... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSitesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sites', function ... |
@extends('layouts.global')
@section('title') Helper list @endsection
@section('content')
<script>
$(document).ready(function(){
setInterval(
function(){
$('#helper').load('{{route('reqpin.helper', ['id' => $id ])}}').fadeIn("slow");
console.log('sss');
},5000);
});
</script>
<div class="row"... |
@extends('appDashBoard')
@section('content')
<h2 class="page-header"><span class="octicon octicon-book"></span>{{ isset($article) ? '固定ページ 編集':'固定ページ 新規追加'}}</h2>
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Error!!</strong> 投稿できません。<br><br>
<... |
<?php
declare(strict_types=1);
namespace Okaruto\Space\Business\Order;
use Okaruto\Cryptonator\Invoice;
use Okaruto\Space\Business\Token\AvailableTokenInterface;
use Okaruto\Space\Business\Token\TokenManager;
use Okaruto\Space\Database\PrepareStatementTrait;
/**
* Class OrderManager
*
* @package Okaruto\Space\... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateApiVersionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('api_version... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\PictureInfo;
use JMS\Serializer\Annotation\ExclusionP... |
<?php
/**
* @file
* Contains \Drupal\locale\Form\TranslationStatusForm.
*/
namespace Drupal\locale\Form;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\State\StateInterface;
use Symfony\Component\DependencyInjection\Contain... |
<?php
/**
*
* This file is part of Aura for PHP.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
*/
namespace Aura\Filter\Rule\Sanitize;
/**
*
* Forces the value to an ISBN.
*
* @package Aura.Filter
*
*/
class Isbn
{
/**
*
* Forces the value to an ISBN.
*
* @param ... |
<?php
namespace App\Handler;
use App\Message\NotificationFailedMessage;
use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerAwareTrait;
use Symfony\Bridge\Twig\Mime\TemplatedEmail;
use Symfony\Component\Mailer\MailerInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
class OperatorHttpNotific... |
<?php
namespace BBKBlog\Models;
class Post extends AbstractModel
{
private $title;
private $content;
private $publishDate;
public function __construct(string $title, string $content, \DateTimeInterface $publishDate) {
$this->setTitle($title);
$this->setContent($content);
$this-... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
<?php
namespace Polon\Type;
class SetOrderCreateResult
{
/**
* @var string
*/
private $OperationID;
/**
* @var int
*/
private $Result;
/**
* @var string
*/
private $ErrorMessage;
/**
* @return string
*/
public function getOperationID()
{
... |
<?php
namespace AlibabaCloud\Rds\V20140815;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of DescribeSlowLogRecords
*
* @method string getSQLId()
* @method string getResourceOwnerId()
* @method string getResourceOwnerAccount()
* @method string getOwnerAccount()
* @method string getEndTime()
* @me... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
class SeederTest extends TestCase {
public function tearDown()
{
User::truncate();
}
public function testSeed()
{
$seeder = new UserTableSeeder;
$seeder->run();
$user = User::where('name', 'John Doe')->first();
$this->assertTrue($user->seed);
}
} |
@extends ('navbar')
<!DOCTYPE html>
<html>
<head>
<title>CADASTRO PRESTACAO DE CONTAS DE AÇÃO</title>
</head>
<body>
<section style="margin-top: 83px; ">
<div class="middle-cadastra">
<div class="middlecenter-cadastra text-center">
<form ac... |
<?php
namespace App\Http\Controllers\API;
use Illuminate\Http\Request;
use App\Http\Controllers\API\BaseController as BaseController;
use Illuminate\Support\Facades\Auth;
use Validator;
use App\Models\User;
class AuthController extends BaseController
{
public function signin(Request $request)
{
if(A... |
<?php
declare(strict_types=1);
namespace VGirol\JsonApiStructure\Concern;
use VGirol\JsonApiConstant\Members;
use VGirol\JsonApiStructure\Messages;
/**
* Assertions relating to the resource linkage
*/
trait ValidateResourceLinkage
{
/**
* Asserts that a json fragment is a valid resource linkage object.
... |
<?php
$config['client_id'] = GOOGLE_CLIENT_ID;
$config['client_secret'] = GOOGLE_CLIENT_SECRET;
$config['redirect_uri'] = site_url().'settings/google/callback';
$config['developer_key'] = GOOGLE_API_KEY;
$config['scopes'] = 'https://www.googleapis.com/auth/plus.me';
/* End of File google_config.php */
/* Location: ... |
<?php return unserialize('a:5:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:40:"Air\\BlogBundle\\Repository\\PostRepository";s:8:"readOnly";b:0;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:10:"blog_posts";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{... |
<?php
/**
* User: heropoo
* Datetime: 2021/10/10 2:46 下午
*/
$dir = __DIR__;
$files = glob($dir . '/*.php');
var_dump($files); |
<?php
/**
* Custom features
* - Server location and Store/Language auto-switch.
*
* @version Magento 1.5.1.0
*/
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available thr... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ostocalcium-detail page</title>
</head>
<body>
</body>
</html> |
<!DOCTYPE html>
<script>
if (localStorage.getItem("user") != undefined) {
}else {
window.location = "./index.php";
}
</script>
<html>
<head>
<title>:: My TeSoRo::</title>
<?php include 'inc/head_common.php'; ?>
</head>
<body class="paginas pag-9">
<!-- include... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... |
<?php
// Heading
$_['heading_title'] = 'רשימת הכתובות';
// Text
$_['text_account'] = 'חשבון';
$_['text_address_book'] = 'ערכי פנקס כתובות';
$_['text_edit_address'] = 'עריכת כתובת';
$_['text_add'] = 'הכתובת שלך הוכנסה בהצלחה';
$_['text_edit'] = 'כתובתך עודכנה בהצלחה';
$_['text_delete'] = 'כתובתך נמחקה בהצלחה';
$_['text... |
<?php
/**
* @apiGroup Geo
* @apiName parseGeoJson
*
* @api {POST} /v1/geojson/parse Parse geojson
* @apiDescription Parse geojson.
*
* @apiVersion 1.0.0
* @apiPermission Authenticated User
*
* @apiParam {File} geojson geojson file
*
* @apiSucc... |
<?php
namespace app\admin\controller\quota;
use app\common\controller\Backend;
/**
* 额度管理
*
* @icon fa fa-circle-o
*/
class Index extends Backend
{
/**
* Index模型对象
* @var \app\admin\model\quota\Index
*/
protected $model = null;
public function _initialize()
{
parent::... |
<?php
include_once('../sql_commands.php');
$vetData = array();
$valid = "3";
$vetData[0] = $_POST["user"];
$vetData[1] = "acesso";
$vetData[2] = $_POST["access"];
$vetData[3] = "telefone";
$vetData[4] = $_POST["tel"];
$vetData[5] = "celular";
$vetData[6] = $_POST["cel"];
$vetData[7] = "email";
$vetData[8] = $_PO... |
<?php
/**
* The template for displaying Archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for eac... |
@extends('master')
@section('pageTitle', 'Customer')
@section('content')
<section class="content">
<!-- <div class="col-md-12"> -->
<input type="text" id="checkCustomerID" value="{{ Session::get('editstrCustomerID') }}" hidden>
<div class="box box-widget widget-user-2">
<div class="widge... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\PimpinanCabang;
use App\Models\Anggota;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('au... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAppointmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appointmen... |
<?php
namespace App\Http\Livewire\Backend\Material;
use App\Models\Material;
use Livewire\Component;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use App\Exceptions\GeneralException;
use Exception;
use App\Events\Material\MaterialUpdated;
class ModalStockMaterial extends Component
{
pu... |
<?php
namespace Repeka\Domain\UseCase\User;
use Repeka\Domain\Cqrs\AbstractCommandAuditor;
use Repeka\Domain\Cqrs\Command;
class UserAuthenticateCommandAuditor extends AbstractCommandAuditor {
/**
* @param UserAuthenticateCommand $command
* @return array
*/
public function afterHandling(Command... |
<?php
/* partials/header.html.twig */
class __TwigTemplate_fbd253f078ade0160f80008a660d4ba4224d2304a2191204a45bed17fce196b3 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
... |
<?php
/**
* @copyright (C)2016-2099 Hnaoyun Inc.
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2017年12月15日
* 单页文章模型类
*/
namespace app\admin\model\content;
use core\basic\Model;
class SingleModel extends Model
{
// 获取文章列表
public function getList()
{
$field = array(
'a.id... |
@extends('layouts.head')
@section('content')
<!-- End of Topbar -->
<!-- Begin Page Content -->
<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">Dashbo... |
@extends('admin.layout.app')
@section('content')
<!--begin::Entry-->
<div class="d-flex flex-column-fluid">
<!--begin::Container-->
<div class="container">
<!--begin::Card-->
<div class="card card-custom card-transparent">
<div class="p-0 card-body">
<!--begin::Wizard-->... |
@extends('layouts.occupation')
<head>
<title>{{ config('app.name') }} - {{ $career_user->company_name }} - {{ __('menu.MENU_UPDATE_WEBINAR') }}</title>
</head>
@section('content')
<div class="container-fluid gedf-wrapper">
<div class="row">
<div class="col-md-3">
<div class="... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
@extends('layouts.app-siswa')
@section('title', 'Home')
@section('css')
<link href="{{ asset('vendors/datetimepicker/jquery.datetimepicker.min.css') }}" rel="stylesheet">
<style>
.bg-white {
background-color: white;
}
</style>
@endsection
@section('js')
<script src="{{ asset... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
@extends('layouts.sidenav')
<div class="col-lg-12" style="padding-left:70px;">
<h1>Add Product</h1>
@if(Session::has('success'))
<div class="alert alert-success">
{{ Session::get('success'... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Http\Controllers;
use App\Social;
use App\User;
use Facebook\Facebook;
use http\Env\Response;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Laravel\Socialite\Facades\Socialite;
class SocialController extends Controller
{
//make request to Facebook or twitter or etc "$s... |
@extends('layaout')
@section('title','Eliminar')
@section('contect')
<h1>eliminar usuario</h1>
@endsection |
@extends('stranice.okvir')
@section('sadrzaj')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-9">
... |
@extends('layouts.app')
@section('content')
@include('partials.videosection')
@include('ext._video_author_section')
@include('ext._all_videos_ext')
@endsection |
<?php
function xmlwriter_end_comment(\XMLWriter $writer) : bool
{
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateManagersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('managers', fun... |
<?php
/**
* MIT License
*
* Copyright (c) 2005-2017 TorrentPier
*
* 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... |
<?php
namespace app\rbac;
use yii\rbac\Rule;
use app\models\default\User;
class ModeratorRule extends Rule
{
public $name = 'isModerator';
/**
* @param string|int $user the user ID.
* @param Item $item the role or permission that this rule is associated width.
* @param array $params parameters... |
<!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">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ co... |
<?php
namespace Roave\BetterReflection\Reflection\Exception;
class InvalidDefaultValueType extends \RuntimeException
{
} |
<?php
namespace Fico7489\Laravel\EloquentJoin;
use Fico7489\Laravel\EloquentJoin\Exceptions\InvalidAggregateMethod;
use Fico7489\Laravel\EloquentJoin\Exceptions\InvalidDirection;
use Fico7489\Laravel\EloquentJoin\Exceptions\InvalidRelation;
use Fico7489\Laravel\EloquentJoin\Exceptions\InvalidRelationClause;
use Fico7... |
<?php
namespace Test\Endpoint;
use GuzzleHttp\Psr7\Response;
use madmis\ExchangeApi\Endpoint\AbstractEndpoint;
use madmis\ExchangeApi\Endpoint\EndpointInterface;
/**
* Class Endpoint
* @package Test\Endpoint
*/
class Endpoint extends AbstractEndpoint implements EndpointInterface
{
/**
* @param array $dat... |
<?php
namespace app\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
/**
* LocationSearch represents the model behind the search form of `app\models\Location`.
*/
class LocationSearch extends Location
{
/**
* {@inheritdoc}
*/
public function rules()
{
return [
... |
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<?php $this->load->view('base_layout/head_tag'); ?>
<title>Finance</title>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/button... |
<!-- general form elements disabled -->
<div class="box box-warning">
<div class="box-header with-border">
<form action="addnewimage" method="POST">
{{ csrf_field() }}
{!! Form::hidden('img_id', $otherImage->id, ['id'=>'img_id']) !!}
{!! Form::hidden('img_type', $otherImage->type, ['id'=>'img_type']... |
@extends('auth.template.auth')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Reset Password</div>
<div class="card-body">
<form method="... |
<?php
/**
* Created by PhpStorm.
* User: admin
* Date: 2018/12/6
* Time: 17:32
*/
namespace App\Server;
use App\Exceptions\Handler;
use One\Facades\Log;
use One\Swoole\RpcServer;
trait RpcTrait
{
private function callRpc($data, $ide = 0, $host = '', $px = '')
{
try {
$arr = msgpack_... |
<?php
namespace Aws\Glue;
use Aws\AwsClient;
use Aws\Result;
use GuzzleHttp\Promise\Promise;
/**
* This client is used to interact with the **AWS Glue** service.
* @method Result batchCreatePartition( array $args = [] )
* @method Promise batchCreatePartitionAsync( array $args = [] )
* @method Result batchDeleteC... |
<?php
/**
* This file is part of the Kdyby (http://www.kdyby.org)
*
* Copyright (c) 2008 Filip Procházka (filip@prochazka.su)
*
* For the full copyright and license information, please view the file license.md that was distributed with this source code.
*/
namespace Kdyby\Events;
use Doctrine;
use Kdyby;
use N... |
<!-- The Modal -->
<div class="modal fade" id="myModal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Cadastro de CFOP</h4>
<button type="button" class="close... |
@extends('admin_temp')
@section('content')
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<h3 class="text-themecolor">{{trans('admin.add_new_stad')}}</h3>
</div>
<div class="col-md-7 align-self-center">
<ol class="breadcrumb">
<li class="brea... |
<!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>Register</title>
<link rel="stylesheet" href="css/normalize.css">
<link href="https://fonts.googleapi... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Password;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Support\Str;
use Validator;
class NewPasswordController extends Controller
{
public function forgotPassword(Req... |
@extends('layouts.index')
@section('content')
<div class="card" style="margin-bottom: 25px;">
<div class="card-header bg-info text-white" style="cursor: pointer;">
<h4>
@if(isOptionPermitted('manage-vps/vps','create'))
<a class="btn btn-danger" style="float: left" href="{{ url('m... |
<?php
declare(strict_types=1);
namespace Content\Shared\Infrastructure;
interface Command
{
} |
<?php
namespace Vanderbilt\HarmonistHubExternalModule;
include_once(__DIR__ ."/../projects.php");
include_once(__DIR__ ."/../functions.php");
use ExternalModules\ExternalModules;
$records = \REDCap::getData($project_id, 'array', array('request_id' => $record));
$request = ProjectData::getProjectInfoArray($records)[0]... |
<footer class="main-footer">
<!-- To the right -->
<div class="float-right d-none d-sm-inline">
Anything you want
</div>
<!-- Default to the left -->
<strong>Copyright © 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserv... |
<?php
class Mobile
{
public function clientLogin($user='',$pass='')
{
$DbExt=new DbExt;
$stmt="SELECT * FROM
{{client}}
WHERE
email_address=".Yii::app()->db->quoteValue($user)."
AND
password=".Yii::app()->db->quoteValue(md5($pass))."
AND
status IN ('active')
LIMIT... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo R('Index/Siteinf... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.