text stringlengths 2 1.03M |
|---|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>jQuery Repeater Repeatable Form Fields Examples</title>
<link href="https://www.jqueryscr... |
<?php
namespace lib\Helper\Writer;
use lib\Helper\Init;
/**
* Migration
* Запись данных о миграциях
* @author Виталий Евсюков
* @package lib\Helper\Writer
*/
class Migration extends AbstractWriter
{
protected $tplName = 'tpl/migration.tpl';
protected $placeholders = array('revision', 'up', 'down', 'me... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Email_model extends CI_Model {
function __construct()
{
parent::__construct();
date_default_timezone_set(ovoo_config('timezone'));
}
function test_mail($email = NULL)
{
//var_dump($email,$token);
$sit... |
<div class="modal fade" id="usuariosModal" tabindex="-1" role="dialog" aria-labelledby="usuarioModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close... |
<?php
namespace frontend\modules\repair\controllers;
use Yii;
use frontend\modules\repair\models\Departments;
use frontend\modules\repair\models\DepartmentsSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use \yii\web\Response;
use yii\helpers\Html;
/**
* DepartmentsCon... |
<?php
/**
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
define('PUN_ROOT', dirname(__FILE__).'/');
require PUN_ROOT.'include/common.php';
require PUN_ROOT.'include/poll.php';
if ($pun... |
<?php
namespace spec\Bravesheep\DatabaseUrlBundle;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class DatabaseUrlResolverSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType('Bravesheep\DatabaseUrlBundle\DatabaseUrlResolver');
}
function it_should_not_re... |
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/
declare(strict_types=1);
namespace BitBag\SyliusMolliePlugin;
use Syl... |
@extends('layouts.app')
@section('content')
@include('adminmenu')
@section('title', 'Error')
@section('message', 'Sorry, we are having a temporary problem. We have been alerted and will be rolling out a fix soon')
@endsection |
@extends('frontend.pages.export.master')
@section('tag_title', $filename)
@section('main_content')
<style>
.page-break {
page-break-after: always;
}
</style>
<div class="uk-width-1-1">
<div class="uk-margin-bottom">
<img style="width: 130px;" src="{{ asset('images/brand/logo_maps_primary.png') }}" alt="">
<... |
<?php
namespace Frontend\Modules\Mailmotor\Widgets;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Frontend\Core\Engine\Base\Widget as FrontendBaseWidget;
use Frontend\Core\Engine\Form as F... |
<?php
namespace App\Services;
use App\Models\User;
/**
* Save file to \storage\app\public\photos
*
* @author Volodymyr Zhonchuk
*/
final class UserPhotoUploadService extends PhotoUploadService
{
/*
* Get user namespace
*
* @param Illuminate\Http\Request $request
* @return string
*/
... |
<?php
namespace Aws\Endpoint;
/**
* Provides endpoints based on an endpoint pattern configuration array.
*/
class PatternEndpointProvider
{
/** @var array */
private $patterns;
/**
* @param array $patterns Hash of endpoint patterns mapping to endpoint
* configurations.
... |
<?php $__env->startSection('content'); ?>
<main role="main">
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">Movies</h1>
<p class="lead text-muted">Something short and leading about the collection below—its contents,... |
<?php
namespace ContainerMyPO2yD;
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 getMaker_AutoCommand_MakeUnitTes... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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://w... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Empresa;
use App\Models\FrotaVeiculos;
use App\Models\MarcaModeloFrota;
use App\Models\MarcaVeiculo;
use App\Models\ModeloVeiculo;
use App\Models\MotoristaVeiculo;
use App\Models\User;
use Illuminate\Http\Request;
use Illu... |
<?php
require_once 'PHPUnit/Framework.php';
require_once ("../spyc.php");
class ParseTest extends PHPUnit_Framework_TestCase {
protected $yaml;
protected function setUp() {
$this->yaml = spyc_load_file('../spyc.yaml');
}
public function testMergeHashKeys() {
$Expected = array (
... |
@extends('main')
<!-- Main Content -->
@section('title', '| Forgot my Password')
@section('content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-default">
<div class="panel-header">Reset Password</div>
<div class="panel-body"... |
<?php
/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">เข้าสู่ระบบ</div>
<div class="panel-body">
@if (session('s... |
<?php
/**
* Created by JetBrains PhpStorm.
* User: Darky
* Date: 28.05.11
* Time: 12:45
* To change this template use File | Settings | File Templates.
*/
class Zend_View_Helper_HtmlAnchor extends Zend_View_Helper_HtmlElement
{
public function htmlAnchor($url, $text, $class = null, $target = null)
{
... |
<?php /** @noinspection PhpPropertyOnlyWrittenInspection */
declare(strict_types=1);
namespace KrakenApi\Query\UserData;
use KrakenApi\Query\Component\PrivateQuery;
use KrakenApi\Query\Query;
class ExportStatusQuery extends Query
{
use PrivateQuery;
# Endpoint properties
protected string $method = 'POS... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSolicitacoesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('solicitaco... |
<?php
/* Smarty version 3.1.34-dev-7, created on 2021-02-26 08:10:39
from 'C:\xampp\htdocs\prestashop\apps\prestashop\htdocs\administration\themes\default\template\header.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.34-dev-7',
... |
<?php
/**
* @package Grav\Common
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Common;
use Grav\Common\Config\Config;
use Grav\Common\Language\Language;
use Grav\Common\Page\Interfaces\PageInterface... |
<?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
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
namespace LaravelFreelancerNL\Aranguent\Schema\Concerns;
use Illuminate\Support\Fluent;
trait Tables
{
/**
* Indicate that the table needs to be created.
*
* @param array $options
* @return Fluent
*/
public function create($options = [])
{
$parameters['options'] = $... |
<!-- teamplate for content in team member -->
<section class="entry-content">
<section class="prose-team-mbr columns large-9">
<p class="leader page-intro-prose"><?php the_field('paragraph_leader'); ?></p>
<h2>Titre intermédiaire</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicin... |
<x-master>
<div class="container mx-auto flex justify-center rounded-lg">
<x-panel>
<x-slot name="heading">Register</x-slot>
<form action="/register" method="POST" class="w-64">
@csrf
<div class="mb-6">
<label
... |
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
<div class="position-sticky pt-3">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link {{ Request::is('dashboard') ? 'active' : '' }}" aria-current="page" href="/dashboard">
... |
<div class="titulo">Integração CSS</div>
<h1>
<?php
echo 'Olá ';
echo '<small>';
echo 'Mundo!';
echo '</small>';
?>
</h1>
<?=
"<div>Outra forma de me expressar!</div>"
?>
<br>
<div><button><?= "Legal" ?></button></div>
<style>
button{
padding : 5px <?= 2 *... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class Post extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validati... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Models\Source::class, function (Faker $faker) {
return [
'name' => $faker->name(),
];
}); |
<?php
add_filter('piklist_admin_pages', function($pages){
$pages[] = [
'page_title' => 'Business Info',
'menu_title' => 'Business',
'sub_menu' => 'themes.php',
'capbility' => 'manage_options',
'menu_slug' => 'biz',
'setting' => 'biz',
'menu_icon' => 'dashicons-store',
'page_icon' => 'dashicons-store'... |
<?php
namespace Leave\Admin\Widgets;
use Illuminate\Contracts\Support\Renderable;
class Callout extends Widget implements Renderable
{
/**
* @var string
*/
protected $view = 'admin::widgets.callout';
/**
* @var string
*/
protected $title = '';
/**
* @var string
*/
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
@extends('layouts.dashboard.master')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Sub-Principal</h1>
</div>
... |
<div class="main">
<div class="main-inner">
<div class="container">
<div class="row">
<div class="span12">
<div class="info-box">
<div class="row-fluid">
<div class="span12"><?php echo $calendar?></div>
</div>
</div>... |
@extends('layouts.master')
@section('content')
<main id="main">
<section>
<div class="container" style="margin-top: 4rem;">
<div class="section-title"style="max-width:626px;margin:0 auto">
<img class="img-fluid"src="{{url('')}}/public/front/img/failed.png"/>
<h2 style="color: #fc7878;">Oops ... |
<?php
/**
* Created by PhpStorm.
* Author: Phuong
* Email: notteen@gmail.com
* Date: 09/02/2017
* Time: 3:43 CH
*/
use app\models\Order;
use kartik\date\DatePicker;
use kartik\form\ActiveForm;
use kartik\widgets\DateTimePicker;
use kartik\widgets\Select2;
use yii\helpers\Html;
$form = ActiveForm::begin();
if($ty... |
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title... |
<!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.0">
<title>Document</title>
@include('Template.style')
</head>
<body>
@include('Template.navbar')
@include('Templat... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterAcdProfessoresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('acd_professores', function (Blueprint $table) {
... |
<?php
// Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
// For licensing, see LICENSE.html or http://ckfinder.com/license
// Defines the object for the Slovenian language.
$GLOBALS['CKFLang'] = array (
'ErrorUnknown' => 'Prišlo je do napake. (Napaka %1)',
'Errors' => array (
... |
<?php
class Historial_pago extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('historial_pago_model', 'historial');
$this->load->model('sucursal_model', 'sucursal');
}
//region Vistas de producto
public function index()
{
... |
<?php
namespace Bitrix\Sale\Exchange;
use Bitrix\Main;
use Bitrix\Sale\Exchange;
class EntityCollisionType
{
const GROUP_E_ERROR = 1;
const GROUP_E_WARNING = 2;
const Undefined = 0;
const OrderIsPayed = 1;
const OrderIsShipped = 2;
const OrderFinalStatus = 3;
const ShipmentIsShipped = 4;
cons... |
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for all pages-->
<script src="js/sb... |
<?php
namespace AutoRoute\Http\Repo\Issue\Comment\Add;
class GetRepoIssueCommentAdd
{
public function __invoke(string $ownerName, string $repoName, int $issueNum)
{
}
} |
<div class="mdl-card__title">
<h5 class="mdl-card__title-text">最热</h5>
</div>
<div class="mdl-card info-card">
@foreach($array as $news)
<div class="hot-news-body">
<div class="hot-news-aside">
<img src="{{asset('images/lamian.jpg')}}"/>
</div>
<div ... |
<?php
/**
* @author Denis Utkin <dizirator@gmail.com>
* @link https://github.com/dizirator
*/
return [
'bootstrap' => ['log', 'common\components\Bootstrap'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset'
],
'language' => 'ru-RU',
'sourceLang... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDetailTransaksisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('detail... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
<?php
declare(strict_types=1);
namespace Lctrs\PsalmPsrContainerPlugin;
use Lctrs\PsalmPsrContainerPlugin\Checker\PsrContainerChecker;
use Psalm\Plugin\PluginEntryPointInterface;
use Psalm\Plugin\RegistrationInterface;
use SimpleXMLElement;
use function class_exists;
final class Plugin implements PluginEntryPointI... |
<!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"/>
<title><!--{$setting.seo_title}--></title>
<meta name="keywords" c... |
<?php
namespace App\Http\Middleware;
use App\Http\Models\UserToken;
use App\User;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cookie;
class ApiAuthenticate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure... |
<?php
declare(strict_types=1);
namespace LaravelFreelancerNL\FluentAQL\Clauses;
use LaravelFreelancerNL\FluentAQL\Expressions\PredicateExpression;
use LaravelFreelancerNL\FluentAQL\QueryBuilder;
class SearchClause extends FilterClause
{
/**
* @var array<mixed>|PredicateExpression $predicates
*/
pr... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap4\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\bootstrap4\Html;
use yii\bootstrap4\ActiveForm;
$this->title = 'Signup';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-signup">
<h1><?= Html::encode($this->ti... |
<?php
//use yii\widgets\ActiveForm;
use app\library\helper\Helper;
/* @var $this yii\web\View */
/* @var $searchModel app\models\search\User */
/* @var $dataProvider yii\data\ActiveDataProvider */
$page = \app\models\Pages::get('forgot-password-success');
$this->title = Helper::getInstance()->titleSeo($page);
Helper... |
--TEST--
MongoDB\BSON\ObjectId::__set_state() requires "oid" string field
--FILE--
<?php
require_once __DIR__ . '/../utils/basic.inc';
echo throws(function() {
MongoDB\BSON\ObjectId::__set_state(['oid' => 0]);
}, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n";
?>
===DONE===
<?php exit(0); ?>
--EXPECT... |
<section class="container mt-5">
<h2 class="display-5">Matchs joués au </h2>
<table class="table table-striped mx-auto">
<thead class="thead-dark">
<tr>
<th>Date</th>
<th>Équipe visitée</th>
<th>Goals de l’équipe visitée</th>
<th>Goals de l’équipe ... |
<?php
return [
'paths' => [
resource_path('views'),
],
'compiled' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('framework/views'))
),
]; |
<?php
return [
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| The default title of your admin panel, this goes into the title tag
| of your page. You can override it per ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Task;
class TaskController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$tasks = Task::orderBy('id', 'ASC')->paginate(... |
<?php
namespace App\model\admin;
use Illuminate\Database\Eloquent\Model;
class post_tag extends Model
{
//
} |
<?php
return [
'labels' => [
'Setting' => '参数设置',
],
'fields' => [
'key' => '参数名称',
'value' => '参数值',
'msg' => '参数说明',
],
'options' => [
],
]; |
@extends('backend.layouts.master')
@section('content')
<div class="br-mainpanel">
<div class="pd-30">
<h4 class="tx-gray-800 mg-b-5">ADD SERVICES</h4>
<p class="mg-b-0">Do big things with Bracket, the responsive bootstrap 4 admin template.</p>
</div><!-- d-flex -->
<div class="br-pagebody mg-t-5 pd... |
<?php
/**
* Patterns
*
* Patterns
*
* @package project
* @author Serge J. <jey@tut.by>
* @copyright http://www.atmatic.eu/ (c)
* @version 0.1 (wizard, 15:12:59 [Dec 13, 2011])
*/
//
//
class patterns extends module
{
/**
* patterns
*
* Module class constructor
*
* @access private
... |
<?php $__env->startSection("header"); ?>
<!DOCTYPE html>
<html>
<head>
<title>EMS Employee</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/vendor.css">
<link rel="stylesheet" type="text/css" href="/css/flat-admin.css">
<... |
<?php
namespace CftTest\Traits;
trait HasMockFields {
public function getField( $postId, $name, $config, $value = '' ) {
$field = $this->getMockBuilder('Cft\Field\AbstractBase')
->setConstructorArgs( [$postId, $name, $config, $value] )
->setMethods( ['save'] )
->getMockForAbstractClass();
... |
@extends('dash')
@section('content')
<div class="container">
<div class="btn-group mr-2">
<a class="btn btn-lg btn-outline-danger " href="{{route('destinos')}}">
<span data-feather="arrow-left-circle"></span>
Crear
... |
<?php
declare(strict_types=1);
use App\Kernel;
use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\HttpFoundation\Request;
require dirname(__DIR__) . '/config/bootstrap.php';
if ($_SERVER['APP_DEBUG']) {
umask(0000);
Debug::enable();
}
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false... |
<div class="head_space"></div>
<section class="portfolio_inner">
<div class="pItem">
<h1>@{{ portfolio.name }} <a href="@{{portfolio.url}}" class="btn-open" target="_blank">открыть</a></h1>
<div class="images">
<img v-bind:src="portfolio.image" alt="">
</div>
@{{{ portfolio.description }}}
</div>
</section> |
<?=$this->extend('layout/admin/template');?>
<?=$this->section('content');?>
<main class="flex-grow-1 px-5">
<h4 class="fw-bold my-3 pt-3" style="color: #849F6A;">Update Product</h4>
<div style="border: 1px solid #E5E5E5; border-radius: 10px;height: 90%;">
<form action="/admin/updateproduct/<?=$product... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html>
<head>
<title>RotiQu</title>
<link rel="stylesheet" type="text/css" href="<?= base_url('css/styles.css')?>"/>
</head>
<body background="<?= base_url('images/bg1.jpg')?>">
<div class="topnav">
<a class="logo"><img ... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one... |
<?php
/**
* @package KantPHP
* @author Zhenqiang Zhang <zhenqiang.zhang@hotmail.com>
* @copyright (c) KantPHP Studio, All rights reserved.
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
*/
namespace Kant\FontAwesome;
use Kant\Helper\ArrayHelper;
use Kant\Helper\Html;
class... |
<?php
namespace Elgg\Email;
use Zend\Mail\Address as ZendAddress;
use Zend\Mail\Exception\InvalidArgumentException;
use Zend\Validator\EmailAddress as EmailAddressValidator;
use Zend\Validator\Hostname;
/**
* Email address
*
* @since 3.0
*/
class Address extends ZendAddress {
/**
* Set the email address
*... |
<x-emoji-icon-emoji :name="'libra'" {{ $attributes }} /> |
<?php
/*
* This file is part of the api.plusarchive.com
*
* (c) Tomoki Morita <tmsongbooks215@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
use yii\console\Application;
defined('YII_DEBUG')... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFkQuestionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('questions', fun... |
<?php
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
/**
* @property int $id
* @property Carbon $date
*/
class PickUp extends BaseModel
{
use HasFactory;
public const TABLE = 'pickUp';
protecte... |
@extends('admin.default.master')
@section('content')
<!-- Page Heading -->
{{-- <h1 class="h3 mb-2 text-gray-800">Tables</h1> --}}
{{-- <p class="mb-4">DataTables is a third party plugin that is used to generate the demo table below. --}}
{{-- For more information about DataTables, please visit the <a target="_blan... |
<?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
namespace Database\Seeders;
use App\Models\Like;
use App\Models\Post;
use App\Models\User;
use Illuminate\Database\Seeder;
class LikeSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\User::factory(10)->create();... |
<?php
// This class was automatically generated by a giiant build task
// You should not change it manually as it will be overwritten on next build
namespace app\models\base;
use Yii;
use yii\behaviors\TimestampBehavior;
/**
* This is the base-model class for table "documents".
*
* @property integer $id
* @prope... |
<?php
/**
* CSFD (www.csfd.cz) movie parser
*
* The CSFD movie database does not provide
* any API to get movie information, thus
* we parse the search results with
* simple html dom
*
* @package zfcol
* @category library/Zfcol/Parser
* @author kamil
* @version 1.0
* @license http://opensource.org/licen... |
@extends('layout.admin')
<link rel="stylesheet" href="{{asset('css/styleadmin.css') }}">
@section('title', 'Edit User')
@section('container')
<div class="col-md-10 pt-5 p-5">
<h3><i class="fas fa-users me-2"></i>EDIT USERS</h3><hr>
<!-- Edit Form -->
<form method="post" class="log" action="{{ route('us... |
<?php
namespace kristijorgji\UnitTests\Mappers\Types\Php;
use kristijorgji\DbToPhp\DatabaseDrivers;
use kristijorgji\DbToPhp\Mappers\Types\Php\PhpTypeMapper;
use kristijorgji\DbToPhp\Mappers\Types\Php\PhpTypeMapperFactory;
class PhpTypeMapperFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @var PhpTy... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Paket;
use App\Paket7;
use App\Tblcatatan;
use DB;
class PaketController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<!DOCTYPE html>
<html lang="zh-CN"><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>
<link href="<?=STATIC_PATH?>css/bootstrap.min.css" rel="stylesheet">
<style type="text/... |
<?php
session_start();
include_once("../assets/lib/dbconnect.php");
if ($_SESSION['Contador'] == 2) {
header('Location: VagasExcluir.php');
$_SESSION['Contador'] = 0;
}
$_SESSION['Contador'] += 1;
$nmu = utf8_encode($_SESSION['NmUsuario']);
$cnpj = utf8_encode($_SESSION['cnpj']);
$razao = utf8_encode($_SESSI... |
<?php
// +----------------------------------------------------------------------
// | LikeShop有特色的全开源社交分销电商系统
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 商业用途务必购买系统授权,以免引起不必要的法律纠纷
// | 禁止对系统程序代码以任何目的,任何形式的再发布
// | 微信公众号:好象科技
// | 访问官网:http://www.likemar... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... |
<?php
/*
* This file is part of MODX Revolution.
*
* Copyright (c) MODX, LLC. All Rights Reserved.
*
* For complete copyright and license information, see the COPYRIGHT and LICENSE
* files found in the top-level directory of this distribution.
*/
include_once (strtr(realpath(dirname(__DIR__)), '\\', '/') . '/mo... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'AppTest\\Action\\HomePageActionTest' => $baseDir . '/test/AppTest/Action/HomePageActionTest.php',
'AppTest\\Action\\HomePageFactoryTest' => $baseDir . '/test/AppTest/A... |
<?php
/**
* Register menu elements and do other global tasks.
*
* @since 1.0.0
*/
class WPForms_Admin_Menu {
/**
* Primary class constructor.
*
* @since 1.0.0
*/
public function __construct() {
// Let's make some menus.
add_action( 'admin_menu', array( $this, 'register_menus' ), 9 );
add_action( ... |
@extends('la.layouts.app')
@section('htmlheader_title')
User Registration View
@endsection
@section('main-content')
<div id="page-content" class="profile2">
<div class="bg-primary clearfix">
<div class="col-md-4">
<div class="row">
<div class="col-md-3">
<!--<img class="profile-image" src="{{ asset('... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\promo\models\Promo */
$this->title = Yii::t('app', 'Update {modelClass}: ', ['modelClass'=> Yii::t('promo', 'Promo page')]).$model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Administration'), 'url' => ['/adm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.