text stringlengths 2 1.03M |
|---|
<?php
$host="localhost";
$user="root";
$pass="";
$db="record";
$connsp = new mysqli($host,$user,$pass,$db);
# echo $connsp;
?> |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\Pjax;
use yii\bootstrap\Modal;
use wdmg\widgets\SelectInput;
/* @var $this yii\web\View */
$bundle = \wdmg\media\MediaAsset::register($this);
$this->title = Yii::t('app/modules/media', 'Media library');
$this->params['breadcrumb... |
<?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class QuestionTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testExample()
{
$user = $user =... |
<?php
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| b... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Zips_handler extends CI_Model {
public function __construct() {
parent::__construct();
}
public function available_zips($zip, $service) {
$this->db->select('longitude, latitude');
... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use App\Http\Resources\Itineraire as ItineraireResource;
use App\Itineraire;
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
|
|--------------------------------------------------... |
<?php
namespace App;
use App\UserAccount;
use App\CreditCardInfo;
use App\TransactionInit;
use App\BookingInfo;
use App\AuthorizationDetails;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Auditable as AuditableTrait;
use App\System\PaymentGateway\Models\Transacti... |
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>לא מורשה</title>
<style type="text/css">
/*<!... |
<?php
use Illuminate\Database\Seeder;
class MovieTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<?php get_header();
?>
<div class="parallax full-width-bg lr_widget">
<div class="container">
<div class="main-title">
<div class="column dt-sc-three-fifth first">
<h1>Instructions of IvyCamp Questionnaire</h1>
</div>
<!-- <div class="column dt-sc-two-fifth first ">
... |
<?php
namespace Google\AdsApi\Dfp\v201702;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class PremiumRateService extends \Google\AdsApi\Common\AdsSoapClient
{
/**
* @var array $classmap The defined classes
*/
private static $classmap = array (
'ObjectValue' => 'Google\\AdsApi\\... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'language' => 'uz-UZ',
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
... |
@extends('shared.layout')
@section('content')
<div class="container all-container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading clearfix">
Продукти
<div class="dropdown pull-right">
<button class="... |
<?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.
*/
declare(strict_types=1);
namespace Sylius\Bundle\CoreBundle\Tests;
use Bazinga\Bundle\HateoasBundle\... |
@include('admin.nav');
<div class="container" >
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">المنتجات
<a href="{{url('/product/add')}}"><button type="button" class="btn btn-success">اضافة منتج</bu... |
@extends('layouts/default')
@section('content')
<h1> about </h1>
@endsection |
<?php
class M_kategori_barang extends CI_Model
{
function get_all()
{
return $this->db
->select('id_kategori_barang, kategori', 'id_varian')
->order_by('kategori', 'asc')
->get('pj_kategori_barang');
}
function fetch_data_kategori($like_value = NULL, $column_order = NULL, $column_dir = NULL, $limit_sta... |
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Input;
use Response;
use App\Models\Salario;
use App\Models\Cliente;
use App\Models\Consultor;
use App\Models\RecetaLiquida;
class ComercialPerformanceController extends Controller
{
public function index()
{
// Obtenemos los consul... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class HistorialSueldoEmpleado extends Model
{
protected $table = 'historial_sueldo_empleado';
protected $fillable =
['id',
'empleado_id',
'sueldo',
'bono',
'created_at',
'updated_at',
];
... |
<h2 class="heading">Username: <?php echo Input::escape($data->user->data()->$Username); ?></h2>
<p>Full name: <?php echo Input::escape($data->user->data()->$Firstname); ?> <?php echo Input::escape($data->user->data()->$Lastname); ?></p>
<p>Email: <?php echo Input::escape($data->user->data()->$Email); ?> </p> |
<?php
$record_data = array();
if($data && $data != "")
{
$this->db->where(array("shifts.Org_Id"=>$this->org_id,"shifts.Id"=>$data));
$this->db->select("shifts.* ");
$this->db->from("shifts");
$this->db->order_by("shifts.Id","ASC");
$check_record = $this->db->get();
if($check_record->... |
<?php
/**
* Created by PhpStorm.
* User: user
* Date: 21/7/2020
* Time: 2:05 PM
*/
namespace App\Http\Controllers\Movement\Deletes;
use App\Http\Controllers\Packaging\Updates\UpdatePackagingStatus;
use App\Movement;
use App\Http\Resources\Movement as MovementResources;
use App\Packaging;
class DeleteMovement
{... |
<!-- select -->
@php
$current_value = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? '';
$entity_model = $crud->getRelationModel($field['entity'], - 1);
$field['allows_null'] = $field['allows_null'] ?? $entity_model::isColumnNullable($field['name']);
//if it's p... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCustIdToUnitRumahsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('units', ... |
<?php
namespace App\Http\Controllers;
use App\Models\Mahasiswa;
use Illuminate\Http\Request;
class MahasiswaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)
{
//Eloquent un... |
<?php
declare(strict_types=1);
namespace App\Domain\User\Event;
use App\Domain\Shared\ValueObject\DateTime;
use App\Domain\User\ValueObject\Email;
use Assert\Assertion;
use Broadway\Serializer\Serializable;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
final class UserEmailChanged implements Serializable
{
... |
<!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>@yield('title', config('app.name'))</title>
<link rel="stylesheet" href="{{ URL::asset('css/app.css') }}... |
<?php
//
// Project: phpLiteAdmin (http://phpliteadmin.googlecode.com)
// Version: 1.9.4.1
// Summary: PHP-based admin tool to manage SQLite2 and SQLite3 databases on the web
// Last updated: 2013-03-18
// Developers:
// Dane Iracleous (daneiracleous@gmail.com)
// Ian Aldrighetti (ian.aldrighetti@gmail.co... |
<?php
/* ROUtilisateurBundle:utilisateur:connexion_utilisateur.html.twig */
class __TwigTemplate_be702412a626b671624afdd45b3f2c245a397c1ecffc3894d4dd4178fa02f70d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... |
<!-- Right side column. Contains the navbar and content of the page -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Ganti Password
</h1>
<ol class="breadcrumb">
<li><a href="<?= base_url('admin') ?>"><i... |
<?php
/**
* Interface for concreate classes to excercise logic rules.
*
* @author Robert Brisita <robert.brisita@gmail.com>
*/
interface IRule
{
/**
* Excercises a rule and returns result.
*
* @param type $obj Object to rule on.
*
* @return string Result string for display.
*/
public function excerci... |
<?php
namespace App\Filters;
use App\Controllers\User;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
/**
* Przepuszcza tylko zalogowanego użytkownika
* @package App\Filters
*/
class AuthFilter implements \CodeIgniter\Filters\FilterInterface {
/**
* Sprawdzenie czy użyt... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Lifehack */
$this->title = 'Добавить Lifehack';
$this->params['breadcrumbs'][] = ['label' => 'Lifehacks', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="lifehack-create">
<?= $this->render(... |
<?php
/**
* CakeHtmlReporter
*
* CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions ... |
@extends('layouts.app_admin')
@section('content')
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card">
<div c... |
<?php
/**
* 云凌鲸落小说漫画聚合分销CMS系统
* @Author Curtis - 云凌工作室
* @Website http://www.whalefallcms.com
* @Datetime 2020/4/8 下午 05:07
*/
return [
'User_id' => '会员ID',
'Money' => '变更金额',
'Before' => '变更前余额',
'After' => '变更后余额',
'Memo' => '备注',
'Createtime' => '创建时间'
]; |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddDescriptionToAlbumsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('albums', function (Blueprint $table) {
... |
<?php
interface DB {
public function query($query, string ...$params);
}
class MySQL implements DB {
public function query($query, int ...$params) { }
}
<<__EntryPoint>> function main() {} |
<?php
namespace Drupal\commerce;
use Drupal\Core\Entity\EntityHandlerInterface;
/**
* Handles plugin-provided bundles.
*/
interface BundlePluginHandlerInterface extends EntityHandlerInterface {
/**
* Gets the bundle info.
*
* @return array
* An array of bundle information keyed by the bundle name.... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddUserIdToPosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('posts',function($t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
</head>
<body>
<center>
<h1>Data Booking Homestay Aktif</h1>
<?= date("Y-m-d") ?><br>
</center>
<br>
<br>
<table class="... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Home - Josué Goelzer Imóveis</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="<?php echo base_url('assets/front/css/style.css')?>" rel="stylesheet">
<!-- Bootstrap C... |
@extends('main')
@section('content')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="fa fa-dashboard"></i> {{ __("Banks")}}</h1>
<!-- <p>A free and open source Bootstrap 4 admin template</p> -->
</div>
<ul class="app-breadcrumb breadcrumb">
<li clas... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Patrimonio | VillaSalud</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">
... |
@extends('layout.theme.mainlayout')
@section('content')
<div class="breadcrumbs-section plr-120 mb-20">
<div class="breadcrumbs overlay-bg">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Profile extends Model
{
protected $fillable = ['fname', 'lname', 'body'];
public function user() {
return $this->belongsTo('App\User');
}
} |
<?php
/**
* File used for homepage hero content module
*
* @package WordPress
*/
?>
<?php $header_img = coderbug_option('homepage-banner-image', false, 'url');
$header_url = '';
if ($header_img != '') {
$header_url = "background-image: url('" . $header_img . "');";
}?>
<!-- ==== HEADERWRAP ==== -->
<div class="... |
<?php
session_start();
?>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
<link rel="stylesheet" href="/bootstrap/bootstrap.min.css" />... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProfileBlockTranslationsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::dropIfExists('profile_block_translations');
Schema::create('pro... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCat2AdscripcionesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cat2a... |
<div class="flex justify-start md:flex flex-wrap mb-2" wire:poll.5000ms> @if(count($skills) > 0)
<h2 class="text-gray-800 font-semibold ml-2 mt-2"> Technician Skills </h2>
<hr class="w-full mt-2 mb-2">
<div class="flex flex-wrap">
@foreach($skills as $skill)
<span class="bg-indigo-100 ... |
<?php
namespace App\Http\Requests\Examination\ExamAttendance;
use Carbon\Carbon;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Foundation\Http\FormRequest;
class StoreExamAttendanceRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @re... |
<?php
namespace AgencyFramework\ExportPreview;
use AgencyFramework\Handlebars\Core;
require __DIR__ . '/utils.php';
require __DIR__ . '/vendor/autoload.php';
$core = Core::init([
'partialDir' => [__DIR__ . '/export/tmpl/', __DIR__ . '/tmpl/'],
]);
// Initialize data & load global data
$data = [
'relativeToR... |
<?php namespace App\Modules\Users\Repositories;
use App\Http\Repositories\Repository;
use App\Modules\Users\Models\User;
class UsersRepository extends Repository implements UsersRepositoryInterface
{
/**
* UsersRepository constructor.
* @param Users $users
*/
public function __construct( Use... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Producto extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->library('session');
$this->load->database();
$this->load->model('producto_model');
$this->load->model('movimiento_model');
$this->loa... |
<?php
/**
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE file
* Redistributions of files must retain the above copyright notice.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/mit-license.php
*
*
* @copyright Copyright... |
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statscheckup}prestashop>statscheckup_e7a908d79d3758c911692ba791da9c70'] = 'Avaliação do catálogo';
$_MODULE['<{statscheckup}prestashop>statscheckup_11c7290f636a816cbcffb9059958b5c0'] = 'Adiciona uma avaliação rápida da qualidade do seu catálogo ao Painel de Estat... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:91:"D:\phpStudy\PHPTutorial\WWW\1\ecshoptp5\public/../application/index\view\text\textlist.html";i:1547881946;s:84:"D:\phpStudy\PHPTutorial\WWW\1\ecshoptp5\public/../application/index\view\layout.html";i:1550892650;s:91:"D:\phpStudy\PHPTutorial\WWW\1\ecshoptp5\public/.... |
<?php
/**
* Created by nmfox.com
* User: nmfox
* Date: 2016/1/2
* Time: 23:38
*/
function get_ip_city($ip)
{
$url = 'http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=' . $ip;
$city = file_get_contents($url) ? $city = file_get_contents($url) : $city = null;
$city = str_replace(array('var... |
<?php
/**
* @version 4.7.0 31.05.2014
* @author MAXXmarketing GmbH
* @package Jshopping
* @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved.
* @license GNU/GPL
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.controller');
class ... |
<?php
namespace ECommerce\UseCases\Login;
class PasswordDoesNotMatchException extends \Exception
{
} |
<?hh //decl
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
namespace Facebook\InstantArticles\Transformer\Rules;
use Symfony\Component\CssSelector\CssSelectorConve... |
<?php
namespace Database\Factories;
use App\Models\Product;
use Illuminate\Database\Eloquent\Factories\Factory;
class ProductFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Product::class;
/**
* Define the mode... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class MReport extends Model
{
use SoftDeletes;
protected $table = 'meeting_report';
protected $guarded = [];
public function schedule()
{
return $this->belongsTo('App\Mod... |
<?php
/**
* dingtalk API: dingtalk.oapi.process.form.condition.list request
*
* @author auto create
* @since 1.0, 2019.07.01
*/
class OapiProcessFormConditionListRequest
{
/**
* 请求
**/
private $request;
private $apiParas = array();
public function setRequest($request)
{
$this->request = $request;
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-widt... |
<?php
/**
* Validator
* Copyright 2017-2018 Charlotte Dunois, All Rights Reserved
*
* Website: https://charuru.moe
* License: https://github.com/CharlotteDunois/Validator/blob/master/LICENSE
**/
namespace CharlotteDunois\Validation\Rules;
/**
* Name: `filled`
*
* This rule ensures a specific field exists and ... |
<?php
namespace Apiato\Core\Exceptions\Handlers;
use Exception;
use Illuminate\Support\Facades\Config;
use Optimus\Heimdal\ExceptionHandler as HeimdalExceptionHandler;
use Illuminate\Foundation\Exceptions\Handler as LaravelExceptionHandler;
/**
* Class ExceptionsHandler
*
* @author Mahmoud Zalt <mahmoud@zalt.me... |
<?php
namespace Tests\Unit\Eloquent\Traits;
use Illuminate\Database\Query\Builder;
use ReflectionClass;
use Tests\Unit\Eloquent\Models\{PositionPivotModel, TestModel};
use Thytanium\Tests\{DatabaseMigrations, TestCase};
class HasPositionTest extends TestCase
{
use DatabaseMigrations;
/**
* Test positio... |
<?php
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php'; |
<?php
namespace app\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Location;
/**
* LocationSearch represents the model behind the search form of `app\models\Location`.
*/
class LocationSearch extends Location
{
/**
* {@inheritdoc}
*/
public function rules()
{
... |
<?php
class MY_Controller extends CI_Controller{
}
?> |
<?php
return [
'terminalId' => ''
]
?> |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\Auth;
use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
protected $attributes = [
'x' => 100,
'y' => 100,
'width' => 100,
'height' => 100,
'sortorder' => 1,
'text'=>''
]... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('products', function (Blueprint $ta... |
<?php
/**
* Created by PhpStorm.
* User: zq199
* Date: 2016/10/31
* Time: 23:02
*/
//登录页面
require 'class/system.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title><?php echo SITE_NAME ?></title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" ... |
<div class="user-info">
<div class="image">
@if (strpos(Auth::user()->img, 'https://graph.facebook.com') !== false)
<img src="{{Auth::user()->img}}" class="img-fluid rounded-circle" alt="" width="48" height="48"">
@elseif (strpos(Auth::user()->img, 'https://lh3.googleusercontent.com') !== false)
<img s... |
<?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\Response;
use yii\filters\VerbFilter;
use app\models\Pollingunit;
use app\models\AnnouncedPuResults;
use app\models\Party;
use app\helpers\arrayHelper;
class AnnouncedPuResultsController extends \yii\web\Contr... |
<?php
/**
* PHP Pagination Class
* @author admin@catchmyfame.com - http://www.catchmyfame.com
* @version 3.0.0
* @date February 6, 2014
* @copyright (c) admin@catchmyfame.com (www.catchmyfame.com)
* @license CC Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - http://creativecommons.org/licenses/by-sa/3.0/
*/
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Jobprofiles;
class jobprofilesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
return Jobprofiles::a... |
<div class="modal fade" tabindex="-1" role="dialog" id="fileAddModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="mod... |
@extends('layouts.master')
@section('content')
<div class="panel panel-default">
<div class="panel-heading">Create New Exam Schedule</div>
<div class="panel-body">
{!! Form::open(['url' => '/' . Config("authorization.route-prefix") . '/schedule', 'class' => 'form-horizontal', 'files' =>... |
<?php
declare(strict_types = 1);
namespace Innmind\HttpTransport\Exception;
use Innmind\Http\Message\{
Request,
Response,
};
final class ClientError extends RuntimeException
{
private Request $request;
private Response $response;
public function __construct(
Request $request,
Res... |
<?php
namespace App\Fogger\Subset;
use App\Fogger\Recipe\Table;
use Doctrine\DBAL\Query\QueryBuilder;
class RangeSubset extends AbstractSubset
{
/**
* @param array $options
* @throws Exception\RequiredOptionMissingException
*/
private function ensureValidOptions(array $options)
{
$... |
<?php
/**
* PortfolioOptimizationScoreRequestTest
*
* PHP version 5
*
* @category Class
* @package com\hydrogen\proton
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Hydrogen Proton API
*
* Financial engineering module of Hydrogen Atom
*
* OpenAPI sp... |
<?php
/**
* The index view file of bug module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package bug
* @v... |
<?php
namespace Application\ServiceBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http:/... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use kartik\grid\GridView;
/* @var $this yii\web\View */
/* @var $model app\modules\backlog\models\TaskDelivery */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Task Delivery', 'url' => ['index']];
$this->params['breadcrumbs'][] = $thi... |
@extends('app')
@section('title', 'Стрим платежей')
@section('controller', 'PaymentsIndex')
@include('payments._top_right_section')
@include('payments._modals')
@section('content')
<div class="top-links" style='height: 15px'>
<div class="pull-right">
<a class="pointer" ng-class="{'active': tab ... |
<?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... |
<script>
let jenis_responden = $('#jenis_responden')
$(document).ready(function(){
jenis_responden.val(`<?=$jenis_responden;?>`);
});
</script> |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Alumnos;
class ApiAlumnosController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
return Alumnos::all();
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Model extends MY_Model {
public function __construct($table)
{
parent::__construct();
$this->table = $table;
}
public function getPosts(){
$joins = array(
array(
"table" => "dta_user",
"args" => "dta_user.id = dta_post.i... |
<?php
namespace JCI\Base\Http\Exception;
class UnmatchRoute extends \Exception
{
} |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ItemController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register ... |
<?php
namespace App\Models;
use App\Traits\RecordCount;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;
class NorwegianChurchImmigrantRecord extends Model
{
use HasFactory, Searchable, RecordCount;
protected $fillable = [
'... |
<?php
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
@extends('layouts.admin')
@section('page-title', 'Admin: Users')
@section('admin_content')
<div class="row">
<div class="col-md-6 mb-3">
{!! $index->search('admin.users.search', 'Search Users', '<span class="fas fa-search"></span>', 'get') !!}
</div>
<div class="col-md-6 mb-3"... |
<?php
declare(strict_types=1);
namespace App\Http\Requests;
use Tychovbh\Mvc\Http\Requests\Lumen\FormRequest;
class EntityRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
* @return bool
*/
public function authorize(): bool
{
return true;
... |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* An ESMTP handler for AUTH support.
*
* @author Chris Corbyn
*/
class Swift_Transport_Esmtp_AuthHan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.