text
stringlengths
2
1.03M
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace lliyplliuk\eBaySDK\Test\Metadata\Types; use lliyplliuk\eBaySDK\Metadata\Types\ReturnPolicyResponse; c...
<?php namespace VanguardLTE\Games\PharaonsGold2 { class GameReel { public $reelsStrip = [ 'reelStrip1' => [], 'reelStrip2' => [], 'reelStrip3' => [], 'reelStrip4' => [], 'reelStrip5' => [], 'reelStrip6' => [] ]; ...
<?php namespace Projeto\Http\Controllers\Auth; use Projeto\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/var/www/vhosts/avoy.me/httpdocs/blog/user/plugins/login/languages/en.yaml', 'modified' => 1581641897, 'data' => [ 'PLUGIN_LOGIN' => [ 'USERNAME' => 'Username', 'EMAIL' => 'Email', ...
@extends('guest.layout') @section('content') <title>Thực Đơn</title> <style> .text-color { color: rgb(214, 91, 47); } .btn { height: 50px; min-width: 200px; } .btn + .btn { margin-left: 20px; ...
<?php /************************************************************************* Generated via "php artisan localization:missing" at 2018/04/19 17:07:35 *************************************************************************/ return array ( //============================== New strings to translate ===============...
<?php namespace Webkul\Sales\Repositories; use Illuminate\Container\Container as App; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\DB; use Webkul\Sales\Contracts\Refund; use Webkul\Core\Eloquent\Repository; /** * Refund Reposotory * * @author Jitendra Singh <jitendra@webkul.com> * @cop...
<!DOCTYPE html> <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>Part Time Jobs</title> <link rel="icon" ...
<?php namespace App\Http\Controllers; use App\TodoItem; use App\TodoList; use Illuminate\Http\Request; class TodoPublicController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $todolists = TodoL...
<?php session_start(); require_once '../setting/crud.php'; require_once '../setting/koneksi.php'; require_once '../setting/tanggal.php'; $stmt = $mysqli->prepare("INSERT INTO kontak (nama,email,pesan,tanggal) VALUES (?,?,?,?)"); $stmt->bind_param("ssss", mysqli_real_escape_string($mysqli, $_POST['nama']), mys...
<?php /** * Show messages * * This template can be overridden by copying it to yourtheme/woocommerce/notices/success.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do...
<?php declare(strict_types=1); namespace Lmc\Steward\Console\Command; use Lmc\Steward\Console\Application; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Tester\CommandTester; use Symfony\Component\EventDispatcher\EventDispatcher; /** * Run comman...
<?php namespace Database\Seeders; use App\Models\Comment; use Illuminate\Database\Seeder; class CommentSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Comment::factory()->count(100)->create(); } }
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\PantallaSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="pantalla-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <...
<?php namespace app\index\controller; use think\Controller; use think\Request; use app\index\controller\Common; use think\facade\Request as Frequest; use app\model\Category; use app\model\Brand; use app\model\GoodsPhoto; use app\model\History; use app\model\Goods as goodsModel; class Goods extends Common { /**商品...
<?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 #####ESSENTIALS###### require_once($_SERVER['DOCUMENT_ROOT']."/emapp/config/serverconfig.php"); require_once(UTILSDIR."/essentials_open.php"); require_once(UTILSDIR."/commons.php"); if(!isset($_SERVER['HTTP_REFERER'])){ header ('Location:'.$_SERVER['DOCUMENT_ROOT']."/mga/"); exit(); } else $_SERVER['HTTP_REFER...
<?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 namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class OrderItems extends Model { use HasFactory; protected $table = 'order_items'; protected $fillable=[ 'order_id', ...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |---------------------------------------...
<?php $__env->startSection('pagetitle', 'Appointment'); ?> <?php $__env->startSection('styles'); ?> <link href="<?php echo e(asset('css/vendor/admin.min.css')); ?>" rel="stylesheet"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- Page Wrapper --> <div id="wrapper"> <!-- Sidebar ...
@include('view-css') <body> <div class="wrapper"> @include('header') <div class="search-sec"> <div class="container"> <div class="search-box"> <form> <input type="text" name="search" placeholder="Rechercher un événement"> <button type="submit">Rechercher</button> </form> ...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\ResolutionCaseManagement\Types; use DTS\eBaySDK\ResolutionCaseManagement\Types\OfferO...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Sheik * Description: Contact class */ class FeedbackModel extends CI_Model{ function __construct(){ parent::__construct(); } public function getlfeedback(){ $this->db->select('*'); $this->db->from('feedba...
<?php namespace Laraspace; use Illuminate\Database\Eloquent\Model; class Post extends Model { // }
@extends('layouts.student.master') @section('title', 'Page Title') @section('sidebar_header') @parent <p>Filter for challenges</p> @endsection @section('sidebar') @parent Here I can see the challenges this week @endsection @section('content') <p>This is my body content here I will display the levels...
<?php declare(strict_types=1); namespace Zing\LaravelSms; use GrahamCampbell\Manager\AbstractManager; use Illuminate\Contracts\Config\Repository; use Zing\LaravelSms\Connectors\ConnectionFactory; /** * @method static bool send($number, $message) 发送消息 */ class SmsManager extends AbstractManager { protected $fa...
<?php /** * Created by PhpStorm. * User: admin * Date: 2016/10/11 * Time: 14:51 */ namespace app\tools; class Constants { const DEFAULT_PASS = '123456'; const DICT_CONTENT_MZ = 1; //民族 const DICT_CONTENT_DP = 2; //党派 const DICT_CONTENT_XL = 3; //学历 const DICT_CONTENT_XW = 4; //学位 const D...
<?php namespace Dotenv\Regex; abstract class Result { /** * Get the success option value. * * @return \PhpOption\Option */ abstract public function success(); /** * Get the error value, if possible. * * @return string|int */ public function getSuccess() { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateNewsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('news', function (B...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException; use Illuminate\Contracts\Validation\Validator; class ContactUsRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @retu...
<div id="corner"> <div class="tl"></div> <div class="tr"></div> <div class="br"></div> <div class="bl"></div> </div> <div class="support"> <div class="content"> <h1>😭</h1> <h2>Please don't squaze me 😱.</h2> <p>I think your screen is just to small for me to support it.</p> <p>Please rotate you...
<?php namespace App\Facade; use Illuminate\Support\Facades\Facade; class ParserService extends Facade{ protected static function getFacadeAccessor() { return 'Parser'; } }
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class NewsComments extends Model { /** * @var string */ protected $table = 'news_comments'; /** * @var array */ protected $guarded = []; /** * @return Belo...
<?php declare(strict_types=1); namespace Shopsys\FrameworkBundle\Form\Constraints; use League\Flysystem\MountManager; use Shopsys\FrameworkBundle\Component\FileUpload\FileUpload; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; use Symfony\Component\HttpFoundation\File\File as FileObject...
<?php /** * A class name factory * * This object is used for constructing class names based on * configuration and method arguments. Every public method * returns a string of a class name. * * @example * * // These examples assume a default configuration * * $factory->connection('Mongo'); // => 'Co...
<?php namespace Unified\Console\Commands; use Illuminate\Console\Command; use Illuminate\Foundation\Inspiring; class Inspire extends Command { /** * The console command name. * * @var string */ protected $name = 'inspire'; /** * The console command description. * * @va...
<div class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel mt-3 pb-3 mb-3 d-flex"> <div class="image"> <img src="{{asset('assets/dist/img/user8-128x128.jpg')}}" class="img-circle elevation-2" alt="User Image"> </div>/ <div class="info"> <a...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\Post; class CategoryController extends Controller { public function postsPerCategory($slug) { $category = Category::where('slug', $slug)->first(); if (empty($category)) { abort(404); } $po...
<?php /** * @package Joomla.Administrator * @subpackage com_banners * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * View class for a list of tracks. *...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Backpack\CRUD\app\Models\Traits\CrudTrait; class Openingday extends Model { use CrudTrait; /* |-------------------------------------------------------------------------- | GLOBAL VARIABLES |----------------------------------...
@extends('pages.guest.layout.template') @section('content') <!-- slider --> <section class="about-us-slider swiper-container p-relative"> <div class="swiper-wrapper"> <div class="swiper-slide slide-item"> <img src="/assets/img/about/blog/1920x700/banner-4.jpg" class="img-fluid f...
<?php namespace App\Http\Controllers; use App\Models\Event; use Illuminate\Http\Request; class FullCalendarController extends Controller { // public function index() { if (request()->ajax()) { $start = (!empty($_GET["start"])) ? ($_GET["start"]) : (''); $end = (!empty($_G...
<?php namespace Devlabs91\GenericOtaHotelApiService\StructType; use \WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for RatePlanCandidate StructType * Meta informations extracted from the WSDL * - documentation: Element used to identify available products and rates. * @subpackage Structs */ c...
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
<?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...
@extends('layouts.master') @section('content') <div class="card"> <div class="card-content"> <div class="card-body"> @if ($errors) @foreach ($errors->all() as $error) <x-alert type="danger" message="{{$error}}"></x-alert> ...
<?php /* * This file is part of Laravel Taggable. * * (c) DraperStudio <hello@draperstud.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace DraperStudio\Taggable; use DraperStudio\ServiceProvider\ServiceProvider as Ba...
<?php use yii\grid\GridView; use yii\helpers\Html; $this->title = 'Статистика по категориям'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="row justify-content-center align-items-center"> <div class="col-1"></div> <div class="col"> <h1><?= Html::encode($this->title) ?></h1> <...
@foreach (session('flash_notification', collect())->toArray() as $message) @if ($message['overlay']) @include('flash::modal', [ 'modalClass' => 'flash-modal', 'title' => $message['title'], 'body' => $message['message'] ]) @else @push('flash-...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } /** * B...
<?php session_start(); if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) { } else { echo "<br/>" . "Esta pagina es solo para usuarios registrados." . "<br/>"; echo "<br/>" . "<a href='login.php'>Hacer Login</a>"; exit; } $now = time(); // checking the time now when home page starts if($now > $_SESS...
<?php if (ENVIRONMENT == 'development') : ?> <!-- DEBUG --> <h2 class="text-danger"><b>TOGLIERE DEBUG E ERRORS</b></h2> <button data-toggle="collapse" data-target="#demo">TOGGLE</button> <div id="demo" class="panel panel-primary collapse"> <div class="panel-heading"> DEBUG <...
<?php namespace Org\Schema\Thing\Action\InteractAction\CommunicateAction; /** * InformAction Class. * The act of notifying someone of information pertinent to them, with no expectation of a response. * @author AppBels <app.bels@gmail.com> * @name InformAction * @namespace Org\Schema\Thing\Action\In...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Task extends Model { use HasFactory; protected $guarded = [] ; public function group() { return $this->belongsTo(Group::class, 'group_id'); } }
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\ListView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ ?> <div class="pairing-products-index"> <h1><?= Html::encode($this->title) ?></h1> <div id="products" class="row list-group"> <?= ListView:...
<?php namespace Sprint\Migration\Builders; use Bitrix\Main\ArgumentException; use Bitrix\Main\SystemException; use Sprint\Migration\Exceptions\RebuildException; use Sprint\Migration\Locale; use Sprint\Migration\Module; use Sprint\Migration\VersionBuilder; class OptionBuilder extends VersionBuilder { protected f...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Produto extends Model { protected $fillable = [ 'nome', 'preco', 'marca', 'imagem', 'exp_data', 'stock', 'descricao', ]; }
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\PersonalVehicle; use Faker\Generator as Faker; $factory->define(PersonalVehicle::class, function (Faker $faker) { return [ 'registration_number'=>$faker->randomLetter.$faker->randomLetter.$faker->randomDigit.' - '.$faker->randomLett...
@extends('admin::layout') @section('title')Ads @stop @section('breadcrum')Create Ads @stop @section('script') <!-- Theme JS files --> <script src="{{asset('admin/global/js/plugins/forms/styling/uniform.min.js')}}"></script> <script src="{{asset('admin/global/js/demo_pages/form_inputs.js')}}"></script> <script src="{{...
<?php /** * Created by PhpStorm. * User: lining * Date: 2018/11/7 * Time: 11:14 AM */ use App\Models\User; return [ // 页面标题 'title' => '用户', // 模型单数,用作页面『新建 $single』 'single' => '用户', // 数据模型,用作数据的 CRUD 'model' => User::class, // 设置当前页面的访问权限,通过返回布尔值来控制权限。 // 返回 True 即通过权限验...
<!DOCTYPE Html> <Html> <head> <meta charset="utf-8"></meta> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@yield("title")Bangkok Smiles Admin</title> <link href='//fonts.googleapis.co...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v7/services/label_service.proto namespace Google\Ads\GoogleAds\V7\Services; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A single operation...
@extends('layouts.main') @section('slide') <div id="header-carousel" class="carousel slide" data-ride="carousel" data-interval="2000"> <div class="carousel-inner"> <div class="carousel-item active" style="height: 410px;"> <img class="img-fluid" src="/images/carousel-1.jpg" alt="Image"> ...
<?php namespace App\Http\Controllers; use App\Repositories\ApprenantRepository; use App\Repositories\ContratRepository; use App\Repositories\CorkageRepository; use Illuminate\Http\Request; use Laracasts\Flash\Flash; class CorkageController extends Controller { protected $contratRepository; protected $corkage...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PaypalPayment extends Model { // protected $fillable = ['amount','rate','txn_id','create_time','state','payer_email']; public function user(){ return $this->belongsTo(User::class); } }
<?php return [ 'interfaces' => [ 'google.ads.googleads.v0.services.AdScheduleViewService' => [ ], ], ];
<?php namespace Roots\Sage\Config; use Roots\Sage\ConditionalTagCheck; /** * Enable theme features */ add_theme_support('soil-clean-up'); // Enable clean up from Soil add_theme_support('soil-nav-walker'); // Enable cleaner nav walker from Soil add_theme_support('soil-relative-urls'); // Enable rel...
<?php include 'dataconnection.php'?> <?php $bnam=$_POST['bnam']; $msg=$_POST['msg']; $unam=$_POST['nam']; $sql="INSERT INTO latest_review(bnam,b_revie,unam)VALUES('$bnam','$msg','$unam')"; if($conn->query($sql)==true) { echo"<script type='text/javascript'>alert('registered succesfully!');window.location='user_viewb...
<?php namespace App\Validation\Exceptions; use Respect\Validation\Exceptions\ValidationException; class EmailAvailableException extends ValidationException { public static $defaultTemplates = [ self::MODE_DEFAULT => [ self::STANDARD => 'Email is already taken', ], ]; }
@extends('layouts.admin') @section('content') @if(Session::has('info')) <div class ="row"> <div class ="col-md-12"> <p class ="alert alert-info" >{{Session::get('info')}}</p> </div > </div > @endif <div class =" row "> <div class ="col-md...
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { return [ 'name' => $t...
<?php namespace Quasarr\Command; use Doctrine\Persistence\ManagerRegistry; use Quasarr\Entity\Movie; use Quasarr\Entity\TvEpisode; use Quasarr\Entity\TvSeason; use Quasarr\Enum\ResourceStatus; use Quasarr\Message\DownloadMovieMessage; use Quasarr\Message\DownloadTvEpisodeMessage; use Quasarr\Message\DownloadTvSeasonM...
<?php /* Plugin Name: Curso 10 - Newslatter Plugin URI: http://exemplo.com Description: Plugin desenvolvido Newslatter Version: 1.0 Author: José Malcher Jr. Author URI: https://josemalcher.net Text Domain: meu-newslatter License: GPL2 */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Load script require_once( plugin_dir...
<?php namespace PayPal\EnumType; use \WsdlToPhp\PackageBase\AbstractStructEnumBase; /** * This class stands for AverageTransactionPriceType EnumType * Meta information extracted from the WSDL * - documentation: AverageTransactionPriceType Enumeration Meaning AverageTransactionPrice-Not-Applicable AverageTransacti...
@extends("frontend.index") @section("fontbody") <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="__t_f_heading"> <h4 class="font-18">E-Tander/Proposal Search Result</h4> </div> </div> </div> <div class="row"> <div class="col-lg-12 table-responsive"> ...
<?php namespace LinguaLeo\ExpertSender\Chunks; class WhereConditionsChunk extends ArrayChunk { const PATTERN = <<<'EOD' <WhereConditions> %s </WhereConditions> EOD; /** * @return string */ protected function getPattern() { return self::PATTERN; } }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Spatie Vue ACL</title> <!-- Theme styles --> <link rel="stylesheet" href="{{ asset('css/app.css') }}"> </head> <body class="hold-transition sidebar-mini"> ...
<div class="row profile-right-side-content"> <div class="user-profile"> <div class="profile-header-background"> <a href="#" class="profile-cover"> <img src="<?php echo base_url(); ?>/assets/images/users/cover/cover1....
@extends('layouts.admin') @section('custom-css') <link href="{{asset('/')}}template/assets/libs/bootstrap-table/dist/bootstrap-table.min.css" rel="stylesheet" type="text/css" /> <!-- Custom CSS --> @endsection @section('page-title') Service page @endsection @section('breadcrumb') <li class="breadcrum...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class OnlineExamQuestion extends Model { use SoftDeletes; protected $dates = ['deleted_at']; protected $guarded = array('id'); public function online_exam() { return $this-...
<?php namespace ccxt; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception as Exception; // a common import class binance extends Exchange { public function describe () { return array_r...
<?php namespace Database\Factories; use App\Models\role; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { return [ ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<?php namespace RandomQueue\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; class LogController extends AbstractController { protected const CONTROLLER_ACTIONS = [ '/log' => 'list', '/log/{id}' => 'item', ]; /** * @var \PDO ...
<?php namespace App\Http\Controllers; use App\Media; use App\ProfilePicture; use App\User; use App\Video; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Session; class ProfileController extends Controller { public function change_details_get() { $use...
<?php namespace backend\controllers; use Yii; use yii\web\Controller; use yii\filters\AccessControl; /** * Goods controller */ class GoodsController extends Controller { /** * {@inheritdoc} */ // public function behaviors() // { // return [ // 'access' => [ // '...
<?php namespace RectorPrefix20210603\TYPO3\CMS\Core\Mail; if (\class_exists('TYPO3\\CMS\\Core\\Mail\\MailMessage')) { return; } class MailMessage { /** * @return $this * @param string $subject */ public function setSubject($subject) { $subject = (string) $subject; return...
<!DOCTYPE html> <html lang="en"> <head> <style type="text/css"> .container { padding: 400px 200px; } .background1 { background: transparent url("img/background1.png") center 0 no-repeat; } .background2 { background: transparent url("img/...
<?php namespace Rajv3\EventsModule\Category; use Anomaly\Streams\Platform\Entry\EntryCollection; class CategoryCollection extends EntryCollection { }
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePapersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('papers', function($table) { $table...
<?php /** * Created by PhpStorm. * User: Jordi * Date: 20-2-2018 * Time: 10:36 */ class Images extends CI_Controller{ /** * Images constructor. */ public function __construct(){ parent::__construct(); $this->load->database(); $this->load->model('ticket'); $thi...
<?php $user_id=$this->session->userdata('user_id'); $user_email=$this->session->userdata('user_email'); $assignmanger=$this->session->userdata('assignmanger'); if(!$user_id){ redirect('user/login_view'); } ?> <!DOCTYPE> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> bod...
<?php namespace Evercode1\FoundationMaker\Builders\Writers; use Evercode1\FoundationMaker\Builders\ContentRouters\ExceptionContentRouter; class ExceptionWriter { public $builder; public function __construct() { $this->builder = new ExceptionContentRouter(); } Public function writeEa...
<?php /** * Created by PhpStorm. * User: hui * Date: 2017/3/11 * Time: 17:34 */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text...
<?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 namespace App\Facades; use Illuminate\Support\Facades\Facade; class GeoIPFacade extends Facade { protected static function getFacadeAccessor() { return 'geoip'; } }
<?php $lang['employees_employee'] = 'Employee'; $lang['employees_new'] = 'New Employee'; $lang['employees_update'] = 'Update Employee'; $lang['employees_confirm_delete'] = 'Are you sure you want to delete the selected employees?'; $lang['employees_none_selected'] = 'You have not selected any employees to delete'; $lang...
<div class="step_title"><?php echo $text["step_title"]; ?><?php echo $userName; ?></div> <div class="step_title_descr"><?php echo $text["step_title_descr"]; ?></div> <div id="register_step3"> <div class="congrat_text"> <?php echo $text["congrat_text"]; ?> </div> <ul class="congrat_ul"> <l...
<?php // Initialize the session session_start(); // Check if the user is logged in, if not then redirect him to login page if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ header("location: ../index.php"); exit; } // Include config file require_once "../includes/config.inc.php"; $Atten...