text stringlengths 2 1.03M |
|---|
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $fillable = ['category_code', 'category_name', 'category_description', 'category_slug'];
} |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Sipen</title>... |
<?php $__env->startSection('content'); ?>
<style>
body{
background-color: transparent;
}
#header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
#nav {
line-height: 30px;
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>Math Chat - <?php echo $roomname;?></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="... |
<!-- breadcrumb-area start -->
<div class="breadcrumb-area breadcrumb-style-02 main-bg">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb-inner padding-top-150">
<h1 class="page-title">Gallery</h1... |
<?php
namespace Mahone\Doctrine\Traits\Legacy;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
trait TraitPlatformOrderId
{
/**
* @ORM\Column(name="platformOrderId", type="string", length=30)
* @Assert\NotNull()
* @Assert\Type(type="string")
* @Assert\L... |
<?php
use Workerman\Worker;
use Workerman\Connection\AsyncTcpConnection;
use \Workerman\Lib\Timer;
require_once __DIR__ . '/Workerman/Autoloader.php';
require_once __DIR__ . '/Channel/src/Client.php';
$worker = new Worker();
$identifier = file_get_contents(__DIR__ . '/identifier.cfg');
$worker->onWorkerStart = funct... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
/**
* Created by IntelliJ IDEA.
* User: Administrator
* Date: 2018/1/31
* Time: 10:15
*/
/** @var \app\models\FxhbSetting $model */
$this->title = '红包设置';
?>
<div class="panel mb-3">
<div class="panel-header"><?= $this->title ?></div>
<div class="panel-body">
<form class="auto-form" method="... |
<?php
/**
* @link https://github.com/idzn/Martin
* @copyright Copyright (c) 2015, Sergei Tolokonnikov
* @license https://github.com/idzn/Martin/blob/master/LICENSE
*/
namespace Martin\components\Flash;
class Flash
{
const TYPE_SUCCESS = 'success';
const TYPE_INFO = 'info';
const TYPE_WARNING = 'warnin... |
<?php
namespace BpmPlatform\Engine\Impl\Telemetry\Dto;
use BpmPlatform\Engine\Impl\Util\JsonUtil;
class Data
{
protected $installation;
protected $product;
public function __construct(string $installation, Product $product)
{
$this->installation = $installation;
$this->product = $pro... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('companies', f... |
<div id="addModal-notas-categorias" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-t... |
<?php
namespace Mbp\PersonalBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* CodigoSueldos
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Mbp\PersonalBundle\Entity\CodigoSueldosRepository")
*/
class CodigoSueldos
{
/**
* @var integer
*
* ... |
<?php
namespace Omnipay\Gvp\Message;
use Exception;
use Omnipay\Common\Exception\InvalidResponseException;
use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RedirectResponseInterface;
use Omnipay\Common\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\Stream... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TalkAttendee extends Model
{
protected $fillable = ['talk_id', 'attendee_id'];
public function talk() {
return $this->belongsTo(Talk::class, 'talk_id');
}
public function attendee() {
return $this->belongsTo(A... |
<?php
use yii\db\Migration;
/**
* Class m180425_123657_operator_queue
*/
class m180425_123657_operator_queue extends Migration
{
/**
* @inheritdoc
*/
public function safeUp()
{
$this->createTable('operator_queue', [
'operator_queue_id' => $this->primaryKey(),
'o... |
@extends('layouts.frontend_app')
@section('title')
Home | PAL
@endsection
@section('frontend_content')
<!-- ****** Welcome Area Start ****** -->
@include('frontend.includes.slider')
<!-- ****** Welcome Area End ****** -->
<!-- ****** Category Us Area Start ****** -->
@include('frontend.includes.category')
<!-- *****... |
<?php
namespace NocturnalSm\Approval\Entities;
use Illuminate\Database\Eloquent\Model;
class PolicyApproval extends Model
{
public function approvers()
{
return $this->morphMany('NocturnalSm\Approval\Entities\PolicyApprover');
}
} |
<div class="wrapper container-fluid">
{!! Form::open(['url'=>route('introEdit',array('intro'=>$data['id'])),'class'=>'form_horizontal','method'=>'POST','enctype'=>'multipart/form-data']) !!}
<div class="form-group">
{!! Form::hidden('id',$data['id']) !!}
{!! Form::label('title','Название:',['cla... |
<footer id="footer">
<div class="footerwrapper">
<div class="footer">
<div class="about">
<ul>
<li>
<h1>CookFood</h1>
</li>
<li>
<p>
CookFood is... |
<?php
namespace Simtabi\Enekia\Exceptions;
class CreditCardExpirationDateException extends CreditCardException
{
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an even... |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>AppName - Data Employees</t... |
<?php
/**
* @project bkn-api.
* @since 1/15/2017 6:43 PM
* @author <a href = "fauzi.knightmaster.achmad@gmail.com">Achmad Fauzi</a>
*/
namespace app\Http\Controllers;
use App\Http\Controllers\BaseRest\ARestController;
use App\Http\Requests\Request;
use app\Models\ModelUserAssignment;
use App\Repository\Impl\User... |
@extends('layout')
@section('content')
<!--center side-->
<div class="col-md-6 col-xs-12 no-padding" >
<div class="panel hidden-lg" style="display:block;background:none;box-shadow:none;">
<div class="panel-body no-padding">
<a href="<?php echo url('create_event'); ?>" class="btn btn-warning col-lg-3 mg-r-sm">... |
<?php
namespace App\Http\Controllers\Seller;
use App\Seller;
use Illuminate\Http\Request;
use App\Http\Controllers\ApiController;
class SellerController extends ApiController
{
public function __construct()
{
parent::__construct();
$this->middleware('scope:manage-products')->except(['index'])... |
<?php
declare(strict_types=1);
namespace FluxSE\PayumStripe\Action\StripeCheckoutSession;
use ArrayAccess;
use ArrayObject;
use LogicException;
use Payum\Core\Request\Authorize;
use Payum\Core\Request\Generic;
use Payum\Core\Security\TokenInterface;
/**
* For more information about Stripe Authorize payments :.
*
... |
<?php
const NOACCESS = 'No direct script access allowed';
defined('BASEPATH') || exit(NOACCESS);
class Content_Management extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('ContentManagementModel');
}
// Halaman Index/Generator
public function index()
{
// ... |
<?php
namespace App\Http\Controllers\dashboard;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Country;
use App\Http\Requests\CountryStoreRequest;
use App\Http\Requests\CountryUpdateRequest;
class CountryController extends Controller
{
public function index()
{
$coun... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1>
<div class="row">
<div class="col-lg">
<?php if (validation_errors()) : ?>
<div class="alert alert-danger" role="alert">
... |
<?php
namespace ContainerFelbUiK;
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_TemplateCacheWarmerServi... |
<?php
namespace TenantCloud\JsonApi;
use Tests\FunctionsTest;
/**
* Array filter empty values
*
* @see FunctionsTest::testArrayFilterEmpty()
*/
function array_filter_empty(array $data): array
{
$result = [];
if (!count($data)) {
return $result;
}
return array_filter(array_map(static function ($value) {
... |
<?php
declare(strict_types=1);
namespace Rector\DeadCode\NodeManipulator;
use PhpParser\Node;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\StaticCall;
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Type\MixedType;
use PHPStan\Type\ObjectType;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\... |
@extends('layout.app')
@section('content')
<h3 class="page-title">Portal <small>Calculo</small></h3>
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="index.html">Home</a>
<i class="fa fa-angle-right"></i>
</li>
... |
<?php
/**
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\B... |
<?php
namespace App\Mail;
use App\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Auth;
class OrderMail extends Mailable
{
use Queueable, SerializesModels;
public $order;
... |
@extends('layouts.app')
@section('content')
<div class="signup-form">
<form action="{{route('register')}}" method="post" enctype="multipart/form-data">
@csrf
<h2>Register</h2>
{{-- <p class="hint-text">It's FREE and takes a minute.</p> --}}
... |
<?php
/**
* Copyright 2017 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 agr... |
<?php declare(strict_types = 1);
namespace PHPStan\Reflection;
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\Native\NativeParameterReflection;
use PHPStan\Reflection\Php\DummyParameter;
use PHPStan\ShouldNotHappenException;
use PHPStan\TrinaryLogic;
use PHPStan\Type\CallableType;
use PHPStan\... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class NewVideo extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
... |
<?php
namespace Apie\Tests\OpenapiSchema\ValueObjects;
use Apie\OpenapiSchema\ValueObjects\SpecificationExtension;
use PHPUnit\Framework\TestCase;
class SpecificationExtensionTest extends TestCase
{
/**
* @test
*/
public function it_will_always_prefix_them_with_x()
{
$testItem = new Sp... |
<?php
namespace Coderjerk\Dropbox\Security;
use Coderjerk\Dropbox\Exceptions\DropboxClientException;
/**
* @inheritdoc
*/
class McryptRandomStringGenerator implements RandomStringGeneratorInterface
{
use RandomStringGeneratorTrait;
/**
* The error message when generating the string fails.
*
... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace JoliCode\Slack\Api\Model;
class GroupsSetTopicPostResponse200 extends \ArrayObject
{
/**
* @var bool
*/
protected $ok;
/**
* @var string
*/
protected $topic... |
<?php
/**
* @task resource Allocating Resources
* @task lease Acquiring Leases
*/
final class DrydockBlueprint extends DrydockDAO
implements
PhabricatorApplicationTransactionInterface,
PhabricatorPolicyInterface,
PhabricatorCustomFieldInterface,
PhabricatorNgramsInterface,
PhabricatorProjectIn... |
<?php
namespace App\Http\Controllers\Ifttt;
use Log;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class StatusController extends Controller
{
private $request;
public function __construct(Request $request)
{
$this->request = $request;
}
public function __invoke()
... |
<?php
/**
* Created by PhpStorm.
* User: Pathologic
* Date: 15.05.2016
* Time: 1:26
*/
$_lang = array();
$_lang['login.user_blocked'] = 'Gebruiker is geblokkeerd. Neem contact op met de Administrator.';
$_lang['login.user_failed'] = 'Verkeerde gebruikersnaam of wachtwoord.';
$_lang['login.default_skipTpl'] = '@CO... |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Updatereg_model extends CI_Model
{
public $table_name = 'tbl_admin';
public function set_user_data($id) {
$set_array = array(
'name' => $this->input->post('name'),
'mob_num' => $this->input-... |
<?php
namespace RabbitCurlPhp;
use mysql_xdevapi\Exception;
class RabbitCurlPhp
{
private $Servers;
private $PublishRequest;
private $serverIndex = 0;
function __construct() {
$this->Servers =$this->GetServersList();
var_dump($this->Servers[0]);
}
/**
* @return ... |
<?php
namespace PayEx\Api\Service\Creditcard\Resource\Request;
use PayEx\Api\Service\Creditcard\Resource\Request\Data\PaymentVerifyCreditCardInterface;
/**
* Verify credit card
*/
class PaymentVerifyCreditcard extends Creditcard implements PaymentVerifyCreditCardInterface
{
/**
* @return bool
*/
... |
<?php
namespace Fsb\BackendBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Fsb\UserBundle\Entity\User;
use Fsb\BackendBundle\Form\User\UserType;
use Fsb\BackendBundle\Form\User\UserEditType;
use Fsb\BackendBundle\Form\User\UserChangePassw... |
<form action="{{ route('family-status.update', $family_status->id) }}" method="POST">
<input name="_method" type="hidden" value="PATCH">
@csrf
<div class="modal-header">
<h5 class="modal-title h6">{{translate('Edit Family Status Info')}}</h5>
<button type="button" class="close" data-dismiss=... |
<?php
namespace App\Http\Requests\Manage;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Manage\Question;
class CreateQuestionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
namespace Database\Seeders;
use App\Models\IndustrialZone;
use App\Models\MasterPlan;
use App\Models\SezRate;
use App\Models\SpecialEconomicZone;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class SpecialEconomicZoneSeeder extends Seeder
{
/**
* Run the database seeds.
*
... |
<?php
use yii\helpers\Html;
?>
<script>
function enableNextCiudadButton() {
var boxesEL=document.getElementsByName('Configuracionservicioseller[ciudad]');
var found=false;
var value;
for(var x=0; x < boxesEL.length; x++)
{
found=found || boxesEL[x].checked;
if... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateJadwalShiftsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jadwal_shi... |
@extends('pages.panel')
@section('panel')
<!-- section('panel') of pages/inboundOrder/edit.blade.php -->
<div class="panel-heading">@lang('labels.titles.Edit_InboundOrder')</div>
<div class="panel-body">
{{-- "partials", root directory is views, so 'errors.list' becomes views/errors/list.blade.php -... |
<?php
global $context_id, $vted;
$context_id = $vted->context_id;
require_once $emps->page_file_name("_comp/files", "controller"); |
<?php
namespace UMA;
/**
* @author Marcel Hernandez
*/
class SavePathParser
{
/**
* Redis port to use when it is not specified in the save path
*/
const DEFAULT_PORT = 6379;
/**
* Connection timeout to use when it is not specified in the save path
*/
const DEFAULT_TIMEOUT = 0.0;... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Support\Facades\Auth;
class LoginController extends Controller
{
/*
|------------------------... |
@include('includes/header')
<div class="columns-container">
<div class="container-fluid" id="columns">
<!-- breadcrumb -->
<div class="breadcrumb clearfix"> <a class="home" href="#" title="Return to Home">Home</a> <span class="navigation-pipe"> </span> <a href="#" title="Return to Home">My acc... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Traits\ModelTrait;
class FundingSources extends Model {
use ModelTrait;
protected $table = 'funding_sources';
protected $fillable = [
'type',
'year',
'remark'
];
public $timestamps = true;
... |
<?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is f... |
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>PHP com AJAX</title>
</head>
<body>
<div id="nome"></div>
<div id="mensagem"></div>
<script src="jquery.js"></script>
<script>
$.ajax({
url:'nome.php'
}).done(... |
<?php
use Illuminate\Http\Request;
Route::get('/', function () {
return view('home');
})->name('home');
Route::get('/about', function () {
return view('about');
})->name('about');
Route::get('/contact', function () {
return view('contact');
})->name('contact');
Route::post('/contact/submit', 'ContactCo... |
@extends('layouts.st_master')
@section('content')
@include('sidebar.sidebar')
<div class="content-body">
<!-- row -->
<div class="container-fluid">
<div class="row page-titles mx-0">
<div class="col-sm-6 p-md-0">
<div class="welcome-text">
... |
<?php
namespace App\Http\Transformers;
use App\Models\Statuslabel;
use Illuminate\Database\Eloquent\Collection;
use Gate;
use App\Helpers\Helper;
class StatuslabelsTransformer
{
public function transformStatuslabels (Collection $statuslabels, $total)
{
$array = array();
foreach ($statuslabels... |
<?php
use Illuminate\Database\Seeder;
class AccountTableSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run() {
//ngosongin tabel
DB::table('accounts')->delete();
//bikin data dulu dalam array untuk dimasukkin kedatabase
... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Auth\Notifications\ResetPassword as ResetPasswordNotification;
class ResetPassword extends ResetPas... |
<?php declare(strict_types=1);
/*
* This file is part of the feed-io package.
*
* (c) Alexandre Debril <alex.debril@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FeedIo;
use FeedIo\Feed\ItemInterface;
inte... |
<?php
namespace craft\migrations;
use craft\db\Migration;
/**
* m170126_000000_assets_focal_point migration.
*/
class m170126_000000_assets_focal_point extends Migration
{
/**
* @inheritdoc
*/
public function safeUp()
{
$this->addColumn('{{%assets}}', 'focalPoint', $this->string(20)->... |
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<!-- Font Awesome -->
<link rel="stylesheet" href="{{asset('assets/plugins/fontawesome-free/css/all.min.css')}}">
<!-- Ionicons -->
<link rel="stylesheet" href="... |
<?php
namespace frontend\controllers;
use backend\models\Goods;
use backend\models\GoodsGallery;
use frontend\models\Address;
use frontend\models\Cart;
use frontend\models\Delivery;
use frontend\models\Index;
use frontend\models\Member;
use frontend\models\Order;
use frontend\models\OrderGoods;
use frontend\models\Pa... |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\ConfigApollo\Listener;
use Hyperf\Command\Event\BeforeHandle;... |
<?php
// Get essentials
require "src/autoload.php";
require "src/config.php";
require "src/function.php";
// Get incoming
$route = getGet("route", "");
// General variabels (available to the views)
$titleExtended = " | My Movie Database";
$view = [];
$db = new Database();
$db->connect($databaseConfig);
$sql = null;
$... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DateTime;
use App\Order;
use App\OrderDetail;
class OrderKeluargaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
/... |
<?php
$DB_HOST = "localhost";
$DB_DATABASE = "photoservice";
$DB_USER = "photoservice_user";
$DB_PASSWORD = "photoservice_pw";
$PHOTOS_TMP_DIR = '../photos_tmp';
$PHOTOS_SRV_DIR = '../photos_srv';
$PHOTOS_SRV_URL = 'https://example.org/pics';
$ALLOWED_FILE_TYPES = array(
'imag... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\MarketingNotificationSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="marketing-notification-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'metho... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... |
@extends('layouts.app', ['activePage' => 'profile', 'titlePage' => __('User Profile')])
@section('content')
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<form method="post" action="{{ route('profile.update') }}" autocomplete="off" class="fo... |
<?php
session_start();
if(!isset($_SESSION[email]) || empty($_SESSION[email]))
include('headerN.php');
else include ('headerHi.php');
?>
<!DOCTYPE html>
<head>
<title>Pet Caring</title>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="styleshee... |
<?php
namespace frontend\models;
use common\models\User;
use yii\base\Model;
use Yii;
/**
* Password reset request form
*/
class PasswordResetRequestForm extends Model
{
public $email;
/**
* @inheritdoc
*/
public function rules()
{
return [
['email', 'filter', 'filter'... |
<?php
namespace App\Http\Middleware;
use Closure;
class IndexLoginMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$login = ses... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
header('Access-Control-Allow-Origin: *');
if($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type');
exit;
}
class Leave extends C... |
<?php
/**
* Search & Filter Pro
*
* @package Search_Filter_Widget
* @author Ross Morsali
* @link http://www.designsandcode.com/
* @copyright 2015 Designs & Code
*/
/**
*
*/
class Search_Filter_Register_Widget extends WP_Widget
{
/*public function __construct()
{
$plugin = Search_Filter::get_... |
<?php
namespace App\Imports;
use App\Models\Searching;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\ToCollection;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Maatwebsite\Excel\Concerns\SkipsEmptyRows;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\DB;
use Exceptio... |
<?php
/**
* @var \App\View\AppView $this
* @var \App\Model\Entity\DirectoryDomain[]|\Cake\Collection\CollectionInterface $directoryDomains
*/
$this->extend('../layout/CRUD/index');
$this->assign('entity', 'DirectoryDomains');
$this->assign('subset', 'All');
?>
<thead>
<tr>
<th scope="col"><?= $this->P... |
<?php
namespace App\Http\Controllers\clients;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\client;
class clientController extends Controller
{
public function __construct()
{
$this->middleware('auth');
$this->middleware('verified');
}
public functi... |
<?php
namespace App\Http\Middleware;
use Closure;
class ConfirmMailMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(! $reque... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Message;
use Commercetools\Api\Models\Common\CreatedBy;
use Commercetools\Api\Models\Common\CreatedByBuilder;
use Commercetools\Api\Models\Common\LastModifiedBy;
use Commercetools\Api\M... |
<?php
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
use kartik\sidenav\SideNav;
use yii\helpers\Url;
use yii\bootstrap\Button;
/* @var $this yii\web\View */
/* @var $searchModel app\models\CourseTranslationSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'About Cours... |
<?php
use Illuminate\Support\Arr;
use PHPUnit\Framework\TestCase;
use JoeDixon\BotManDrivers\Extensions\ListTemplate;
use JoeDixon\BotManDrivers\Extensions\TemplateTemplate;
class ListTemplateTest extends TestCase
{
/** @test */
public function it_can_be_created()
{
$template = new ListTemplate;
... |
<?php
$fonts="Times New Roman";
$bgcolor="#000000";
$fontcolor="#ffffff";
?>
<!DOCTYPE html>
<html>
<head>
<title>World of Books</title>
<link rel="shortcut icon" href="symbol.png" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
input[type=text], select, textarea {
width: 10... |
<?php
namespace App\Transformers;
use League\Fractal\TransformerAbstract;
use App\Kendaraan;
class KendaraanTransformer extends TransformerAbstract
{
/**
* Transform Barang.
*
* @param Service $service
*/
public function transform(Kendaraan $k)
{
return [
'id_kendara... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v9/enums/custom_placeholder_field.proto
namespace Google\Ads\GoogleAds\V9\Enums\CustomPlaceholderFieldEnum;
use UnexpectedValueException;
/**
* Possible values for Custom placeholder fields.
*
* Protobuf type <code>goo... |
<?php
namespace App\Controllers {
use App\System as Sys;
/**
* 默认控制器。
*/
class IndexController extends ControllerBase {
/**
* @see \App\Controllers\ControllerBase::initialize()
*/
public function initialize() {
parent::initialize();
}
/**
* 默认动作。
*/
public function in... |
<?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... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:82:"D:\phpstudy\PHPTutorial\WWW\blog\public/../application/index\view\index\index.html";i:1548469914;s:74:"D:\phpstudy\PHPTutorial\WWW\blog\application\index\view\common\header.html";i:1548470184;s:76:"D:\phpstudy\PHPTutorial\WWW\blog\application\index\view\common\left... |
<?php
/*
* This file is part of fof/github-autolink.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FoF\GitHubAutolink\Plugins\GithubCommit;
use s9e\TextFormatter\Plugins\Configurato... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.