text
stringlengths
2
1.03M
@extends('layouts.app') @section('content') <div class="secondary-menu"> <div class="container"> <div class="row"> <div class="col-lg-12"> <a href="/football">Football</a> &#187; Create Game </div><!-- Col --> </div><!-- Row --> </div><!-- Co...
<?php /* |-------------------------------------------------------------------------- | ブロードキャストチャンネル |-------------------------------------------------------------------------- | | ここで、アプリケーションでサポートする、全てのイベントブロードキャスト | チャンネルを登録してください。指定されたチャンネルの認可コールバックにより、 | 認証済みユーザがそのチャンネルをリッスンする許可を持っているかチェックされます。 | */ Broadcast::c...
<?php /** * This file is part of Uikit. * * Copyright (c) Róbert Kelčák (https://kelcak.com/) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Tests\Frameworks\Bootstrap5\Form; use Tests\Compone...
<?php /** * Article Downloads (article-downloads) * @var $this DownloadController * @var $model ArticleDownloads * @var $form CActiveForm * version: 0.0.1 * * @author Putra Sudaryanto <putra@sudaryanto.id> * @copyright Copyright (c) 2017 Ommu Platform (opensource.ommu.co) * @created date 8 January 2017, 20:54 ...
<div class="container"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="#">Digital Service Canvas</a> </li> <li class="breadcrumb-item active">Reset Password</li> </ol> <!-- Example DataTables Card--> <div class="card mb-3"> <div clas...
<?php namespace Fs\Socket; use Fs\Resource; class Server extends Resource { /** @var int */ private $errno; /** @var string */ private $errstr; /** * Client constructor. * @param string $path */ public function __construct($path) { parent::__construct($path, 'rw');...
<?php /** * MIT License * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace SprykerEco\Zed\Sevensenders\Business\Handler; use SprykerEco\Zed\Sevensenders\Business\Api\Adapter\SevensendersApiAdapter; class ShipmentHandler extends AbstractHandler { ...
<?= $this->extend('layouts/master.php') ?> <?= $this->section('content') ?> <div id="content"> <!-- Topbar --> <?= $this->include('layouts/navbar.php') ?> <!-- Sidebar Toggle (Topbar) --> <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3"> <i class="fa fa-bars"></...
<?php /** * * PHP 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain th...
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; use backend\components\grid\GridView; /* @var $this yii\web\View */ /* @var integer $field поле для поиска (наименование, номер телефона, E-mail) */ /* @var string $criteria значение для отбора */ /* @var $dataProvider \yii\data\ActiveDataProvider таблица один...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Auth extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('form_validation'); } public function index() { $this->form_validation->set_rules('email', '...
<?php namespace App\Http\Controllers\Almacenamiento; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class AlmacenamientoController extends Controller { public function dashboard(){ return view('almacenamiento.dashboard'); } public function proveedores(){ return view('al...
<!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"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Lara...
<?php /** * @package ImpressPages */ namespace Ip; /** * * Information about current request route * @package Ip */ class Route { protected $action = null; protected $controller = null; protected $plugin = null; protected $environment = 'public'; protected $controllerClass = null; pro...
<!-- Sidebar --> <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar"> <!-- Sidebar - Brand --> <a class="sidebar-brand d-flex align-items-center justify-content-center" href="/prison/public/admin"> <div class="sidebar-brand-icon rotate-n-15"> <i class="fas fa-la...
<?php namespace Tests\API { /** * Test HSTS handling on webservice calls * * @TODO: mock endpoints rather than having them call real sites; what if the user really does have HSTS headers on localhost? */ class HSTSTest extends \Tests\KnownTestCase { function setUp(): void ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App; use DB; use Config; class TypeController extends Controller { /** * Index function. List items under specific type * * @return view */ public function index(Reque...
<?php namespace Daften\Bundle\AddressingBundle\Form\EventListener; use CommerceGuys\Addressing\AddressFormat\AddressFormatHelper; use CommerceGuys\Addressing\AddressFormat\AddressField; use CommerceGuys\Addressing\AddressFormat\AddressFormatRepository; use CommerceGuys\Addressing\AddressFormat\AddressFormatRepository...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class SysConfig extends Model { protected $table = 'st_sys_config'; protected $primaryKey = 's_id'; public $timestamps = false; public $incrementing = false; }
<?php /** * JCH Optimize - Joomla! plugin to aggregate and minify external resources for * optmized downloads * * @author Samuel Marshall <sdmarshall73@gmail.com> * @copyright Copyright (c) 2014 Samuel Marshall * @license GNU/GPLv3, See LICENSE file * * This program is free software: you can redistribute it an...
<?php namespace App\Database\Migrations; use CodeIgniter\Database\Migration; class AddSiswaIbu extends Migration { public function up() { $this->forge->addField([ 'id' => [ 'type' => 'INT', 'constraint' => 12, 'unsign...
<?php use yii\db\Migration; /** * Class m200413_154024_create_FK */ class m200413_154024_create_FK extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->addForeignKey('ActivityCategoryFK','activities','category_id','category_activities','id','cascade'); $...
<?php /** * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not...
<?php /** * This file is part of the Yasumi package. * * Copyright (c) 2015 - 2018 AzuyaLabs * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Sacha Telgenhof <stelgenhof@gmail.com> */ namespace Yasumi\tests\Austria; use...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Rata_tangkapan_ikan extends CI_Controller { function __construct() { parent::__construct(); $c_url = $this->router->fetch_class(); $this->layout->auth(); $this->layout->auth_privilege($c_url); ...
@extends('dashboard.admin.layouts.admin-dash-layout') @section('title','List Berita') @section('content') <br><br> <div class="col-md-12"> <div class="card card-outline card-primary"> <div class="card-header"> <h3 class="card-title">List Berita</h3> <div class="card-tools"> <a href="/admin/ad...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterAlbumArtistTable extends Migration { /** * Run the migrations. * * @return void */ public function up(){ Schema::table('album_artist', funct...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Staff */ $this->title = $model->user->username; $this->params['breadcrumbs'][] = ['label' => 'Staff', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($thi...
<?php declare(strict_types = 1); return new \PHPStan\Reflection\Native\NativeFunctionReflection( 'xsl_xsltprocessor_has_exslt_support', [ ], false, PHPStan\Type\BooleanType::__set_state(array()) );
<main class="main"> <div class="page-header text-center" style="background-image: url('{{URL::asset('user/banner/contact.png')}}')"> <div class="container"> <h1 class="page-title">View Cart<span>Shop</span></h1> </div><!-- End .container --> </div><!-- End .page-header --> <nav aria-label="breadcrumb" clas...
<?php namespace App\Http\Controllers\Transaksi; use App\Barang; use App\Suplier; use App\transaction; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class BarangKeluarController extends Controller { public function create() { $data = [ 'barangs' =>Barang::all(), ...
<?php namespace App\Repositories\Api\Company; use Illuminate\Http\Request; interface CompanyRepositoryInterface { public function list(Request $request); public function find($id); }
<?php /** * Akeeba Engine * * @package akeebaengine * @copyright Copyright (c)2006-2020 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Engine\Util\Log; /** * The interface for Akeeba Engine logger objects */ interface LogInterface { ...
<?php declare(strict_types=1); /* * This file is part of the RollerworksSearch package. * * (c) Sebastiaan Stok <s.stok@rollerscapes.net> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Rollerworks\Component\Search\Input; use Roller...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('admin/menu.dashboard') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shad...
<?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\UX\LiveComponent; use Symfony\UX\TwigComponent\ComponentInterfa...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePersonnelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('personnels',...
<!--begin::Forgot--> <div class="login-form login-forgot pt-11"> <!--begin::Form--> <form class="form" novalidate="novalidate" id="kt_login_forgot_form"> <!--begin::Title--> <div class="text-center pb-8"> <h2 class="font-weight-bolder text-dark font-size-h2 font-size-h1-lg"> Lupa kat...
<div class="columns <?= $classes ?? '' ?>">
<?php /** * Copyright 2014 SURFnet bv * * 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 namespace app\models\search; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Flavor; /** * FlavorSearch represents the model behind the search form about `app\models\Flavor`. */ class FlavorSearch extends Flavor { /** * @inheritdoc */ public function rules() ...
<?php session_start(); if(!isset($_SESSION["loggedIn"])) { $_SESSION["loggedIn"] = false; $_SESSION["username"] = ""; $_SESSION["character"] = ""; $_SESSION["mapDetail"] = ""; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link href="css/myst...
<?php namespace Oro\Bundle\AddressBundle\Form\EventListener; use Oro\Bundle\AddressBundle\Entity\Address; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; /** * Event subscriber for setting address ID to non-mapped ID field ...
<?php $dir = dirname(__FILE__) .'/'; $files = [ 'Api.php', 'Zone.php', 'Zone/Dns.php', ]; $files[] = 'Api.php'; $files[] = 'Zone.php'; foreach($files as $file){ require_once $dir .$file; } unset($dir); unset($files); ?>
<?php namespace Modules\MasterData\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * The module namespace to assume when generating URLs to actions. * * @v...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class EntradaHistorico extends Model { use HasFactory; }
<?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<int, class-string|string> */ ...
<?php namespace Icecave\Lace; class PackageInfo { const NAME = 'Lace'; const VERSION = '0.1.0'; }
<?php use App\Profession; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class ProfessionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('profession')->truncate(); Profession::create([ ...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ ...
<?php namespace HNG_Internship\controller; use HNG_Internship\Methods\user_functions; class Sessions { private $user_id; private $fullname; private $last_login; public const MAX_LOGIN_AGE = 60*60*24; // 1 day public function __construct() { if(session_status() == PHP_SESSION_NONE){ //session h...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace backend\assets; use yii\web\AssetBundle; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class BaseAsset extends AssetBundle { public $...
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; date_default_timezone_set('UTC'); class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), ne...
<?php session_start(); include 'connection.php'; if(isset($_POST['submit'])) { $name=$_POST['name']; $E_ID=$_POST['email']; $msg=$_POST['message']; //echo $name; $sql="insert into tbl_contact(name,email,message) values('$name','$E_ID','$msg')"; //echo $sql."<br>"; if(mysqli_query($con, $sql)) ...
<?php declare(strict_types=1); /** * Contains class PermissionNotFoundException. * * PHP version 7.2+ * * LICENSE: * This file is part of ChartItMD. * Copyright (C) 2019 ChartItMD Development Group * * Additional code from {@link https://github.com/potievdev/slim-rbac} with MIT * license by Abdulmalik Abdulpo...
<?php namespace Energibangsa\Cepet\Traits; use Energibangsa\Cepet\EB; use Request; use DataTables; use DB; /** * */ trait BreadTrait { protected $dataTable; protected $queryTable; protected $col; protected $cols; protected $table; protected $form; protected $forms; protected $trash...
<?php namespace Iwink\Tree\Tests\Visitor; use Iwink\Tree\Tree; use Iwink\Tree\Visitor\ValueVisitor; /** * Unit tests for {@see ValueVisitor}. * @since 1.0.0 */ class ValueVisitorTest extends VisitorTest { /** * Data provider for {@see ValueVisitor}. * @since 1.0.0 * @return mixed[] The data set...
<?php defined('SYSPATH') or die('No direct script access.'); /** * UTF8::stristr * * @package Kohana * @author Kohana Team * @copyright (c) 2007-2008 Kohana Team * @copyright (c) 2005 Harry Fuecks * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt */ function _stristr($str, $search) { ...
<?php /** * This file is part of the ramsey/uuid library * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> * @license http://opensource.org/licenses/MIT MIT */ declare(stric...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> @include('template.head_fragment') </head> <body> @include('template.back_office.navbar') <header> <div class="content"> <div class="title m-b-md"> @yield('titre') </div> </div> </header> <section class="content con...
@extends('esquema') @section('content') <div class="col-sm-12"> <h2> {{ $nom->nombre }} </h2> @include('productos.mensajeCrud') <table class="table table-hover table-stripded"> <th> <tr> <th with="20px">Imagen</th> <th with="20px">ID</th> <th>Nombre Del Producto</th> ...
<?php include __DIR__."/builtin_extensions.inc"; class A_SQLite3 extends SQLite3 { public $___x; } test("SQLite3", ":memory:");
<?php namespace App\Common\Domain\Bus\Command; interface CommandBus { public function dispatch(Command $command): void; }
<?php namespace App\Mail; use App\Models\Comment; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Support\Facades\Storage; class CommentPosted extends Mailable { use Queueable, SerializesModels; pub...
<?php /** * Created by PhpStorm. * User: dimon * Date: 11.10.2017 * Time: 23:57 */ namespace app\components; use yii\base\Widget; use app\models\Category; use Yii; class MenuWidget extends Widget{ public $tpl; public $model; public $data; public $tree; public $menuHtml; public function...
<!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.0"> <title>Document</title> </head> <body> <form action="index.php" method="get"> <label for="name">Imię:</label> ...
<!DOCTYPE html> <html lang='en' dir='ltr'> <?php $web = "KUCPE"; $topic = "กรรมการ(other)"; ?> <head> <!-- Okp config --> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css...
@extends('backend.layouts.master') @section('content') <div class="br-mainpanel"> <div class="pd-30"> <h4 class="tx-gray-800 mg-b-5">Update Social link</h4> <p class="mg-b-0">Do big things with Bracket, the responsive bootstrap 4 admin template.</p> </div><!-- d-flex --> <div class="br-pagebody mg-...
<h1><?php echo lang('login_heading');?></h1> <p><?php echo lang('login_subheading');?></p> <div id="infoMessage"><?php echo $message;?></div> <?php echo form_open("auth/login");?> <p> <?php echo lang('login_identity_label', 'identity');?> <?php echo form_input($identity);?> </p> <p> <?php echo lan...
<div id="login"> <h3 class="text-center text-white pt-5">Register form</h3> <div class="container"> <div id="login-row" class="row justify-content-center align-items-center"> <div id="login-column" class="col-md-6"> <div id="login-box" class="col-md-12"> ...
<?php /** * Core Template File (header) * * * @author Minh Duc Nguyen <minh.nguyen@ands.org.au> * @see ands/ * @package ands/ * */ // Variable defaults $js_lib = !isset($js_lib) ? array() : $js_lib; $title = !isset($title) ? "" : $title; $base_url = str_replace('/apps','',base_url()); // Page header style i...
<?php namespace App\Http\Controllers; use App\Models\TicketLog; use Illuminate\Http\Request; class TicketLogController extends Controller { public function index() { return TicketLog::all(); } public function show(TicketLog $ticketLog) { return $ticketLog; } public funct...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateResultsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('results', funct...
<?php /** * This file is part of Notadd. * * @author TwilRoad <heshudong@ibenchu.com> * @copyright (c) 2017, notadd.com * @datetime 2017-09-18 16:38 */ namespace Notadd\Foundation\Module\Repositories; use Illuminate\Support\Collection; use Notadd\Foundation\Http\Abstracts\Repository; /** * Class PageRepository...
<!DOCTYPE html> <html lang="es"> <head> <title>Servicios</title> <meta charset="utf-8"> <link href='http://fonts.googleapis.com/css?family=Hammersmith+One'rel='stylesheet'type='text/css'> <?php echo link_tag("css/estilos/Ingreso.css"); ?> <!.. <link rel="stylesheet" type="text/css" href=""> <?php ec...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class AdminUserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'name' => 'Admin user', 'email' => 'adm...
<?php namespace App\Repositories; interface GoodsRepositoryInterface { public function all(); public function findById($id); public function findByIds($ids); public function create($request); public function update($request, $id); public function destory($id); public function expir...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> NOIS | Po...
<br> <table style="width:100%"> <tr> <td class="text-left"> <?php if($ort) { ?> <h1>Werkzeug für <?php echo $ort['name']; ?></h1> <h3><?php echo $ort['beschreibung']; ?></h3> <br> <?php echo $ort['firma_name']; ?><br> <?php echo $ort['firma_strasse']; ?><br> <?php echo $ort['firma_plz']; ?> <?php e...
<?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('sales_invoices', functi...
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8" x-data="{showStatus: false,showModal : @entangle('showViewModal'),showModalForward : @entangle('showForwardModal'),showModalReturn : @entangle('showReturnModal'), active : @entangle('active'),personalClicked : @entangle('personalClicked'),pendingClicked : @enta...
<?php namespace Accounts\Service\Resource; use \Accounts\Service\OAuth2\Consumer as Consumer; class Google { protected $_accessToken; protected $data = array (); public function __construct($accessToken) { $this->_accessToken = $accessToken; } public function getId() { $profile = $this->getProfile (); ret...
<?php /** * */ class databaseLib{ public function __(){ } }
<?php namespace App\Http\Middleware; use Illuminate\Support\Facades\Auth; use Closure; class Admin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Product; use Response; class DistributionDetailController extends Controller { protected const MSG_ERR_INVIDX = 'El índice ingresado es inválido.'; protected const MSG_ERR_NEGRSL = 'El stock final no puede ser negativo.'; /**...
<?php # $Id$ # PHPlot test: Box plot with data variations # See the script named below for details $data_colors = 'black'; $point_shape = 'bowtie'; $point_size = 12; $subtitle = "All black; Outliers use bowtie (12px)"; require 'boxplot.php';
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="s...
<?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 */ ...
<?php use yii\db\Migration; class m171207_113848_add_geo_columns_to_ad_tables extends Migration { public function up() { $this->addColumn('{{%ad_part}}', 'city', $this->string()->notNull()->defaultValue('')->after('active_till')); $this->addColumn('{{%ad_part}}', 'region', $this->string(100)->...
<?php /** * A wrapper class for a single transaction processing report * * @author Balogh Viktor <balogh.viktor@maileon.hu> | Maileon - Wanadis Kft. */ class com_maileon_api_transactions_ProcessingReport extends com_maileon_api_json_AbstractJSONWrapper { /** * The contact this transaction was sent to ...
<?php /* [CYASK] (C)2009 Cyask.com Revision: 3.2 Date: 2009-1-19 Author: zhaoshunyao QQ: 240508015 */ define('CURSCRIPT', 'vote'); require_once ('./include/common.inc.php'); $aid= empty($_GET['aid']) ? $_POST['aid'] : $_GET['aid']; $aid=intval($aid); $query=$dblink->query("SELECT aid,qid FROM {$tablepre}answer W...
--TEST-- SCCP 025: ADD_ARRAY_ELEMENT against an existing const array --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=-1 opcache.opt_debug_level=0 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php function test($phpEx) { $expected_data_sets = array( 1 => array( ...
<?php require_once dirname(__FILE__).'/secure/Crypt/TripleDES.php'; /** * * @author kblee * */ class BlockEncrypt{ /** * singleton instance. */ private static $instance; /** * encrypt/decrypt key */ private $keyData; /** * Create a single BlockEncrypt class. */ private function __construc...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateWorksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('works', function ...
<tr class="text-center"> <td> <svg class="bi bi-clipboard svg-clipboard" onclick="copas(this, '{{ $link->role === "student" ? route("register_student", ["link_register" => $link->link]) : route("register_teacher", ["link_register" => $link->link]) }}')" xmlns="http://www.w3.org/200...
<!doctype html> <html lang="{{ config('app.locale') }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https:...
@extends('template_backend.home') @section('sub-judul','Edit Post') @section('content') @if(count($errors)>0) @foreach ($errors->all() as $error) <div class="alert alert-danger" role="alert"> {{ $error }} </div> @endforeach @endif @if(Session::has('success'))...
<?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <div class="bannergroup<?php echo $params->get( 'moduleclass_sfx' ) ?>"> <?php if ($headerText) : ?> <div class="bannerheader"><?php echo $headerText ?></div> <?php endif; foreach($list as $item) : ?><div class="banneritem<?php echo $param...
<?php namespace Dynamic\SiteTools\Tests\Extension; use Dynamic\SiteTools\Extension\ContactDataExtension; use Dynamic\SiteTools\Test\TestOnly\Model\TestContact; use SilverStripe\Core\Injector\Injector; use SilverStripe\Dev\SapphireTest; use SilverStripe\Forms\FieldList; /** * Class ContactDataExtensionTest * @packa...
<?php namespace MyDigitalLife\FakeTwitterBundle\Repository; use Doctrine\ORM\EntityRepository; use MyDigitalLife\FakeTwitterBundle\Entity\Tweet; use MyDigitalLife\FakeTwitterBundle\Entity\User; class TweetRepository extends EntityRepository { /** * @param User $user * * @return array|Tweet[] ...