text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon.png">
<link rel="stylesheet" href="{!! asset('theme/vendor/chartist/css/chartist.min.css') !!}">
<link href="{!! asset('theme/vendor/bootstrap-select/dist/css/bootstrap-select.min.css') !!}" rel="styl... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'yii\\swiftmailer\\' => array($vendorDir . '/yiisoft/yii2-swiftmailer'),
'yii\\jui\\' => array($vendorDir . '/yiisoft/yii2-jui'),
'yii\\gii\\' => array($vendorDir . '/y... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->call(UsersTableSeeder::class);
$this->call(TopicsTableSeeder::class);
$this->call(ReplysTableSeeder::class);
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
declare(strict_types=1);
namespace MaxKaemmerer\Events;
interface EventSubscriber
{
/**
* @param Event $event
*/
public function on(Event $event): void;
/**
* @return EventSubscription
*/
public function subscription(): EventSubscription;
} |
<script>
$(document).ready(function(){
// CONVERTIR FECHAS A TEXTO
$("a#enlance").click(function(){
var ruta = $(this).attr('name');
$(".pages").load(ruta);
});
$("a#usuarios").click(function(){
$(".sk-three-bounce").show();
... |
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Saritasa\Laravel\Controllers\BaseController;
class ForgotPasswordController extends BaseController
{
/*
|--------------------------------------------------------------------------
| Password Reset Cont... |
@extends('layouts.app')
@section('content')
<div class="card">
<div class="card-body">
<h5 class="card-title">Event Places</h5>
<a href="{{ route('event_place.index') }}" class="btn btn-primary float-right">View All</a>
</div>
</div>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="br... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
*/
class Mhs extends My_Controller
{
private $api_mhs = '/mhs/api/get_mhs.php?nim=';
private $apinomor_unit = '/mhs/api/test.php?kd_unit=';
private $api_kdfak ='&kd_fak=';
private $api_kdkla ='&kd_kla=';
function __const... |
<?php
return [
'keywords'=>basename(dirname(__DIR__)), //关键字,即是目录名也是数据表区分符
'name'=>'秒杀商城', //模块名称
'author'=>'齐博', //开发者
'author_url'=>'http://www.php168.com', //开发者网站或者是演示网址
'type'=>'1', //当前模块是否可以复制
'about'=>'', //介绍
'version'=>'1.0', //版本号
'icon'=>'fa fa-send', //CSS图片
'ifsys'=>'0', //是否禁止卸载
'config_grou... |
<?php
namespace App\Providers;
use Illuminate\Http\Request;
use Laravel\Fortify\Fortify;
use App\Actions\Fortify\CreateNewUser;
use Illuminate\Support\ServiceProvider;
use Illuminate\Cache\RateLimiting\Limit;
use App\Actions\Fortify\ResetUserPassword;
use App\Actions\Fortify\UpdateUserPassword;
use Illuminate\Support... |
<?php $video = isset($basketsData->b_video) ? Helpers::youtube_id_from_url($basketsData->b_video) : ""; ?>
@if(isset($basketsData) && !empty($basketsData))
<div class="banner-landing banner-career" style="background-image:url({{Storage::url(Config::get('constant.BASKET_ORIGINAL_IMAGE_UPLOAD_PATH')) }}{{ $basketsData-... |
<div class="form-group {{ $errors->has('matricule') ? 'has-error' : '' }}">
{{ Form::label('matricule_employe', 'matricule') }}
{{ Form::text('matricule', $employe->matriucle, ['class'=>'form-control border-input','placeholder'=>'matricule de lemploye']) }}
<span class="text-danger">{{ $errors->has('nom') ?... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Comment;
use Illuminate\Database\Eloquent\Builder;
use Auth;
class commentController extends Controller
{
public function createComment(Request $request, $post_Sid){
$comment = new Comment;
$comment->createComment($... |
@extends('admin/admin')
@section('content')
<div class='header-panel'>
<h3 class="pull-left">Добавление товара</h3></div>
<div class="div-product-add content">
<form action="{{ URL::to('admin/product/add') }}" method="post" accept-charset="utf-8" role="form" enctype="multipart/form-data" class=... |
<?php
namespace App\Controller;
use App\Entity\Article;
use Doctrine\ORM\EntityManagerInterface;
use Knp\Component\Pager\PaginatorInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Compo... |
<?php
class PersonList{
public function __construct($linkid = NULL){
$this->personList = [];
if(is_null($linkid)){
return;
} else {
$this->connect = Database::getInstance()->getConnection();
$sql = "SELECT * FROM person WHERE linkid = ? AND sta... |
<?php
namespace Zenstruck\ScheduleBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Zenstruck\ScheduleBundle\Schedule\CronExpression;
use Zens... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Bro... |
<?php
//die( "<pre>" . print_r( $_SERVER, true ) . "</pre>" );
/* configuration */
const IMAGE_URL = 1;
const BASE_URL = 2;
const BASE_DIR = 3;
const UPLOADS_URL = 4;
const UPLOADS_DIR = 5;
const STATIC_URL = 6;
const STATIC_DIR = 7;
const THUMBNAILS_URL = 8;
const THUMBNAILS_DIR = 9;
const THUMBNAIL_WIDTH = 10;
con... |
<?php
/**
* SDK
*
* This library allows to interact with the payment service.
*
* 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
*... |
@extends('layouts.admin')
@section('content')
<div class="content">
<div class="row">
<div class="col-lg-12">
Home
</div>
</div>
</div>
@endsection
@section('scripts')
@parent
@endsection |
<?php
/** PHPSandbox class declaration
* @package PHPSandbox
*/
namespace PHPSandbox;
use FunctionParser\FunctionParser;
/**
* PHPSandbox class for PHP Sandboxes.
*
* This class encapsulates the entire functionality of a PHPSandbox so that an end user
* only has to create ... |
<ul class="list-unstyled fs12">
<li ng-repeat="chat in closed_chats.list track by chat.id" ng-class="{'icon-user-away': chat.user_status_front == 2, 'icon-user-online': chat.user_status_front == 0}">
<span ng-if="chat.country_code != undefined"><img ng-src="<?php echo erLhcoreClassDesign::design('image... |
<div class="modal fade" id="modal_confirm_reset" tabindex="-1" role="dialog" style="display: none;" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">ข้อความแจ้งเตือน</h5>
... |
<?php
namespace App\Http\Livewire\Music;
use App\Models\Music;
use Livewire\Component;
use Livewire\WithPagination;
class Index extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
//pa make:livewire Music/Index
// public $musics;
//
// public function mount()
// {
//... |
<?php
/**
* @copyright (c) JTL-Software-GmbH
* @license http://jtl-url.de/jtlshoplicense
*/
class FilterTextField extends FilterField
{
protected $nTestOp = 0;
protected $nDataType = 0;
protected $bCustomTestOp = true;
/**
* FilterTextField constructor.
*
* @param Filter $o... |
<?php
/**
* Created by PhpStorm.
* User: Osein
* Date: 1/14/2018
* Time: 9:35 PM
*/
/**
* @param \Database\Models\User $user
* @return string
*/
function getGraveyardRank($user) {
$level = getLevel($user->getExp());
if ($level < 10) {
return __('city.city_graveyard_gravedigger');
} elseif ... |
<oml:data_description_update xmlns:oml="http://openml.org/openml">
<oml:id><?php echo $id; ?></oml:id>
</oml:data_description_update> |
@if (count($breadcrumbs) >= 0)
<div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
<div class="d-flex">
<div class="breadcrumb">
<a href="" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Trang chủ</a>
@foreach ($breadcrumbs as $... |
<?php session_start();
require_once('connection.php');
require_once('sessionSet.php');
extract($_POST);
extract($_GET);
extract($_SESSION);
?>
<!--/ PHP Code: Token Entery -->
<!DOCTYPE html>
<html>
<!--Head-->
<?php include('Head.php')?>
<!--/Head-->
<!--Body-->
<body class... |
<?php
namespace App\Http\Requests\admin\delivery_menu;
use App\Http\Requests\Request;
class editRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @ret... |
<?php if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
$site = LANGUAGE_ID == 'de'
? 'http://www.bitrix24.de'
: (\Bitrix\Main\Localization\Loc::getDefaultLang(LANGUAGE_ID) == 'ru'
? 'http://www.bitrix24.ru'
: 'http://www.bitrix24.com'
);
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="... |
<?php
/**
* Enforces switch statement formatting.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\ControlS... |
<?php
class UserModel extends CI_Model
{
/**
* Get user by identity_number
*
* @param string $email email user
*
*/
public function getByIdentityNumber($number = '')
{
return $this->db->get_where('user', [
'identity_number' => $number
])->row_array();
... |
<?php
// Copyright (c) 2009 Facebook
//
// 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 ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLoginedusersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('loginedusers', function (Blueprint $table) {
... |
<?php
namespace ostark\falcon\drivers;
class Dummy extends AbstractPurger implements CachePurgeInterface
{
/**
* @var bool
*/
public $logPurgeActions = true;
/**
* @param array $keys
*
* @return bool
*/
public function purgeByKeys(array $keys)
{
$joinedKeys... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>SNAPP nature</title>
<meta charset="UTF-8" />
<meta name="keywords" content="Animals Plants Nature Social media" />
<meta name="description" content="This website is a social madia like page where you can share your observations from nature with your frien... |
<?php
declare(strict_types=1);
namespace Database\Seeders;
use Infrastructure\Eloquent\Models\Appointment\Appointment;
use Infrastructure\Eloquent\Models\Appointment\AppointmentHasProfile;
use Infrastructure\Eloquent\Models\Assembly\Assembly;
use Infrastructure\Eloquent\Models\Assembly\AssemblyHasProfile;
use Infras... |
<?php
/**
* Custom Widget for displaying specific post formats
*
* Displays posts from Aside, Quote, Video, Audio, Image, Gallery, and Link formats.
*
* @link http://codex.wordpress.org/Widgets_API#Developing_Widgets
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
class T... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'C:/wamp64/www/morganButton.dev/system/languages/it.yaml',
'modified' => 1625094038,
'data' => [
'GRAV' => [
'FRONTMATTER_ERROR_PAGE' => '---Titolo: %1$s---# Errore: Frontmatter non valido: \'%2$s\' * *%... |
<?php
//+---------------------------------
//| E8网络工作室 http:www.e8net.cn
//+---------------------------------
//| 后台管理员控制器
//+---------------------------------
//| Author: webdd <2014//8/27>
//+---------------------------------
namespace Admin\Controller;
use Think\Controller;
class UserController extends BaseControl... |
<?php session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Học Sinh</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!-- Import lib -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudfl... |
@extends('layout')
@section('content')
<section class="content-header">
<h1>
<small></small>
</h1> <br>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i>Home</a></li>
<li class="active">Data User</li>
</ol>
</section... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of... |
<?php
//date_default_timezone_set('America/Bogota');
//date_default_timezone_set('America/Los_Angeles');
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/../vendor/autoload.php');
re... |
<!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
// Heading
$_['heading_title'] = 'Total Customers';
// Text
$_['text_view'] = 'View more...'; |
<?php
declare(strict_types = 1);
namespace Isfett\WowClassicHunterMeleeWeavingEfficiency\Tests\Unit\Node\Representation\Expr;
use Isfett\WowClassicHunterMeleeWeavingEfficiency\Node\Representation\Expr\BitwiseNot;
use Isfett\WowClassicHunterMeleeWeavingEfficiency\Tests\Unit\Node\Representation\AbstractNodeRepresentati... |
<?php
namespace Tests\Unit\Libs;
use App\Libs\ApiResponse;
use App\Models\Dummy;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
use Tests\CreatesApplication;
class ApiResponseTest extends TestCase
{
use CreatesApplication, RefreshDatabase;
/** @test **/
public function an_instanc... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/datalabeling/v1beta1/operations.proto
namespace Google\Cloud\DataLabeling\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Details of a LabelT... |
<?php
namespace App\Http\Requests\Backend;
use Illuminate\Foundation\Http\FormRequest;
class AdminLoginRequest extends FormRequest
{
public function authorize()
{
return true;
}
public function rules()
{
return [
'email' => 'bail|required|email|max:128',
... |
<?php
/**
* 二维码执行模型
*/
class qrcode_mdl extends BASE_Model {
private $table = 'qrcode';
function __construct() {
parent::__construct();
$this->load->model('comm/execute_model', 'execute');
}
function __destruct() {
parent::__destruct();
}
//增加渠道店二维码扫描的次数
public ... |
@foreach ($entidades as $entidade)
@endforeach
{{ Form::open(array('url' => "/insereConfiguracao/$entidade->id_entidade/area/13salario", 'method'=>'post')) }}
<div class="row">
<div class="col-md-7">
<!-- INICIO DO BLOCO DE CONFIGURAÇÃO 1 -->
<div class="ibox float-e-margins">
<div class="ibox-titl... |
<br pagebreak="true"/>
<table cellpadding="3" width="100%" style="page-break-inside:avoid; page-break-after: always; font-size: 6pt; page-break-inside:avoid;">
<tr>
<td width="42%" style="text-align: center; "><b>GRAN TOTAL CANTIDAD SOLICITADA:</b></td>
<td width="9%" style="text-align: center;"><b... |
<form id="ptkForm" action="<?= base_url('ptk/createNewForm'); ?>" method="POST" novalidate>
<div class="row bg-gray mb-3">
<div class="col py-2">
<h5 class="font-weight-bold m-0">Identity</h5>
<small class="font-weight-light">Enter the identity that needed for new Manpower</small>
... |
<?php
use common\models\User;
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\User */
$this->title = $model->username;
$this->params['breadcrumbs'][] = ['label' => 'Пользователи', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web... |
<style>
.form-group .form-control-icon {
position: absolute;
z-index: 20;
display: block;
width: 2.375rem;
height: 2.375rem;
line-height: 2.375rem;
text-align: center;
color: #aaa;
right: 5px;
top: 2px;
}
</style>
<div class="modal-... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CategoryFormRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* G... |
@extends('frontend.app')
@section('content')
<!--main content start-->
<div class="main-content">
<div class="container">
<div class="row">
<div class="col-md-8">
<h2 class="page-title">About us</h2>
<div class="col-md-12">
<? echo $info->descr... |
@extends('admin.master')
@section('content')
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Inbox</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12">
<div class="x_panel">
<... |
<?php
namespace JMS\Payment\CoreBundle\Util;
/*
* Copyright 2010 Johannes M. Schmitt <schmittjoh@gmail.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://www.apache.org/... |
<?php
class Login extends CI_Controller{
function __construct(){
parent::__construct();
$this->load->model('Login_model');
}
function index(){
if(($this->session->userdata('tabel')=="admin")|| ($this->session->userdata('tabel')=="user")){
redirect('/home');
}
else{
$this->load->view('v_l... |
<?php declare(strict_types=1);
namespace Rector\NetteToSymfony\Tests\Rector\Class_\NetteFormToSymfonyFormRector;
use Rector\NetteToSymfony\Rector\Class_\NetteFormToSymfonyFormRector;
use Rector\NetteToSymfony\Tests\Rector\Class_\NetteFormToSymfonyFormRector\Source\NettePresenter;
use Rector\Testing\PHPUnit\AbstractRe... |
<?php
// WARNING, this is a read only file created by import scripts
// WARNING
// WARNING, Changes made to this file will be clobbered
// WARNING
// WARNING, Please make changes on poeditor instead of here
//
//
?>
subject: Автоматическое напоминание о трансфере номер {transfer.id}
subject: (Автоматическое напоми... |
<?php
namespace ByTIC\Omnipay\Common\Message\Traits;
/**
* Class GatewayNotificationRequestTrait
* @package ByTIC\Omnipay\Common\Message\Traits
*
* @property \Symfony\Component\HttpFoundation\Request $httpRequest
*/
trait GatewayNotificationRequestTrait
{
use RequestDataPersistentTrait;
/**
* @inhe... |
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<?php $this->load->view('templates/titlehead',$judul); ?>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12">
<div class... |
<div class="container-fluid">
<div id="panel" class="toggled">
<div id="sidebar">
<?php $this->load->view('backoffice/member_menu');?>
</div>
</div>
<div id="content" class="toggled">
<div class="row mb-2">
<div id="navi" class="col-12">
<... |
@extends('front.app')
@section('content')
<div class="fullWidthHeader">
@include('front.partials.header')
</div>
<main>
<div class="cabinet" id="bodyScroll">
<ul class="crumbs">
<li>
<a href="{{ url('/'.$lang->lang) }}">Home</a>
</li>
<li><a href="#">{... |
@if(\Auth::user()->is_admin == 1)
<form action="{{ route('status.destroy', $model['id']) }}" method="post"
onclick="return confirm('Do you want to delete this item?')">
{{ csrf_field() }}
{{ method_field("delete") }}
<button class="btn btn-danger btn-sm"><i class="fa fa-trash"></i></button>
</form>
@endif |
@extends('layouts.master')
@section('content')
@include('partials.userheader')
<div class="col-sm-8">
<el-tabs active-name="tasks" style="width:100%">
<el-tab-pane label="申请" name="tasks">
<table class="table table-hover" id="tasks-table">
<h3>{{ __('所负责的申请') }}</h3>
<thead>
... |
<div class="content-wrapper" style="min-height: 946px;">
<section class="content-header">
<h1>
<i class="fa fa-user-plus"></i> <?php echo $this->lang->line('student_information'); ?><small><?php echo $this->lang->line('student1'); ?></small> </h1>
</section>
<section class="con... |
<?php
namespace VK\Actions\Enums;
/**
*/
class WidgetsFields {
/**
*/
const ABOUT = 'about';
/**
*/
const ACTIVITIES = 'activities';
/**
*/
const BDATE = 'bdate';
/**
*/
const BLACKLISTED_BY_ME = 'blacklisted_by_me';
/**
*/
const BLACKLISTED = 'blacklisted';
/**
*/
const BOOKS = 'books';... |
<?php
namespace Google\AdsApi\AdWords\v201809\rm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class OfflineDataUploadReturnValue extends \Google\AdsApi\AdWords\v201809\cm\ListReturnValue
{
/**
* @var \Google\AdsApi\AdWords\v201809\rm\OfflineDataUpload[] $value
*/
protected $value = ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use Auth;
use Session;
use Redirect;
use App\User;
use View;
use Validator;
use Illuminate\Support\Facades\Input;
use File;
use App\Template;
use App\UserCard;
use Response;
use Config;
/**
* Handles user's basic functanili... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
// factory(App\Question::class, 10)->create();
// factory(App\... |
<?php
/**
* Smarty Internal Plugin CompileBase
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* This class does extend all internal compile plugins
*
* @package Smarty
* @subpackage Compiler
*/
abstract class Smarty_Internal_CompileBase
{
/**
* Array of names of requ... |
<?php declare(strict_types = 1);
return new \PHPStan\Reflection\Native\NativeFunctionReflection(
'iconv_strlen',
[
new \PHPStan\Reflection\Native\NativeParameterReflection(
'str',
false,
PHPStan\Type\StringType::__set_state(array()),
false,
false
),
new \PHPStan\Reflection\Native\Nativ... |
@extends('admin.layouts.app')
@section('content')
<div class="content">
<div class="card-body card-block">
<div class="card-body">
<h2> Customer index </h2>
<?php $message = Session::get('message');?>
@if($message)
<p class="alert alert... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%order}}`.
*/
class m200630_204303_create_order_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('{{%order}}', [
'id' => $this->primaryKey(),
'user_i... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} $print=get_option('print_note_'.vxcf_form::$id); ?>
<style type="text/css">
.vx_msg_div a{
color: #fff;
}
.vx_msg_div{
word-wrap: break-word;
}
.vx_msg_div a:hover{
color: #eee;
text-decoration: none;
}
</style>
<div class="vx_div">
<div... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class Post
*
* @property $id
* @property $title
* @property $content
* @property $image
* @property $created_at
* @property $updated_at
*
* @package App
* @mixin \Illuminate\Database\Eloquent\Builder
*/
class Post extends Model
{
... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
$this->call(UserSeeder::class);
$this->call(ProductSeeder::c... |
<?php
//
// Description
// -----------
// This function will get the history of a field from the ciniki_core_change_logs table.
// This allows the user to view what has happened to a data element, and if they
// choose, revert to a previous version.
//
// Info
// ----
// Status: beta
//
// Arguments
// ---------
// api... |
<?php
namespace App\Model\Admin;
use Searchable;
use Illuminate\Database\Eloquent\Model;
class ProductDiscount extends Model
{
protected $fillable = array('product_id',
'customer_group_id',
'quantity',
'priority',
'price',
'date_start',
... |
@extends('Template.HtmlSkeleton')
@section('Title')
<title>Learnign | UI</title>
@stop
@section('BaseContent')
<div class="container">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<form action="{{url()}}/register1" method="post">
<div class="form-group">
<label for="name">Name:... |
<?php
use yii2lab\test\helpers\TestHelper;
$config = [
];
return , $config); |
<?php
use App\Task;
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the ... |
<?php
namespace Twig\NodeVisitor;
class_exists('Twig_NodeVisitorInterface');
if (\false) {
interface NodeVisitorInterface extends \Twig_NodeVisitorInterface
{
}
} |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
factory(App\User::class, 1)->create(['name' => 'admin', 'email' => 'admin@site.com']);
factory(App\Influencer::... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
}
/**
* Show the form fo... |
<?php
/**
* DO NOT EDIT!
* This file was automatically generated via bin/generate-validator-spec.php.
*/
namespace Google\Web_Stories_Dependencies\AmpProject\Validator\Spec\Tag;
use Google\Web_Stories_Dependencies\AmpProject\Attribute;
use Google\Web_Stories_Dependencies\AmpProject\Format;
use Google\Web_Stories_D... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\dpac\models\PctDrugAllVisits */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="pct-drug-all-visits-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'id')->textInput(... |
@extends('layouts.admin')
@section('content')
<h1>Index</h1>
<div>
@if(Session::has('deleted_user'))
<p class="bg-danger"> {{session('deleted_user')}} </p>
@endif
@if(Session::has('updated_user'))
<p class="bg-primary"> {{session('updated_user')}} </p>
... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Users */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="users-view">
<h1><?= Html::... |
<?php
/**
* Classe responsável por intermediar as ações que são realizadas no banco de dados relacionadas aos usuários
* A presente classe utiliza o padrão Singleton, ou seja, terermos apenas uma instência dessa classe.
* Class UserDAO
*/
require_once ('Conexao.php');
require_once ('CrudSql.php');
require_once ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="card m-3">
<div class="card-header bg-info">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="float-left">
<h2>Edit Client</h2>
... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\settings\models\Companies */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Companies', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsse... |
<?php
/**
* MembershipsApi
* PHP version 5
*
* @category Class
* @package FrankHouweling\AzureDevOpsClient\Graph
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Graph
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-ap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.