text
stringlengths
2
1.03M
<?php function printpackage($in_pack='') { require_once "connect.php"; $chn_var=""; $chn_array[]=array(); $i=0; mysqli_select_db($con,'meghbela_lcn_db_kol') or die("No database"); $sql_t="SELECT * FROM channel_tb JOIN lcn_tb ON channel_tb.lcn=lcn_tb.lcn JOIN package_tb ON channel_tb.sid=package_tb.sid WHERE package_...
<?php namespace App\Model\Theme; use App\Model\Panel\exercise_categories; use App\Model\Panel\exercises_file; use Illuminate\Notifications\Notifiable; use Jenssegers\Mongodb\Eloquent\Model ; use Illuminate\Auth\Authenticatable as Authenticabletrait; use Illuminate\Contracts\Auth\Authenticatable; class Exercises extend...
<?php namespace app\controllers; use Yii; use yii\web\Controller; use app\models\Users; class AuthController extends Controller { public function actionLogin() { // if (!Yii::$app->user->isGuest) { // return $this->goHome(); // } $model = new Users(); if(Yii::$app->re...
<?php namespace Tipimail; class Tipimail { private $apiUsername; private $apiKey; private $settingsService; private $accountsService; private $statisticsService; private $blacklistsService; private $messagesService; private $usersService; public function __construct($apiUsername, $apiKey) { $this->api...
<?php namespace app\admin\controller; use app\admin\model\Role; use think\Db; use think\Request; use app\admin\model\Company as CompanyModel; use app\admin\model\Admin as AdminModel; class Company extends Right { protected $role = 3; /** * 查 * @return \think\response\Json * @throws \think\exce...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\User; use Google_Service_People; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Response; use Illuminate\Support\Facades\Auth; use Illuminate\View\View; use Laravel\Socialite\Facades\Socialite; class Login...
<?php namespace AppBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; class DefaultController extends Controller { public function homeAction(Request $request) { return $this->render('AppBundle:Default:home.html.twig'); } p...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-md-center"> <div class="col-md-9"> <div class="card"> <div class="card-header">Agregar Abonado</div> <div class="card-body"> <form action="/add_abonado" method="post" name="form"> ...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class MacroProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { foreach(glob(base_path('app/Macros/*.macro.php')) as $filename){ require_once($filename); } /*...
@extends('layout.default') @section('all-stories') <section class="all-banner-section about-bg"> <div class="overley"></div> <div class="container"> <div class="banner-header"> <h1 class="title">Privacy and Policy</h1> <ol class="breadcrumb"> ...
<?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 RectorPrefix20210609\Symfony\Component\Config\Definition\Builder; use Re...
<?php namespace App\Http\Controllers\Auth; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use JWTAuth; use Tymon\JWTAuth\Exceptions\JWTException; class AuthenticateController extends Controller { public function __construct() { $this->middleware('auth:api', ['except' => ['authenti...
<!--Header--> @include('admin.includes.header') <div class="wrapper"> <!-- Navbar --> <div class="container-fluid"> <nav class="main-header navbar navbar-expand-lg navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-w...
--TEST-- swoole_socket_coro: recv timeout --SKIPIF-- <?php require __DIR__ . '/../include/skipif.inc'; ?> --FILE-- <?php require __DIR__ . '/../include/bootstrap.php'; $pm = new ProcessManager; $pm->parentFunc = function ($pid) use ($pm) { for ($c = MAX_CONCURRENCY_MID; $c--;) { go(function () use ($pm) { ...
<?php namespace Tnhnclskn\Docker\API\Exception; class NetworkDeleteForbiddenException extends ForbiddenException { private $errorResponse; public function __construct(\Tnhnclskn\Docker\API\Model\ErrorResponse $errorResponse) { parent::__construct('operation not supported for pre-defined networks',...
<?php namespace App\Ninja\Repositories; use DB; use Utils; use App\Models\Payment; use App\Models\Credit; use App\Models\Invoice; class PaymentRepository extends BaseRepository { public function getClassName() { return 'App\Models\Payment'; } public function find($clientPublicId = null, $filt...
<?php if(!defined('ABSPATH')) exit; // Check setting if(!acf_get_setting('acfe/modules/block_types')) return; if(!class_exists('acfe_dynamic_block_types_import')): class acfe_dynamic_block_types_import extends acfe_module_import{ function initialize(){ // vars $this->hook ...
<?php namespace Seferov\Typhp\Tests\Functional\Scenarios\Fixtures; function foo(string $a): bool { return true; } function bar($a) {} /** * @param mixed $a */ function mixedArgument($a) {} /** * @return mixed */ function mixedReturn($a) { return $a; }
<?php /* * This file is part of Totara Learn * * Copyright (C) 2018 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...
@extends('layouts.admin.master') @section('title','Venue List') @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <div class="float-left"> <h2>Add Venue</h2> </div> </div> ...
<?php $this->breadcrumbs=array( 'Programas'=>array('admin'), $model->id_programa=>array('view','id'=>$model->id_programa), 'Update', ); $menu=array(); require(dirname(__FILE__).DIRECTORY_SEPARATOR.'_menu.php'); $this->menu=array( array('label'=>'Programa','url'=>array('admin'),'icon'=>'fa fa-list-alt', 'items' => ...
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model app\models\ContactForm */ use yii\helpers\Url; $this->title = 'Hubungi Kami'; $this->params['breadcrumbs'][] = $this->title; $urlNewsletter = Url::to(['site/newsletter']); $this->registerJs(" jQuery('#submitNewsletter'...
<?php /** * This is the model class for table "{{movement_out_shipping}}". * * The followings are the available columns in table '{{movement_out_shipping}}': * @property integer $id * @property integer $movement_out_id * @property integer $movement_out_detail_id * @property string $status * @property string $d...
<html> <table> <thead> <tr style="background: #D7D7D7"> <th>Facility Name Inactive</th> <th>Facility Id</th> <th>User ID</th> <th>User Last Name</th> <th>User First Name</th> <th>User Middle Name</th...
<?php namespace FondOfOryx\Zed\ThirtyFiveUp\Business; use FondOfOryx\Zed\ThirtyFiveUp\Business\Model\Handler\ThirtyFiveUpOrderHandler; use FondOfOryx\Zed\ThirtyFiveUp\Business\Model\Handler\ThirtyFiveUpOrderHandlerInterface; use FondOfOryx\Zed\ThirtyFiveUp\Business\Model\Mapper\ThirtyFiveUpOrderMapper; use FondOfOryx...
<?php require_once(__DIR__ . '/config.php'); session_set_cookie_params(null, COOKIE_PATH); session_start(); require_once(__DIR__ . '/skins.php'); require_once(__DIR__ . '/classes.php'); require_once(__DIR__ . '/database.php'); require_once(__DIR__ . '/misc.php'); require_once(__DIR__ . '/../info.php');
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\Inventory\Types; use DTS\eBaySDK\Inventory\Types\GetListingFeesRestResponse; class G...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * File for vendor customisation, you can change here paths or some behaviour, * which vendors such as Linux distributions might want to change. * * For changing this file you should know what you are doing. For this reason * options here are not part of normal co...
<!-- ######################################################################################## ## Search V1.0beta - A PHP search engine ## ######################################################################################## ## Copyright (C) 2017 G Vaishno Chaitanya ...
<?php /** * This configures which meta data will be editable through * the media manager. Each field of the array is an array with the * following contents: * fieldname - Where data will be saved (EXIF or IPTC field) * label - key to lookup in the $lang var, if not found printed as is * htmltype - 'tex...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta content="<?php echo $this->config->item("description", "about"); ?>" name="description"> <meta content="<?php echo $this...
<?php class Accounts_model extends CI_Model{ public function check_email($email){ $this->db->where('email',$email); $result = $this->db->get('account'); if($result->num_rows() > 0){ return true; }else{ return false; } } publ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\PoItem */ $this->title = Yii::t('app', 'Update {modelClass}: ', [ 'modelClass' => 'Po Item', ]) . $model->id; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Po Items'), 'url' => ['index']]; $this->params['breadcrumbs...
<?php /** * Order cleanup background process. * * @package WooCommerce\Classes * @version 3.4.0 * @since 3.4.0 */ defined( 'ABSPATH' ) || exit; if ( ! class_exists( 'WC_Background_Process', false ) ) { include_once dirname( __FILE__ ) . '/abstracts/class-wc-background-process.php'; } /** * WC_Privacy_Backg...
<?php namespace Spatie\Permission\Test; use Spatie\Permission\Contracts\Role; use Spatie\Permission\Contracts\Permission; use Spatie\Permission\Exceptions\GuardDoesNotMatch; use Spatie\Permission\Exceptions\PermissionDoesNotExist; class HasPermissionsTest extends TestCase { /** @test */ public function it_ca...
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare(strict_types=1); namespace Nette\Forms; use Nette; use Stringable; /** * Single validation rule or condition represented as value object. */ final class Rule { use Ne...
<?php use yii\helpers\Html; use yii\grid\GridView; use app\models\general\GeneralLabel; use app\models\general\GeneralMessage; /* @var $this yii\web\View */ /* @var $searchModel frontend\models\RefKategoriPesertaPerhimpunanKemSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = GeneralLabel...
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. *. * @var array */ protected $except = [ '/api/login', '/...
@extends('layouts.app') @section('css') <link rel="stylesheet" href="{{ asset('css/lessons/index.css') }}"> @endsection @section('content') <div class="container bg-white px-5 py-3"> <div class="border-bottom mb-4"> @include('../partials/lesson_button') </div> <div class="row"> @foreac...
<?php defined('BASEPATH') or exit('No direct script access allowed'); $lang['streams.slug.name'] = 'Klíč'; $lang['streams.slug.space_type'] = 'Náhrada mezery'; $lang['streams.slug.slug_field'] = 'Zdrojové pole'; $lang['streams.slug.dash'] = 'Pomlčka'; $lang['streams.slug.underscore'] = 'Podtržítko';
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Etudiant extends Model { protected $guarded = []; public function cycle(){ return $this->hasMany('App\Cycle'); } public function filiere(){ return $this->hasMany('App\Filiere'); } public function niveau(){ return $this->hasMany(...
<?php namespace Database\Factories; use App\Models\Report; use App\Models\Station; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Http\File; use Illuminate\Support\Facades\Storage; class ReportFactory extends Factory { /** * The name of the factory's corresponding model. * * @v...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\SoftDeletes; class ProjectStatus extends Model { use SoftDeletes; public $incrementing = false; public function projects(): HasMany { re...
<footer> <div class="container py-3"> <?php if ($this->options->icp): ?> <nav class="text-center mb-1"><?php $this->options->icp(); ?></nav> <?php endif; ?> <nav class="text-center"> Powered by <a class="mx-1" href="http://www.typecho.org/" target="_blank"...
<?php /* @var $this yii\web\View */ $this->title = 'lotery'; ?> <!-- <div class="" style="max-width:100%"> --> <!--============= Banner Section Starts Here =============--> <section class="banner-section-2 bg_img" data-background="<?= Yii::$app->request->baseUrl ?>/themes/images/banner/banner-bg-3.png"> <div clas...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\CatagoryController; use App\Http\Controllers\BrandController; use App\Http\Controllers\CustomerController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------...
<?php /** * @author Joshua Estes * @copyright 2012-2015 Joshua Estes * @license https://github.com/nbobtc/bitcoind-php/blob/2.x/LICENSE MIT */ namespace Tests\Nbobtc\Http; use Nbobtc\Http\Client; use Nbobtc\Command\Command; /** */ class ClientTest extends \PHPUnit_Framework_TestCase { public function testCl...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLeavesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('leaves', functio...
<?php namespace common\modules\link\controllers; use common\modules\link\forms\main\GetRealLinkForm; use common\modules\link\forms\main\AddLinkForm; use Yii; use common\modules\link\forms\main\TotalLink; use common\modules\link\forms\main\ListLink; use common\modules\link\forms\main\IncrementVisitor; use yii\web\Contr...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php /** * File contains the ezcArchiveGnuHeader class. * * @package Archive * @version 1.4.1 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License * @access private */ /** * The ezcArchiveGnuHeader class represents the Tar Gnu heade...
<?php use Illuminate\Database\Seeder; use App\Paciente; use App\Usuario; use App\Doctor; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $doctor = new App\Doctor(); $doctor->nombre= 'Alexander'; ...
<?php namespace Database\Factories; use App\Models\Location; use App\Models\Team; use Illuminate\Database\Eloquent\Factories\Factory; use Laravel\Jetstream\Features; class LocationFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $...
<?php namespace App\Http\Controllers; use App\Category; use App\Channel; use App\Room; use App\Device; use App\StreamType; use Illuminate\Http\Request; use DB; class HomeController extends Controller { public $channel; public $room; public $device; public $category; /** * Create a new contr...
<?php namespace Tests\Unit\Modules\Mapper; use App\Modules\Mapper\ScheduleRecordMapper; use App\Modules\ScheduleRecord; use Tests\TestCase; use Tests\TestDb; use Tests\TestObject; class ScheduleRecordMapperTest extends TestCase { /** * @var ScheduleRecordMapper */ private $mapper = null; protec...
<div class="grid"> <!-- ===================================== END HEADER ===================================== --> <form action="<?php echo base_url();?>index.php/produktion/neue" method="POST"> <div class="col_12"> <div class="col_12"> <h3><i class="fa fa-plus-square"></i> <?php echo $pageTitle; ?></h3> </d...
<?php /** * @deprecated since 6.2.0 - no longer used. */ // main layout $layoutTemplate = 'popup_window_iframe'; // modules... $moduleList = array('pagetitle' => array('model' => 'MTHeader', 'view' => 'title'), 'contentmodule' => array('model' => 'CMSSearch', 'view' => 'standard', '_suppressHistory' => true)); //...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Support\Facades\Password; use App\Models\WebAdmin; use App\Common\Services\MailService; use DB; use Session; use Config; u...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class EstadoRequest extends FormRequest { public function authorize() { return true; } public function rules() { return [ 'nome' => 'required|min:2', 'uf' => 'required|max:2' ...
<?php /** * Plugin Name: Estel's Logout Shortcodes * Plugin URI: https://github.com/estelsmith/wp-logout-shortcodes * Description: Shortcodes for providing Logout links in WordPress. * Version: 1.0.0 * Requires at least: 5.3 * Requires PHP: 7.0 * Author: Estel Smith * Author URI: https://estelsmith.com/ */ de...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateJogadoresTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('jogador', fun...
<?php namespace Ddd\Arquitetura\Dominios\Academico\Matricula; use Ddd\Arquitetura\Dominios\Shared\Cpf; use Ddd\Arquitetura\Suporte\Evento\DisparadorDeEvento; use Ddd\Arquitetura\Dominios\Academico\Aluno\AlunoMatriculado; use Ddd\Arquitetura\Dominios\Academico\Aluno\RepositorioDeAluno; use Ddd\Arquitetura\Dominios\Aca...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\Customers */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="customers-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'timestamp')->textInput() ?> <?= $form-...
<?php namespace Phalcon\Mvc\Model { /** * Phalcon\Mvc\Model\MetaData * * <p>Because Phalcon\Mvc\Model requires meta-data like field names, data types, primary keys, etc. * this component collect them and store for further querying by Phalcon\Mvc\Model. * Phalcon\Mvc\Model\MetaData can also use adapters to...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateWeaponBuysTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('weapon_buys'...
<?php // This file was auto-generated from sdk-root/src/data/devops-guru/2020-12-01/docs-2.json
<!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>Document</title> </head> <body> <h1>Your code is {{$kod}} </h1> <h5>To Actiate clikc on this link: <a href="...
<? session_start();?> <!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>Dreamweaver+PHP資料庫網站製作</title> <meta http-equiv=...
<?php namespace Home\Controller; use Think\Controller; class BannerController extends CommonController { public function _initialize(){ if(session(XUANDB.'user_type')!='1'){ $is_tiao = M('limits_log')->where(array('admin_id'=>session(XUANDB.'id'),'lid'=>'banner'))->find(); if(!$is_ti...
<?php //View that diplays APIs // Login Validation $loggedIn = session('loggedIn'); if($loggedIn != 1) { Redirect::to('home')->send(); } ?> @extends('layouts.appmaster') @section('title', 'APIs') @section('content') <br> <ul class="list-group" align="left"> <li> <a href="api/getjobs" class="btn btn-dark">Job Listi...
<?php /** * Global helpers file with misc functions */ if (! function_exists('app_name')) { /** * Helper to grab the application name * * @return mixed */ function app_name() { return config('app.name'); } } if (! function_exists('access')) { /** * Access (lol) the Access:: facade as a simple func...
<?php use phpGrid\C_DataGrid; require_once("../conf.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"...
<?php /** * ALIPAY API: alipay.user.get request * * @author auto create * @since 1.0, 2016-07-29 19:51:20 */ class AlipayUserGetRequest { /** * 需要返回的字段列表。alipay_user_id:支付宝用户userId,user_status:支付宝用户状态,user_type:支付宝用户类型,certified:是否通过实名认证,real_name:真实姓名,logon_id:支付宝登录号,sex:用户性别 **/ private $fields; private...
<?php /** * Copyright (c) 2017 François Kooman <fkooman@tuxed.net>. * * 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 u...
<?php namespace Sonic\Config; /** * Sonic Web Framework * @license Apache License 2.0 * @link https://github.com/iamdual/sonic * @author Ekin Karadeniz (iamdual@icloud.com) */ use Sonic\Exception\EnvironmentException; use Sonic\Singleton; final class Environment { use Singleton; public s...
<?php namespace Orca\Ui\DataGrid; use Illuminate\Http\Request; /** * DataGrid class * * @author <> * */ abstract class DataGrid { protected $index = null; protected $sortOrder = 'asc'; protected $enableFilterMap = false; protected $filterMap = []; protected $columns = []; protected $...
<?php namespace Laravel\Passport; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use Laravel\Passport\Database\Factories\ClientFactory; class Client extends Model { use HasFactory; /** * The database table used by the model. ...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <h4 class="card-title mb-4">@lang('app.createNew')</h4> @if(count($locations) == 0) <div i...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateServicesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('services', fun...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User loop activity * * Created by ShineTheme * */ wp_enqueue_script('magnific.js' ); $status = get_post_status(get_the_ID()); $icon_class = STUser_f::st_get_icon_status_partner(); $type_activity = get_post_meta( get_the_ID() , 'type_activi...
<?php /** * Migration: 8 * Started: 11/10/2019 * Finalised: 11/10/2019 * * @package Nails * @subpackage module-auth * @category Database Migration * @author Nails Dev Team * @link */ namespace Nails\Auth\Database\Migration; use Nails\Common\Console\Migrate\Base; class Migration8 exten...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:75:"/Users/yhe/Projects/GHComp/public/../application/home/view/login/login.html";i:1530427851;}*/ ?> <!DOCTYPE html> <!-- saved from url=(0039)http://www.zhulang.com/login/index.html --> <html class="" lang="zh-cn"><!--<![endif]--><head><meta http-equiv="Content-Type" ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tag.proto namespace Wechaty\Puppet; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>wechaty.puppet.TagContactAddResponse</cod...
<?php namespace Yiisoft\Rbac\Manager; use Yiisoft\Rbac\Assignment; use Yiisoft\Rbac\Exceptions\InvalidArgumentException; use Yiisoft\Rbac\Exceptions\InvalidConfigException; use Yiisoft\Rbac\Exceptions\InvalidValueException; use Yiisoft\Rbac\Item; use Yiisoft\Rbac\ItemInterface; use Yiisoft\Rbac\ManagerInterface; use ...
<?php use Illuminate\Support\Facades\Route; Route::group(['middleware'=>['auth']],function(){ //welcom Route::get('/', 'WelcomeController@index')->name('welcome'); // users Route::resource('user', 'UserController'); // catgorie Route::resource('catgorie', 'CatgorieController'); //...
<?php namespace uuf6429\OpenAPI\Spec\Path\Operation\Response; use JsonSerializable; use uuf6429\OpenAPI\Helper\SerializeIfNotNull; use uuf6429\OpenAPI\Spec\Path\Operation\Header\Headers; use uuf6429\OpenAPI\Spec\Path\Operation\Link\Links; use uuf6429\OpenAPI\Spec\Path\Operation\MediaType\MediaTypes; class Response i...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Page extends CI_Controller { function index(){ $this->load->helper('url'); if(!empty(isset($_POST['cek'])) || !empty(isset($_GET['del']))){ $data = ""; if(!empty(isset($_POST['cek']))){ ...
<?php // +---------------------------------------------------------------------- // | snake // +---------------------------------------------------------------------- // | Copyright (c) 2016~2022 http://baiyf.cn All rights reserved. // +---------------------------------------------------------------------- // | License...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(LaratrustSeeder::class); $this->call(UsersTableSeeder::class); ...
<?php namespace UAParser\Result; /** * @author Benjamin Laugueux <benjamin@yzalis.com> */ class OperatingSystemResult implements OperatingSystemResultInterface { /** * @var string */ private $family = null; /** * @var string */ private $major = null; /** * @var string ...
<div class="row mt-3"> <table class="table"> <thead> <th> Feedback </th> <th> From </th> <th> When </th> </thead> <tbody> @foreach($feedback as $fb) ...
<?php declare(strict_types=1); namespace Diviky\Security\Listeners; use Diviky\Security\Concerns\Device; use Diviky\Security\Models\LoginHistory; use Illuminate\Auth\Events\Logout; use Illuminate\Http\Request; use Illuminate\Support\Carbon; class LogSuccessfulLogout { use Device; /** * The request. ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Input; use BF; class PermissionController extends Controller { public function index() { } public function create() { } public function store() { } public function show($id) {...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Runner; interface Hook { }
<!-- mypage header --> <?php $user_index = mysqli_real_escape_string($conn, $_SESSION['user_index']); $sql = "SELECT * FROM dcp_user_info WHERE id='$user_index'"; $result = mysqli_query($conn, $sql); if ($result) { $user = mysqli_fetch_assoc($result); } else { die(mysqli_error($conn)); } ?> <section class="my-heade...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; class PermissionController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request,$page = 1) {...
<?php /** * Contains all client objects for the UserTeamAssociationService * service. * * PHP version 5 * * Copyright 2016, Google Inc. 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...
<?php namespace eagle\modules\carrier\models; use Yii; use yii\behaviors\SerializeBehavior; /** * This is the model class for table "matching_rule". * * @property integer $id */ class MatchingRule extends \eagle\models\carrier\MatchingRule { //匹配项 static $rules = [ // 'source' => '订单来源', // 'site' =...
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Helmut Tischer <htischer@weihenstephan.org> * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License *...