text stringlengths 2 1.03M |
|---|
<?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\Console\Input;
use Symfony\Component\Console\Exceptio... |
<div class="modal fade user-select-none" id="submitApplicationModal" tabindex="-1">
<div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header p-0">
<div class="m-3">
<div class="mb-3">
<h3 class="text-u... |
<?php
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application suppo... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
// require_once APPPATH.'vendor/autoload.php';
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\Writer\Word2007;
class Pengabdian extends CI_Controller
{
public function __construct()
{
parent::__construct();
//load mode... |
<?php
namespace SchierProducts\SchierProductApi\Service;
/**
* Abstract base class for all service factories used to expose service
* instances through {@link \SchierProducts\SchierProductApi\ProductApiClient}.
*
* Service factories serve two purposes:
*
* 1. Expose properties for all services through the `__g... |
<?php
/*
* Widget Name: Image Banner
* Version: 1.0
* Author: Waqas Riaz
* Author URI: http://favethemes.com/
*/
class houzez_Image_Banner_300_250 extends WP_Widget {
/**
* Register widget
**/
public function __construct() {
parent::__construct(
'houzez_image_banner_300_250', // Base ID
esc_h... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\entities\PublicationCategorySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Publication Categories';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="row">
<!... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Photo;
use Illuminate\Support\Facades\Storage;
class PhotosController extends Controller
{
public function create(int $galleryId) {
return view ('photos.create')->with('galleryId', $galleryId);
}
public function ... |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Installer\Adapter;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Applicat... |
<?php
include "../concesionario/libs/Controlador.php";
error_reporting(-1);
class CarroController extends Controlador {
/*
public function registrar(){
$tipocarro= $_POST["name-select-tipo-carro"];
$marca= $_POST["name-select-marca"];
$capacidad= $_POST["name-input-capacidad"];
$precio= $_POST["name-inpu... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'AdminTableSeeder' => $baseDir . '/database/seeds/AdminTableSeeder.php',
'Carbon\\Carbon' => $vendorDir . '/nesbot/carbon/src/Carbon/Carbon.php',
'Carbon\\CarbonInt... |
<label class="{{ $hasError() ? 'error' : '' }}" for="{{ $id() }}">
<input
type="radio"
id="{{ $id() }}"
name="{{ $name }}"
value="{{ $value }}"
{{ $readonly ? 'readonly' : '' }}
@if ($selected) checked="checked" @endif
/>
{!! $label !!}
</label> |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Mdl_customer extends CI_Model {
function __construct() {
parent::__construct();
}
function get_table() {
$table = "customer";
return $table;
}
function get($order_by) {
$table = $this->get_table();
$this->db->order_by($order_by);
$query=$... |
<?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
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class LogoutController extends Controller
{
public function index(){
auth()->logout();
return redirect()->route('home');
}
} |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\Model;
class Floor extends Model
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name','number','manager_id'
];
/... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use App\Incidencia;
class IncidenciaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$pc= DB::table('pcs')->select('id')->first();
factory(Incidencia::Cla... |
<!DOCTYPE Html>
<Html lang="en-US" class="lang-en_US" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<meta http-equiv="content-type" content="text/Html;charset=UTF-8"/><!-- /Added by HTTrack -->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
... |
<?php $__env->startSection('content'); ?>
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
Ajoutez un Dossier d'exportation
</h1>
<ol class="breadcrumb">
<li>
<i class="fa f... |
<?php
/**
* Created by PhpStorm.
* User: user
* Date: 22/4/2020
* Time: 10:22 PM
*/
namespace App\Classes\Modules\ControllerLogic\Dashboard;
use App\Classes\Modules\Dashboard\Services\CreatesAnnouncement;
use Illuminate\Http\Request;
class CreateAnnouncementLogic
{
/** @var CreatesAnnouncement */
priv... |
<html>
<body>
<div>
<?php
switch($header->{'Period Month'}){
case 1:
if( !empty( $header->{'Hdmf E3'} ) ){
$month = 'March';
}
elseif( !empty( $header->{'Hdmf E2'}) ) {
$month = 'February';
}
else{
$month = 'January';
}
break;
case 2:
if( !empty... |
@extends('layouts.default')
@section('content')
<section class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_4.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-end justify-content-center">
<... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
}
/**
* Register any application services.
*
* ... |
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
@include('admin/public/top');
<body>
<article class="cl pd-20">
<form action="" method="post" class="form form-horizontal" id="form-admin-add">
<input type="hidden" name="admin_id" value="{{$res->admin_id}}">
<div class="row cl">
<label clas... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateKontaksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kontaks', function (Blueprint $table) {
$t... |
<?php
/**
* Copyright 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
@extends('layouts.admin.app')
@section('content')
<!-- Main content -->
<section class="content">
@include('layouts.errors-and-messages')
<div class="box">
<form action="{{ route('admin.categories.store') }}" method="post" class="form" enctype="multipart/form-data" onsubmit="$('sele... |
<?php
//---------------------------------------------------------------------------------------------------
// Proyecto: Icasus
// Archivo: lang_es.php
// Desarrolladores:Juanan Ruiz (juanan@us.es), Jesus Martin Corredera (jjmc@us.es),
// Joaquín Valonero Zaera (tecnibus1@us.es)
//------------------------------------... |
<?php
declare(strict_types=1);
namespace Gewaer\Api\Controllers;
use Baka\Http\Api\BaseController as BakaBaseController;
use Kanvas\Sdk\Passthroughs\PhalconPassthrough;
use Phalcon\Http\Response;
/**
* Class IndexController.
*
* @package Gewaer\Api\Controllers
*
* @property Redis $redis
* @property Beanstalk ... |
<?php
$keyword = strval($_POST['query']);
$search_param = "{$keyword}%";
$conn =new mysqli('localhost', 'username', 'password' , 'database');
$conn->set_charset("utf8");
$sql = $conn->prepare("SELECT * FROM customers WHERE title LIKE '%' || ?;");
$sql->bind_param("s",$search_param);
$sql->execute();
$result = ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
class Mainag extends CI_Controller{
function __construct()
{
parent::__construct();
$this->load->model('Agent_model');
$this->load->model('Agency_model');
$this->load->model('Property_model');
$this->load->model('Uk_town_model');
if($this->session->u... |
<table class="promotion" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUserRoleToUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function... |
<?php
namespace frontend\assets;
use yii\web\AssetBundle;
/**
* Main frontend application asset bundle.
*/
class FinanceAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/style.css',
'css/finance.css',
];
public $js = [... |
<?php
/*
* This file is part of the NadiaSimpleSecurityBundle package.
*
* (c) Leo <leo.on.the.earth@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nadia\Bundle\NadiaSimpleSecurityBundle\DependencyInjection;... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
function __construct(){
parent::__construct();
if(empty($this->session->userdata('login'))){
redirect ('auth');
}
}
public function index()
{
$this->loa... |
<?php $student_data = $this->user_model->get_logged_in_student_details(); ?>
<!--title-->
<div class="row ">
<div class="col-xl-12">
<div class="card">
<div class="card-body">
<h4 class="page-title"><i class="mdi mdi-book-open-page-variant title_icon"></i> <?php echo get_phrase('subject'); ?></h4>
... |
@extends('layouts.dashboard')
@section('menu')
<li class="nav-item ">
<a class="nav-link" href="{{ route('categorias') }}"><i class="fa fa-fw fa-bars"></i>Categorías</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="{{ route('gastos') }}"><i class="fa fa-fw fa-balance-scale"></i>Ga... |
<?php
declare(strict_types=1);
namespace Rector\NetteToSymfony\Analyzer;
use PhpParser\Node\Stmt\Interface_;
use PHPStan\Type\TypeWithClassName;
use Rector\NodeTypeResolver\NodeTypeResolver;
use Rector\TypeDeclaration\TypeInferer\ReturnTypeInferer;
final class NetteControlFactoryInterfaceAnalyzer
{
/**
* @... |
<?php
/*
|--------------------------------------------------------------------------
| Products
|--------------------------------------------------------------------------
|
| Routes for the product resource.
|
*/
Route::resource('product', '\Shopavel\Products\Controllers\ProductsController'); |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreUserPost extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the... |
<?
/*------------------------------------------------------------------------------------------------
FRANK Engine and Game:
Copyright (c) 2008 - 2015 MrTrick
Description:
Simulation of any number of connected computers, and their connections.
Game content, plot, and tools for 'FRANK' game.
Creator:
Patrick Ba... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "EntiDocumenti".
*
* @property int $idEnteDocumento
* @property string $nomeEnte
*/
class EntiDocumenti extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'En... |
<?php
declare(strict_types = 1);
namespace Isfett\WowClassicHunterMeleeWeavingEfficiency\Tests\Unit\Node\Representation\Expr;
use Isfett\WowClassicHunterMeleeWeavingEfficiency\Node\Expr\BooleanNot\Identical;
use Isfett\WowClassicHunterMeleeWeavingEfficiency\Node\Representation\Expr\BinaryOp;
use Isfett\WowClassicHunt... |
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ __('lang.Add category') }}</h3>
<div class="card-tools">
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fas fa-minus"></i>
</button>
</div>
</div>
<div cl... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePizzasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pizzas', functio... |
<?php
namespace App\Http\Controllers\Admin;
use App\Bus;
use App\DataTables\RidesDataTable;
use App\DataTables\Scopes\Rides\ActiveRides;
use App\DataTables\Scopes\Rides\InactiveRides;
use App\Http\Controllers\Controller;
use App\Http\Requests\Admin\Ride\RideRequest;
use App\Ride;
use App\Route;
class RideController ... |
@extends('layouts.app')
@section('title', 'Accueil APEL')
@section('content')
<section class="violet pb-5">
<div class="row mx-auto">
<div class="col-12 mt-5">
<h2>Création d'une permission</h2>
</div>
<div class="col-lg-10 col-xl-8 col-md-8 col-sm-12 mx-auto mt-5">
... |
<div id="sidebar" class="sidebar responsive">
<script type="text/javascript">
try {
ace.settings.check('sidebar', 'fixed')
} catch (e) {
}
</script>
<div class="sidebar-shortcuts" id="sidebar-shortcuts">
<div class="sidebar-shortcuts-large" id="... |
@extends('layouts.manager')
@section('content')
<div class="row">
<div class="col-md-12 mt-4 d-flex justify-content-between align-items-center">
<h2>Criar Recurso Sistema</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<hr>
<form action... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', functio... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Field extends Model
{
protected $table = 'field';
} |
<!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>SanberCode App</title>
<link rel="stylesheet" href="{{ url('/css/app.css') }}">
</head>
<body>
{{-- ... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=sw... |
<?php
namespace App\Database\Seeds;
use CodeIgniter\Database\Seeder;
class RoleSeeder extends Seeder
{
public function run()
{
$initDatas = [
[
"role_nama" => "super admin",
],
[
"role_nama" => "petugas pendaftaran",
],
[
"role_nama" => "bendahara penerimaan pembantu",
],
[
"... |
<?php
namespace App\Http\Controllers;
use App\Models\Horario;
use App\Utils\Res;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use DateTime;
use DateTimeZone;
class HorarioController extends Controller
{
public function obtener()
{
try {
$horarios = Horario... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Class Auth
* @property Ion_auth|Ion_auth_model $ion_auth The ION Auth spark
* @property CI_Form_validation $form_validation The form validation library
*/
class Auth extends CI_Controller
{
public $data = [];
public function... |
<?php
// src/Infogold/KonsultantBundle/Controller/SecurityController.php
namespace Infogold\AdminBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
class Security... |
<?php
namespace Octobat;
/**
* Class TaxRegionSetting
*
* @property string $id
* @property bool $livemode
* @property bool $activated
* @property int $amount_off
* @property string $tax_zone_code
* @property OctobatObject $regions
*
* @package Octobat
*/
class TaxRegionSetting extends ApiResource
{
us... |
<?php
/*
* This file is part of the Ivory Google Map package.
*
* (c) Eric GELOEN <geloen.eric@gmail.com>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\GoogleMap\Helper\Extension;
use Ivory\GoogleMap\Map;
/**
... |
<?php
namespace App\Http\Controllers;
use App\Response\ResponseJson;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseContro... |
<?php namespace App\Modules\ModuleOne\Models;
use Illuminate\Database\Eloquent\Model;
class TestModel extends Model
{
/**
* Added just to demonstrate that models work
* @return String
*/
public function getAny()
{
return 'Dummy entry';
}
} |
<?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
namespace business\assets;
use yii\web\AssetBundle;
/**
* Main backend application asset bundle.
*/
class LayerMobileAsset extends AssetBundle
{
public $sourcePath = '@bower/layer.mobile/layer_mobile';
public $css = [
'need/layer.css'
];
public $js = [
'layer.js',
];
... |
<?php
namespace Controllers;
use Models\Productos;
class ProductosController extends ControllerBase {
public function indexAction() {
if($this->request->isAjax() && $this->request->isPost()) {
switch(strtolower($this->request->getPost('cmd'))) {
case 'ver':
return $this->ver();
case 'crear':
... |
<!DOCTYPE html>
<html lang="en">
<!-- BEGIN HEAD -->
<head>
<?php $this->load->view('head.php'); ?>
<!-- BEGIN PAGE LEVEL PLUGINS -->
<link href="<?php echo base_url().'asset/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css';?>" rel="stylesheet" type="text/css" />
... |
<?php if( !defined('WPINC') ) die;
class Leyka_Ua_Options_Allocator extends Leyka_Ru_Options_Allocator {
protected static $_instance;
protected function _get_main_currency_options_tabs() {
$main_currency_id = leyka_options()->opt_safe('currency_main');
$main_currency_info = leyka_get_currenc... |
<?php namespace App\Controllers;
use App\Models\ChatsModel;
use App\Models\InvModel;
use App\Models\InvBGModel;
use stdClass;
class InvBG extends BaseController
{
public function __construct() {
parent::__construct();
$this->trading = model('TradingModel');
$this->chats = model('ChatsModel');
$this->BG = mod... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class HomeController extends Controller
{
public function Home()
{
if (Auth::user() && session('user')) {
if (session('role') != 4) {
return view('pages.master.dashboard... |
<?php
namespace App\Models\Admin;
use App\Notifications\AdminResetPasswordNotification;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Admin extends Authenticatable
{
use Notifiable;
/**
* Send the pa... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\attribute\key\userkey$uakregisteredit@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-10-18T15:12:26+00:00 */
$loaded = true;
$expiration = 1603033946;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('... |
<?php
##### HOME- MENU #####
DEFINE("_SwissFinancialCompany", "Швейцарская финансовая компания");
DEFINE("_SwitchtoMobileMode","Запустить StormTrader");
DEFINE("_StartFundLiveAccount","Открыть Live-счет");
DEFINE("_SigninLive","Войти в live-счет");
DEFINE("_Openademoaccount","Открыть demo-счет");
DEFINE("_SigninDemo"... |
@extends('layouts.master')
@section('content')
<h1>Bienvenue</h1>
<p class="lead">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vulputate mauris non velit eleifend, ac congue odio feugiat. Duis vitae urna interdum, sodales magna quis, condimentum mauris. In id tortor erat. Proin... |
<?php
declare(strict_types=1);
namespace App\Events\Admin;
use App\Models\Admin;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class AdminCreated
{
use Dispatchable;
use SerializesModels;
/**
* @var \App\Models\Admin
*/
protected $admin;
/**
... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\IpMessaging\V1\Service;
use Twilio\Page;
class UserPage extends Page {
public function __construct($version, $response, $solution) {
parent::__construct($version, $res... |
<?php
return [
'apiKey'=>'daef4ff758859227ac5ff22b3d73e090',
'secretKey'=>'f07fce0a',
'paymentURL'=>'https://mock01.ecpdss.net/depkasa/a/payment/welcome',
'paymentDetailURL'=>'https://mock01.ecpdss.net/depkasa/a/payment/detail',
'callbackUrl'=>'http://sk-project.ru/api/callback' // TODO mk cors or ... |
<?php
/**
* Unit test class for the MultiLineCondition sniff.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\PEAR\Test... |
<?php
session_start();
include_once 'connect.php';
//Check if the user is logged in, if not then redirect him to login page
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
header("location: login.php");
exit;}
... |
<script type="text/javascript">
$(function () {
$('.imgCheck').TMImageCheck();
});
</script> |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\User;
use App\Role;
use Gate;
use Illuminate\Http\Request;
class UserController extends Controller
{
public function __construct(){
$this->middleware('auth');
}
/**
* Display a listing of the resource.
... |
<?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "gender".
*
* @property integer $id
* @property string $gender_name
*/
class Gender extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'gender';
}
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class supir extends Model
{
protected $fillable = ['foto','nama','jk','no_identitas','alamat','no_hp','harga_sewa'];
public function sewas()
{
return $this->hasMany('App\sewa');
}
} |
<?php require RUTA_APP . '/views/inicio/header.php';?>
<!--INICIO CONTENIDO-->
<?php if($_SERVER['REQUEST_METHOD'] == 'POST'){
echo $_SESSION["crear"];
} ?>
<form action="<?php echo RUTA_URL ?>/usuario/asignar/asignar_rol" method="post">
<div class="col-md-12">
<div class="co... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UsersEditRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
@extends('layouts.main', ['class' => 'off-canvas-sidebar', 'activePage' => 'login', 'title' => __('REGISTRANOT')])
@section('content')
<div class="container" style="height: auto;">
<div class="row align-items-center">
<div class="col-md-9 ml-auto mr-auto mb-3 text-center">
<h3>{{ __('BIENVENIDO') }} </h3>
... |
<?php
/*
* Crie uma função que mostre a soma de dois números.
*/
function Soma(){
echo (3 + 6);
}
Soma(); |
<?php
namespace Wnx\Emojis\Emojis;
/**
* ManPlayingHandballMediumLightSkinTone Emoji class.
*
* @version v13.1
*
**/
class ManPlayingHandballMediumLightSkinTone
{
public const SYMBOL = "🤾🏼♂️";
public const HEX = "1F93E 1F3FC 200D 2642 FE0F";
public const CODE = "\u{1F93E}\u{1F3FC}\u{200D}\u{2642... |
@extends('system-mgmt.country.base')
@section('action-content')
<!-- Main content -->
<section class="content">
<div class="box">
<div class="box-header">
<div class="row">
<div class="col-sm-8">
<h3 class="box-title">List of countries</h3>
</div>
<div class="col-sm... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableRencanaTkbm extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rencana_tkb... |
<?php
declare(strict_types=1);
namespace Cortex\Categories\Models;
use Spatie\Activitylog\LogOptions;
use Rinvex\Support\Traits\Macroable;
use Cortex\Foundation\Traits\Auditable;
use Rinvex\Support\Traits\HashidsTrait;
use Rinvex\Support\Traits\HasTimezones;
use Spatie\Activitylog\Traits\LogsActivity;
use Cortex\Cat... |
<?php
namespace RandomStuff\Faker;
use RandomStuff\Faker\Generator;
class Factory extends \Faker\Factory
{
public static function create($locale = self::DEFAULT_LOCALE)
{
$generator = new Generator();
foreach (static::$defaultProviders as $provider) {
$providerClassName = self::ge... |
@extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Test Information</div>
<div class="panel-body">
... |
@extends('layouts.master')
@section('content')
<div style="margin-top: 150px; width: 100%; text-align: center; width: 400px; margin-left: auto; margin-right: auto; font-size: 20px; font-weight: bold;">
Din pacate, perioada de votare s-a terminat, iar acum urmeaza jurizarea participantilor. Multumim pentru... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Pasiens';
$this->params['breadcrumbs'][] = $this->title;
?>
<?= Html::a('Back to home', ['site/index'], ['class' => 'btn btn-warning']) ?>
<div class="pasien-index"... |
<?php
/**
*
* common [English]
*
* @package language
* @version $Id: common.php 14165 2013-10-03 17:02:47Z btowles $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_a... |
<?php
namespace App\Services;
use App\Services\Interfaces\AdminServiceInterface;
use Illuminate\Http\Request;
use App\Http\Requests\User\CreateUserRequest;
use App\Models\Admins;
class AdminService implements AdminServiceInterface
{
/*protected $adminRepository;
*/
protected $model;
public function __construct(Ad... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Create Profile | QWP</title>
<!-- BOOTSTRAP CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<!-- JQUERY JS -... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.