text
stringlengths
2
1.03M
<?php final class PhabricatorSystemActionRateLimitException extends Exception { private $action; private $score; public function __construct(PhabricatorSystemAction $action, $score) { $this->action = $action; $this->score = $score; parent::__construct($action->getLimitExplanation()); } public ...
<?php /** @noinspection PhpUndefinedClassInspection */ namespace App\Http\Controllers; use App\Album; use App\Configs; use App\ControllerFunctions\ReadAccessFunctions; use App\Logs; use App\ModelFunctions\AlbumFunctions; use App\ModelFunctions\Helpers; use App\ModelFunctions\PhotoFunctions; use App\ModelFunctions\Se...
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="s...
<?php // var_dump($suppliers); // die(); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.20/b-1.6.1/b-colvis-1.6.1/b-flash-1.6.1/b-print-1.6.1/datatables.min.css"/> <!-- <link href="<?php echo base_url(); ?>/assets/expensereport/style.css" rel="stylesheet" /> --> <script src="ht...
<?php namespace SilverStripe\Control; use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Control\Middleware\CanonicalURLMiddleware; use SilverStripe\Control\Middleware\HTTPMiddlewareAware; use SilverStripe\Core\Config\Configurable; use SilverStripe\Core\Environment; use SilverStripe\Core\Extensible; use SilverStri...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php namespace BulletinBoard\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; class VerifyCsrfToken extends BaseVerifier { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
<?php if(isset($_POST['email'])) { // EDIT THE 2 LINES BELOW AS REQUIRED $email_to = "info@divinuseducation.com"; $email_subject = "Enquiry"; function died($error) { // your error code can go here echo "We are very sorry, but there were error(s) found with the form you submitted. "; ...
<?php namespace ContainerMZRpx0g; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getSecurity_Listener_UserProvide...
<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <me...
<?php /** */ ?> <div class="columns"> <div class="column"> <a href="{{ route('admin-menu-update', ['servedate' => $servedate, 'timing' => $timing] + $srch) }}" id="act-update-{{ $servedate }}-{{ $timing }}" class="button is-small">編集</a> @include("admin.menu.index.swap", ['servedate' => $servedate...
<? /** * DB Abstraction Class for MySQL * * @author Sheldon Senseng * @copyright Sheldon Senseng <sheldonsenseng@gmail.com> * @version 0.1 * */ // include Database Configuration require_once APP_CONF . 'DB.conf.php'; // define the path for the DB structure cache define ( 'APP_DATA_DB', APP_DATA . 'db...
@extends('layouts.default') @section('content') <div class="SettingsMenu"> <div class="main-content"> <img src="{{ asset('images/avatar.png') }}" class="Avatar center" alt="user avatar"/> <h3 class="name">Seppe Boudringhien</h3> <div class="menu-list"> <a...
<?php /** * Created by PhpStorm. * User: Android * Date: 11/05/2018 * Time: 10:08 AM */ namespace App\Services\Impl; use App\Entities\LandingProduct; use App\Entities\LandingProductImages; use App\Services\LandingProductService; use App\Services\Impl\UploadService; use App\Repositories\LandingProductRepo; class ...
<?php namespace App\Handlers; use Image; class ImageUploadHandler { // 只允许以下后缀名的图片文件上传 protected $allowed_ext = ["png", "jpg", "gif", 'jpeg']; public function save($file, $folder, $file_prefix, $max_width = false) { // 构建存储的文件夹规则,值如:uploads/images/avatars/201709/21/ // 文件夹切割能让查找效率更高。...
@section('unix::notice') @if(config('pterodactyl.load_environment_only', false)) <div class="row"> <div class="col-xs-12"> <div class="alert alert-danger"> Your Panel is currently configured to read settings from the environment only. You will need to set <cod...
<?php use Zizaco\Entrust\Contracts\EntrustUserInterface; use Zizaco\Entrust\Traits\EntrustUserTrait; use Illuminate\Cache\ArrayStore; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Cache; use Zizaco\Entrust\Permission; use Zizaco\Entrust\Role; use PHPUnit\Framework\TestCase; use Mockery\Exceptio...
<?php namespace app\admin\model; use think\Model; class Single extends Model{ //获取科目下对应的专业信息 public function getAllData($status){ //拼接where $count_where = 'status='.$status; $where = 'a.status='.$status; //接受开始日 $start = input('get.start'); //日期转换为时间戳 $st...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace frontend\assets; use Yii; use yii\web\AssetBundle; /** * Main frontend application asset bundle. */ class AppAsset extends AssetBundle { public function init(){ # Yii::setAlias('@bower', dirname(__DIR__) . '/vendor2/bower/'); } public $basePath = '@webroot'; public $baseUrl...
<?php $a = 22.5; $b = 5.25; $c = NULL; $c =$a + $b; echo var_dump($c); echo "<hr>"; $c =$a - $b; echo var_dump($c); echo "<hr>"; $c =$a / $b; echo var_dump($c); echo "<hr>"; $c =$a * $b; echo var_dump($c); echo "<hr>"; $c= $a % $b ; echo var_dump($c); echo "<hr>"; $POLJEasocijacije = array('modric' => 'nogomet...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDisputesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('disputes', fun...
<?php /** * YAWIK * * @copyright (c) 2013 - 2016 Cross Solution <http://cross-solution.de> * @license MIT */ ini_set('display_errors', true); ini_set('error_reporting', E_ALL | E_STRICT); date_default_timezone_set('Europe/Berlin'); if(!version_compare(PHP_VERSION, '5.6.0', 'ge')){ echo sprintf('<p>Sorry, YA...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitcc77d8febe2c997008daeee5881df474 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace ChromeDevtoolsProtocol\Model\Network; /** * Fired when EventSource message is received. * * @generated This file has been auto-generated, do not edit. * * @author Jakub Kulhan <jakub.kulhan@gmail.com> */ final class EventSourceMessageReceivedEvent implements \JsonSerializable { /** * Request i...
@extends('admin.layout.master') @section('title', 'Header Settings') @section('pageTitle') <a href="{{route('header.view')}}"> Header Settings </a> @endsection @section('parentPageTitle', '') @section('content') <div class="row clearfix"> <div class="col-lg-12"> <div class="card"> <div class...
<?php /** * 卖家活动管理 * * * ***/ defined('InShopNC') or exit('Access Invalid!'); class store_activityControl extends BaseSellerControl { public function __construct() { parent::__construct(); Language::read('member_store_index'); } public function indexOp() { $this->store_activi...
<?php namespace Encore\Admin\Grid\Tools; use Encore\Admin\Admin; use Encore\Admin\Grid; class ExportButton extends AbstractTool { /** * @var Grid */ protected $grid; /** * Create a new Export button instance. * * @param Grid $grid */ public function __construct(Grid $gr...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> @include('layouts.filter') <div class="card"> <div class="card-header"> @if (!$restriction->restricted('district'...
<?php namespace rockunit\mssql; use rockunit\CommandTest; /** * @group db * @group mssql */ class MssqlCommandTest extends CommandTest { protected $driverName = 'sqlsrv'; public function testAutoQuoting() { $db = $this->getConnection(false); $sql = 'SELECT [[id]], [[t.name]] FROM {{c...
<div class="container"> <div class="row"> <h1>Edit User</h1> <div class="col-xs-4"> <?php echo validation_errors(); ?> <?php echo form_open('studentUpdate/'.$student->student_id);?> <div class="form-group"> <span style="color:red">*</span> <label for="name">Student Name:</labe...
<?php $MESS["ACCOUNT_INSERT"] = "The administrator has registered you on the site"; $MESS["ACCOUNT_UPDATE"] = "The administrator has updated your personal information."; $MESS["ACTIVE"] = "Active:"; $MESS["ADD"] = "Add a new user"; $MESS["AUTH_NONSECURE_NOTE"] = "The password will be sent in open form. Enable JavaScrip...
<?php if(!class_exists('Rain\Tpl')){exit;}?><!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Lista de Categorias </h1> <ol class="breadcrumb"> <li><a href="/admin"><i class="fa fa-dashboard"></i> Home<...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php /** * CRUD for options */ /** * @namespace */ namespace Application; use Application\Options; use Bluz\Controller; return /** * @accept HTML * @accept JSON * @privilege Management * @return mixed */ function () { /** * @var Bootstrap $this */ $crudController = new Controller\Crud(); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class AddSlugColumnToPostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('posts', function (Blueprint $table) { ...
@extends('layout.top-head') @section('content') @if($errors->has('phone_number')) <div class="alert alert-danger alert-dismissible text-center"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>{{ $errors->first('phone_number') }}</div> @end...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Fianza extends Model { use HasFactory; protected $fillable = [ 'monto', 'fecha', 'num_fianza', 'id_contrato', 'id_afianzadora', ...
<?php /** * @author Haohuang * @email huanghao1054@gmail.com * @since 2019/11/18 */ namespace pandaSir\RabbitMQ\Connection; abstract class AbstractConnection { /** * @var array */ protected $current_connection; /** * @var \AMQPConnection */ protected $connection; /** ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ForeignKey extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('theatres', function (Blu...
@extends('master') @section('content') <!-- start: MAIN CONTAINER --> <div class="main-container inner"> <!-- start: PAGE --> <div class="main-content"> <!-- end: SPANEL CONFIGURATION MODAL FORM --> <div class="container"> <!-- start: PAGE HEADER --> <!-- start: TOOLBAR ...
<?php /** * SFWD_LMS * * @since 2.1.0 * * @package LearnDash */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'SFWD_LMS' ) ) { /** * Class to create the SFWD_LMS instance. */ class SFWD_LMS extends Semper_Fi_Module { public $post_types = array(); public $cache_key = ''; public $qu...
<?php namespace Mnv\Zabor\Components; use Cms\Classes\ComponentBase; use Cms\Classes\Page; use Mnv\Zabor\Models\ElectricMeter; use RainLab\User\Facades\Auth; class ElectricMeters extends ComponentBase { public function componentDetails() { return [ 'name' => 'Electric counters', ...
<?php /* * This file is part of Totara Learn * * Copyright (C) 2020 onwards Totara Learning Solutions LTD * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License...
<?php namespace frontend\controllers; use Yii; use yii\web\Controller; use yii\web\Response; use common\models\User; use yii\helpers\Url; /** * Site controller */ class VosoController extends CController { public function beforeAction($action) { $this->enableCsrfValidation = false; return ...
<?php namespace App; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Subscription extends Model { use HasFactory; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'user_id', ]; ...
<?php // Valid PHP Version? $minPHPVersion = '7.2'; if (phpversion() < $minPHPVersion) { die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . phpversion()); } unset($minPHPVersion); // Path to the front controller (this file) define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR...
<!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" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <title>HDCMS - 后台管理中心</title> <hdui/> <css fi...
@extends('basesystem') @section('title_section', 'Creando Empresa') @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header" data-b...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PieceAccount extends Model { protected $table ='pieceaccounts'; protected $fillable =['coins']; public function piece(){ return $this->belongsTo('App\Publish'); } }
<?php if ( !defined ( 'ABSPATH' ) ) { exit; } class Redux_Welcome { /** * @var string The capability users should have to view the page */ public $minimum_capability = 'manage_options'; /** * Get things started * * @since 1.4 */ public function __construct () { ...
<?php namespace ForkCMS\Modules\Profiles\Tests\DataFixtures; use ForkCMS\Modules\Profiles\Tests\DataFixtures\LoadProfilesProfile; use SpoonDatabase; /** * @deprecated remove this in Fork 6, just use the one from the Backend */ class LoadProfiles { public function load(SpoonDatabase $database): void { ...
<?php /****************************************** * Filename : get_all_hobi.php * Programmer : Robi Naufal Kaosar * Date : 2020-04-05 * E-Mail : robinaufal11@upi.edu * Deskripsi : Get semua Data hobi * ******************************************/ defined('BASEPATH') OR exit('No direct script access al...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ config('app.name', 'Laravel') }}</title> <!--MEUS RECURSOS--> <link rel="stylesheet" href="{{ asset('public/bootstrapaero/cs...
<?php if (empty($users)): ?> <p><?= t('There is no project member.') ?></p> <?php else: ?> <?php foreach ($roles as $role => $role_name): ?> <?php if (isset($users[$role])): ?> <strong><?= $role_name ?></strong> <ul> <?php foreach ($users[$role] as $user_id => $user): ?> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Employee extends Model { protected $guarded = ['id']; public function attendances(){ return $this->hasMany('App\Attendance'); } }
<?php namespace Backtory\Storage\Core\Transformers; use Backtory\Storage\Core\Interfaces\ResponseTransformer; use Backtory\Storage\Core\Responses\StorageResponse; /** * Class DeleteResponseTransformer * @package Backtory\Storage\Core\Transformers */ class DeleteResponseTransformer implements ResponseTransformer { ...
<?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.txt that was distributed with this source code. */ namespace Kdyby\Doctrine\Proxy; use Kdyby; use Nette;...
<!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> <title>Parse about any Arabic textual datetime description into a Unix timestamp</title> <meta http-equiv="Content-Type" content="text/html;charse...
<?php /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ 'weekdays' => ['Sonto',...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use common\models\EmpInfo; use common\models\Designation; use common\models\EmpType; use common\models\Branches; use common\models\Departments; /* @var $this yii\web\View */ /* @var $model common\models\EmpInfo */ /* @var $form yii\wi...
<?php # This is a php comment // So is this. /* and this. */ # variables are always preceded with '$' and are loosely typed. $first_name = "Bob"; $last_name = "Smith"; $age = 43; $favorite_color = "red"; # concatenate strings with a '.', not a '+' $full_name = $first_name . " " . $last_name; # addition operator will...
@include('layouts.header') <div class="site-section site-hero inner"> <div class="container"> <div class="row align-items-center"> <div class="col-md-10"> <span class="d-block mb-3 caption" data-aos="fade-up">Our Speakers</span> <h1 class="d-block mb-4" data-aos="fade...
<?php namespace App\Models; use Backpack\CRUD\app\Models\Traits\CrudTrait; class Role extends \Spatie\Permission\Models\Role { use CrudTrait; }
<style type="text/css"> .form-group.error input, .form-group.error select, .form-group.error textarea { border: 2px solid #ef5350; } </style> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="page-title-box"> ...
<?php declare(strict_types=1); namespace Wazelin\UserTask\User\Presentation\Web\Action; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Wazelin\UserTask\Assignment\Contract\AssignmentSearchServiceInterface; use Wazelin\U...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEmployeeModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employee...
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.user.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href...
<?php //echo nl2br("Calendar API<BR>"); //echo shell_exec("cd /var/www/html/calendar-api/public_html/ && /usr/bin/git pull 2>&1"); //echo shell_exec("cd /var/www/html/letsnamaste/public_html/blabla/bla-bla && /usr/bin/git pull 2>&1"); echo nl2br("<HR><HR>Customer API<BR>"); echo shell_exec("cd /var/www/html/customer-a...
<!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=""> <link href="{{asset('backend/img/l...
<?php namespace app\controllers\api; use app\models\Suitcase; use dektrium\user\filters\AccessRule; use yii\filters\AccessControl; class SuitcaseController extends BaseController { public function behaviors() { $behaviors = [ 'access' => [ 'class' => AccessControl::classN...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Login') }}</div> <div class="card-body"> <form method="POST...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class emails extends Controller { // }
<?php /** * wallee Prestashop * * This Prestashop module enables to process payments with wallee (https://www.wallee.com). * * @author customweb GmbH (http://www.customweb.com/) * @copyright 2017 - 2019 customweb GmbH * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) */ cl...
<?php /** * Created by hkun * Email: 350839123@qq.com * Date: 2020-04-24 */ namespace app\api\controller\v2\cms; use think\Request; use app\api\model\v2\cms\CmsBannerItem as CmsBannerItemModel; use app\lib\enum\StateEnum; use app\api\validate\IDMustBePositiveInt; use app\api\model\Image as ImageModel; clas...
<?php return [ /* |-------------------------------------------------------------------------- | Default Mailer |-------------------------------------------------------------------------- | | This option controls the default mailer that is used to send any email | messages sent by your appl...
<?php return [ '' => 'site/index', 'about' => 'site/about', 'feedback' => 'site/contact', 'forgot-password' => 'site/forgot', 'blog' => 'site/blog', 'login-signup' => 'site/login-signup', 'terms-condition' => 'site/terms-condition', 'privacy-policy' => 'site/privacy-policy', 'delive...
<?php /** * This file is part of the osWFrame package * * @author Juergen Schwind * @copyright Copyright (c) JBS New Media GmbH - Juergen Schwind (https://jbs-newmedia.com) * @package osWFrame * @link https://oswframe.com * @license MIT License */ ?> <div class="form-group<?php if ($this->getTemplate()->Form...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class EmController extends Controller { public function home(){ return view('index'); } public function about(){ return view('about'); } public function service(){ return view('service'); } public fu...
<?php namespace App\Repository; use App\Entity\QueueTransport; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @method QueueTransport|null find($id, $lockMode = null, $lockVersion = null) * @method QueueTransport|null findOneBy(array $criteria,...
<?php /** * MobileCMS * * Open source content management system for mobile sites * * @author MobileCMS Team <support@mobilecms.pro> * @copyright Copyright (c) 2011-2019, MobileCMS Team * @link https://mobilecms.pro Official site * @license MIT license */ //--------------------------------------------- /** ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLogTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('logs', function (Bl...
<?php /** * @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> https://www.phpfastcache.com * @author Georges.L (Geolim4) <contact@geolim4.com> */ use Phpfastcache\CacheManager; use Phpfastcache\Drivers\Couchbasev3\Config as CouchbaseConfig; use Phpfastcache\Exceptions\PhpfastcacheDriverConnectException; use Php...
@extends('plantilla.plantilla') @section('contenido') <div class="post"> @if ( isset($errors) ) @foreach ($errors->all() as $error) <li style="color:#6F0120">{{ $error }}</li> @endforeach @endif <br/> <h1>Formulario para empleados</h1> {!! Form::model($empleado ,['method' => ...
@extends('icamp19.layout.mainLayout') @section('login') <div class="main-content bg-default"> <!-- Navbar --> <nav class="navbar navbar-top navbar-horizontal navbar-expand-md navbar-dark"> <div class="container px-4"> <a class="navbar-brand" href="../index.html"> <img src="{{asset('img/b...
<?php include("include/header.php"); ?> <!-- Page container --> <div class="page-container"> <!-- Page content --> <div class="page-content"> <!-- Main sidebar --> <?php include("include/sidebar.php"); ?> <!-- /main sidebar --> <!-- Main content --> <div class="content-wrapper"> <!-- Page...
@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header') <h1>Страницы</h1> @stop @section('content') @include('messages') <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <script type="text/javascript"> $(document).ready(function(){ ...
<?php /** * PHPUnit * * Copyright (c) 2010-2011, Sebastian Bergmann <sb@sebastian-bergmann.de>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code m...
<link rel="stylesheet" href="<?php echo base_url()?>assets/front/pages/css/search.min.css" /> <link href="<?php echo base_url();?>assets/front/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" /> <link href="<?php echo base_url();?>assets/front/global/plugins/datatables/plugins/bootstrap/da...
<?php namespace App\Database\Migrations; use CodeIgniter\Database\Migration; class LogsLogin extends Migration { public function up() { // $this->forge->addField([ 'id' => [ 'type' => 'INT', 'constraint' => 100, 'unsigned' => true, 'auto_increment'=> true, ], 'email' => [ 'type'...
<?php /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2018 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ //no direct accees defined ('_JEXEC') or die ('Restricted access'); SpAddonsConfig::addonConfig( array( 'ty...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model frontend\models\RecipeStepInstruction */ $this->title = $model->recipe_step_instruction_id; $this->params['breadcrumbs'][] = ['label' => 'Recipe Step Instructions', 'url' => ['index']]; $this->params['breadcrumbs'][]...
<?php session_start(); // Expire the session if user is inactive for 30 minutes or more. $expireAfter = 45; // Check to see if our "last action" session variable has been set. if(isset($_SESSION['last_action'])){ // Figure out how many seconds have passed since the user was last active. $secondsInactive = t...
<?php /******************************************************************************* * Copyright 2009-2015 Amazon Services. All Rights Reserved. * 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 ...
<div> <div> <h2 contenteditable><%= name %></h2> <a href="#" class="fa fa-edit"></a> </div> <div id="b-group-roles"> <div> <div id="b-group-roles-general"> <h3><?= trans('boomcms::people-manager.group.permissions.cms') ?></h3> <p>Edit permissions related t...
<?php namespace Omnipay\Pagarme\Message; use Illuminate\Support\Arr; class FindOrCreateCustomerResponse extends AbstractResponse { public function isSuccessful() { $customer = $this->data; if ($results = Arr::get($this->data, 'data.results')) { $searchEmail= Arr::get($this->getRe...
<?php namespace BackendBundle\Entity; use FOS\OAuthServerBundle\Entity\RefreshToken as BaseRefreshToken; use Doctrine\ORM\Mapping as ORM; /** @ORM\Entity */ class RefreshToken { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** ...
<?php namespace JuLongDeviceHttp\NVRManage; use JuLongDeviceHttp\Common\AbstractClient; use JuLongDeviceHttp\Common\Exception\DeviceSDKException; use JuLongDeviceHttp\Common\Profile\ClientProfile; /** * NVR管理接口 * Created on 2022/1/4 9:00 * Create by LZH * * @method Models\SearchVideoResponse searchVideo(Models\...