text stringlengths 2 1.03M |
|---|
<div class="content-wrapper">
<div class="content-header row">
<div class="content-header-left col-md-9 col-12 mb-2">
<div class="row breadcrumbs-top">
<div class="col-12">
<h2 class="content-header-title float-left mb-0">Manage Products</h2>
... |
<?php
namespace think\config\driver;
class Json{
public function parse($config){
if (is_file($config)) {
$config = file_get_contents($config);
}
$result = json_decode($config, true);
return $result;
}
} |
<?php
/*
* This file is part of the Active Collab Utils project.
*
* (c) A51 doo <info@activecollab.com>. All rights reserved.
*/
declare(strict_types=1);
namespace ActiveCollab\HttpClient\Client\Factory;
use ActiveCollab\HttpClient\Client\ClientInterface;
interface ClientFactoryInterface
{
public function... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\category */
$this->title = 'Update Category: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $m... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAlbumsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('albums', functio... |
@extends('admin.layouts.master')
@section('title')
Admin|Guru|Tambah
@endsection
@section('content')
<section class="content mt-4 ">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card card-primary">
<div class="card-header">
<h3 class="card-... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CategoryTemplate extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('category_template... |
<?php
/**
* iPhorm_Filter_Regex
*
* Filters any characters not matching the regex pattern
*
* @package iPhorm
* @subpackage Filter
* @copyright Copyright (c) 2009-2011 ThemeCatcher (http://www.themecatcher.net)
*/
class iPhorm_Filter_Regex implements iPhorm_Filter_Interface
{
/**
* The pattern to matc... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitf7124c53e6e9cb10d4a3b9b7caf7cd5c
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace NotificationChannels\Infobip;
class InfobipSmsAdvancedMessage extends InfobipMessage
{
private $notifyUrl;
/**
* @param $notifyUrl
*/
public function notifyUrl($notifyUrl)
{
$this->notifyUrl = $notifyUrl;
}
/**
* @return mixed
*/
public functio... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800">Detail Daftar Pengajuan Nomor</h1>
</div>
<!-- /.container-fluid -->
<table class="table table-hover col-lg-8 ml-5">
<tr>
<th>Penyelenggara</th>
<td><?php echo $detail->penyele... |
<?php
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\DataProviderInterface */
/* @var $category shop\entities\Shop\Category */
use yii\helpers\Html;
$this->title = 'Блог';
$this->params['breadcrumbs'][] = $this->title;
?>
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_list', [
'da... |
<?php
session_start();
if(isset($_SESSION['name'])){
$text = $_POST['text'];
$cb = fopen("log.html", 'a');
fwrite($cb, "<div class='msgln'>(".date("g:i A").") <b>".$_SESSION['name']."</b>: ".stripslashes(htmlspecialchars($text))."<br></div>");
fclose($cb);
}
?> |
<div class="LeftBOX">
<a href="{{ route('user.sendEmail',['id'=>$user->id ]) }}" >
<div class="button BOXin">新しくメールを送付する</div>
</a>
</div>
<div class="customerMailTitlesMain">
<div class="customerMailTitle send">送信者</div>
<div class="customerMailTitle time">送信日時</div>
<div class="customerMailTitle title... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class OrderDetail extends Model
{
use HasFactory;
/**
* @var string
*/
protected $table = 'order_details';
/**
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 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
*/
namespace ... |
<?php
/**
* ALIPAY API: mybank.finance.yulibao.price.query request
*
* @author auto create
* @since 1.0, 2016-11-18 16:08:17
*/
class MybankFinanceYulibaoPriceQueryRequest
{
/**
* 查询余利宝行情信息(七日年化收益率、万份收益金额)
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo... |
<section class="content">
@include('admin.message')
<div class="row">
<div class="col-xs-12">
<div class="box-header">
<a href="{{ action('LanguageController@create') }}" class="btn btn-info btn-sm">+ {{ __('adminstaticword.Add') }}</a>
</div>
<!-- /.box-header -->
... |
<?php
namespace Modules\System\Database\Seeders\Start;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use \Modules\System\Entities\Action;
class ActionTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
... |
<div class="main-banner wow fadeIn" id="top" data-wow-duration="1s" data-wow-delay="0.5s">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-lg-6 align-self-center">
<div class="left-con... |
<?php
namespace Pinq\Demo\Sql\Tests\Integration\Compilation\Update;
use Pinq\Demo\Sql\Tests\Integration\Compilation\SqlAssertsIgnoringWhitespace;
use Pinq\IRepository;
/**
* @author Elliot Levin <elliotlevin@hotmail.com>
*/
class SimpleUpdateQueryCompilationTest extends SqlUpdateQueryCompilationTest
{
use SqlA... |
@extends('admin.index')
@section('content')
<div class="card card-dark">
<div class="card-header">
<h3 class="card-title">
<div class="">
<span>{{!empty($title)?$title:''}}</span>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only"></span>
... |
<?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\models;
use Yii;
use yii\web\IdentityInterface;
/**
* This is the model class for table "pet".
*
* @property int $id
* @property string|null $name
* @property string|null $kind
* @property string|null $breed
* @property string|null $age
* @property string|null $host
*/
class Pet extends \yii\db\Act... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Requests\EmployeeStoreRequest;
use App\Models\Employee;
use Carbon\Carbon;
use Illuminate\Http\Request;
class EmployeeController extends Controller
{
public function index(Request $request)
{
$employees = Empl... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>用户登录</title>
<link href="{{'home/css/login.css'}}" rel='stylesheet' type='text/css'/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<me... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class QuestionCreateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
*... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Prototipoj</title>
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
</head>
<body>
<div id="app">
<... |
<?php
namespace App\Http\Controllers\Admin;
use Response;
use App\Charge;
use App\Currency;
use App\Libs\AdminSettings;
use App\Setting;
use App\Ticker;
use App\Presale;
use App\PresaleSlab;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Log;
use Session;
use App\User... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header bg-info"><h3 class="card-title">Friend List Manager</h3></div>
<div class="card-body">
... |
<?php
namespace Coursework\Lib\Getters;
use Coursework\Lib\Enums as enum;
class CommonGetter
{
public static function get_page_header(\stdClass $cm) : string
{
$attr = array('class' => 'pageHeader');
$text = self::get_coursework_name($cm->instance);
return \html_writer::tag('h2', $t... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\attribute\value\abstractvalue@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-10-28T20:44:06+05:30 */
$loaded = true;
$expiration = 1603898046;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YToxOntp... |
<?php
namespace Laraview\Libs;
use Laraview\Libs\Blueprints\LayoutBlueprint;
use Laraview\Libs\Blueprints\RegionBlueprint;
abstract class BaseLayout implements LayoutBlueprint
{
/**
* @var
*/
protected $region;
/**
* @var string
*/
protected $segment = '';
/**
* @param... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\ArticlesCategory;
use yii\helpers\ArrayHelper;
use dosamigos\ckeditor\CKEditor;
//use dosamigos\tinymce\TinyMce;
/* @var $this yii\web\View */
/* @var $model common\models\Articles */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="arti... |
@extends('hmslayout')
@section('maincontent')
<section class="testimonial-area pt-10 pb-10 ">
<div id="listpanel" >
<div class="container">
<div class="row">
<div class="col-lg-12">
<table id="tableMain" class="table table-striped table-bordered" style="width:100%">
<thead>
... |
@section('message')
@if(Session::has('message'))
<p class="alert {{ Session::get('alert-class', 'alert-info') }} alert-dismissible fade show">{{ Session::get('message') }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</p>
@e... |
<?php
/*
* BlogPing
* by Keith Gaughan <hereticmessiah@users.sourceforge.net>
*
* Copyright (c) Keith Gaughan, 2006-09. All Rights Reserved.
* See 'LICENSE' file for license details.
*/
// Constants {{{
define('APP_ROOT', dirname(__FILE__));
// I'd very much prefer if, when editing this software, you left this ... |
<?php
echo
'<header id="header">
<a class="logo" href="index.php">Matt Vaughan</a>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>';
?> |
<?php /* Smarty version 2.6.20, created on 2017-12-10 21:06:23
compiled from player_settings.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'clean', 'player_settings.tpl', 11, false),)), $this); ?>
<script type="text/... |
<?php
namespace app\home\controller;
use think\Controller;
use think\Session;
use think\Image;
use think\Loader;
use think\File;
use think\Request;
class News extends Controller
{
public function __construct(Request $request = null)
{
parent::__construct($request);
if (!Session::has('id')) {
... |
<?php
namespace Salesfly\Salesfly\Repositories;
use Salesfly\Salesfly\Entities\Brand;
class BrandRepo extends BaseRepo{
public function getModel()
{
return new Brand;
}
public function search($q)
{
$brands =Brand::where('nombre','like', $q.'%')
->orWhere('shortn... |
<?php
namespace Database\Seeders;
use App\Models\Transaction;
use App\Models\User;
use Illuminate\Database\Seeder;
class TransactionSeeder extends Seeder
{
public function run()
{
User::with(['accounts', 'categories', 'bills'])->get()->each(function (User $user) {
Transaction::insert(
... |
<?php
namespace Tests\Unit\Http\Resources;
use App\User;
use Tests\TestCase;
use App\Http\Resources\UserResource;
use Illuminate\Foundation\Testing\RefreshDatabase;
class UserResourceTest extends TestCase
{
use RefreshDatabase;
/** @test */
public function a_user_resource_have_the_neccesary_fields()
... |
<?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.
*/
namespace Himanshu\Blog\Block\Post;
/**
* Description of Detail
*
* @author himanshu
*/
class Detail {
//put your code... |
<?php
include '../../koneksi.php';
session_start();
if(empty($_SESSION['id'])) {
header("location:../../index.php");
}
$nama= $_POST['name'];
$alamat = $_POST['jalan'];
$kota= $_POST['kota'];
$provinsi= $_POST['provinsi'];
$telpon= $_POST['phone'];
$hp1= $_POST['cell1'];
$hp2= $_POST['cell2'];
$bb= $_POS... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HealthSystem</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesh... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<script>
$(function(){
$('.publish_status a').click(function(){
var _id = $(this).attr('id');
var _status = $(this).text();
$('a#'+_id+'').removeClass(_status);
$(this).html('<img src="<?php echo config_item('admin_images');?>ajax-loader.gif" />');
var _this = $(this);//alert(_... |
<?php
/* $Id: romanian-utf-8.inc.php 10110 2007-03-15 21:11:38Z lem9 $ */
$charset = 'utf-8';
$allow_recoding = TRUE;
$text_dir = 'ltr';
$number_thousands_separator = ',';
$number_decimal_separator = '.';
// shortcuts for Byte, Kilo, Mega, Giga, Tera, Peta, Exa
$byteUnits = array('Bytes', 'KB', 'MB', 'GB', 'TB', 'PB',... |
<?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illumi... |
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="<?=base_url()?>assets/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="<?=base_url()?>assets/css/bootstrap-theme.min.css">
<!-- Custom Styles -->
<link rel="stylesheet" href="<?=base_url()?>as... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePropertiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::dropIfExists('properties');
Schema::create('propert... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePeliculasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('peliculas', f... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePrestamosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('prestamos', f... |
<header><h2><?php echo __('List of users'); ?></h2></header>
<?php $blogs_model = \Fc2blog\Model\Model::load('Blogs'); ?>
<?php foreach($users as $user): ?>
<h3><?php echo h($user['login_id']); ?></h3>
<?php $blogs = $blogs_model->findByUserId($user['id']); ?>
<table>
<tr>
<th><?php echo __('Blog ID')... |
<?php
namespace App\Models;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class User
* @package App\Models
* @version June 19, 2020, 3:13 pm UTC
*
* @property string $name
* @property integer $role
* @property string $email
* @property string|\Carbon\Carbon $email_verified_at
* ... |
<?php
declare (strict_types=1);
/*
* This file is part of sebastian/diff.
*
* (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 RectorPrefix20220202\SebastianBergmann\Diff;
fi... |
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.... |
<?php
namespace App\Traits;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;
use Carbon\Carbon;
trait ImageStore
{
public function saveImage($image, $height = null ,$lenght = null)
{
if(isset($image)){... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateIncomeCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::connection('cf... |
@include('layout\top')
@yield('content')
@include('layout\footer') |
@extends('main.main')
@section('content')
Оплата прошла успешно
@endsection |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Gallery extends Model
{
use HasFactory;
// connect with db table
// public $table = 'galleries';
// protected $primaryKey = 'id';
// public $incrementing = false;
// pro... |
@extends('gentelella')
@section('content')
{{-- form --}}
<form action='/transaksi' method="POST" id="formTransaksi">
@csrf
@if($errors->any())
<div class="alert alert-danger" role="alert" id="error-alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close">
<span aria-hidden... |
<?php
namespace s9e\TextFormatter\Tests\Configurator\Collections;
use Exception;
use s9e\TextFormatter\Tests\Test;
use s9e\TextFormatter\Configurator\Collections\Collection;
/**
* @covers s9e\TextFormatter\Configurator\Collections\Collection
*/
class CollectionTest extends Test
{
public function testCollectionIsCou... |
<?php
$konfigurasi = $this->konfigurasi_model->listing();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Selamat Datang | DATASOFT SOLUSI</title>
<link rel="s... |
<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<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>MAZ... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Signup';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-signup">
<h1><?= Html::encode($this->title) ?... |
<?php
/**
* BlockRelationsBroadcastTest
*
* PHP version 5
*
* @category Class
* @package RadioManager
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* RadioManager
*
* RadioManager
*
* OpenAPI spec version: 2.0
* Contact: support@pluxbox.com
* Genera... |
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"></h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
title="Collaps... |
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="row" style="padding: 5px;">
<div class="col-md-12 col-xs-12 col-lg-12" style="text-align: center">
<p>© 2019 版权所有:海南医学院第二附属医院 东湖分院 </p>
<p>地址:海南省海口市美兰区海府路8号</p>
</div>
</div>
</nav> |
<?php
namespace App\Http\Requests\Manage;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Manage\Tang;
class CreateTangRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
re... |
<?php
/**
* LearnDash Shortcode Section for User Groups [user_groups].
*
* @since 2.4.0
* @package LearnDash\Settings\Shortcodes
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ( class_exists( 'LearnDash_Shortcodes_Section' ) ) && ( ! class_exists( 'LearnDash_Shortcodes_Section_user_groups' ) ) ) {
/**
* Cla... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\Blog */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Blogs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div c... |
<?php
namespace Webit\Comarch\EDI\Order\Parties;
use JMS\Serializer\Annotation as JMS;
/**
* @author Daniel Bojdo <daniel@bojdo.eu>
* @JMS\XmlRoot("Buyer")
*/
class Buyer extends TaxAndAccountNumberAwareParty
{
/**
* @var string
* @JMS\Type("string")
* @JMS\SerializedName("CourtAndCapitalInforma... |
@extends('layout')
@section('content')
<main class="page_content">
<div class="goback">
<a href="../faq"><button><span class="arrow left"></span> Go Back</button></a>
</div>
<h1>{{$faq->question}}</h1>
<p class="column">{{$faq->answer}}</p>
</main>
@endsection |
<?php
namespace App\Presenters;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
abstract class Presenter
{
protected $model;
public function __construct(Model $model)
{
$this->model = $model;
}
// public function activate()
// {
// $this->inactive_at = Carbon::now();
// $... |
<?php
require_once('../config.php');
mysql_connect(DB_SERVER,DB_USER,DB_PASS);
@mysql_select_db(DB_NAME) or die( "Unable to select database");
$query = "SELECT * FROM twfy_mps WHERE 1 ORDER BY name;";
$result = mysql_query($query);
while ($row = mysql_fetch_assoc($result)) {
$query = "SELECT * FROM hubble_mps W... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Model\PossibilidadeCompra;
use App\Model\Evento;
class PurchasePossibilityController extends Controller
{
public function index(Request $request)
{
$ppossibility = PossibilidadeCompra::all();
return view('ppo... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scala... |
<?php
namespace App\Notifications;
use App\Http\Controllers\Auth\RegisterController;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class GroupUserInvitation extends Notification
{
/**
* Get the notification's delivery channels.
*
* @param mixed $no... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ForumTopic extends Model
{
use HasFactory;
protected $fillable = [
'title',
'description',
];
/**
* Get the user that created the topic.
*/
... |
window.odometerOptions = {
format: '(,ddd).dd'
};
setTimeout(function(){
jQuery('#1584612849294494211').html(6409);
}, 1000); |
<?php
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
... |
--TEST--
Check for fs event
--FILE--
<?php
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
/*
$ev = uv_fs_event_init(uv_default_loop(),dirname(DIRECTORY_PATH), function($rsc, $name, $event, $stat) {
echo "finished" . PHP_EOL;
uv_close($rsc);
},0);
uv_fs_mkdir(uv_default_loop(), DIRECTO... |
<?php
unset($arraykataterlarang);
$arraykataterlarang[]="SELECT";
//$arraykataterlarang[]="INSERT";
//$arraykataterlarang[]="UPDATE";
$arraykataterlarang[]="DELETE";
$arraykataterlarang[]="GRANT";
$arraykataterlarang[]="DROP";
$arraykataterlarang[]="WHILE";
$arraykataterlarang[]="UNION";
$arraykataterlarang[]="TRUNCAT... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @copyright Copyright (c) 201... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Productos extends Model
{
use HasFactory;
} |
@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">Register</div>
<div class="panel-body">
... |
<?php
class WPCOM_JSON_API_Update_Post_Endpoint extends WPCOM_JSON_API_Post_Endpoint {
function __construct( $args ) {
parent::__construct( $args );
if ( $this->api->ends_with( $this->path, '/delete' ) ) {
$this->post_object_format['status']['deleted'] = 'The post has been deleted permanently.';
}
}
// /si... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\widgets\Breadcrumbs;
$this->title = 'Зарегистрированный пользователь';
$this->params['breadcrumbs'][] = $this->title;
?>
<section aria-label="about" class="whitepage no-bottom row" id="about">
<div class="container">
<?= Breadcrumbs::widget(['li... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Member extends Model
{
protected $table = 'member';
protected $fillable = [
's_id','name', 'father_name', 'dob_d', 'dob_m', 'dob_y', 'mobile', 'paytm_no', 'address',
'pincode', 'city', 'state', 'pancard', 'applied_pan', 'nomi... |
<!DOCTYPE html>
<html dir="rtl">
<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>Golding Investing - Universe Gold</title>
... |
<?php
declare(strict_types=1);
namespace Ssch\TYPO3Rector\Rector\v9\v5;
use Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Stmt\ClassMethod;
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeS... |
<?php
/*******************************************************************************
*
* @author : Dominik Bonsch <d.bonsch@buizcore.com>
* @date :
* @copyright : BuizCore GmbH
* @project : BuizCore - The Business Core
* @projectUrl : http://buizcore.net
*
* @licence : BSD License see: LICENCE/... |
<div class="flex top-0 right-0 px-6 py-4 justify-between items-center md:px-28 bg-gray-50">
<div class="logo">
<a href="/">
<img
src="{{asset('img/fosaa.jpg')}}"
alt="logo"
class="h-14 rounded-xl"
>
</a>
</div>
<div>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFavoritesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('favorites', f... |
<?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'name' => 'admin',
'email' => 'admin@a.com',
'password' => bc... |
<?php
namespace ExtDs;
use Ds\Map;
use Ds\Set;
use function PHPStan\Analyser\assertType;
class A
{
}
class B
{
}
class Foo
{
/** @param Map<int, int> $a */
public function mapGet(Map $a) : void
{
assertType('int', $a->get(1));
}
/** @param Map<int, int> $a */
public function mapGetWithDefaultValue(Map $a)... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/clients/websites/w_gyrh9g/public_html/gyrh9g/system/languages/tr.yaml',
'modified' => 1500452302,
'data' => [
'NICETIME' => [
'NO_DATE_PROVIDED' => 'Tarih yok',
'BAD_DATE' => 'Yanlış t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.