text stringlengths 2 1.03M |
|---|
<?php
/*
* Copyright notice:
* (c) Copyright 2017 RocketGate
* All rights reserved.
*
* The copyright notice must not be removed without specific, prior
* written permission from RocketGate.
*
* This software is protected as an unpublished work under the U.S. copyright
* laws. The above copyright notice is no... |
<?php
namespace SisGG\FinalBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Doctrine\ORM\EntityRepository;
class MovimientoType extends AbstractType {
public function buildForm(FormBuilderInt... |
<h1>Contacts</h1> |
<?php
$adminMenu[24] = [
'icon' => 'table',
'list_head' => [
'name' => trans('Messages::messages.messages'),
'link' => '/'.App::getLocale().'/admin/messages',
],
'list_tree'=> [
0 => [
'name' => trans('Messages::messages... |
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]> -->
<html lang="en" >
<!-- <![endif]-->
<!-- head -->
<head>
<meta charset="utf-8" />
<title> <?= lang('app.privacy_policy'); ?> | <?= $config['title']; ?... |
<?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\Minolta;
use JMS\Serializer\Annotation\ExclusionPolic... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
<div class="card mb-3">
<div class="card-header">
<a href="{{ route('profile', ['id' => $image->user->id]) }}" class="header-images">
@if ($image->user->image)
<div class="container-pub-avatar mr-3">
<img src="{{ route('user.avatar', ['filename'=>$image->user-... |
<?php
namespace KRG\CoreBundle\Export;
use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;
use SimpleExcel\SimpleExcel;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\Templating\EngineInterface;
/**
* Class XlsExport
* @see https://docs.microsoft.com/en-us/previous-versions/office/devel... |
<?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 zxf\Symfony\Component\DependencyInjection\ParameterBag;
use zxf\Symfony... |
<?php
namespace Bjuppa\LaravelBlog\Tests\Feature;
use Bjuppa\LaravelBlog\Eloquent\BlogEntry;
use Bjuppa\LaravelBlog\Tests\IntegrationTest;
use Carbon\Carbon;
class EloquentImplementationTest extends IntegrationTest
{
public function setUp(): void
{
parent::setUp();
$this->prepareDatabase();
... |
<?php
/*
* 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.
*/
namespace App\Http\Middleware;
use Closure;
use Auth0\SDK\JWTVerifier;
/**
* Description of Auth0Middleware
*
* @author Ro... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Kategori extends Model
{
use HasFactory;
protected $fillable = ['nm_kategori'];
} |
<?php
namespace Ravenfire\Magpie\Sources;
use Illuminate\Database\Eloquent\Model;
use Monolog\Logger;
use Psr\Log\LoggerInterface;
use Ravenfire\Magpie\Data\Audit\Audit;
use Ravenfire\Magpie\Data\Jobs\Job;
use Ravenfire\Magpie\Data\Migrations\MigrationManager;
use Ravenfire\Magpie\Magpie;
use Symfony\Bridge\Monolog\H... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatorClientId extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (B... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
@extends('layouts.admin')
@section('css')
@parent
<link href="{{asset('assets/css/chosen/chosen.min.css')}}" rel="stylesheet">
<link href="{{asset('assets/css/chosen/chosen.bootstrap.css')}}" rel="stylesheet">
@stop
@section('js')
@parent
<script src="{{asset('assets/js/chosen.j... |
@extends('backend.layouts.master') @section('title','E-SHOP || DASHBOARD') @section('main-content')
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<!-- general form elements -->
<div class="card card-primary">@if ($errors->any())
<div c... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!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>Dashboard Remunerasi</title>
<... |
<div class="overflow-hidden shadow sm:rounded-md">
<div class="flex-col px-4 py-5 space-y-4 bg-white sm:p-6">
<header>
<h3 class="text-lg font-medium leading-6 text-gray-900">
Basic Information
</h3>
</header>
<div class="grid grid-cols-2 gap-4">
<div class="space-y-4">
... |
@extends('template')
@section('header')
@foreach ($genre as $g)
<h5 class="text-uppercase">{{ $g->name }}</h5>
<div class="card-group mb-4">
@foreach ($movie as $m)
@if ($g->id == $m->genre_id)
<div class="card">
<img src="{{$m->photo}}"... |
<?php
#app/Modules/Cms/Content/Models/CmsCategory.php
namespace App\Plugins\Modules\Cms\Content\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CmsCategory extends Model
{
public $timestamps = false;
public $table = 'cms_ca... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use T... |
<?php
/**
* 订单API
*/
namespace app\api\controller;
use app\common\model\Users;
use app\common\logic\UsersLogic;
use app\common\logic\Integral;
use app\common\logic\Pay;
use app\common\logic\PlaceOrder;
use app\common\logic\PreSellLogic;
use app\common\logic\UserAddressLogic;
use app\common\logic\CouponLogic;
use app\... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class LineaPedidoRequisito extends Model
{
//
protected $table = 'linea_pedido_requisito';
} |
<p>Here is the latest report for {{ $SiteName }} project #{{ $ProjectNum }}.</p>
@if (count($aImages))
<p>Project attachments</p>
@endif
@if (isset($aImages['path']))
@foreach ($aImages['path'] as $src)
<p><img src="{{ $message->embed($src) }}"></p>
@endforeach
@endif
@if (isset($aImages['raw']))
@foreach ($aImages[... |
@extends('master')
@section('conten')
<div class="container">
<div id="content" class="space-top-none">
<div class="main-content">
<div class="space60"> </div>
<div class="row">
<div class="col-sm-12">
<div class="b... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Event extends Model
{
protected $table = "events";
} |
<?php
namespace Icawebdesign\LfswPubstats;
class LfswPubstatsRacer extends LfswPubstats
{
/**
* LfswPubstatsRacer constructor.
*/
public function __construct()
{
return parent::__construct();
}
/**
* Get statistics for specific racer
*
* @param $racerName
*
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use Auth;
use URL;
use DB;
use table;
use PDF;
use Validator;
use Yajra\Datatables\Datatables;
use Crypt;
use Vinkla\Hashids\Facades\Hashids;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Support\Facades\Ha... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ItemController extends Controller
{
//
} |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Frag;
use Faker\Generator as Faker;
$factory->define(Frag::class, function (Faker $faker) {
return [
//
];
}); |
<?php
namespace App\Models;
use CodeIgniter\Model;
class PharmacyBillingModel extends Model
{
protected $table = 'pharmacy_billing';
protected $primaryKey = 'id';
protected $useSoftDeletes = true;
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedFiel... |
<?php
namespace ZPB\AdminBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use ZPB\AdminBundle\Validator\Constraints as ZPBAssert;
/**
* AnimationDay
*
* @ORM\Table(name="zpb_animations_days")
* @ORM\Entity(repo... |
<?php
session_start();
$_SESSION['current_question'] = 1;
$_SESSION['current_task'] = 0;
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- stuff that was already there-->
<div><!--
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://ec2-54-... |
@extends('admin.admin_master')
@section('admin')
<!-- Content Wrapper. Contains page content -->
<div class="container-full">
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12">
<div class="box">
<div class="box-header with-border">
... |
@extends("template")
@section('content','content')
<section class="story-area bg-seller color-white pos-relative">
<div class="container">
<div class="heading">
<img class="heading-img" src="{{asset('images/heading_logo.png')}}">
<h2>Notre Supplements</h2>... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\handbook\models\Handbook */
$this->title = 'Cập nhật thông tin cẩm nang';
$this->params['breadcrumbs'][] = ['label' => 'Handbooks', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view... |
<?php
spl_autoload_register(function ($className) {
$className = ltrim($className, '\\');
$fileName = '';
if ($lastNsPos = strripos($className, '\\')) {
$namespace = substr($className, 0, $lastNsPos);
$className = substr($className, $lastNsPos + 1);
$fileName = str_replace('\\', DIRE... |
<?php
declare(strict_types=1);
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* 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 of files m... |
<?php
Yii::$container->set('yii\i18n\Formatter', 'app\classes\Formatter'); |
<?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author... |
<?php
namespace Imi\Db\Transaction;
trait TTransaction
{
private $transactionLevels = 0;
/**
* 启动一个事务
* @return boolean
*/
public function beginTransaction(): bool
{
++$this->transactionLevels;
return true;
}
/**
* 提交一个事务
* @return boolean
*/
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Size;
use Alert;
class SizeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$sizes = Size::paginate(10);
... |
<?php
namespace App\Http\Livewire;
use App\Models\Judul;
use App\Models\Pesanan;
use Livewire\Component;
use App\Models\PesananDetail;
use Illuminate\Support\Facades\Auth;
class Navbar extends Component
{
public $jumlah = 0;
protected $listeners = [
'masukKeranjang' => 'updateKeranjang'
];
... |
<?php
class M_history extends CI_Model
{
function __construct()
{
$this->load->database();
}
function get_history()
{
$this->db->select("*");
$this->db->from("customer_orders");
$this->db->where('status','completed');
$this->db->order_by('order_id','desc');
return $this->db->get()->re... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
'@images' => 'images',
... |
<?php
use yii\helpers\Url;
$this->title = '配件记录';
?>
<style>
<?php $this->beginBlock('CSS') ?>
.item-list{ display: block; padding: 12px 0; width: 90%; margin: 0 5%; border-bottom: 1px #e3e3e3 solid; font-size: 16px; }
.item-list h5{ height: 55px; color: #666; font-weight: normal; font-size: 16p... |
<?php
$this->extend('/Common/admin_index');
$this->Html
->addCrumb('', '/admin', array('icon' => $_icons['home']))
->addCrumb('Example', array('controller' => 'example', 'action' => 'index'))
->addCrumb('RTE Example', '/' . $this->request->url);
echo $this->Form->create('Example');
$options = array('type' => 'tex... |
@extends('layout')
@section('content')
<div class="col-sm-8">
<h2>
listado de productos
<a href="{{route('products.create')}}" class="btn btn-primary pull-right">Nuevo</a>
</h2>
@include('products.fragment.info')
<table class="table table-hover table-striped">
... |
<div class="main-sidebar sidebar-style-2">
<aside id="sidebar-wrapper">
<div class="sidebar-brand">
<a href="index.html">Nugraha Jaya</a>
</div>
<div class="sidebar-brand sidebar-brand-sm">
<a href="index.html">NJ</a>
</div>
<ul class="si... |
<?php
namespace App\Http\Resources\Roles;
use Illuminate\Http\Resources\Json\ResourceCollection;
class RolesCollection extends ResourceCollection
{
/**
* Transform the resource collection into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function... |
<?php
namespace App\Http\Controllers\Tenant;
use App\Http\Controllers\Controller;
use App\Models\Tenant\Document;
use App\Models\Tenant\SaleNote;
use App\Models\Tenant\Quotation;
use App\Models\Tenant\Kardex;
use App\Models\Tenant\Purchase;
use App\Models\Tenant\Retention;
use App\Models\Tenant\Perception;
use App\Mod... |
<?php declare(strict_types=1);
// SPDX-License-Identifier: BSD-3-Clause
namespace Nbgrp\Tests\OneloginSamlBundle\DependencyInjection\Compiler;
use Nbgrp\OneloginSamlBundle\DependencyInjection\Compiler\ProxyVarsCompilerPass;
use OneLogin\Saml2\Utils;
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInje... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Utente extends Model
{
protected $table = "utente";
protected $primarykey = "idutente";
protected $fillable = [];
} |
<?php
/*
* Server script to update records from incomming POSTs methods
*
*/
// Check if the Request is an HTTP POST method.
// If POST, collect the data from the POST variable
if($_POST)
{
include('db_connect.php');
// collect the data from the HTTP POST
... |
<?php
namespace Cms\Form;
use Application\Form\Form;
use Phalcon\Forms\Element\TextArea;
use Phalcon\Forms\Element\Hidden;
class JavascriptForm extends Form
{
public function initialize()
{
$style = 'height:300px;font-size:13px';
$this->add((new TextArea('head', array('style' => $style)))->... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitf440d7acf93b56f00c4cf6a4b06efe84
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'320cde22f66dd4f5d3fd621d3... |
@extends ('masterRoot')
@section ('contenido_Admin')
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.18/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.18/datatables.min.js"></script>
<div class="panel panel-primary border-panel">
... |
<?php
declare(strict_types=1);
require __DIR__ . '/../autoload.php';
if (isset($_GET['id'])) {
$sql = "DELETE from posts WHERE id = :id";
$statement = $pdo->prepare($sql);
if (!$statement) {
die(var_dump($pdo->errorInfo()));
}
$statement->bindParam(':id', $_GET['id'], PDO::PARAM_INT);
... |
<?php
/**
* PHPCoord.
*
* @author Doug Wright
*/
declare(strict_types=1);
namespace PHPCoord\Geometry\Extents\BoundingBoxOnly;
/**
* Africa/Nigeria - offshore deep water.
* @internal
*/
class Extent1717
{
public function __invoke(): array
{
return
[
[
[
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Carbon\Carbon;
use DB;
class RhGroupTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('rh_groups')->insert([
array(
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2013-06-14 00:13:14 --> Page Missing: blog/rss/all.rss
ERROR - 2013-06-14 15:07:43 --> Severity: Notice --> session_start() [<a href='function.session-start'>function.session-start</a>]: ps_files_cleanup_dir: opendir(/tmp) failed: P... |
<?php /** @noinspection PhpUnused */
namespace Fhp\Segment\TAB;
use Fhp\Segment\BaseSegment;
/**
* Segment: TAN-Generator/Liste anzeigen Bestand Rückmeldung (Version 4)
*
* @link https://www.hbci-zka.de/dokumente/spezifikation_deutsch/fintsv3/FinTS_3.0_Security_Sicherheitsverfahren_PINTAN_2018-02-23_final_version... |
<?php
/**
* BoardManager.php Class
*
* @author Dean Haines
* @license Proprietary See LICENSE.md
*/
namespace vbpupil\Logic;
use vbpupil\Components\Board;
class BoardManager
{
private $board;
private $boardWidth;
private $occupiedCount = 0;
public function __construct(Board $board)
{... |
<?php
class Login extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function checkIfEmailAlreadyExists($email, $password)
{
$array = array(
'email' => $email,
);
$this->db->where($array);... |
<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
class PreferenceItemSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('preference_items')->insert([
//id: 1
[
'name' => 'M... |
<?php
/**
* This file has been @generated by a phing task by {@link GeneratePhonePrefixData}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how t... |
<?php
use Faker\Generator as Faker;
use App\Models\Link;
/* @var Illuminate\Database\Eloquent\Factory $factory */
$factory->define(Link::class, function (Faker $faker) {
return [
'title' => $faker->name,
'link' => $faker->url,
];
}); |
<?php
/**
* Upsell CDN meta box.
*
* @since 3.0
* @package WP_Smush
*
* @var string $upgrade_url Upgrade URL.
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
?>
<div class="sui-block-content-center">
<img src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/graphic-smush-cdn-default.png' ); ?>"
srcset="<?p... |
<?php
header("content-type:text/html;charset=utf-8");
$id=$_GET['id'];
$link=mysqli_connect('127.0.0.1','root','root','a3191');
$sql="update book2 set is_del=2 where id='$id'";
$res=mysqli_query($link,$sql);
if($res){
echo '放入回收站成功';
header("refresh:2,url='3 29 441.php'");
}
?> |
<?php
namespace App\Transformers;
use App\Seller;
use League\Fractal\TransformerAbstract;
class SellerTransformer extends TransformerAbstract
{
/**
* List of resources to automatically include
*
* @var array
*/
protected $defaultIncludes = [
//
];
/**
* List of resou... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use App\Auto;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
Model::unguard();
//$thi... |
--TEST--
Test sha1() function : usage variations - unexpected values for 'raw' argument
--FILE--
<?php
/* Prototype: string sha1 ( string $str [, bool $raw_output ] )
* Description: Calculate the sha1 hash of a string
*/
echo "*** Testing sha1() : unexpected values for 'raw' ***\n";
$string = "Hello World";
//... |
<?php
//SESSION CHECK
require '../../azura/verifica_login.php';
?> |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Login extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('User_model');
$this->load->model('Apotek_model');
$this->load->model('Customer_model');
$... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class NomencladorTipoServicio extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tipo_servi... |
<?php
include('dbconfig.php');
session_start();
if (!isset($_SESSION['login_user'])) {
header('Location:index.php');
}
?>
<!doctype html>
<html lang="en">
<?php
include ('x-head.php')
?>
<body>
<?php
include('x-header.php');
?>
<link rel="stylesheet" type="text/css" href="datatables/datatables.min.css"... |
<?php
/**
* Sybil Framework
* (c) 2014 Grégory Bellencontre
*
* This file creates an abstract Model class,
* extending the chosen DBMS Model class.
*/
namespace Sybil\ORM;
use Sybil\Config;
use Sybil\App;
use Sybil\ORM\Database;
use Sybil\Translation;
abstract class Model
{
private $db = null;
private $tr... |
<?php
declare(strict_types=1);
/*
* This file is part of the DigitalOceanV2 library.
*
* (c) Antoine Corcy <contact@sbin.dk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DigitalOceanV2\Entity;
/**
* @author Filipp... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace App\Http\Controllers;
use App\Models\Booking;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Jobs\ProcessBookingJob;
class BookingController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing ... |
<?php
namespace Skrz\Meta;
/**
* @author Jakub Kulhan <jakub.kulhan@gmail.com>
*
* @internal
*/
final class Stack
{
/**
* @var \SplObjectStorage
*/
public static $objects;
} |
<?php
/**
* Created by CDiscount
* Date: 01/02/2017
* Time: 11:04
*/
namespace Sdk\Order\Refund;
use Sdk\Common\CommonResult;
/**
* Class contains the motive and amount for commercial gesture response
* @author mohammed.sajid
*/
class RefundInformationMessage extends CommonResult
{
/*
* @var decimal
... |
<?php
class archive_model extends CI_Model {
public function archive_patient($id){
$this->db->set('deleted', '1');
$this->db->set('date_deleted','NOW()',FALSE);
$this->db->where('id', $id);
$this->db->update('patient');
$this->db->set('deleted', '2');
... |
<?= $this->extend('layout/templates'); ?>
<?= $this->section('content'); ?>
<div class="container mt-3">
<h3 class="text-center">Alamat</h3>
<hr>
<?php foreach ($alamat as $alamat): ?>
<ul class="list-group mb-3">
<li class="list-group-item">
<?= $alamat['type']; ?>
</li>
... |
@extends('reports.layout', ['type' => $type, 'title' => $title])
@section('content')
<table class="rtable" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th align="left">Numero</th>
<th align="left">Sucursal</th>
<th align="center">Fecha</th>
<th align="left">Cliente</th>
<th align... |
@extends('layouts.default')
@section('title', '登录')
@section('content')
<div class="offset-md-2 col-md-8">
<div class="card ">
<div class="card-header">
<h5>登录</h5>
</div>
<div class="card-body">
@include('shared._errors')
<form method="POST" action="{{ route('login') }}">
{{... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class First_timer extends Model
{
use HasFactory;
protected $fillable = [
'name',
'phone_number',
'alt_phone_number',
'email',
'relative_phone_nu... |
<?php return array (
'providers' =>
array (
0 => 'Illuminate\\Auth\\AuthServiceProvider',
1 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
2 => 'Illuminate\\Bus\\BusServiceProvider',
3 => 'Illuminate\\Cache\\CacheServiceProvider',
4 => 'Illuminate\\Foundation\\Providers\\ConsoleSuppor... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<div class="card align-middle">
<div class="card-header" id="card-header-main"><h2>Voeg je eigen product toe!</h2></div>
<div class="card-body">
... |
<?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\Notifier\Bridge\Sendinblue\Tests;
use Symfony\Compone... |
<?php
class Divido_Object implements ArrayAccess
{
/**
* @var Divido_Util_Set Attributes that should not be sent to the API because
* they're not updatable (e.g. API key, ID).
*/
public static $permanentAttributes;
/**
* @var Divido_Util_Set Attributes that are nested but still updatable from
*... |
<!-- JQuery -->
<!--<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>-->
<!-- Bootstrap tooltips -->
<!--<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>-->
<!-- Bootstrap core JavaScri... |
@if(count($errors) > 0)
@foreach($errors->all() as $error)
<div class="alert alert-warning">{{ $error }}</div>
@endforeach
@endif |
<!DOCTYPE html>
<html lang="en"
dir="ltr">
<head>
@include('Students.Common.student_head')
</head>
<body class="layout-app ">
<div class="preloader">
<div class="sk-chase">
<div class="sk-chase-dot"></div>
<div class="sk-chase-dot"></div>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
//
public function serviceType()
{
return $this->belongsTo(ServiceType::class);
}
public function jobs()
{
return $this->hasMany(Job::class);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.