text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<title>Sisprodi - Sistema para control y toma de decisiones del p... |
<?php
namespace app\index\controller;
use MongoDB\Driver\Manager;
use think\Controller;
use think\log;
use think\Request;
class Index extends Controller
{
public function index()
{
$fromId = Request::instance()->param('fromId');
$toId = Request::instance()->param('toId');
$this->assi... |
<div class="container">
<div id="status-bar">
<div class="status-block">
<span class="muted"><?php echo Localization::fetch('viewing_all')?> </span>
<span class="folder"><?php echo Localization::fetch('members')?></span>
</div>
<ul>
<li>
<a href="<?php print $app->urlFor('member... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Security... |
<?php
/*
* Copyright MADE/YOUR/DAY OG <mail@madeyourday.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* RockSolid Frontend Helper user DCA
*
* @author Martin Auswöger <martin@madeyourday.net>
*/
$GLOBALS['TL_DCA']['t... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>@yield('title')</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta n... |
<?php
$page = "giftList";
$table = (isset($session->tables[$page]) && is_object($session->tables[$page]))?$session->tables[$page]:FALSE;
$submit = ($_POST["submit"])?$_POST["submit"]:FALSE;
if($submit == "Save" && $table)
{
$table->SAVE();
}
if(isset($_POST["addNewType"]) && isset($_POST["title"]))
{
... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Venue;
use Illuminate\Support\Str;
use Faker\Generator as Faker;
$factory->define(Venue::class, function (Faker $faker) {
return [
'name' => $faker->name,
'city' => $faker->city,
'country' => $faker->country,
];
... |
<?php
declare(strict_types=1);
if (class_exists(tslib_search::class)) {
return;
}
class tslib_search
{
} |
<?php
return [
'Deadlines' => 'Scadenze',
'Deadline' => 'Scadenza',
'Add new deadline' => 'Aggiungi scadenza',
'No deadlines yet.' => 'Ancora nessua scadenza.',
'Category' => 'Categoria',
'Customer' => 'Cliente',
'Name' => 'Nome',
'New deadline' => 'Nuova scadenza',
'Description' =>... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class PackSizeInformationVO
{
public function getAddressCategoryVO (PackSizeInformationEntity $packSizeInformationEntity){
$vo = array();
$vo['PackSizeID'] = intval($packSizeInformationEntity->PackSizeID);
$vo['Name'... |
<?php
namespace app\controllers;
use app\models\Wolf;
use Throwable;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\StaleObjectException;
use yii\rest\Controller;
use yii\web\BadRequestHttpException;
use yii\web\NotFoundHttpException;
/**
* Class WolfController
* @package app\controllers
*/
class WolfCo... |
<?php
namespace Harentius\BlogBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* @method Translation|null find($id, $lockMode = null, $lockVersion = null)
* @method Translation|null findOneBy(array $criteria, array $orderBy = null)
* @method Translation[] findAll()
* @method Translation[] findBy(array $crit... |
<?php
namespace app\controllers;
use yii;
use yii\web\UploadedFile;
use yii\db\Expression;
use app\models\Category;
use app\models\Functions;
use app\models\UploadForm;
use yii\filters\VerbFilter;
use yii\data\ArrayDataProvider;
use yii\data\ActiveDataProvider;
use yii\db\Query;
use yii\helpers\Json;
class Functio... |
<?php
if($result == null) {
echo setErrorMessage("No Result Found..");
} else {
$filenm = "$kodestk-$form[type].xls";
header("Content-type: application/vnd.ms-excel");
header('Content-Disposition: attachment; filename='.$filenm.'');
header("Expires: 0");
header("Cache-Control: must-revalidate, post... |
<?php
echo '<footer>
<p>Pensé et créé par Dorian Terbah</p>
</footer>
'
?> |
<?php
use \Magento\Framework\Component\ComponentRegistrar;
ComponentRegistrar::register(
ComponentRegistrar::MODULE,
'Divante_VsbridgeIndexerAgreement',
__DIR__
); |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller
{
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Sinc... |
<?php
declare(strict_types=1);
namespace Facile\TerminableLoop\Tests\E2E;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Symfony\Component\Process\Process;
class TerminateCommandTest extends TestCase
{
use ProphecyTrait;
private const BASH_COMMAND = __DIR__ . '/../../bin/terminable... |
//// file1.php
<?hh
async function foo() {
yield 10;
}
//// file2.php
<?hh // strict
function bar(): void {
// without the correct inference of foo as an async generator, this would
// raise an error about an Awaitable being used dangerously
foo();
} |
@extends('admins.layout.master-layout')
@section('title')
Kho giao diện
@endsection
@section('content')
<div class="content-wrapper">
<section class="content-header">
<h1>
Kho giao diện
</h1>
<ol class="breadcrumb">
<li><a href="#"><i c... |
<?php
//sécurisation du module
if (file_exists('uploads/'.$_SESSION['login'].'/key')) {
if (file_get_contents('uploads/'.$_SESSION['login'].'/key', NULL, NULL, 0, 100)==$_SESSION['key']) {
if (!isset($edit) and $edit!=true)
header('location:index.php');
}
else
header('location:index.php');
}
else
... |
<?php
namespace App\Controller;
use App\Repository\ApprenantRepository;
use App\Repository\LivrablePartielRepository;
use App\Repository\StatutLivrableRepository;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Compone... |
@extends('layouts.app')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
NPK/Plant
<small>Update NPK/Plant</small>
</h1>
<ol class="breadcrumb">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class RegistroDetalle extends Model
{
use HasFactory;
protected $table="detregistro";
protected $primaryKey ='COD_DETREG';
public $timestamps = false;
protected $fillable... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CaseCategory extends Model
{
use HasFactory;
protected $fillable = [
'name'
];
} |
<?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 RectorPrefix20211030\Symfony\Component\DependencyInjection\Exception;
/*... |
<div class="row">
<div class="col">
<a href="<?= base_url('pengaturan'); ?>" class="btn btn-primary mb-3"><i class="fas fa-arrow-left"></i></a>
</div>
</div>
<div class="row">
<div class="col">
<nav aria-label="breadcrumb">
<ol class="breadcrumb bg-light pl-0 py-0">
... |
<?php
/* Cachekey: cache/stash_default/overrides.c450ca78d6a2f75c7a1ce18fa0c51d88/ */
/* Type: array */
/* Expiration: 2022-02-09T10:24:40-05:00 */
$loaded = true;
$expiration = 1644420280;
$data = array();
/* Child Type: object */
$data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd... |
<?php
/**
* 検索条件:LINE Pay検索パラメータクラス<br>
*
* @author Veritrans, Inc.
*
*/
class LinepaySearchParameter
{
/**
* 詳細オーダー決済状態<br>
*/
private $detailOrderType;
/**
* 詳細コマンドタイプ名<br>
*/
private $detailCommandType;
/**
* 商品番号<br>
*/
private $itemId;
/**
* 詳... |
@extends('front.layout')
@section('content')
<!-- breadcrumb start -->
<div class="breadcrumb-area services-breadcrumb-bg">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="breadcrumb-txt">
<br> <br>
<span>Services</span>
<h1>we p... |
<?php
namespace Dime\TimetrackerBundle\Tests\Entity;
use Dime\TimetrackerBundle\Entity\ProjectCategory;
use PHPUnit\Framework\TestCase;
class ProjectCategoryTest extends TestCase
{
public function testGetSetName()
{
// get and set name
$project_category = new ProjectCategory();
$this-... |
<?php
/**
* Created by Reliese Model.
* Date: Wed, 08 Nov 2017 16:27:58 +0000.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class Prova
*
* @property int $id
* @property int $id_banca
* @property string $descricao
* @property int $ano
*
* @property \App\Models\Banca $... |
@extends('admin')
@section('heading')
<h2>Product</h2>
@endsection
@section('content')
<div class="container">
<form action="{{ route('productStore') }}" method="POST" enctype="multipart/form-data">
@csrf
<div class="form-group">
<label for="">Product Name:</lab... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFastEventsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fast_events'... |
@include('layouts.header')
<!-- Breadcrumb Section Begin -->
<section class="breadcrumb-section set-bg" data-setbg="{{URL::to('/')}}/img/breadcrumb/classes-breadcrumb.jpg">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb-text">
... |
<?php
/**
* Grid Article
*
* @package Wpbit4bytes\Template_Parts\Listing\Articles
*/
use Wpbit4bytes\Theme\Utils as Utils;
$images = new Utils\Images();
$image = $images->get_post_image( 'full_width' );
?>
<article class="search-grid">
<div class="search-grid__container">
<div class="search-grid__content-wrap... |
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use App\Models\Comment;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class CommentController extends Controller
{
public function store(Request $request, $id)
{
$c = new Comment();
$c->user_id... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\GIMP;
use JMS\Serializer\Annotation\ExclusionPolicy;
... |
<?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\DependencyInjection\Dumper;
use Composer\Autoload\Cla... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Report_set extends CI_Controller {
public function __construct() {
parent::__construct(TRUE);
if ($this->session->userdata('logged') == NULL) {
header("Location:" . site_url('manage/auth/login') . "?location=" . urlencode($_SERVER['RE... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<!-- <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12">-->
<!-- <div class="blood-site-operation">-->
<!-- <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12">-->
<!-- <div class="alert alert-dismissible">-->
<!-- -->
<!-- </div>-->
<!-- <div class="col-md-6 col-xs-12 col-sm-6 col-lg-6">-->
<... |
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
final class MonsterInsights_Lite_Report_Realtime extends MonsterInsights_Report {
public $title;
public $class = 'MonsterInsights_Lite_Report_Realtime';
public $name = 'queries';
public $version = '1.0.0';
public $level = 'plus';
... |
@extends('layouts.master')
@section('page_title', 'Manage TimeTables')
@section('content')
<div class="card">
<div class="card-header header-elements-inline">
<h6 class="card-title">Manage TimeTables</h6>
{!! \App\Helpers\GetSystemInfoHelper::getPanelOptions() !!}
</div>
... |
<!--
* CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.6
* @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" cont... |
<?php
/**
* Simple Zip library
*
* methods:
* - void addFile($data, $name, [$time])
* - string file()
* - void save([$filename='archive.zip'])
* - void download([$filename='archive.zip'])
* - void clear()
*
* @version 0.1
* @package Frog
* @author Philippe Archambault <philippe.ar... |
<?php
//--------> LOGIN (rutas) <--------------------------
Route::get('login', 'Auth\AuthController@getLogin');
Route::post('login', ['as' =>'login', 'uses' => 'Auth\AuthController@postLogin']);
Route::get('logout', ['as' => 'logout', 'uses' => 'Auth\AuthController@getLogout']);
// Registration routes...
Route::... |
<?php
return [
'main' => 'Головна',
'enterprise_assets' => 'Активи підприємства',
'MTM_movement' => 'Рух матеріально-технічних засобів',
'date_from' => 'Дата від',
'date_to' => 'Дата до',
'moved' => 'Переміщено',
'received' => 'Надійшло',
'moved_and_received' => 'Переміщено і надійшло',... |
<div class="row">
<div class="col-sm-12">
<div class="btn-group pull-right m-t-15 m-b-15">
<a data-toggle="tooltip" data-placement="left" title=""
data-animation="fadein" data-plugin="custommodal" data-overlayspeed="200"
data-overlaycolor="#36404a" href=".add-item"
... |
@extends('layouts.app')
@section('content')
<div class="container">
@include('admin.tags._nav')
<div class="d-flex flex-row mb-3">
<a href="{{ route('admin.tags.edit', $tag) }}" class="btn btn-primary mr-1">Edit</a>
<form method="POST" action="{{ route('admin.tags.update', ... |
<?php
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into... |
<?php
global $field_config_panels;
// TAKE IN THE GRID
if(!isset($element['layout_grid']['structure'])){
$element['layout_grid']['structure'] = '12';
}
//dump($element);
$element['layout_grid']['structure'] = explode("#", $element['layout_grid']['structure']);
echo "<span id=\"row-remove-fields-message\" class=\"h... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInita0f7e7a5a4c4d67f20662f2d5ab60580::getLoader(); |
<?php
namespace NCMF\DefaultBundle\Repository;
/**
* ObjectRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ObjectRepository extends \Doctrine\ORM\EntityRepository
{
} |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
use App\Invoice;
class RegisterController extends Controller
{
/*
|------------------------------------------------------------... |
<?php
Route::group(['prefix' => 'v1', 'namespace' => 'v1', 'middleware' => ['auth:api'], 'as' => 'api.'], function () {
require('withauth.php');
});
Route::group(['prefix' => 'v1', 'namespace' => 'v1', 'as' => 'api.'], function () {
require('noauth.php');
}); |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogUrlRewrite\Observer;
use Magento\Catalog\Model\Category;
use Magento\Catalog\Model\Product;
use Magento\CatalogImportExport\Model\Import\Product as ImportProduct;
use Magento\Catal... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Prescription extends Model
{
use HasFactory;
protected $fillable = [
'name',
'description',
'test',
'symptoms',
'gender',
'date',
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth
*
* Version: 2.5.2
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Location: http://github.com/benedmunds/CodeIgniter-Ion-Auth
*
* Created: 10.01.2009
*
* ... |
<?php
class RequestType extends ModelBase {
var $table_name = 'request_types';
static function load()
{
global $factory;
$query = "SELECT * FROM request_types ORDER BY position";
$result = array();
$rows = $factory->connection->execute($query);
while($row = mysql_fetch_array($rows))... |
<?php
namespace App\Http\Controllers\DataApi;
use App\Http\Controllers\Controller;
use App\Models\HT30\Kpi;
use App\Models\HT30\Target;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Yajra\DataTables\DataTables;
class KpiApiController extends Controller
{
function __construct()
{
... |
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 2.0
</div>
<strong>Copyright © 2017 <a href="https://www.bahtsoft.com">Bahtsoft Studio</a>.</strong> All rights
reserved.
</footer>
</div>
<!-- ./wrapper -->
<!-- Default boot... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Models\Cooperation;
use App\Models\Driver;
use App\Models\InvoiceUsageItem;
use App\Models\Transport;
use App\Traits\CarbonTrait;
use Illuminate\Http\Request;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadshe... |
<?php
namespace integralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DetalleOtactividadprod
*
* @ORM\Table(name="Detalle_OtActividadProd")
* @ORM\Entity
*/
class DetalleOtactividadprod
{
/**
* @var integer
*
* @ORM\Column(name="Contador", type="integer", nullable=false)
* @ORM\I... |
<?php
namespace Mrss\Service\Import;
use DoctrineModule\Stdlib\Hydrator\DoctrineObject as DoctrineHydrator;
//use Guzzle\Tests\Service\Mock\Command\Sub\Sub;
use Mrss\Entity\College;
use Mrss\Entity\Observation;
use Mrss\Entity\Subscription;
use Mrss\Entity\User;
class ImportWorkforceData
{
protected $wfDb;
p... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Andean Adventures</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/boo... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAArchivosTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('a_archivos', function(Blueprint $table) {
$table->increments('id');
$tab... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card mt-2">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
@if ... |
<?php
return [
'config' => [
'path' => __DIR__ . '/../config',
],
'pgsql' => [
'class' => PgsqlDb::class,
'host' => '127.0.0.1',
'port' => 5432,
'database' => 'dbname',
'schema' => ['topology', 'public'],
'charset' ... |
<?php
use Illuminate\Broadcasting\BroadcastEvent;
use Illuminate\Events\CallQueuedListener;
use Illuminate\Mail\SendQueuedMailable;
use Illuminate\Notifications\SendQueuedNotifications;
use Spatie\Multitenancy\Actions\ForgetCurrentTenantAction;
use Spatie\Multitenancy\Actions\MakeQueueTenantAwareAction;
use Spatie\Mul... |
<?php require 'inc/config.php'; require 'inc/frontend_config.php'; ?>
<?php require 'inc/views/template_head_start.php'; ?>
<?php require 'inc/views/template_head_end.php'; ?>
<?php require 'inc/views/frontend_head.php'; ?>
<!-- Hero Content -->
<div class="bg-image" style="background-image: url('<?php echo $one->asse... |
<?php
declare(strict_types=1);
namespace GeoIp2\Model;
/**
* Model class for the data returned by GeoIP2 Country web service and database.
*
* The only difference between the City and Insights model classes is which
* fields in each record may be populated. See
* https://dev.maxmind.com/geoip/docs/web-services?... |
<?php
// This file is part of X5Moodle (X5GON Activity plugin for Moodle)
// 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... |
<?php
/**
* @author xialeistudio <xialeistudio@gmail.com>
* @date 2019-04-11
*/
namespace app\common\service;
/**
* 业务基类
* Class Service
* @package app\common\service
*/
class Service
{
private static $_instances = [];
/**
* @return static|mixed
*/
public static function Factory()
{
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Users_model
*
* @author furbox
*/
clas... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\Models\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace common\widgets;
use Yii;
use Closure;
use yii\helpers\Html;
use yii\helpers\Url;
/**
* ActionColumn is a column for the [[GridView]] widget that displays b... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| Here you can change the default title of your admin panel.
|
| For detailed instructions you can look th... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class question extends Model
{
protected $fillable = ['judul','isi','jawaban_tepat_id','profile_id'];
public function users() {
return $this->belongsTo('App\User', 'profile_id', 'id');
}
public function answers(){
return $... |
<?php
/*
* This file is part of the pixabay-library package.
*
* (c) 2019 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Pixabay\Tests\Model;
use WBW\Library\Pixabay\Model\ImageHit;
use WBW\Library... |
<?php
defined('BASE') or exit('No direct script access allowed');
class Migration_add_permission_roles extends Migration
{
public function up()
{
$table = $this->schema->createTable('permission_roles');
$table->addColumn('role_id')->int(11)->nullable(false)->index(true);
$table->addCol... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\bootstrap\Modal;
use wbraganca\dynamicform\DynamicFormWidget;
use kartik\dynagrid\DynaGrid;
use yii\helpers\URL;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\ClientesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->ti... |
<?php
/**
* Fields management panel.
*
* @since 1.0.0
*/
class WPForms_Builder_Panel_Fields extends WPForms_Builder_Panel {
/**
* All systems go.
*
* @since 1.0.0
*/
public function init() {
// Define panel information.
$this->name = esc_html__( 'Fields', 'wpforms-lite' );
$this->slug = 'fi... |
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
... |
<?php return array (
'root' =>
array (
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'aliases' =>
array (
),
'reference' => 'd67237bb55c1a70890862b952270553962fc9983',
'name' => 'laravel/laravel',
),
'versions' =>
array (
'asm89/stack-cors' =>
array (
... |
<?php
/**
* This file is part of slick/http
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Slick\Http\Message\Server;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Messa... |
<?php
namespace Simple\Support;
use PHPUnit\Framework\TestCase;
class SimpleStringTest extends TestCase
{
/**
* @var SimpleString
*/
protected $simpleString = null;
public function setUp()
{
parent::setUp();
$this->simpleString = new SimpleString();
}
public functi... |
<?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 RectorPrefix20211107\Symfony\Component\Config\Definition\Builder;
/**
*... |
<?php
namespace Umg\VotacionBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configu... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class npedidoproveedor extends Model
{
use HasFactory;
} |
<?php echo $this->Html->image(Configure::read('Application.logo_image'), array('style' => 'float: right; height: 35px;', 'alt' => 'logo')); ?>
<div class="block" id="admin-left-menu">
<ul class="section menu">
<?php
foreach ($menuItems as $item):
$itemDesc = $item;
$itemTab... |
@extends('layout')
@section('content')
<div class="container">
<div class="breadcrumbs">
<ol class="breadcrumb">
<li><a href="{{URL::TO('/')}}">Home</a></li>
<li class="active">Shopping Cart</li>
</ol>
</div>
<?php if (Session::has('cart') ==... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Befriend;
class BefriendController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>EstateAgency Bootstrap Template - Agent Single</title>
<meta content="" name="descriptison">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="<?php... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tool extends Model
{
protected $fillable = ['tool'];
// public function inserts()
// {
// return $this->hasMany(Insert::class);
// }
// public function insert()
// {
// return $this->belongsTo(Insert... |
<?php
namespace Oro\Bundle\ActivityListBundle\Tests\Unit\Entity\Repository;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Query;
use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository;
class ActivityListRepositoryTest extends \PHPUnit_Framework_TestCase
{
/** @var ActivityListRepo... |
<?php
/**
* Copyright (c) 2014 Brown Paper Tickets
*
* 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, m... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\materialsystem\models\TypeSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="matsys-material-type-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'meth... |
<?php
namespace Common\Controller;
use Think\Controller;
use Common\Model\ConfigModel;
/**
* Store 控制器基类
*/
abstract class StoreBaseController extends Controller {
/**
* 不做权限处理, 所有用户权限相同
* 游客即可访问, 不需要判断登录;
* 需要登录的控制器extends别的基类
*/
protected function _initialize() {
defined('STID') or define('STID',is_l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.