text stringlengths 2 1.03M |
|---|
<?php
/**
* @version $Id:helper.php 6961 2007-03-15 16:06:53Z tcp $
* @package Joomla.Framework
* @subpackage User
* @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU... |
<?php
namespace SocialiteProviders\Meetup;
use Illuminate\Support\Arr;
use Laravel\Socialite\Two\ProviderInterface;
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;
class Provider extends AbstractProvider implements ProviderInterface
{
/**
* Unique Provider... |
<?php
namespace Database\Seeders;
use App\Models\Clases;
use Illuminate\Database\Seeder;
class ClasesSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run($school_id)
{
Clases::factory(rand(5, 10))->create([
'school_id' => $s... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Dashboard</div>
<div class="card-body">
@if (session('status'))
... |
<main role="main" class="container">
<div class="row">
<div class="col-md-10 mx-auto">
<?php $this->load->view('layouts/_alert') ?>
</div>
</div>
<div class="row">
<div class="col-md-10 mx-auto">
<div class="card">
<div class="card-header">
... |
<form id="demo-2" role="search" method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<input type="search" placeholder="Digite a pesquisa" value="<?php echo get_search_query(); ?>" name="s" id="s" />
<input type="hidden" value="blog" name="post_type" id="pos... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Teachers;
class TeachersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSpTrGetVlccCenter extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::unprepared('DROP PROCEDURE IF EXISTS trGetVlccCenters;
... |
<?php
namespace App\Jobs;
use App\Mail\SendApplicationMail;
use App\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Mail;
class Pr... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Customer extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'customers';
/**
* The database primary key value.
*
* @var string
*/
protected $primaryKe... |
@extends('layouts.home_common')
@section('info')
<title>{{\Illuminate\Support\Facades\Config::get('web.web_title')}}-{{Config::get('web.seo_title')}}</title>
<meta name="keywords" content="{{Config::get('web.keywords')}}" />
<meta name="description" content="{{Config::get('web.description')}}" />
@endsectio... |
<!-- Page-Breadcrumb -->
<div class="page-header">
<div class="page-block">
<div class="row align-items-center">
<div class="col-md-8">
<div class="page-header-title">
<h5 class="m-b-10">Beranda</h5>
<p class="m-b-0">Sistem In... |
<?php
use App\Models\ActionType;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
class ActionTypesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$types = [
[
'name' => 'pick',
... |
<?php
namespace App\Services;
use App\Traits\ConsumesExternalServiceTrait;
use App\Http\Controllers\User\PromocodeController;
use Illuminate\Http\Request;
use App\Services\Statistics\UserService;
use App\Events\PaymentReferrerBonus;
use App\Events\PaymentProcessed;
use App\Models\Payment;
use App\Models\PrepaidPlan;
... |
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* another great project.
* You can find more information about us on https://bitbag.shop and write us
* an email on mikolaj.krol@bitbag.pl.
*/
declare(strict_types=1);
namespace ... |
<?php
/**
* Author: Yejia
* Email: ye91@foxmail.com
*/
namespace Cium\WeWorkApi\api\struct\ServiceCorp;
use Cium\WeWorkApi\utils\error\ParameterError;
use Cium\WeWorkApi\utils\Utils;
class SetSessionInfoReq
{
public $pre_auth_code = null; // string
public $session_info = null; // SessionInfo
/**... |
<?php
$this->title = ucfirst(Yii::$app->controller->id) . ' [' . ucfirst(Yii::$app->controller->action->id) . ']';
?> |
<?php
namespace Shy\Http;
use Shy\Http\Contract\Session as SessionContract;
class Session implements SessionContract
{
/**
* Session Start
*
* @return bool
*/
public function sessionStart()
{
return session_start();
}
/**
* @return string
*/
public funct... |
<?php
/**
* GetCharactersCharacterIdLocationOkTest
*
* 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 License v2
* @link https://github.com/swagger-api/swagger-codegen
*/
... |
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
/* load the MX_Loader class */
require APPPATH."third_party/MX/Loader.php";
class MY_Loader extends MX_Loader {} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEmpleadosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('empleados', f... |
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"E:\phpStudy\WWW\tp5\public/../application/admin\view\user\index.html";i:1525848631;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1... |
<header>
<!-- header inner -->
<div class="head-top">
<div class="container-fluid">
<div class="row d_flex">
<div class="col-sm-3">
<div class="logo">
<a href="/home">INVEST KUY</a>
</div>
</div>
... |
@extends('layouts.master')
@section('header')
{{!! config('barber.title_inbox') !!}}
@stop
@section('content')
<div class="main">
<div class="main-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-... |
<?php
/**
* This file is part of the PHP-FFmpeg-video-streaming package.
*
* (c) Amin Yazdanpanah <contact@aminyazdanpanah.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Streaming;
use FFMpeg\Media\MediaTypeInter... |
<?php
namespace JK\LaraChartie\Contracts;
interface Formatter
{
/**
* @param DataTable $dataTable
* @return array
*/
public function format(DataTable $dataTable);
} |
@extends('app')
@section('title',"Dashboard | ". env('APP_NAME'))
@section('content')
<div class="flex justify-center">
<div class="w-8/12 bg-white p-6 rounded-lg">
<h1>Dashboard</h1>
</div>
</div>
@endsection |
<?php
/**
* This file is part of Athene2.
*
* Copyright (c) 2013-2018 Serlo Education e.V.
*
* 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... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use backend\models\Locations;
use kartik\select2\Select2;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model backend\models\Customers */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="customers-form">
<?php $form = ActiveForm:... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
--TEST--
Exception in a PHP function called from Lua
--FILE--
<?php
function throw_exception() {
throw new Exception('message');
}
$sandbox = new LuaSandbox;
$sandbox->registerLibrary( 'test', array( 'throw_exception' => 'throw_exception' ) );
$f = $sandbox->loadString('test.throw_exception()');
try {
$f->call();
} ... |
<?php
function unescape($arg) {
if (get_magic_quotes_gpc()) {
return stripslashes($arg);
}
return $arg;
}
$filename = "ep19.txt";
file_put_contents('php://stderr', "list stored participants\n");
$handle = fopen($filename, 'r');
$result = array();
header('Content-Type: application/javascript; char... |
<?php
//Admin Replacement Products page
wp_enqueue_style('datatables-css');
wp_enqueue_script('datatables-js');
$pgno = isset($_GET['pgno']) ? $_GET['pgno'] != '' ? $_GET['pgno'] : 1 : 1;
$pagination = ($pgno * 30) - 30;
global $wpdb;
$products = $wpdb->get_results("SELECT a.id AS id , a.name AS name, a.image AS imag... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInite4cc8649f914d7288d1da01a240c00ab
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace UniApi\Common\Helpers;
use UniApi\Common\Exception\RuntimeException;
use UniApi\Common\Helpers\CommonHelper;
class HandlerHelper {
const JSON = 'application/json';
const XML = 'application/xml';
const XHTML = 'application/html+xml';
const FORM... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddUserIdToTodolists extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('todolists', fu... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class GroupAccess extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'group_access';
/**
* Attributes that should be mass-assignable.
*
* @var array
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
@extends('layouts.admin_layout')
@section('content')
<div class="page-wrapper">
<div class="content container-fluid">
<div class="page-header">
<div class="row align-items-center">
<div class="col">
<h3 class="page-title">Add Terms & Condition</h3>
<ul class="breadcrumb">
<li class="breadcr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSensoresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sensores', fun... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddForeignKeysToUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function(Blueprint $table)
{
$table->foreign('roleid', 'user... |
<?php
namespace FTC\Bundle\ApiBundle\Controller;
use FTC\Controller\Controller;
/**
* API Base Controller
*
* Base controller that implements functions for easier response
*/
abstract class BaseController extends Controller
{
/**
* @return \FTC\Bundle\ApiBundle\Service\JsonResponder
*/
protect... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use Auth;
class UserController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function updateUser()
{
$user = User::find(Auth::user()->id);
... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class Paket extends Model
{
protected $DBGroup = 'default';
protected $table = 'tbl_paket';
protected $primaryKey = 'id_paket';
protected $useAutoIncrement = false;
protected $insertID = 0;
protected $returnT... |
<?php
/* Smarty version 3.1.39, created on 2021-05-30 21:00:57
from '/var/www/vhosts/wyxar.com/ps.wyxar.com/admin942xnb0td/themes/default/template/controllers/login/layout.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'un... |
<?php
namespace PicturePark\API\Exception;
class BusinessProcessWaitForLifeCyclesInternalServerErrorException extends InternalServerErrorException
{
/**
* @var \PicturePark\API\Model\PictureparkException
*/
private $pictureparkException;
public function __construct(\PicturePark\API\Model\Picture... |
<?php
#**************************************************************************************
# All curriculum actions go through this controller
#**************************************************************************************
class Curriculum extends CI_Controller {
#Constructor to set some default valu... |
<?php
/*
* Copyright (c) 2022 Tephida
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
$se_uid = (new \FluffyDollop\Http\Request)->int('se_uid');
if (!$se_uid) {
$se_uid = '';
}
$se_user_id = (new \FluffyDollop\Http\Reque... |
<?php
session_start();
require("vue/template/header.php")?>
<?php require("vue/template/nav.php")?>
<div class="container d-flex justify-content-center align-items-center">
<table id="statsTable"></table>
</div>
<?php require("vue/template/footer.php")?> |
<?php declare(strict_types=1);
namespace Shopware\Core\Content\Cms\DataResolver\Element;
use Shopware\Core\Content\Cms\DataResolver\FieldConfig;
use Shopware\Core\Content\Cms\DataResolver\ResolverContext\EntityResolverContext;
use Shopware\Core\Framework\DataAbstractionLayer\Entity;
use Shopware\Core\Framework\DataAb... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2017/8/2 0002
* Time: 下午 3:55
*/
namespace App\Console\Commands\Mytraits;
use Illuminate\Support\Facades\DB;
use QL\QueryList;
trait Ygdy8
{
public $listNum;
/**
* 保存电影电视剧列表页
*/
public function movieList($start, $pageTot, $base... |
<?php
namespace App\Http\Controllers\Products;
use App\Http\Controllers\Controller;
use App\Models\Brand;
use App\Models\Category;
use App\Models\Offer;
use App\Models\Product;
use App\Models\Spec;
use App\Models\Subcategory;
use App\Models\Supplier;
use Illuminate\Http\Request;
use App\traits\generalTrait;
use Illum... |
<style>
.progressbar {
width: 100%;
counter-reset: step;
}
.progressbar li {
float: left;
position: relative;
text-align: center;
}
.progressbar li:before {
content:counter(step);
counter-incremen... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitb09ef806ae3d0479d3a6d35d96a78356::getLoader(); |
<?php
namespace App\Events;
use App\Models\LoanTransaction;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSocke... |
<?php
class parsePush extends parseRestClient{
public $channels;
public $channel;
public $expiration_time;
public $expiration_time_intreval;
public $content_available;
public $type;
public $title;
public $where;
private $_globalMsg;
public function __construct($globalMsg=''){
if($globalMsg != ''){
$t... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Fan {
public function __construct()
{
$this->ci =&get_instance();
}
public function register_data($postData='')
{
$insertData_fans = [
'name' => $postData['name'],
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Users;
class AdminUserController extends Controller
{
public function updateAdmin()
{
$usuarios = Users::all();
return view('usuarios', compact('usuarios'));
}
public function formAdmin(Request $request... |
<?php
session_start();
$url = "http://".$_SERVER['HTTP_HOST']."/";
if (!isset($_SESSION['userId'])) {
header("Location: $url");
exit;
}
if (isset($_SESSION['userName'])) {
$user_name = $_SESSION['userName'];
} else {
$user_name = "Login";
}
$conn = mysqli_connect("localhost","root","","guestbook");
if (... |
<?php
namespace Laracube\Laracube\Tests;
use Laracube\Laracube\Providers\LaracubePackageServiceProvider;
class TestCase extends \Orchestra\Testbench\TestCase
{
/**
* Setup the test environment.
*/
protected function setUp(): void
{
parent::setUp();
$this->loadMigrationsFrom(__D... |
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBugCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bug_comment... |
@extends('layouts.app')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<br>
<section class="content">
<div class="row">
<div class="col-12 row">
@if(Session::has('success'))
<p class="alert btn-block btn-succes... |
<?php
/*
Copyright:: 2013, Sebastian Grewe
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 agreed to in writing, so... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Menu extends Model
{
use HasFactory;
protected $fillable = [
'name',
'parent_id',
'description',
'content',
'thumb',
'active'
]... |
<?php $__env->startSection('content'); ?>
<table class="yy">
<thead>
<tr>
<th> الفرقة</th>
<th>اليوم</th>
<th>التاريخ</th>
<th>التقدير</th>
</tr>
... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Config;
/**
* ConfigSearch represents the model behind the search form about `common\models\Config`.
*/
class ConfigSearch extends Config
{
/**
* @inheritdoc
*/
public function rules()
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Controller\admin;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
/**
* Class HomeController
* @package App\Controller\admin
* @Route("/admin")
*/
class HomeController extends AbstractController
{
/**
* @Route("/", n... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-3.0.php
* If you did not receive a co... |
<?php
namespace Restapi\Form;
use Zend\Form\Form;
use Zend\Validator;
class Register extends Form
{
public function __construct($name = null)
{
parent::__construct('Register');
/*
* configuration du formulaire
* */
$this->setAttribute('method', 'post');
$this->setAttribute('enctype', 'multipart/fo... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreCurso;
use App\Models\Curso;
use Illuminate\Http\Request;
class CursoController extends Controller
{
public function index(){
//en general es la "home"
//return "Hola desde index de CursoController. Esto sale al poner /cursos por G... |
<div class="container"><br/>
<center><h2><?=$title?></h2></center>
<div class="kotak-form">
<form action="<?= base_url('Cetakan/surat_pindah_studi')?>" method="post">
<label for="npm">NPM :</label>
<input type="number" name="npm" class="form_text" placeholder="Masukan npm">
<label fo... |
<?php
/**
* User: ZionCheung.
* Date: 2019-09-25
* Project: zxxcms
* Class: SendMail.php
*/
namespace lib;
use PHPMailer\PHPMailer\PHPMailer;
use think\Config;
class SendMail
{
protected $toMail;
protected $toName;
protected $subject;
protected $content;
protected $attachment = null;
priv... |
<?php
namespace spec\GrumPHP\Collection;
use GrumPHP\Collection\FilesCollection;
use GrumPHP\Collection\ProcessArgumentsCollection;
use GrumPHP\Exception\InvalidArgumentException;
use PhpSpec\ObjectBehavior;
use SplFileInfo;
class ProcessArgumentsCollectionSpec extends ObjectBehavior
{
function it_is_initializab... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\Attendance;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
class AttendanceController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*... |
<?php
namespace App\Http\Controllers;
use App\Comment;
use App\CommentReply;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Auth;
class CommentRepliesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
... |
<?php
require_once("support/config.php");
if(!isLoggedIn()){
toLogin();
die();
}
if(!AllowUser(array(1,2))){
redirect("index.php");
}
makeHead("Audit Log");
?>
<?php
require_once("template/header.php");
require_once("template/sidebar.php");
?>
<div class="content-wrapper">
... |
<?php
namespace Complex;
function bin_read_u($buf, $pos) {
list($var_100, $pos) = \bin_prot\read\bin_read_string($buf, $pos);
list($var_101, $pos) = bin_read_v($buf, $pos);
$var_0 = array("x" => $var_100, "y" => $var_101);
return array($var_0, $pos);
}
function bin_write_u($buf, $pos, $v) {
$var_... |
<?php
require_once ('../sqlconnect.php');
$designation = $_POST['designation'];
$description = $_POST['description'];
$prix = $_POST['prix'];
$quantite = $_POST['quantite'];
$fournisseur = $_POST['fournisseur'];
$query = "INSERT INTO articles (art_design, art_descript, art_prix, art_qte, four_id) VALUES(?, ?, ?, ?, ?... |
@extends('layouts.master')
@section('title', 'Samples')
@section('content')
<h1>@yield('title')</h1>
@endsection |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePropertyCanReadPropertyTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('property_can_read_property', function ... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitce35e7d4ce6be61411f6d5ea5c9317a5::getLoader(); |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\entities\AddFields */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="add-fields-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'key')->textInput(['maxlength' => true]) ?>
... |
<!-- needed by resumable-link.js -->
<div class="modal fade" id="modal_error" tabindex="-1" role="dialog" aria-hidden="false">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="background: #e85e6c;">
<h5 class="modal-title">... |
@extends('layouts.app')
@section('content')
<div class="site-wrap">
<h1>Library of the Academy</h1>
<p>The library contains the most recent versions of academic books and specialized scientific references written in different languages the thing which contributes in supporting the educational process both theoreti... |
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/tracks', 'TracksController@index')->name('tracks'); |
<!-- Description -->
<div class="description-container">
<div class="container">
<div class="card">
<div class="row">
<div class="col-sm-12 description-title">
<h2>Hasil Analisa Sistem</h2>
<h4>Sistem Pakar Strategi Pembelajaran</h4>
... |
<?php
namespace Melipayamak;
class SmsSoap extends BaseSms
{
const PATH = "http://api.payamak-panel.com/post/%s.asmx?wsdl";
protected $username;
protected $password;
protected $sendUrl;
protected $receiveUrl;
protected $voiceUrl;
protected $scheduleUrl;
public function __cons... |
<script src="https://code.jquery.com/jquery-1.12.4.js" integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU=" crossorigin="anonymous"></script>
</body>
</html> |
<?php
namespace ease\web;
class AssetBundle extends \yii\web\AssetBundle
{
} |
<?php
namespace Viperdigo\Voyager\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class VoyagerEventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
... |
<?php declare(strict_types=1);
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use App\Http\Controllers\ShoeController;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations... |
<?php
namespace Admin\Model;
use Think\Model;
class AuthRuleModel extends Model {
protected $_validate = array(
array('title','require','请补全信息'), //默认情况下用正则进行验证
array('name','require','请补全信息'), //默认情况下用正则进行验证
);
}
?> |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(5)-... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Resume extends Model
{
protected $fillable = [
'id',
'name',
'resume'
];
public function tags()
{
return $this->belongsToMany(Tag::class);
}
public function getTagListAttribute()
{
r... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMasterConstitutionTypeTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('... |
<?php
use App\Http\Controllers\HomeController;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\UsuariosController;
use App\Models\Usuarios;
/*
|--------------------------------------------------------------------------
| Web Routes
|---------------------------------------------------------------------... |
<?php
namespace app\controllers;
use Yii;
use app\models\Users;
use app\models\UsersSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* UserController implements the CRUD actions for Users model.
*/
class UsersController extends Controller
{
/**
* @inheritd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.