text
stringlengths
2
1.03M
<?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 /** * php-gedcom. * * php-gedcom is a library for parsing, manipulating, importing and exporting * GEDCOM 5.5 files in PHP 5.3+. * * @author Kristopher Wilson <kristopherwilson@gmail.com> * @copyright Copyright (c) 2010-2013, Kristopher Wilson * @license MIT * * @link h...
<?php namespace backend\controllers; use Yii; use common\models\Vehicle; use yii\data\ActiveDataProvider; use backend\controllers\AdminController; use yii\web\NotFoundHttpException; /** * VehicleController implements the CRUD actions for Vehicle model. */ class VehicleController extends AdminController { /** ...
<?php namespace Modules\Wallet\database\seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class WalletMenuSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { if (DB::table('module_menus')->where('name','wa...
<?php /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Invites Invites * @ingroup UnaModules * * @{ */ $aConfig = array( /** * Main Section. */ 'type' => BX_DOL_MODULE_TYPE_MODULE, 'name' => 'bx_invites', 'title' =>...
<nav class="pagination" aria-label="Page navigation" style="padding-left: 20px; padding-right: 20px;"> <?php if ($pager->hasPreviousPage()) :?> <a class="pagination-previous" href="<?= $pager->getPreviousPage() ?>" aria-label="<?= lang('Pager.previous') ?>"> <span aria-hidden="true"> Anterior</s...
<!-- START Left Column --> <div id="left-column" class=""> <!-- NOTE TO READER: Accepts the following class(es) "menu-icon-only", "fixed" class --> <div id="mainnav"> <ul class="mainnav"> <!-- NOTE TO READER: Accepts the following class(es) "animate" class --> <li class="menu-item-top"> ...
<?php /** * Class UserRoleModel * * This class contains everything that is related to up- and downgrading accounts. */ class UserRoleModel { /** * Upgrades / downgrades the user's account. Currently it's just the field user_account_type in the database that * can be 1 or 2 (maybe "basic" or "premium"...
@section('title', 'История рейтинга') @extends('admin.template') @section('main') <link rel="stylesheet" type="text/css" href="/css/public_colors.css" /> <link href="//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" /> <style> table.dataTable thead th, table.dataTable tfoot...
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Antispam Antispam * @ingroup UnaModules * * @{ */ class BxAntispamStudioPage extends BxTemplStudioModule { protected $oModule; function...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
@extends('layouts.cms_master') @section('content') <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2>اضافه نمودن </h2> <ul class="nav navbar...
<?php // Prevent direct access to this file. if( !defined( 'ABSPATH' ) ) { exit( 'You are not allowed to access this file directly.' ); } // "The Core" define('FORCE_SSL' , true); if (defined('FORCE_SSL')) add_action('template_redirect', 'wpfssl_core'); function wpfssl_core(){ if ( FORCE_SSL && !is_ssl ()...
<?php namespace Tests\Unit; use App\Models\Image; use App\Models\User; use App\Express\Xpress; use App\Express\Models\Expression; use App\Express\ExpressionService; use App\Express\Facades\Express; use PHPUnit\Framework\TestCase; class ExpressionTest extends TestCase { /** * A basic test example. * ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-4"> <div class="card"> <div class="card-header">Tweets</div> <div class="card-body"> Twitter API(soon) ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use App\Element; use Auth; use Illuminate\Support\Facades\Hash; use Intervention\Image\ImageManagerStatic as Image; class HomeController extends Controller { /** * Create a new controller instance. * * @return void ...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class Advisor { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle...
<?php interface JsonWritable { public function getJSONString(); }
<?php /** * Message Controller file * * @package Qinblog * @subpackage Admin * @author MrQin * @copyright Copyright (c) 2016 - 2017 , blog * @license http://opensource.org/licenses/MIT MIT License * @link http://www.qinblog.net * @version 1.0.0 * @since 1.0.0 * @filesource */ defined('BASEPAT...
<?php namespace API\Controller; use Think\Controller; use API\Common\Curl; use API\Controller\BaseController; /** * 登录类 * * @author yzw * */ class EthController extends Controller { /** act 是 cloud_star_points token 是 登录获取的token price1 是 k码对应的人民币价值 price2 是 K码换算成...
<?php namespace App\Http\Controllers; use App\Mail\mailbox as MailMailbox; use App\Models\Mailbox; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Validator; class MailboxController extends Controller { public function sendMail(Request $request) { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Header extends Model { use HasFactory; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'logo','title', ...
<? $MESS["MPL_MAIL_MORE_COMMENTS"] = "Смотреть предыдущие комментарии (#NUM#)"; $MESS["MPL_MAIL_ADD_COMMENT_LINK"] = "Добавить комментарий"; $MESS["MPL_MAIL_ADD_COMMENT_BUTTON"] = "Добавить комментарий"; $MESS["MPL_MAIL_DESCRIPTION"] = "Ответьте на письмо, оставив комментарий выше или ниже текста письма."; ?>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class InternshipRequest extends Model { protected $table = 'internship_requests'; protected $fillabe = ['user_id','request']; }
<?php namespace LaravelModules\LaravelModuleInstaller; use Composer\Composer; use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; class LaravelModuleInstallerPlugin implements PluginInterface { public function activate(Composer $composer, IOInterface $io) { $installer = new LaravelModu...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; /** * TargetStatisticsSearch represents the model behind the search form of `app\models\TargetStatistics`. */ class TargetStatisticsSearch extends TargetStatistics { /** * {@inheritdoc} */ public function rules() ...
<?php /** * 商品 * @author auto create */ class Items { /** * 商品 **/ public $item; } ?>
<html> <head> <title>Admin</title> <link href="<?php echo base_url().'assets/css/bootstrap.css'; ?>" rel="stylesheet" /> <link href="<?php echo base_url().'assets/css/bootstrap-theme.css'; ?>" rel="stylesheet" /> <script src="<?php echo base_url().'assets/js/jquery.js' ; ?>" ></script> <script src="<?php echo b...
<div class="footer-wrapper"> <div class="footer-section f-section-1"> <p class="">Copyright © {{date('Y')}} <a target="_blank" href="https://designreset.com">DesignReset</a>, All rights reserved.</p> </div> <div class="footer-section f-section-2"> <p class="">{{config('app.name')}}</p> <...
<?php $this->load->view('templates/temp_alphabets'); ?> <body class="learn_alphabets run-animation"> <?php if($question->num_rows() > 0){ $que = $question->row(); $get_temp = $que->template_num; $get_answer = $this->query->get_answer($que->quizID); ?> <div > <div...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Payslip extends Model { use HasFactory; }
<section class=footer> <?php include('../../database/admin/session.php'); include('header.php'); include('../../includes/admin/navbar.php'); ?> <!-- Content Wrapper --> <div id="content-wrapper" class="d-flex flex-column"> <!-- Main Content --> <div id="content"> <!-- Topbar...
<?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\Finder\Iterator; /** * SortableIterator applies a so...
<?php $citation_formats = array( 'bibtex' => 'BibTex', 'endnote_bibix' => 'EndNote (Refer/BibIX)', 'endnote_ris' => 'EndNote (RIS)', 'nada_serialized' => 'NADA Serialized Array', // 'endnote_xml' => 'EndNote (XML)', ); ...
<?php /** * filevault_escrow_controller class * * @package filevault_escrow * @author gmarnin **/ class filevault_escrow_controller extends Module_controller { function __construct() { $this->module_path = dirname(__FILE__); } /** * Default method * * @author wardsparadox **/ function index() {...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Mini-Framework</title> </head> <body> <title> Not Found </title> <div> <p>Not ...
@extends('layouts.app-course') @section('content') <!-- Page breadcrumb --> <section id="mu-page-breadcrumb" style="background-image: url({{ asset('/storage/site-content/code_background.png') }})"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="mu-page-breadcrumb...
<?php namespace Database\Factories; use App\Models\SiteContato; use Illuminate\Database\Eloquent\Factories\Factory; class SiteContatoFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = SiteContato::class; /** * Def...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddDeletedAtToCategory extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('category', f...
<?php namespace app\crontab\controller; /** * ============================================================================ * DSMall多用户商城 * ============================================================================ * 版权所有 2014-2028 长沙德尚网络科技有限公司,并保留所有权利。 * 网站地址: http://www.csdeshang.com * -----------------------...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template"> <meta name="author" content="GeeksLabs"> <meta name="keyword" content="Creative, Dashboard...
<?php /** * This file is part of the Krystal Framework * * Copyright (c) No Global State Lab * * For the full copyright and license information, please view * the license file that was distributed with this source code. */ namespace Krystal\Application\Module; final class PathProvider implements PathProvide...
<?php namespace App\Http\Controllers\Dashboard; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Rate; use App\Models\Store; use Illuminate\Support\Facades\DB; class RateController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate...
<?php // if the from is loaded from WordPress form loader plugin, // the phpfmg_display_form() will be called by the loader if( !defined('FormmailMakerFormLoader') ){ # This block must be placed at the very top of page. # -------------------------------------------------- require_once( dirname(__FILE__).'/for...
<?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...
<!-- website header --> @include('layouts.website.header') <!-- website header ends --> <section class="hero-section"> <div class="row m-0 p-0"> <!-- sidebar slider section starts here --> <div class="col-md-2 m-0 p-0 bg-main-primary hero-sidebar rounded-bottom-right mb-5"> <div class="...
<?php /** * */ class Model_mapel extends CI_Model { public function tampil_data($table) { return $this->db->get($table); } public function insert_data($data,$table) { $this->db->insert($table,$data); } public function update_data($where,$data,$table) { $this->db->where($where); $this->db->update($t...
<!DOCTYPE html> <!-- Template view which all other views will use --> <html lang="en"> <head> <meta charset="utf-8"> <title>{pagetitle}</title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <!-- ...
<!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"> <!-- Bootstrap CSS --> <link rel="stylesheet" type="text/css" href="<?php base_url(); ?>assets/css/style.css"> <...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(UsersSeeder::class); $this->call(GamesDataSeeder::class); } }
<?php // +-----------------------------------------------------------------------+ // | This file is part of Piwigo. | // | | // | For copyright and license information, please view the COPYING.txt | // | f...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; class Admin extends Model { use HasFactory, Notifiable; protected $fillable = [ 'name', 'email', 'password', 'p...
<?php namespace App\Http\Controllers; use App\HouseguestAction; use App\Http\Requests\HouseguestActions\HouseguestActionRequest; use Exception; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Response; class HouseguestActionsController extends Controller { /** * HouseguestActionsController constru...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?php /** * @author @jenschude <jens.schulze@commercetools.de> */ namespace Commercetools\Core\Request; use Commercetools\Core\Request\Query\Parameter; use Commercetools\Core\Request\Query\ParameterInterface; /** * @package Commercetools\Core\Request */ trait WithTotalTrait { /** * @param ParameterInter...
<?php return explode(' ',' Zhi Bi Shen Qi Xian Pan Kang Don Cui Bap Can Pha Xoi Ngoc Su Chanh Nhai Do Kang Bo Shuan Pi Zai Zhu Zi Sou Jiong Tok Chan Fan Xiao Yin Hou Mao Tu Gan Ji Yi Yu Jiong Pao Xiao Gou Gou Sun Xian Zhuan Co Hay Mau Gaa Noc Gang ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit97caff8cdda49f20264fe5ba4dd83529::getLoader();
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php /** * User table for admins * * @author gizmore * @see GWF_User * @see GWF_Table */ class Admin_Users extends GWF_MethodQueryTable { use GWF_MethodAdmin; public function getPermission() { return 'staff'; } public function execute() { return $this->renderNavBar()->add(parent::execute()); } pub...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; use App\Http\Middleware\VerifyCategoryCount; use App\Http\Middleware\VerifyIsAdmin; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every reque...
<?php namespace SilverStripe\EventDispatcher\Dispatch; interface DispatcherLoaderInterface { public function addToDispatcher(EventDispatcherInterface $dispatcher): void; }
<?php /** * @see https://github.com/laminas/laminas-feed for the canonical source repository * @copyright https://github.com/laminas/laminas-feed/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-feed/blob/master/LICENSE.md New BSD License */ namespace Laminas\Feed\Writer; use Lamina...
<?php namespace Webcosmonauts\Alder\Models\Modifiers; class TagModifier extends BaseModifier { public const leaf_type = 'tag'; }
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:35:31 compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/controllers/orders/_new_product.tpl" */ ?> <?php /*%%SmartyHeaderCode:697624829568df21b68d867-16688372%%*/if(!defined('SMARTY_DIR')) exit('no ...
<?php /** * Copyright 2015 SmartBear Software * * 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 applicab...
<?php namespace app\adminapi\controller; use think\Controller; use think\Request; class Spec extends BaseApi { /** * 显示资源列表 * * @return \think\Response */ public function index() { //获取属性列表 $params = input(); $where = []; if (!empty($params['keyword']))...
@inject('data','App\DataManager') <?php $url_array = resolve('url_array'); $subdomain = resolve('subdomain'); $data_values = $data->getData($subdomain); $country = $data_values["country"]; $cities = $data_values["cities"]; $ga = $data_values["ga"]; $currency = $data_values["currency"]; $link_prefix="...
<?php /** * @Author: lenovo * @Date: 2019-05-27 20:35:53 * @Last Modified by: lenovo * @Last Modified time: 2019-06-01 15:56:38 */ namespace app\admin\model; use think\Model; class Base extends Model { protected $autoWriteTimestamp = true; public function add($data) { if(!is_Array($data)){ exception(...
<?php namespace vip9008\MDC\components; use Yii; use yii\helpers\ArrayHelper; use vip9008\MDC\helpers\Html; use vip9008\MDC\assets\NavDrawerAsset; /** * A widget to render a nav drawer component * @param array $options: nav container html options in terms of name-value pairs. * @param string | array $drawerType: ...
<?php namespace App\Modules\Okala\Providers; use Caffeinated\Modules\Support\ServiceProvider; class ModuleServiceProvider extends ServiceProvider { /** * Bootstrap the module services. * * @return void */ public function boot() { $this->loadTranslationsFrom(__DIR__.'/../Resour...
<?php namespace App\Http\Controllers; use App\Annonce; use App\Category; use Illuminate\Http\Request; class testController extends Controller { public function nothome(){ $annocnes = Annonce::with('category')->get(); foreach ($annocnes as $annocne){ $cat = $annocne->category; ...
<?php namespace PasswordPolicy\Rules; use PasswordPolicy\Rule; /** * Class CaseRule * */ class CaseRule implements Rule { /** * Min number of lower case characters * * @var int */ private $lower = 0; /** * Min number of upper case characters * * @var int */ ...
<?php /** * @package Joomla.Administrator * @subpackage com_plugins * * @copyright Copyright (C) 2005 - 2016 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 # Run a nice and simple Fibonacci function. # See: https://arkadiuszkondas.com/how-to-run-php-8-with-jit-support-using-docker/ echo 'TEST: Fibonacci 32', PHP_EOL; echo 'PHP Version:', phpversion(), PHP_EOL; function fibonacci($n){ return(($n < 2) ? 1 : fibonacci($n - 2) + fibonacci($n - 1)); } $n = 32; $st...
<?php declare(strict_types=1); namespace AwdStudio\Query; use AwdStudio\Bus\Exception\NoHandlerDefined; use AwdStudio\Bus\MiddlewareBus; /** * Implements the QueryBus with handling via middleware. */ final class MiddlewareQueryBus extends MiddlewareBus implements QueryBus { /** * {@inheritdoc} */ ...
<?php namespace JetRails\Cloudflare\Controller\Adminhtml\Api\SslTls\Tls13; use JetRails\Cloudflare\Controller\Adminhtml\Getter; /** * This controller inherits from a generic controller that implements the * base functionality for interfacing with a getter model. This action * simply loads the initial value ...
<?php $conceptoActivo = DB::select("select * from conceptoactivo"); $row = array(); foreach ($conceptoActivo as $key => $value) { $valores = get_object_vars($value); $row[$key][] = $valores['idConceptoActivo']; $row[$key][] = $valores['codigoConceptoActivo']; $row[$key][] = $valores['nombreCon...
@extends('layouts.app') @section('content') @section('page-title', 'Perika Pembelian') @include('layouts.includes.breadcumb') @include('pages.checkout.content') @endsection
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Article; use App\Models\Video; class HomeController extends Controller { public function index(){ $articles = Article::all(); $featured = Video::where('featured', true)->first(); $videos = Video::where('feat...
<!doctype html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="_token" content="{{csrf_token()}}"> <title>HOMES.lk</title> <link rel="shortcut icon" href="images/favi...
<?php namespace Dez\Url; use Dez\Router\Route; use Dez\Router\Router; use Dez\Url\Builder\BuilderException; /** * Class Builder * @package Dez\Url */ class Builder { /** * @var */ protected $router; /** * @var */ protected $parameters; /** * @var bool */ protected $founded =...
<?php namespace TGTBundle\Controller; use Doctrine\Common\Collections\ArrayCollection; use TGTBundle\Entity\Question; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;use Symfony\Component\...
<?php /** * Trigger plugin for Craft CMS 3.x * * @link https://workingconcept.com * @copyright Copyright (c) 2019 Working Concept Inc. */ namespace workingconcept\trigger\console\controllers; use workingconcept\trigger\Trigger; use yii\console\Controller; use yii\console\ExitCode; class DeployController ext...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class TableTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('tables')->insert([ 'name' => "table1", ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Transaksi extends Model { protected $table = 'transaksi'; protected $fillable = [ 'kode','debitur_id', 'motor_id', 'uangmuka', 'tempo', 'angsuran', 'no_polisi', 'no_mesin', 'no_rangka', 'penyerah', 'penerima' ]; ...
<?php namespace AlibabaCloud\Kms; /** * @method string getPageSize() * @method $this withPageSize($value) * @method string getKeyId() * @method $this withKeyId($value) * @method string getPageNumber() * @method $this withPageNumber($value) */ class ListKeyVersions extends Rpc { }
<div class="container"> <div class="top_nav_left"> <nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar...
@extends('layouts.layoutFull') @section('title','Reset Password') @section('content') <!-- BEGIN: Content--> <div class="app-content content "> <div class="content-wrapper"> <div class="content-body"> <div class="auth-wrapper auth-v2"> <div class="auth-inner row m-0"> <!-- Brand logo-->...
<div class="most-anticipated-container space-y-10 mt-8"> @forelse($mostAnticipated as $game) <x-game-card-small :game="$game"/> @empty @foreach(range(1,3) as $game) <div class="game flex"> <div class="bg-gray-800 w-24 h-32 rounded-md"></div> <div c...
<?php namespace App\Http\Controllers; use App\Profil; use Illuminate\Http\Request; class ProfilController extends Controller { public function index() { $profile = Profil::all(); return view('profil.index',compact('profile')); } public function create() { return view('profi...
<?php namespace Docker\Api\Endpoint; class ServiceList extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Jane\OpenApiRuntime\Client\Endpoint { /** * * * @param array $queryParameters { * @var string $filters A JSON encoded value of the filters (a `map[string][]string`) to proce...
<?php namespace PeriodicNotice\Tests\Fixtures\Models; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use PeriodicNotice\Concerns\InPeriodicNotice; use PeriodicNotice\Contracts\SendableEntity; use PeriodicNotice\Tests\Fixtures\Fa...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be use...
<section id="subscribe_section" class="subscribe_section"> <div class="row"> <form action="#" method="post" class="form-horizontal"> <div class="form-group form-group-lg"> <label class="col-sm-6 control-label" for="formGroupInputLarge"> <h1><span class="red-co...
<?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 ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class SomeClass { public function some_method() { $a=10; $b=5; return $a+$b; } }
<?php namespace Database\Factories; use App\Models\Product; use App\Models\County as County; use App\Models\SubCounty as SubCounty; use Illuminate\Database\Eloquent\Factories\Factory; class ProductFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string ...
<?php /* * Made by Samerton * https://github.com/NamelessMC/Nameless/ * NamelessMC version 2.0.0-pr3 * * License: MIT * * Admin images page */ // Can the user view the AdminCP? if($user->isLoggedIn()){ if(!$user->canViewACP()){ // No Redirect::to(URL::build('/')); die(); } else { // Check the use...
<?php /** * Author: Nil Portugués Calderó <contact@nilportugues.com> * Date: 12/18/15 * Time: 11:36 PM. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NilPortugues\SchemaOrg\Properties; use NilPortugues\SchemaOrg\Schem...