text stringlengths 2 1.03M |
|---|
@extends('master')
@section('content')
<style>
.team-member {
margin-bottom: 3rem;
text-align: center;
}
.team-member img {
width: 14rem;
height: 14rem;
border: 0.5rem solid rgba(0, 0, 0, 0.1);
}
.team-member h4 {
margin-top: 1.5rem;
margin-bottom: 0;
}
</style>
<!-- Page Header -->
<h... |
<?php
/*
* Add-on Name: Info Tables for WPBakery Page Builder
* Template : Design layout 06
*/
if(!function_exists('ult_info_table_generate_design06')) {
function ult_info_table_generate_design06($atts,$content = null){
$icon_type = $icon_img = $img_width = $icon = $icon_color = $icon_color_bg = $icon_size = $icon_s... |
<?php
/*
* Generated by CRUDigniter v3.2
* www.crudigniter.com
*/
class Docingresoobra_model extends CI_Model
{
function __construct()
{
parent::__construct();
}
/*
* Get doccomercial by iddoccomercial
*/
function get_docingresoobra($idproveedor)
{
return $t... |
<?php
namespace Somnambulist\Tests\Collection\Fixtures;
/**
* Class TestClass4
*
* @package Somnambulist\Tests\Collection\Fixtures
* @subpackage Somnambulist\Tests\Collection\Fixtures\TestClass4
*/
class TestClass4
{
public function asJson()
{
return '{"foo":"bar"}';
}
} |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\{Auth, Hash};
use App\Http\Requests\LoginRequest;
class AuthController extends Controller
{
public function login(LoginRequest $request)
{
if (! $token = Auth::attempt(['email' => $r... |
<!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, shrink-to-fit=no"
/>
<meta name="description" content="" />
<meta name="author" content="" />... |
<?php
include 'simplexlsx.class.php';
include('common.php');
include('db.php');
$db = mysqli_connect(DB_SERVER,DB_USER,DB_PASSWORD);
mysqli_select_db($db,DB);
function dbConnect()
{
$this->db = mysqli_connect(DB_SERVER,DB_USER,DB_PASSWORD);
if($this->db)
mysqli_select_db($this->db,DB);
}
function dbClose()
{
... |
<?php
namespace App\Http\Controllers\Api;
use App\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function users()
{
return $this->response->array(User::get());
}
} |
<?php
/*
* This file is part of the Fxp Composer Asset Plugin package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fxp\Composer\AssetPlugin\Tests\Repository;
... |
<?php
declare(strict_types=1);
namespace Stratadox\TableLoader\Test\Feature\ManyToMany\Fixture;
final class Student
{
private $name;
private $courses;
public function __construct(string $name, Courses $courses)
{
$this->name = $name;
$this->courses = $courses;
}
public static... |
<?php
namespace Composer\Installers\Test;
use Composer\Composer;
use Composer\Installers\TastyIgniterInstaller;
use Composer\Package\Package;
use PHPUnit\Framework\TestCase as BaseTestCase;
class TastyIgniterInstallerTest extends BaseTestCase
{
/**
* @var TastyIgniterInstaller
*/
private $installer... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<... |
@include('common.error')
<div class="reply-box">
<form action="{{ route('replies.store') }}" method="POST" accept-charset="UTF-8">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="topic_id" value="{{ $topic->id }}">
<div class="form-group">
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
--TEST--
openssl_pkey_new() basic usage tests
--EXTENSIONS--
openssl
--FILE--
<?php
function openssl_pkey_test_cmp($expected, $bin_key) {
var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
}
// RSA
$nhex = "BBF82F090682CE9C2338AC2B9DA871F7368D07EED41043A440D6B6F07454F51F" .
"B8DFBAAF035C02AB61... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterTableAuctionAddPayRoll extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('auction... |
@section('preTitle') Password reset @endsection
@extends('layouts.PublicTemplate2')
@section('content')
<section id="contact-page" class="container">
<div class="row-fluid">
<div class="span2">
</div>
<div class="span8">
<h3>Reset Password</h3>
... |
<?php
namespace backend\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\Bidang;
/**
* SearchBidang represents the model behind the search form of `backend\models\Bidang`.
*/
class SearchBidang extends Bidang
{
/**
* {@inheritdoc}
*/
public function rules()
{
... |
<?php namespace NigelHeap\TeamworkDesk;
use NigelHeap\TeamworkDesk\Traits\RestfulTrait;
class Users extends AbstractObject {
use RestfulTrait;
protected $wrapper = 'user';
protected $endpoint = 'users';
/**
* GET /me.json
*/
public function me()
{
return $this->client-... |
<?php
/**
* This code is licensed under the MIT License.
*
* Copyright (c) 2018 Appwilio (http://appwilio.com), greabock (https://github.com/greabock), JhaoDa (https://github.com/jhaoda)
* Copyright (c) 2018 Alexey Kopytko <alexey@kopytko.com> and contributors
*
* Permission is hereby granted, free of charge, to ... |
<?php
/**
* @file Внимание! Файл сгенерирован автоматически. Не вносить правки.
*/
declare(strict_types=1);
namespace Cargomart\ApiClient\Builder\Worker\Id;
use Cargomart\ApiClient\AbstractRequest;
use Cargomart\ApiClient\Entity\Chat\Responses\ChatListResponse;
class ChatGet extends AbstractRequest
{
/** @va... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
// +----------------------------------------------------------------------
// | DB 工具类 [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2017 limingxinleo All rights reserved.
// +------------------------------------------------------... |
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Configuration\Connection\Loader;
use Doctrine\DBAL\Connection;
use Doctrine\Migrations\Configuration\Configuration;
use Doctrine\Migrations\Configuration\Connection\ConnectionLoaderInterface;
/**
* The ConnectionConfigurationLoader class is responsible f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLoggersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('loggers', funct... |
<?php
namespace MyCp\mycpBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* pendingPaytourist
*
* @ORM\Table(name="pending_paytourist")
* @ORM\Entity(repositoryClass="MyCp\mycpBundle\Entity\pendingPaytouristRepository")
*/
class pendingPaytourist
{
/... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTarifasusersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tarifasusers', function(Blueprint $table)
{
$table->integer('tas_user_... |
<!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>Success</title>
</head>
<body>
<div style="... |
<?php
$pageTitle = "ag-Grid - Core Grid Features: Column Definitions";
$pageDescription = "Core feature of ag-Grid supporting Angular, React, Javascript and more. One such feature is Column Definitions. Columns are configured in the grid by providing a list of Column Definitions. The attributes you set on the column de... |
<?php
namespace AppBundle\Event;
use AppBundle\Entity\Topic;
use Symfony\Component\EventDispatcher\Event;
/**
* @author Tobias Olry <tobias.olry@gmail.com>
*/
class TopicEvent extends Event
{
private $topic;
public function __construct(Topic $topic)
{
$this->topic = $topic;
}
public f... |
<?php
use app\services\schedules\SchedulesPipeline;
defined('BASEPATH') or exit('No direct script access allowed');
class Schedules extends AdminController
{
public function __construct()
{
parent::__construct();
$this->load->model('schedules_model');
$this->load->model('clients_model... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">Post {{ $post->id }}</div>
<div class="card-body">
<a hr... |
<?php
/*
Widget Name: TC Banner
Description: TC Banner widget
Author: Topcoder
*/
class TC_Banner extends SiteOrigin_Widget {
function __construct() {
//Call the parent constructor with the required arguments.
parent::__construct(
// The unique id for your widget.
'tc-banner-widget',
... |
<?php
/*
* Configuration file.
*
* (c) Ala Eddine Khefifi <alakhefifi@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nzo\UrlEncryptorBundle\Annotations;
/**
* @Annotation
*/
class ParamEncryptor
{
pub... |
<?php
namespace OpenConext\Component\EngineBlockFixtures;
use OpenConext\Component\EngineBlockFixtures\DataStore\JsonDataStore;
class TimeFixture
{
protected $fixture;
protected $time;
public function __construct(JsonDataStore $fixture)
{
$this->fixture = $fixture;
$this->load();
... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/var/www/html/system/languages/uk.yaml',
'modified' => 1552675163,
'data' => [
'FRONTMATTER_ERROR_PAGE' => '---
title: %1$s
---
# Помилка: Недопустимий вміст
Path: `%2$s`
**%3$s**
```
%4$s
```
',
'NICET... |
@extends('layouts.app')
@section('content')
<div class="meals">
<div class="container">
<div class="col-xs-12 title">
<h1 class="wow fadeInDown" style="visibility: visible;">{{ trans('front.know_our_meals') }}</h1>
</div>
<div class="m-body col-xs-12">
... |
<?php
namespace App;
use Zizaco\Entrust\EntrustRole;
class Role extends EntrustRole
{
public function setup()
{
$admin = new Role();
$admin->name = 'admin';
$admin->display_name = 'User Administrator';
$admin->description = 'User is allowed to manage and edit other users';
$admin->save();
$editor = new... |
<!DOCTYPE html>
<!-- saved from url=(0153)https://passport.jimubox.com/authentication/loginForm?site=B662B0F090BE31C1DCB6A13D70E81429&redirectUrl=https%3A%2F%2Fwww.jimu.com%2FUser%2FAssetOverview -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-U... |
<?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 App\Http\Controllers\Modulos\inventario;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\ModPerUser as modulos;
use App\Hardware as equipos;
use App\Categoria;
use App\Stock;
use App\Http\Controllers\Modulos\inventario\Modelos\Egreso;
use App\Http\Co... |
<?php
function clean_text($string)
{
$string = trim($string);
$string = stripslashes($string);
$string = htmlspecialchars($string);
return $string;
}
function convert_string($action, $string)
{
$output = '';
$encrypt_method = "AES-256-CBC";
$secret_key = 'eaiYYkYTysia2lnHiw0N0vx7t7a3kEJVL... |
<?php
final class PhabricatorLinkProfileMenuItem
extends PhabricatorProfileMenuItem {
const MENUITEMKEY = 'link';
const FIELD_URI = 'uri';
const FIELD_NAME = 'name';
const FIELD_TOOLTIP = 'tooltip';
public function getMenuItemTypeIcon() {
return 'fa-link';
}
public function getMenuItemTypeName(... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Barang;
class BarangController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$search = request()->query('search'... |
@extends('layouts.backend')
@section('title', trans('app.token_list'))
@section('content')
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-sm-12 text-left">
<h3>{{ trans('app.token_list') }}</h3>
</div>
</div... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<div class="content-wrapper">
<section class="content">
<?php echo 'usre';?>
</section>
</div> |
<?php
/**
* Created by PhpStorm.
* User: Sahak/Edo
* Date: 8/8/2016
* Time: 1:31 PM
*/
namespace Btybug\Console\Repository;
use Btybug\btybug\Repositories\GeneralRepository;
use Btybug\Console\Models\OauthClientProducts;
/**
* Class OauthClientProductsRepository
* @package Btybug\Console\Repository
*/
class ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class checklist extends Model
{
use HasFactory;
protected $primaryKey = 'cklistPK';
public $timestamps = false;
protected $fillable = [
'cklistName'
];
} |
<?php
if(!is_modo())
Redirect("/panel"); |
<?php
namespace App\Http\Middleware;
use Closure;
use Auth;
class SuperAdminRedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... |
@extends('layouts.app')
{{-- @section('title', 'Posteos') --}}
@section('content')
@guest
@else
{{-- <body style="background-image: none"> --}}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('P... |
<?php
namespace Account\Model\Entity;
/**
* @Entity @Table(name="a_user_address")
*/
class Address
{
use Util\Model\Entity\Traits\EntityBase;
/**
* @Id @Column(type="integer") @GeneratedValue
*/
private $id;
/**
* @Column(type="integer")
*/
private $a_user_id;
/**
* ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddColumnUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (Bl... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class IPK1Names extends Model
{
use HasFactory;
/**
* Table name.
*
* @var string
*/
protected $table = 'ipk1_names';
protected $primaryKey = 'ipk1_name_id';... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Editar módulo do sistema</title>
<link rel="stylesheet" href="{{ asset('libs/css/app.css') }}" />
</head>
<body>
<div>
<form action="{{ route('system.... |
<?php
declare(strict_types=1);
namespace Uniterm\Actions;
use Uniterm\Client;
use Uniterm\TestCase;
class BaseAction extends TestCase
{
protected $client;
protected function setUp(): void
{
$this->client = new Client(getenv('UNITERM_USERNAME'), getenv('UNITERM_PASSWORD'), getenv('UNITERM_DEVICE... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Auth extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('form_validation');
$this->load->model('Auth_model', 'auth');
}
public function index()
{
if ($this->session->u... |
<?php
/**
* Получим информацию по одному или нескольким файлам
*
* @author Дмитрий Щербаков <atomcms@ya.ru>
* @version 15.10.2019
*/
namespace Lemurro\Api\Core\Helpers\File;
use Lemurro\Api\Core\Helpers\Response;
use ORM;
/**
* Class FileInfo
*
* @package Lemurro\Api\Core\Helpers\File
*/
class FileInfo
{
... |
<?php
$var = 'ABCDEFGH:/MNRPQR/';
echo "Original: $var<hr />\n";
/* These two examples replace all of $var with 'bob'. */
echo substr_replace($var, 'bob', 0) . "<br />\n";
echo substr_replace($var, 'bob', 0, strlen($var)) . "<br />\n";
/* Insert 'bob' right at the beginning of $var. */
echo substr_replace($var, 'bob'... |
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
<div class="sidebar-brand-icon">
<i class="fas fa-user-lock"></i>
</... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Development Area</title>
<!-- ALL CSS FILES -->
<link rel="stylesheet" href="{{ asset('assets/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
<link rel="stylesheet" href="{{ ass... |
<?php
/**
* Copyright 2018 Google Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY ... |
<?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 RcmUser\Acl\Service;
use RcmUser\Acl\Db\AclRoleDataMapperInterface;
use RcmUser\Acl\Db\AclRuleDataMapperInterface;
use RcmUser\Acl\Entity\AclRole;
use RcmUser\Acl\Entity\AclRule;
use RcmUser\Acl\Entity\NamespaceAclRole;
use RcmUser\Result;
/**
* AclDataService
*
* AclDataService @todo COMPLETE ME
... |
<?php
/**
*
* @author: xaboy<365615158@qq.com>
* @day: 2017/11/11
*/
namespace app\admin\model\store;
use service\PHPExcelService;
use think\Db;
use traits\ModelTrait;
use basic\ModelBasic;
use app\admin\model\store\StoreCategory as CategoryModel;
use app\admin\model\order\StoreOrder;
use app\admin\model\system\S... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
namespace App\Aggregates;
class Loan extends Aggregate
{
public $id;
public $borrowerName;
public $borrowerEmail;
public $borrowerPhone;
public $currency;
public $totalCents;
public $balanceCents;
public $repaymentBalance;
public function applyEvent(Event $event)
{
}... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\Profile;
use App\Models\Social;
use App\Models\User;
use App\Traits\ActivationTrait;
use App\Traits\CaptureIpTrait;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Input;
use jeremykenedy\LaravelRoles\... |
<?php
namespace app\admin\validate;
use think\Validate;
class Featured extends Validate
{
protected $rule = [
['pic','require','请选择图片'],
['title','require','请输入标题'],
['url','require','请输入URL路径'],
];
} |
<?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
/**
* This is a Anax pagecontroller.
*
*/
// Get environment & autoloader and the $app-object.
require __DIR__.'/config_with_db_app.php';
// Start session
$app->session();
// Set title
$app->theme->setVariable('title', "Everything about Adventure");
// Add services.
$di->set('form', '\Mos\HTMLForm\CFo... |
<!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>Cart</title>
<link rel="stylesheet" href="/assets/style.css">
</head>
... |
<?php
namespace App\Http\Controllers\Web\Merchant;
use App\Entities\Brand;
use App\Entities\Category;
use App\Entities\Malfunction;
use App\Entities\MerchantServiceType;
use App\Entities\Product;
use App\Entities\ServiceTypeM;
use App\Entities\ServiceTypeMG;
use App\Http\Controllers\Controller;
use Illuminate\Support... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace Psalm\Tests;
use const DIRECTORY_SEPARATOR;
class ImmutableAnnotationTest extends TestCase
{
use Traits\InvalidCodeAnalysisTestTrait;
use Traits\ValidCodeAnalysisTestTrait;
/**
* @return iterable<string,array{string,assertions?:array<string,string>,error_levels?:string[]}>
*/
... |
<?php
use Jenssegers\Mongodb\Model as Eloquent;
class Menu extends Eloquent {
protected $collection = 'menus';
protected $fillable = array('*');
} |
<?php
/**
* mongo数据库表备份
* 例子:
* php /data/www/php-script/artisan Back:UpDb --orgdb='{"database":"bas","host":"127.0.0.1","port":"27017","username":"root","password":"root","dbs":["bas"]}' --trgdb='{"database":"bas","host":"10.20.20.61","port":"27017","username":"admin","password":"admin","dbs":["bas"]}'
*/
namespa... |
<?php
/**
* @author Niels A.D.
* @author Todd Burry <todd@vanillaforums.com>
* @copyright 2010 Niels A.D., 2014 Todd Burry
* @license http://opensource.org/licenses/LGPL-2.1 LGPL-2.1
* @package pQuery
*/
namespace pQuery;
/**
* Converts a XML document to an array
*/
class XML2ArrayParser extends HtmlParserBas... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Library\Services\DemoTwo;
use App\Library\Services\DemoOne;
class RiakServiceProvider extends ServiceProvider
{
protected $defer = true;
/**
* Bootstrap services.
*
* @return void
*/
public function boot()... |
<?php
// +---------------------------------------------------------------------
// | 敏感词
// +---------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +---------------------------------------------------------------------
// | Copyright (c) 200... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<title>Imprimir</title>
<style>
.row{
width: 100%;
}
img {
padding: 0.25rem;
background-color: #fff;
border: 1px solid #dee2e6;
border-radius: 0.25rem;
max-width: 100%;
heigh... |
<header class="header-top" header-theme="light">
<div class="container-fluid">
<div class="d-flex justify-content-between">
<div class="top-menu d-flex align-items-center">
<button type="button" class="btn-icon mobile-nav-toggle d-lg-none"><span></span></button>
<... |
<!doctype html>
<html class="no-js" lang="">
<head>
<title>Zabuun - Learn Arabic for English Speakers</title>
<meta name="description" content="">
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?>
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?>
<?php include $_SERVER... |
<?php
namespace SerEducacional\Repositories;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Interface InstituicaoFormacaoRepository
* @package namespace SerEducacional\Repositories;
*/
interface InstituicaoFormacaoRepository extends RepositoryInterface
{
//
} |
<?php
Route::group(['middleware'=>['auth','language']], function(){
Route::get('translations/front','TranslationController@getFrontKey');
Route::get('translations/back','TranslationController@getBackKey');
Route::post('translations/postEdit','TranslationController@postEdit');
Route::get('temp','TempC... |
<?php
namespace app\http\middleware;
use app\api\model\Staff;
use think\facade\Session;
use think\facade\Cache;
use app\api\model\Auth;
use app\api\model\Log;
class check
{
function checkauth(){
try{
$role_id=session('user.job');
if(1==$role_id){
return true;
... |
<?php
declare(strict_types=1);
require __DIR__ . '/data.php';
require __DIR__ . '/functions.php';
require __DIR__ . '/headHtml.php';
require __DIR__ . '/aside.php';
if (isset($_GET['category'])) {
$category = $_GET['category'];
$posts = getArticlesByCategory($posts, $_GET['category']);
}
?>
<?php foreach... |
<?php
namespace App\Exceptions\checkout;
use Exception;
class ProductOutOfStuckException extends Exception
{
/**
* Report the exception.
*
* @return bool|null
*/
public function report()
{
//
}
/**
* Render the exception into an HTTP response.
*
* @para... |
<?php
// This file was auto-generated from sdk-root/src/data/glue/2017-03-31/docs-2.json |
<?php
namespace Controlador\Modulo\Central;
use \Mvc\Controlador;
use \Neural\Excepcion;
use \Utilidades\Sesion;
class Index extends Controlador {
private $sesionPHP = false;
function __construct() {
parent::__construct();
$this->sesionPHP = new Sesion();
}
/**
*
* Se genera la pr... |
<?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\HttpFoundation\Tests\File;
use Symfony\Component\Http... |
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>MENU</h3>
<ul class="nav side-menu">
<li><a href="mejoramiento.php"><i class="glyphicon glyphicon-signal"></i> Listin </a></li>
<li><a href="entrega/index.php" target="_blank"><i class="glyphic... |
@extends('admin.layouts.master')
@section("meta_page_title") Admin | Quickvote | Dashboard @endsection
@section("page_title") <a href="{!! route('admin.tickets.payments') !!}" class="head-a">Event Tickets </a> >Payment Detail @endsection
@section("content")
@php
$timezoneArray = config('constants.timezones');
@endp... |
<?php if (is_uri_value($this->uri->segment(2), config_item('user_settings'))): ?>
<h2 class="content_title"><img src="<?= $dashboard_assets ?>icons/users_32.png"> Your Settings</h2>
<ul class="content_navigation">
<?= navigation_list_btn('settings/profile', 'Profile') ?>
<?= navigation_list_btn('settings/details', 'D... |
<?php
/**
* This file is part of Vegas package
*
* @author Slawomir Zytko <slawek@amsterdam-standard.pl>
* @copyright Amsterdam Standard Sp. Z o.o.
* @homepage http://vegas-cmf.github.io
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\date\DatePicker;
use kartik\datetime\DateTimePicker;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model app\models\DeficitStatment */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="deficit-statment-form">
<?php $fo... |
<?php
/***********
* File: ws-skybillparamsvalue.php
*
* Description: Build the object skybillparamsvalue requested by WS
*
************/
namespace ladromelaboratoire\chronopostws\wsdata;
use ladromelaboratoire\chronopostws\wsdata\wsregex;
use ladromelaboratoire\chronopostws\wsdata\wsdata;
class wssearchpodval... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Facades\JWTAuth;
class IsAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @retur... |
@extends('layouts.main')
@section('content')
<div class="row" style="display: block;">
<div class="col-md-12 col-sm-12 ">
<div class="x_panel">
<div class="x_title">
<h2>{{trans('Danh mục')}}</h2>
<ul class="nav navbar-right panel_toolbox... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.