text
stringlengths
2
1.03M
<?php namespace Foodsharing\Installer\Request; class UpdateRequest extends CoreRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply t...
<?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...
@extends('layouts.main') @section('content') <div class="panel panel-default"> <table class="table"> @foreach ($users as $user) <tr> <td class="middle"> <div class="media"> <div class="media-left"> <a href="#"> <?php $photo =!is_null($user->photo)?$user->photo: 'default.png' ?> {!! H...
//@formatter:off @component('mail::message') <body> <h2>Hi,</h2> You have been invited to join the team <strong>{{$invitation->team->name}}</strong>. Because you are not yet signed up to the platform, please <a href="{{$url}}">Register for free</a>, then you can accept or reject the invitation in your team management ...
<?php /** * The template for displaying Tag pages * * Used to display archive-type pages for posts in a tag. * * @link http://codex.wordpress.org/Template_Hierarchy * * @since Tiny Forge 1.0 */ get_header(); ?> <section id="primary" class="site-content"> <main id="content" role="main" itemscope itemtype="h...
<div class="login-page"> <div class="outer"> <div class="middle"> <div class="inner"> <div class="panel panel-login"> <div class="panel-heading"> <div class="row"> <div class="col-xs-6"> ...
<?php /** * T_bphtb_registration_pengurangan Model * */ class T_bphtb_registration_pengurangan extends Abstract_model { public $table = ""; public $pkey = ""; public $alias = ""; public $fields = ""; public $selectClause = "j.t_bphtb_exemption_id, j....
<? $MESS['IBLOCK_FILTER_TITLE'] = 'Filtras'; $MESS['IBLOCK_SET_FILTER'] = 'Filtras'; $MESS['IBLOCK_DEL_FILTER'] = 'Išvalyti'; ?>
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class PembeliLamaRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<?php return [ // 全局请求缓存 // \think\middleware\CheckRequestCache::class, // 多语言加载 // \think\middleware\LoadLangPack::class, // Session初始化 // \think\middleware\SessionInit::class, // 页面Trace调试 // \think\middleware\TraceDebug::class, ];
<? $mod = $_GET['mod']; $table_name = $_GET['table_name']; if ($mod == "edit") { $item_id = $_GET['id']; } require_once "config.php"; if ($mod == "add") { $action = "INSERT INTO $table_name ("; foreach ($tables[$table_name] as $row) { if ($row == $ta...
@extends('theme.app') @section('content') <!--begin::Subheader--> <div class="subheader py-2 py-lg-6 subheader-transparent " id="kt_subheader"> <div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap"> <!--begin::Info--> <div class="d-flex align-items...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class UserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return ...
<?php namespace InstagramAPI\Response\Model; class SuggestedUsers extends \InstagramAPI\Response { /** * @var string */ public $id; public $view_all_text; public $title; public $auto_dvance; public $type; public $tracking_token; public $landing_site_type; public $landing_...
<!DOCTYPE html> <html lang="en"> <head> <title>Matrix Admin</title> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="csrf-token" content="{{ csrf_token() }}"> <link rel="stylesheet" href="{{ asset('css/backend_css/bootstrap.min.css') }}" /> <link ...
<?php /** * @package yii2-grid * @author Kartik Visweswaran <kartikv2@gmail.com> * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015 * @version 3.0.5 */ namespace kartik\grid; /** * Asset bundle for GridView Widget (for floating header) * * @author Kartik Visweswaran <kartikv2@gm...
<?php declare(strict_types=1); /* * (c) VisualSearch GmbH <office@visualsearch.at> * For the full copyright and license information, please view the LICENSE * file that was distributed with the source code. */ namespace Vis\VisuallySearchProducts\Api; final class BaseUrl { public const LIVE = 'https://api.vis...
<?php namespace App; use Laravel\Passport\HasApiTokens; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use HasApiTokens,Notifiable; /** * The attributes that are mass as...
@extends('layouts.app') @section('page_title', ucwords($candidate->name)) @section('content') <div class="page"> <div class="page-inner"> <header class="page-title-bar"> <!-- .breadcrumb --> <nav aria-label="breadcrumb"> <ol class="breadcrumb"...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use App\IndeksDelineasiDesa; use App\PeraturanBupatiWalikota; use Storage; use DataTables; use Redirect; use Carbon\Carbon; class PeraturanController extends Controller { public function __construct() { $this->middleware...
<?php declare(strict_types=1); /* * 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\DoctrineORMAdminBundl...
<?php /*Template Name: Boxmoe注册模板*/ //如果用户已经登陆那么跳转到首页 if (is_user_logged_in()){ wp_safe_redirect( get_option('home') ); exit; } //获取注册页面提交时候的表单数据 if( !empty($_POST['csyor_reg']) ) { $error = ''; $redirect_to = boxmoe_com('users_page'); $sanitized_user_login = sanitize_user( $_POST['user_login'] ); $us...
<?php namespace laravel_project\Http\Controllers; use Illuminate\Http\Request; class PagesController extends Controller { public function home(){ return view('home'); } public function about(){ return view('about'); } public function gallery(){ return view('gallery'); } public function contact(){ ...
<?php /** * Created by PhpStorm. * UserModel: Administrator * Date: 2018/3/12 * Time: 17:17 */ namespace app\admin\model; use app\admin\model\Base; class DeviceType extends Base { protected $table = 'imf_device_type'; }
<!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"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVS...
<?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 class report_model extends CI_Model { function getInventoryReport($branchId, $selectedReport, $selectedReportType, $month, $year) { $this->db->select(array('inventory.*', 'branch.*', 'room.*')); $this->db->from('inventory'); $this->db->join('branch', 'inventory.branch_id = branch.bran...
@if(empty($course)) {!! Form::open(['route' => 'course.store']) !!} @else {!! Form::model($course, ['route' => ['course.update', $course->id], 'method' => 'PUT']) !!} @endif <div class="card card-custom gutter-b example example-compact"> <div class="card-header"> <h3 class="card-title"> Agregar Cursos </h3> <...
<?php namespace Spatie\SchemaOrg; /** * The act of physically/electronically taking delivery of an object thathas * been transferred from an origin to a destination. Reciprocal of SendAction. * * Related actions: * * * [[SendAction]]: The reciprocal of ReceiveAction. * * [[TakeAction]]: Unlike TakeAction, Re...
<?php namespace App\Http\Controllers; use App\Products; use Illuminate\Http\Request; class ProductController extends Controller { public function index(){ return view('ajouter'); } public function addProduct(){ request()->validate([ 'titre'=>['required'], 'prix'=>...
<?php session_start(); include('../config/config.php'); $mysql = new mysqli($config['host'], $config['user'], $config['pass'], $config['db']); $query = 'SELECT * FROM user_friend_detail WHERE userId = "'.$_SESSION["userId"].'" AND ViewableRow != "0"'; $results = mysqli_query($mysql, $query); $liFriends = 0; $fbFriends ...
<?php /* knp_menu_base.html.twig */ class __TwigTemplate_0edf80483678661e84d5a476283e2f590309fe4aa75e1de1557316eee31815af extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); ...
<?php namespace App\Http\Controllers\Home\Index; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\DB; class bookdetailController extends Controller { /** * 书籍详情页 * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View ...
<?php namespace ContainerIbkI50M; 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 getConsole_Command_ValidatorDebu...
<?php /* * 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 without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/o...
<?php namespace App\Models\User\Learningtasks; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use App\UserableNohistory; use App\Enums\LearningtaskUseFunction; class LearningtasksUseSettings extends Model { // 論理削除 use SoftDeletes; // 保存時のユーザー関連データの保持(履歴なしUserable...
<?php namespace App\Http\Requests; use App\Models\SubjectsCategory; use Gate; use Illuminate\Foundation\Http\FormRequest; use Symfony\Component\HttpFoundation\Response; class MassDestroySubjectsCategoryRequest extends FormRequest { public function authorize() { abort_if(Gate::denies('subjects_categor...
@include('.inclue/header'); <body> <div > <table class="table table-striped table-dark"> <thead> <tr> <th scope="col">#</th> <th scope="col">Title</th> <th scope="col">Content</th> <th scope="col"><a href="admin/create">Them bai viet</a></th> <...
<?php require_once(dirname(__FILE__).'/../../sprites/C16File.php'); require_once(dirname(__FILE__).'/../../sprites/S16File.php'); require_once(dirname(__FILE__).'/TagBlock.php'); /// @brief Represents an AGNT block in a PRAY file, used for C3 Agent scripts and metadata. class AGNTBlock extends TagBlock { /// @b...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class previousScore extends Model { protected $table = 'previousScores'; protected $primaryKey='PreviousID'; }
<?php /* * This file is part of the Predis package. * * (c) Daniele Alessandri <suppakilla@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Command; /** * @group commands * @group realm-set */ class...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class NewUserVerifyEmail extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function...
<?php /** * Basic PHP code to use Google reCAPTCHA v2 with YOURLS. * Code borrowed from: https://github.com/armujahid/Admin-reCaptcha/blob/master/captcha.php */ require_once "autoload.php"; // Register API keys at https://www.google.com/recaptcha/admin $siteKey = yourls_get_option( 'adminnorecaptcha_pub_key' ); $sec...
<?php namespace App\Repository; use App\Entity\MeasurementQueue; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @method MeasurementQueue|null find($id, $lockMode = null, $lockVersion = null) * @method MeasurementQueue|null findOneBy(array $cri...
<?php $fl['title'] = $lang['home'] . ' | ' . $fl['config']['title']; $fl['description'] = $fl['config']['description']; $fl['keywords'] = $fl['config']['keywords']; $fl['page'] = 'home'; if (in_array($fl['page'], $fl['pages_home_array'])) { $fl['page_home'] = true; } // Get TOP content; require 'so...
<?php namespace Pixie; use Mockery as m; class QueryBuilderTest extends TestCase { private $builder; public function setUp() { parent::setUp(); $this->builder = new QueryBuilder\QueryBuilderHandler($this->mockConnection); } public function testSelectFlexibility() { $...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title> Dawah Admin ...
@if (session()->has('errors')) <div class="alert alert-danger"> <ul> {{session('errors')}} </ul> </div> @endif @if(session('success')) <div class="alert alert-success"> {{session('success')}} </div> @endif {{--@if($errors->any())--}} {{-- <div class="aler...
<?php namespace App\Models\Backend; use EloquentFilter\Filterable; use Spatie\Permission\Models\Permission; class ExtendPermission extends Permission { use Filterable; protected $table = 'permissions'; protected $fillable = [ 'pid', 'name', 'name_zn', 'guard_name', 'is_hide', 'order_s...
<?php use Faker\Generator as Faker; $factory->define(Dluwang\Auth\Tests\Permission::class, function (Faker $faker) { return [ 'id' => $faker->uuid, ]; });
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class CustomerWallet extends CI_Controller { public function __construct() { parent::__construct(); checkSession(); } public function index($id = 0) { if (!check_role_assigned('customerwallet', 'view'))...
<style> .error{ color:red; size: 10px; } </style> <div class="boxed newDiv"> <!--CONTENT CONTAINER--> <!--===================================================--> <div id="content-container"> <div id="profilebody"> <div class="pad-all animated fadeInDown"> ...
<footer class="sticky-footer bg-white"> <div class="container my-auto"> <div class="copyright text-center my-auto"> <span>Copyright &copy; Perpustakaan 2021 <br> ravi & wendha </span> </div> </div> </footer>
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Charity extends Model { protected $fillable = ['name','desc','user_id','image']; public function post(){ return $this->hasMany(Post::class); } public function user(){ return $this->belongsToMany(User::class,...
<?php namespace app\models; use app\models\User; use yii\base\Model; use Yii; /** * Signup form */ class SignupForm extends Model { public $username; public $email; public $password; /** * @inheritdoc */ public function rules() { return [ ['username', 'filter',...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class DataNone extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('Dashboard_m'); } public function index() { $this->template->load('template', 'datanone_v'...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Post extends Model { use HasFactory; protected $guarded = ['created_at', 'updated_at']; protected $dates = [ 'published_at', ]; public function category(){ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Backup_restore extends MX_Controller { private $savePath = "assets/data/backup/"; private $fileName = "backup.sql"; public function __construct() { $this->db->query('SET SESSION sql_mode = ""'); parent::__construct(); ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class DocumentController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** ...
<?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 a...
<!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" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.mi...
<div class="stats"> <div class="bg-{{$color}}"> <div class=""><i class="fa fa-{{ $icon }} fa-5x"></i></div> <h3 align="center">{{ $value }}</h3> <p>{{ $header }}</p> <a href="{{ $href }}">View details <i class="fa fa-arrow-circle-right"></i></a> </div> </div>
<?php namespace App\Http\Middleware; use Closure; class adminLogouted { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $user = $request->s...
<?php /** * GetExtendedClientTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Mailvio API...
<?php if ( ! defined( 'WPINC' ) ) { die; } /** * Slider control * * @since 1.0.0 * @access public * */ class Epsilon_Control_Slider extends WP_Customize_Control { /** * The type of customize control being rendered. * * @since 1.0.0 * @access public * @var string */ public $type = 'epsilon-sli...
<div class="row"> <form class="form-inline" action="/sys/role/view?id=Admin" method="post"> <input type="hidden" name="_method" value=""> <input type="hidden" name="_csrf" value="MATLZ6AqdhGUsecC7pvgL0hasgkY2t8n8kFvvvUSlwZBSK4qxkREY_X7hTWs1IFmCx6KMHq57EOGdQSIxGvwTw=="> <div class="panel pane...
<?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\Security\Http\Firewall; use Psr\Log\LoggerInterface; ...
<!DOCTYPE HTML> <html> <head> <title> CHATSCRIPT SERVER </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> #topPanel { min-width: 200px; min-height: 200px; width: 80vw; height: 50vh; overflow: aut...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Receptionist extends CI_Controller { public function __construct() { parent::__construct(); $this->load->database(); $this->load->library(array('ion_auth', 'form_validation')); $this->load->helper(arr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSessionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sessions', fun...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('posts', function (...
<?php namespace InetStudio\FavoritesPackage\Favorites\Contracts\Events\Front; /** * Interface ItemWasUnFavoritedEventContract. */ interface ItemWasUnFavoritedEventContract { }
<!DOCTYPE html> <html> <?php $segment1 = strtolower($this->uri->segment(1)); $segment2 = strtolower($this->uri->segment(2)); $segments_arr['segment1']= $segment1; $js_file = $segment1; ?> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial...
<?php require_once("common.php"); function process_result_csv($file, $position_index, $name_index) { $row = 1; $position_category = []; $candidates = []; if (($handle = fopen($file, "r")) !== FALSE) { while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $name = $data[$name_index]; $positi...
<!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>On Shop</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.boo...
<?php /* * This file is part of the NelmioApiDocBundle. * * (c) Nelmio <hello@nelm.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Nelmio\ApiDocBundle\Tests\Fixtures\Controller; use FOS\RestBundle\Controller\Annota...
<?php declare(strict_types=1); namespace Rector\FileSystem; use Nette\Utils\Strings; use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\SplFileInfo; use Symplify\PackageBuilder\FileSystem\FileSystem; use Symplify\PackageBuilder\FileSystem\FinderSanitizer; use Symplify\PackageBuilder\FileSystem\SmartFil...
<?php declare(strict_types=1); /** * Chippyash/validation * * Validation * * @author Ashley Kitson * @copyright Ashley Kitson, 2015, UK * * @link http://php.net/manual/en/functions.anonymous.php */ namespace Chippyash\Validation\Exceptions; /** * A generic Validation exception */ class ValidationExcept...
@extends('scaffold-interface.layouts.app') @section('content') <section class="content"> <div class="box panel card box-primary panel-primary card-primary"> <div class="box-header panel-header card-header"> <h3>Create new Permission</h3> </div> <div class="box-body panel-body card-body"> <form action="{{ur...
<?php // TactileAuth module config return array( 'acl' => array( 'resources' => array( 'guest' => array( 'login' => array(), 'logout' => array(), 'forgot-password' => array(), 'reset-password' => array(), ), ...
@extends('layout') @section('content') <div class="col-md-10"> <!-- /contest --> <div class="cases-line"> <div class="container"> <div class="row cases-row box-cases-row"> @foreach($cases as $c) <div class="col-sm-12"> <div class="box box_{{$c->color}}-box"> <div class="fix"> <a href="...
<?php include 'konekcija.php'; $upit = 'SELECT * FROM kategorije'; $rezultat = $konekcija->prepare($upit); $rezultat->execute(); $proizvodi = $rezultat->fetchAll(); $ispis=''; foreach($proizvodi as $pro){ $ispis .= "<option value='$pro->idKategorija'>$pro->naziv</option>;"; } $is...
<div class="row"> <div class="col-md-12"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">Premio Add</h3> </div> <?php echo form_open('premio/add'); ?> <div class="box-body"> <div class="row clearf...
<?php namespace App\Components; use Illuminate\Support\Facades\DB; class Widget { protected $type; protected $data; protected static $renderData; public function __construct(String $type = '', Array $data = []) { $this->type = $type; $this->data = $data; } public static fun...
<?php namespace Illuminate\Database\Query; use Closure; use RuntimeException; use BadMethodCallException; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; use Illuminate\Pagination\Paginator; use Illuminate\Support\Traits\Macroable; use Illuminate\Contracts\Support\Arrayable; use ...
<!-- breadcrumb --> <div class="page-bar"> <ul class="page-breadcrumb"> <li> <a href="<?php base_url(); ?>">Home</a> <i class="fa fa-circle"></i> </li> <li> <span>Formulir Pendaftaran</span> </li> </ul> </div> <div class="space-4"></div> <!...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitd88d2ec5b791869365238c9388cdf2be { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
<?php exit();?>{"expire_time":1496640481,"jsapi_ticket":"kgt8ON7yVITDhtdwci0qeb6jY7X85Kq_btvHYDytts8q3YNfNxNK889HssxNsjw78TcnKOfaQpQSOqMprbHJPw"}
@extends('admin.layout') @section('content') <h3>Page dashboard</h3> @stop
<?php /** * Layout: views/layouts/app.php * * This is the template that is used for displaying all posts by default. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package MyApp */ \MyApp::render( [ 'views/partials/loop-single', 'loop' ] );
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use App\Models\Status; class StatusesController extends Controller { public function __construct() { $this->middleware('auth'); } public function store(Request $request) { $this->validate($request, [ 'co...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\Abonamente */ $this->title = 'Update Abonamente: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Abonamentes', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCandidatesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('candidates',...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PlanosController extends Controller { public function index() { return view('paginas.planos'); } }
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Schema::defaultStringLength(...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\ResourceBundle\DependencyInjection; use Sylius\Bundle\ResourceBundle\Dependen...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Page extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('pesawat_model'); $this->load->model('hotel_model'); $this->load->model('kereta_model'); } public function index() { $data['p...