text stringlengths 2 1.03M |
|---|
<?php
/**
* Open Source Social Network
*
* @package (openteknik.com).ossn
* @author OSSN Core Team <info@openteknik.com>
* @copyright (C) OpenTeknik LLC
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialn... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\ProcductCategorySearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="procduct-category-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'ge... |
<?php
namespace DrH\Tanda\Console;
use DrH\Tanda\Repositories\Tanda;
use Illuminate\Console\Command;
class RequestStatusCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'tanda:query_status';
/**
* The consol... |
<?php
namespace App\Http\Controllers;
use App\Models\Product;
use Illuminate\Http\Request;
class ProductController extends Controller
{
public function index()
{
$products = auth()->user()->products;
return response()->json([
'success' => true,
'data' => $products... |
<?php
namespace App\Models\User\Forms;
use Illuminate\Database\Eloquent\Model;
use App\UserableNohistory;
class FormsColumns extends Model
{
// 保存時のユーザー関連データの保持(履歴なしUserable)
use UserableNohistory;
// 更新する項目の定義
protected $fillable = ['forms_id', 'column_type', 'column_name', 'required', 'frame_col'... |
<?php
namespace App\Http\Controllers;
use App\Models\AccountSale;
use App\Models\Item;
use App\Models\Purchase;
use App\Models\Sale;
use App\Models\SaleItem;
use Illuminate\Http\Request;
use Auth;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
class DashboardController extends Controller
{
public func... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Cviebrock\EloquentSluggable\SluggableInterface;
use Cviebrock\EloquentSluggable\SluggableTrait;
class PaymentMethod extends Model implements SluggableInterface {
use SoftDeletes, SluggableTrait;
protect... |
<!doctype html>
<html lang="es">
<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">
<title>Titulo - @yield('titulo')</title>
</head>
<... |
<?php
// --------- HAPUS CACHE DISINI ---------
// versi pertama...
header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", fal... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Question extends Model
{
protected $fillable = [
'body', 'form_id'
];
protected $with = ['answers', 'submittedAnswers'];
public function answers() {
return $this->hasMany('App\Answer');
}
public function sub... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Agency extends My_Controller {
/**
* The constructor loads automatically
*/
public function __construct()
{
parent::__construct();
$this->load->model('agency_model');
}
public function index()
{
if($this->input... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
namespace Illuminate\Support\Traits;
use Closure;
use ReflectionClass;
use ReflectionMethod;
use BadMethodCallException;
trait Macroable
{
/**
* The registered string macros.
*
* @var array
*/
protected static $macros = [];
/**
* Register a custom macro.
*
* @par... |
<div class="widget-content-area">
<div class="widget-one">
@include('common.messages')
<div class="row">
<div class="form-group col-lg-4 col-md-4 col-sm-12">
<label for="">Nombre</label>
<input
type="text"
wire:mo... |
<?php
require('rcon.php');
require('settings/setting.php');
$host = $rhost;
$port = $rport;
$pass = $rpass;
$tOut = 5;
$rcon = new Rcon($host, $port, $pass, $tOut);
if(isset($_POST['mcStart'])){
echo "Server starting...";
exec("src/run.sh", $var);
echo "<pre>".... |
@extends('dashboard.layout.master')
@section('section')
<!--begin::Content-->
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
<!--begin::Entry-->
<div class="d-flex flex-column-fluid">
<!--begin::Container-->
<div class="container">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePkgsTable extends Migration
{
private $name = 'pkgs';
private $comment = '패키지';
/**
* Run the migrations.
*
* @return void
*/
public function ... |
<?php
namespace Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane;
use Drupal\commerce\InlineFormManager;
use Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Form\FormStateInterface;
use Symfony\Component\DependencyInj... |
<?php
/**
* @copyright Copyright (c) 2008 Yii Software LLC
* @link http://www.yiiframework.com/
* @license http://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* HtmlPurifier provides an ability to clean up HTML from any harmful code.
*
* Basic usage is the following:
*
* ```php
* echo HtmlPur... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class ArticlesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Article::factory()->count(30)->create();
}
} |
<?php
$params = array_merge(
require __DIR__ . '/../../common/config/params.php',
require __DIR__ . '/../../common/config/params-local.php',
require __DIR__ . '/params.php',
require __DIR__ . '/params-local.php'
);
return [
'id' => 'app-backend',
'basePath' => dirname(__DIR__),
'controllerN... |
@extends('cpadmin.master')
@section('title','List Event')
@section('content')
<section class="content">
<!-- Default box -->
<div class="card">
<div class="card-header">
<h3 class="card-title">Danh sách</h3>
<div class="card-tools">
<a href="{{Route('admin.event.c... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Exception;
use Validator;
use Response;
use DB;
use Form;
use Session;
use App\Models\Settings;
use App\Models\Employee;
use App\Models\DocumentType;
use App\Models\Country;
use App\Models\Document;
use Yajra\Datatables\Datatables;
use Illuminate\Su... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
$this->title = 'Estudiante';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-estudiante">
<h1><?= Html::encode($this->title) ?></h1>
<br>
<a class="btn btn-lg btn-primary" href="http://tuportalpersonal.ueuo.com/web/index.php?r... |
<?php
namespace ChurchCRM\Slim\Middleware\Request;
use ChurchCRM\Calendar;
use ChurchCRM\CalendarQuery;
use ChurchCRM\dto\SystemConfig;
use ChurchCRM\EventQuery;
use ChurchCRM\Map\EventTableMap;
use ChurchCRM\Utils\InputUtils;
use DateTime;
use Propel\Runtime\ActiveQuery\Criteria;
use Slim\Http\Request;
use Slim\Http... |
<?php
/*
** Zabbix
** Copyright (C) 2001-2015 Zabbix SIA
**
** This program 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 2 of the License, or
** (at your option) any later version.
**
** Th... |
<?php
namespace App\Http\Controllers\Api\V1\Admin;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Traits\MediaUploadingTrait;
use App\Http\Requests\StorePharmacyRequest;
use App\Http\Requests\UpdatePharmacyRequest;
use App\Http\Resources\Admin\PharmacyResource;
use App\Models\Pharmacy;
use Gate;
use Il... |
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Clean Blog - Start Bootstrap Theme</title>
<!-- Bootstrap core CSS -->
<link... |
@extends('admin.layouts.admin')
@section('content')
<link rel="stylesheet" href="{{ asset('admin/vendors/datatables.net-bs4/dataTables.bootstrap4.css') }}" />
<link href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Profile extends Model
{
protected $fillable = [
'user_id', 'phone', 'address'
];
} |
<?php
namespace App\Http\Controllers;
use App\User;
use auth;
use Illuminate\Http\Request;
use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;
use Illuminate\Support\Facades\DB;
class PermissionsController extends Controller
{
public function permissions(User $users)
{
$user... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
namespace app\index\controller;
use app\api\model\User;
use app\common\controller\IndexController;
use app\common\model\CommonUtils;
use think\Db;
class Buy extends IndexController
{
protected static $sPermissionArr = [
'buy'=>5,
'commit'=>7,
'tradelist'=>5,
'cancel'=>7,
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class LoginController extends Controller
{
/*
|----------------------------------------------------------------... |
<?php
namespace Google\AdsApi\AdManager\v202202;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ContainerType
{
const TS = 'TS';
const FMP4 = 'FMP4';
const HLS_AUDIO = 'HLS_AUDIO';
const UNKNOWN = 'UNKNOWN';
} |
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="SemiColonWeb" />
<!-- Stylesheets
============================================= -->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,400i,700|Ral... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Tests for \Magento\Framework\Data\Form\Element\Image
*/
namespace Magento\Framework\Data\Form\Element;
class ImageTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Framework\D... |
<?php
class BaseController extends Controller {
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
$this->layout = View::make("layouts.bootstrap");
}
} |
<?php
class Mage2CatalogCategoryEntity extends Mage2CatalogCategoryEntityPeer
{
/**
* Returns the static model of the specified AR class.
* Please note that you should have this exact method in all your CActiveRecord descendants!
* @param string $className active record class name.
* @return Mage2CatalogCateg... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
use Illuminate\Foundation\Http\FormRequest;
class ModelsUserRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
// only... |
<?php
namespace App\Http\Controllers;
use App\Models\Contact;
use Illuminate\Http\Request;
class contactController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$contact = Contact::all();
}
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\modules\resource\models\ResProvince;
/* @var $this yii\web\View */
/* @var $model app\modules\resource\models\ResDistrict */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="res-district-form">
<?php $form = Active... |
<?php
namespace malkusch\bav;
/**
* Implements Exception in 51x
*
* Copyright (C) 2006 Markus Malkusch <markus@malkusch.de>
*
* This program 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 ver... |
<?php
/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
*
* PHPPresentation is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright a... |
<?php
if(file_exists("data/conf/db.php")){
$db=include "data/conf/db.php";
}else{
$db=array();
}
if(file_exists("data/conf/config.php")){
$runtime_config=include "data/conf/config.php";
}else{
$runtime_config=array();
}
if (file_exists("data/conf/route.php")) {
$routes = include 'data/conf/route.php';
} el... |
<?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\Translation\Formatter;
use Symfony\Component\Translat... |
<?php
/**
* Datetime: 31.07.2019 14:03
* @author Timur Kasumov aka XAKEPEHOK
*/
namespace XAKEPEHOK\EnumHelper\Exception;
class OutOfEnumException extends EnumHelperException
{
} |
<?php
namespace Pandoc\Tests\Features;
use Pandoc\Pandoc;
use PHPUnit\Framework\TestCase;
class VersionTest extends TestCase
{
/** @test */
public function pandoc_returns_version()
{
$output = (new Pandoc)->version();
$this->assertTrue(version_compare($output, '2.0.0', '>='));
$t... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\ProductImage;
class UserMembership extends Model
{
use SoftDeletes;
protected $table = 'user_memberships';
/**
* The attributes that should be hidden for arrays.
*... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class SeguroCarga extends MY_Controller {
private $request;
public function __construct() {
parent::__construct();
$this->load->model('Segurocarga_model', 'segurocarga');
}
public function index() {
if( ! $this->verify_min_level(1)){
... |
<?php
namespace Maruamyu\Core;
class Asn1Test extends \PHPUnit\Framework\TestCase
{
public function test_encodeBoolean()
{
$expects1 = pack('C*', 0x01, 0x01, 0x01);
$actual1 = Asn1::encodeBoolean(true);
$this->assertEquals($expects1, $actual1);
$expects2 = pack('C*', 0x01, 0x0... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace SparkQuery\Interfaces;
use SparkQuery\Structure\Join;
interface IJoin
{
/**
* Get array of Join table object
* @return array of Clause object
*/
public function getJoin(): array;
/**
* Get last of Join table or Table object
* @return Join object, Table object, o... |
<!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">
<title>Connected concerts - @yield('title')</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.... |
<?php
/**
* JsonSerialize class
*
* @package Amk\JsonSerialize
*/
namespace Amk\JsonSerialize;
use Exception;
/**
* This class serializes and deserializes a variable in json keeping the class type and saving also private objects
*/
class JsonSerialize extends AbstractJsonSerializeObjData
{
/**
* Retu... |
<?php
// +----------------------------------------------------------------------
// | date: 2016-11-13
// +----------------------------------------------------------------------
// | CosTest.php: 测试 Cos
// +----------------------------------------------------------------------
// | Author: yangyifan <yangyifanphp@gmai... |
@extends('layouts.app')
@section('content')
<div class="container my-5 pt-5 text-center">
<h3 class="mt-5 pt-3">Il tuo pagamento è stato effettuato con successo!</h3>
<h4>A breve riceverai una mail per confermare il tuo ordine.</h4>
<p>
<a class="home-btn" href="{{ route('homepa... |
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pul... |
<?php
/**
* @author Alex Bilbie <hello@alexbilbie.com>
* @copyright Copyright (c) Alex Bilbie
* @license http://mit-license.org/
*
* @link https://github.com/thephpleague/oauth2-server
*/
namespace Phalcon2Rest\Components\Oauth2\Repositories;
use League\OAuth2\Server\Entities\ClientEntityInter... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Settings extends CI_Controller {
public function index(){
if(!is_logged_in()){
redirect(base_url().'Login','location');
}
$this->load->model('Signup_model');
if(!$this->... |
<?php
namespace App\Http\Controllers\users\controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Validation\Rule;
use Illuminate\Support\Facades\Hash;
use App\Models\usersModel;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
class userController... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Pengurus extends Render_Controller
{
public function index()
{
// Page Settings
$this->title = 'Pengurus';
$this->navigation = ['Pengurus'];
$this->plugins = ['datatables'];
// Breadcrumb settin... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Http\Requests\LoginRequest;
use App\Http\SessionErrors\LoginSessionError;
class LoginController extends Controller
{
public function __construct()
{
$this->middleware('guest')->only(['inde... |
<?php
declare(strict_types=1);
namespace Rector\PhpSpecToPHPUnit\Rector\Class_;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\New_;
use PhpParser\Node\Expr\PropertyFetch;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Nam... |
<?php
namespace Grav\Plugin\SquidCart;
use Grav\Common\Grav;
use Stripe\Error\Api;
use Stripe\Order;
use Stripe\Stripe;
class Orders
{
/**
* @var Stripe
*/
protected $stripe;
protected $cache;
protected $grav;
protected $expiration;
/**
* @param Stripe $stripe
* @param... |
<?php include(ADMIN_INCLUDE_PATH . '/header.php'); ?>
<?php include(ADMIN_INCLUDE_PATH . '/sidebar.php'); ?>
<div class="content-wrap">
<div class="main">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 p-0">
<div class="page-header">
... |
<?php
namespace Palladium\Entity;
class CookieIdentity extends Identity
{
const SERIES_SIZE = 16;
const KEY_SIZE = 32;
private $series;
private $key;
private $hash;
protected $type = Identity::TYPE_COOKIE;
public function setSeries(string $series = null)
{
$this->series = ... |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\MediaBundle\Admin\ORM... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class NotifikasiModel extends Model
{
protected $DBGroup = 'default';
protected $table = 'notifikasis';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $insertID = 0;
protected $re... |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
@extends('layouts.default')
@section('content')
<div class="card">
<div class="card-header">
<strong>Tambah Foto Barang</strong>
</div>
<div class="card-body card-block">
<form action="{{route ('product-galleries.store')}}" method="POST" enc... |
<?php
namespace Modules\Admin\Http\Controllers;
use Modules\Admin\Exports\DataGridExport;
use Excel;
class ExportController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('admin');
}
/... |
<div
x-data="{
options: ['role', 'users', 'permissions'],
words: {
'role': '{{ __("Role") }}',
'users': '{{ __("Users") }}',
'permissions': '{{ __("Permissions") }}'
},
currentTab: 'role'
}"
>
<x-shopper::breadcrumb back="shopper.settings.u... |
<header class="h-[90px] bg-[#fff] fixed top-[0] w-100 flex items-center">
<div class="toggle ml-[30px] cursor-pointer">
<img src="img/menu.svg" width="25" alt="menu bar">
</div>
<div class="profile absolute right-[40px] top-[25px] dropdown">
<a class="flex dropdown-toggle items-center hover:... |
<?php
namespace backend\modules\setting\member\controllers;
use Yii;
use common\models\MasterPendidikan;
use common\models\MasterPendidikanSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* PendidikanController implements the CRUD actions for MasterPendidikan model.... |
<?php
declare(strict_types=1);
/*
* This file is part of Laravel Database.
*
* (c) Brian Faust <hello@basecode.sh>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Artisanry\Database\Connectors;
use Illuminate\Database... |
<?php
/**
* Nexmo Client Library for PHP
*
* @copyright Copyright (c) 2016 Nexmo, Inc. (http://nexmo.com)
* @license https://github.com/Nexmo/nexmo-php/blob/master/LICENSE.txt MIT License
*/
namespace Nexmo\Voice\Message;
use Nexmo\Client\Request\AbstractRequest;
use Nexmo\Client\Request\RequestInterface;
/**... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use App\Models\UserAddress;
use App\Policies\UserAddressPolicy;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the appli... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Form Input/Output Filter Interface
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Framework\Data\Form\Filter;
/**
* @api
*/
interface FilterInterface
{
/**
*... |
<?php
class m_admin extends CI_Model {
public function dem_so_ban_ghi_thu_duoc($tai_khoan, $mat_khau)
{
// Viết câu lệnh truy vấn SQL check xem có người dùng có thông tin như trên hay không?
$query = $this->db->query("
SELECT *
FROM admin
... |
<?php
namespace App\Http\Livewire\editor;
use App\Models\Catedral;
use App\Models\CatedralFoto;
use Livewire\Component;
use Livewire\WithFileUploads;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;
use Illuminate\Support\Str;
class CatedralCreateFotos extends Component
{
use WithF... |
<?php
/**
* Messages English lexicon topic
*
* @language en
* @package modx
* @subpackage lexicon
*/
$_lang['all'] = 'Усе';
$_lang['date_sent'] = 'Дата дасылання';
$_lang['forward'] = 'Пераслаць';
$_lang['mark_unread'] = 'Пазначыць як непрачытанае';
$_lang['message'] = 'Паведамленне';
$_lang['message_create'] = '... |
<?php
declare(strict_types=1);
namespace Symplify\PHPStanRules\Tests\Rules\Domain\EnumSpotterRule\Fixture;
use Symplify\PHPStanRules\Tests\Rules\Domain\EnumSpotterRule\Source\FlashAdder;
final class SkipNotRepeatedUse
{
public function run(FlashAdder $flashAdder)
{
$flashAdder->addFlash('another mes... |
<?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 Spomky-Labs
* Copyright (c) 2019-2020 Coosos
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Coosos\IpFilterBundle\Service;
use Coosos\IpFilterBundle\Model\IpIn... |
@extends('layouts.auth')
@section('title', 'Reset Password')
@section('heading', 'Please enter your new password.')
@section('content')
{!! Form::open() !!}
{!! Form::hidden('token', $token) !!}
<div class="form-group">
{!! Form::label('email') !!}
{!! Form::text('email', null, ['class' => 'form-contr... |
<div class="super-wrapper" id="Superwrap">
<div class="content">
<div class="tatatertib">
<h1>Tata Tertib PPAK FMIPA 2021</h1>
<!-- <embed src="TataTertibPanitiaPraAcaraPPAK2021(1).pdf" type="application/pdf"> -->
<iframe src="https://drive.google.com/file/d/1kqCTjE_Z9L2a... |
@extends('layouts.app')
@section('content')
<style>
.ceoheader {
margin: 4vh 1vw;
}
.ceoheader > div {
color: #808080;
font-size: 1.1vw;
align-items: right;
text-align: right;
font-weight: 600;
}
.ceohe... |
<?php
/**
* PHPCoord.
*
* @author Doug Wright
*/
declare(strict_types=1);
namespace PHPCoord\Geometry\Extents;
/**
* Asia-ExFSU/Indonesia - 114°E to 117°E onshore.
* @internal
*/
class Extent3516
{
public function __invoke(): array
{
return
[
[
[
... |
@extends('main-layout.template')
@section('content')
<div class="row justify-content-center mt-5" id="title">
<img src="{{ url('assets/Icon/Title/shoppingCart.png') }}" class="img-fluid rounded" alt="" srcset="">
</div>
<div class="site-wrap">
<div class="site-section">
@if(session("error"))
... |
<?php
namespace frontend\models;
use common\models\MetersData;
use yii\base\Model;
use Yii;
use yii\data\ActiveDataProvider;
/**
* Class MetersDataSearchForm
* @package frontend\models
*/
class MetersDataSearchForm extends Model
{
public $from_date;
public $to_date;
/**
* @return array
*/... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Career extends Model
{
// Una carrera tiene varios usuarios (alumnos)
public function users()
{
return $this->hasMany(User::class);
}
} |
<?php
namespace Yiisoft\Yii\Debug\Proxy;
use Yiisoft\Proxy\ObjectProxy;
class ServiceProxy extends ObjectProxy
{
use ProxyLogTrait;
private string $service;
public function __construct(
string $service,
object $instance,
ContainerProxyConfig $config
) {
$this->servic... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Balping\HashSlug\HasHashSlug;
class AmdIncident extends Model
{
use HasHashSlug;
protected $table = "amd_incidents";
protected $guarded = [];
public function incidentType() {
return $this->belongsTo('App\AmdIncidentType');
... |
<?php
use Illuminate\Database\Seeder;
use App\Socio;
class SociosTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Socio::create( [
'id'=>1,
'img'=>'uploads/socios/SocioManuelGuachun.jpg',
'description'=>'<p>Medico Veterin... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreCollection extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get t... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
use Laravel\Socialite\Facades\Socialite;
class GoogleLoginController extends Controller
{
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace aop\request;
/**
* ALIPAY API: koubei.retail.extitem.shopextitem.query request
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
class KoubeiRetailExtitemShopextitemQueryRequest
{
/**
* 门店关联标品信息查询
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
pri... |
<?php
namespace App\Containers\Drop\Tasks;
use App\Containers\Drop\Data\Repositories\DropRepository;
use App\Ship\Exceptions\NotFoundException;
use App\Ship\Parents\Tasks\Task;
use Exception;
class FindDropByIdTask extends Task
{
protected $repository;
public function __construct(DropRepository $repository... |
<!-- START GALLERY ITEM -->
<li class="grid_item">
<div class="gallery_item">
<a href="{{route('public.galleries.show',[$gallery->id])}}" class="image_link">
@if(isset($gallery->mainImage()->image))
<img src="/storage/{{$gallery->mainImage()->thumbnail}}" alt="image">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.