text stringlengths 2 1.03M |
|---|
<?php
return [
'controllerMap' => [
'cron' => [
'class' => 'console\controllers\CronController',
'cronJobs' =>[
// 'old/data/index' => [
// 'cron' => '* * * * *',
// ],
// 'old/data/init' => [
// 'cron' => '0 1 */1 * *',
// ],
'old/open/index' => [
'cron' => '0 1 */1... |
<?php
/* @Framework/Form/form_rows.html.php */
class __TwigTemplate_b710408fa12d8d339c8db690a8741d87f73db821842403831ddbba5da816c6e8 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace common\models\comments;
use yii\db\Query;
class NestedSetComment extends Comment
{
public $parent_id;
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%comment_ns}}';
}
public static function findByPostInternal($postId)
{
$que... |
<?php snippet('header') ?>
<main class="main blog <?= strtolower($page->title()) ?>" role="main" data-module-init="articles">
<aside>
<?php
// fetch all tags
$tags = $page->children()->visible()->pluck('tags', ',', true);
?>
<ul class="tags">
<?php $pageTags = $page->... |
<?php
namespace SWeg;
use Illuminate\Database\Eloquent\Model;
class users_priv extends Model
{
protected $table = 'user_priv';
public function rechnungen()
{
return $this->hasMany('SWeg\rechnungen');
}
} |
@extends ('layouts.inicio')
@section ('contenido')
@include('alerts.success')
@include('alerts.request')
@include('alerts.errors')
@include('alerts.cargando')
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<font size="4" color="red"><b>... |
<?php
namespace App\Aggregate\Contracts;
use Carbon\Carbon;
interface AggregateProcessorContract
{
/**
* Set aggregated fields
*
* @param array $fields
* @return self
*/
public function setFields(array $fields);
/**
* Get aggregated fields
*
* @return array
... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class pdf1 {
function pdf1()
{
$CI = & get_instance();
log_message('Debug', 'mPDF class is loaded.');
}
function load($param,$param1,$param2,$param3,$param4,$param5,$param6,$param7,$param8,$param9,$param10)
{... |
<?php
/**
* @package hubzero-cms
* @copyright Copyright 2005-2019 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Components\Courses\Admin\Controllers;
use Hubzero\Component\AdminController;
use Exception;
require_once dirname(dirname(__DIR__)) . DS . 'models' . DS ... |
<?php
/**
* Created by PhpStorm.
* User: Daniellz
* Date: 24.09.2018
* Time: 16:34
*/
namespace app\assets;
use yii\web\AssetBundle;
class FeedCheckAssets extends AssetBundle
{
public $sourcePath = '@app/assets/app/';
public $css = [
'less/feed-check.less'
];
public $js = [
// 'j... |
@extends('layouts.master')
@section('title', 'Customer Service')
@section('content')
<div class="content">
<div class="about-us-wrapper">
<h2>Customer Service</h2>
{{--<h3>Welcome to our customer service help center</h3>--}}
<p class="textblock">
Welcome to our customer... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
class Admin extends CI_Controller {
//homepage
public function index()
{
$data['page'] = 'home';
$data['content'] = 'frontend/content/homepage_view';
$this->load->vie... |
<!-- This example requires Tailwind CSS v2.0+ -->
<div x-show="open" {{ $attributes }}
class="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<!--
Backg... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="Author" content="<?=base_url()?>">
<title><?=isset($meta_title)?(strip_tags($meta_title)):$this->head->... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Agendavel\Contact;
use Agendavel\Number;
class ContactTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$contacts = factory(Contact::class, 200... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class OrderItem extends Model
{
protected $fillable = [
'product_id',
'order_id',
'quantity',
'notes',
'price'
];
public function Product(){
return $this->hasOne('App\Product');
}
public... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class AsignacionModel extends CI_Model {
public function getListaAsignacion($data = array('cod'=>0,'codcop'=>0,'codlab'=>0,'fil'=>0,'col'=>0,'fini'=>'','ffin'=>'')) {
$result = $this->db->query("CALL proc_crud_asignacion(1,?,?,?,?,?,?,?)"... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
</head>
<body>
<div class="container">
<... |
<?php
/** @var \Laravel\Lumen\Routing\Router $router */
use Bugsnag\BugsnagLaravel\Facades\Bugsnag;
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of... |
<?php
/**
* Contains the PaymentRequest interface.
*
* @copyright Copyright (c) 2019 Attila Fulop
* @author Attila Fulop
* @license MIT
* @since 2019-12-17
*
*/
namespace Vanilo\Payment\Contracts;
interface PaymentRequest
{
/* Returns the html snippet to be rendered for initiating the pay... |
<?php
namespace TataRysh\Ceidg\Type;
/**
* Class GetMigrationData201901Response
*/
class GetMigrationData201901Response extends GetResponse
{
/**
* @var string
*/
private $GetMigrationData201901Result;
/**
* @return string
*/
public function getGetMigrationData201901Result(): st... |
<?php
/**
* Created by PhpStorm.
* User: kostya
* Date: 11.02.17
* Time: 10:40
*/
namespace Tests\OrderBundle\Repository;
use OrderBundle\Entity\Orders;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
class SalesRepositoryTest extends KernelTestCase
{
/**
* @var \Doctrine\ORM\EntityManager
... |
@extends('admin.home')
@section('css')
<style>
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 60px;
height: 60px;
-webkit-animation: spin 2s linear infinite;
animation: spin ... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\RestController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register A... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateGoalsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('goals', function (Blueprint $table)... |
<?php
namespace App\Http\Controllers;
use App\Models\City;
use App\Models\Country;
use Illuminate\Http\Request;
class CountryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return ['cou... |
<?php namespace Cms\Classes;
/**
* The CMS partial class.
*
* @package october\cms
* @author Alexey Bobkov, Samuel Georges
*/
class Partial extends CmsCompoundObject
{
/**
* @var string The container name associated with the model, eg: pages.
*/
protected $dirName = 'partials';
/**
* R... |
<?php declare(strict_types=1);
namespace DataMap\Getter;
use DataMap\Input\Input;
use function is_scalar;
final class GetTranslated implements Getter
{
private string $key;
/** @var array<string|int, mixed> */
private array $map;
/** @var mixed */
private $default;
/**
* @param array<... |
<?php
declare(strict_types=1);
namespace PChapl\DoctrineIdBundle\Id;
use JetBrains\PhpStorm\Pure;
use Stringable;
abstract class Base implements Stringable
{
private function __construct(private string $id)
{
}
#[Pure]
final public function __toString(): string
{
return $this->getVa... |
<?php
if(strlen($details['ORDER']) < 18){
$amountzero = 18 - strlen($details['ORDER']);
for($i=0;$i<$amountzero;$i++){
$details['ORDER']='0'.$details['ORDER'];
}
}
$fields = array(//date de test pentru preautentificare
//'ACTION'=>'0',
//'RC'=>'00',
//'MESSAGE'=>'Sales completion',
'ORDER'=>$details[... |
<?php
Breadcrumbs::register('admin.slide.index', function ($breadcrumbs) {
$breadcrumbs->parent('admin.dashboard');
$breadcrumbs->push('Slide Management', route('admin.slide.index'));
});
Breadcrumbs::register('admin.slide.create', function ($breadcrumbs) {
$breadcrumbs->parent('admin.slide.index');
$... |
<?php
session_start();
$_SESSION['user'] = 'Rohan';
?> |
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use App\Models\Users\User;
use App\Services\UserService;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Redirect;
use Laravel\Socialite\Facades\Socialite;
use Illuminate\Http\Request;
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Periodolectivo extends Model
{
use HasFactory;
protected $fillable = [
'dia',
'hora_inicio',
'hora_fin',
'anyoescolar'
];
} |
<?php require dirname(__DIR__) . '/vendor/autoload.php';
$all = [];
for ($i = 0; $i < 20; ++$i) {
$all[] = random_password(1000000);
echo memory_get_usage().PHP_EOL;
}
echo 'peak: '.memory_get_peak_usage().PHP_EOL; |
<?php
namespace App\Http\Controllers;
use App\seller;
use App\products;
use Auth;
use Alert;
use App\buy;
use App\orders;
use Illuminate\Http\Request;
class SellerController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
... |
<?php
namespace App\Service\Doctors;
use App\Models\Doctors\Doctor;
use App\Models\User;
use App\Models\Admin\TransModel\UserTranslation;
use App\Models\Doctors\DoctorTranslation;
use App\Traits\GeneralTrait;
use App\Http\Requests\Doctors\DoctorRequest;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... |
<?php
/**
* Email Preview
*
* @author Studio 164a
* @package Charitable/Templates/Emails
* @version 1.0.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) { exit; }
if ( ! isset( $_GET[ 'email_id' ] ) ) {
return;
}
$email = charitable_get_helper( 'emails' )->get_email( $_GET[ 'email_id' ] );... |
<?php
include "Person.php";
include "Family.php";
$n = intval(fgets(STDIN));
$family = new Family();
for($i = 0; $i < $n; $i++){
$line = explode(' ', trim(fgets(STDIN)));
list($name, $age) = $line;
$member = new Person($name, $age);
$family->addMember($member);
}
$oldestMember = $family->getOldestM... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWalletTransactsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('wallet_... |
<?php
/**
* Gets a list of system events
*
* @package modx
* @subpackage processors.element.plugin.event
*/
class modPluginEventGetListProcessor extends modObjectProcessor {
public $classKey = 'modPluginEvent';
public $languageTopics = array('plugin','system_events');
public $permission = 'view_plugin'... |
<?php
namespace DiegoAgudo\Passport\Bridge;
use Illuminate\Contracts\Events\Dispatcher;
use DiegoAgudo\Passport\Events\RefreshTokenCreated;
use DiegoAgudo\Passport\RefreshTokenRepository as PassportRefreshTokenRepository;
use League\OAuth2\Server\Entities\RefreshTokenEntityInterface;
use League\OAuth2\Server\Reposito... |
<?php
namespace app\home\controller;
use think\facade\View;
use think\facade\Lang;
/**
* ============================================================================
* DSMall多用户商城
* ============================================================================
* 版权所有 2014-2028 长沙德尚网络科技有限公司,并保留所有权利。
* 网站地址: http://... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class QrGenerated extends Model
{
protected $table = 'qr_generated';
protected $fillable = [
'product_id', 'user_id', 'code', 'quantity', 'qr_path', 'created_at', 'updated_at'
];
} |
<?php
/**
* Laravel IDE Helper Generator
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link https://github.com/barryvdh/laravel-ide-helper
*/
n... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Str;
use Illuminate\Validation\Rule;
use Illuminate\Validation\Rules\In;
class ContactRequest extends FormRequest
{
public $listContact;
/**
* ContactRequest constructor.
*/
public function __... |
<?php
/* SVN FILE: $Id$ */
/**
* Short description for file.
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The Open Group ... |
@extends('layouts.plantilla')
@section('title','Detalle')
@section('content')
<h1>Bienvenido a la seccion Detalle</h1>
@endsection |
@extends('admin.layouts.app')
@section('content')
<div class="dashboard-ecommerce">
<div class="container-fluid dashboard-content ">
<!-- ============================================================== -->
<!-- pageheader -->
<!-- ===========================================================... |
<?php
namespace Lmd\Guzzle\Http\Message;
use Lmd\Guzzle\Common\Version;
use Lmd\Guzzle\Http\Message\Header\HeaderInterface;
/**
* Represents a header and all of the values stored by that header
*/
class Header implements HeaderInterface
{
protected $values = array();
protected $header;
protected $glue;... |
<?php
//Customer Function
include "config.php";
include "include/headers.php";
include "include/navbar.php";
?>
<!DOCTYPE html>
<html>
<head>
<title>iBuzz - Delivery Map</title>
<?php echo common_headers() ?>
<!-- Bootstrap Select -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-sel... |
<?php
namespace common\components;
/**
* A basic CURL wrapper
*
* See the README for documentation/examples or http://php.net/curl for more information about the libcurl extension for PHP
*
* @package curl
* @author Sean Huber <shuber@huberry.com>
**/
class Curl {
/**
* The file to read and write ... |
<?php
/*
* This file is part of Transfer.
*
* For the full copyright and license information, please view the LICENSE file located
* in the root directory.
*/
namespace Transfer\Adapter\Transaction;
/**
* Common transaction model for requests and responses.
*/
abstract class Transaction extends DataAggregate
... |
<?php
namespace App\Http\Middleware;
use Closure;
class Edad
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ($request->age >= 18 && $... |
<?php
namespace Sohophp\SchemaOrg\Thing\Event;
use Sohophp\SchemaOrg\Thing\Event;
use Sohophp\SchemaOrg\Thing\Intangible\Language;
use Sohophp\SchemaOrg\Thing\CreativeWork\Movie;
/**
* A screening of a movie or other video.
* @see http://schema.org/ScreeningEvent
* @package Sohophp\SchemaOrg\Thing\Event
*
*/
class S... |
<?php
namespace common\models\cms;
/**
* This is the ActiveQuery class for [[Flag]].
*
* @see Flag
*/
class FlagQuery extends \common\components\ActiveQuery
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auths;
class ShowLoggedInUser extends Controller
{
/**
* Handle the incoming request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function __invoke(Request $request... |
<?php if (!$photos){ return; } ?>
<?php $disable_owner = isset($disable_owner) ? true : false; ?>
<?php
$current_ctype = cmsModel::getCachedResult('current_ctype');
$current_ctype_item = cmsModel::getCachedResult('current_ctype_item');
if (!empty($is_lg) || ($current_ctype_item && $current_ctype['name']=='albums'))... |
<?php
/**
* Implements Special:Wantedtemplates
*
* Copyright © 2008, Danny B.
* Based on SpecialWantedcategories.php by Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* makeWlhLink() taken from SpecialMostlinkedtemplates by Rob Church <robchur@gmail.com>
*
* This program is free software; you can redistribute it and... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illumina... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class MainController extends Controller
{
public function index(){
return view("home");
}
} |
@extends('layouts.app')
@section('action-buttons')
<a href="{{ url('product/quotations/new') }}" class="btn btn-sm header-btn">
<i class="fa fa-list-alt"></i> <span>Agregar cotización</span>
</a>
<div class="btn-group">
<button type="button" class="btn btn-sm header-btn"><i class="fa fa-ell... |
@extends('layout/main')
@section('title', 'Merchant | Coda.com')
@section('container')
<div class="container">
<div style="margin-top: 150px; margin-bottom: 150px;">
<div class="col-xs-6">
<h2>Merchants</h2>
</div>
@if (session('status'))
<div class="alert alert-succ... |
<?php
$connect = new mysqli("localhost", "root", "", "beauty");
function read($tabel, $query = ""){
global $connect;
$data = mysqli_query($connect, "SELECT * FROM $tabel $query");
return $data;
}
function create_article(){
global $connect;
$nama = $_FILES["foto... |
<!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>Document</title>
</head>
<body>
<h1>This is Login Page!</h1>
</body>
</html> |
@extends('layouts.admin')
@section('content')
@include('includes.form_error')
<h1>Create Posts</h1>
{!! Form::open(['method'=>'POST', 'action'=>'AdminPostsController@store','files'=>true]) !!}
<div class="form-group">
{!! Form::label('title', 'Title:') !!}
{!! Form::text('... |
<?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
| ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PageViewController extends Controller
{
function index(){
$count = session ('count');
if($count){
$count = $count +1;
} else {
$count=1;
}
//set session
session(['cou... |
@extends('admin.layouts.index')
@section('title', 'Trang chủ')
<link href="{{ asset('public/app.css') }}" rel="stylesheet">
<link href="{{ asset('public/app.css') }}" rel="stylesheet">
<link href="{{ asset('public/sidebar.css') }}" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
<link href="{{ asset('/css... |
<div>
<form wire:submit.prevent="storeCompany" class="border-b-2 pb-10">
<div>
<label class="block font-medium text-sm text-gray-700" for="name">
Company Name*
</label>
<input wire:model="name" type="text"
class="mt-2 text-sm sm:text-bas... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Requests\Backend\Doctor\DoctorStoreRequest;
use App\Http\Requests\Backend\Doctor\DoctorUpdateRequest;
use App\Repositories\DoctorRepository;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\... |
<table class="table table-responsive" id="foods-table">
<thead>
<th>
<div class="col-md-5" >
<div class="col-md-2" style="margin-right: 30px;margin-top: 10px">Name</div>
{{ Form::open(['route' => ['foods.index'], 'method' => 'get','style'=>'width: 200px']) }}
<div cl... |
<?php namespace App\Services;
use App\Services\Service;
use DB;
use Config;
use App\Models\Character\Sublist;
use App\Models\Character\CharacterCategory;
use App\Models\Species\Species;
class SublistService extends Service
{
/*
|--------------------------------------------------------------------------
... |
<script type="text/javascript" src="<?php echo erLhcoreClassDesign::designJS('js/survey.js');?>"></script>
<?php $fields = $object->getFields();?>
<?php if (isset($errors)) : ?>
<?php include(erLhcoreClassDesign::designtpl('lhkernel/validation_error.tpl.php'));?>
<?php endif; ?>
<?php if (isset($updated) && $update... |
<?php
/*
* This file is part of the Qsnh/meedu.
*
* (c) XiaoTeng <616896861@qq.com>
*/
namespace App\Http\Controllers\Api\V2;
use App\Services\Member\Services\UserService;
use App\Http\Requests\ApiV2\RegisterSmsRequest;
use App\Services\Member\Interfaces\UserServiceInterface;
class RegisterController extends Ba... |
<?php include('header.php'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Medical Master File
<!-- <small>Control panel</small> -->
</h1... |
<div class="col-md-12">
<h3>
Daftar Pasien
</h3>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>#</th>
<th>Tanggal Periksa</th>
<th>Kode</th>
<th>Nama</th>
... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class CartModel extends Model
{
public $table='shop_cart';
public $timestamps=false;
} |
<?php
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
require __DIR__ . '/../../vendor/autoload.php';
require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php';
require __DIR__ . '/../../common/config/bootstrap.php';
require __DIR__ . '/../config/bootstrap.php';
$config... |
<?php declare(strict_types = 1);
namespace PHPStan\Reflection;
use PHPStan\Reflection\Php\DummyParameter;
use PHPStan\Testing\PHPStanTestCase;
use PHPStan\Type\Constant\ConstantIntegerType;
use PHPStan\Type\Constant\ConstantStringType;
use PHPStan\Type\Generic\TemplateTypeFactory;
use PHPStan\Type\Generic\TemplateTyp... |
<?php
/**
* SettingsFiltersModel
*
* PHP version 5
*
* @category Class
* @package BumbalClient
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Bumbal Client Api
*
* Bumbal API documentation
*
* OpenAPI spec version: 2.0
* Contact: gerb@bumbal.eu
* ... |
@extends('layouts.app')
@section('title', ' - Work Time')
@section('content')
<div class="dashboard-header">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="dashboard-main">
<span class="title font16">
... |
{{-- ISO DOKUMENTE --}}
@extends('master')
@section('page-title')
Dokumente - ISO-Dokumente
@if($isoCategoryParent)- {{$isoCategoryParent->name}}@endif
@if($isoCategory)- {{$isoCategory->name}}@endif
@stop
@section('content')
<div class="clearfix"></div>
{{-- if category dosen't have documents and... |
<?php
/**
* This is a "CMS" model for previous history, using MY_Model for connectivity with our sql database.
*
* @author Ntori
*/
class Histories extends MY_Model {
// Constructor
public function __construct()
{
parent::__construct('histories', 'id');
}
}
?> |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$route['default_controller'] = 'welcome';
$route['san-pham']='San_pham/DSSachSanPham';
$route['khach-hang/them-mat-hang']='Khach_hang/ThemMatHang';
$route['khach-hang/thong-tin-gio-hang']='Khach_hang/ThongTinGioHang';
$route['khach-hang/dat-hang']='K... |
<?php
namespace App\Traits;
use App\CoreFacturalo\Facturalo;
use App\Models\Tenant\Summary;
use DB;
trait SummaryTrait
{
public function save($request) {
$fact = DB::connection('tenant')->transaction(function () use($request) {
$facturalo = new Facturalo();
$facturalo->save($reque... |
@extends('layouts.admin1')
@section('header')
@endsection
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header sty-one">
<h1>Resolution Code View</h1>
<ol class="breadcrumb">
<li><a href="#">Dash... |
@extends('layouts.main_site')
@section('content')
<section class="features" id="features">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3 class="page-header">Dados gerais do usuário {{ $user->nome_usuario }}</h3>
<p> Usuário ativo desde : {{ $ativo_desde }}</p>
... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "brand".
*
* @property int $id
* @property string $name 名称
* @property string $intro 简介
* @property string $logo 图片
* @property int $status 状态
* @property int $sort 排序
*/
class Brand extends \yii\db\ActiveRecord
{
public st... |
<?php
/**
* SPHPlayground Framework (http://playgound.samiholck.com/)
*
* @link https://github.com/samhol/SPHP-framework for the source repository
* @copyright Copyright (c) 2007-2018 Sami Holck <sami.holck@gmail.com>
* @license https://opensource.org/licenses/MIT The MIT License
*/
namespace Sphp\Html\F... |
@extends('layouts.admin.master')
@section('title', trans('admin.posts_list') .' < '. get_site_title())
@section('content')
<div class="row">
<div class="col-6">
<h5>{!! trans('admin.posts_list') !!}</h5>
</div>
<div class="col-6">
<div class="pull-right">
<a href="{{ route('admin.testimonial_post_c... |
<?php
/**
* A TinyMCE-powered WYSIWYG HTML editor field with image and link insertion and tracking capabilities. Editor fields
* are created from <textarea> tags, which are then converted with JavaScript.
*
* @package forms
* @subpackage fields-formattedinput
*/
class HtmlEditorField extends TextareaField {
/**... |
<?php
namespace Google\AdsApi\AdManager\v202008;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class InvalidEmailError extends \Google\AdsApi\AdManager\v202008\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @param \Goo... |
<?php
class PopOrderNotPayOrderInfoRequest
{
private $apiParas = array();
public function getApiMethodName(){
return "jingdong.pop.order.notPayOrderInfo";
}
public function getApiParas(){
return json_encode($this->apiParas);
}
public function check(){
}
public function putOtherTextParam($key, $v... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTypesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('types', function ... |
<?php
namespace App\Exceptions;
use Exception;
use App\Mail\ExceptionOccurred;
use Illuminate\Support\Facades\Mail;
use Illuminate\Auth\AuthenticationException;
use Shirshak\Core\Exceptions\GeneralException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.