text
stringlengths
2
1.03M
<?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...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <form action="{{route('storeproduct')}}" method="POST" enctype="multipart/form-data"> ...
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Jonathan H. Wage <jonwage@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\AdminBu...
<?php namespace app\admin\controller; use think\Db; header("Content-type:text/html;charset=utf-8"); use phpmailer\PHPMailer; class Mail extends Base { //在构造方法里面调用,理解成构造方法 public function _initialize(){ parent::_initialize(); $this->tables=Db::table("mail"); } /** * 默认方法,查询列表数据 ...
@extends('web.layouts.master') @section('content') @include('web.includes.breadcrumbs',[ 'title1'=>null, 'title2'=>null, 'title3'=>$product->name, 'parent'=>[], 'current'=>$product->name ]) <article class="container theme-container"> <!-- Single Products Start --> <section id="...
<div class="main"> <img src="/imgs/noauth.jpeg" style="width: 100%;"> </div>
<?php use \koolreport\widgets\koolphp\Table; use \koolreport\barcode\BarCode; use \koolreport\barcode\QRCode; ?> <!DOCTYPE html> <html> <head> <title>Barcode Types</title> <link rel="stylesheet" href="../../../assets/css/example.css" /> </head> <style type="text/css"> a.pk { color:#333 !im...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2016 http://thinkphp.cn All rights reserved. // +------------------------------------------------------...
<?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\Finder\Tests; use PHPUnit\Framework\TestCase; use Symf...
<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?> <? include('../../connect.php'); session_start(); $user = $_COOKIE['user']; $sql_user = " SELECT * FROM admin WHERE admin_username = '$user' "; $query_user = mysql_query($sql_user) or die("Can't Query...
<?php namespace Illuminate\Redis\Connections; use Redis; use Closure; use Illuminate\Contracts\Redis\Connection as ConnectionContract; /** * @mixin \Redis */ class PhpRedisConnection extends Connection implements ConnectionContract { /** * Create a new PhpRedis connection. * * @param \Redis $c...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Illuminate\Database\Eloquent\SoftDeletes; use Spatie\Permission\Traits\HasRoles; use Laravel\Passport\HasApiTokens; class User extends Authentica...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use DB; class AdminController extends Controller { public function index() { // $users = User::all(); $users = DB::table('users')->paginate(5); // $users = User::paginate( perPage: 2); return view...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php namespace console\controllers; use Yii; use yii\console\Controller; /** * CommentController implements the CRUD actions for CommentProduct model. */ class RbacController extends Controller { public function actionInit() { $trans = Yii::$app->db->beginTransaction(); try { $dir = dirname(dirname(dirname(__FILE__)))...
<div wire:ignore.self class="modal fade" id="modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <form wire:submit.prevent='submit'> <div class="modal-content"> <div class="modal-header"> <h6 class="title" id="defaultModalLabel">{{ $...
<?php /** * Created by PhpStorm. * User: HeiYanHeiMao * Date: 2019/10/14 * Time: 16:43 */ namespace app\back\controller; use app\back\model\ConfigModel; use think\Request; class Upload extends Base { public function uploadImg(Request $request) { //获取配置 $config = (new ConfigModel())->get...
<?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 maiorADV\eBaySDK\Test\Marketing\Enums; use maiorADV\eBaySDK\Marketing\Enums\DataTypeEnum; class DataT...
@extends('layouts.template') @section('title','Registro de Cantón') @section('content') <div class="card"> <div class="card-header"> <div class="alert alert-secondary" role="alert"> <h1 class="title-it">Registro de Cantón</h1> </div> </div> <div class="card-body"> <form ...
<?php if (!$step) { header('Location: ./install.php'); die(); } else if(@$_SESSION['checked_step'] != 3){ header('Location: ./install.php'); die(); } if ($_POST['language'] == 'arabic') { $site_direction = "rtl"; }else{ $site_direction = "ltr"; } if ($_POST['language']) $language = addslashes(strip_tags($_PO...
@extends('layouts.app') @section('content') <div class="container"> <h2>Edytuj Stacje {{ $station->name }}</h2> <form class="form-horizontal" role="form" method="POST" action="{{ url('stations/'.$station->id) }}"> <input type="hidden" name="_method" value="PUT"> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Plots; use App\Models\Deals; use App\Models\Clients; use App\Models\Portfolio; use App\Models\Renewal; use App\Search; use App\Post; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Image; class TransactionCo...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 License at * * http://www.apache.org/licenses/LICENS...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddColumn extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('costomers', function (Blu...
<?php /** * ServersController * Manage the isp profile * @version 1.0 */ class Admin_ServersController extends Shineisp_Controller_Admin { protected $servers; protected $datagrid; protected $session; protected $translator; /** * preDispatch * Starting of the module * (non-PHPdoc) * @see library/Z...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <title>JayTrack</title> <meta content="" name="description"> <meta content="" name="keywords"> <!-- Favicons --> <link href="{{ asset('assets/img/favicon.png') }}" rel="...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php', 'App\\Http\\Controllers\\Aut...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Factories\HasFactory; class Role extends Model { use HasFactory, SoftDeletes; protected $table = 'roles'; protected $primaryKey = 'id'; protected $...
@extends('layouts.helloapp') @section('title', 'ユーザ情報削除') @section('menubar') ユーザ情報削除 @parent @endsection @section('content') <form action="/jissyu12/remove" method="post"> <table> @csrf <input type="hidden" name="id" value="{{$item->id}}"> <tr><th>name: </th><td>{{$item->name}}</td></tr> ...
<?php class UserAddress extends EMongoEmbeddedDocuemnt { public $city; public $street; public $apartment; public $zip; public function rules() { return array( array('city, street, house', 'length', 'max'=>255), array('house, apartment, zip', 'length', 'max'=>10), ); } public function attributeLabels...
@extends('app') @section('content') @section('title','Ürün Düzenle') <div id="wrapper"> @include('sidebar') <div id="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <!-- Icon Cards--> <div class="row"> <div class="col-xl-12 col-sm-12 mb-12"> <form id=...
<?php namespace App\Policies; use App\User; use Illuminate\Auth\Access\HandlesAuthorization; // use App\Acl\Guard\GuardInterface; class MultiTenantPolicy { use HandlesAuthorization; protected $guard; /** * Create a new policy instance. * * @return void */ // public function __co...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMenuRecommandationTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menu...
<?php namespace Site\MainBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class EmailType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options ...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
@extends('welcome') @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <h3 class="text-center">PHIẾU ĐÁNH GIÁ NGHIỆM THU </h3> <h3 class="text-center mb-4">ĐỀ TÀI KHOA HỌC VÀ CÔNG NGHỆ CẤP CƠ SỞ </h3> ...
<?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 ...
<!DOCTYPE> <html> <head> <style> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td { border: 1px solid #000000; text-align: left; padding: 8px; } th { border: 1px solid #000000; text-align: left; padding: 8px; color: #ffffff; /*bac...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMovieuserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('movieuser', f...
<?php namespace mageekguy\atoum\tests\units\report\fields\runner\exceptions; use mageekguy\atoum, mageekguy\atoum\locale, mageekguy\atoum\cli\prompt, mageekguy\atoum\cli\colorizer, mageekguy\atoum\tests\units, mageekguy\atoum\report\fields\runner ; require_once(__DIR__ . '/../../../../../runner.php'); class c...
<?php /* * Copyright (c) 2008-2016 vip.com, All Rights Reserved. * * Powered by com.vip.osp.osp-idlc-2.5.11. * */ namespace com\vip\adp\api\open\service; class VipLinkCheckReq { static $_TSPEC; public $source = null; public $content = null; public function __construct($vals=null){ if (!isset(self::$_TS...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Create1500442043LessonsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { if(! Schema::hasTable('lessons')) { Schema::crea...
<?php namespace Modules\Access\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * The module namespace to assume when generating URLs to actions. * * @var s...
<?php /** * Container for list of headers. * * @package stubbles * @subpackage peer * @version $Id: stubHeaderList.php 2857 2011-01-10 13:43:39Z mikey $ */ stubClassLoader::load('net::stubbles::lang::exceptions::stubIllegalArgumentException', 'net::stubbles::peer::stubURL' ); /** *...
<?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 require __DIR__.'/lt.php';
<?php require_once __DIR__.'/../vendor/autoload.php'; use Rezzza\Jobflow\Extension; use Rezzza\Jobflow\Jobs; use Rezzza\Jobflow\Io; use Rezzza\Jobflow\Extension\ETL\Type; use Rezzza\Jobflow\Scheduler\ExecutionContext; $builder = Jobs::createJobsBuilder(); $builder->addExtension(new Extension\Monolog\MonologExtension...
<?php namespace Mia\Finder\Repository; use \Illuminate\Database\Capsule\Manager as DB; use Mia\Finder\Model\MiaFinderLog; /** * Description of MiaFinderLogRepository * * @author matiascamiletti */ class MiaFinderLogRepository { /** * * @param \Mia\Database\Query\Configure $configure * @retur...
<?php use yii\db\Migration; class m180530_080646_create_table_article extends Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB'; } $this->crea...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Libros; use Illuminate\Support\Facades\DB; class libroController extends Controller { public function indexAdmin(){ //$libros = Libros::all(); $libros = DB::table('libros')->get(); //return $libros; return...
<?php declare(strict_types=1); namespace Infrastructure\QueryBus\Query; interface QueryInterface { }
<?php use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use frontend\widgets\Alert; /* @var $this \yii\web\View */ /* @var $content string */ AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$...
<?php namespace App; use StoutLogic\AcfBuilder\FieldsBuilder; $fields = new FieldsBuilder('service'); $fields->setLocation('post_type', '==', 'service'); $fields ->addText('service_type') ->addText('service_abbr') ->addTextArea('description') ->addNumber('price'); return $fields;
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use DB; class CompanyParticipant extends Model { protected $connection = 'sqlite'; protected $table = 'companies_participants'; public function add($companyId, $participantId){ $sql = self::insert([ 'company_id' => $companyId, ...
<?php $titulo = "Links"?> <?php require_once("./componentes/header.php")?> <?php require_once("./componentes/barra.php")?> <section class="contenido-pagina"> <?php $titulo = "Links"; $descripcion = "Estilos de los links de la librería"; require_once("./articuloPrincipal.php"); ?> ...
<?php ?> <!DOCTYPE HTML> <html> <head> <meta name="og:title" content="Badger's iPhone"> <meta name="og:description" content="The official website of Badger"> <meta name="theme-color" content="#000"> <meta name="og:image" content="https://i.gyazo.com/a17db9d1cef1e217be9a81fabe1ea750.png"> <meta name...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $__env->yieldContent('title'); ?></title> <link rel="stylesheet" href="<?php echo e(asset('css/app.css')); ?>"> <script src="<?php echo e(asset('js/...
<?php namespace Yeomi\AdminBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Security\Core\Exception\AccessDenied...
@extends('website.layouts.app') @section('content') <main id="main"> <!-- ======= Breadcrumbs ======= --> <section id="breadcrumbs" class="breadcrumbs"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> <h2>Collection</h2> <ol> <li><a href="index.html">Home</a><...
<?php namespace App\Http\Controllers\Pages; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class EducacionController extends Controller { public function education(){ return view('pages.educacion'); } }
<?php //form handler require 'handlers/search_handler.php'; ?> <!DOCTYPE html> <html> <head> <!-- css link --> <link rel="stylesheet" href="css/search.css"> </head> <body> <div class="header"> <h1>Food Buzz</h1> <pre style= "font-family:verdana; font-size: 20px;">Plan! Eat! Share!</pre> </div> <div clas...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class AdminMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure ...
<?php namespace NotificationChannels\Vkontakte; use GuzzleHttp\Client; use Illuminate\Notifications\ChannelManager; use Illuminate\Support\Facades\Notification; use Illuminate\Support\ServiceProvider; use NotificationChannels\Vkontakte\Vkontakte; /** * Class VkontakteServiceProvider. */ class VkontakteServiceProvi...
<?php /** * Created by PhpStorm. * User: omar * Date: 10/12/17 * Time: 12:22 AM */ namespace App\Parent; use Illuminate\Support\Facades\Config; class DiscountProvider { /** * certain collections * @var array */ protected $certainCollections; /** * discount service to get count o...
<?php namespace Oro\Bundle\AddressBundle\Migrations\Data\ORM; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\ORM\EntityRepository; use Oro\Bundle\AddressBundle\Entity\Country; use Oro\Bundle\AddressBundle\Entity\Region; use Oro\Bundle\MigrationBundle\Fixture\VersionedFixtureInterface; use Oro\Bundle\Tran...
<?php namespace CodedCell\Presenters; use CodedCell\Printers\PrinterEntity; /** * Class Supplier * @package CodedCell\Presenters */ class Printer extends Presenter { protected $entity; public function __construct($entity) { parent::__construct($entity); $this->printer = new PrinterEnti...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\Penilaian */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="penilaian-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'id_admin')->textInput() ?> <?= $form-...
<?php /** * This file is part of Notadd. * * @author TwilRoad <heshudong@ibenchu.com> * @copyright (c) 2017, notadd.com * @datetime 2017-05-20 17:10 */ namespace Notadd\Mall\Controllers\Api\User; use Notadd\Foundation\Routing\Abstracts\Controller; use Notadd\Mall\Handlers\User\LoginHandler; use Notadd\Mall\Handl...
@extends('admin.layouts.layout') @section('css') @endsection @section('content') <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-12"> <h3 class="font-weight-bold mt-3">Top Banner Form</h3> </div> </div> <div class="wrapper wrapper-content"> <div class="ibox-content...
@include('charts::_partials.container.svg') <script type="text/javascript"> $(function() { @include('charts::plottablejs._data.one') var xScale = new Plottable.Scales.Category(); var yScale = new Plottable.Scales.Linear(); var xAxis = new Plottable.Axes.Category(xScale, 'bottom');...
<?php /** * Created by PhpStorm. * User: louis * Date: 26/08/2016 * Time: 14:59 */ namespace CtSearchBundle\Command; use CtSearchBundle\Classes\IndexManager; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\I...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class GenreCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<?php namespace Devoogle\Src\Version\Command; class UpdateVersionCommand { private $uuid; private $url; private $categoryId; private $comment; public function __construct(string $uuid, string $categoryId, string $url, string $comment) { $this->uuid = $uuid; $this->url = $...
<!doctype html> <html> <head> <title>CI 3 - harviacode</title> <link rel="stylesheet" href="<?php echo base_url('assets/bootstrap/css/bootstrap.min.css') ?>"/> <link rel="stylesheet" href="<?php echo base_url('assets/datatables/dataTables.bootstrap.css') ?>"/> <link rel="stylesheet" ...
<?php /** * @author : Jagepard <jagepard@yandex.ru> * @license https://mit-license.org/ MIT */ namespace Behavioral\Mediator; interface MediatorInterface { public function addListener(AbstractListener $listener, string $method): void; public function notify(AbstractListener $listener, HandlerInterface $h...
<?php use Illuminate\Support\Facades\Route; Route::bind('identification', function ($id) { return app(Modules\Identifications\Repositories\IdentificationInterface::class)->byId($id); }); Route::group(['prefix' => 'identifications'], function () { Route::get('/', [ 'as' => 'admin.identifications.index...
<?php namespace App; use Webpatser\Uuid\Uuid; trait Uuids { /** * Boot function from laravel. */ protected static function boot() { parent::boot(); static::creating(function ($model) { $model->{$model->getKeyName()} = Uuid::generate()->string; }); } }
@extends('layout.courier.app') @section('content') <div class="content"> <div class="d-flex justify-content-between h-100"> <div class="container-fluid p-4"> <div class="row"> <div class="card shadow-sm"> <div class="card-body"> {{-- <h5 class="card-title">Pengaturan</h5> --}} ...
<?php use think\facade\Env; // +---------------------------------------------------------------------- // | 缓存设置 // +---------------------------------------------------------------------- return [ // 默认缓存驱动 'default' => Env::get('cache.driver', 'redis'), // 缓存连接方式配置 'stores' => [ 'redis' ...
<?php namespace MaoDK87\SanctumMongoDB;; use MaoDK87\SanctumMongoDB;\Contracts\HasAbilities; class TransientToken implements HasAbilities { /** * Determine if the token has a given ability. * * @param string $ability * @return bool */ public function can($ability) { ret...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%order_addresses}}`. * Has foreign keys to the tables: * * - `{{%order}}` */ class m211126_164027_create_order_addresses_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable(...
<?php /* * This file is part of the puli/repository package. * * (c) Bernhard Schussek <bschussek@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Puli\Repository\Api; use Exception; use RuntimeException; /*...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport"> <title><?php echo $title; ?> &mdash;</title> <link rel="shortcut icon" h...
<?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 namespace Tsukanov\SteamLocomotive\Core\Interfaces; use Tsukanov\SteamLocomotive\Core\WebInterface; class ISteamApps extends WebInterface { public function GetAppList() { return self::get(self::getClassName($this), __FUNCTION__, 2); } /** * @param $addr string IP or IP:queryport t...
<?php namespace App\Admin\Actions\Bill; use App\Imports\BillImport; use Encore\Admin\Actions\Action; use Encore\Admin\Auth\Permission; use Illuminate\Http\Request; use Maatwebsite\Excel\Facades\Excel; class ImportBills extends Action { protected $selector = '.import-bills'; public function handle(Request $r...
<?php // u promenjivu $Lozike smestamo sadrzaj fajla lozinke.txt $lozinke = file("lozinke.txt"); // otvaramo (kreiramo) novi fajl sifrovaneLozinke.txt, gde cemo da smestimo sifrovane lozinke $fl=fopen("sifrovaneLozinke.txt","w"); // idemo u foreach petlji i citamo liniju po niju iz fajla lozinke.txt foreach ($lozinke ...
<?php //============================================================+ // File name : tcpdf_config.php // Begin : 2004-06-11 // Last Update : 2014-12-11 // // Description : Configuration file for TCPDF. // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // License : GNU-LGPL...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } /** * B...
<?php declare(strict_types=1); namespace Tests\Mock\BaseRepositoryAndBaseEntity\Entities\BadEntities\OnlyOneForeignKeyTargetingSameClass; use Zrnik\MkSQL\Repository\Attributes\PrimaryKey; use Zrnik\MkSQL\Repository\Attributes\TableName; use Zrnik\MkSQL\Repository\BaseEntity; #[TableName('OnlyOneForeignKeyTargetingSa...
@extends('index') @section('content') <div class="container" align="center"> <div class="content"> <img src="{{url("images/soon.png")}}" width="500"alt=""> </div> </div> @endsection
<?php namespace Prime; use Prime\Router\Route; use Prime\Router\Route\Exception\InvalidRouteException; use Prime\Router\Route\Exception\ResourceNotFoundException; use Psr\Http\Message\ServerRequestInterface; class Router { /** * List of all defined routes. The key is the name of the route and the * val...
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20161122072851 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema...
<div > <form id="{{$pageModule}}Search"> <table class="table search-table table-hover" id="advance-search"> <tbody> @foreach ($tableForm as $t) @if($t['search'] =='1') <tr id="{{ $t['field'] }}" class="fieldsearch"> <td>{!! SiteHelpers::activeLang($t['label'],(isset($t['language'])? $t['language'] : array())) !!...
<?php // I had a hard time setting up WAMP to lauch python files so it was easier to just do this. exec("C:\Python\python main_script.py"); ?>
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Rules\ValidarCampoUrl; class ValidationMenu extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return tru...
<?php /** * ALIPAY API: koubei.marketing.data.indicator.query request * * @author auto create * @since 1.0, 2021-03-12 11:07:33 */ namespace Alipay\Request; class KoubeiMarketingDataIndicatorQueryRequest { /** * 营销活动指标查询 **/ private $bizContent; private $apiParas = array(); private $terminalType; privat...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Groups extends Admin_Controller { function __construct() { parent::__construct(); if(!$this->ion_auth->in_group('admin')) { $this->session->set_flashdata('message','You are not allowed to visit the Groups page'); r...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
<?php namespace Obullo\Auth\User; /** * Authenticated User * * @copyright 2016 Obullo * @license http://opensource.org/licenses/MIT MIT license */ class User implements UserInterface { /** * Credentials * * @var object */ protected $credentials; /** * Query Result Row ...
<?php /* Smarty version 3.1.39, created on 2021-09-22 10:58:38 from 'F:\xampp\htdocs\AgeOfVandals\s1_\templates\game_stable.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_614af03ee2cca2_42484969', '...