text stringlengths 2 1.03M |
|---|
<?php
// Version constant
if (!defined('HOP_404_REPORTER_NAME')) {
define('HOP_404_REPORTER_NAME', 'Hop 404 Reporter');
define('HOP_404_REPORTER_VERSION', '3.0.1');
define('HOP_404_REPORTER_SHORT_NAME', 'hop_404_reporter');
define('HOP_404_REPORTER_CLASS_NAME', 'Hop_404_reporter');
} |
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body>... |
<?php
/*
* @Author: Chinoms Ugwuanya @ Sukulu
*
*/
require '../inc/config.php';
if (isset($_POST['submit'])) {
$subj = mysqli_escape_string($conString, $_POST['subject']);
$msg = mysqli_escape_string($conString, $_POST['msgBody']);
$sender = mysqli_real_escape_string($conString, $_POST['userID']);
... |
<?php
namespace PDoc\Types;
/**
* Values that can be anything, are not restricted at all.
*/
class AnyType extends AbstractType
{
public function __toString()
{
return 'any';
}
} |
<?php
class Autoloader{
public static $dirs;
public static function addDir($dir){
if (!isset(self::$dirs))
self::$dirs = array();
if (is_string($dir)){
self::$dirs[] = $dir;
} else {
self::$dirs = array_merge(self::$dirs, $dir);
}
}
public static function loader($origin_class){
$class = trim(s... |
<?php
include("config.php");
include "header.php";
error_reporting(0);
$message ="";
?>
<!-- /.navbar -->
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<?php include("sidemenu.php");?>
</aside>
<div class="content-wrappe... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWhatsappsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('whatsapps', f... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class portfolio extends MX_Controller {
function index($offset=NULL){
//pengaturan pagination
$limit = 10;
$totalRows = $this->dynamic_model->read('work','','')->num_rows();
$data = $this->dynamic_model->read('work... |
<?php
namespace app\api\modules\v1\controllers;
class ProductController extends Controller
{
public $modelClass = 'app\api\modules\v1\models\Product';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
namespace Container319Ww1J;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCacheClearerService extends A... |
<section class="officialservices">
<div class="container">
<div class="row">
<div class="col-md-12">
<center><h1 class="tittle">Club Membership Form <?= date('Y').'-'.date('y',strtotime('+1 year'));?></h1></center>
<form action="<?php echo base... |
<?php
global $wp_object_cache;
$info = $plugins = $dropins = array();
$dropin = $this->validate_object_cache_dropin() && ( ! defined('WP_REDIS_DISABLED') || ! WP_REDIS_DISABLED );
$info[ 'Status' ] = $this->get_status();
$info[ 'Redis Version' ] = $this->get_redis_version() ?: 'Unknown';
$info[ 'Client' ] = $this->g... |
<?php declare(strict_types = 1);
namespace PHPStan\Analyser;
use Generator;
use PhpParser\Node;
use PhpParser\Node\Expr\Exit_;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\StaticCall;
use PhpParser\Node\Name;
use PHPStan\Broker\AnonymousClassNameHelper;
use PHPStan\Broker\Broker;
use PHPStan\Cache\Cach... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUnit extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('unit', function (Bluepr... |
<?php
namespace Drupal\Tests\user\Kernel\Migrate\d6;
use Drupal\user\Entity\Role;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
/**
* Upgrade user roles to user.role.*.yml.
*
* @group migrate_drupal_6
*/
class MigrateUserRoleTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*... |
@extends('layouts.app')
@section('template_title')
Create Lpt2Location
@endsection
@section('content')
<section class="content container-fluid">
<div class="row">
<div class="col-md-12">
@includeif('partials.errors')
<div class="card card-default">
... |
<?php
/*
* This file is part of Psy Shell.
*
* (c) 2012-2020 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Psy\Command;
use PhpParser\NodeTraverser;
use PhpParser\PrettyPrinter\Standard as Printer;
use... |
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="part-table admin-table">
<div class="table-responsive table-striped table-bordered">
<!-- Succes message -->
@if(session('message'))
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
... |
<?php
/**
* The template for displaying pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other "pages" on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twen... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBooksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('books', function ... |
<?php
namespace Microsoft\BingAds\V11\AdInsight;
{
final class Selector
{
/**
* Reserved.
* @var DateRange
*/
public $DateRange;
/**
* Reserved.
* @var Field[]
*/
public $GroupBy;
/**
* Reserved.
... |
<?php
class Comments_model extends CI_Model{
public function __construct()
{
$this->load->database();
}
public function add_comment($id){
$data = array(
'post_id' => $id,
'name' => $this->input->post('name'),
'e... |
<?php
/**
* Copyright 2016 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 ... |
<?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... |
<?php
namespace Phpactor\CodeTransform\Tests\Adapter\Native\GenerateNew;
use Phpactor\CodeTransform\Tests\Adapter\AdapterTestCase;
use Phpactor\CodeTransform\Domain\ClassName;
use Phpactor\CodeTransform\Adapter\Native\GenerateNew\ClassGenerator;
class ClassGeneratorTest extends AdapterTestCase
{
/**
* It sh... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('companies', f... |
<?php
namespace App\Ninja\Datatables;
use App\Models\Invoice;
use Auth;
use URL;
use Utils;
class InvoiceDatatable extends EntityDatatable
{
public $entityType = ENTITY_INVOICE;
public $sortCol = 3;
public function columns()
{
$entityType = $this->entityType;
return [
[
... |
<div class="caleneder_div_wrapper">
<div class="container week_view_container">
<div class="div_btn_name">
<div class="btn_box_add">
<a>Day</a>
<a class="active">Week</a>
<a>Month</a>
</div>
</div>
<div class... |
<?php
namespace Valitor\ApiTest\Api;
use Valitor\Exceptions\ResponseMessageException;
use Valitor\Response\SetupSubscriptionResponse as SetupSubscriptionResponse;
use Valitor\Api\Subscription\SetupSubscription;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\Psr7\Response;
class SetupSubscriptionTest extends Abst... |
<!-- Review History -->
<!--
Rajdeep Ratan <rajdeepratan@hotmail.com> 1643988061 -0500 checkout: moving from master to main
Rajdeep Ratan <rajdeepratan@hotmail.com> 1643988257 -0500 commit: Project Setup
Rajdeep Ratan <rajdeepratan@hotmail.com> 1644258229 -0500 commit: Add Navbar
Rajdeep Ratan <rajdeepratan@hotmail.... |
@extends('layouts.app')
@section('content')
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{!! route('cursos.index') !!}">Cursos</a>
</li>
<li class="breadcrumb-item active">Create</li>
</ol>
<div class="container-fluid">
<div class="animated fadeIn">
... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
require_once('phpass-0.1/PasswordHash.php');
define('STATUS_ACTIVATED', '1');
define('STATUS_NOT_ACTIVATED', '0');
/**
* Tank_auth
*
* Authentication library for Code Igniter.
*
* @package Tank_auth
* @author Ilya Konyukhov (http://ko... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\Drink;
class ShowerController extends BaseController
{
function drink()
{
try {
$result = Drink::all();
return $this->sendResponse($result, 200);
} catch (Exception $e) {
... |
<div id="nikita-side-bar">
<div class="text-center">
<strong><a id="real-time"></a></strong>
</div>
<div style="height: 3px; background-color: #000d1aef;"></div>
<div class="text-center" id="profile-picture-user">
<a href="#"><img id="id-user-profile" class="user-profile mt-2" style="wid... |
<?php
namespace App\Http\Controllers;
use App\Address;
use App\Items;
use App\Notifications\OrderNotification;
use App\Order;
use App\Restorant;
use App\Status;
use App\User;
use Auth;
use Cart;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support... |
<?php
namespace romanmaroder\dynamicform;
/**
* Asset bundle for dynamicform Widget
*
*/
class DynamicFormAsset extends \yii\web\AssetBundle
{
/**
* @inheritdoc
*/
public $depends = [
'yii\web\JqueryAsset',
'yii\widgets\ActiveFormAsset'
];
/**
* Set up CSS and JS ass... |
<?php
namespace PhpBench\Expression\Func;
use PhpBench\Expression\Ast\BooleanNode;
use PhpBench\Expression\Ast\FloatNode;
use PhpBench\Expression\Ast\ListNode;
use PhpBench\Math\Statistics;
final class VarianceFunction
{
public function __invoke(ListNode $values, ?BooleanNode $sample = null): FloatNode
{
... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
ออเดอร์
</h2>
</x-slot>
<div class="py-12">
<div class = "container">
<div class = "row">
<div class="col-md-12">
<div class ="card">
... |
<!-- Image and text -->
<nav class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="#">
<img src="/docs/4.5/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top" alt="" loading="lazy">Sistem Web Lanjutan</a>
</nav> |
@extends('frontend.master')
@section('title', 'Home')
@section('content')
<!--slider area start-->
<section class="slider_section mb-70">
<div class="slider_area owl-carousel">
<div class="single_slider d-flex align-items-center" data-bgimg="{{url('/')}}/frontend-assets/img/slider/slider1.jpg">
... |
<?php
namespace app\models\admin;
use Yii;
use yii\db\ActiveRecord;
use yii\data\ActiveDataProvider;
class Preferences extends ActiveRecord {
public static function tableName() {
return 'preferences';
}
public function rules() {
return [
['name', 'required', 'message' => 'Enter Field Name', 'on' => 'fiel... |
<?php declare(strict_types=1);
namespace Shopware\Core\Migration;
/**
* @feature-deprecated (flag:FEATURE_NEXT_12349) tag:6.5.0.0 - Will be deleted. Migrations are now namespaced by major version
*/
class Migration1578648299ReindexSeoUrls extends \Shopware\Core\Migration\V6_3\Migration1578648299ReindexSeoUrls
{
} |
@extends("layout.master")
@section("title","Contact")
@section("body")
<div class="container">
<div class="row">
<div class="box">
<div class="col-lg-12">
<hr>
<h2 class="intro-text text-center">Contact
<strong>A2Computer</strong>
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Billboard_Svedka
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
if ( have_posts() ) : ?>
<header class="page-... |
<?php
namespace TheFairLib\Exception\Handler;
use Hyperf\Di\Annotation\Inject;
use Hyperf\HttpMessage\Stream\SwooleStream;
use Hyperf\Validation\ValidationException;
use Psr\Http\Message\ResponseInterface;
use TheFairLib\Constants\InfoCode;
use Throwable;
/**
* 参数或表单验证异常处理
*
* Class ValidationExceptionHandler
*... |
<!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() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
/** Faroese (føroyskt)
*
* To improve a translation please visit https://translatewiki.net
*
* @ingroup Language
* @file
*
*/
$namespaceNames = [
NS_MEDIA => 'Miðil',
NS_SPECIAL => 'Serstakt',
NS_TALK => 'Kjak',
NS_USER => 'Brúkari',
NS_USER_TALK => ... |
<?php
namespace common\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\data\ActiveDataProvider;
use common\models\Translations;
/**
* This is the model class for table "comments".
*
* @property integer $id
* @property integer $reply_id
* @property integer $user_id
* @property integer $action_id
... |
<?php declare(strict_types=1);
namespace Isg\BusinessGateway\Parts\BusinessEntities\RequestOCWithSummaryV2_0;
use Isg\BusinessGateway\Parts\BusinessEntities\Q1CustomerReference;
use Isg\BusinessGateway\Parts\BusinessEntities\Q1ExpectedPrice;
use Isg\BusinessGateway\Parts\BusinessEntities\Q1ExternalReference;
use Isg\B... |
@extends('admin.layouts.master')
@section('title', 'List Photo')
@section('content')
<div class="card">
<div class="card-header">
<h3>List Photo</h3>
<a href="{{ route('admin.photos.create') }}" class="btn btn-success">New</a>
</div>
<table class="table table-bordered table-striped">
<tr>
... |
<?php
require_once ("Secure_area.php");
class Receivings extends Secure_area
{
function __construct()
{
parent::__construct('receivings');
$this->load->library('receiving_lib');
$this->lang->load('receivings');
$this->lang->load('module');
$this->load->helper('items');
$this->load->model('Receiving');
... |
<?
//*****************************************************************************************************************
// Topic manage
//************************************!****************************************************************************
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddProfilePicture extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('candidates', func... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit7c6d62eaa17ff730b22ce2fe4d27f7a2::getLoader(); |
<?php
namespace Tests\Feature;
use Illuminate\Support\Facades\Auth;
use Tests\TestCase;
class RestorationMethodMetricVersionsControllerTest extends TestCase
{
public function testReadAction()
{
$token = Auth::attempt([
"email_address" => "steve@example.com",
"password" => "Pas... |
@extends('Backend/Layout/Default')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
... |
<?php namespace Fisdap\Entity;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\Table;
/**
* Entity class for Cause of Injury.
*
* @Entity
* @Table(name="fisdap2_cause")
*/
class Cause extends Enumerated
{
} |
<?php
namespace Jas\Http\Controllers;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Jas\Services\ContactService;
use Prettus\Validator\Exceptions\ValidatorException;
/**
* Class ContactController
* @package Jas\Http\Controllers
*/
class ContactController extends ... |
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="a... |
<?php
/**
* PortaMx Forum
* @package PortaMx
* @author PortaMx
* @copyright 2018 PortaMx
*
* file boardnewsmult_adm.php
* Admin Systemblock multiple boardnews
*
* @version 1.41
*/
if(!defined('PMX'))
die('This file can\'t be run without PortaMx-Forum');
/**
* @class pmxc_boardnewsmult_adm
* Admin Systemblo... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Hadeudo;
use Illuminate\Http\Request;
use Auth;
use App\Http\Requests\updateHadeudo;
use App\Http\Requests\createHadeudo;
class HadeudosController extends Controller
{
/**
* Display a listing of the resourc... |
<?php
namespace Srmklive\PayPal\Tests\Unit\Client;
use PHPUnit\Framework\TestCase;
use Srmklive\PayPal\Tests\MockClientClasses;
use Srmklive\PayPal\Tests\MockRequestPayloads;
use Srmklive\PayPal\Tests\MockResponsePayloads;
class ReportingTest extends TestCase
{
use MockClientClasses;
use MockRequestPayloads;... |
@extends('layouts.app')
@section('content')
<div class="container py-4 container-profile100">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card shadow">
<div class="card-header">Create Connection</div>
<div class="card-body">
... |
@extends('layouts.app')
@section('title')
Dashboard
@endsection
@section('content')
<div class="row">
<div class="col-lg-12">
<div class="card-box">
<div class=" text-uppercase text-center">
<h3>welcome to paud teratai bukit harapan</h3>
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--/*Changed by Surbhi IV*/-->
<title>Document ><?php echo strip_tags(st... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?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\Form\Tests\Extension\Core\ChoiceList;
/**
* @author ... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:81:"E:\phpStudy\PHPTutorial\WWW\shicool/application/admin\view\material\material.html";i:1528111247;s:75:"E:\phpStudy\PHPTutorial\WWW\shicool\application\admin\view\public\base.html";i:1528111392;}*/ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Cont... |
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package ivo
*/
get_header();
?>
<main id="primary" class="site-main">
<?php if (class_exists('ErrorPage')): ?>
<?php new ErrorPage() ?>
<?php else: ?>... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeUserInfoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::table('user_info'... |
<?php
namespace Bmbyhood\Entities;
use GuzzleHttp;
abstract class BmbyhoodEntity
{
protected $fields = [];
protected $files = [];
protected $dataField = 'data';
const EmptyGuid = '00000000-0000-0000-0000-000000000000';
protected function setListField($values, $fieldName)
{
if (!is_a... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ProductRequest extends FormRequest
{
public function authorize()
{
return true; //Only authorize user can do this operation if false then unauthorize user can do
}
public function rules()
{
retur... |
<?php
namespace Concrete\Core\StyleCustomizer\Inline;
use Concrete\Core\Backup\ContentExporter;
use Concrete\Core\Backup\ContentImporter;
use Concrete\Core\Page\Theme\GridFramework\GridFramework;
use Database;
use Symfony\Component\HttpFoundation\Request;
/**
* @Entity
* @Table(name="StyleCustomizerInlineStyleSets... |
@extends('layouts.main')
@section('titulo', $post->titulo)
@section('contenido')
<h1 class="display-4"> {{ $post->titulo }}</h1>
<hr>
<div>
{!! nl2br($post->contenido) !!}
</div>
<p> </p>
<div class="card">
<div class="card-body">
<div class="row">
... |
<?php
return [
'title' => 'Ranking',
'table' => [
'rank' => 'Rank',
'charname' => 'Char',
'job-name' => 'Job',
'guild' => 'Guild',
'level' => 'Level',
'job-type' => 'Type',
'trader' => 'Trader',
'hunter' => 'Hunter',
'thief' => 'Thief',
... |
<?php
namespace PhpEws\DataType;
use PhpEws\DataType;
/**
* Definition of the SyncFolderHierarchyChangesType type
*/
class SyncFolderHierarchyChangesType extends DataType
{
/**
* Create property
*
* @var SyncFolderHierarchyCreateOrUpdateType
*/
public $Create;
/**
* Update pro... |
<?php $__env->startSection('content'); ?>
<?php $__env->startSection('controller','Quản lý ngành nghề'); ?>
<?php $__env->startSection('action','Edit'); ?>
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?php echo $__env->yieldContent('controller'); ?>
<small><?php echo $__env->yi... |
<?php declare(strict_types = 1);
use Contributte\Utils\Arrays;
use Tester\Assert;
require_once __DIR__ . '/../bootstrap.php';
test(function (): void {
$array1 = ['a', 'b', 'c', 'd'];
$hash1 = Arrays::hash($array1);
$array2 = ['d', 'c', 'b', 'a'];
$hash2 = Arrays::hash($array2);
Assert::same('61989d9767b812f11... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRolesPermissionsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create( 'roles_per... |
<?php
namespace laramovie;
use Illuminate\Database\Eloquent\Model;
class Movie extends Model
{
protected $table = 'movies';
protected $fillable= array
('film_id','title','description','image','rating','release_year',
'genre_id','created_at_ip', 'updated_at_ip') ;
} |
<?php
namespace AppBundle\Repository;
use AppBundle\Entity\Community;
use AppBundle\Entity\GeneralClassification;
use AppBundle\Entity\Matchday;
use Doctrine\ORM\EntityRepository;
/**
* GeneralClassificationRepository.
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods bel... |
<body style="margin: 0;padding: 0;font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;box-sizing: border-box;font-size: 14px;-webkit-font-smoothing: antialiased;-webkit-text-size-adjust: none;height: 100%;line-height: 1.6;background-color: #f6f6f6;width: 100% !important;">
<tab... |
<!DOCTYPE html>
<html>
<head>
<title>@yield('title', 'Weibo App') - Laravel 入门教程</title>
<link rel="stylesheet" href="{{mix('css/app.css')}}">
</head>
<body>
@include('layouts._herder')
<div class="container">
@include('shared._messages')
@yield('content')
</div>
@include('lay... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
Co... |
<input type="hidden" name="_token" value="{{ csrf_token() }}">
@foreach ($product->images()->get() as $image)
<div id="row-image-{{ $image->id }}" class="row row-img border-b">
<div class="col-sm-10">
<img src="{{ App\Helpers\MyHtml::showThumb($image->image, 'product') }}">
</div>
... |
<?php
ob_start();
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<scri... |
<?php
require_once("config.php");
session_start();
if ($_SESSION["access"]==1) {
$sql = "delete from users where name='" . $_POST["user"] . "' ";
$prepstatement = $db->prepare($sql);
$prepstatement->execute();
}
header("Location: admin.php");
?> |
<?php
App::uses('Component', 'Controller');
App::uses('CrudSubject', 'Crud.Controller/Crud');
/**
* Crud component
*
* Scaffolding on steroids! :)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
*/
class CrudComponent extends Component {
/**
* Refer... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Programa de control Zona Norte </title>
... |
<?php
use yii\db\Migration;
/**
* Class m201213_201050_update_tai_player_finding_trigger
*/
class m201213_201050_update_tai_player_finding_trigger extends Migration
{
public $DROP_SQL="DROP TRIGGER IF EXISTS {{%tai_player_finding}}";
public $CREATE_SQL="CREATE TRIGGER {{%tai_player_finding}} AFTER INSERT ON {{%... |
<?php
namespace Telegram\Modules;
use Telegram\Bot;
use Telegram\Update;
use Chipslays\Collection\Collection;
class User
{
/**
* @var Bot
*/
private static $bot;
private static $driver;
private static $userId;
private static $data = [];
private static $firstTime = false;
pri... |
<?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 spec\Sylius\Component\User\Model;
use PhpSpec\ObjectBehavior;
/**
*
* @author Alexandre ... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'C:/wamp64/www/grav-admin/user/plugins/login/login.yaml',
'modified' => 1601076893,
'data' => [
'enabled' => true,
'built_in_css' => true,
'redirect_to_login' => false,
'redirect_after_login'... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\khachhang */
$this->title = 'Update Khachhang: ' . ' ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Khachhangs', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $... |
<?php
/**
* MagicDbTest file
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* ... |
<?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
/**
*
* NOTICE OF LICENSE
*
* This source file is subject to the BSD 3-Clause License
* that is bundled with this package in the file LICENSE.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/BSD-3-Clause
*
*
* @author Malaysian Global Innovation & Creativity Centre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.