text stringlengths 2 1.03M |
|---|
<?php
//define('NO_KEEP_STATISTIC', 'Y');
//define('NO_AGENT_STATISTIC','Y');
//define('NO_AGENT_CHECK', true);
//define('DisableEventsCheck', true);
define('NOT_CHECK_PERMISSIONS', true);
//define('BX_SECURITY_SESSION_READONLY', true);
require $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.ph... |
<?php
declare(strict_types=1);
namespace Tulia\Cms\ContactForm\Domain\WriteModel;
use Tulia\Cms\ContactForm\Domain\Event\FormDeleted;
use Tulia\Cms\ContactForm\Domain\Exception\FormNotFoundException;
use Tulia\Cms\ContactForm\Domain\WriteModel\Model\Field;
use Tulia\Cms\ContactForm\Domain\WriteModel\Model\Form;
use ... |
<?php
/*
* 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 to in writing, software
* distrib... |
<?php
namespace ResellerClub\Orders\Domains;
use ResellerClub\Api;
use ResellerClub\Orders\Domains\Requests\GetByDomainRequest;
use ResellerClub\Orders\Domains\Requests\GetRequest;
use ResellerClub\Orders\Domains\Requests\RenewRequest;
use ResellerClub\Orders\Domains\Responses\GetResponse;
use ResellerClub\Orders\Dom... |
<?php
namespace Kanboard\Plugin\Matrix\Notification;
use Kanboard\Core\Base;
use Kanboard\Core\Notification\NotificationInterface;
use Kanboard\Plugin\Matrix\Api;
/**
* Matrix Notification
*
* @package notification
* @author Andrej Shadura
*/
class Matrix extends Base implements NotificationInterface
{
p... |
<!DOCTYPE html>
<html>
<head>
<!-- Basic Page Info -->
<meta charset="utf-8">
<title>Đăng nhập</title>
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('public/upload/logo-icon.svg') }}" />
<!-- Site favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('public/b... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class SubDepartment extends Model
{
use SoftDeletes;
protected $hidden = [
'user_id',"created_at" , 'updated_at','deleted_at'
];
public function user(){
return $this->b... |
<?php
namespace App\Http\InformationArrays;
class Options
{
const Options = [
'Number'=>[
'1'
,'2'
,'3'
,'4'
,'5'
,'6'
,'7'
,'8'
,'9'
,'10'
,'11'
,'12'
... |
@extends('layouts.admin')
@section('main-content')
<div class="row">
<!-- Content Column -->
<div class="col-lg-8 mb-4">
<!-- Project Card Example -->
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-wei... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Services_controller extends CI_Controller {
public function index()
{
$this->load->helper('html');
$this->load->helper('url');
$this->load->view('services/index');
}
} |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/Parametros for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
nam... |
<?php
/*
* This file is part of the FOSElasticaBundle package.
*
* (c) FriendsOfSymfony <https://friendsofsymfony.github.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FOS\ElasticaBundle\Configuration;
/**
* In... |
<?php
namespace Tests;
use CascadeNamespaced\CascadeNamespaced;
use PHPUnit\Framework\TestCase;
use Tests\TestClasses\Deep\TestClass3;
use Tests\TestClasses\Deep\TestClass4;
use Tests\TestClasses\TestClass1;
use Tests\TestClasses\TestClass2;
/**
* Class CascadeNamespacedTest
*/
class CascadeNamespacedTest extends ... |
<?php
namespace POS;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
protected $table = 'setting';
protected $primaryKey = 'id_setting';
} |
<?php
namespace RectorPrefix20210608;
if (\class_exists('t3lib_collection_Sortable')) {
return;
}
class t3lib_collection_Sortable
{
}
\class_alias('t3lib_collection_Sortable', 't3lib_collection_Sortable', \false); |
<?php
namespace App\Modules\News\Transformers;
use App\Modules\News\Models\News;
use App\Modules\News\Repositories\NewsRepository;
use League\Fractal\TransformerAbstract;
class NewsTransformer extends TransformerAbstract
{
public function transform(News $record)
{
$data = [
'id' => (int)$... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
include "../oreo/Oreo.Cron.php";
include './oreo_static.php';
if ($islogin == 1) {
} else {
exit("<script language='javascript'>window.location.href='./login.php';</script>");
}
?>
<div class="page-content-wrapper ">
<div class="container-fluid">
... |
<?php
function f1() {
$i = 0;
$foo = array(1,2,3,4);
foreach ($foo as $key => &$val) {
yield null;
echo "key=$key val=$val\n";
if($val == 2) {
$foo[$key] = 0;
}
else if($val == 3) {
unset($foo[$key]);
}
else {
$val++;
}
++$i;
if ($i >= 20)
break;
}
va... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Traits\Uuids;
class Pembelian extends Model
{
use HasFactory,Uuids;
protected $table = 'pembelian_koperasi';
public $incrementing = false;
public $timestamps = false;
} |
<?php
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use BackendBun... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="">
<div class="">
<div class="card">
<div class="card-header">
<h4 class="pull-left">
Dashboard
</h4>
<but... |
<?php
/* forms/fields/tab/tab.html.twig */
class __TwigTemplate_4464a99659ef83c9ce4b9c5c26dc0a57da6bf0e38a35acd64511c9af96e507a2 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines http://www.simplemachines.org
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
*/
if (!defined('SMF'))
die('Hacking attempt... in '.__FILE__.' at l.'.__LINE... |
@extends('layouts.app')
@section('content')
<link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="Stylesheet"></link>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js" ></script>
<div class="clearfix">... |
<?php if (isset($component)) { $__componentOriginal5518e5dbd0d2f249382fceb35002484a4efcccb8 = $component; } ?>
<?php $component = $__env->getContainer()->make(ASK\Svg\Components\SvgComponent::class, []); ?>
<?php $component->withName('zondicon-flag'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComp... |
<?php
/**
* Created by PhpStorm.
* User: Nicky
* Date: 2017/7/17
* Time: 1:16
*/
namespace app\Controllers;
class Controller extends \core\FiiPHP{
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Image extends Model
{
//
} |
<?php
class Setting_DatabaseController extends Zend_Controller_Action {
public function init()
{
/* Initialize action controller here */
header('content-type: text/html; charset=utf8');
}
public function indexAction()
{
$db = new Setting_Model_DbTable_DbLabel();
$data = $db->getAllSystemSe... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Logiccomposer\V20181212\Models;
use AlibabaCloud\Tea\Model;
class ListInvocationLogsResponse extends Model
{
/**
* @var string[]
*/
public $headers;
/**
* @var ListInvocationLogsResponseBody
*/
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/compute/v1/compute.proto
namespace Google\Cloud\Compute\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
*
* Generated from protobuf message <code>g... |
<?php
/*
* This file is part of the iidestiny/flysystem-oss.
*
* (c) iidestiny <iidestiny@vip.qq.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Iidestiny\Flysystem\Oss\Plugins;
use League\Flysystem\Plugin\AbstractPlugin;
class... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Requests\ServicioRequest;
use App\Http\Requests\UpdServicioRequest;
use App\Http\Controllers\Controller;
use App\TipoServicio;
use App\Servicio;
use App\Componente;
use App\ComponenteServicio;
use App\User;
use App... |
@extends('layouts.admin')
@section('title','三创网后台——科技成果列表')
@section('content')
<!--面包屑导航 开始-->
<div class="crumb_warp">
<!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台,建站的首选工具。-->
<i class="fa fa-home"></i> <a href="{{url('admin/info')}}">首页</a> » 科技成果
</div>
<!--面包屑导航 结束-->
<!--搜索... |
<?php defined('BASEPATH') or exit('No direct script access allowed');
/**
* PyroStreams Core Fields Library
*
* Handles forms and other field form logic.
*
* @package PyroCMS\Core\Modules\Streams Core\Libraries
* @author Parse19
* @copyright Copyright (c) 2011 - 2012, Parse19
* @license http://parse19.com/p... |
<?php
class API extends CI_Controller {
public function login()
{
$this->load->model('User_model', 'user_model', TRUE);
$post = array($_POST['email'], $_POST['password']);
$userInfo = $this->user_model->checkLoginAPI($_POST['email'], $_POST['password']);
if ($userInfo)
... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use App\Models\Settings;
class InvoiceMail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
... |
<?php
/**
* Checkout.com Apiservices\Sharedmodels\Address.
*
* PHP Version 5.6
*
* @category Api Services
* @package Checkoutapi
* @license https://checkout.com/terms/ MIT License
* @link https://www.checkout.com/
*/
namespace com\checkout\Apiservices\Sharedmodels;
/**
* Class Address.
*
* @category Api ... |
@extends('layouts.app')
@section('title', 'Users - Create')
@section('content-title', 'Create User')
@section('content-body')
@include('partials.errors-validation')
<div class="card ">
<div class="card-header">
<h3 class="card-title"><strong>Create User</strong></h3>
</div>
... |
<?php
/*
* OpenShiftAPIWithKubernetesLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
namespace OpenShiftAPIWithKubernetesLib\Models;
use JsonSerializable;
/**
* HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.
*/
class V2alpha1HorizontalPodAutos... |
<?php
namespace backend\controllers;
use Yii;
use yii\helpers\Url;
use common\models\Statistics;
use common\models\StatisticsSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* StatisticsController implements the CRUD actions for Statistics model.
*/
class Statistic... |
<?php
/**
* Copyright 2018 Klarna Bank AB (publ)
*
* 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 ... |
<?php
// Service List
?>
<?php if (get_field('service_intro_title') || get_field('service_intro_text')) : ?>
<section class="section section--services-intro">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h4 class="about__title u-color-primary"><?php the_field('service_intro_ti... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateCustomerRequest;
use App\Model\City;
use App\Model\Customer;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
class CustomerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Il... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
namespace Cafesource\Option;
class Option
{
/**
* @var Manager
*/
protected static Manager $manager;
public function __construct( $config )
{
self::$manager = new Manager($config);
}
/**
* @return Manager
*/
public static function manager()
{
... |
@extends('layouts.app')
@section('title', 'Teachers')
@section('styles')
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="{{ mix('css/pages/teachers/index.css') }}">
@endsection
@section('content')
<div class="teachers container">
<div class="... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\page\feed@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-10-19T00:54:04+00:00 */
$loaded = true;
$expiration = 1603068844;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YToyOntpOjA7TzoyNzoiRG9jdHJp... |
<?php
namespace AliPay\Request;
/**
* ALIPAY API: zhima.credit.ep.info.get request
*
* @author auto create
* @since 1.0, 2017-10-13 14:33:12
*/
class ZhimaCreditEpInfoGetRequest
{
/**
* 企业工商综合信息查询
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
priva... |
<?php
namespace frontend\controllers;
use frontend\models\LoginForm;
use frontend\models\Member;
use Flc\Alidayu\Client;
use Flc\Alidayu\App;
use Flc\Alidayu\Requests\AlibabaAliqinFcSmsNumSend;
use Flc\Alidayu\Requests\IRequest;
use yii\helpers\Url;
class MemberController extends \yii\web\Controller
{
public $la... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitf1f216b5f1f87956405c711bc337a5bb::getLoader(); |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ConsoleImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('Console_images',fu... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Drug extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'drugs';
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public... |
@include('frontend.head')
@include('frontend.nav')
@include('frontend.setting')
@yield('content')
@include('frontend.script')
@include('frontend.footer') |
@extends('admin.master')
@section('title', 'Dashboard')
<!-- mostrar las diferentes sesiones-->
@section('content')
<div class="container-fluid">
<div class="panel shadow">
<div class="header">
<h2 class="title"><i class="fas fa-home"></i> Dashboard</h2>
</div>
<div class="inside">
ROPA DEPORTIVA SAS
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/monitoring/v3/service.proto
namespace Google\Cloud\Monitoring\V3;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* A `Service` is a discrete, autonomous, and... |
<div class="vertical-nav">
<div class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span cl... |
<?php
$callpage = basename($_SERVER['SCRIPT_FILENAME']);
if($callpage!='index.php' and $callpage !='asindex.php')
echo "<table class=\"fancy\"><tr><td>";
echo "Search server by:";
if(isset($_GET['myip']) and $_GET['myip']=='true')
{ $flag=2;
echo "<b>my IP/AS</b>\n <a href=\"index.php\">IP</a>\n";
... |
<?php
namespace Superciety\ElrondSdk\Domain;
use InvalidArgumentException;
use function BitWasp\Bech32\decode;
use function BitWasp\Bech32\encode;
use function BitWasp\Bech32\convertBits;
class Address
{
const HRP = 'erd';
const SMART_CONTRACT_HEX_PUBKEY_PREFIX = '0000000000000000';
private function __c... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use Auth;
class FollowersController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function store(User $user)
{
$this->authorize('follow', $user);
if ... |
<?php
/**
* Copyright (c) 2011-2013 Antoine Hedgecock.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notic... |
<!-- begin page-header -->
<h1 class="page-header"><?=$header?> <small></small></h1>
<!-- end page-header -->
<!-- begin section-container -->
<!-- begin row -->
<div class="row">
<!-- begin col-8 -->
<div class="c... |
<?php
//********************
//** WEB MIRACLE TECHNOLOGIES
//********************
// get post
$appTable = $_POST['appTable'];
$item_id = $_POST['item_id'];
$lpx = $_POST['lpx'];
$lang_prefix = ($lpx ? $lpx."_" : ""); // empty = en
$query = "SELECT `filename` FROM [pre]total_config WHERE `id`='$item_i... |
<script src="<?php echo base_url().add_index();?>assets/js/bpm_lian.js"></script>
<div class="text-right">
<button type="button" class="btn btn-secondary gModal-btn" data-business_id="<?=$business->id?>" data-id="<?=$ld->id?>" data-lessor_id="<?=$l->id?>" data-gaction="edit_lessor" data-base_url="<?=base_url().add_... |
<?= $this->extend('templates/v_super'); ?>
<?= $this->section('content'); ?>
<!-- Begin Page Content -->
<div class="container-fluid">
<?php
use CodeIgniter\Encryption\Encryption;
$config = new \Config\Encryption();
$config->key = base64_encode(Encryption::createKey(32));
$encryption = new CodeIg... |
<?php
return [
'interfaces' => [
'google.cloud.compute.v1.TargetHttpsProxies' => [
'Delete' => [
'longRunning' => [
'additionalArgumentMethods' => [
'getProject',
],
'getOperationMethod' => 'get'... |
<?php
class ProfessorDAO {
private $con;
function __construct($con) {
$this->con = $con;
}
function login($matricula, $senha) {
$senhaMD5 = md5($senha);
$matriculaEscape = mysqli_real_escape_string($this->con, $matricula);
$query = "select * from professores where matr... |
<?php
declare(strict_types=1);
namespace App\Ebcms\UcenterWeb\Middleware;
use App\Ebcms\Admin\Traits\ResponseTrait;
use App\Ebcms\Ucenter\Model\User;
use Ebcms\App;
use Ebcms\Router;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\... |
<?php defined('ABSPATH') or die('NOPE');
/*
Plugin Name: Meetup Registration
Plugin URI: https://github.com/caleano/Freifunk-Wordpress-Meetup-Register
Description: Ein Wordpress Plugin für Freifunk Frankfurt um sich fürs Meetup anzumelden
Version: 1.0.1
Author: Igor Scheller <igor.scheller@igorshp.de>
Author URI: http... |
<!-- Header -->
<header class="header trans_300">
<!-- Top Navigation -->
<div class="top_nav">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="top_nav_left">buying with ease</div>
</div>
<div class="col-md-6 text-right">
<div class="top_nav_right">... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\IoTCC\V20210513\Models;
use AlibabaCloud\SDK\IoTCC\V20210513\Models\ListConnectionPoolIpsResponseBody\connectionPoolIps;
use AlibabaCloud\Tea\Model;
class ListConnectionPoolIpsResponseBody extends Model
{
/**
* @var con... |
<?php
namespace Arkade\Apparel21\Actions;
use GuzzleHttp;
use Arkade\Apparel21\Parsers;
use Arkade\Apparel21\Entities;
use Arkade\Apparel21\Contracts;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class GetProduct extends BaseAction implements Contracts\Action
{
/**
* Appare... |
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... |
<!DOCTYPE html>
<html
manifest="<?php print $rwb_path_relative_to_request_path ?>/rwb.appcache?hash=<?php print rwb_appcache_get_hash() ?>">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, user-scalable=yes">
<title><?php print self::$website_title ?></title>
<?php pr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDatosPersonalsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('datos_pe... |
<?php
namespace App\Http\Controllers;
use App\Models\PurchaseRequisition;
use App\Models\Employee;
use App\Models\Item;
use App\Models\Product;
use Illuminate\Http\Request;
class PurchaseRequisitionController extends Controller
{
public function index()
{
$prs = PurchaseRequisition::with('employee')-... |
<?php
namespace Alluco\DataBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as ... |
@extends('layouts.front')
@section('seo')
<title>{{$seo->title}}</title>
<meta charset="UTF-8">
<meta name="description" content="{{$seo->description}}">
<meta name="keywords" content="{{$seo->keywords}}">
@endsection
@section('content')
<br><br><br><br><br><br><br>
<div id="all">
<div id="content">
... |
<?php
namespace SofaChamps\Bundle\BowlPickemBundle\Controller;
use JMS\SecurityExtraBundle\Annotation\Secure;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use SofaChamps\B... |
<!DOCTYPE HTML>
<html>
<body>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<!-- container -->
<div class="container">
<div class="page-header">
<h1>Update Product</h1>
</div>
<?php
$host = "localhost";
$db_name = "CU... |
<?php
/**
* Test Generated example demonstrating the MembershipType.create API.
*
* @return array
* API result array
*/
function membership_type_create_example() {
$params = [
'name' => '40+ Membership',
'description' => 'people above 40 are given health instructions',
'member_of_contact_id' => 7,
... |
<?php
/**
* 获取客户端IP地址
* @param integer $type 返回类型 0 返回IP地址 1 返回IPV4地址数字
* @param boolean $adv 是否进行高级模式获取(有可能被伪装)
* @return mixed
*/
//function get_client_ip($type = 0,$adv=false) {
// $type = $type ? 1 : 0;
// static $ip = NULL;
// if ($ip !== NULL) return $ip[$type];
// if($adv){
// ... |
<?php
namespace App\Console\Commands;
use App\Transaction;
use Illuminate\Console\Command;
use DB;
use Carbon\Carbon;
use Mail;
class SyncTransactions extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'sync:transactions';
... |
<!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">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'La... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
class File extends Model
{
use HasFactory;
public static function createFile($request,$attr,$directory,$name = null){... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class InStockController extends Controller
{
public function index()
{
return view('in-stock');
}
} |
@extends('layouts.frontend')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
@if ... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
class Swift_Bug35Test extends \PHPUnit\Framework\TestCase
{
protected function setUp()
{
Swift_Preferences::getInstance()->setCharset('utf-8');
}
public function testHTMLPartAppearsLastEvenWhenAttachmentsAdded()
{
$message = new Swift_Message();
$message->setCharset('... |
<?php
use Illuminate\Database\Seeder;
class TipoComercioSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<!DOCTYPE html>
<html>
<head>
<title> Teesign Admin </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js... |
@include('admin.layouts.header')
@include('admin.layouts.aside')
<div id="content" class="app-content" role="main">
<div class="app-content-body ">
<div class="hbox hbox-auto-xs hbox-auto-sm">
<div class="col">
<!-- main header -->
<div class="bg-light lter b-b w... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('messages', fun... |
<?php
/**
* Created by PhpStorm.
* User: gusis
* Date: 4/13/2016
* Time: 4:02 AM
*/
defined('BASEPATH') OR exit('No direct script access allowed');
class Terms extends CI_Controller
{
public function index()
{
$this->load->view('header');
$this->load->view('menu');
$this->load->vie... |
@extends('layouts.register')
@section('content')
<h4>New here?</h4>
<h6 class="font-weight-light">Join us today! It takes only few steps</h6>
<form class="pt-3" method="POST" action="{{ route('register') }}" aria-label="{{ __('Register') }}">
@csrf
<div class="form-group">
<label>{{ __('Name') }}</label>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cadastro de Aluno</title>
</head>
<body>
<!-- cria os campos para o usuário-->
<form name= "cadastro" method= "post" action="cadastrar.php">
Codigo: <inpu... |
<?php
namespace LaraDev\Http\Requests\Admin;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth;
class Property extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
@extends('backend.layouts.master')
@section('title', 'Profil Pengguna - Pramuka Lumajang')
@section('container')
<section id="main-content">
<section class="wrapper">
<!-- page start-->
<div class="row">
<div class="col-sm-12">
<secti... |
<?php
namespace app\models\query\traits;
/**
* Trait UserTrait
* @package app\models\query\traits
*/
trait UserTrait {
/**
* wenn user id gleich id
* @param $id
* @return $this
*/
public function user($id){
return $this->andWhere(['user_id' => $id]);
}
} |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreUserRequest;
use App\Http\Requests\UpdateUserRequest;
use App\Models\Role;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
use Symfony\Component\HttpFoundation\Response;
class UsersController extends Controller
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.