text
stringlengths
2
1.03M
<?php session_start(); require_once "connection.php"; $user = $_POST['email']; $password = $_POST['psw']; $op = $_GET['op']; if($op=="in") { $sql = mysqli_query($conn,"SELECT * FROM login WHERE uname='$user' AND pw='$password'"); if(!$sql) { die('Error'.mysqli_error());; } if(mysqli_num_rows($sql)==1) ...
<?php namespace App\Http\Controllers; use Illuminate\Routing\Controller; class PortfolioController extends Controller{ public function __construct(){ $this->middleware('auth');} public function portfolio() { return view('portfolio/index'); } }
<?php // Generic User $factory->define(App\User::class, function (Faker\Generator $faker) { return [ 'first_name' => $faker->firstName, 'last_name' => $faker->lastName, 'student_number' => $faker->unique()->randomNumber(8, true), 'lab' => 'L2' . $faker->randomEle...
<?php namespace luya\cms\admin\apis; /** * Log Controller. * * File has been created with `crud/create` command. */ class LogController extends \luya\admin\ngrest\base\Api { /** * @var string The path to the model which is the provider for the rules and fields. */ public $modelClass = 'luya\cm...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It is a breeze. Simply tell Lumen the URIs it should respond t...
<?php // DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 // Source: query.proto namespace Vitess\Proto\Query { class ReadTransactionRequest extends \DrSlump\Protobuf\Message { /** @var \Vitess\Proto\Vtrpc\CallerID */ public $effective_caller_id = null; /** @var \Vitess\Proto\Query\VTGat...
@extends('layouts.app') @section('css') <style> .ck-editor__editable { min-height: 300px; } </style> {{-- <link type="text/css" href="{{asset('ckeditor/sample/css/sample.css')}}" rel="stylesheet" media="screen"/>--}} @endsection @section('content') <div class="container-flui...
<?php /** * @var yii\debug\panels\LogPanel $panel * @var yii\debug\models\search\Log $searchModel * @var yii\data\ArrayDataProvider $dataProvider */ use yii\helpers\Html; use yii\grid\GridView; use yii\helpers\VarDumper; use yii\log\Logger; ?> <h1>Log Messages</h1> <?php echo GridView::widget([ 'dataProvider...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Artikel extends Model { protected $table='artikel'; }
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit80e21de359201f505e1bf82b5a4b61c7 { public static $files = array ( '253c157292f75eb38082b5acb06f3f01' => __DIR__ . '/..' . '/nikic/fast-route/src/functions.php', ); public static $prefixLength...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* Copyright (c) 2011 Lonnie Ezell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including witho...
<?php /** * MIT licence * Version 1.0.0 * Sjaak Priester, Amsterdam 29-10-2015. * * Google Charts widget for Yii 2.0 framework * @link https://developers.google.com/chart/ */ namespace sjaakp\gcharts; class AreaChart extends Chart { protected $packages = ['corechart']; public function init() { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRolesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('roles', function(...
@extends('layouts.main') @section('page') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Reset Password</div> <div class="panel-body"> <form class=...
<?php namespace App\Http\Controllers\Front; use App\Model\Front\Client; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\UserMessage; use Session; use DB; class ClientController extends Controller { public function index(){ return view('user.dashboard'); } public func...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAnexoPlanejamentosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('anex...
<?php include("include/header_users.inc.php"); include("include/header.inc.php"); ?> <!--Paste the content below--> <!--CONTENT START HERE--> <!-- BEGIN CONTENT --> <div class="page-content-wrapper"> <div class="page-content"> <!-- BEGIN PAGE HEADER--> <h3 class="page-title"> Projects <!--<small>statisti...
@extends('backend.layout') @section('dashboard') <div class="page-content-wrap"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-body"> <p>Use search to find customers. You can search by: ...
<?php namespace Oro\Bundle\NavigationBundle\Manager; use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityRepository; use Doctrine\Persistence\ManagerRegistry; use Knp\Menu\ItemInterface; use Oro\Bundle\NavigationBundle\Entity\MenuUpdateInterface; use Oro\Bundle\NavigationBundle\Entity\Repository\MenuUpdateReposito...
<?php namespace App\Http\Controllers; use App\Models\Quotation; use App\Models\Quoteline; use Illuminate\Http\Request; use App\Models\Sector; use App\Models\Product; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Validator; class ProductController extends Controller { // public function sho...
<?php include('includes/connection.php'); ?> <!DOCTYPE html> <html> <head> <title></title> </head> <body> <?php $prcd = $_POST['prcd']; $qnt =$_POST['qnt']; $prc =$_POST['prc']; $query = "INSERT INTO tbltransac(transac_id,transac_...
<?php namespace PhiladelPhia\Database\Query; use PhiladelPhia\Helpers\Util; trait Insert { protected function __insertOne(array $body) { foreach($body as $field => $value) { $this->colonFields[] = ":{$field}"; $this->fields[] = $field; } $this->values = $body; $this->types = self::...
<?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...
@extends('layouts.user-home') @section('content') <div class="row"> <div class="col-lg-12"> @if($errors->any()) <div class="alert alert-danger"> @foreach($errors->all() as $error) <p>{{ $error }}</p> @endforeach() </div> @endif ...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Mailgun, Postmark...
@extends('app') @section('content') <h2 class="lesson-number">ะฃั€ะพะบ 1</h2> <label class="lesson-number">ะžะฟะธัะฐะฝะธะต: ะ˜ะทะผะตะฝัะตะผ ั†ะฒะตั‚ ั„ะธะณัƒั€ ะฟั€ะธ ะฝะฐะฒะตะดะตะฝะธะธ ะธ ะบะปะธะบะต ะผั‹ัˆะธ.</label> <!-- ะŸะตั€ะตะฝะพั ัั‚ั€ะพะบะธ(ะฒ ะดะฐะฝะฝะพะผ ัะปัƒั‡ะฐะตั‚ ะฝะฐ ะดะฒะต ัั‚ั€ะพั‡ะบะธ)--> <br/> <div class="main-blok"> <div class="block-console-left"> ...
<?php namespace App\Api\V1\Controllers; use Symfony\Component\HttpKernel\Exception\HttpException; use Tymon\JWTAuth\JWTAuth; use App\Http\Controllers\Controller; use App\Api\V1\Requests\LoginRequest; use Tymon\JWTAuth\Exceptions\JWTException; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use A...
--TEST-- Decimal128: [decq064] fold-downs (more below) --DESCRIPTION-- Generated by scripts/convert-bson-corpus-tests.php DO NOT EDIT THIS FILE --FILE-- <?php require_once __DIR__ . '/../utils/tools.php'; $canonicalBson = hex2bin('1800000013640039300000000000000000000000003C3000'); $canonicalExtJson = '{"d" : {"$num...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class SetNameLastNameFieldsNullableInUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Input; use App\Footer; use App\SocialMediaAccounts; use App\PhotoStream; use Intervention\Image\ImageManager; use Image; use Sessions; use Auth; use DB; class FooterController extends C...
@extends('layouts.frontend') @section('title', __('labels.frontend.titles.contact')) @section('body_class', 'page-contact') @section('content') <div class="row"> <div class="col-md-6"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d317718.69319292053!2d-0.3817765050863085...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Commands\\TimelySendEmail' => $baseDir . '/app/Console/Commands/TimelySendEmail.php', 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', ...
<?php use console\components\Migration; use yii\helpers\Json; class m191230_154500_insert_actual_resource_types extends Migration { const TABLE_RESOURCE = '{{%resource}}'; const TABLE_PRODUCT = '{{%product}}'; const TABLE_RESOURCE_TYPE = '{{%resource-type}}'; const TABLE_RESOURCE_TYPE_ATTRIBUTE = '{{%resource-typ...
<?php namespace ContainerYc3RSGx; 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 getServicesResetterService exten...
<?php final class PhortuneStripePaymentProvider extends PhortunePaymentProvider { public function isEnabled() { return $this->getPublishableKey() && $this->getSecretKey(); } public function getProviderType() { return 'stripe'; } public function getProviderDomain() { return 'stripe.c...
<div class="col-md-12"> <table id="example" class="display" style="width:100%"> <thead> <tr> <th scope="col">Event Name</th> <th scope="col">Consultant</th> <th scope="col">Event service</th> <th scope="col">Price</th> ...
<?php namespace App\Model\Index; use Illuminate\Database\Eloquent\Model; class Cart extends Model { //่กจๅ protected $table="cart"; //ไธป้”ฎid protected $primaryKey="cart_id"; //้ป˜่ฎคๆ—ถ้—ดๆˆณๆ ผๅผ public $timestamps=false; //้ป‘ๅๅ• protected $guarded=[]; //็™ฝๅๅ• //protected $fillable = ['b_name','b_url']; }
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\PaymentPage */ /* @var $form ActiveForm */ ?> <div class="paymentpage"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'owner') ?> <?= $form->field($model, 'descri...
<?php namespace Neos\Flow\Persistence\Doctrine\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; class Version20180622074422 extends AbstractMigration { /** * @return string */ public function getDescription() { return 'Add index to "sha1" colum...
<?php include(dirname(__FILE__) .'/_helpers/header.php'); ?> <?php include(dirname(__FILE__) .'/_helpers/footer.php'); ?>
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/t...
<?php /** * Copyright (c) BrownBear, 2019 - present. All Rights Reserved. * * This file is a part of Tuleap. * * Tuleap is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
<div class="panel glass w-25 m-1 fg-1"> <div class="panel-header"> <h2>Module dashboard</h2> </div> <div class="panel-body permissions"> <div class="w-100"> {!! Form::checkbox('dashboard', true, kvfj($user->permissions,'dashboard'), []) !!} {!! Form::label('dashboard'...
<?php require_once('MODx.php'); /** * Class modResource */ class modResource extends MODxAPI { /** * @var string */ protected $mode = 'new'; /** * @var array */ protected $default_field = array( 'type' => 'document', 'contentType' => 'text/html', ...
<?php namespace app\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\KelompokKomponen; /** * KelompokKomponenSearch represents the model behind the search form of `app\models\KelompokKomponen`. */ class KelompokKomponenSearch extends KelompokKomponen { /** * {@inheritdoc} *...
<?php declare(strict_types=1); namespace App\Repositories; use App\Models\Course; use Yajra\DataTables\Facades\DataTables; class CourseRepository extends Repository { public function getModel() { return Course::class; } public function getDatatable() { $data = Course::query()->s...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Service extends CI_Controller{ function __construct(){ parent::__construct(); //header (seperti #include<stdio.h> pada c $this->load->library('session'); $this->load->helper(array('url', 'file', 'cookie')); ...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace Afosto\Sdk\Exception; class DeleteChannelBadRequestException extends \RuntimeException implements ClientException { private $error; public function __construct(\Afosto\Sdk\Model\Error...
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CachetHQ\Cachet\Handlers\Commands\Incident; use CachetHQ\Cachet\Commands\Incident\ReportMainten...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Schema; class SettingsSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $section = Setting::create([ 'key' => 'cms', 'meta' => [ ...
@extends('layouts.template') @section('content') @include('components.slider') @include('components.category') @endsection @section('styles') <link href="{{ asset('css/main/styles.css') }}" rel="stylesheet"> <link href="{{ asset('css/main/responsive.css') }}" rel="stylesheet"> @endsection
<?php namespace AppBundle\Controller; use AppBundle\Import\ArcImport; use AppBundle\Import\EssaiImport; use AppBundle\Import\InclusionImport; use AppBundle\Import\MedecinImport; use AppBundle\Import\PatientImport; use AppBundle\Import\ServiceImport; use AppBundle\Import\VisiteImport; use AppBundle\Services\Anonymisat...
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); /** * Ignited Datatables * * This is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine * found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter * * @packa...
<?php namespace RectorPrefix20211020\TYPO3\CMS\Core\Core; if (\class_exists('TYPO3\\CMS\\Core\\Core\\ClassLoadingInformation')) { return; } class ClassLoadingInformation { public static function setClassLoader($classLoader) { } /** * @return bool */ public static function isClassLoad...
--- title: main::lang.reservation.title layout: default permalink: /reservation '[account]': '[booking]': timePickerInterval: 180 timeSlotsInterval: 120 --- <div class="container"> <div class="row py-4"> <div class="col col-sm-10 center-block"> <div class="card mb-1"> <...
<?php /** * Copyright ยฉ 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\CatalogInventory\Test\Unit\Model\ResourceModel; use Magento\Catalog\Model\ResourceModel\Product\Collection; use Magento\CatalogInventory\Model\Configuration; use Magento\CatalogInventory\...
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class AuthController extends Controller { public function register(Request $request) { $validatedData = $request->validate([ 'name' => 'required|string|max:255', ...
<?php namespace App\Http\Controllers; use App\Category; use App\Product; use DataTables; use Illuminate\Http\Request; class ProductController extends Controller { public function index() { return view('products.index'); } public function show($id) { $model = Product::find($id); ...
<?php require('./connect.inc.php'); if (is_numeric($_POST['user']) == true) { $sql = "DELETE FROM users WHERE id=".$_POST['user']; $result=$conn->query($sql); echo "<script>window.location.href = '../users/';</script>"; } else { echo "<script>window.location.href = '../error...
<x-admin-layout title='create new category'> <form action="{{route('admin.categories.store')}}" method="post"> @csrf @include('admin\catrgories\_form', [ 'saveable'=>'Add', ] ) </form> </x-admin-layout>
<?php namespace App\Http\Requests\Frontend\Ticket; use Illuminate\Foundation\Http\FormRequest; class StoreTicketRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return access()->allow('view-front...
<?php $pager->setSurroundCount(10) ?> <nav aria-label="Page navigation"> <ul class="pagination"> <?php if ($pager->hasPrevious()) : ?> <li class="page-item"> <a class="page-link" href="<?= $pager->getFirst() ?>" aria-label="<?= lang('Pager.first') ?>"> <span aria-hidden="tru...
<?php namespace Da\StatBundle\Renderer; use Da\StatBundle\Data\DataInterface; /** * RendererInterface is the interface that a class should implement * to be used as a renderer in the mechanism of the statistics. * * @author Thomas Prelot <thomas.prelot@gmail.com> */ interface RendererInterface { /** * ...
<?php /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\CoreBundle\Form\Type; /** * NEXT_MAJOR: remov...
<div class="form-row"> <div class="form-group col-md-10"> <label for="ano">Ano</label> <input type="text" class="form-control" name="ano" value="{{ $movimento->ano ?? old('ano') }}" placeholder="[ Ex: 2099 ]"> </div> <div class="form-group col-md-1"> <label class="checkbox-inline" for="concluido">Concluรญdo...
<?php namespace App\Http\Controllers; use App\Models\Proveedor; use App\Models\Direccion; use Illuminate\Http\Request; class ProveedorController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $pr...
<x-form> <x-form.title label="Blog Title" wire:model.lazy="blog.title" :error="$errors->first('blog.title')" /> <x-form.textarea label="Blog Excerpt" wire:model.defer="blog.excerpt" /> <x-form.richtext label="Blog Content" wire:model.debou...
<?php /* @var $factory \Illuminate\Database\Eloquent\Factory */ use App\Model; use Faker\Generator as Faker; use Illuminate\Support\Str; $factory->define(\App\Post::class, function (Faker $faker) { $title= $faker->sentence(4); return [ 'user_id'=> rand(1,30), 'category_id' => rand(1,20), ...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ public function handle($re...
<?php // +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | Author: star xiong <875376798@qq.com> // | QQ: 875376798 // +---------------------------------------------------------------------- namespace app\admin\valida...
@extends('admin.layouts.app') @section('panel') <div class="row"> <div class="col-lg-12"> <div class="card b-radius--10 "> <div class="card-body p-0"> <div class="table-responsive--md table-responsive"> <table class="table table--li...
<!DOCTYPE html> <html> <head> <title>Smelter Industrial Category Bootstrap responsive WebTemplate | Projects :: w3layouts</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <meta name="keywords" content="Smelter a Responsive web template, Bootstrap Web T...
<?php use kartik\form\ActiveForm; use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \common\models\LoginForm */ $this->title = t('Enter'); $fieldOptions1 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}<span class...
<meta charset="utf-8"> <title>ๅ“ˆๅ“ˆTV</title> <link href="css/mainstyle.css" rel="stylesheet" type="text/css"> <script defer src="/js/fontawesome-all.js"></script>
@extends('layouts.app') @section('main') <main class="vertical"> <div class="form"> <form class="" action="{{ route('comics.store')}}" method="post"> @csrf @method('POST') <input type="text" name="title" value="" placeholder="Title"> <input type="text" name="thumb" value="" placeholder="I...
<?php /** * Split off some of the internal bits from Skin.php. These functions are used * for primarily page content: links, embedded images, table of contents. Links * are also used in the skin. For the moment, Skin is a descendent class of * Linker. In the future, it should probably be further split so that ever...
<?php require('INSPECTION1.php'); $pdf = new INSPECTION1( 'L', 'mm', 'A4' );$pdf->AliasNbPages();//importatant pour metre en fonction le totale nombre de page avec "/{nb}" $idt=$_GET['uc']; $date=date("d-m-y"); $pdf->SetFillColor(230);//fond gris il faut ajouter au cell un autre parametre pour qui accepte la colorat...
<div id="content-container"> <div id="page-head"> <div id="page-title"> <h1 class="page-header text-overflow">Add a tracking</h1> </div> <ol class="breadcrumb"> <li><a href="#"><i class="demo-pli-home"></i></a></li> <li><a href="#">Dashboard</a></li> <li class="active">Trackings</l...
<?php /** * A class file to connect to database * * @version 1.0 * @author ashumeow */ class DB_CONNECT { // constructor function __construct() { // connecting to database $this->connect(); } // destructor function __destruct() { // closing db connection $this...
<?php /** * Provides a record-view for mysqli statements * * By default streams unbuffered data, but seek(), rewind(), or numRecords() will force the statement to * buffer itself and sacrifice any potential performance benefit. */ class MySQLStatement extends SS_Query { /** * The related mysqli statement obje...
<div class="location-header redirect-header"> <h3 class="redirect-head">Reschedule</h3> </div> <div class="row-fluid notify"> <div class="span12 no-border"> <div class="tdetail-con tdetail-con1"> <div class="message re-message"> <h3 class="congratulations message-head">Cong...
--TEST-- Test for bug #65701: copy() doesn't work when destination filename is created by tempnam() --CREDITS-- Boro Sitnikovski <buritomath@yahoo.com> --FILE-- <?php $file_path = __DIR__ . "/bug65701/"; if (!is_dir($file_path)) { mkdir($file_path); } $src = $file_path . '/srcbug65701_file.txt'; $dst = tempnam($f...
<?php namespace App\Http\Controllers\Users; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\User; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\OrganizationSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Organizations'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="organization-index"> <h1><...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); if(! function_exists('pagination')) { function pagination($uri, $total, $per_page) { $ci = & get_instance(); $ci->load->library('pagination'); $config = array(); $config['base_url'] = site_url($uri...
<?php namespace Concrete\Core\Page; use Concrete\Core\Multilingual\Page\Section\Section; use Concrete\Core\Page\Type\Composer\Control\BlockControl; use Concrete\Core\Page\Type\Composer\FormLayoutSetControl; use Concrete\Core\Page\Type\Type; use Concrete\Core\Permission\Access\Entity\PageOwnerEntity; use Database; use...
<?php /** * Part of Component {{extension.name.cap}} files. * * @copyright Copyright (C) 2014 Asikart. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; /** * {{extension.name.cap}} helper. * * @since 1.0 */ c...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Capitulo; //importante!! use App\Libro; use App\Traits\FileUpload; use Illuminate\Support\Facades\File; class CapituloController extends Controller { public function __construct() { //$this->middleware('auth', ['only' => ['sh...
<?php use yii\db\Migration; /** * Handles the creation of table `goods_gallery`. */ class m170720_033357_create_goods_gallery_table extends Migration { /** * @inheritdoc */ public function up() { $this->createTable('goods_gallery', [ 'id' => $this->primaryKey(), // ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller ...
@extends('admin.master') @section('content-inner') @if ($result) <div class="alert alert-success">Post Added Successfully</div> @else <div class="alert alert-danger">Something is wrong</div> @endif {{-- @php header("Refresh: 3;" . "URL=" . route('admin.posts')); @endphp --...
<!-- For admin overview of klippekort --> @extends('include/layout') @section('content') <script src={{ mix('js/app.js') }}></script> <div style="margin: 1em; font-size: 2em; "> <a style="border-bottom: 4px solid blue" href="/nyt-klippekort">Nyt klippekort</a> </div> @if(isset($klippekorts)) @foreach($klippekorts...
<?hh // strict /* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ namespace Facebook\HHAST; use function Facebook\HHAST\TestLib\expect; use namespace HH\Li...
<?php return [ /* |-------------------------------------------------------------------------- | Standards Tree |-------------------------------------------------------------------------- | | Versioning an API with Dingo revolves around content negotiation and | custom MIME types. A custom type will belong to ...
@extends('layouts.app') @section('content') <div class="page-content row"> <!-- Page header --> <div class="page-content-wrapper m-t"> <div class="sbox"> <div class="sbox-title"> <h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3> <div class="sbox-tools" > <a href="{{ url($pageModule.'?return...
<?php namespace Saparot\ComposerTools\Action; use Exception; use PHLAK\SemVer\Exceptions\InvalidVersionException; use PHLAK\SemVer\Version; use Saparot\ComposerTools\ComposerPackage; use Saparot\ComposerTools\ComposerToolsException; use Saparot\NetworkRetriever\NetworkRetrieverException; class LinkLocalPackage { ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMenuTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menu', function (Blueprint $table) { $table->...
<?php namespace Naugrim\OpenTrans\Nodes\OrderChange; use JMS\Serializer\Annotation as Serializer; use Naugrim\BMEcat\Nodes\Contracts\NodeInterface; use Naugrim\OpenTrans\Nodes\Concerns\HasControlInfo; use Naugrim\OpenTrans\Nodes\ControlInfo; /** * @Serializer\AccessorOrder("custom", custom = {"controlInfo", "info"}...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <html> <head> <title>Derick</title> <!--<script type="text/javascript"src></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32Om...