text stringlengths 2 1.03M |
|---|
<h1>Hello Config</h1> |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... |
<div class="row">
<div class="col-lg-6">
<div class="flash-data" data-flashdata="<?= $this->session->flashdata('flash'); ?>"></div>
<?php
// if ($this->session->flashdata('sukses')) {
// echo $this->session->flashdata('sukses');
// }
echo validation_errors('<... |
<?php
namespace App\Http\Controllers;
use App\Export;
use Carbon\Carbon;
use Maatwebsite\Excel\Facades\Excel;
class ExporterController extends Controller
{
public function __construct (){
set_time_limit(0);
ini_set('max_execution_time',3000);
ini_set('memory_limit', '256M');
}
p... |
<?php
/*
* This file is part of Laravel Subscribe.
*
* (c) Goran Krgovic <gorankrgovic1@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Gox\Contracts\Subscribe\Subscriber\Models;
use... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace Green\Request\V20161222;
/**
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
*
* Request of ImageDetection
*
*/
class ImageDetectionRequest extends \RoaAcsRequest
{
/**
* @var string
*/
protected $uriPattern = '/image/detection';
/**
* @var string
... |
<?php
namespace TYPO3\Fluid\Tests\Unit\ViewHelpers\Security;
/*
* This file is part of the TYPO3.Fluid package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed wit... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function(Blueprint $table) {
$table->increments('post_id');
... |
<?php
use common\models\search\Orders;
/* @var $this yii\web\View */
/* @var $searchModel Orders*/
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Заказы';
$this->params['breadcrumbs'][] = $this->title;
?>
<?= $this->render('../common/order_grid', [
'searchModel' => $searchModel,
'dataPr... |
<?php
?> |
<?php
namespace app\admin\controller\coll;
use app\common\controller\Backend;
/**
*
*
* @icon fa fa-circle-o
*/
class Coll extends Backend
{
/**
* Coll模型对象
* @var \app\admin\model\Coll
*/
protected $model = null;
public function _initialize()
{
parent::_initialize();... |
<?php
namespace app\admin\model\publish;
use app\core\basic\BaseModel;
use app\admin\model\Keyword;
class SoftArticle extends BaseModel{
protected $name = 'soft_article';
/**
* 返回menu数据json
* @return [type] [description]
*/
public static function lists($data){
if(empty($data)){
return self::orde... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
<div id="calhead" class="nonborderbox" style="padding-left:1px;padding-right:1px;">
<div id="caltoolbar" class="ctoolbar">
<div>
<div class="gbtn">
<div id="faddbtn" class="btn btn-primary" style="<?=$readonly?'display: none;':'';?>">สร้าง</div>
<div id="showtodaybtn" class="btn btn-defau... |
@extends('layouts.headerFooter')
@include ('layouts.menuHeader')
@section('content')
<div class="container2">
<div class="banner-data3">
<h1><center>Reporte ingresos Tecnoparque {{$fechaInicial}} - {{$fechaFinal}}</center></h1>
<div>
{!!link_to_route('reporte.index', $title = '', null, $attributes = ['... |
@extends('categories.layout')
@section('title', 'All Categories')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h1>Learning Journal || All Categories</h1>
</div>
<div class="pull-right">
... |
<?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 this softw... |
@extends('layout.appclient')
@section('content')
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="aboutusheads">
<h2>About US</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
<di... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orders', function (Bluep... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddUserNameToCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('comments... |
<?php
/**
* Template_Lite {html_radios} function plugin
*
* Type: function
* Name: radio
* Purpose: Creates a radio button
* Input:
* - name = the name of the radio button
* - value = optional value for the checkbox
* - checked = boolean - whether the box is checked or no... |
<?php
require_once 'AcoesVideo.php';
class Video implements AcoesVideo {
private $titulo;
private $avaliacao;
private $views;
private $curtidas;
private $reproduzindo;
public function Video($tit) {
$this->setTitulo($tit);
$this->setAvaliac... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHeroesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('heroes', functio... |
<?php
use yii\helpers\Html;
$this->title = "Histórico de Aulas";
$this->params['user'] = $user;
$this->params['mensalidadeAtual'] = $mensalidadeAtual;
?>
<div class="panel panel-default">
<div class="panel-body">
<hr>
<div>
<p><label>Histórico de Aulas</label></p>
</div>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBusStoppagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bus_stoppa... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MatchInfo extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->library('session');
$this->load->model('matchinfo_model', 'matchinfo_model');
}
public function index()
{
$id = $_GET['id'];
$is... |
<?php
namespace N98\Magento\Command\Admin\User;
use Exception;
use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\Questi... |
@extends('backEnd.master')
@section('mainContent')
<div class="card">
<div class="card-header">
<strong>All Documents</strong>
</div>
</div>
<div class="col-12">
<div class="row">
<div class="card mr-3">
<div class="card-block" style="padding: 32px;">
<a href="{{ url('doc_list/0/All') }}">
<div cl... |
<?php
namespace app\modules\academica\models;
use Yii;
/**
* This is the model class for table "justifica_pl".
*
* @property integer $clave
* @property string $nombre
*/
class JustificaPl extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
retur... |
<?php
$cs = Yii::app()->getClientScript();
$cssAnsScriptFilesModule = array(
//'/survey/css/mixitup/reset.css',
'/survey/css/mixitup/style.css',
'/survey/js/jquery.mixitup.min.js'
);
HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFilesModule, $this->module->assetsUrl);
$cssAnsScriptFilesModule = array(
... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<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>{{ co... |
<?php
/**
*
*/
class mPendientes extends CI_Model
{
public function getPost(){
return $this->db->get('permiso','persona','pasante');
}
//$cat_carrera,$nombres,$apellidos
public function getPostByName()
{
$this->db->select('f.fecha,f.cat_estado_per, c.cat_carrera, n.nombres,n.apellidos');
$this->db->fro... |
<?php
/*
* 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.
*/
use kartik\widgets\ActiveForm;
use kartik\builder\Form;
$form = ActiveForm::begin();
echo Form::widget([
'model' => $model... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Categoria;
use Faker\Generator as Faker;
$factory->define(Categoria::class, function (Faker $faker) {
return [
'categoria' => $faker->name,
];
}); |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Font Awesome -->
<link rel="stylesheet" h... |
<?php
class Catalog extends Model {
public $table = 'catalog';
public $primary_key = 'id';
function catalog($where='') {
$sql = "SELECT id,name,parent_id,(SELECT name FROM `{$this->table}` WHERE id=t.`parent_id` ) as name_parent FROM `{$this->table}` t ".$where;
return db_get_all($sql);
}
funct... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ck... |
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
use Flarum\Database\Migration;
use Illuminate\Database\Schema\Blueprint;
return Migration::createTable(
'auth_tokens',
function (Bluep... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
/**
* Get the user that owns the note.
*/
public function user()
{
return $this->belongsTo('App\User');
}
} |
<?php
namespace Illuminate\Foundation\Console;
use Illuminate\Console\Command;
use Illuminate\Support\Composer;
use Symfony\Component\Console\Input\InputOption;
class OptimizeCommand extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'optimize';
/*... |
<div id="request_list">
<div class="request_scrollable">
<ul class="nav nav-tabs m-t-15">
<li class="nav-item">
<a class="nav-link active text-center" href="#settings" data-toggle="tab">Settings</a>
</li>
<li class="nav-item">
<a class="nav... |
@extends('layouts.mail')
@section('content')
<div class="mail-heading">
<h1>Jeugdhuis Ter Walle</h1>
<p>{{ $activity->user->first_name }} heeft een nieuwe poll aangemaakt.</p>
</div>
<div class="card">
<div class="card-body">
<h2>{{ $activity->subject->title }}</h2>
<p><span style="display: block;"><s... |
<?php
/**
* This file is part of the Spryker Suite.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Orm\Zed\ProductConfigurationStorage\Persistence;
use Spryker\Zed\ProductConfigurationStorage\Persistence\Propel\AbstractSpyProductConfigurationS... |
<?php
namespace App\Http\Controllers\Admin\TimeTable;
use App\Helper\MyFuncs;
use App\Http\Controllers\Controller;
use App\Model\ClassType;
use App\Model\Section;
use App\Model\TimeTable\ClassPeriodSchedule;
use App\Model\TimeTable\DaysType;
use App\Model\TimeTable\PeriodTiming;
use App\Model\TimeTable\PeriodType;
us... |
<?php
namespace app\models\common;
use Yii;
/**
* This is the model class for table "cities".
*
* @property int $id
* @property string $city
*/
class Cities extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'cities';
} // end fun... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
use Matodor\RegistryConstructor\models\data\Decimal\Settings;
use Matodor\RegistryConstructor\models\data\Decimal\ValueForm;
use Matodor\RegistryConstructor\models\TableField;
use yii\web\View;
use yii\bootstrap4\ActiveField;
use yii\bootstrap4\ActiveForm;
/** @var View $this */
/** @var TableField $field */
/*... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->call(UsersTableSeeder::class);
$this->call(AdvertimentsTableSeeder::class);
$this->call(ClassesTableSeede... |
<?php
// This file is auto-generated. Do not edit! |
<!DOCTYPE html>
<html>
<head>
<?php include 'css.php'; ?>
</head>
<body class="theme-deep-purple">
<?php include 'navigasi.php'; ?>
<?php include 'sidebar.php'; ?>
<section class="content">
<div class="container-fluid">
<form method="get" action="<?php echo base_url('index.php/apoteker/cetakrese... |
<?php
namespace Drupal\Tests\datetime\Kernel\Views;
use Drupal\Tests\SchemaCheckTestTrait;
use Drupal\views\Views;
/**
* Tests the Drupal\datetime\Plugin\views schemas.
*
* @group datetime
*/
class DateTimeSchemaTest extends DateTimeHandlerTestBase {
use SchemaCheckTestTrait;
/**
* {@inheritdoc}
*/
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Public_m extends CI_Model {
public function cartView()
{
$this->db->join('product', 'product.idproduct = cart.product_id', 'left');
return $this->db->get('cart')->result_array();
}
public function cartById($id)
{
return $this->db... |
<?php
namespace App\Recove;
use Illuminate\Database\Eloquent\Model;
use App\ConnectionDB;
class AcuseCove extends Model{
protected $connection = 'default';
protected $table = 'opauimg';
protected $guarded = ['iImageID'];
public $timestamps = false;
public function __construct() {
parent:... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-xs-12 col-md-12 col-lg-10 col-lg-offset-1">
<div class="col-md-4">
<div class="portlet light portlet-fit portlet-form ">
<div class="portlet-title">
<div class="caption font-red">
... |
<?php
namespace models;
use tools\frinkError;
/**
* Test der dynamischen Erweiterung einer Basisklasse ( Subjekt ) um das Interface SplSubject
*
* @author Stephan Krauß
* @copyright Stephan Krauss
* @lisence Stephan Krauß
* @date 16.06.2016
*
* @package models
*/
class extendsSplSubject implements \SplSubject
{
p... |
<?php
namespace Database\Seeders;
use App\Models\Plan;
use Illuminate\Database\Seeder;
class PlansTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Plan::create([
'name' => 'Businers',
'url' => 'busi... |
<?php
class Model_transaction extends CI_Model
{
public function invoice_no()
{
$sql = "SELECT MAX(MID(invoice,9,4)) AS invoice_no FROM sales WHERE MID(invoice,3,6) = DATE_FORMAT(CURDATE(),'%y%m%d')";
$query = $this->db->query($sql);
if ($query->num_rows() > 0) {
$row = $que... |
<footer>
<p class="p-3 bg-dark text-white text-center"><B>@EduPortal</B></p>
</footer> |
<?php
$id=intval($_REQUEST["id"]);
$key=$_REQUEST["key"];
$flag=$_REQUEST["flag"];
if (!preg_match("/^[a-zA-Z0-9_=]+$/", $flag)) die("bad flag format");
if (!preg_match("/^[a-zA-Z0-9]+$/", $key)) die("bad key format");
$data='<?php if($_GET["key"]!="'.$key.'") die("bad key"); echo "'.$flag.'"; ?>';
file_put_conten... |
<?php
/*
* See docs/AUTHORS and docs/COPYRIGHT for relevant info.
* 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 later version.
*
* This program is distributed in the hope that it will be useful,
*... |
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<style>
nav-item:last-child {
margin-right: 15px !important;
}</style>
<nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light"
id="ftco-navbar"
@if(!request()->routeIs('home'))
style="backgro... |
<?php
include realpath("./lib/RunDatabase.php");
include realpath("./lib//RunGame.php");
include realpath("./lib//RunPlayer.php"); |
<!-- Id Field -->
<div class="form-group">
{!! Form::label('id', 'Id:') !!}
<p>{{ $sinhVien->id }}</p>
</div>
<!-- Ma Sinh Vien Field -->
<div class="form-group">
{!! Form::label('ma_sinh_vien', 'Ma Sinh Vien:') !!}
<p>{{ $sinhVien->ma_sinh_vien }}</p>
</div>
<!-- Ten Field -->
<div class="form-group"... |
<?php
namespace CfdiUtilsTests\Validate\Cfdi33\RecepcionPagos\Pagos;
use CfdiUtils\Elements\Pagos10\Pago;
use CfdiUtils\Validate\Cfdi33\RecepcionPagos\Pagos\BancoOrdenanteRfcProhibido;
use CfdiUtils\Validate\Cfdi33\RecepcionPagos\Pagos\ValidatePagoException;
use PHPUnit\Framework\TestCase;
class BancoOrdenanteRfcPro... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder
{
public function run()
{
Model::unguard();
$this->call(PeriodoSeeder::class);
$this->call(GestionSeeder::class);
$this->call(MateriaSeeder::class... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class aplicationtype extends Model
{
//
protected $table = 'aplicationtype';
protected $primaryKey = 'aplicationtype_id';
public function applicationmasters(){
return $this->hasMany('App\Http\Api\applicationmaster','apptype_id'... |
<!DOCTYPE html>
<html>
<head>
<title>Laravel 5.5 Ajax Request example</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.m... |
<?php return array (
'AD-07' => array('name' => 'Андорра-ла-Велья', 'level' => 'parish'),
'AD-08' => array('name' => 'Ескальдес-Енгордань', 'level' => 'parish'),
'AD-05' => array('name' => 'Ордіно', 'level' => 'parish'),
'AD-06' => array('name' => 'Сант-Жулія-де-Лорія', 'level' => 'parish'),
); |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddClientsToBillPay extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('bills_pay', fun... |
<?php
namespace App\Http\Livewire;
use App\Models\Product;
use Gloudemans\Shoppingcart\Facades\Cart;
use Livewire\Component;
use Livewire\WithPagination;
class ShopComponent extends Component
{
use WithPagination;
public $sorting;
public $pagesize;
public function mount()
{
$this->sorti... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use common\widgets\Alert;
$this->title = 'Quên mật khẩu';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="signup">... |
@props(['href' => '#', 'text' => '', 'permission' => false])
<x-utils.link-header :href="$href" class="btn btn-primary btn-sm" icon="fas fa-pencil-alt" :text="$text" permission="{{ $permission }}" /> |
<?php
namespace Omnipay\Stripe\Message;
use Omnipay\Tests\TestCase;
class CancelSubscriptionRequestTest extends TestCase
{
public function setUp()
{
$this->request = new CancelSubscriptionRequest($this->getHttpClient(), $this->getHttpRequest());
$this->request->setCustomerReference... |
<?php
declare(strict_types=1);
namespace Rector\CakePHP\Tests\Rector\Property\ChangeSnakedFixtureNameToPascal;
use Iterator;
use Rector\CakePHP\Rector\Property\ChangeSnakedFixtureNameToPascalRector;
use Rector\Core\Testing\PHPUnit\AbstractRectorTestCase;
use Symplify\SmartFileSystem\SmartFileInfo;
final class Chang... |
<?php
/**
* This file is part of the wangningkai/http.
* (c) wangningkai <i@ningkai.wang>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Http;
class HttpResponse
{
use Macroable {
__call as macroCall;
}
/**
* @v... |
<?php
/**
* Created by IntelliJ IDEA.
* User: chuxiaofeng
* Date: 17/5/23
* Time: 下午12:02
*/
$tcp_pool = new \swoole_connpool(\swoole_connpool::SWOOLE_CONNPOOL_TCP);
$r = $tcp_pool->setConfig([
"host" => "180.97.33.107", // baidu
"port" => 80,
"connectTimeout" => "",
// TODO
"queryTimeout" =>... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\User;
class Seller extends Model
{
use HasFactory;
protected $table = 'sellers';
public function user()
{
return $this->belongsTo(User::class);
}
} |
@extends('layouts.admin.app')
@section('content')
<div class="admin-content">
<div class="am-cf am-padding">
<div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">订单详情</strong> /
<small>Order Detail</small>
</div>
</div>
@include('layo... |
<?php
namespace App\Http\Controllers;
use App\materia;
use Spatie\QueryBuilder\QueryBuilder;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
class MateriaCursoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Respon... |
<?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... |
<aside class="main-sidebar elevation-4 sidebar-dark-info">
<!-- Brand Logo -->
<a href="index3.html" class="brand-link navbar-lightblue">
<img src="<?php echo base_url(); ?>template/dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
style="opacity: .8">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use App\Models\Customer;
class SignupController extends Controller
{
public function index(){
return view('signup');
}
public function signup(Request $request){
$validated = $request->validate([
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Cover;
use App\Gallery;
use App\Schedule;
use App\Product;
use App\Mail\Contact;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Storage;
class HomeController extends Controller
{
public functi... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLeaveRequestHistoryTable extends Migration
{
/**
* Run the migrations.
* @table leave_request_history
*
* @return void
*/
public function u... |
<?php
/**
* Jetpack Compatibility File
*
* @link https://jetpack.me/
*
* @package AgenciaOpen
*/
/**
* Jetpack setup function.
*
* See: https://jetpack.me/support/infinite-scroll/
* See: https://jetpack.me/support/responsive-videos/
*/
function AgenciaOpen_components_jetpack_setup() {
// Add theme support ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFournisseursTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fournisseu... |
@extends('layout.master')
@push('plugin-styles')
{!! Html::style('/assets/plugins/prismjs/prism.css') !!}
@endpush
@section('content')
<div class="row">
<div class="col-xl-10 main-content pl-xl-4 pr-xl-5">
<h1 class="page-title">Alerts</h1>
<p class="lead">Provide contextual feedback messages for typical ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserTypesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_types', function(Blueprint $table){
... |
<?php
namespace App;
use Alfa6661\AutoNumber\AutoNumberTrait;
use Illuminate\Database\Eloquent\Model;
class Pengembalian extends Model
{
use AutoNumberTrait;
protected $table = 'returns';
protected $guarded = [];
public function getAutoNumberOptions()
{
return [
'no_pengemba... |
<?php
return [
'adminEmail' => 'admin@example.com',
'user.apiTokenKey'=>'123456XXXXX',//token生成秘钥
'user.apiTokenTime'=>'2592000',//token有效期
]; |
<?php
/**
* Created by PhpStorm.
* User: zhoutian
* Date: 2019/3/24
* Time: 20:14
*/
namespace app\models;
class Task extends \yii\db\ActiveRecord
{
public function getRecords()
{
return $this->hasMany(TaskRecord::className(), ['task_id' => 'id']);
}
public function getResultText()
... |
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>Fan Pi Network Token</title>
<link rel="icon" href="{{asset('frontend/images/icon.png')}}" type="image/gif" sizes="16x16">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0" name="viewp... |
@extends('layouts.admin')
@section('contenu')
<h4 class="p-4">Emplois L3 Communication</h4>
@foreach($l3com as $l3com)
<div class="d-inline-block m-2" style="margin-top: -25px;">
<span>
<span class="font-weight-bold m-2">{{ $l3com->created_at }}</span>
<a href="">
<button class="btn btn-succ... |
<?php
namespace app\home\controller;
use think\Controller;
use think\Db;
header('Access-Control-Allow-Origin:*');
class Login extends Controller
{
public function index()
{
$data = input('post.');
$result = Db::name('user')
->where('email',$data['email'])
->sel... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<!-- <title>AdminLTE 3 | Dashboard 2</title> -->
<title><?php echo SITE_NAME . ' | ' . u... |
<?php
$ROOT = (!isset($ROOT)) ? "../../../../../" : $ROOT;
require_once($ROOT . "modulos/aplicacion/librerias/Configuracion.cnf.php");
Sesion::init();
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.