text
stringlengths
2
1.03M
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\modules\ezforms2\models\EzformAutonum */ $this->title = Yii::t('ezform', 'Update {modelClass}: ', [ 'modelClass' => 'Ezform Autonum', ]) . ' ' . $model->id; $this->params['breadcrumbs'][] = ['label' => Yii::t('ezform', 'Ezform Auton...
<?php // 数据配置文件 return [ 'default' => [ 'type' => 'mysql', // 数据库类型 'hostname' => 'localhost', // 数据库服务器地址 'port' => '3306', // 数据库端口 'charset' => 'utf8', // 数据库编码 'username' => '', // 数据库用户名 'password' => '', // 数据库密码 'name'...
@extends('layouts.main') @section('title', 'Store | Tambah Data Supplier') @section('content') <main> <div class="container px-4"> <div class="row justify-content-center"> <div class="col-12"> <div class="card mt-4"> <div class="card-h...
<?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 /** * @copyright 2014 Integ S.A. * @license http://opensource.org/licenses/MIT The MIT License (MIT) * @author Javier Lorenzana <javier.lorenzana@gointegro.com> */ namespace GoIntegro\Hateoas\Entity; // JSON-API. use GoIntegro\Hateoas\JsonApi\ResourceEntityInterface; interface MutatorInterface { /** ...
<?php use Illuminate\Foundation\Inspiring; Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->describe('Display an inspiring quote');
<?php /** * Copyright (c) 2015 · Kerem Güneş * Apache License 2.0 · http://github.com/froq/froq-http */ declare(strict_types=1); namespace froq\http; use froq\common\Exception; /** * Http Exception. * * @package froq\http * @object froq\http\HttpException * @author Kerem Güneş * @since 1.0 */ class Htt...
@extends('layouts.app') @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">Register</div> <div class="panel-body"> <form class="for...
<?php declare(strict_types=1); namespace App\Libraries\Validation; use App\Libraries\FormData; use App\Models\Form\FormForm; use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\URI; use CodeIgniter\HTTP\UserAgent; use Config\App; use Config\Services; use Kenjis\CI3Compatible\Test\TestCase\UnitTestCase; class...
--TEST-- Test array_merge() function : basic functionality --FILE-- <?php /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) * Description: Merges elements from passed arrays into one array * Source code: ext/standard/array.c */ /* * Test basic functionality of array_merge() */ echo "*** ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDataTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('data', function (B...
<?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 use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
@extends('layouts.adminLayout.admin_design') @section('content') <div id="content"> <div id="content-header"> <div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> <a href="#">Products</a> <a href="#" class="current">Add Products Images</a> </div> ...
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="background: #FF4500;"> <div class="container"> <div class="navbar-header page-scroll"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> ...
<?php use Illuminate\Database\Seeder; use App\Comment; class CommentsTable extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $faker = \Faker\Factory::create(); // Create 10 comments for ($i = 0; $i < 10; $i++) { ...
<?php namespace Magister\Commands; abstract class Command { // }
<p> This message contains instructions to perform a password recovery. It was requested on the <?php echo CHtml::link(Yii::app()->name, $siteUrl); ?> website. If you did not perform this request, please ignore this email or contact our administrator. </p> <p>To set a new password, open the following link:</p> <p>...
<?php namespace App\Controllers; use \App\Models\User; /** * Account controller * * PHP version 7.0 */ class Account extends \Core\Controller { /** * Validate if email is available (AJAX) for a new signup or an existing user. * The ID of an existing user can be passed in in the querystring to igno...
<?php if (!defined('THINK_PATH')) exit();?><!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" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link rel="stylesh...
<?php use yii\helpers\Html; use yii\helpers\ArrayHelper; use yii\bootstrap4\ActiveForm; use common\models\User; use backend\modules\rbac\models\RbacAuthItem; use rmrevin\yii\fontawesome\FAS; /* @var $this yii\web\View */ /* @var $model backend\modules\rbac\models\RbacAuthAssignment */ /* @var $form yii\bootstrap4\Act...
<?php /** * 版权声明 : 地老天荒科技有限公司 * 文件名称 : v3_tableName.php * 创 建 者 : Shi Guang Yu * 创建日期 : 2018/06/16 22:51 * 文件描述 : 模块数据表配置文件 * 历史记录 : ----------------------- */ // +------------------------------------------------------ // : v3_版本:数据库表模型对应表明配置 // +------------------------------------------------------...
<?php namespace Egalio\Preferences; use Illuminate\Database\Eloquent\Model; class Preference extends Model { // }
<?php session_start(); include 'inc/dbh.php'; $sql = "SELECT * FROM price where name='pixel'"; $result = $conn->query($sql); $row = $result->fetch_assoc(); $flipkart = $row['flipkart']; $snapdeal = $row['snapdeal']; $amazone = $row['amazone']; //echo $flipkart; //echo $snapdeal; //echo $amazone; $sql = "SELECT * FR...
<?php $allowedExts = array("gif", "jpeg", "jpg", "png"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/jpg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FIL...
<?php namespace Wa\BackBundle\Validator; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; class AntiGrosMotsValidator extends ConstraintValidator { public function validate($value, Constraint $constraint) { $grosMots = ["fuck"]; foreach($grosMot...
<?php /** * Desc: TEST * User: baagee * Date: 2019/3/19 * Time: 下午5:11 */ include_once __DIR__ . '/../vendor/autoload.php'; // 单例模式 获取validator对象 $validator = \BaAGee\ParamsValidator\Validator::getInstance(); $validator2 = \BaAGee\ParamsValidator\Validator::getInstance(); var_dump($validator === $validator2); e...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php /* Copyright (c) 2009-2017 F3::Factory/Bong Cosca, All rights reserved. This file is part of the Fat-Free Framework (http://fatfreeframework.com). This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation...
<!DOCTYPE html> <html lang="{{app()->getLocale()}}"> <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>{{$title or 'Survey Manager'}}</title> <meta name="csrf-token" content="{{csrf_token()}...
<?php namespace IntelGUA\Sisaludent\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array */ protected $except = [ // ]; }
<?php use Spatie\Honeypot\SpamResponder\BlankPageResponder; return [ /* * Here you can specify name of the honeypot field. Any requests that submit a non-empty * value for this name will be discarded. Make sure this name does not * collide with a form field that is actually used. */ 'name_...
<?php return array( 'Account Type'=>'账户类别', 'Account Type Form'=>'账户类别表单', 'Account Type List'=>'账户类别列表', 'Report Category'=>'报表类别', 'Account'=>'账户', 'Account Form'=>'账户表单', 'Account List'=>'账户列表', 'Account No.'=>'账户号码', 'Account Name'=>'账户名称', 'Bank'=>'银行名称', 'Remarks'=>'备注', 'Open Balance'=>'初始金额', 'Bal...
<?php /** * * * @author Sebastian Lagemann <sebastian@iqu.com> */ class BasicTest extends PHPUnit_Framework_TestCase { private $tmpdir; /** * @var \Iqu\Sdk\Event_Container */ private $eventContainer; /** * @var \Iqu\Sdk\Transport_Container */ private $transportContainer; /** * @var \Iqu\Sdk\Event_I...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Archive extends Model { public function getDocumentTypes(){ $query = "select id, document_type from document_type"; try { $documentTypes = DB::select($query); return $docu...
<?php declare (strict_types=1); namespace RectorPrefix20211020\Helmich\TypoScriptParser\Parser\Traverser; use Helmich\TypoScriptParser\Parser\AST\Statement; /** * Interface Visitor * * @package Helmich\TypoScriptParser * @subpackage Parser\Traverser */ interface Visitor { /** * @param Statement[] $st...
<?php $db = DB::getInstance(); $query = $db->query("SELECT * FROM email"); $results = $query->first(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>Hello <?=$fname;?>,</p> <p>A request to change your email was made from within your user account.</p> ...
<?php session_start(); $_SESSION['sehife_basi_goster'] = $_POST['sehife_basi_goster']; ?>
<?php /** * Post date template part. * * 🚫🚫🚫 * DO NOT EDIT THIS FILE WHILE INSIDE THE PLUGIN! Changes You make will be lost when a new version * of the AMP plugin is released. You need to copy this file out of the plugin and put it into your * custom theme, for example. To learn about how to customize these Re...
<?php //ob_start(); include_once("../model/utils.php"); loadView("header.php"); $cfg = array( "uyeYetkisi" => isset($_SESSION['yetki']) ? $_SESSION['yetki'] : -1, "seviye" => array (YETKI_UYE, YETKI_OGRETMEN, YETKI_OGRETMEN_DERS, YETKI_OGRETMEN_OGRENCI,YETKI_OGRETMEN_DERS_OGRENCI) ); yetkiKontrol($cfg); ?> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddLanguageToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', fun...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"><?php echo $judul;?></h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> ...
<?php namespace DoctrineORMModule\Proxy\__CG__\Category\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Item extends \Category\Entity\Item implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy obje...
<?php /** * Smarty method EnableForceCompile * * Enable forced compiling * * @package Smarty * @subpackage SmartyMethod * @author Uwe Tews */ /** * Enable forced compiling */ function Smarty_Method_EnableForceCompile($smarty) { $smarty->force_compile = true; return; } ?>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use Session; use App\User; use App\Admin; use App\Order; use Illuminate\Support\Facades\Hash; class AdminController extends Controller { public function login(Request $request){ if($request->isMethod('post')){ $data = $request-...
<?php namespace PicturePark\API\Model; class DocumentVersionConflictException { /** * * * @var string */ protected $traceLevel; /** * * * @var string|null */ protected $traceId; /** * * * @var string|null */ protected $traceJobId; ...
@extends('admin.layout') @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 App; use Illuminate\Notifications\Notifiable; use App\Notifications\AdminResetPasswordNotification; use Illuminate\Foundation\Auth\User as Authenticatable; class Admin extends Authenticatable { use Notifiable; protected $table = 'admins'; protected $primaryKey = 'id'; /** * The...
<?php /** * @file * Theme settings. */ /** * Implements theme_settings(). */ function {{machine_name}}_form_system_theme_settings_alter(&$form, &$form_state) { // Ensure this include file is loaded when the form is rebuilt from the cache. $form_state['build_info']['files']['form'] = drupal_get_path('theme', '...
<?php /** * Created by PhpStorm. * User: HT * Date: 2017/03/21 * Time: 15:56 */ namespace App\Service\Admin; use App\Repository\Eloquent\RoleRepositoryEloquent; class RoleService { private $role; private $return; function __construct(RoleRepositoryEloquent $role) { $this->role = $role;...
exercice1: 1)Nombre de gaulois par lieu (trié par nombre de gaulois décroissant) SELECT lieu.NOM_LIEU,COUNT(villageois.ID_LIEU) AS nb_habitants FROM villageois, lieu WHERE villageois.ID_LIEU = lieu.ID_LIEU GROUP BY lieu.NOM_LIEU ORDER BY nb_habitants DESC ; 2)Nom des gaulois + spécialité + village SELECT villageois.N...
<?php namespace App\Http\Controllers; use App\Article; use App\Category; use App\Tag; use Illuminate\Http\Request; class ArticleController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { try { ...
<footer class="bg-gray-800 py-20 mt-20"> <div class="sm:grid-cols-3 w-25 pb-10 m-auto border-b-2 border-gray-700"> <div class="flex justify-between"> <div> <h3 class="text-l sm:font-bold text-gray-100"> Pages </h3> <ui class="py-4 sm:text-s pt-4 t...
<?php namespace app\student\controller; use app\lib\validate\CodeValidate; use app\service\Token as Toke; class Token { public function get($code='') { (new CodeValidate())->goCheck(); $ut=new Toke($code,"user",'wx_canteen_helper'); $token=$ut->get(); return $token; } }
</div> </div> <footer class="footer"> <div><a href="https://coreui.io">CoreUI </a><a href="https://coreui.io">Bootstrap Admin Template</a> &copy; 2021 creativeLabs.</div> <div class="ms-auto">Powered by&nbsp;<a href="https://coreui.io/bootstrap/ui-components/">CoreUI UI Components</a></div> </footer> </div> <s...
<?php namespace ITSS\TicketsBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; class PageController extends Controller { /** * @Route("/") * @Template...
<!-- Topbar --> <div class="app-header header-shadow bg-grow-early header-text-light"> <div class="app-header__logo"> <div class="logo-src"></div> <div class="header__pane ml-auto"> <div> <button type="button" class="hamburger close-sidebar-btn hamburger--elastic" ...
<?php namespace Serwisant\SerwisantApi\Types\SchemaPublic; use Serwisant\SerwisantApi; use Serwisant\SerwisantApi\Types; class CustomerPanelConfig extends Types\Type { /** * @var bool */ public $caPanelCommunication; /** * @var bool */ public $caPanelRepairs; /** * @var bool */ public $c...
<?php require_once("controller.php"); require_once("view.php");
<?php namespace app\admin\controller; use app\admin\model\House as HouseModel; use app\admin\model\KaolaAdmin; class House extends Base { /** * 显示资源列表 * * @return \think\Response */ public function index() { $districts = $where = []; $params = input('get.'); i...
<div class="relative" x-on:click="input=true" x-data="{ value: '<span style=\'border-bottom: dotted 1px;\'>{{ addslashes($row->$field) }}</span>' }"> <button style="width: 100%;text-align: left;border: 0;padding: 4px;background: none;" x-on:click="value = editableInput({{ $row->id }}, '...
<?php /** * Created by PhpStorm. * User: soni * Date: 02/10/18 * Time: 17.09 */ class Inheritance { public $judul, // make default property $penulis, $penerbit, $harga, $jmlHalaman, $waktuMain, $tipe; public function __construct( $judul = 'judul', ...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php namespace App\Http\Controllers; use App\Models\Category; use App\Models\formations; use App\Models\machines; use App\Models\project; use App\Models\MachinesAttachments; use App\Models\machines_offers; use App\Models\rawMaterials; use App\Models\RequestedMachines; use App\Models\subcategory; use Illuminate\Http\...
<style> /* SCROLLBAR STYLING */ /* width */ ::-webkit-scrollbar { width: 6px; height: 3px; } /* Track */ ::-webkit-scrollbar-track { background: black; } /* Handle */ ::-webkit-scrollbar-thumb { background: <?php echo $maincolor ?>; border-radius: 20px; } /* Handle on hover */ ::-webkit-scrollba...
<?php namespace App\Http\Controllers; use App\Models\Product; use App\Models\Sucursale; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Validator; class ProductController extends Controller { public function __construct(){ $this->middleware(['auth:sanc...
<form method="POST" action="{{route('restore-activity')}}" accept-charset="UTF-8" class="mb-0"> @csrf @method('POST') <button type="button" data-bs-toggle="modal" data-bs-target="#confirmRestore" data-title="{!! trans('LaravelLogger::laravel-logger.modals.restoreLog.title') !!}" data-message="{!! trans('Lar...
<?php /** * @see https://github.com/dotkernel/frontend/ for the canonical source repository * @copyright Copyright (c) 2017 Apidemia (https://www.apidemia.com) * @license https://github.com/dotkernel/frontend/blob/master/LICENSE.md MIT License */ declare(strict_types=1); namespace Frontend\User\InputFilter; use...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use users; use Auth; class ChangePasswordController extends Controller { /** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function ChangePasswordPageAdmin() { ret...
<?php namespace backend\controllers; use Yii; use yii\helpers\ArrayHelper; use backend\models\PurchaseOrder; use backend\models\PurchaseOrderSearch; use backend\models\PurchaseOrderDetails; use backend\models\PurchaseOrderDetailsSearch; use backend\models\PoStatus; use backend\models\Product; use backend\models\Produ...
<!-- Footer --> <footer> <div class="container"> <div class="row"> <div class="col-md-4"> <span class="copyright">{{ Voyager::setting('copyright') }}</span> </div> <div class="col-md-4"> <ul class="list-inline social-buttons"> ...
<?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 maiorADV\eBaySDK\MerchantData\Types; /** * */ class ExpressItemRequirementsType extends \maiorADV\eB...
<?php namespace Scalr\Tests\Service\OpenStack; use Scalr\DependencyInjection\Container; use Scalr\Service\OpenStack\OpenStackConfig; use Scalr\Service\OpenStack\OpenStack; use Scalr\Tests\TestCase; /** * OpenStack TestCase * * @author Vitaliy Demidov <vitaliy@scalr.com> * @since 05.12.2012 */ class OpenSta...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class User extends CI_Controller { public function __construct() { parent::__construct(); is_logged_in(); $this->load->model('Model_barang'); $this->load->model('User_model'); } public function index(...
@extends('layouts.myhome') @section('css') <div class="bgded overlay" style="background-image:url('{{asset('./images/demo/backgrounds/a4.jpg')}}');"> <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css" rel="stylesheet" type="text/css" > <link href="https://cdn.datatables.net/...
<?php // ======================================================================================= // LOOM SUITE : LOOM SERVER (Copyright by wovencode.net) // // --- DO NOT CHANGE ANYTHING BELOW THIS LINE (UNLESS YOU KNOW WHAT YOU ARE DOING) --- // ======================================================================...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace ApiPaymentBundle\Validation\Models; use Symfony\Component\Validator\Constraints as Assert; use \ApiPaymentBundle\Validation\ConstraintCollection as ModelAssert; class ChargeModel { /** * @ModelAssert\ConstraintAlphanumeric(code="400", message="Invalid parameter \payment_id\") */ pr...
<?php return [ 'default' => env('LOG_CHANNEL', 'stack'), 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['single'], ], 'single' => [ 'driver' => 'errorlog', 'level' => 'debug', ]]] ?>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Comment extends Model { use HasFactory; protected $guarded = []; protected $perPage = 20; public function user(): B...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Posts; use App\User; use Illuminate\Support\Facades\Auth; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->mid...
<?php namespace App\Http\Controllers\Dashboard; use App\Http\Controllers\Controller; use App\Http\Requests\Dashboard\CreatorStudentStoreRequest; use App\Http\Requests\Dashboard\CreatorStudentUpdateRequest; use App\Models\City; use App\Models\CreatorStudentRequest; use App\Models\Faculty; use App\Models\Governorate; u...
<?php /** * IsoLocation.php * @package workflow.engine.classes.model * * ProcessMaker Open Source Edition * Copyright (C) 2004 - 2011 Colosa Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free ...
<?php /** * PHP file wsp\class\modules\PDF\font\courier.php */ /** * Class * * WebSite-PHP : PHP Framework 100% object (http://www.website-php.com) * Copyright (c) 2009-2015 WebSite-PHP.com * PHP versions >= 5.2 * * Licensed under The MIT License * Redistributions of files must retain the above copyright not...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // \App\Models\User::factory(10)->create(); $this->call( KunjunganSee...
<?php namespace Tower; use App\Jobs\Kernel; use Illuminate\Database\Capsule\Manager as Capsule; use Exception; use RedisException; use Tower\Exception\QueueException; use Workerman\Lib\Timer; class JobWorker extends Kernel { public function onWorkerStart(): void { Elastic::setInstance(); Mai...
<?php namespace Album\Model; use Laminas\InputFilter\InputFilterAwareInterface; use Laminas\InputFilter\InputFilterInterface; use Laminas\InputFilter\InputFilter; use Laminas\Filter\ToInt; use Laminas\Filter\StripTags; use Laminas\Filter\StringTrim; use Laminas\Validator\StringLength; class Album implements InputFilt...
@extends('layouts.app', ['class' => 'bg-default']) @section('content') @include('layouts.headers.guest') <div class="container mt--8 pb-5"> <!-- Table --> <div class="row justify-content-center"> <div class="col-lg-6 col-md-8"> <div class="card bg-secondary shadow b...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\JenisMakanan */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Jenis Makanans', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="jenis-makanan-vi...
<?php declare (strict_types=1); namespace Rector\PHPStanStaticTypeMapper\TypeMapper; use PhpParser\Node; use PhpParser\Node\Name; use PHPStan\PhpDocParser\Ast\Type\ThisTypeNode; use PHPStan\PhpDocParser\Ast\Type\TypeNode; use PHPStan\Type\StaticType; use PHPStan\Type\ThisType; use PHPStan\Type\Type; use Rector\Core\P...
<div id="kt_header_mobile" class="header-mobile align-items-center header-mobile-fixed"> <a href="index.html"> {{-- <img alt="Logo" style="max-height: 50px" src="{{ asset(settings()->logo_white) }}" /> --}} </a> <div class="d-flex align-items-center"> <button class="btn p-0 burger-icon burge...
<?php header('Content-Type: text/json; charset=utf-8'); //Ajax通信ではなく、直接URLを叩かれた場合はエラーメッセージを表示 if ( !(isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') && (!empty($_SERVER['SCRIPT_FILENAME']) && 'json.php' === basename($_SERVER['SCRIPT_FILENAME'])) ...
<?php namespace app\models\search; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Transactions; /** * TransactionsSearch represents the model behind the search form of `app\models\Transactions`. */ class TransactionsSearch extends Transactions { /** * {@inheritdoc} */ public ...
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Bart Visscher <bartv@thisnet.nl> * @author Jakob Sack <mail@jakobsack.de> * @author Jörn Friedrich Dreyer <jfd@butonic.de> * @author Lukas Reschke <lukas@statuscode.ch> * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <rob...
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \common\models\LoginForm */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; $this->title = '登录'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-login"> <h1><?= Html::encode($this->title) ?></h1> ...
<?php $id=intval($_REQUEST["id"]); $key=$_REQUEST["key"]; $flag=$_REQUEST["flag"]; if (!preg_match("/^[a-zA-Z0-9_=]+$/", $flag)) die("bad flag format"); if (!preg_match("/^[a-zA-Z0-9]+$/", $key)) die("bad key format"); $data='<?php if($_GET["key"]!="'.$key.'") die("bad key"); echo "'.$flag.'"; ?>'; file_put_conten...
<link href='http://fonts.googleapis.com/css?family=Strait' rel='stylesheet' type='text/css'> <link href="/css/lib/bootstrap/bootstrap.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="/css/lib/intro/introjs.min.css"> <link rel="stylesheet" type="text/css" href="/css/global.css"> <link rel="stylesheet"...
@extends ('backend.layouts.app') @section ('title', trans('labels.backend.orders.customerrequest')) @section('page-header') <h1>{{ trans('labels.backend.orders.customerrequest') }}</h1> @endsection @section('content') <div class="box box-info"> <div class="boxHeader"> <div class=...