text stringlengths 2 1.03M |
|---|
<?php
return [
'adminEmail' => 'admin@example.com',
'admin' => 'pvpali@bk.ru',
'max' => '7',
'maxLimit' => '150',
]; |
<?php
/**
* @package Joomla.Platform
* @subpackage String
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Joomla Platform String Normalize Class
*... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">ADMIN Dashboard</div>
<div class="panel-body">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Pagemodule;
use App\Models\Pageintro;
class JoinourteamController extends Controller
{
public function joinus()
{
$pageintro = Pageintro::where('page_name', 'joinourteam')->first();
$pagemodules = Pagemodule::w... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Dashboard extends Model
{
protected $table = 'Periode';
protected $guarded = ['created_at', 'updated_at'];
public $timestamps = true;
protected $primaryKey = 'id_periode';
} |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Profile;
use App\History;
use Carbon\Carbon;
class ProfileController extends Controller
{
public function add()
{
return view('admin.profile.create');
}
public function create(Reque... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
<?php
namespace App\Http\Livewire\Dasawisma;
use App\Models\DataPenduduk;
use App\Models\Keluarga;
use App\Models\Warga;
use Livewire\Component;
class Create extends Component
{
public $currentStep = 1, $nik, $nama;
public $no_dasawisma, $no_reg, $akseptor_kb, $kegiatan_posyandu, $program_bkb, $tabungan, $ke... |
@extends('layouts.business.master')
@section('content')
<div class="header bg-blue pb-6">
<div class="container-fluid">
<div class="header-body">
<h6 class="h2 text-white d-inline-block mb-5">Training Videos</h6>
</div>
</div>
</div>
<!-- Page conten... |
@extends('admin.admin_master')
@section('admin')
<div class="container-full">
<!-- Content Header (Page header) -->
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-8">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Produto extends Model
{
protected $fillable = array('nome_produto', 'preco_produto', 'imagem_produto', 'descricao_produto');
protected $table = 'produtosgv';
public $timestamps = false;
} |
<?php
// +---------------------------------------------------------------------+
// | OneBase | [ WE CAN DO IT JUST THINK ] |
// +---------------------------------------------------------------------+
// | Licensed | http://www.apache.org/licenses/LICENSE-2.0 ) |
// +----------... |
<?php
//Set the session cookie name.
session_name("UNL_Visitorchat_Session");
/**
* IE8+ does not allow for cookies to be passed with its XDomainRequest.
* So use a work around instead.
*/
if (isset($_GET['PHPSESSID']) && $_GET['PHPSESSID'] != "false") {
session_id($_GET['PHPSESSID']);
}
session_start();
if (... |
@extends('navbarsbootsdtrap')
@section('content')
<!DOCTYPE html>
<html lang="en">
<head>
<title>Realme X2</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<s... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class BillPending extends Notification
{
use Queueable;
private $pendingBills;
/**
* Create a n... |
<?php
function my_admin_menu() {
add_menu_page(
__( 'Sample page', 'my-textdomain' ),
__( 'Sample menu', 'my-textdomain' ),
'manage_options',
'sample-page',
'my_admin_page_contents',
'dashicons-schedule',
3
);
}
add... |
<?php
namespace Tinify;
class Client {
const API_ENDPOINT = "https://api.tinify.com";
private $options;
public static function userAgent() {
$curl = curl_version();
return "Tinify/" . VERSION . " PHP/" . PHP_VERSION . " curl/" . $curl["version"];
}
private static function caBund... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
use Jenssegers\Mongodb\Schema\Blueprint;
class CreateWorldDivisionsLocaleTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('wor... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Test2 extends Model
{
//
} |
<?php
/**
* Created by PhpStorm.
* User: Emal Isuranga
* Date: 2018-02-11
* Time: 10:43 PM
*/
class modelUser extends CI_Model
{
function insertData(){
$data= array(
'fname'=>$this->input->post('fname',TRUE),
'lname'=>$this->input->post('lname',TRUE),
... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\web\View;
/* @var $this yii\web\View */
/* @var $model app\models\TriviaHead */
$this->title = 'Crear Proveedor';
$this->params['breadcrumbs'][] = ['label' => 'Administración de Proveedor', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;... |
<?php
/*
* This file is a part of Mibew Messenger.
*
* Copyright 2005-2018 the original author or authors.
*
* 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.o... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('roles')->insert([
[
'role' =>... |
<div id="edit_size" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<div class... |
</div><!-- /.container -->
</div><!-- /.content-wrapper -->
<footer class="main-footer">
<div class="container">
<div class="pull-right hidden-xs">
</div>
<center><strong>Copyright © 2016 <a href=""></a>.</strong>All rights reserved.</center>
</... |
<?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::create('authors', function (Blu... |
<?php
namespace Ycs77\NewebPay\Test;
use Carbon\Carbon;
use Illuminate\Contracts\Config\Repository as Config;
use Mockery as m;
use Mockery\MockInterface;
use PHPUnit\Framework\TestCase as BaseTestCase;
class TestCase extends BaseTestCase
{
public function setTestNow()
{
Carbon::setTestNow(Carbon::cr... |
<?php
namespace Album;
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Album\Model\Album;
use Album\Model\AlbumTable;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\TableGateway\TableGateway;
class Module implements AutoloaderProviderInterface... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTeachersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teachers', fun... |
<?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... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', 'Dashboard')</title>
<meta content="" name="description">
<m... |
<?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::create('books', function (Bluep... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTeacherImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teacher_i... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src'),
'Parsedown' => array($vendorDir . '/erusev/parsedown'),
'Mockery' => array($vendorDir . '/mockery/moc... |
<!DOCTYPE html>
<html>
<head>
<title>Welcome to falgun framework</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
margin: 1em;
}
.tips {
margin: 1e... |
<?php
/**
* Controller genrated using LaraAdmin
* Help: http://laraadmin.com
*/
namespace App\Http\Controllers;
use App\Http\Requests;
use Illuminate\Http\Request;
/**
* Class HomeController
* @package App\Http\Controllers
*/
class HomeController extends Controller
{
/**
* Create a new controller inst... |
<?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core;
/**
* Class BaseModule
*
* Provides a foundation for module configura... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class m_siswa extends CI_Model {
public function getData()
{
return $this->db->get('siswa');
}
public function addData()
{
$data = array(
'nama' => $this->input->post('nama', true),
... |
<!-- General JS Scripts -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
namespace SquareConnect\Model;
/**
* V1ListEmployeeRolesRequestTest Class Doc Comment
*
* @category Class
* @package SquareConnect
* @au... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class User extends CI_Controller
{
public function __construct()
{
// Call __cunstruct funtion from parent class
Parent::__construct();
// Call is_logged_in helper from idm_helper to check session adn user role. This helper can be found in ... |
<script type="text/javascript" src="/plugins/moment/moment.min.js"></script>
<script type="text/javascript" src="/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<link rel="stylesheet" type="text/css" href="/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" media="scr... |
@extends('layouts.master')
@section('asset')
@parent
@endsection
@section('title', 'Manga Update')
@section('content')
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h2>Manga Management</h2>
</div>
<p>Please fill this form and submit to update a manga... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = strip_tags(htmlspecialchars($_POST['name'])... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Auth extends CI_Controller
{
public function index()
{
$this->form_validation->set_rules('email', 'Email', 'required|trim|valid_email');
$this->form_validation->set_rules('password', 'Password', 'required|trim');
... |
<?php $this->load->view('header') ?>
<h1>New Ticket</h1>
<?php $this->load->view('tickets/form') ?>
<?php $this->load->view('footer') ?> |
<?php
require 'connect.php';
if (isset($_POST['login'])) {
$email = mysqli_real_escape_string($conn, $_POST['email']);
$password = mysqli_real_escape_string($conn, $_POST['password']);
$error_message = "";
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$error_message .= "Please enter a va... |
<?php
$header = array('title' => 'Email alert Settings');
$this->load->view('includes/header', $header);
?>
<body>
<?php $this->load->view('includes/pages_inner_header');?>
<div class="full-row deshbord">
<div class="container-fluid">
<div class="row">
<div class="col-md-1 col-xl-2 bg-primary">
<?php $t... |
<?php
final class DrydockManagementReleaseAllResourcesWorkflow
extends DrydockManagementWorkflow {
protected function didConstruct() {
$this
->setName('release-all-resources')
->setSynopsis(pht('Release all open resources.'));
}
public function execute(PhutilArgumentParser $args) {
$viewe... |
<?php
/* FOSUserBundle:Group:edit.html.twig */
class __TwigTemplate_934fe3f65a8415e8cd06d33cd4fe035f2fc3d934f10f144e1e05c9fea1f02f1f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("FO... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Buku_model extends CI_Model
{
//manajemen buku
public function getBuku()
{
return $this->db->get('buku');
}
public function bukuWhere($where)
{
return $this->db->get_where('buku', ['id'=>$where]);
}... |
<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Framework\TestStatus;
/**
* @no-named-arguments... |
@extends('frontend.master.master')
@section('content')
<!-- main -->
<div class="colorlib-shop">
<div class="container">
<div class="row">
<div class="col-md-9 col-md-push-3">
<div class="row row-pb-lg">
@foreach ($products as $product)
<div class="col-md-4 text-center">
... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/7/14
* Time: 10:56
*/
namespace app\admin\controller;
class Categoryad extends Base
{
//左图关联栏目列表
public function lst()
{
//查询所有关联图片
$join = [
['category cy','ad.category_id = cy.id']
];
$... |
<?php
namespace tests\app\models;
use app\exceptions\ConfigException;
use app\libraries\Core;
use app\libraries\FileUtils;
use app\libraries\IniParser;
use app\libraries\Utils;
use app\models\Config;
class ConfigTester extends \PHPUnit\Framework\TestCase {
private $core;
private $temp_dir = null;
privat... |
@extends('layouts.admin')
@section('title','Edit Posting')
@section('content')
<section class="pcoded-main-container">
<div class="pcoded-content">
<!-- [ breadcrumb ] start -->
<div class="page-header">
<div class="page-block">
<div class="row align-items-center">
... |
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Closure;
class PageActive extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return stri... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Permission extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->model('querymodel');
$this->load->model('searchmodel');
$this->load->config('ws_permission', true);
$this->__config = $t... |
<?php
/**
* 日志类
* User: cf8
* Date: 18-3-22
* Time: 上午10:34
*/
namespace common\components;
class Log
{
} |
<?php
/**
* @author jan huang <bboyjanhuang@gmail.com>
* @copyright 2016
*
* @link https://www.github.com/janhuang
* @link http://www.fast-d.cn/
*/
namespace Uniondrug\Swoole\Server;
use swoole_http_request;
use swoole_server;
use swoole_websocket_frame;
use swoole_websocket_server;
use Uniondrug\S... |
<?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Modules\Toolbar;
use Hubzero\Module\Module;
/**
* Module class for displaying component toolbar
*/
class Helper extends Module
{
/**
* Display modu... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
?>
<?php $form = ActiveForm::begin(['action' => Yii::$app->urlManager->createUrl(['site/search']),'fieldConfig' => ['options' => ['tag' => false]]], ['fieldConfig' => ['options' => ['tag' => false]]]) ?>
<?= Html::submitBu... |
<?php
include_once 'includes/db_connect.php';
include_once 'includes/functions.php';
// include_once 'includes/Doctor.inc.php';
sec_session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Doactors's patient list</title>
<script type="text/JavaScript" src="js/sha512.js"></script>
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Asset;
use Symfony\Component\Asset\Context\ContextInt... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProduitsCategories extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('produits'... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTbKunjunganKbTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tb_kunjun... |
<?php
// 에러메세지 출력 : ini_set('display_errors',1); 오류메세지 끄기 : ini_set('display_errors',0);
error_reporting(E_ALL);
ini_set('display_errors',0);
include $_SERVER['DOCUMENT_ROOT'].'/common/dbcon.php';//데이터베이스 접속
// $_SERVER['HTTP_USER_AGENT'] : php 접속 환경 정보에 strpos(문자열 포함 확인 함수)로 Androi가 있는지 확인
$andro... |
<?php
namespace Oro\Bundle\DataGridBundle\Datagrid;
use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\PropertyInterface as Property;
use Oro\Bundle\DataGridBundle\Datagrid\Guess\ColumnGuess;
class DefaultColumnOptionsGuesser extends AbstractColumnOptionsGuesser
{
/** @var array */
protected $typeToF... |
<?php
/**
* Description of LogDAO
*
* @author mrvipaji.ao
*/
class LogDAO {
private $pdo;
public function __construct() {
$this->pdo = Model::conectar();
}
public function salvar(Log $log) {
$this->pdo->beginTransaction();
try {
$stmt = $this->pdo->prepare(
... |
@extends('user.dashboard')
@section('contentUser')
<section class="container">
@forelse($data as $d)
<div class="row item-box mb-4">
<div class="col-12">
<div class="col">
<p class="title mb-0">Nomor Pesanan : {{$d->id}}</p>
... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pa... |
<!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
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Charts\CoronaChart;
use App\Charts\StatChart;
use Illuminate\Support\Facades\Http;
use Datatables;
class CoronaController extends Controller
{
public function index()
{
$suspect_indo = collect(Http::get('https://api.kawalcoron... |
<?php
namespace MahbodHastam\Linstaller\Tests\Feature;
use MahbodHastam\Linstaller\Helpers\CheckPermissions;
use MahbodHastam\Linstaller\Helpers\CheckRequirements;
use MahbodHastam\Linstaller\Tests\TestCase;
class LinstallerTest extends TestCase {
public function test_check_permissions() {
$check = (new CheckPe... |
<?php
namespace TusPhp\Tus;
use Ramsey\Uuid\Uuid;
use TusPhp\File;
use Carbon\Carbon;
use TusPhp\Config;
use TusPhp\Exception\TusException;
use TusPhp\Exception\FileException;
use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\Exception\ClientException;
use TusPhp\Exception\ConnectionException;
use GuzzleHttp\Exce... |
<?php
use yii\grid\GridView;
?>
<div class="row">
<div class="col-md-12">
<?= GridView::widget([
'dataProvider' => $dataProvider,
'columns' => [
'id',
'text_',
[
'label' => 'Тест',
'value' => '... |
@extends('layouts.master')
@section('title')
Laravel Shopping Cart
@endsection
@section('content')
@foreach($products->chunk(3) as $productChunk)
<div class="row">
@foreach($productChunk as $product)
<div class="col-sm-6 col-md-4">
<div class="img-thumbnail">
<img src="{{ $product->imagePath }}" ... |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* 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 m... |
<?php
namespace App;
use App\BaseModel;
use Illuminate\Database\Eloquent\SoftDeletes;
class Sales extends BaseModel
{
use SoftDeletes;
protected $guarded = [];
public static function rule(){
return [
// Define rule here to display data on datatable and generate form builder
... |
<?php
return [
"MiniIcons" => [
"items" => [
],
"medias" => [
],
"name" => "MiniIcons",
"description" => "",
"group" => "",
"format" => "SOURCE",
"quality" => 85,
"highResolution" => NULL,
"preserveColor" => FALSE,
"... |
<?php
/**
* Copyright 2017, Cake Development Corporation (http://cakedc.com)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2017, Cake Development Corporation (http://cakedc.com)
* @license MIT License (http://www.opensource.org/lic... |
<?php
namespace App\Http\Services;
use App\User;
use Auth;
Class AuthService
{
function __construct()
{
$this->user = new User();
}
function register($request)
{
$user = $this->user->create([
'name' => $request['name'],
'email' => $request['email'],
... |
<?php
/**
* This file is part of the KDN OZG package.
*
* @author Gert Hammes <info@gerthammes.de>
* @copyright 2020 Gert Hammes
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Admin;
use App\Admin\Traits\Addres... |
<?php
namespace Lfyw\FileManager\Exceptions;
class FileNotExistException extends Exception
{
} |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// Users
\App\Models\User::factory(10)->create();
// Database seeder for c... |
@extends('backend.layouts.app')
@section('title')
Xuất Xứ
@endsection
@section('page-header')
<h1>
Xuất Xứ
<!-- <small>CÁC CHỦ ĐỀ VÀ LOẠI HOA</small> -->
</h1>
@endsection
<!-- noi dung can thay doi o giua -->
@section('content')
<a href="{{ route('xuatxu.create') }}">Thêm Xuất Xứ<... |
@extends('layouts.app')
@section('content')
@if(Session::has('success'))
<div class="row">
<div class"col-sm-6 col-md-4 col-md-offset-4 col-sm-offset-3">
<div class="alert alert-success" id="charge-message">
{{Session::get('success')}}
</div>
</div>
</div>
@endif
<h1 class="pull... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-12">
<h1>Edit Post: {{ $post->title }}</h1>
</div>
<div class="col-12">
<form action="{{ route('posts.update', $post) }}" method="post">
@csrf
@method('patc... |
<?php
use Illuminate\Database\Seeder;
class messageSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$message=new \App\Message([
'sender_id'=>2,
'receiver_id'=>1,
'message_body' => 'having trobule',
... |
<?php |
<!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 rel="stylesheet" href="{{ asset('recursos/styleEmisor.css') }}">
<link rel="stylesheet" href="{{ asset('re... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
* Convert Language File
* $Id: utility/convert/language/lang.php by Valery Votintsev, codersclub.org
*/
$lang = array(
'config_dbhost' => '數據庫服務器',//'Database server',
'config_dbuser' =... |
<?php
namespace com\syamgot\php\serializer {
require_once __DIR__ . '/AbSerializer.php';
require_once __DIR__ . '/ISerializer.php';
use com\syamgot\php\serializer\AbSerializer;
use com\syamgot\php\serializer\ISerializer;
/**
*
* DEFLATEフォーマットによるシリアライズ機能を提供します。
*
* @package serializer
* @author ... |
<?php
return array (
'ali_key' => '1',
'ali_secret' => '1',
'ali_sign' => '1',
'ali_template' =>
array (
'register' => 'SMS_114000000',
'resetpwd' => 'SMS_114000000',
'changepwd' => 'SMS_114000000',
'profile' => 'SMS_114000000',
),
); |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInita4c1149eb2cedb44b1cff8ba6ea4bae6::getLoader(); |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Movie;
use Faker\Generator as Faker;
$factory->define(Movie::class, function (Faker $faker) {
return [
'name'=> $faker -> name(),
'subtitle'=> $faker -> word(),
'release_date' => $faker -> date(),
];
}); |
<?php
namespace App\Services\Shop;
class Search
{
private $server;
/**
* @var int|null
*/
private $category;
/**
* @var string|null
*/
private $name;
/**
* @var string|null
*/
private $valute;
/**
* Search constructor.
*
* @param int|n... |
<?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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.