text stringlengths 2 1.03M |
|---|
<?php namespace App\Http\Controllers;
use Session;
use Request;
use DB;
use Mail;
use Hash;
use Cache;
use Validator;
class ApiTbmKategoriBukuListController extends \crocodicstudio\crudbooster\controllers\ApiController {
function __construct() {
$this->table = "kategori_buku";
$th... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace App\Http\Controllers\Api\v5;
use App\Abstracts\Contact\ContactLocation;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Abstracts\Operational\V2\DeliveryOrderDriver;
use App\Abstracts\Operational\DeliveryOrderDriverDocument;
use App\Abstracts\Operational\Manifest;
use App\Abs... |
<table>
<?php
$kolom = 5;
$i = 1;
$upload_dir = 'img/product/';
$sqlProduk = "SELECT * FROM tabel_produk ORDER BY id DESC LIMIT 8";
$rslt = mysqli_query($kon, $sqlProduk);
while ($data = mysqli_fetch_array($rslt)) {
if (($i) % $kolom == 1) {
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Category */
$this->title = Yii::t('bshop', 'Update {modelClass}: ', [
'modelClass' => 'Category',
]) . $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('bshop', 'Categories'), 'url' => ['index']];
$this->params[... |
<?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
namespace Concrete\Core\Board\Command;
use Concrete\Core\Application\Application;
use Concrete\Core\Block\Block;
use Concrete\Core\Board\Instance\Slot\Content\ObjectCollection;
use Concrete\Core\Foundation\Serializer\JsonSerializer;
class RefreshBoardInstanceCommandHandler
{
/**
* @var Application
... |
<?php
namespace Config;
// Create a new instance of our RouteCollection class.
$routes = Services::routes();
// Load the system's routing file first, so that the app and ENVIRONMENT
// can override as needed.
if (file_exists(SYSTEMPATH . 'Config/Routes.php')) {
require SYSTEMPATH . 'Config/Routes.php';
}
/**
* --... |
<?php
namespace Encore\Admin\Form\Field;
use Encore\Admin\Facades\Admin;
use Encore\Admin\Form\Field;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
class Select extends Field
{
protected $templateState;
private $al... |
<?php
/**
* Crie um array com os seguintes valores :
* Jaguar, 3.0, azul, 18, Teto solar, automático
*
* Chame este array de carro
*
* Crie variáveis com base neste array
*/
$carro = ["Jaguar", 3.0, "Azul", 18, "Teto de abrir", "Aucomática"];
list($ma... |
<?php $this->otorisasi->cek_login(); ?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Traza</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor... |
<?php
namespace AppBundle\Entity;
/**
* Description of BidEvaluation
*
* @author lambert
*/
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="bidevaluation")
* @ORM\HasLifecycleCallBacks()
*/
class BidEvaluation {
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Resource\Model;
use Doctrine\Common\Collections\... |
<?php namespace App\Http\Requests\Admin\Result;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Gate;
class DestroyResult extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
namespace Dimsog\Slider\Models;
use Illuminate\Database\Eloquent\Collection;
use Model;
use System\Models\File;
use Winter\Storm\Database\Traits\Sortable;
/**
* @property int $id
* @property int $category_id
* @property Category $category
* @property File $image
* @property File $mobileImage
* @property ... |
<?php
/**
* Any admin can accept / reject participant requests for a public contest with
* registration
*/
class ContestRequestsTest extends \OmegaUp\Test\ControllerTestCase {
private function preparePublicContestWithRegistration(): array {
// create a contest and its admin
['user' => $user, 'id... |
<?php //[STAMP] 18620d46fa43c76bf83d5f60f69dfd2d
namespace _generated;
// This class was automatically generated by build task
// You should not change it manually as it will be overwritten on next build
// @codingStandardsIgnoreFile
trait WebDriverTesterActions
{
/**
* @return \Codeception\Scenario
*/... |
<?php
namespace HeroesOfLegend;
return new NamedTable("760", "Special Pet Ability", new DiceRoller("d20"), [
"1" => "Pet has wings (or an extra set of wings)",
"2" => "Pet is very intelligent (better than average human)", function(State $s) {
if(Roll("d100") <= 60) {
LineAdder("And pet can speak an understanda... |
<?php
/*
* [****************]
* @Author:
* @Date: 2014-06-17 15:55:22
* @Last Modified by: Administrator
* @Last Modified time: 2014-07-10 23:08:24
*/
class BaseInfoModel extends Model{
public $table='baseinfo';
public $validate=array(
array('realname','nonull','真实姓名不得为空!',2,3),
array('realname','maxlen:20'... |
@extends('admin/layout')
@section('page_title','Add Menu')
@section('container')
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-md-12 d-flex align-items-stretch grid-margin">
<div class="row flex-grow">
<div class="col... |
@extends('layouts.backend.app')
@section('title','playlist')
@push('css')
<!-- JQuery DataTable Css -->
<link href="{{asset('backend/plugins/jquery-datatable/skin/bootstrap/css/dataTables.bootstrap.css')}}" rel="stylesheet">
@endpush
@section('content')
<section class="content">
<div class="container-f... |
<?php
namespace OUTRAGElib\Validate;
interface TransformerWrapperInterface
{
/**
* Is this wrapper actually able to be used?
*/
public function isAvailable();
/**
* Checks to see whether or not this particular type of transformer
* can be accepted by this object
*/
public function isTransformable(... |
<?php
namespace Illuminate\Tests\Filesystem;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use League\Flysystem\Adapter\Ftp;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Application;
use Illuminate\Filesystem\FilesystemManager;
class FilesystemTest extends TestCase
{
private $tempDir;
... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Mis\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for RoleAppDTO StructType
* @subpackage Structs
*/
class RoleAppDTO extends AbstractStructBase
{
/**
* The appId
* @var string... |
<?php
$view->extend('Course1Bundle:Shared:layout.html.php');
$view['slots']->start('body'); ?>
<div class="panel-pane course1 step4" id="course1_setting_goals-step4">
<div class="pane-content">
<h2>Great job!</h2>
<div class="grid_6">
<h3>Assignment:</h3>
<p>Before you m... |
@extends('carcassTest')
@section('materials')
<h3>Materials</h3>
<div>
</div>
<form action="/tryToInsert" method="post">
@csrf
<div>
<label for="material_name">Material Name:</label>
<input type="text" name="material_name" id="material_name" placeholder="Material name">
</div>
<div>
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Branches */
$this->title = 'Create Branches';
$this->params['breadcrumbs'][] = ['label' => 'Branches', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="branches-create">
<h1><?= Html::enco... |
<?php
declare(strict_types=1);
namespace WebimpressCodingStandardTest\Sniffs\Functions;
use WebimpressCodingStandardTest\Sniffs\AbstractTestCase;
class ReturnTypeUnitTest extends AbstractTestCase
{
protected function getErrorList(string $testFile = '') : array
{
switch ($testFile) {
case... |
@extends('layouts.master')
@push('css')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tagify/3.22.1/tagify.css" />
<link href="{{asset('plugins/components/bootstrap-tagsinput/dist/bootstrap-tagsinput.css')}}" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yaireo... |
<?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 Version20191126143226 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
namespace App\Controllers;
use App\Models\OrangModel;
class Orang extends BaseController
{
protected $OrangModel;
public function __construct()
{
$this->OrangModel = new OrangModel();
}
public function index()
{
$halaman = $this->request->getVar('page_orang') ? $this->... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use app\widgets\Alert;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->lang... |
<?php
namespace App\Http\Controllers\Backend\Student;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\AssignStudent;
use App\Models\DiscountStudent;
use App\Models\FeeCategoryAmount;
use App\Models\User;
use App\Models\StudentYear;
use App\Models\StudentClass;
use App\Models\StudentG... |
@extends('admin.master')
@section('content')
<h4>This is dashbord</h4>
@endsection |
<?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\Console\Helper;
use Symfony\Component\Console\Excepti... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PHP 프로그래밍 입문</title>
<link rel="stylesheet" type="text/css" href="./css/common.css">
<link rel="stylesheet" type="text/css" href="./css/member.css">
<script>
function check_input()
{
if (!document.member_form.id.value) {
alert("아이디를 입력하세... |
<div class="row">
<div class="col-md-8">
<div class="card">
<div class="card-body">
<form method="post">
<h3>Edit Profil</h3>
<div class="row">
<div class="col-md-6 pr-1">
<div class="form-group">
<label>Username</label>
... |
<?php
$mysqli = new mysqli("mysql.eecs.ku.edu", "n810b943", "Aig9oi3X", "n810b943");
$userName = $_POST["userName"];
$postContent = $_POST["post"];
/* check connection */
if ($mysqli->connect_errno) {
printf("Connect failed: %s\n", $mysqli->connect_error);
exit();
}
$query = "SELECT user_id FROM Use... |
@extends('layouts.admin')
@section('content')
<style>
.tb-tnx-action {
text-align:center;
min-width: 250px;
}
</style>
<div class="nk-block-head nk-block-head-sm">
<div class="nk-block-between">
<div class="nk-block-head-content">
<h3 class="nk-block-title page-title">M... |
<?php
namespace App\Models\Marketing;
use App\Models\Marketing\Relationship\NewsletterRelationship;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Newsletter extends Model
{
use HasFactory, SoftDeletes, Newsletter... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace Proengeno\Invoice\Test\Collections;
use Proengeno\Invoice\Collections\GroupCollection;
use Proengeno\Invoice\Positions\PositionGroup;
use Proengeno\Invoice\Positions\Position;
use Proengeno\Invoice\Test\TestCase;
class GroupCollectionTest extends TestCase
{
private GroupCollection $defaultGroupCo... |
<!-- pemisah -->
<div id="button" data-toggle="modal" data-target="#staticBackdrop" class="btn btn-primary btn-lg btn-block">Mushishi</div>
<br />
<!-- CONTENT -->
<div class="a1 container">
<div class="a2">
<div>
<img class="a3" src="<?= base_url('assets/'); ?>gambar/ANIME/Mushishi.jpg">
</div... |
@extends('admin.layout.admin')
<!-- Main Content -->
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Component\Payment\Model;
use Sylius\Component\Resource\Model\ResourceInterface;
int... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $category shop\entities\Shop\Categories */
$this->title = $category->name;
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-view... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Video */
$this->title = 'Изменить: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Блог', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Admin - SUNHOUSE</title>
<!-- plugins:css -->
<link ... |
<?php
namespace Cheetahmail\Data\Filters;
use Cheetahmail\AuthHeaderInterface;
class Filters extends \SoapClient
{
const EMS_WS_NAMESPACE = 'http://ws.ems6.net/';
/**
* @var array $classmap The defined classes
*/
private static $classmap = array(
'Create' => 'Che... |
<?
mysql_query("INSERT INTO ".DB_PREFIX."settings (sname,svalue) VALUES('showcategorycount','1')");
mysql_query("ALTER TABLE ".DB_PREFIX."classifieditems ADD views INT NOT NULL");
mysql_query("INSERT INTO `".DB_PREFIX."settings` (`sname` ,`svalue`) VALUES ('LeftBottomBannerCode', '');");
mysql_query("INSERT INTO `".DB... |
<?php
namespace Drupal\Tests\taxonomy\Kernel\Migrate\d6;
use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
/**
* Vocabulary entity form display migration.
*
* @group migrate_drupal_6
*/
class MigrateVocabularyEntityFormDisplayTest extends MigrateDr... |
<?php
namespace App\Http\Requests\Subscription;
use Illuminate\Foundation\Http\FormRequest;
class StoreUpgradeAccountRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
... |
@extends('layout.index')
@section('isi')
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
google.charts.setOnLoadCallback(... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. T... |
<?php
/*
* This file is part of jwt-auth.
*
* (c) Sean Tymon <tymon148@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tymon\JWTAuth;
use Tymon\JWTAuth\Contracts\Providers\Auth;
use Tymon\JWTAuth\Http\Parser... |
<?php
/**
* Ommu System Phrase (ommu-system-phrase)
* @var $this TranslateController
* @var $model OmmuSystemPhrase
* @var $form CActiveForm
* version: 1.1.0
*
* @author Putra Sudaryanto <putra@sudaryanto.id>
* @copyright Copyright (c) 2012 Ommu Platform (ommu.co)
* @link https://github.com/oMMu/Ommu-Core
* @... |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=dishes',
'username' => 'root',
'password' => '',
'charset' => 'utf8mb4',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schema... |
@extends('layouts.home')
@section('content')
<style>
#component-swiper-progress > div > div.card-header > h1 {
/* margin-left:82%; */
}
#component-swiper-progress > div {
/*min-height:597px;*/
}
@media (max-width: 568px) {
#component-s... |
<?php
/**
* Load the stylechooser as a controller class.
*/
return [
"routes" => [
[
"info" => "IP",
"mount" => "ip",
"handler" => "\Lioo19\Controller\IpTestController",
],
]
]; |
<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function index()
{
}
public function create()
{
//
}
public function store(Request $request)
{
//
}
public function sho... |
<?php
namespace App\Helpers;
class SecurityHelper
{
/**
* Generate a random string, using a cryptographically secure
* pseudorandom number generator (random_int)
*
* This function uses type hints now (PHP 7+ only), but it was originally
* written for PHP 5 as well.
*
* For PHP 7... |
<?php
/**
* Copyright © OpenGento, All rights reserved.
* See LICENSE bundled with this library for license details.
*/
declare(strict_types=1);
namespace Opengento\Gdpr\Model\Customer\Anonymize\Processor;
use DateTime;
use Magento\Customer\Api\CustomerRepositoryInterface;
use Magento\Customer\Api\Data\CustomerInt... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePricingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pricings', fun... |
<?php
namespace App\Http\Controllers;
use App\Exports\OrdersExport;
use App\Models\Orders;
use Illuminate\Http\Request;
use Maatwebsite\Excel\Facades\Excel;
class ReturnsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publi... |
<?php
/**
* Swoole自动补全类(基于最新的4.2.9版本)
* @author shixinke(http://www.shixinke.com)
* @modified 2018/11/28
*/
/**
*swoole websocket 帧
*/
namespace Swoole\WebSocket;
class Frame
{
/**
* @var int $fd
* 客户端的socket id
* @access public
*/
public $fd = 0;
/**
* @var string $data
... |
<?php
require_once "../ligacao_bd.php";
// inicia sessao
session_start();
// verifica se o utilizador ja realizou o acesso
if (!isset($_SESSION['loggedin'])) {
header("location: ../login.php");
} else {
// verifica nivel de utilizador e atribui variavel
if (isset($_SESSION['id']) && isset($_SESSION['username... |
<!--<div class="row footer1"> xong footer chính sách
<div class="col-md-4 col-sm-12">
<img src="image/icon-tien.png" style="width:9%;"/><span id="ft_chu"><a href="#">Hướng dẫn thanh toán</a></span>
</div>
<div class="col-md-4 col-sm-12">
<img src="image/icon-tien1.png" style="width:9%;"/><... |
<?php
namespace App\Http\Controllers;
use App\Handlers\ImageUploadHandler;
use App\Models\Category;
use App\Models\Link;
use App\Models\Topic;
use App\Models\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\TopicRequest;
use Illuminate\Support\Facades\Auth;
class TopicsCo... |
@extends('layouts.master')
@section('content')
<section class="section">
<div class="section-header">
<h1> Tujuan IOT</h1>
</div>
<div class="container">
<div class="card">
<div class="card-header">
<a href="{{route('tujuaniot.create')}}" class="btn btn-primary modal-show... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTicketsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tickets', funct... |
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/**
* @internal
* @coversNothing
*/
class HeaderPhotoTest extends DuskTestCase
{
public function testIndex()
{
$admin = App\Models\User::find(1);
$this->br... |
<?php
/**
+----------------------------------------------------------------------
| swoolefy framework bases on swoole extension development, we can use it easily!
+----------------------------------------------------------------------
| Licensed ( https://opensource.org/licenses/MIT )
+--------------------------------... |
<?php
/**
* Copyright (c) 2014 HiMedia Group
*
* 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 ... |
<?php
class CM_AdproviderAdapter_Openx extends CM_AdproviderAdapter_Abstract {
/**
* @return string
*/
private function _getHost() {
return self::_getConfig()->host;
}
public function getHtml($zoneData, array $variables) {
if (!array_key_exists('zoneId', $zoneData)) {
... |
<?php
/**
* Class Config
*/
class Config
{
/**
* @var bool Stores if data is loaded.
*/
private static $init = false;
/**
* @var array Stores configuration data.
*/
private static $data = array();
/**
* Loads data from /config/settings.php file.
*/
protected static function loadData()
{
$settin... |
<?php
namespace App\Http\Resources\Publico;
use Illuminate\Http\Resources\Json\JsonResource;
class EmpresaResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
... |
<?php
$baseurl=base_url();
$base_url=base_url();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Reset Password</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="A fully featured admin theme which can be used to... |
<?php
/**
* Generator of debug unformation for the Toolset family.
*
* Load this on demand on your debug page, using any of the following methods:
*
* $toolset_common_bootstrap = Toolset_Common_Bootstrap::getInstance();
* $toolset_common_sections = array(
* 'toolset_debug'
* );
* $toolset_common_bootstrap->load_secti... |
<!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... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('broker', 'Today Board Statuses');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="today-board-status-index">
<h1><?= Html::encode($this->titl... |
<?php
namespace Point\PointInventory\Vesa;
trait InventoryUsageVesa
{
public static function getVesa()
{
$array = self::vesaApproval();
$array = self::vesaRejected($array);
return $array;
}
public static function getVesaApproval()
{
return self::vesaApproval([], fa... |
<?php
require_once __DIR__.'/../vendor/autoload.php';
try {
(new Dotenv\Dotenv(__DIR__.'/../'))->load();
} catch (Dotenv\Exception\InvalidPathException $e) {
//
}
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------... |
<?php
//test.php
//
// Usage on command-line: php test.php <file|textstring>
// Usage on web:
error_reporting(E_ALL);
//名字允许复查?
$text = <<<EOF
中国航天官员应邀到美国与太空总署官员开会
发展中国家
上海大学城书店
表面的东西
今天我买了一辆面的,于是我坐着面的去上班
化妆和服装
这个门把手坏了,请把手拿开
将军任命了一名中将,产量三年中将增长两倍
王军虎去广州了,王军虎头虎脑的
欧阳明练功很厉害可是马明练不厉害
毛泽东北京华烟云
人中出吕布 马中出赤兔Q1,中我要买Q币充值
EOF;
i... |
@extends('layouts.admin')
@section('content')
<div class="container">
<h1>Post</h1>
<div class="card border-info mb-3" style="max-width: 18rem;">
<div class="card-header d-flex justify-content-between">
<button class="btn btn-success"><a class="text-white" href="{{ route('admin.post... |
@extends('layouts.master')
@section('header_title', 'Home')
@section('content')
<section id='page-header' style="margin-top: 55px" class="page-header">
<div class='container'>
<h1>Tabela do Simples Nacional</h1>
</div>
</section>
<section>
<div class="container">
@if($errors->has())
... |
/* Auto-generated from php/php-langspec tests */
<?php
class C
{
private $m;
public function __construct($p1)
{
$this->m = $p1;
}
///*
public function __clone()
{
echo "Inside " . __METHOD__ . "\n";
// return NULL; // ignored; not passed along as the result of 'clone'
}
//*/
}
$obj1 = new C(10);
var_dum... |
<?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
define('IN_AJAX',true);
@header('Content-Type: text/html; charset=utf-8');
!defined('IN_MYMPS') && exit('ACCESS DENIED!');
require_once 'function.php';
$payr['payuser']=trim($payr['payuser']);
$payr['paykey']=trim($payr['paykey']);
$payr['appid']=trim($payr['appid']);
$payr['appsecret']=trim($payr['appkey']);
$or... |
<?php
/**
* @package akmaljp\RegexpBuilder
* @copyright Copyright (c) 2016-2018 The akmaljp Authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace akmaljp\RegexpBuilder;
use InvalidArgumentException;
use akmaljp\RegexpBuilder\Input\InputInterface;
class MetaCharacters
... |
@extends('layouts.admin.main')
@section('title', 'Manage Promo Code - nwallet')
@section('page-title', 'Manage Promo Code')
@section('breadcrumb')
<li class="breadcrumb-item"><a href="{{ route('suser.home') }}">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">@yield('page-title')</li>
@endse... |
<?php
/**
* Author: lf
* Blog: https://blog.feehi.com
* Email: job@feehi.com
* Created at: 2017-03-15 21:16
*/
namespace common\models;
use backend\models\Company;
use Yii;
use common\helpers\FamilyTree;
use yii\behaviors\TimestampBehavior;
use yii\helpers\ArrayHelper;
use yii\helpers\FileHelper;
use yii\web\Upl... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
/*
_
____ | |
/ __ \__ _____ _ __| | __ ____
/ / _` \ \ /\ / / _ \| '__| |/ /|_ /
| | (_| |\ V V / (_) | | | < / /
\ \__,_| \_/\_/ \___/|_| |_|\_\/___|
\____/
http://www.atworkz.de
info@atworkz.de
____________________________________... |
<?php
namespace GetDown;
use Illuminate\Database\Eloquent\Model;
class Template extends Model
{
protected $table = 'templates';
public function user(){
return $this->belongsTo('GetDown\User');
}
} |
<?php
declare(strict_types=1);
namespace Rinvex\Oauth\Providers;
use DateInterval;
use Illuminate\Support\Str;
use Rinvex\Oauth\Models\Client;
use Illuminate\Auth\AuthManager;
use Illuminate\Auth\RequestGuard;
use Rinvex\Oauth\Models\AuthCode;
use Illuminate\Auth\Events\Logout;
use League\OAuth2\Server\CryptKey;
use... |
<?php
/**
* This file is part of the Numeric Workshop Serval project
*
* (c) IncentiveOffice - 2014
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Service\Business\Category;
use Serval\Base\Table\AbstractServiceTable;
... |
<?php
use yii\helpers\Url;
use yii\helpers\Html;
return [
[
'class' => 'kartik\grid\SerialColumn',
'width' => '30px',
],
/*[
'class'=>'\kartik\grid\DataColumn',
'attribute'=>'requerimiento_detalle_id',
],
[
'class'=>'\kartik\grid\DataColumn',
'attri... |
<?php
/**
* ALIPAY API: alipay.user.agreement.unsign request
*
* @author auto create
* @since 1.0, 2021-01-19 13:47:33
*/
class AlipayUserAgreementUnsignRequest
{
/**
* 支付宝个人代扣协议解约接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.