text stringlengths 2 1.03M |
|---|
<?php
/**
* JingDong Warehouse Interface.
*/
namespace lihang\JingdongAPI;
interface JingDongWarehouseInterface
{
/**
* 采购入库单
* @param $erp_order_id
* @return mixed
*/
public function AddEntryWarehouseOrder($erp_order_id);
/**
* 取消采购入库单
* @param $entry_warehouse_order_id
... |
<h1 id="logo"><a href="index.html">SmarthLight</a></h1>
<nav id="nav">
<ul>
<li><a href="index.php">Inicio</a></li>
<li>
<a href="#">Nosotros</a>
<ul>
<li><a href="quienes-somos.php">¿Quiénes somos?</a></li>
<li><a href="galeria.php">Galería</a></li>
<... |
<header class="header-area main-header">
<div class="container">
<div class="row">
<div class="col-lg-2">
<div class="logo-area">
<a href="{{ route('home') }}"><img src="/assets/images/logo.png" alt="logo"></a>
</div>
</div>
<div class="col-lg-10">
<div class="custom-navbar">
<span></s... |
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:88:"F:\xampp\htdocs\tp5\thinkphp_5.0.10\public/../application/webclose\view\index\index.html";i:1536631042;}*/ ?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>网站已关闭</title><!-- Behavioral Meta Data -->
<meta conte... |
<?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 PWCode\eBaySDK\Trading\Enums;
class AddressOwnerCodeType
{
const C_CUSTOM_CODE = 'CustomCode';
... |
<div class="mt-5">
<?php $this->load->view('template/navbar'); ?>
</div>
<div class="container">
<div class="d-flex justify-content-center mt-5">
<div class="col-md-8">
<h2 class="text-center">Pencarian</h2>
<form action="<?= base_url() . 'buku/cari' ?>" method="post">
<div class="input-group mb-5">
... |
<?php
class appsHelpdeskInstalledHandler extends waEventHandler
{
public function execute(&$params = null, $array_keys = null)
{
$hook = array(
'app' => 'helpdesk',
'hook' => 'installed',
'params' => $params
);
$event = wao(new appsEvent())->call($hoo... |
<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
use CodeIgniter\Filters\CSRF;
use CodeIgniter\Filters\DebugToolbar;
use CodeIgniter\Filters\Honeypot;
class Filters extends BaseConfig
{
/**
* Configures aliases for Filter classes to
* make reading things nicer and simpler.
*
* @var ... |
<?php
namespace App\Game\Kingdoms\Values;
use App\Flare\Models\Kingdom;
use App\Flare\Models\KingdomUnit;
class KingdomMaxValue {
const MAX_TREASURY = 2000000000;
const MAX_UNIT = 1000000000;
const MAX_CURRENT_POPULATION = 2000000000;
public static function isTreasuryAtMax(Kingdom $kingdom): bool... |
<?php
declare(strict_types=1);
namespace WoohooLabs\Harmony\Tests\Condition;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\UriInterface;
use WoohooLabs\Harmony\Condition\ExactPathCondition;
use WoohooLabs\Harmony\Tests\Ut... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class ProduitController extends Controller
{
function marque($id){
$produits = DB::select("SELECT * FROM produit WHERE marque_id = ".$id);
return view('marque')->withProduits($produits);
}... |
@extends('layouts.app')
@section('stylesheets')
{!! Html::style('css/parsley.css') !!}
@endsection
@section('content')
<h3> Welcome {{Auth::user()->name}}</h3>
{!! Form::open(array('route' => 'user_register.store', 'data-parsley-validate'=> '')) !!}
{{ Form::hidden('business', Auth::user()->name, array('cla... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Posts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="post-index">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Create... |
<?php
/**
* Copyright (c) 2016-2016} Andreas Heigl<andreas@heigl.org>
* 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 App;
use Illuminate\Database\Eloquent\Model;
class FounderSpeech extends Model
{
protected $guarded=[];
protected $table = "founder_speeches";
protected $primaryKey = 'founder_speech_id';
} |
<?php
namespace Teacher;
use Core\library\Tool;
use Core\unitInstance;
use _\servQiniu;
class servApply extends serv_
{
use unitInstance;
/**
* @param $platform
* @return self
*/
public static function sole($platform)
{
return self::_singleton($platform);
}
public f... |
<?php
Route::group(['middleware' => 'api', 'prefix' => 'api/v1', 'namespace' => 'Modules\Products\Http\Controllers'], function()
{
Route::resource('products', 'ProductApiController');
}); |
<?php
namespace Lexik\Bundle\PayboxBundle\Tests\Paybox\System;
use Lexik\Bundle\PayboxBundle\Paybox\System\Base\Response;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\ParameterBag;
/**
* Class ResponseTest
*
* @package Lexik\Bundle\PayboxBundle\Tests\Paybox\System
*
* @author Olivier Maison... |
<?php
namespace mcorten87\rabbitmq_api\test\unit\jobs;
use mcorten87\rabbitmq_api\jobs\JobExchangePublish;
use mcorten87\rabbitmq_api\mappers\JobExchangePublishMapper;
use mcorten87\rabbitmq_api\MqManagementConfig;
use mcorten87\rabbitmq_api\objects\DeliveryMode;
use mcorten87\rabbitmq_api\objects\ExchangeName;
use mc... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\Post;
use Illuminate\Http\Request;
use Intervention\Image\Facades\Image;
class PostsController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index(Request $request)... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePreviousPapersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('previous... |
<?php
namespace frontend\controllers;
use Yii;
use common\models\User;
use frontend\models\UserSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
class UsersController extends Controller
{
public function actionIndex()
{
$searchModel = new UserSearch();
$dataProvider = $search... |
<!-- general form elements disabled -->
<?php
// include_once '../../lib/sess.php';
include_once '../../lib/config.php';
include_once '../../lib/fungsi.php';
$idnonpkb = $_GET['idnonpkbne'];
?>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-h... |
<html>
<?php include 'base.html'; ?>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js">... |
@extends('userlayout')
@section('content')
<!-- header begin -->
<header class="transparent">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="de-flex sm-pt10">
<div class="de-flex-col">
<div class="de-flex-... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInita25aaf18275674e6735fd1dc3ae2f76f
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<div class="navbar navbar-expand-md navbar-light">
<div class="navbar-header navbar-dark d-none d-md-flex align-items-md-center">
<div class="navbar-brand navbar-brand-md">
<a href="/" target="blank" class="d-inline-block">
<img src="/public/admin/app/images/logo_light.png" alt="">
</a>
</div>
<div ... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login C... |
@include('templates.header')
<h1 class="border-bottom">Tiendas</h1>
<div class="row g-4 py-5 row-cols-1 row-cols-lg-3">
@foreach ($tiendadata as $key => $pizzasTiens)
<div class="feature col">
<div class="feature-icon">
<img src="https://image.freepik.com/vector-gratis/icono-color... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\usuario_normal;
class Createusuario_normalRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
require_once('command_i.php');
require_once('command_return_t.php');
final class c_client_main_t
implements command_i
{ public function __construct($parameters)
{
}
public function __invoke()
{ header('content-type: text/ecmascript');
$s = new Smarty();
$s->assign(conf::$default_template_param... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRoutesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('routes', functio... |
<?hh
class A {}
class B extends A {}
class C extends B {}
interface I {}
class X implements I {}
<<__EntryPoint>> function main(): void {
$classNames = varray['A', 'B', 'C', 'I', 'X'];
//Create ReflectionClasses
$rcs = darray[];
foreach ($classNames as $className) {
$rcs[$className] = new ReflectionClass($classNa... |
<!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=iso-8859-1" />
<title>Project Worlds || FEEDBACK </title>
<link rel="stylesheet" href=... |
<?php
/*
* Generated by CRUDigniter v3.2
* www.crudigniter.com
*/
class Tipomatricula_model extends CI_Model
{
function __construct()
{
parent::__construct();
}
/*
* Get tipomatricula by idtipoMatricula
*/
function get_tipomatricula($idtipoMatricula)
{
retur... |
<svg class="mr-4 h-6 w-6 text-amber-200 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
<meta name="author" content="GeeksLabs">
<meta name="keyword" content="Creative, ... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<script>
window.Laravel = {
... |
<?php
/**
* PHPExcel_Writer_CSV
*
* Copyright (c) 2006 - 2015 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) ... |
<?php
namespace App\Http\Services;
use Illuminate\Support\Facades\Auth;
class LoginService
{
function checkLogin($request)
{
$email = $request->email;
$password = $request->password;
$credemtials = [
'email' => $email,
'password' => $password
];
... |
@extends('layouts.espace')
<link href="{{ asset('css/style.css') }}" type="text/css" rel="stylesheet" id="main-style">
<link href="{{ asset('vendor/bootstrap/css/bootstrap.min.css') }}" type="text/css" rel="stylesheet" id="main-style">
<link href="{{ asset('vendor/animate/animate.css') }}" type="text/css" rel="s... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
use App\Models\SocialState;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class SocialStatesTableSeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('social_states')->delete();
$SocialStat... |
<?php
//Define functions to interact with the DSpace REST API
function loginToDSpaceRESTAPI()
{
if(DSPACE_VERSION === '5')
{
$options = array(
CURLOPT_URL => REPOSITORY_API_URL."login",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"email": "'.REPOSITORY_USER.'", "password": "'.REPOS... |
<?php
/**
* GIF
*/
namespace Any\Image\Driver;
class GIF{
/**
* GIF帧列表
* @var array
*/
private $frames = array();
/**
* 每帧等待时间列表
* @var array
*/
private $delays = array();
/**
* 构造方法,用于解码GIF图片
* @param string $src GIF图片数据
* @param string $mod 图片数据类型
*/
public function __construct($src = nu... |
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Cliente</th>
<th>Data</th>
<th>Status</th>
<th class="text-right">Ações</th>
</tr>
</thead>
<tbody>
<?php if($pages != null){?>
<?php foreach ($pages a... |
@extends('frontend.layouts.master')
@section('title', 'Contact')
@section('content')
<!-- start page header -->
<section class="page-header-section">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<div class="paget-title">
<h2>{{... |
<?php
$operations = new RevOperations();
//set Layer settings
$contentCSS = $operations->getCaptionsContent();
$arrAnimations = $operations->getArrAnimations();
$arrEndAnimations = $operations->getArrEndAnimations();
$htmlButtonDown = '<div id="layer_captions_down" style="width:30px; text-align:center;padding:... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Carbon\Carbon;
use App\Models\{ Project, Payment, Order, Bank };
class PaymentController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function i... |
<?php
namespace Codderz\YokoLite\Application\Authorization\Middleware;
interface Authorizable
{
public static function authorizableOrFail($id);
} |
<?php
namespace WeProvide\ConfigBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class WeProvideConfigBundle extends Bundle
{
} |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE</title>
<!-- Tell the br... |
<?php
/* @var $this NubeFacturaController */
/* @var $model NubeFactura */
$this->breadcrumbs=array(
'Nube Facturas'=>array('index'),
$model->IdFactura=>array('view','id'=>$model->IdFactura),
'Update',
);
$this->menu=array(
array('label'=>'List NubeFactura', 'url'=>array('index')),
array('label'=>'Create NubeFac... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\user;
/**
* UserSearch represents the model behind the search form about `app\models\user`.
*/
class UserSearch extends user
{
public $unit;
/**
* @inheritdoc
*/
public function rules()
... |
<?php
/*
* This file is part of the baupen project.
*
* (c) Florian Moser <git@famoser.ch>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Api\Filters;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\AbstractContex... |
<?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2019 SalesAgility Ltd.
*
* This program is f... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Panel</title>
<link href... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
//To protect entered data
protected $fillable = ['title','subtitle','details','user_id'];
// Relation between Users and Notes
public function users()
{
return $this->belongsTo('App\User');
}
} |
<button type="button" class="btn btn-warning btn-xs" data-toggle="modal" data-target="#ubah-<?php echo $dw->id_urut; ?>">
<i class="fa fa-edit"></i> Edit
</button>
<div class="modal modal-default fade" id="ubah-<?php echo $dw->id_urut; ?>">
<div class="modal-dialog">
<div class="modal-content">
<div class... |
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Mailgun\Mailgun;
$app->get('/', function () use ($app) {
return $app['twig']->render('index.html', array());
});
$app->get('/in/list', function () use ($app) {
$mails = $app['db']->query('SELECT * FROM mail... |
@extends('layouts.backend')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\PayrollTukinPegawaiDetail */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Payroll Tukin Pegawai Details', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
... |
<fieldset class="sticky-wrapper loadMap">
<h2 class="sticky-head">Datos</h2>
<div class="row">
<div class="col-sm">
<div class="form-group">
<?php $class = $errors->has('fk_cruiseship_type') != null ? 'form-control is-invalid' : 'form-control'; ?>
{!! Form::label('fk_cruiseship_type', uc... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
echo "\nDatabase error: ",
$heading,
"\n",
str_replace('</p>', "\n", str_replace('<p>', "\n", $message)),
"\n"; |
<?php namespace Illuminate\Foundation\Testing;
use Illuminate\Auth\UserInterface;
trait ApplicationTrait {
/**
* The Illuminate application instance.
*
* @var \Illuminate\Foundation\Application
*/
protected $app;
/**
* The HttpKernel client instance.
*
* @var \Illumina... |
<?php
/**
* papaya CMS
*
* @copyright 2000-2018 by papayaCMS project - All rights reserved.
* @link http://www.papaya-cms.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, version 2
*
* You can redistribute and/or modify this script under the terms of the GNU Gene... |
<?php
return [
'action' => [
'label' => 'اضافة',
'modal' => [
'heading' => 'اضافة :label',
'actions' => [
'create' => [
'label' => 'اضافة',
],
'create_and_create_another' => [
'lab... |
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Versi</b> 0.0.1
</div>
<strong>Copyright © 2020 <a href="http://kejati-bengkulu.go.id/">Kejaksaan Tinggi Provinsi Bengkulu</a>.</strong>
</footer>
</div>
<!-- ./wrapper -->
<!-- jQuery 3 -->
<script src="<?php echo base_url('/a... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class jeniskelamin extends Model
{
protected $table = 'jeniskelamins';
public function table_object(){
return $this->HasMany('App\table_object');
}
} |
<?php
use Illuminate\Database\Seeder;
use App\JenisSurat;
class JenisSuratSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
JenisSurat::create(['name' => 'Surat Resmi']);
JenisSurat::create(['name' => 'Surat Setengah Resmi'... |
@extends('adminlte::page')
@section('title', 'Pixel Cursos')
@section('content_header')
<h1><strong>Observaciones del curso:</strong> {{ $course->title }}</h1>
@stop
@section('content')
<div class="card">
<div class="card-body">
{!! Form::open(['route' => ['admin.courses.reject', $course]]) !!}
... |
<?php
namespace App\Model;
use Config\DB;
class Vote {
public static function vote() {
session_start();
DB::db()->table($_SESSION['table_name'])
->where('id', $_GET['id'])
->increment('votes', 1);
return true;
}
public static function votePerCandid... |
<div class="container"><p>© Copyright 2020 Yummii. All Rights Reserved.</p></div> |
<?php
namespace App\Models;
use Cviebrock\EloquentSluggable\Sluggable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Status extends Model
{
use HasFactory, Sluggable;
public function sluggable(): array
{
return [
'slug' => [
... |
--TEST--
Bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
--SKIPIF--
<?php
require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
require_once("connect.inc");
$mysqli = new mysqli("$host:$port", $user, $passwd, $db);
abstract class test {
publ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Laravel Ajax CRUD Example</title>
<!-- Load Bootstrap CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container-narrow">
<h2>Laravel Ajax ToDo App<... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\Url
*
* @property int $id
* @property string $for
* @property string $url
* @property string $title
* @property string $description
* @property \Illuminate\Support\Carbo... |
<script type="text/javascript">
$(function () {
$("#tree").jHTree({
type: "POST",
url: "<?php echo base_url()."public_info/tree_data"; ?>",
data:{classification:0},
nodeDropComplete: function (event, data) {
}
});
});
</script> |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database... |
<?php namespace October\Demo\Components;
use Cms\Classes\ComponentBase;
use ApplicationException;
class Todo extends ComponentBase
{
public function componentDetails()
{
return [
'name' => 'Todo List',
'description' => 'Implements a simple to-do list.'
];
}
... |
<?php
namespace App\Http\Controllers;
use App\Like;
use App\Movie;
class LikeController extends Controller
{
/**
* Store a newly created resource in storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function store($id)
{
$movie = Movie::with('like... |
<div class="row">
<div class="col-md-12">
<div class="tile">
<div class="tile-body">
<table class="table table-hover custom-data-table-style table-striped" id="sampleTable2">
<thead>
<tr>
<th> Sl NO </th>
... |
@extends('layout.master')
@section('content')
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<div class="panel panel-default">
<div id="infoMessage" style="display: none;"></div>
<div class="panel-head... |
<?php
class Foundation_Model_DbTable_DbRescheduleGroup extends Zend_Db_Table_Abstract
{
protected $_name = 'rms_group';
public function getUserId(){
$session_user=new Zend_Session_Namespace(SYSTEM_SES);
return $session_user->user_id;
}
public function addRescheduleGroup($_data){
$db= $... |
<?php
namespace App\Modules\Shop\Models;
use App\Modules\Employ\Models\EmployGoodsModel;
use App\Modules\Employ\Models\EmployModel;
use App\Modules\Employ\Models\UnionAttachmentModel;
use App\Modules\Finance\Model\FinancialModel;
use App\Modules\Order\Model\ShopOrderModel;
use App\Modules\Task\Model\ServiceModel;
use... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>英雄联盟</title>
<style>
/*@import url(//fonts.googleapis.com/css?family=Lato:700);*/
body {
margin:0;
font-family:'Lato', sans-serif;
text-align:center;
color: #999;
}
.welcome {
width: 300px;
height: 200px;
position: a... |
<?php
use yii\db\Schema;
use yii\db\Migration;
class m171026_170457_api_units extends Migration
{
public function init()
{
$this->db = 'db_api';
parent::init();
}
public function safeUp()
{
$tableOptions = 'ENGINE=InnoDB';
$this->createTable(
'{{%api_... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Http\Models\User;
/**
* 后台用户
*/
class UserController extends Controller{
/**
* 后台用户列表
*/
public function index(){
//判断权限
$check = $this->check_user();
if ($check ... |
<?php
namespace app\lib\exception;
class SignException extends BaseException
{
protected $code = 200;
protected $msg = '非法请求';
protected $errorCode = 401;// (禁止) 服务器拒绝请求
} |
<?php
/**
* Agora external API interface.
*
* This file defines Agora's external API interface. Other
* applications can interact with Agora through this API.
*
* Copyright 2003-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this... |
<h1>Pesan dari {{ $nama }}</h1>
<h3>Email Pengirim : {{ $email }}</h3>
<p>Pesan : {{ $pesan }}</p> |
<div class="container">
<div class="row first-row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="page-header">
<h3>Add a New Product</h3>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-12">
<?= form_open... |
<!-- preloader -->
<div id="preloader">
<div id="ctn-preloader" class="ctn-preloader">
<div class="animation-preloader">
<div class="spinner"></div>
</div>
<div class="loader">
<div class="row">
<div class="col-3 loader... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\geolocator$glname@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-10-24T09:16:31+05:30 */
$loaded = true;
$expiration = 1603511191;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YToxOntpOjA7TzoyNzoi... |
<?php
namespace App\Http\Resources\Admin;
use Illuminate\Http\Resources\Json\JsonResource;
class FinalSelectionCriterionResource extends JsonResource
{
public function toArray($request)
{
return parent::toArray($request);
}
} |
<?php
namespace Sendportal\Base;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
use RuntimeException;
class UpgradeMigration extends Migration
{
protected function getTableName(string $baseName): string
{
if (Schema::hasTable("sendportal_{$baseName}")) {
... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
declare(strict_types=1);
namespace Rector\PostRector\Collector;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassConst;
use PHPStan\Type\Type;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\PostRector\Contract\Collector\NodeCollectorInterface;
final class PropertyToAddCollector implement... |
<?php
if (!class_exists('MCAPI'))
{
class MCAPI
{
var $version = "1.3";
var $errorMessage;
var $errorCode;
/**
* Cache the information on the API location on the server
*/
var $apiUrl;
/**
* Default to a 300 second timeout on server calls
*/
var $timeout = 300;
/**
* Default to a 8K... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\ft\UserHasTournamentMatch */
$this->title = 'Create User Has Tournament Match';
$this->params['breadcrumbs'][] = ['label' => 'User Has Tournament Matches', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.