text stringlengths 2 1.03M |
|---|
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
class InstallController extends Controller
{
public $enableCsrfValidation = false;
public function actionIndex(){
//安装第一个页面,同意协议
//判断是否安装
if(is_file("assets/existence.php")){
$this->redirect("index.php?r=in... |
@extends('layouts.app')
@section('content')
<!-- Bootstrap 樣板... -->
<div class="panel-body">
<!-- 顯示驗證錯誤 -->
@include('common.errors')
<!-- 新任務的表單 -->
<form action="/task" method="POST" class="form-horizontal">
{{ csrf_field() }}
<!-- 任務名稱 -->
<div class... |
<?php
namespace App\Http\Requests\Admin;
use Illuminate\Foundation\Http\FormRequest;
class ProfileUpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
@extends('layouts.member.member')
@section('content')
<section class="h-100">
<div class="container h-100">
<div class="d-flex align-items-center justify-content-center h-100">
<div class="d-flex flex-column card">
<div class="card-body">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePivotPostTagTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pivot_post... |
<body>
<div class="row">
<br>
<label><a href="?page=gallery-km&action=tambah-gallery-km" class="btn-floating btn-medium waves-effect waves-light blue darken-1"><i class="material-icons">add</i></a> Tambah Data</label>
<div class="divider"></div>
<table class="responsive-table striped highlight">
<h5 c... |
<?php
namespace App\Providers;
use App\Observers\MarcaObserver;
use App\Models\PreCadastro\Marca;
use App\Observers\ModeloObserver;
use App\Models\PreCadastro\Modelo;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends S... |
<?php
class Pages extends CI_Controller {
public function view($page = 'j')
{
if ( ! file_exists(APPPATH.'/views/'.$page.'.php'))
{
// Whoops, we don't have a page for that!
show_404();
}
$data['title'] = ucfirst($... |
@extends('welcome')
@section('content')
@endsection |
<?php
namespace App\Http\Controllers\Caiji;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Caiji\ContentController;
class resourceController extends Controller
{
public function __construct()
{
$this->caiji = new ContentController();
}
//最大资源网采集
publ... |
<?php
session_start();
if($_SESSION['logado'] <> TRUE){
session_destroy();
header("location: ../production/login.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-... |
<?php
namespace Codemonkey76\TestPackage\Tests;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
/** @test */
public function true_is_true()
{
$this->assertTrue(true);
}
} |
<table class="table table-bordered" id="table_datatable">
<thead>
<tr>
<th>Id</th>
<th>Username</th>
<th>Email</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
</table>
</div>
<div class="modal"... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFichiersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fichiers', fun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tbl_Categoria extends Model
{
//
protected $table = 'tbl_categoria';
protected $fillable = [
'nombre',
'id_padre',
'orden',
'estado'
];
public function parent(){
return $this->hasOne('A... |
<?php
declare(strict_types=1);
namespace App\Models;
use App\Models\Traits\AutoAliasTrait;
use App\Models\Traits\Images;
use App\Scopes\WithUsersByMyGroupsScope;
use App\Services\UploadImagesService;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Databas... |
<?php
/**
* @author Michael J. Rubinsky <mrubinsk@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/gpl GPL
* @package Kronolith
*/
require_once __DIR__ . '/../lib/Kronolith.php';
/**
* Add hierarchcal related columns to the legacy sql share driver
*
* Copyright 2011-2017 Horde LLC (ht... |
<?php
/**
* This example adds a sitelinks feed and associates it with a campaign.
* To get campaigns, run GetCampaigns.php.
*
* Copyright 2016, Google Inc. 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.
... |
<body>
<center>
<!-- <h3>Department of Water Supply & Sanitation Punjab </h3>-->
<h4>CIRCLE WISE SERVICE LEVEL REPORT</h4>
</center>
<div class="container-fluid container_main">
<footer class="bottombar">
<hr>
<p>© PunjabWater.net 2016</p>
</footer>
</div>
<script data-main="assets/js/... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEducationHistoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('educ... |
<?php
namespace App\DataTables;
use App\Models\Page;
use Yajra\Datatables\Services\DataTable;
class PagesDataTable extends DataTable
{
public function ajax()
{
return $this->datatables
->eloquent($this->query())
->addColumn('action', function ($pages) {
$edit =... |
<?php
include ('header.php');
?>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h3 class="text-light text-center pt-5"> FeedBack </h3>
</div>
<div class="col-md-12 pt-5">
<table id="" class="table table-striped table-dark table-hover table-border... |
<?php
/**
* InvoiceTotalAmountPerVatRate
*
* PHP version 7.2
*
* @category Class
* @package Freee\Accounting
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* freee API
*
*
* The version of the OpenAPI document: v1.0
*
* Generated by: https://openapi-generator.tech... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDelegationUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('delegation_... |
<?php defined('MAPLE') || exit('此檔案不允許讀取!');
class AdminShowTextarea extends AdminShowUnitNomin {
public function content($items) {
return parent::content(nl2br($items));
}
} |
<?php
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="DeleteDrawingObjectRequest.php">
* Copyright (c) 2021 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy... |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Http\Requests\PostsCreateRequest;
use App\Photo;
use App\Post;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Auth;
class AdminPostsController extends Controller
{
/**
* Display a listing of the resource.
... |
<?php
/*
* 此文件用于验证短信服务API接口,供开发时参考
* 执行验证前请确保文件为utf-8编码,并替换相应参数为您自己的信息,并取消相关调用的注释
* 建议验证前先执行Test.php验证PHP环境
*
* 2017/11/30
*/
namespace Aliyun\DySDKLite\Sms;
require_once "../SignatureHelper.php";
use Aliyun\DySDKLite\SignatureHelper;
/**
* 发送短信
*/
function sendSms() {
$params = array ();
// *** ... |
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... |
<?php
namespace App\Models;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Yangiliklar
* @package App\Models
* @version June 21, 2020, 7:34 am UTC
*
* @property \App\Models\ArticleCategory $cate
* @property \App\Models\User $user
* @property string $title
* @property string ... |
<?php
return array (
'la' =>
array (
0 => 'i',
1 => 'e',
2 => 't',
3 => 'a',
4 => 's',
5 => 'u',
6 => 'n',
7 => 'o',
8 => 'r',
9 => 'm',
10 => 's_',
11 => 'c',
12 => 'e_',
13 => 'p',
14 => 't_',
15 => 'd',
16 => 'm_',
17 => 'is',
18 => 'l... |
<?php
include "conexion.php";
$user_id=null;
$sql1= "select * from producto where nombre_campaña like '%$_GET[s]%' or precio_producto like '%$_GET[s]%' or Llamadas_ilimitadas like '%$_GET[s]%' or gigas like '%$_GET[s]%' or minutos like '%$_GET[s]%' or descripcion like '%$_GET[s]%' ";
$query = $con->query($sql1);
?>
... |
<?php
namespace app\models;
use yii\base\Model;
class Signup extends Model
{
public $email;
public $password;
public function rules()
{
return [
[['email','password'],'required'],
['email','email'],
['email','unique','targetClass'=>'app\models\User'],
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Restaurant extends CI_Controller {
function __construct(){
parent::__construct();
// Load form helper library
$this->load->helper('form');
// Load form validation library
$this->load->library('form_validation');
// Load sess... |
@extends('layouts.app')
@section('content')
@if(checkPermission(['admin','superadmin']))
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<h1 style="text-align:center">Registrar nova reserva</h1>
<div class="panel... |
<!DOCTYPE html>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" con... |
<?php
use App\Setting;
use Illuminate\Database\Seeder;
class ReqruitedEmailSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$reqruited_closer = new Setting();
$reqruited_closer->key = 'app_reqruited_email';
$reqrui... |
<?php
declare(strict_types=1);
namespace SimpleMVC\Controller;
use League\Plates\Engine;
use Psr\Http\Message\ServerRequestInterface;
class Nuovo implements ControllerInterface
{
protected $plates;
protected $pdo;
public function __construct(Engine $plates)
{
$this->plates = $plates;
}
... |
<?php
namespace App\Http\Resources\BudgedPerformance;
use App\Http\Resources\DistrictsCity\DistrictsCityResource;
use Illuminate\Http\Resources\Json\JsonResource;
class UserBudgedPerformanceResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Req... |
<!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">
<title>{page_title} | {site_name}</title>
<?php $this->load->view('includes/mobile_config'); ?>
</head>
<body... |
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Rekapitulasi Komoditi Impor</h4>
<table class="table table-bordered" id="ImporKh" style="width: 100%">
<thead>
<tr>
<th>Komoditi</th... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Product extends Model
{
protected $fillable = ['name','description','quantity','price'];
protected $guarded = ['id'];
protected $table = 'products';
} |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" sizes=... |
<?php
/*
* This file is part of the workwechat/wechat.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace WorkWechat\OpenPlatform\Base;
use WorkWechat\Kernel\BaseClient;
/**
* Class Client.
*
* @auth... |
<?php
namespace SfCQRSDemo\Application\Command\Handler;
use SfCQRSDemo\Application\Command\ResizeImageCommand;
use SfCQRSDemo\Application\Service\ImageService;
class ResizeImageHandler
{
private $imageService;
/**
* @param ImageService $imageService
*/
public function __construct(ImageService ... |
<?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 RectorPrefix20211231\Symfony\Component\DependencyInjection\Compiler;
use... |
@extends('layouts.master')
@section('content')
<div>
<div class="page-title">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3> {{ __('Edit Page') }}</h3>
{{ Breadcrumbs::render('editPage',$page->id) }}
</div>
</div>
</div>
</div>
<div id="main-wrapper" class=... |
@extends("layouts.plantillaColaborador")
@section("infoGeneral")
<div class="container mt-5 mb-5 shadow col-md-6 pl-5 pr-5 pb-5">
<h2 class="text-center py-5">¿Estás seguro de querer eliminar el
comentario sobre el Museo del vino D.O Campo de Borja?</h2>
<div class="col-6 d-flex justify-content-betw... |
<?php namespace Lio\Forum\Replies\Handlers;
use Lio\Core\Handler;
use Lio\Forum\Forum;
use Lio\Forum\EloquentReplyRepository;
use Mitch\EventDispatcher\Dispatcher;
class UpdateReplyHandler implements Handler
{
private $forum;
private $repository;
private $dispatcher;
public function __construct(Forum... |
<?php
namespace Google\AdsApi\AdManager\v202008;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ReservationDetailsError extends \Google\AdsApi\AdManager\v202008\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @para... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire t... |
<?php
namespace Illuminate\Support;
class ClassLoader
{
/**
* The registered directories.
*
* @var array
*/
protected static $directories = [];
/**
* Indicates if a ClassLoader has been registered.
*
* @var bool
*/
protected static $registered = false;
/**... |
<?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... |
<!DOCTYPE html>
<html lang="zxx" class="no-js">
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon-->
<link rel="shortcut icon" type="image/x-icon" href="<?= base_url(); ?>assets/home/img/logo/logo_1.png">
<!-- Author Meta -->
... |
<?php
require '../vendor/autoload.php';
$credentials = \Gladyshev\Yandex\Direct\Credentials::agencySandbox(
getenv('_TOKEN_')
);
$client = new \Gladyshev\Yandex\Direct\Client(
$credentials,
new GuzzleHttp\Client()
);
$resp = $client->agencyClients->get(
['Archived' => 'NO'],
['Login']
);
print_... |
<?php namespace Visiosoft\ProfileModule\Education;
use Anomaly\Streams\Platform\Entry\EntryObserver;
class EducationObserver extends EntryObserver
{
} |
<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
use App\Models\Users\UserMail;
use App\Models\Users\User;
class UsersMailsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\DB::table('users_mails')->delete();
... |
<!--
Name: shop.php
Author: Griffin Brome
License: MIT
Description: Shop page, shows site inventory
-->
<!DOCTYPE html>
<html>
<head>
<?php include "php/head.php"; ?>
<script src="../static/js/shop.js"></script>
<title>Shop</title>
</head>
<body>
<?php include "php/header.php" ?>
<mai... |
<?hh <<__EntryPoint>> function main(): void {
$crt = substr(__FILE__, 0, -4).'.crt';
$info = openssl_x509_parse("file://$crt");
var_dump($info["validFrom"], $info["validFrom_time_t"], $info["validTo"], $info["validTo_time_t"]);
echo "Done\n";
} |
<?php
namespace app\controllers\admin;
use Yii;
use app\models\Gallery;
use app\models\GalleryCat;
use app\models\GallerySearch;
use app\models\UploadForm;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\web\UploadedFile;
/**
* GalleryController implements the CRUD acti... |
<?php
/* @WebProfiler/Collector/twig.html.twig */
class __TwigTemplate_f4e63bf54dd9b8470b94c8d0c744dbeac769fcc2e492fbaf6c1c11100cfc3d38 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate(... |
<?php
/* Copyright (C) 2020 PBBO Persona Meuble - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Code's Author by Chris Christian, Mikhael Adriel, December 2020
*/
namespace App\Domain\Vendor\Dao;
use App\Http\Controllers\Controller... |
<?php
/*
* This file is part of the MopaBootstrapBundle.
*
* (c) Philipp A. Mohrenweiser <phiamo@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Mopa\Bundle\BootstrapBundle\Form\Extension;
use Symfony\C... |
<?php
/**
* La clase 'View' es padre de cada una de las vistas que se cree,
* carga una vista respectivamente.
*/
class View
{
function __construct()
{ }
function render($nombre)
{
require 'views/' . $nombre . '.php';
}
} |
<?php
include \SimpleSAML\Module::getModuleDir('perun') . '/themes/perun/consent/noconsent.php'; |
<?php
//header("Content-Type: application/json");
include "bookmarks.php";
//
// $fp = fopen('../../bookmarks.json', 'w');
// fwrite($fp, json_encode($bookmarks->getBookMarksWithTagsInJson()));
// fclose($fp);
$bookmark_id = $_POST["bookmark_id"];
//echo json_encode($bookmark_id);
$bookmarks->removeBookmark($bookmark... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit2ec0dbcff9989bab1ce94c2743bc8a67
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
/**
* SOFTWARE USE PERMISSION
*
* By downloading and accessing this software and associated documentation
* files ("Software") you are granted the unrestricted right to deal in the
* Software, including, without limitation the right to use, copy, modify,
* publish, sublicense a... |
<?php
include "dbcon.php";
// Παίρνουμε το email και το password που έδωσε ο χρήστης
$user_email = $_POST['email'];
$user_password = $_POST['password'];
$sql = "SELECT * FROM teacher WHERE email = ?";
$stmt = $pdo->prepare($sql);
$stmt->execute([$user_email]);
$teacher = $stmt->fetch();
$db_email = $teacher['email']... |
--TEST--
ZE2 object cloning, 5
--FILE--
<?php
abstract class base {
public $a = 'base';
// disallow cloning once forever
final private function __clone() {}
}
class test extends base {
// reenabling should fail
public function __clone() {}
}
?>
--EXPECTF--
Fatal error: Cannot override final method base::__... |
<?php
use App\Http\Controllers\CardController;
use App\Http\Controllers\CurrencyController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\MarchentController;
use App\Http\Controllers\OrderController;
use App\Http\Controllers\PageController;
use App\Http\Controllers\TopUpController;
use App\Http\Con... |
<?php
namespace App\Http\Resources\Product;
use Illuminate\Http\Resources\Json\JsonResource;
class ProductResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
... |
<?php
/**
* Created by PhpStorm.
* User: Hash
* Date: 01-08-2015
* Time: 21:14
*/
namespace App\CN\CNEvents;
use App\CN\CNHelpers\PaginatorHelper;
use App\CN\Transformers\EventTransformer;
use App\Exceptions\ErrorCodes;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Pagination\Paginator;
use Il... |
<?php
declare(strict_types=1);
namespace Bnomei;
use Kirby\Cms\Page;
use Kirby\Toolkit\A;
trait PageHasBoost
{
/** @var bool */
private $boostWillBeDeleted;
public static function create(array $props): Page
{
$fieldname = option('bnomei.boost.fieldname');
if (!A::get($props['content... |
@extends('admin.layout.layout')
@section('content')
<div class="container-fluid">
<div class="row page-titles">
<div class="col-md-8 col-8 align-self-center">
<h3 class="text-themecolor m-b-0 m-t-0 d-inline-block menu-tab">
<a href="/admin/banner" class="@if... |
<?php
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
/**
* Creates the database table to store all available character classes.
*
* @author Stefan Herndler
* @since 1.0.0
* @class CreateCharacterClassesTable
*/
class CreateCharacterClassesTable extends Migration {
/**
... |
@extends('layouts.layout')
@section('content')
<div class="container-fluid">
<div class="page-title-box">
<div class="row align-items-center ">
<div class="col-md-8">
<div class="page-title-box">
... |
<?php
declare(strict_types=1);
namespace Oro\Bundle\TestGeneratorBundle\Command;
use Oro\Bundle\TestGeneratorBundle\Generator\AbstractTestGenerator;
use Psr\Container\ContainerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Inp... |
<?php
namespace App\Menu\Contracts;
interface IMenuCollection {
public function add($menu);
public function remove($menu);
} |
<?php
require_once "_printFunctions.php";
printHttpHeader();
if(isset($_GET) && isset($_GET["action"])){
if( $_GET["action"]==="mail"){
if($_POST["name"]!="" && $_POST["mail"]!="" && $_POST["text"]!=""){
$text="<p style='background-color: #eef; padding: 10px; width:95%; margin: 10px;'>Anfrage von: ".strip... |
<?php
/**
* This file is part of the prooph/event-store-bus-bridge.
* (c) 2014-2018 prooph software GmbH <contact@prooph.de>
* (c) 2015-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source c... |
@extends('adminlte::register')
@section('title','Cadastro') |
<?php
/**
* BackPress Scripts enqueue.
*
* These classes were refactored from the WordPress WP_Scripts and WordPress
* script enqueue API.
*
* @package BackPress
* @since r16
*/
/**
* BackPress Scripts enqueue class.
*
* @package BackPress
* @uses WP_Dependencies
* @since r16
*/
class WP_Scripts extends ... |
<?php
return array(
array(
'class_name' => '边腿类',
'spu_name' => '耘垦边腿',
'sku_name' => '13斤6.1KG',
),
array(
'class_name' => '边腿类',
'spu_name' => '耘垦边腿',
'sku_name' => '14斤6.5KG',
),
array(
'class_name' => '边腿类',
'spu_name' => '耘垦边腿',
'sku_name' => '15斤7.2KG',
),
array(
... |
@extends("admin.layout.master")
@section("title","Category")
@section("content")
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Category</h1>
</div>
<div class="col-s... |
<?php
/*
* This file is part of the Engine framework.
* (c) Mathias Methner <mathiasmethner@gmail.com>
* Please view the LICENSE file
*/
require_once(ENGINE_APP_ROOT . '/vendor/autoload.php');
require_once(ENGINE_APP_ROOT . '/config/autoload.php');
require_once(ENGINE_APP_ROOT . '/config/bootstrap.php');
\Engine\... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\PackProductoSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="pack-producto-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... |
<?php
namespace Viewi;
use Exception;
use ReflectionClass;
use Viewi\JsFunctions\BreakCondition;
use Viewi\JsFunctions\BaseFunctionConverter;
require 'JsFunctions/export.php';
class JsTranslator
{
private string $phpCode;
private int $position = 0;
private int $length = 0;
/** @var string[] */
p... |
<?php
$cust=$_GET['id'];
if(isset($_POST['submit'])){
$r=$_POST['route'];
$s=$_POST['start'];
$st=$_POST['startt'];
$e=$_POST['end'];
$et=$_POST['endt'];
$vids=$_POST['vid'];
foreach($vids as $key=>$vid){//each vehicle
//
}
}
?>
<div class="main-content">
<div class="breadcrumbs" id="breadcru... |
<!DOCTYPE html>
<html dir="ltr" lang="en">
<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="">
<me... |
<?php
namespace Amyisme13\LaravelJitsi\Tests;
use Amyisme13\LaravelJitsi\Traits\HasJitsiAttributes;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\... |
<?php
namespace App\Http\Controllers\Index;
use App\Models\Category;
use App\Models\Product;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class ShopController extends Controller
{
public function index($category_id = null)
{
$categories = Category::all();
$products = Prod... |
<?php
/**
* PHP version 7.1
*
* @package SaaS\Service\Dellin\Model\Response\Reference
* @author RetailDriver LLC <integration@retailcrm.ru>
* @license https://retailcrm.ru Proprietary
* @link http://retailcrm.ru
* @see https://help.retailcrm.ru
*/
namespace SaaS\Service\Dellin\Model\Response\Refer... |
<div class="row">
<div class="col-lg-6 m-b-10 d-flex">
<!-- START WIDGET widget_pendingComments.tpl-->
<div class="widget-11-2 card no-border card-condensed no-margin widget-loader-circle align-self-stretch d-flex flex-column">
<div class="card-header top-right">
<div class="card-controls">
<ul>
<l... |
<?php
if (class_exists('ParagonIE_Sodium_Core_Curve25519_Ge_Precomp', false)) {
return;
}
/**
* Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp
*/
class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp
{
/**
* @var ParagonIE_Sodium_Core_Curve25519_Fe
*/
public $yplusx;
/**
* @var Parago... |
<?php
/* @var $this yii\web\View */
$this->title = 'My Yii Application';
?>
<div class="site-index">
<div class="jumbotron">
<h1>Congratulations!</h1>
<p class="lead"><?= Yii::$app->formatter->asDate($date, 'php: d mm Y'); ?></p>
<p><a class="btn btn-lg btn-success" href="http://www.yii... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
namespace App\Traits;
/**
* Trait HasExtendProperties.
*
* @author artisan <artisan@tencent.com>
*
* @property array $properties
*/
trait HasExtendProperties
{
/**
* @return array
*/
public function getPropertiesAttribute()
{
$default = \defined('static::DEFAULT_PROPERTIES') ... |
<?php
namespace App\Models;
use CodeIgniter\Model;
use Config\Database;
class RegisterModel extends Model{
public $db;
public function __construct(){
$this->db = Database::connect();
}
public function get_all_staff(){
$row = false;
$builder = $this->db->table('teacher');
$... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.