text
stringlengths
2
1.03M
@extends('templates.app') @section('title') {{ $author }} @endsection @section('color') #000 @endsection @section('description') A page where posts written by {{ $author }} are listed. @endsection @section('keywords') posts,josip,rajkovic,jole,author @endsection @section('main') <div class="content"> <h3>P...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
@extends('master') @section('added-css') <link rel="stylesheet" href="{{ asset('styles/profile.css') }}" type="text/css"> @endsection @php require_once("funcs/func.php"); if (session_status() == PHP_SESSION_NONE) session_start(); $cnt = 0; if ($_SESSION && isset($_SESSION['login-user'])) $reviewer = $_S...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Slides extends Model { use HasFactory; protected $table = 'slides'; protected $fillable = ['image']; }
<?php /** * Template name: Home * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Dohmen */ get_header(); ?> <div id="primary" class="content-area home"> <main id="main" class="site-main home"> <section id="hero-title"> <h1>Hand-Me-Down Experience</h1> <p>Shari...
@extends('layouts.master') @section('title','حس و حال | ثبت حس جدید') @section('content') @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> ...
<?php namespace Concrete\Core\User\Event; use \Symfony\Component\EventDispatcher\Event as AbstractEvent; class AddUser extends AbstractEvent { protected $proceed = true; protected $data = array(); /** * @return array */ public function getData() { return $this->data; } public function __construct($d...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Absen extends Model { protected $table = 'absen'; protected $fillable = ['id', 'NIP', 'tanggal', 'jamMasuk', 'jamKeluar']; public function user() { return $this->belongsTo('App\User'); } public function status_absens() ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
<?php /** * @generated */ namespace cassandra; class Cassandra_login_args extends \TBase { static $_TSPEC; public $auth_request = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( 'var' => 'auth_request', 'typ...
@extends('layouts.app') @section('content') @include('commons.nav') <h1>Laravelについて語る|新規投稿</h1> <form action="{{ route('posts.store') }}" method="post"> @csrf <dl> <dt>タイトル</dt> <dd><input type="text" name="title"></dd> <dt>投稿者</dt> <dd><input ty...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="p-a white lt box-shadow"> <div class="row"> <div class="col-sm-6"> <h4 class="m-b-0 _300">Edit Incident</h4> </div> </div> </div> <div class="padding"> <div class="row"> <?php foreach ($getData as $row) { ?> <form actio...
<?= $this->extend($_adminTemplate); ?> <?= $this->section("MainLoad"); ?> <div class="card"> <div class="card-header"> <h4 class="card-title"><?= $page_title; ?></h4> <p class="card-text"><?= @$page_description; ?></p> <a href="<?= route_to("tagihan") . "/tambah"; ?>" class="btn btn-primary"...
<?php namespace packlink\Model; use JMS\Serializer\Annotation\Type; use Symfony\Component\Serializer\Annotation\SerializedName; class RequestShippingItemModel { /** * @var float * @Type("float") * @SerializedName("price") */ public float $price; /** * @var string * @Type("s...
<?php // arrange chapters/sections include_once("general_header.php"); include_once("db.php"); $con = mysql_connect($host,$user,$pass); mysql_select_db($main_db, $con); ob_start(); include_once('./template/dashboard_main.html'); $str = ob_get_contents(); ob_end_clean(); /* The Get variable c determines which book...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTorneiosTable extends Migration { public function up() { Schema::create('torneios', function (Blueprint $table) { $table->increments('id...
<?php namespace App\Http\Controllers; use App\Models\Blog; use Illuminate\Http\Request; class BlogsmanageController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Blog $blogs) { return view('Admin.bl...
<?php session_start(); include "db/connect.php"; include "./functions.php"; ?> <?php if (isLoggedInAsCoordinator()) { $username = $_SESSION['username']; $user_id = $_SESSION['user_id']; } else { setMessage("You are not logged in as Coordinator"); redirect('coordinator_login.php'); } ?> <!DOCTYPE html> ...
<?php namespace App\Http\Controllers; use App\Empleados; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; class EmpleadosController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php namespace Komercy; /** * Komerci * * API de pagamento REDECARD. * * @package Kormercy * @subpackage Libraries * @category Libraries * @author André Gonçalves <andreseko@gmail.com> * */ Class Komerci { /** * Version. */ const VERSION = '1.0.0'; /** * Recebe o valor Total da compra no formato ...
<!-- Modal --> <div class="modal fade" id="myModalEdit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&...
<?php namespace TYPO3\CMS\Extbase\Persistence; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license i...
vehicles had stopped, a house and some shops were on fire. This fire was already burning itself out. The flames now died down and were lost in the black smoke, now suddenly flared up again brightly, lighting up with strange distinctness the faces of the people crowding at the crossroads. Black figures flitted about bef...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Product; class ProductController extends Controller { public function index() { $products = Product::all()->toArray(); return array_reverse($products); } public function store(Request $request) ...
<?php namespace app\controllers; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use yii\filters\VerbFilter; use app\models\LoginForm; use app\models\ContactForm; class SiteController extends Controller { /** * @inheritdoc */ public function behaviors() { return [ ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /** * Swedish translation. * * @author marcus@incore.se * @package PyroCMS * @link http://pyrocms.com * @date 2012-03-13 * @version 1.0.0 */ $lang['nav_parent_label'] = 'Förälder'; $lang['nav_target_label'] = 'Mål'; $lang['nav_cl...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace Common\Model; use Think\Model; class WxTplmsgModel extends Model { public function get($condition = array(), $relation = false) { $data = $this->where($condition); if ($relation) { $data = $data->relation($relation); } $data = $data->find(); ...
<?php /** * @package Unlimited Elements * @author UniteCMS.net * @copyright (C) 2017 Unite CMS, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('ELEMENTOR_WIDGET_PRO_INC') or die('Restricted access'); class UniteShapeManagerUC extends HtmlOutputBaseUC{ private...
<?php namespace Kahlan\Matcher; class AnyException extends \Exception { /** * The exception message. * * @var string */ protected $message = null; /** * The exception message. * * @param string $message The exception message. * @param string $code The exception...
<?php namespace App\Http\Controllers\Teat; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Model\UserModel; use App\Model\TokenModel; class ApiController extends Controller { public function reg(Request $request) { $user_name = $request->post('user_name'); $user_email...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Anggota_model extends CI_Model { public $table = 'anggota'; public $id = 'id_anggota'; public $order = 'DESC'; function __construct() { parent::__construct(); } // get all function get_all() ...
@extends('layouts.master') @section('template') @component('layouts.navbar') @endcomponent @yield('content') @endsection
<?php $with_domain_status = 0; $user_id = Auth::guard('admin')->user()->id; $user_role = Auth::guard('admin')->user()->role; $role_id = DB::table('roles')->where('name',$user_role)->first()->id; $role_permission = DB::table('role_permisiions')->where('role_id',$role_id)->pluck('content_name')->toArray(); //...
<?php namespace App\Http\Controllers; use App\Models\BlogCategory; use Illuminate\Http\Request; class BlogCategoryController extends Controller { public function index() { $data = BlogCategory::orderBy('id', 'desc')->get(); return view('admin.blog_categories', ['data'=>$data]); }...
@extends('layouts.app') @section('htmlheader_title') IMType @endsection @section('main-content') <div class="container spark-screen"> @include('common.errors') <div class="row"> <div class="col-md-10 col-md-offset-1"> <!-- AdminLTE Vertical Form --> <...
@extends('base_layout._layout') @section('style') <style> #map { width: 100%; height: 300px; } </style> @endsection @section('body') <div class="row"> <div class="col-md-12"> <div class="panel panel-primary"> <div class="panel-headi...
<?php namespace Amp\Artax\Cookie; class FileCookieJar extends ArrayCookieJar { private $storagePath; public function __construct(string $storagePath) { if (!file_exists($storagePath)) { $cookieFileHandle = $this->createStorageFile($storagePath); } elseif (false === ($cookieFileHan...
<?php /** * Custom template tags for this theme. * * Eventually, some of the functionality here could be replaced by core features. * * @package suitbuilder */ if ( ! function_exists( 'suitbuilder_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. */ function s...
<?php class httpRequest extends httpInc { private $url, $method, $localProps, $globalProps, $globalStatic; public function __construct( $url, $method='GET', $props=[] ) { $this->url = $url; $this->method = $method; $this->localProps = $props; } public function asForm($http) { $...
<?php namespace PetrKnapCz\Test { use PetrKnap\Php\MigrationTool\SqlMigrationTool; use const PetrKnapCz\CONTAINER_TEST_FLAG; use PHPUnit\Framework\TestCase as PHPUnit_TestCase; \PetrKnapCz\container([CONTAINER_TEST_FLAG => true]); abstract class TestCase extends PHPUnit_TestCase { pr...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Order\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for GetAccountEntriesForDebitorResponse StructType * @subpackage Structs */ class GetAccountEntriesForDebitorResponse extends AbstractStru...
@extends('layouts.backend.app') @section('title', 'Comment Posts') @push('css') <style> section.content { margin: 60px 5px 0 5px !important; } </style> <link rel="stylesheet" href="{{ asset('assets/backend/css/user-profile.css') }}"> @endpush @section('content') <div clas...
<div> @if($end) <p class="my-2 text-red-500">{{ __('Subscription end: :date', ['date' => $end]) }}</p> <p class="my-2"> <a href="{{ route('autorenew') }}" class=" px-4 py-2 rounded-md bg-green-600 hover:bg-green-500 ...
--TEST-- [Sandbox regression] Override traced function from within itself --SKIPIF-- <?php if (PHP_VERSION_ID < 80000) die('skip: Dispatch can be overwritten on PHP < 8'); ?> --ENV-- SIGNALFX_TRACE_DEBUG=1 --FILE-- <?php function test($a){ DDTrace\trace_function("test", function($s, $a, $retval){ echo 'NEW ...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\Admin\AuthController as AdminAuthController; use App\Http\Controllers\Admin\ProductController as AdminProductController; use App\Http\Controllers\Admin\CategoryController as AdminCategoryController; use App\Http\Controllers\Admin\BrandController as A...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Settings extends Model { protected $table = '__settings'; protected $fillable = ['interest_rate']; }
<?php /** * Return info about system resource limits * * @phpstub * * @return array Returns an associative ``array`` of elements for each * limit that is defined. Each limit has a soft and a hard limit. */ function posix_getrlimit() { }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Help extends Model { public static $categories = [ 'app_issues' => 'App Issues', 'app_usage_help' => 'App Usage Help', 'authentication' => 'Authentication', 'bugs' => 'Bugs', 'inefficient_process_flow' => '...
@extends('template') @section('main') <div class="produk"> <h2> Daftar Produk </h2> @if (!empty($jumlah_produk)) <table class="table"> <thead> <tr> <th>ID</th> <th>Nama Produk</th> <th>Harga Produk</th> <th>Deskrips...
<?php namespace App\Http\Controllers\Xdmin\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Illuminate\Support\Facades\Password; class ForgotPasswordController extends Controller { /* |---------------------------------------------------------------------...
<?php namespace App\Console\Commands; use App\ConfirmEmail; use App\Contact; use App\Http\Controllers\EmailTemplateController; use App\MailEditor; use Illuminate\Console\Command; class ConfirmCommand extends Command { /** * The name and signature of the console command. * * @var string */ ...
<?php namespace app\common\model; /** * 平台端CMS数据表 */ class ThirdPartyLog extends Base { // 确定链接表名 protected $table = 'third_party_log'; protected $pk = 'id'; /** * 添加用户信息 */ public function addLog($data) { return $this->save($data); } }
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSS--> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/main.css"...
<?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...
<div class="py-5 bg-dark"> <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo (ENVIRONMENT === 'development') ? 'CodeIgniter Version <strong>' . CI_VERSION . '</strong>' : '' ?></p> <p id="footer">Copyright by bang shin chul 2018</p> </div> </body> </html>
<?php namespace TYPO3\Flow\Tests\Unit\Mvc; /* * This file is part of the TYPO3.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source co...
<div class="row"> <div class="col-md-12"> <div class="single-review"> <div class="post-img"> <a href="#" class="post-tag">Cari Produk Hukum</a> <div class="post-info"> </div> </div> <div class="post-content" style="margin: -20px 0 30px;"> <div class="port-content container-fluid"> <form class="form-horizontal"...
<div class="container text-center margin-bottom"> <div class="side-body padding-top"> <h3>Page not Found</h3> </div> </div>
<?php namespace QD\commerce\webshipper\controllers; use craft\web\Controller; use QD\commerce\webshipper\helpers\Connector; use craft\commerce\Plugin as CommercePlugin; class FrontendController extends Controller { /** * @inheritdoc */ public $allowAnonymous = [ 'droppoint-locator' => self::ALLOW_ANONYMOUS_L...
<?php /** * Use this file to override global defaults. * * See the individual environment DB configs for specific config information. */ $master = array( 'type' => 'mysqli', 'table_prefix'=>'', 'connection' => array( 'hostname' => '127.0.0.1', 'port' => '3306', 'database' => 'production_repeater', 'use...
<?php use Illuminate\Database\Seeder; use App\Lession; class LessionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $faker = Faker\Factory::create(); for($i=0;$i<5;$i++){ $data[] = [ ...
<?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...
<?php namespace HHVMCraft\Core\Networking\Packets; use HHVMCraft\Core\Networking\StreamWrapper; class CollectItemPacket { const id = 0x16; public $collected_eid; public $collector_eid; public function __construct($collected_eid, $collector_eid) { $this->collected_eid = $collected_eid; $this->collector_eid ...
<?php namespace Maksa988\MonobankAPI\DTO; /** * Class Statement. * * @property string $id * @property \DateTime $time * @property string $description * @property int $mcc * @property bool $hold * @property int $amount * @property int $operationAmount * @property int $currencyCode * @property int $commissio...
<?php namespace yeesoft\grid; use yeesoft\helpers\Html; use Closure; class CheckboxColumn extends \yii\grid\CheckboxColumn { /** * Renders the header cell content. * The default implementation simply renders [[header]]. * This method may be overridden to customize the rendering of the header cell...
<?php include "seguranca/banco_de_dados/hs_conexao_bd.php"; ?> <html lang="pt-br"> <head> <title> HSUL - Conforto e Lazer </title> <meta charset="utf-8"/> <meta name="Author" content="Beatriz Loffi Wensing May, Daniele Souza, Sinthia de Freitas, Tiago Murilo Ochôa da Luz"/> <link rel="icon" href="layo...
<?php namespace App\Models; use App\Includes\Constant; use App\Includes\Helper; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Educator extends Model { use HasFactory; protected $fillable = [ 'first_name', 'last_name', 'image', ...
<?php include_once dirname(__FILE__) . '/error.php'; function updateFile($langFileName, $text = null) { if (strstr($text, "\n")) { echo "new lines \n on for lang text: '$text'"; return; } $langFile = file($langFileName); $folder = dirname($langFileName); $enFileName = $folder . "/...
<?php // +---------------------------------------------------------------------- // | OneThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2013 http://www.onethink.cn All rights reserved. // +-----------------------------------------------...
<div class="container"> <div class="card border-0 shadow-lg my-5 col-lg-7 mx-auto"> <div class="card-body p-0"> <!-- Nested Row within Card Body --> <div class="row"> <!-- <div class="col-lg-5 d-none d-lg-block bg-register-image"> </div> --> <div class="col-lg"> <di...
<!DOCTYPE html> <html> <head> <!-- Bootstrap Select Css --> <link href="<?php echo base_url('assets/AdminBSB/');?>plugins/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" /> <!-- Jquery Core Js --> <script src="<?php echo base_url('assets/AdminBSB/');?>plugins/jquery/jquery.min.js"></script>...
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Test\Unit\Di\FactoryDefault; use Unit...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Order\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for AnnounceFlightTimeChangesResponse StructType * @subpackage Structs */ class AnnounceFlightTimeChangesResponse extends AbstractStructBa...
<!-- Khai báo sử dụng layout admin --> @extends('admin.layout.index') <!-- Khai báo định nghĩa phần main-container trong layout admin--> @section('main-container') <!-- Page Heading --> <div class="mb-3"> </div> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-primary...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Marcas extends Migration { /** * Run the migrations. * * @return void */ protected $table = "marcas"; public function up() { Schema::cr...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Yangliklar; /** * YangliklarSearch represents the model behind the search form of `app\models\Yangliklar`. */ class YangliklarSearch extends Yangliklar { /** * {@inheritdoc} */ public function rules() ...
<?php /* * Copyright (C) 2014-2015 Deciso B.V. * Copyright (C) 2010 Seth Mos <seth.mos@dds.nl> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must r...
<?php namespace Database\Factories; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Support\Facades\Hash; class UserFactory extends Factory { /** * The name of the factory's correspondi...
<?php /** * This is the controller for the Card recurring example. * It is called when the pay button on the index page is clicked. * * Copyright (C) 2020 - today Unzer E-Com GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
<?php namespace backend\models; use yii\db\ActiveRecord; /** * */ class NeedHelpWidget extends ActiveRecord { public $first_text, $second_text, $tel, $working_hours, $bgc_img; /** * {@inheritdoc} */ public function rules() { return [ [...
<?hh // partial namespace HH { /** * Classes that implement this interface may be passed to * serialize_memoize_param() and may be used as params on * <<__Memoize>> functions */ interface IMemoizeParam { /** * Serialize this object to a string that can be used as a * dictionary key to differentiate i...
<?php /** Set up `curl` to make authenticated API requests */ $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.simplyrets.com/properties", CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEAD...
<?php use yii\db\Migration; /** * Class m190502_074242_classroom_detail_data_table */ class m190502_074242_classroom_detail_data_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->batchInsert('{{%classroom_detail}}', [ 'classroom_id', ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAlumnoInfoCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('al...
<?php namespace Admin\Model; use Application\Model\DbTable; use Zend\Db\Sql\Sql; use Zend\Paginator\Adapter\DbSelect; use Zend\Paginator\Paginator; class RoleAction extends DbTable { protected $_name = 'acl_role_action'; protected $_primary = 'role_id'; function __construct(){ $this->setTableGateway("cmsdb", ...
<?php /** * Test: Nette\Http\Url query manipulation. * * @author David Grudl * @package Nette\Http * @subpackage UnitTests */ use Nette\Http\Url; require __DIR__ . '/../bootstrap.php'; $url = new Url('http://hostname/path?arg=value'); Assert::same( 'arg=value', $url->query ); $url->appendQuery(NU...
<?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\Validator\Tests\Constraints; use Symfony\Component\Va...
<?php declare(strict_types=1); use Phinx\Migration\AbstractMigration; final class ArtistNameNotNull extends AbstractMigration { public function up(): void { $this->table('artists_group') ->changeColumn('Name', 'string', ['length' => 200, 'null' => false]) ->save(); } publi...
<x-jet-form-section submit="updatePassword"> <x-slot name="title"> {{ __('Update Password') }} </x-slot> <x-slot name="description"> {{ __('Ensure your account is using a long, random password to stay secure.') }} </x-slot> <x-slot name="form" class="form form-vertical"> <...
<?php class Documentos_html { /** * * @var type */ private $_moneda = array( 'PEN' => 'SOLES', 'USD' => 'DÓLARES AMERICANOS' ); public function get_html_boleta($data, $prods) { $date = new DateTime($data->fecha); $html = ' <!DOCTYPE html PUBLIC "-//W3...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Ajaxsearch extends CI_Controller { function index() { $this->load->view('ajaxsearch'); } function fetch() { $output = ''; $query = ''; $this->load->model('cursos_model'); if($this->input->post('query')) { $query = $this->...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCouriersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('couriers', fun...
<?php namespace common\models; use yii\behaviors\TimestampBehavior; use Yii; use common\models\ShopProduct; /** * This is the model class for table "shop_case". * * @property int $id * @property string $name * @property string $image * @property int $price * @property int $category_id * @property string $pro...
<?php /**-------------公众号模块公共函数---------------- */ /** * 定义了检查Signature的函数,这是接入微信api成为开发者的第一步, * 开发者通过检验signature对请求进行校验,若确认此次GET请求来自微信服务器, * 请原样返回echostr参数内容,则接入生效,成为开发者成功,否则接入失败。 */ function checkSignature($token) { // 验证消息的确来自微信服务器 $signature = $_GET["signature"]; $timestamp = $_GET["timestamp"]; ...
<?php /* * Copyright 2015 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 agre...
<?php namespace Amsify42\TypeStruct\Sample; use App\User; export typestruct Struct { name: string, email: string, id: int, address: { door: string, zip: int }, items: [], user : User, someEl: { key1: string, key2: int, key12: array, records: App\Record[], someChild: { key3: boolean, key4:...
<?php /** * XML Formatted DSA Key Handler * * While XKMS defines a private key format for RSA it does not do so for DSA. Quoting that standard: * * "[XKMS] does not specify private key parameters for the DSA signature algorithm since the algorithm only * supports signature modes and so the application of server...
@extends('mobile.master') @section('title','产品库') @section('content') <meta name="_token" content="{{ csrf_token() }}"/> <div class="weui_panel weui_panel_access"> <div class="weui_media_bd"> <table class="report_table" cellpadding="0" cellspacing="0"> <tr> ...
<?php namespace PHPSTORM_META { override(\Psr\Container\ContainerInterface::get(0), map([ '' => '@', ])); override(\DI\Container::get(0), map([ '' => '@', ])); }