text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200522190923 extends AbstractMigration
{
public function getDescription() : string
{... |
<?php
/**
* Tests for all input/output transformation plugins
*
* @package PhpMyAdmin-test
*/
declare(strict_types=1);
namespace PhpMyAdmin\Tests\Plugins\Transformations;
use PhpMyAdmin\Config;
use PhpMyAdmin\Plugins\Transformations\Input\Image_JPEG_Upload;
use PhpMyAdmin\Plugins\Transformations\Input\Text_Plain_... |
<?php
# Visão view/Evento/ver.php
/* @var $this EventoController */
/* @var $Evento Evento */
?>
<div class="container form-ver ">
<div class="row">
<div class="col s12 m12 l12">
<h3 class="center-align"><?php echo $Evento->titulo ?></h3>
<?php
$data = date_create($Event... |
<?php
namespace AvoRed\Framework\Models\Database;
class ProductPropertyBooleanValue extends BaseModel
{
protected $fillable = ['property_id', 'product_id', 'value'];
public function product()
{
return $this->belongsTo(Product::class);
}
public function property()
{
return $th... |
<?php
namespace pantera\seo\models;
/**
* This is the ActiveQuery class for [[SeoPresets]].
*
* @see SeoPresets
*/
class SeoPresetsQuery extends \yii\db\ActiveQuery
{
/**
* Только активные
* @return self
*/
public function isActive(): self
{
return $this->andWhere(['=', SeoPrese... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Client\Resource;
use Commercetools\Api\Models\OrderEdit\OrderEditDraft;
use Commercetools\Client\ApiResource;
use GuzzleHttp\ClientInterface;
use Psr\Http\Message\UploadedFileInterface;
/**
... |
<?php
declare(strict_types=1);
namespace ExtendedMockHttpClient\HttpFixture\Request\Comparator;
class OrComparator extends AbstractNestedComparatorItem
{
public static function getName(): string
{
return 'or';
}
public function __invoke($value): bool
{
foreach ($this->items as $i... |
<?php
class NewsController extends \BaseController {
/**
* Display a listing of the resource.
* GET /news
*
* @return Response
*/
public function index()
{
//
}
/**
* Show the form for creating a new resource.
* GET /news/create
*
* @return Response
*/
public function create()
{
... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:53:"F:\wamp\www\shop/application/admin\view\goods\add.htm";i:1516677106;s:54:"F:\wamp\www\shop/application/admin\view\common\top.htm";i:1517578989;s:55:"F:\wamp\www\shop/application/admin\view\common\left.htm";i:1517364350;}*/ ?>
<!DOCTYPE html>
<html><head>
<meta... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\ZonaExercicioSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Zona Exercicios';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="zona-exercicio-index">
<... |
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class GenreSidebar extends Component
{
public array $genres;
public int $genreId;
public function __construct(array $genres, int $genreId)
{
$this->genres = $genres;
$this->genreId = $genreId;
}
/**
* G... |
<?php
/**
* osCommerce Online Merchant
*
* @copyright Copyright (c) 2011 osCommerce; http://www.oscommerce.com
* @license BSD License; http://www.oscommerce.com/bsdlicense.txt
*/
namespace osCommerce\OM\Core\Site\Admin\Application\CreditCards\RPC;
use osCommerce\OM\Core\Site\Admin\Application\CreditCards\Cr... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Backwards compat
*/
$active_plugins = get_option( 'active_plugins', array() );
foreach ( $active_plugins as $key => $active_plugin ) {
if ( strstr( $active_plugin, '/product-addons.php' ) ) {
$active_plugins[ $key ] = str_replace( '/product-addons.php', '/wooco... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class ProfessionSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::statement('SET FOREIGN_KEY_CHECKS = 0');
DB::table('profession')->truncate();
... |
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Payment Created</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet"... |
<?php
use yii\db\Migration;
/**
* Class m180421_112824_create_tables
*/
class m180421_112824_create_tables extends Migration
{
public function safeUp()
{
$tableOptions = null;
if ($this->db->driverName === 'mysql') {
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENG... |
<?php
namespace Spinen\ConnectWise\Models\v2018_4\System;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class Department Version v2018_4
*
* Model for Department
*
* @property Metadata $_info
* @property integer $id
* @property string $identifier
* @property string $name
*/
class Department... |
<?php
/**
* @var Product[] $products
* @var array $params
*/
use App\Models\Product;
use App\Params; ?>
<div class="btn btn-product-dropdown dropdown <?=(count($params[Params::PRODUCTS]))?'btn-product-dropdown-active':'' ?>">
<span class="btn-text">
<?=Yii::t('front', 'SELECT_PRODUCT', ['count'=>c... |
<div class="row">
<div class="col-md-6">
<?= $form->field($model, 'template')->textarea(array('rows' => 1)); ?>
</div>
<div class="col-md-6">
<?= $form->field($model, 'vars')->textInput(); ?>
</div>
</div>
<div class="row">
<div class="col-md-6">
<?= $form->field($model, 'special')->textInput(); ?... |
<?php
// TCPDF FONT FILE DESCRIPTION
$type='TrueTypeUnicode';
$name='DejaVuSansCondensed-BoldOblique';
$up=-63;
$ut=44;
$dw=540;
$diff='';
$originalsize=580168;
$enc='';
$file='dejavusanscondensedbi.z';
$ctg='dejavusanscondensedbi.ctg.z';
$desc=array('Flags'=>96,'FontBBox'=>'[-960 -385 1799 1121]','ItalicAngle'=>-11,'A... |
<?php return '{"message":"The given data was invalid.","errors":{"email":["The email field is required."]}}'; |
<!-- importing the text editor thing -->
<script src="http://cdn.ckeditor.com/4.5.11/standard/ckeditor.js"></script>
<!-- Ignite UI Required Combined CSS Files -->
<link href="http://cdn-na.infragistics.com/igniteui/2016.2/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
<link... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBankEntitiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bank_entit... |
<?php
/**
* Upload users admin interface
*
* @package upload_users
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Jaakko Naakka / Mediamaisteri Group
* @author Ismayil Khayredinov / Arck Interactive
* @copyright Mediamaisteri Group 2009
* @copyright Arck... |
<?php
use SoapClientCurl\SoapClientRequest;
class SoapClientRequestTest extends PHPUnit_Framework_TestCase
{
public function testResponseSRI()
{
// Clave de Acceso para una factura de Esdinamico en Pruebas
$claveAccesoComprobante = '1302201501179188978900110010010000100520001005215';
// Ambien... |
<?= $this->extend('layout/template'); ?>
<?= $this->section('content'); ?>
<div class="container">
<div class="row">'
<div class="col">
<h1>Hello, world!</h1>
</div>
</div>
</div>
<?= $this->endSection(); ?> |
<?php namespace Tests\APIs;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Tests\TestCase;
use Tests\ApiTestTrait;
use App\Models\Topic;
class TopicApiTest extends TestCase
{
use ApiTestTrait, WithoutMiddleware, DatabaseTransactions;
/**
... |
<?php
namespace Office365\PHP\Client\SharePoint;
class FieldMultiChoice extends Field
{
} |
<?php
namespace VanguardLTE\Http\Controllers\Api\Users
{
class ActivityController extends \VanguardLTE\Http\Controllers\Api\ApiController
{
private $activities = null;
public function __construct(\VanguardLTE\Repositories\Activity\ActivityRepository $activities)
{
$this->mid... |
<?php
namespace App\Providers;
use App\Security\Guards\FirebaseGuard;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Gate;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings fo... |
<?php
namespace Album\Form;
use Zend\Form\Form;
class AlbumForm extends Form
{
public function __construct($name = null)
{
// we want to ignore the name passed
parent::__construct('album');
$this->add(array(
'name' => 'id',
'type' => 'Hidden',
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Model\User;
use App\Model\Profile;
use App\Http\Resources\GenericResource;
use Illuminate\Support\Facades\Validator;
class UserController extends ApiController
{
public function dashboard(){
return view('user.dashboard');
... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
/**
* LoginForm is the model behind the login form.
*
* @property User|null $user This property is read-only.
*
*/
class LoginForm extends Model
{
public $username;
public $password;
private $_user = false;
/**
* @return array the ... |
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2019 Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* 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... |
@extends('layouts.admin')
@section('titleContent')
<h2><strong>Administradores</strong></h2>
@endsection
@section('titlePanel')
<h3 class="panel-title"><strong>Administrador </strong>{{ isset($admin) ? $admin->name : null }}</h3>
@endsection
@section('content')
<div class="col-md-12 col-sm-12 col-xs-12">
@if( isset... |
<section class="material-half-bg">
<div class="cover"></div>
</section>
<section class="login-content">
<div class="logo">
<img src="<?=base_url("assets/img/logo_txai_small.png");?>" alt="">
</div>
<div class="login-box">
<?php if (validation_errors()) : ?>
<div... |
<?php
namespace Src\models;
use Illuminate\Database\Eloquent\Model;
class Patient extends Model
{
//
} |
<?php
/**
* Give Settings Page/Tab
*
* @package Give
* @subpackage Classes/Give_Settings_API
* @copyright Copyright (c) 2016, WordImpress
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.8
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly... |
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta charset="UTF-8">
<meta name="description" content="Ogani Template">
<meta name="keywords" content="Ogani, unica, creative, html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=... |
<?php
require_once('./vendor/autoload.php');
require_once('./cors.php');
use Firebase\JWT\JWT;
use Dotenv\Dotenv;
$dotenv = Dotenv::createImmutable(__DIR__);
$dotenv->load();
header('Content-Type: application/json');
if ($_SERVER['REQUEST_METHOD'] !== 'GET') {
http_response_code(405);
exit();
}... |
<?php
/*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/... |
<?php
use yii\db\Migration;
/**
* Class m190115_163901_table_basket
*/
class m190115_163901_table_basket extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$tableOptions = null;
if ($tableOptions === null) {
$tableOptions = 'CHARSET utf8 COLLATE u... |
@extends('layouts.app')
@section('title', 'Login | StackOverflow')
@section('content')
<div class="container my-4">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
<div class="c... |
<?php
namespace Pheanstalk\Command;
use Pheanstalk\ResponseParser;
use Pheanstalk\Structure\Workflow;
/**
* The 'Create' command.
*
* Inserts a new workflow into the client.
*
*
* @author Valentin Corre
* @package Pheanstalk
* @license http://www.opensource.org/licenses/mit-license.php
*/
class CreateComma... |
<?php
namespace Versionable\Prospect\File;
interface CollectionInterface
{
public function toString();
public function setBoundary($boundary);
} |
<?php
/**
* ReturnStatement
*
* PHP version 5
*
* @category Class
* @package InfluxDB2
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Influx OSS API Service
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator... |
<?php
class ET_Builder_Module_Team_Member extends ET_Builder_Module {
function init() {
$this->name = esc_html__( 'Person', 'et_builder' );
$this->plural = esc_html__( 'Persons', 'et_builder' );
$this->slug = 'et_pb_team_member';
$this->vb_support = 'on';
$this->main_css_element = '%%order_... |
<!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/css?family=Nunito:... |
<div class="narrow">
<?= partial('partials/header') ?>
<div style="clear: both;">
<div class="alert alert-success hidden" id="test_success"><strong>Success! </strong><a href="" id="post_href">View your post</a></div>
<div class="alert alert-danger hidden" id="test_error"><strong>Something went wrong!... |
<?php
namespace Database\Factories;
use App\Models\EstateAgent;
use App\Models\House;
use App\Models\HouseStatus;
use App\Models\Location;
use Illuminate\Database\Eloquent\Factories\Factory;
class HouseFactory extends Factory
{
protected $model = House::class;
public function definition(): array
{
... |
@extends('layouts.app')
@section('content')
<form method="post" action="/posts">
<input type="text" name="title" >
<input type="submit" name="submit" >
</form>
@endsection |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... |
@extends('layouts.firsthome')
@section('styles')
<style>
</style>
@endsection
@section('content')
<!-- Search Section -->
<?php
if(session()->has('adsid')){
$Sadsid =session()->get('adsid');
}else{
$Sadsid ='NO';
}
?>
@if($Sadsid != 'NO')
<form action="{{route('ads.prevent.... |
<?php
/**
* Book Migration Table - Creating book table for l5_bookstore database with
* appropriate fields.
* User: Kim Lawlor & Amanda Hamilton
* Date: 2016-11-14
*/
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBookTabl... |
<?php
namespace GestionFaenaBundle\Form\gestionBD;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\C... |
<?php //Hidden field values for all properties that get posted to the server ?>
<input id="field-prop-${domid}" type="hidden"
value='${jsonObject}'
data-value-type="OBJECT"
data-field-id=""
data-field-type="${fieldType}"
data-field-order="${order}"
data-sub-channel="sub-properties-${domi... |
<?php
namespace HuaweiCloud\SDK\Evs\V2\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class QuotaDetailBackupGigabytes implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
/**
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SampleMedia extends Model
{
protected $fillable = ['talent_id', 'video_name', 'path_name'];
} |
<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>МастерОК</title>
<link rel="stylesheet" href="/css/style-user.css">
</head>
<bo... |
@extends('adfm::public.layout')
{{-- @section('meta-title', $page->title) --}}
@section('content')
@include('adfm.public.main-header')
<section class="section about-company about-company_short">
<div class="container container_short">
<div class="route"></div>
<div class="section__h... |
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, inital-scale=1.0">
<title>Jangho's PortPolio</title>
<link rel="stylesheet" href="css/editor.css" type="text/css" charset="utf-8"/>
<... |
<?php
namespace MauticPlugin\MauticGSBundle\Google\google_api_php_client\src\Google\Service;
/*
* Copyright 2010 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://... |
<?php
/**
*
*/
namespace Mvc5\Request;
final class Error
{
/**
*
*/
use Error\Error;
} |
<?php
namespace App\Http\Controllers\Admin;
use Auth;
use App\User;
use App\Delihours;
use App\Http\Requests;
use Illuminate\Http\Request;
use Session;
use Intervention\Image\Facades\Image;
class DelihoursController extends MainAdminController
{
public function __construct()
{
$this->middleware('a... |
<?php
namespace App\Http\Livewire;
use App\Tipocontrato;
use Livewire\Component;
use Livewire\WithPagination;
class Tipocontra extends Component
{
use WithPagination;
public $nombretipo, $selected_id;
public $updateMode = false;
public function render()
{
return view('livewire.tipocontra'... |
<article class="main-text-container">
<section>
<h2>¿Sabes qué es <b>crédito por libranza</b> ?</h2>
<p> El <span>crédito por Libranza</span> es un crédito de consumo que incluye un mecanismo de recaudo, en donde
el deudor autoriza a su empleador o entidad pagadora para que le realice un... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('usuario', functio... |
<?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
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLevelThreeOperationExpensesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('level_three_operation_e... |
<?php
namespace FondOfOryx\Zed\GiftCardRestriction\Business;
use Codeception\Test\Unit;
use FondOfOryx\Zed\GiftCardRestriction\Business\Calculator\GiftCardRestrictionCalculator;
use FondOfOryx\Zed\GiftCardRestriction\Business\DecisionRule\BlacklistedCartCodeTypeDecisionRule;
use FondOfOryx\Zed\GiftCardRestriction\Bus... |
<div class="table-responsive">
<table class="table" id="p3aulac2m1s-table">
<thead>
<tr>
<th>Aula</th>
<th colspan="3">Action</th>
</tr>
</thead>
<tbody>
@foreach($p3aulac2m1s as $p3aulac2m1)
<tr>
<td... |
<?php
/*
* Title : Pinpoint Booking System WordPress Plugin
* Version : 2.1.6
* File : includes/extras/class-backend-extra.php
* File Version : 1.0.4
* Created / Last Modified : 15 February 2016
* Author : Dot on Paper
* Copyright ... |
<?php
include('db.php');
$id=$_POST['itm'];
// $name=$_POST['i_name'];
// $amt=$_POST['price'];
// $qty=$_POST['stock'];
// $name="sadhvi";
// $amt="Rs.30";
$sql="DELETE FROM `stationary` WHERE item_id='".$id."'";
if ($conn->query($sql) === TRUE)
{
echo "<script>window.open('add_qty.php','_self')</script>";
}
else... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style_responsive.css">
<link rel="stylesheet" href="style_struc.css">
... |
<?php
namespace Afeefa\ApiResources\Api;
class Operation
{
public const GET = 'get';
public const CREATE = 'create';
public const UPDATE = 'update';
} |
<?php
/**
* Created by PhpStorm.
* User: dashi
* Date: 16/9/18
* Time: 下午6:42
*/
namespace Foldy\Data;
use Foldy\Constants;
use Foldy\DIContainer;
use Foldy\Loggers\LoggerInterface;
use Pixie\QueryBuilder;
class DB extends QueryBuilder\QueryBuilderHandler
{
const DEFAULT_DB = Constants::DI_KEY_DEFAULT_DB;
... |
<?php
declare(strict_types=1);
namespace spec\NicholasZyl\Chess\Domain;
use NicholasZyl\Chess\Domain\GameId;
use PhpSpec\ObjectBehavior;
class GameIdSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->beConstructedWith('rand');
$this->shouldHaveType(GameId::class);
}
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAppointmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appointmen... |
@extends('../layouts/cruds')
@section('header')
<h1 class="display-4">CADASTRO DE RAÇAS</h1>
@endsection
@section('content')
<form action="{{Route('usuarios_has_usuarios.store')}}" method="post">
@csrf
<div class="form-group bg-light p-2 rounded">
<label for="id_usuario">Id Usuar... |
<?php
require_once 'conect.php';
session_start();
if ((empty($_SESSION['nomeLogin'])) or (empty($_SESSION['senhaLogin']))) {header("location: index.php");}
if( (!empty($_POST['cpf'])) and (!empty($_POST['nome'])) and (!empty($_POST['telefone'])) and (!empty($_POST['endereco'])) ) {
$cpf = $_POS... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Kyslik\ColumnSortable\Sortable;
class Church extends Model
{
use SoftDeletes, Sortable;
protected $dates = ['deleted_at'];
public $sortable = ['id','igreja'];
protected $fillable = ... |
<div class="col-lg-11 col-sm-11 ">
<div>
<center>
<h1>
<!--
<b><span style="color:#c10202;">JMJ </span></b>
<b><span style="color:#003885;">Panamá</span></b>
<b><span style="color:#2879af;">2019</span></b>
<b><span style="color:#c10202;">Diócesis de Colón-Kuna Yal... |
<?php
include 'includes/dbconnect.php';
if(isset($_GET['code'])){
$query = "SELECT * FROM orders WHERE DeliveryCode = '" . $_GET['code'] . "'";
$result = mysqli_query($GLOBALS['conn'], $query);
$GLOBALS['order-details'] = mysqli_fetch_assoc($result);
}
?> |
<?php
namespace Core\Core;
use Core\Container\ContainerAware;
use Core\Http\Interfaces\RequestInterface;
use Core\Routing\Interfaces\RouterInterface;
/**
* Base model abstract class.
*
* @author <milos@caenazzo.com>
*
* @property RequestInterface $request
* @property RouterInterface $router
* @property \ArrayA... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| One Signal App Id
|--------------------------------------------------------------------------
|
|
*/
'app_id' => env('9a5d9e9e-d7db-4700-9a2b-5ac1dfbcf3a4'),
/*
|------------------------------------... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class WidgetRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the... |
<?php namespace Config;
// Create a new instance of our RouteCollection class.
$routes = Services::routes();
// Load the system's routing file first, so that the app and ENVIRONMENT
// can override as needed.
if (file_exists(SYSTEMPATH . 'Config/Routes.php'))
{
require SYSTEMPATH . 'Config/Routes.php';
}
/**
* ---... |
<?php
$kuota = 0;
foreach($resource as $res){
$Kode_Kelas = $res->Kode_Kelas;
$kuota = $res->Kuota;
$nama_kelas = $res->Tingkat_Kelas.'-'.$res->Nama_Kelas." (".$res->Tahun_Masuk."/".$res->Tahun_Keluar.")";
}
?>
<main>
<div class="container">
<div class="section" style="p... |
@extends('layouts.app')
@section('content')
<div class="container children-create">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header"><h5>Добавление нового тренера</h5></div>
<div... |
<?php
use App\Models\Auth\User;
use Carbon\Carbon as Carbon;
use Database\DisableForeignKeys;
use Database\TruncateTable;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
/**
* Class UserTableSeeder.
*/
class UserTableSeeder extends Seeder
{
use DisableForeignKeys, TruncateTable;
/**
* Run ... |
<?php
$lang = array(
'advanced_users_only' =>
'Soltanto utenti esperti',
'all_caching' =>
'Tutte le cache',
'choose_translation_file' =>
'Scegli un file da tradurre',
'clear_caching' =>
'',
'communicate' =>
'',
'config_editor' =>
'',
'db_caching' =>
'',
'english' =>
'',
'european' =>
'',
'import_uti... |
<?php
/*
* This file is part of the StaticMaps.
*
* (c) RUNALYZE <mail@runalyze.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Runalyze\StaticMaps\Tests\Viewport;
use PHPUnit\Framework\TestCase;
use Runalyze\StaticMaps\TileServ... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyr... |
<?php
namespace Drupal\Tests\scheduler\Functional;
/**
* Tests the options for scheduling dates to be required during add/edit.
*
* @group scheduler
*/
class SchedulerRequiredTest extends SchedulerBrowserTestBase {
/**
* Tests creating and editing nodes with required scheduling enabled.
*
* @dataProvi... |
<?php
/**
* All global access validation function checks should be here.
*
* @author dcarungay
*/
class AccessValidator {
public static function checkIfSessionTimedOut(){
if(Auth::check() && Session::has('last_activity')){
$last_activity = Session::get('last_activity');
$differe... |
<?php
use yii\db\Migration;
class m20200406_124200_create_table_updater_base extends Migration
{
public function up()
{
$driverName = $this->db->driverName;
$tableOptions = null;
if ($driverName === 'mysql') {
$tableOptions = 'CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_c... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(CategoryTableSeeder::class);
$this->call(BrandTableSeeder::class);
$this->call(SaleTableSee... |
<?php
namespace app\modules\bot\controllers\privates;
use app\modules\bot\components\helpers\MessageText;
use app\modules\bot\components\Controller;
/**
* Class RandomIntController
*
* @package app\modules\bot\controllers
*/
class RandomIntController extends Controller
{
/**
* @return array
*/
... |
@extends('front.admin')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<h4>Manage Scopes</h4>
</div>
<br>
@if(session()->has('success'))
<div class="alert alert-succe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.