text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; /** * @OA\Info( * version="1.0.0", * title="Laravel O...
<?php $panel = new \Controller\panel(); $datas = $panel->start(); $user_permission = $datas['user_permissions']; $wallet = new \Model\wallet(); $user = new \Model\user(); ?> <div class="right_col" role="main"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://hyperf.wiki * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\DB; use Closure; use Hyperf\Pool\Exception\ConnectionException; ...
@extends('layouts.app') @section('content') <div class="container"> <div class="card mb-4"> <div class="card-header"> <div class="row"> <div class="col-8"> <h4>Ver Car</h4> </div> <div class="col-4" style="text-align:right;pad...
<?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 declare(strict_types=1); namespace Doctrine\Tests\ORM\Functional; use Doctrine\DBAL\Platforms\PostgreSqlPlatform; use Doctrine\DBAL\Platforms\SQLServerPlatform; use Doctrine\DBAL\Schema\AbstractSchemaManager; use Doctrine\DBAL\Schema\Table; use Doctrine\ORM\Mapping\ClassMetadataInfo; use function array_change...
<?php // Start of shmop v. /** * Create or open shared memory block * @link http://php.net/manual/en/function.shmop-open.php * @param int $key <p> * System's id for the shared memory block. * Can be passed as a decimal or hex. * </p> * @param string $flags <p> * The flags that you can use: * "a" for access (...
<?php namespace AlipayAop\request; /** * ALIPAY API: ant.merchant.expand.item.security.delete request * * @author auto create * @since 1.0, 2021-01-15 11:33:46 */ class AntMerchantExpandItemSecurityDeleteRequest { /** * 商品删除 **/ private $bizContent; private $apiParas = array(); private $terminalType; p...
<!doctype html> <html class="no-js" lang=""> <head> <title>Zabuun - Learn Egyptian Arabic for English speakers</title> <meta name="description" content=""> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?> </head> <body> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?> <?php include...
<!DOCTYPE html> <html> <head> <title>Messages</title> <!-- Bootstrap core CSS--> <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom fonts for this template--> <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!-- Page level plugin CSS--> ...
<?php /* dvSSW2014Bundle:Query:index.html.twig */ class __TwigTemplate_9179f14e0681e0ed90ce74cf8a85fedfc37726a8c098b2c52bfa8b42def13458 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("::base.html....
<h4 class="text-center">Menu</h4> <div class="list-group list-group-flush"> <a href="/mhs" class="list-group-item list-group-item-action {{ (request()->is('mhs')) ? 'active' : '' }}">Mahasiswa</a> <a href="/dosen" class="list-group-item list-group-item-action">Dosen</a> <a href="/prodi" class="list-group-item lis...
<script src="<?php echo base_url() ?>assets/tinymce/js/tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ file_browser_callback: function(field, url, type, win) { tinyMCE.activeEditor.windowManager.open({ file: '<?php echo base_url() ?>assets/kcfinder/browse.php?opener...
<?php declare(strict_types=1); namespace Era269\Microobject; interface MessageProcessorInterface extends \Era269\MessageProcessor\MessageProcessorInterface { /** * @inheritDoc */ public function process(\Era269\MessageProcessor\MessageInterface $message): MessageInterface; }
<?php namespace App\Http\Controllers; use App\Post; use Illuminate\Http\Request; use App\Http\Resources\PostResource; class PostController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function all(){ return view('la...
@extends('layouts.admin') @section('content') @if(Session::has('organization_deleted')) <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <h4><i class="icon fa fa-check"></i> Great!</h4...
<div> <nav class="navbar navbar-expand-md navbar-light bg-white"> <div class="container"> <a class="navbar-brand" href="{{ url('/') }}"> {{ config('app.name', 'Laravel') }} </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-targe...
<!DOCTYPE html> <html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dans2</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;...
<?php namespace Teknomavi\Kargo\Company\Ups; use Symfony\Component\OptionsResolver\OptionsResolver; use Teknomavi\Kargo\Company\ServiceAbstract; use Teknomavi\Kargo\Company\ServiceInterface; use Teknomavi\Kargo\Company\Ups\Helper\CreateShipment\CreateShipment; use Teknomavi\Kargo\Company\Ups\Helper\CreateShipment\Cre...
<?php namespace Seracademico\Http\Controllers\Biblioteca; use Illuminate\Http\Request; use Seracademico\Http\Requests; use Seracademico\Http\Controllers\Controller; use Seracademico\Services\Biblioteca\GeneroService; use Seracademico\Uteis\SerbinarioDateFormat; use Seracademico\Validators\SalaValidator; use Yajra\Da...
<?php /** * Date: 2015-09-09 */ namespace app\seller\model; use think\Model; use think\Db; class Goods extends Model { /** * 一个商品对应多个规格 */ public function specGoodsPrice() { return $this->hasMany('SpecGoodsPrice','goods_id','goods_id'); } public function getShippingAreaIdArrAttr(...
<?php declare(strict_types=1); namespace Rector\Naming\PhpArray; final class ArrayFilter { /** * @return string[] */ public function filterWithAtLeastTwoOccurences(array $values): array { /** @var array<string, int> $valueToCount */ $valueToCount = array_count_values($values); ...
<div class="modal fade" id="deleteProductType{{$p_t->id}}" role="dialog" tabindex="-1" aria-labelledby="modelTitleId" aria-hidden="true"> <div class="modal-dialog" style="width: 500px;"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Domains extends Model { protected $fillable = [ 'name' ]; }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSalvavulnerasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('salvavuln...
<?php namespace TencentAds\Container; use GuzzleHttp\Client; use TencentAds\Api\OuterCluesApi; use TencentAds\Kernel\ApiContainer; use TencentAds\Kernel\HeaderHandler; use TencentAds\Middleware\Model\MiddlewareRequest; use TencentAds\TencentAds; class OuterCluesApiContainer extends ApiContainer { /** @var OuterCl...
<?php namespace App\Models; use App\Http\Helpers; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use DB; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Auth; class UserPacket extends Model { protected $table = 'user_packet'; protected $primaryKey = 'user_p...
<?php use Illuminate\Database\Seeder; class TechFieldsTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { \DB::table('tech_fields')->delete(); \DB::table('tech_fields')->insert(array ( 0...
<?php class Kwc_Favourites_UserModel extends Kwf_User_Model { public function __construct($config = array()) { $config['proxyModel'] = new Kwf_Model_FnF(array( 'columns' => array('id', 'name'), 'primaryKey' => 'id', 'data'=> array( arra...
<?php namespace App\Devintech\Service\MetierManagerBundle\Twig\Extension; class FileExistsExtension extends \Twig_Extension { /** * Return the functions registered as twig extensions * * @return array */ public function getFunctions() { return array( new \Twig_Simpl...
<?php namespace Lia\Controllers\RemoteDataControllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Lia\Auth\Database\Administrator; use Lia\Auth\Database\Permission; use Lia\Auth\Database\Role; class RemoteAdminController extends Controller{ public function get(Request $request) { ...
<?php namespace Test\Utils; use PHPUnit\Framework\Assert; use Throwable; use TRegx\CleanRegex\Match\Details\Detail; use TRegx\CleanRegex\Match\Details\Group\Group; class Functions { public static function identity(): callable { return function ($arg) { return $arg; }; } pu...
<?php namespace Database\Seeders; use App\Models\User; use App\Models\Video; use Illuminate\Database\Seeder; use Illuminate\Support\Str; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // User::factory(10)->creat...
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use App\User; use App\Roles; use App\Qualification; use Auth,Blade,Config,Cache,Cookie,DB,File,Hash,Mail,mongoDate,Redirect,Request,Response,Session,URL,View,Validator,hasFile; class EmployeeController extends Controller { publ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v2/common/policy.proto namespace Google\Ads\GoogleAds\V2\Common; if (false) { /** * This class is deprecated. Use Google\Ads\GoogleAds\V2\Common\PolicyTopicEvidence\DestinationTextList instead. * @deprecated ...
<?php namespace app\api\model; class UserGoodsModel extends \app\api\base\model\Base { // 设置当前模型对应的完整数据表名称 protected $table = 'user_goods'; protected $pk = 'id'; //设置商家资料 public function addData($id, $goods_title, $goods_synopsis, $class_goods) { $where = [ 'user_id' =>...
<?php namespace MProd\LicenciaCyPBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use Doctrine\ORM\Mapping\HasLifecycleCallbacks; use Doctrine\ORM\Mapping\PrePersist; /** * Licencia * * @ORM\Entity(repositoryClass="MProd\LicenciaCyPBundle\Repository\LicenciaRe...
<?php /** * Part of the Sentinel package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. * * @package Sentinel * @version 2.0.17 * @author Cartalyst LLC * @lic...
<?php include("../config.php"); if(@$ac=='insert') { $sql = mysql_query("INSERT INTO `rh_funcoes` (descricao, salario) values ('$descricao', '$salario')"); if($sql) { echo '<p class="text-success" style="text-align:center">Informações cadastradas com sucesso!</p>'; } else { echo '<p class="text-danger">'.mysql...
<?php class A { public $a = 1; static public $A = 2; private $b = 3; static private $B = 4; protected $c = 5; static protected $C = 6; public function __construct() { var_dump(get_class_vars('A')); } static public function test() { var_dump(get_class_vars('A')); } } var_dump(get_class_vars('A')); ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class AdminModels extends CI_Model { function __construct() { parent::__construct(); $this->load->database(); } // добавление спортивного питания public function addpit($d) { $string = array( ...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>I Have This Sorted Out</title> </head> <body> <?php // Script 7.7 - list.php /* This script receives a string in $_POST['words']. It then tur...
<?php /** * Browser Plugin * * This plugin provides a html representation, so that a WebDAV server may be accessed * using a browser. * * The class intercepts GET requests to collection resources and generates a simple * html index. * * @package Sabre * @subpackage DAV * @copyright Copyright (C) 2007-201...
<?php class Master_Customer extends CI_Model { protected $table = 'mscustomer'; //nama tabel dari database public $columnSelect = array( 'cust.customerid', 'cust.customername', 'cust.customerprefix', 'cust.customerphone', 'cust.customeraddress', 'cust.customerema...
<?php namespace App\Models\riesgo_sst; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class ObjetoTrabajo extends Model{ use SoftDeletes; protected $dates = ['delete_at']; protected $table = 'riesgo_sst.objeto_trabajo'; }
<?php return [ /* |-------------------------------------------------------------------------- | Cross-Origin Resource Sharing (CORS) Configuration |-------------------------------------------------------------------------- | | Here you may configure your settings for cross-origin resource shar...
<?php //cors解决跨越:所有的用户都可以访问。 header('Access-Control-Allow-Origin:*'); //允许任意的域名访问 header('Access-Control-Allow-Method:POST,GET'); //允许请求方式是get和post //1.连接数据库 header('content-type:text/html;charset=utf-8'); define('HOST','localhost');//主机名 define('USERNAME','root');//用户名 define('PASSWORD','');//密码 define('DBNAME','log...
<?php /** * Created by PhpStorm. * User: leidong * Date: 2017/9/18 * Time: 12:26 */ namespace app\api\service; use app\lib\enum\ScopeEnum; use app\lib\exception\TokenException; use app\lib\exception\WeChatException; use think\Exception; use app\api\model\User as UserModel; class UserToken extends Token { pr...
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20170322215000 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema...
<div class="hightlight"> <div class="container"> <h3 class="contentt">KHÓA HỌC NỔI BẬT</h3> <div class="row"> @foreach( $sanpham as $sp ) <div class="col-md-3"> <div class="course"> <div class="card" style="width: 18rem;"> <img src="source/client/image/product/{{$sp->av...
<?php namespace Doctrine\Tests\ODM\PHPCR\Query\Builder; use Doctrine\ODM\PHPCR\Query\Builder\Where; use PHPCR\Query\QOM\QueryObjectModelConstantsInterface as QOMConstants; class OrderByTest extends NodeTestCase { public function provideInterface() { return array( array('asc', 'Ordering', ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class User_model extends CI_Model { public $variable; public function __construct() { parent::__construct(); } public function getUserDetail($id){ $this->db->select("nama,idcard,username,tgl_lahir,alamat,gambar"); $query = $thi...
@extends('layout.app') @section('content') <div class="container mt-4"> <div class="row"> <div class="col"> <h2>Список друзей</h2><br> <table class="table"> <thead> <tr> <th scope="col">#</th> ...
<?php /** * IXR_MESSAGE * * @package IXR * @since WP-1.5.0 * */ class IXR_Message { var $message = false; var $messageType = false; // methodCall / methodResponse / fault var $faultCode = false; var $faultString = false; var $methodName = ''; var $params = array(); // Cu...
<?php $__env->startSection('adminlte_css'); ?> <?php echo $__env->yieldPushContent('css'); ?> <?php echo $__env->yieldContent('css'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('classes_body', (config('adminlte.sidebar_mini', true) === true ? 'sidebar-mini ' : (config('ad...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class TestRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<?php include "db.php" ;?> <?php if(isset($_POST['submit']) && !empty($_POST['submit'])){ $qs_num=$_POST['qs_num'] ; $qs_text=$_POST['qs_text'] ; $choices = array() ; $choices[1]=$_POST['choice1'] ; $choices[2]=$_POST['choice2'] ; $choices[3]=$_POST['choice3'] ; $choices[4]=$_POST['choice4'] ; $correct = $_POST...
<?php namespace common\components; use yii\rbac\Rule; use common\models\User; use common\models\Content; use Yii; class ContentRule extends Rule{ public $name = 'isContent'; public function execute($user, $item, $params) { //abstract method implement $id= Yii::$app->request->get('id'); ...
<?php namespace Laravel5Fundatmentals\Providers; use Laravel5Fundatmentals\Article; use Illuminate\Support\ServiceProvider; class ViewComposerServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { $this-...
<?php namespace cookiebot_addons\tests\integration\addons; class Test_Jetpack_Internet_Defense_League_Widget extends \WP_UnitTestCase { public function setUp() { } /** * This will validate if the hook "jetpack internet defense league widget" still exists * * @since 2.1.0 */ public function test_inte...
<nav class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-coll...
<?php namespace App\Http\Requests\Acl; use Illuminate\Foundation\Http\FormRequest; use App\Models\Role; class RoleRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <style> .panel-body { padding: 15px 5px; } </style> <div class="x_panel"> <div class="x_title"> <h2>Input Informations</h2> <ul class="nav navbar-right panel_toolbox"> <li> <a class="collapse-link"><i class="fa fa...
<div class="container"> <div id="passwordreset" style="margin-top:50px" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2"> <div class="panel panel-info"> <div class="panel-heading"> <div class="panel-title">Réinitialiser mon mot de...
<?php if(!defined('ABSPATH')){ exit;//Exit if accessed directly } class AIOWPSecurity_Backup { var $last_backup_file_name;//Stores the name of the last backup file when execute_backup function is called var $last_backup_file_path; var $last_backup_file_dir_multisite; function __construct() ...
<?php namespace Spinen\ConnectWise\Models\v2019_3\Project; use Carbon\Carbon; use Spinen\ConnectWise\Support\Model; /** * Class ProjectTeamMember Version v2019_3 * * Model for ProjectTeamMember * * @property Carbon $endDate * @property Carbon $startDate * @property MemberReference $member * @property Metadat...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Controllers\UploadController; use App\Http\Requests\Admin\UserRequest; use App\Http\Requests\Admin\UserCreateRequest; use Illuminate\Http\Request; use App\Http\Requests; use App\Models\Order; use App\Models\User; use DB;...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\Contract */ /* @var $form yii\widgets\ActiveForm */ $this->title = Yii::t('app', 'Registered Company'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Contracts'), 'url' => ['index']]; $thi...
<?php namespace Src\Inventario\Aplication; use Src\Inventario\Domain\IProductosimpleRepository; use Src\Inventario\Domain\ProductoInexistente; use Src\Inventario\Shared\Domain\IEmailSender; use Src\Inventario\Shared\Domain\IUnitOfWork; use Exception; class GenerarSalidaProductoSimpleService { private IProducto...
<?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\Framework\Constraint; use function array_reduce;...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace...
<?php use App\Support\SEO; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostTagsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::c...
@extends('layout') @section('content') <!--imagen principal--> <div class=" parallax uk-height-large uk-background-cover uk-light uk-flex uk-flex-top wow fadeIn" data-wow-duration="1s" data-wow-delay="1s" uk-parallax="bgy: -200" style="background-image: url('imagenes/Master-Servicios-assets/Juridico.webp');"> <di...
<!-- Page Wrapper --> <div id="wrapper"> <!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-2 text-gray-800">Update Profile</h1> <!-- <p class="mb-4">DataTables is a third party plugin that is used to generate the demo table below. For more information abo...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel React</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=...
<?PHP if(isset($_GET['id'])) { require_once('config.php'); $url = mysqli_real_escape_string($conn , $_GET['id']); $sql = "SELECT LONG_URL from urls WHERE SHORT_URL = '$url'"; $result = mysqli_query($conn , $sql) or die(mysqli_error($conn)); // calculating no of rows $total = mysqli_num_...
<?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\Serializer\Encoder; use Symfony\Component\Serializer\...
<table class="table" > <tr> <th>{{ __('name') }} *</th> <td> {!! Form::text('name',null,['class'=>'form-control', 'required'])!!} @error('name') <span class="text-danger"> {!! $message !!}</span> @enderror </td> </tr> <tr class="balan...
<?php namespace Aura\Backend\Updates; use Schema; use October\Rain\Database\Updates\Migration; class BuilderTableUpdateAuraBackendRoom2 extends Migration { public function up() { Schema::table('aura_backend_room', function($table) { $table->text('content'); $table->stri...
<?php namespace App\Http\Controllers; use App\Http\Requests\ServicioRequest; use App\Servicio; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class ServicioController extends Controller { public function index() { $servicios = Servicio::all(); return view('servicio.index', co...
<?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\Bundle\FrameworkBundle\Translation; use Psr\Container\Container...
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20190923113322 extends AbstractMigration { public function up(Schema $schema) : void { ...
<?php namespace App\Http\Controllers\Main; use App\Helper\CustomController; use App\Http\Controllers\Controller; use App\Models\Products; use App\User; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\Request; class MainController extends CustomController { // /** * MainController construct...
<?php namespace Core\Mailer; class Message { protected $mailer; public function __construct($mailer) { $this->mailer = $mailer; } public function to($address) { $this->mailer->addAddress($address); } public function subject($subject) { $this->mailer-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>贝壳资讯</title> <style> body{margin: 0;} #container{width: 854px;position: absolute;left: calc(50% - 854px/2);/*border: 1px solid black*/;height: 1000px;top:100px;} .top-row{width: 100%;/*border: 1px solid black*/;} #head-row{height: 250px;} #head-ro...
<?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; use Doctrine; use Doctrine\...
<?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.md that was distributed with this source code. */ if ((!@include __DIR__ . '/../../vendor/autoload.php'))...
<?php namespace r\ValuedQuery; use r\ValuedQuery\ValuedQuery; use r\ProtocolBuffer\TermTermType; class ImplicitVar extends ValuedQuery { protected function getTermType() { return TermTermType::PB_IMPLICIT_VAR; } public function hasUnwrappedImplicitVar() { // A function wraps impli...
<?php namespace Drupal\rng\Plugin\EntityReferenceSelection; use Drupal\Core\Entity\Plugin\EntityReferenceSelection\SelectionBase; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Database\Query\SelectInterface; /** * Provides specific access control for registration groups. * * @EntityReferenceSelection( ...
<?php // modules/product/admin_install.php if (MAIN_INIT == 'installing') { if ($ftp->mkdir(DATA_PATH.'product/', 0755)) { $content[] = '<li class=valid>โฟลเดอร์ <strong>'.DATA_FOLDER.'product/</strong> สามารถใช้งานได้</li>'; } else { $content[] = '<li class=invalid>โฟลเดอร์ <strong>'.DATA_FOLDER.'product/<...
<?php namespace Craft; /** * Class LightswitchFieldType * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @copyright Copyright (c) 2014, Pixel & Tonic, Inc. * @license http://craftcms.com/license Craft License Agreement * @see http://craftcms.com * @package craft.app.fieldtypes * @sinc...
<?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...
<form action="/kinerja-dosen/pkm-dtps/{{ $ts->tahun_laporan }}/{{ $ts->sumber_id }}" method="post"> <div class="modal-body"> @csrf <h5 class="text-center">Yakin Ingin Menghapus ? </h5> <input type="hidden" name="sumber_id" value="{{ $ts->sumber_id }}"> @if ($ts->sumber_id == 1) ...
<?php /** * ================================================================== * 文 件 名: Handle.php * 概 要: Whoops系统异常处理类 * 作 者: IT小强 * 创建时间: 2019-07-26 13:56 * 修改时间: * copyright (c) 2016 - 2019 mail@xqitw.cn * =====================================================...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * phpMyAdmin sample configuration, you can use it as base for * manual configuration. For easier setup you can use setup/ * * All directives are explained in documentation in the doc/ folder * or at <https://docs.phpmyadmin.net/>. * * @package PhpMyAdmin */ /...
@extends('auth.layouts.master') @section('title', 'Заказ ' . $order_i->id) @section('content') <div class="py-4"> <div class="container "> <div class="justify-content-center"> <div id="main" class="order"> <div class="panel"> <h1>Заказ №{{ $order_i->id }}...
<?php namespace SzuniSoft\Azure\Laravel\Queue; use Illuminate\Container\Container; use Illuminate\Contracts; use Illuminate\Queue\Jobs\Job; use MicrosoftAzure\Storage\Queue\Internal\IQueue; use MicrosoftAzure\Storage\Queue\Models\QueueMessage; use MicrosoftAzure\Storage\Queue\QueueRestProxy; class AzureJob extends...
--TEST-- Test for overloaded var_dump() on the CLI --INI-- xdebug.mode=display xdebug.overload_var_dump=1 html_errors=0 xdebug.cli_color=0 xdebug.var_display_max_data=32 xdebug.var_display_max_depth=2 xdebug.var_display_max_children=8 --FILE-- <?php $array = array( "Hello, this is a very long string with some other us...
@extends( Config::get('app.templateMaster' , 'templates.templateMaster') ) @section( Config::get('app.templateMasterContentTitulo' , 'titulo-page') ) Usuarios do Perfil {{$model->nome}} @endsection @section( Config::get('app.templateMasterContentTituloSmall' , 'titulo-page') ) <form method="post" action...