text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html>
<head>
<title>INVOICE</title>
</head>
<body>
<?php
//include("header.php");
session_start();
require('fpdf/fpdf.php');
$pdf = new FPDF('P','mm','A4');
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(0,10,'Shopping Invoice',1,1,C);
$pdf->Cell(95,10,'',0,1);
$pdf->Cell(... |
<?php
$lang['email_must_be_array'] = "Metoda za email preveritev mora biti podana kot array.";
$lang['email_invalid_address'] = "Neveljaven email naslov: %s";
$lang['email_attachment_missing'] = "Naslednjih email priponk ni mogoče najti: %s";
$lang['email_attachment_unreadable'] = "Ni mogoče odpreti naslednjo priponki... |
<?php
namespace GSB\PatientsBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use GSB\PatientsBundle\Entity\Assure;
use GSB\PatientsBundle\Form\AssureType;
/**
* Assure controller.
*
*/
class AssureController extends Controller
{
/**
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
* Pagination Config Bootstrap 3 CSS Style
* harviacode.com
*/
$config['query_string_segment'] = 'start';
$config['full_tag_open'] = '<nav><ul class="pagination" style="margin-top:0px">';
$config['full_tag_close'] = '</ul></nav>';
$co... |
<?php
require_once 'include.php';
require_once 'header.php';
?>
<!-- Content Start -->
<section id="content_wrap">
<article>
<!-- Contact Form Start -->
<div class="two_third">
<h3>联系我们</h3>
<p></p>
<div class="contact_form">
<form method="post" action="sendEmail.ph... |
<div class="form-group">
<label for="slug">Slug</label>
<input type="text" name="slug" class="form-control {{ $errors->has('slug') ? 'is-invalid' : '' }}"
id="slug" placeholder="Enter Slug" value="{{ old('slug', $item->slug) }}">
@if ($errors->has('slug'))
<span class="error invalid-feedb... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Repositories\ArticlesRepository;
use App\Article;
use App\User;
use Auth;
use URL;
use Storage;
use Illuminate\Support\Facades\Validator;
class ArticlesController extends AdminController
{
public funct... |
<?php
namespace Drupal\Tests\comment\Functional\Views;
use Drupal\block_content\Entity\BlockContent;
use Drupal\block_content\Entity\BlockContentType;
use Drupal\comment\Entity\Comment;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\Tests\comment\Functional\CommentTestBase as CommentBrowse... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Unit extends Model
{
//
public function setNameAttribute($name)
{
$this->attributes['name'] = strtolower($name);
}
public function setAbbreviationAttribute($abbreviation)
{
$this->attributes['abbreviation'] = ... |
<?php
/**
* This class represents a generic dummy object, that just has properties.
* Like a javascript generic object
*
* @author esvirsky
* @copyright Edward Svirsky
*/
class GenericEntity
{
}
?> |
<?php
namespace GpsNose\SDK\Mashup;
class GnUrlItemType
{
/**
* @var int
*/
const Nose = 1;
/**
* @var int
*/
const Impression = 2;
/**
* @var int
*/
const Community = 3;
/**
* @var int
*/
const Track = 4;
/**
* @var int
*/
c... |
<?php
namespace DavidCao626\SuningSdk\Request\Govbus;
use DavidCao626\SuningSdk\Util\RequestCheckUtil;
use DavidCao626\SuningSdk\SuningRequest;
/**
* 苏宁开放平台接口 -.
*
* @author suning
* @date 2016-8-24
*/
class OrderLogistGetRequest extends SuningRequest
{
private $orderId;
private $orderItemId;
pr... |
@extends('layout.app')
@section('style')
<link href="{{asset('plugins/custom/datatables/datatables.bundle.css')}}" rel="stylesheet" type="text/css" />
@endsection
@section('content')
<!--begin::Entry-->
<div class="d-flex flex-column-fluid">
<!--begin::Container-->
<div class="container">
... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Casio;
use JMS\Serializer\Annotation\ExclusionPolicy;... |
<?php
//引入数据库连接的文件
include "conn.php";
//后端获取用户名和密码去和数据库里面的数据进行匹配
if(isset($_POST['tel']) && isset($_POST['pass'])){//接收用户名和密码存在
$tel = $_POST['tel'];//获取的用户名
$pass = sha1($_POST['pass']);//获取的密码,加密和加密后数据进行匹配
$result = $conn->query("SELECT * FROM registry WHERE tel='$tel' and password='$pass'");
//如果$re... |
<?php namespace Modules\Admin\Database\Models;
use Illuminate\Database\Eloquent\Model;
class Module extends Model {
public $timestamps = false;
/* protected $fillable = [
'name',
'value',
'type'
];*/
} |
<?php
namespace App;
use Alfa6661\AutoNumber\AutoNumberTrait;
use Illuminate\Database\Eloquent\Model;
class Daftar extends Model
{
Use AutoNumberTrait;
protected $table = 'daftars';
protected $guarded = [];
public function getAutoNumberOptions()
{
return [
'kode_barang' => [
... |
<?php
/*
An example class demonstrating how you might model a user object
It demonstrates the has_many relationship type, see the UserLogin and Page models for examples of the reverse of this relationship
*/
class User extends FuzzyRecord {
static protected $table = 'fuzzy_user';
static protected $should_cache = ... |
@extends('pharmacy.layout.app')
@section ('content')
<style>
input[type="file"] {
background-color:transparent;
padding:0px;
}
</style>
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-header py-3">
... |
<?php
namespace App\Http\Resources\Admin;
use App\Http\Resources\Base\BaseClientResource;
class AdminClientResource extends BaseClientResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($requ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Sponsor;
use App\User;
use App\Driver;
use App\Admin;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
class AdminListController extends Controller
{
/**
* Create a new con... |
<?php
namespace PicturePark\API\Exception;
class SchemaPermissionSetGetConflictException extends \RuntimeException implements ClientException
{
private $pictureparkConflictException;
public function __construct(\PicturePark\API\Model\PictureparkConflictException $pictureparkConflictException)
{
pa... |
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php $this->load->vie... |
@extends('template/admin/main')
@section('content')
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<!-- ============================================================== ... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/vo/Sites/lhenriksen/user/plugins/email/blueprints.yaml',
'modified' => 1602113430,
'data' => [
'name' => 'Email',
'slug' => 'email',
'type' => 'plugin',
'version' => '3.0.9',
... |
{{-- <x-guest-layout>
<x-jet-authentication-card>
<x-slot name="logo">
<x-jet-authentication-card-logo />
</x-slot>
<x-jet-validation-errors class="mb-4" />
<form method="POST" action="{{ route('password.update') }}">
@csrf
<input type="hidden" ... |
<?php $TRANSLATIONS = array(
"Invalid date/time" => "Data/hora inválida",
"Tasks" => "Tarefas",
"Due" => "Vencimento",
"List" => "Lista",
"Location" => "Local",
"No category" => "Sem categoria",
"Unspecified" => "Não especificado",
"1=highest" => "1=mais alto",
"5=medium" => "5=médio",
"9=lowest" => "9=mais baixo",
"Em... |
<?php
/* MokhlesBundle:Default:create.html.twig */
class __TwigTemplate_26af783e13da072512ac117c03ca379ccc5733480901050634ba6c1af44b71b4 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCustomerTable03 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('customers', f... |
<?php
declare (strict_types=1);
namespace RectorPrefix20210608\Symplify\Astral\NodeNameResolver;
use PhpParser\Node;
use PhpParser\Node\Attribute;
use RectorPrefix20210608\Symplify\Astral\Contract\NodeNameResolverInterface;
final class AttributeNodeNameResolver implements \RectorPrefix20210608\Symplify\Astral\Contrac... |
<?php
class X {
function __invoke($a, $b)
{
return $a . $b;
}
}
class Y extends X {
function __invoke($a, $b)
{
return $b . $a;
}
}
echo (new X)(1, 2);
echo (new Y)(1, 2); |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateActivesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('actives', funct... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Inventory extends CI_Controller {
public function __construct()
{
parent::__construct();
// $this->load->library('PdfGenerator');
$this->load->model('login_model');
$this->load->model('inventory_model')... |
{!! Form::open(['method' => 'DELETE', 'url' => ['dashboard/City', $id]]) !!}
<div class="form-group">
<div class=" ">
<button type="submit" class="btn btn-danger">
<i class="fa fa-trash"></i>
</button>
</div>
</div>
{!! Form::close() !!} |
<x-guest-layout>
<x-jet-authentication-card>
<x-slot name="logo">
<x-jet-authentication-card-logo />
</x-slot>
<x-jet-validation-errors class="mb-4" />
@if (session('status'))
<div class="mb-4 font-medium text-sm text-green-600">
{{ session('s... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Cathegory extends Model
{
//
} |
<?php
namespace backend\controllers;
use common\models\CallCenter;
use common\models\CallCenterAssignCompany;
use common\models\Company;
use Yii;
use yii\bootstrap\ActiveForm;
use yii\data\ActiveDataProvider;
use yii\db\Exception;
use yii\db\Query;
use yii\filters\AccessControl;
use yii\filters\ContentNegotiator;
use... |
<?php
namespace App\Http\Controllers\Backend;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Models\District;
use Helper, File, Session, Auth;
class DistrictController extends Controller
{
/**
* Display a listing of the resource.
*
* @return Response... |
<?php
namespace Tintnaingwin\MyanFont;
use Illuminate\Support\ServiceProvider;
class MyanFontServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
{
$this->publishes([
__DIR__.'/../config/myanfont.php' => config_path('m... |
<?php
class TemplatorTest extends \PHPUnit_Framework_TestCase {
// To be continued..
public function testTemplator()
{
$templator = new \Templator\Templator();
$check = is_object($templator);
$this->assertTrue($check);
}
} |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreProductRequest;
use App\Http\Requests\UpdateProductRequest;
use App\Http\Resources\ProductCollection;
use App\Http\Resources\ProductResource;
use App\Product;
use Illuminate\Http\Request;
class ProductController extends Controller
{
/**
* Disp... |
<?php
/**
* Created by PhpStorm.
* User: gseidel
* Date: 2020-01-20
* Time: 17:01
*/
namespace Enhavo\Bundle\BlockBundle\Tests\Block\Type;
use Enhavo\Bundle\BlockBundle\Block\BlockTypeInterface;
use Enhavo\Bundle\BlockBundle\Block\Type\TemplateBlockType;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Opti... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
switch($_GET['act']){
default:
$sa = $conn->query("SELECT * from admin");
?>
<div class="card">
<div class="card-body">
<h2 class="text-center">Admin Profil</h2>
... |
<?php
namespace App\Prowork\GaleriaVideo\Models;
use Illuminate\Database\Eloquent\Model;
use Laracasts\Presenter\PresentableTrait;
use Cviebrock\EloquentSluggable\SluggableInterface;
use Cviebrock\EloquentSluggable\SluggableTrait;
class GvGaleria extends Model implements SluggableInterface {
use PresentableT... |
<!-- Navbar -->
<nav class="main-header navbar navbar-expand bg-white navbar-light border-bottom">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
</li>
<li class="nav-item d-n... |
<?php
include("../../OSMPlayer.php");
$player = new OSMPlayer(array(
'playlist' => 'playlist.xml',
'debug' => true,
'prefix' => '',
'base_path' => '../..',
'base_url' => '../..',
'theme' => '',
'template' => 'default'
));
?>
<html>
<head>
<title>Open Standard ... |
@extends('admin.layout.master')
@section('header')
<section class="content-header pl-3">
<h1>ওয়েবসাইট</h1>
<ol class="breadcrumb">
<li>
... |
<?php
namespace VMware\VCloud;
class User extends Entity
{
protected function retrieveParent()
{
throw new \Exception('Not implemented');
}
public function getFullName()
{
return $this->getModel()->getFullName();
}
} |
<?php
declare(strict_types=1);
namespace Symplify\EasyTesting\Tests\MissingSkipPrefixResolver;
use Symplify\EasyTesting\Finder\FixtureFinder;
use Symplify\EasyTesting\HttpKernel\EasyTestingKernel;
use Symplify\EasyTesting\MissplacedSkipPrefixResolver;
use Symplify\PackageBuilder\Testing\AbstractKernelTestCase;
fina... |
<?php
namespace App\Form;
use App\Entity\Category;
use App\Entity\Content;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsR... |
@extends('layouts.main')
@section('content')
<div class="comic_container">
@foreach ($comics as $comic)
<div class="comic">
<h3>{{$comic->title}}</h3>
<img src="{{$comic->thumb}}" alt="">
{{-- <p>{{$comic->description}}</p> --}}
<a href="{{route('comics.show', $comic->id)}}" c... |
<?= view($view_folder.'/common/header');
$type_cours=json_decode($settings['type_cours'] ?? '',true); ?>
<div class="bg-gradient-to-bl from-purple-600 to-purple-400 text-black lg:-mt-20 lg:pt-20">
<div class="container p-0">
<div class="lg:flex items-center lg:space-x-12 lg:py-14 lg... |
@extends('layouts.apps_admin')
@section('content')
<div class="col-lg-9">
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h3 class="page-header text-primary">All Categories</h3>
</div>
<!-- /.col-lg-12 ... |
<?php
declare(strict_types=1);
namespace Netgen\Layouts\Parameters\Form\Type;
use Netgen\ContentBrowser\Form\Type\ContentBrowserDynamicType;
use Netgen\Layouts\Parameters\Form\Type\DataMapper\ItemLinkDataMapper;
use Netgen\Layouts\Parameters\Value\LinkValue;
use Symfony\Component\Form\AbstractType;
use Symfony\Compo... |
<?php
namespace App\Listeners;
use App\Events\PaymentCompleted;
use App\Mail\PaymentCompletedMail;
use Illuminate\Support\Facades\Mail;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
class SendPaymentCompletedNotification
{
/**
* Create the event listener.
*
*... |
<?php
namespace Tests\Browser;
use Tests\DuskTestCase;
use Laravel\Dusk\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
class NonAdminAndProfilePagesTest extends DuskTestCase
{
/**
* @group NonAdminAndProfilePagesTest
* Test home page
* @return void
*/
public function testH... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Html Mockup</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<!-- facebook og -->
<meta property="og:type" content="website"/>
<meta property="og:title" content="">
<... |
<?php
namespace App\Controller;
use App\Controller\AppController;
class ItemsController extends AppController
{
public function initialize()
{
parent::initialize();
$this->loadComponent('RequestHandler');
}
public function isAuthorized($user)
{
if ($this->request->action ... |
<?php
namespace App\Models\Observers;
use App\Models\Observers\Contracts\ObserverInterface;
class CertificationObserver implements ObserverInterface {
public function creating($model) {
//
}
public function created($model) {
//log
app('log')->info(__CLASS__. " - Berhasil menamba... |
<?php
return [
'subscriber' => 'Підписники',
'add' => 'Додати нового',
'update' => 'Поновити',
'delete' => 'Видалити',
]; |
<!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
<script src="{{ mix('js/app.js') }}" defer></script>
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Employee extends Model
{
use HasFactory;
protected $fillable = [
'nick_name',
'name',
'phone',
'position',
];
} |
<!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>Dashboard BPBD</title>
... |
<?php
use Illuminate\Database\Seeder;
class CidadesTableBASeeder extends Seeder
{
/**
* Alimenta um schema de cidades com as cidades da Bahia
* @author Cesar André (https://github.com/cesar-andre)
* @return void
*/
public function run()
{
DB::table('cidades')->insert(['id' => 2900... |
<!doctype html>
<!--[if lt IE 7]>
<html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>
<html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>
<html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>
... |
<?php
/* @var $this ContractTypesController */
/* @var $model ContractTypes */
$this->createMenu('update', $model);
?>
<h1><?php echo $this->pageTitle . ' ' . $model->name; ?></h1>
<?php echo $this->renderPartial('_form', array('model' => $model)); ?> |
<?php
namespace WP_Rocket\Subscriber\Optimization;
use WP_Rocket\Optimization\CDN_Favicons;
use WP_Rocket\Subscriber\Optimization\Minify_Subscriber;
/**
* Hook into WordPress to use the CDN for favicons and "touch" icons.
*
* @since 3.2
* @author Grégory Viguier
*/
class CDN_Favicons_Subscriber extends Minify_S... |
<?php
/**
* @package Joomla.Site
* @subpackage mod_custom
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<div class="<?php echo $moduleclass_sfx ?>" <?ph... |
<?php
namespace Whatsloan\Repositories\Cities;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Whatsloan\Repositories\Addresses\Address;
use Whatsloan\Repositories\Banks\Bank;
use Whatsloan\Repositories\Leads\Lead;
use Whatsloan\Services\Audits\Auditable;
class City extends ... |
<?PHP
/**
* de basic phpdoc class. Zoekt uit welke classes er allemaal aanwezig zijn
*
* @version 0.1
* @author David Kingma
*/
class phpdoc{
/** @var phpdocClass[] Array with available classes */
public $classes=array();
/** @var phpdocClass The current class */
public $class="";
/**
* Constructor, initi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow, archieve,snippet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-widt... |
<!DOCTYPE html>
<html>
<head>
<title>ICEcoder requirements tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=0.5, user-scalable=yes">
<link rel="icon" type="image/png" href="... |
<?php
namespace App\Entity\Api;
use App\Entity;
use Azura\Http\Router;
use OpenApi\Annotations as OA;
use Psr\Http\Message\UriInterface;
/**
* @OA\Schema(type="object", schema="Api_Station")
*/
class Station implements ResolvableUrlInterface
{
/**
* Station ID
* @OA\Property(example=1)
* @var int... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Students extends Model
{
public function notes()
{
return $this->hasMany('App\Notes');
}
} |
<?php
/**
* Created by 棒哥的IDE.
* Email QuBoJie@163.com
* QQ 3106954445
* WeChat 17703981213
* User: QuBoJie
* Date: 2018/12/4
* Time: 下午5:32
* App: LiveShowTwo
*/
namespace app\xcx_manage\controller\main;
use app\common\controller\ManageAuthAction;
use app\common\controller\RechargeCommon;
use app\common\co... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Student extends Model
{
use HasFactory;
protected $fillable = [
'first_name', 'last_name', 'email', 'mobile', 'address', 'city', 'state', 'country', 'postcode'
];
} |
<?php namespace Illuminate\Queue\Connectors;
use Aws\Sqs\SqsClient;
use Illuminate\Queue\SqsQueue;
class SqsConnector implements ConnectorInterface {
/**
* Establish a queue connection.
*
* @param array $config
* @return \Illuminate\Queue\QueueInterface
*/
public function connect(array $config)
{
$s... |
<?php
namespace App\Http\Controllers\Admin;
use App\Models\Project;
use Illuminate\Support\Str;
use App\Models\ImageProject;
use Illuminate\Http\Request;
use App\Models\CategoryProject;
use Illuminate\Contracts\View\View;
use App\Http\Controllers\Controller;
use App\Http\Requests\ProjectStoreFormRequest;
use Illumina... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCitiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cities', functio... |
@extends('rf.rf')
@section('contenido')
<div>
<h2>PREPARACIÓN</h2>
<form method="post" action="{{route('rf_p_detallepedido')}}">
@csrf
<h2>Ingrese Documento Pedido</h2>
<input type="number" name="docPedido">
<br>
<br>
<button ty... |
<?php
include('../server/conexao.class.php');
class dados{
private $codcli;
private $nomcli;
private $emailcli;
private $senha;
private $datnasc;
private $coduf;
private $cidade;
private $codgenero;
public function getCodCli(){
return $this->codcli;
}
public function setCodcli($codcli){
$this->codcl... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $__env->yieldContent('title'); ?></title>
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link ... |
<?php
namespace ContainerTMEW4tB;
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 getTranslation_WarmerService ext... |
<?php
namespace Catrobat\AppBundle\Services\CatrobatCodeParser\Bricks;
use Catrobat\AppBundle\Services\CatrobatCodeParser\Constants;
class CloneBrick extends Brick
{
protected function create()
{
$this->type = Constants::CLONE_BRICK;
$clone_name = null;
if (count($this->brick_xml_pro... |
@extends('admin.layouts.dashboard')
@section('content')
{{-- VALIDACIONES-RESPUESTA--}}
@include('admin.layouts.success') {{-- SAVE --}}
@include('admin.layouts.danger') {{-- EDITAR --}}
@include('admin.layouts.delete') {{-- DELELTE --}}
{{-- VALIDACIONES-RESPUESTA --}}
<div class="container">
<div class... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $table = 'category';
} |
<?php
require_once __DIR__."/../vendor/autoload.php";
require_once __DIR__."/../src/Client.php";
require_once __DIR__."/../src/Stylist.php";
$app = new Silex\Application();
$server = 'mysql:host=localhost;dbname=hair_salon';
$username = 'root';
$password = 'root';
$DB = new PDO($server... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="card">
<h2 class="card-title">  Edit Category</h2>
<div class="card-body">
<form action="/category/update/{{$category->slug}}" method="post">
@csrf
... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Message;
use Commercetools\Api\Models\Common\Address;
use Commercetools\Api\Models\Common\AddressBuilder;
use Commercetools\Api\Models\Common\CreatedBy;
use Commercetools\Api\Models\Com... |
<?php
session_start();
$email = $_POST['email'];
$password = $_POST['password'];
//Open a new connection to the MySQL server
$mysqli = new mysqli('sql112.epizy.com', 'epiz_26023437', '68wb2ctr', 'epiz_26023437_EE');
//Output any connection error
if ($mysqli->connect_error) {
die('Error : (' . $mysqli->connect_e... |
<?php
namespace Anper\RussianId\Laravel\Tests\Rules;
use Anper\RussianId\Laravel\Rules\AbstractRule;
use Anper\RussianId\Laravel\Rules\InnRule;
class InnRuleTest extends AbstractTestRule
{
protected $values = [
[true, '7830002293'],
[true, '500100732259'],
[false, '500100732250'],
];
... |
@extends ('layoutsection')
@section('content')
<h4>Семинар 01.10.2017</h4>
<h4>Размер платежа: 500 рублей</h4>
<form id="seminar_01_10_2017" name="seminar_01_10_2017" method="POST" action="/seminar_01_10_2017/{{$seminar->id}}">
{{ csrf_field()}}
{{ method_field('PUT') }}
<button type="submit" id="submitseminar... |
@extends('layouts.app')
@section('title')
<title>Iniciar sesión</title>
@section('content')
<div class="container">
<div class="d-flex justify-content-center">
<div class="card card-default">
<div class="card-header">Iniciar sesión</div>
<div class="card-body">
... |
<?php
/**
* Copyright 2014 SURFnet bv
*
* 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 agr... |
<?php
class Config{
public static $config = array
(
'database' => array(
'type' => 'mysql',
'host' => 'localhost',
'user' => 'root',
'pass' => '',
'base' => 'samples'
)
);
}
?> |
<?php
print_r($_POST);
$con = mysqli_connect('127.0.0.1:49646','azure','6#vWHD_$','localdb');
if (!$con) {
die('Could not connect: ' . mysqli_error($con));
}
else{
echo "connect";
}
if(isset($_POST['place_order'])){
$sql="SELECT * FROM products";
$result = mysqli_query($con,$sql);
$query2 = "SELECT * FR... |
<?php
use App\Http\Controllers\ArticleController;
use App\Http\Controllers\CommentaireController;
use App\Http\Controllers\RoleController;
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|-------... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.