text stringlengths 2 1.03M |
|---|
<?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\HttpFoundation;
/**
* Represents an Accept-* header.... |
<!DOCTYPE html>
<html lang="en">
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{{ $page->name }}</title>
<link rel="stylesheet" type="text/css" href="{{ asset('app/css/fonts.css') }}">
<link rel="stylesheet" type... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Validator;
use Auth;
use App\User;
use App\Pup;
use App\Breed;
class PupController extends Controller
{
public function index (Request $request) {
// $header = $request->header('Authorization');
// $api_token = str_replace('... |
@extends('seller_layout')
@section('seller_content')
<div class="breadcome-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="breadcome-list">
... |
@extends('layouts/main')
{{-- Page title --}}
@section('title')
Poker Today
@parent
@stop
{{-- page level styles --}}
@section('header_styles')
@stop
{{-- Page content --}}
@section('content')
<!-- Container Section Start -->
<div class="container">
<!--Content Section Start -->
<div class="... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUtilisateursTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('utilisateu... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Found... |
<?php
class Comision extends MY_Model{
public function getImagenes(){
$sql = "SELECT a.nombre, a.descripcion, a.pathImgReduced, a.pathImgOriginal
FROM imagenabout a
WHERE imgInView = 1";
$query = $this->db->query($sql);
$result = $query->result_array();
return $result;
}
public function getComisi... |
<?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
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = strip_tags(htmlspecialchars($_POST['name']));
$math = strip_tags... |
<?php
class Action_model extends CI_Model
{
public function save_action_response_question($response_with_question, $json_object, $action_card_id, $group_details, $response_id, $event_id, $action_card_name = NULL)
{
//Location
$latitude = '';
$longitude = '';
$location = '';
... |
<?php
/**
* @version $Id$
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.... |
<?php
/**
* li₃: the most RAD framework for PHP (http://li3.me)
*
* Copyright 2009, Union of RAD. All rights reserved. This source
* code is distributed under the terms of the BSD 3-Clause License.
* The full license text can be found in the LICENSE.txt file.
*/
namespace lithium\tests\cases\test;
use Exception... |
<?php
use anytizer\relay;
use PHPUnit\Framework\TestCase;
/**
* Service not functional
*/
class hookbinTest extends TestCase
{
private $relay = null;
public function setup(): void
{
$_GET = array();
$_POST = array();
$this->relay = new relay();
}
public function testHoo... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
class NotificationController extends Controller
{
public function notifications()
{
$unreadNotifications = auth()->user()->unreadNotifications;
return view('admin.notifications', compact('unreadNotifications'));... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class LikeSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('likes')->insert([
[
... |
<?php
namespace Artemis\Core\Http;
use Artemis\Support\Arr;
use Artemis\Support\Str;
use Artemis\Core\Http\Exceptions\RequestException;
use Artemis\Core\Http\Interfaces\ContentTypes;
use Artemis\Core\Http\Interfaces\HttpHeaders;
use Artemis\Core\Http\Interfaces\HttpStatusCodes;
use Artemis\Core\Http\Interfaces\Requ... |
@php
$kode_lokasi = Session::get('lokasi');
$periode = Session::get('periode');
$kode_pp = Session::get('kodePP');
$nik = Session::get('userLog');
$tahun= substr($periode,0,4);
$tahunLalu = intval($tahun)-1;
$thnIni = substr($tahun,2,2);
$thnLalu = substr($tahunLalu,2,2);
@endphp
<style>
.btn-outline-light:... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class c_peg_hadir_now extends CI_Controller {
public function __construct()
{
parent::__construct();
//load model admin
$this->load->model('admin');
$this->load->model('M_Rekap_Absen');
$this->load->model('M_Pegawai');
... |
<?php
namespace Frontend\Core\Language;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Backend\Core\Engine\Model;
use Frontend\Core\Engine\Exception;
use Symfony\Component\Filesystem\Filesy... |
<?php
namespace Swoole;
class ExitException extends \Exception
{
protected $message;
protected $code;
protected $file;
protected $line;
/**
* @return mixed
*/
public function getFlags(){}
/**
* @return mixed
*/
public function getStatus(){}
/**
* @param ... |
<?php
namespace App\Nova;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\ID;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\Textarea;
use Laravel\Nova\Http\Requests\NovaRequest;
use Laravel\Nova\Panel;
use Emilianotisato\NovaTinyMCE\NovaTinyMCE;
use Spatie\MediaLibrary\HasMedia;
use Illuminate\Http\Uploa... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRoleUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('role_user', f... |
{!! Form::open(array('route' => 'users.change-password', 'autocomplete'=>'off','class'=>'smart-form client-form')) !!}
<header>
{!! Lang::get('users.change_password.title') !!}
</header>
@include('layouts._messages')
<fieldset>
<section>
<label class="label">{!! Lang::get('users.old_password') !!}</label>
... |
@inject('userinfo', 'App\UserInfo')
@extends('bsb.app')
@inject('lang', 'App\Lang')
{{--31.01.2021--}}
@section('content')
<div class="q-card q-radius q-container">
<form id="cur" method="post" action="{{url('currencyChange')}}" >
@csrf
<div class="card">
<div class="body">
<div c... |
<?php
namespace Respect\Validation\Exceptions;
interface NestedValidationExceptionInterface extends ValidationExceptionInterface
{
public function findMessages(array $paths);
public function getFullMessage();
} |
<div class="flex flex-wrap p-6">
<div class="w-full lg:w-1/2 mt-6 pl-0 lg:pl-2">
<p class="text-xl pb-6 flex items-center">
<i class="fas fa-user-plus mr-3"></i> Formulaire de création d'un nouvel utilisateur
</p>
<div class="leading-loose">
<form class="p-10 bg-whit... |
<?php header("Content-type: text/html; charset=utf-8"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Search Results – Maryland History and Culture Bibliography</title>
<link rel="stylesheet" type="text/css" href="inclu... |
<?php
$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING);
$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);
if(!isset($_COOKIE['xtructur'])){
echo 323; exit();
}else{
$cookie_xtructur = unserialize($_COOKIE['xtructur']);
$id_obra = $cookie_xtructur['id_obra'];
}
include('conex... |
<?php
class ControllerStartupSeoUrl extends Controller {
public function index() {
// Add rewrite to url class
if ($this->config->get('config_seo_url')) {
$this->url->addRewrite($this);
}
// Decode URL
if (isset($this->request->get['_route_'])) {
$parts = explode('/', $this->request->get['_route_']);
... |
<?php
/**
* @copyright Copyright (c) 2009-2021 Ryan Demmer. All rights reserved
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is ... |
<?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
namespace App\Http\Controllers;
use App\Http\Requests\BookRequest;
use App\Http\Resources\BookResource;
use App\Models\Author;
use App\Models\Book;
use Illuminate\Http\Request;
class BookController extends Controller
{
public function index($id = null)
{
$books = Book::writtenBy($id)->with("ra... |
<!DOCTYPE html>
<html lang = "es">
<head>
<meta charset = "utf-8">
<title>FitnessClub</title>
<link rel = "icon" href = "img/icons8-prelum.png">
<meta name = "description" content = "Aprenderas a ejercitarse con un entrenador personal a distancia a un bajo precio. ">
<meta na... |
@extends('home.layout')
@section('content')
<div class="row bg-light rounded border shadow p-3">
<div class="col-md-5">
<img src="{{asset('product_image/'.$cart->image_product)}}" class="img-fluid rounded pt-2 pb-2" alt="">
</div>
<div class="col-md-6 mt-0 pt-0">
<h1>... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use kartik\select2\Select2;
use app\models\db\Product;
use app\models\db\ProductCategory;
use mihaildev\elfinder\InputFile;
use app\modules\admin\widgets\product\ProductFileWidget\ProductFileWidget;
/* @var $this yii\web\View */
/* @... |
@extends('layout.master')
@section('content')
<!--error message*******************************************-->
<div class="row">
<div class="col-md-12">
@if($errors->count() > 0 )
<div class="alert alert-danger">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<h6>The following ... |
<?php
namespace App\Helpers;
class Helper{
public static function renameFile($path,$filename)
{
if($pos=strpos($filename,'.')){
$name=substr($filename,0,$pos);
$ext=substr($filename,$pos);
}else{
$name=$filename;
... |
<div class="card card-success card-outline">
<div class="card-header p-2">
<div class="card-title">
{{ kapital($role->name) }}
</div>
<div class="card-tools">
<button type="button" class="btn btn-tool btn-sm" data-card-widget="collapse" data-toggle="tooltip" title="Collap... |
<?php
namespace App\Http\Controllers;
use Session;
use Stripe;
use App\Booking;
use App\Package;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
class BookingController extends Controller
{
/**
* Display a listing of the resource.
*
* ... |
<?php namespace App\Models;
use CodeIgniter\Model;
class Usuarios extends Model {
protected $table = 'wk_usuario';
public function obtenerUsuario(string $column, $value){
return $this->where($column, $value)->first();
}
}
?> |
<?php
/*
---------------------------------------
License Setup
---------------------------------------
Please add your license key, which you've received
via email after purchasing Kirby on http://getkirby.com/buy
It is not permitted to run a public website without a
valid license key. Please read the End User Licens... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Validation callback.
*
* @package PhpMyAdmin-Setup
*/
/**
* Core libraries.
*/
require './lib/common.inc.php';
$validators = array();
require './libraries/config/Validator.class.php';
header('Content-type: application/json');
$ids = PMA_isValid($_POST['id'... |
<?php
/*
* This file is part of the Witty Growth C.A. - J406095737 package.
*
* (c) www.mpandco.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace AlterPHP\EasyAdminExtensionBundle\Model\Tab;
/**
* Contenido de tab... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="/Public/home/css/home.register.css">
</head>
<body>
<div id="hbg">
<div class="container">
<div class="hheader"></div>
<div class="content">
<div... |
<!DOCTYPE html>
<html>
<head>
<title>Добавить товар</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="{{asset("j... |
@extends('layouts.app')
@section('title', "Configuracion")
@section('content')
<div class="col-md-12 col-md-offset-3">
<div class="d-flex justify-content-between align-items-end mb-2">
<h2 class="pb-1">
<i class="fas fa-cog" style=color:#505050></i>
Configuraciones... |
<?php
/**
* @author php
**/
define("ROOT", dirname(__FILE__));
$debug= false;
if($debug){
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
include "core/autoload.php";
ob_start();
session_start();
Core::$root="";
// si quieres que se muestre las consultas SQL debes dec... |
@extends('master')
@section('content')
{{--<div class="container">--}}
{{--<table class="table">--}}
{{--<div class="table-bordered">--}}
{{--<thead>--}}
{{--<th>First Name</th>--}}
{{--<th>Last Name</th>--}}
{{--<th>Email Address</th>--}}
{{--<... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Cont... |
<?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... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "consumer".
*
* @property string $consumer_id
* @property string $consumer_fname
* @property string $consumer_lname
* @property string $consumer_state
* @property string $consumer_pswd
* @property string $consumer_name
* @property ... |
<?php
namespace Tests\E2E\Services\Database;
use Tests\E2E\Client;
trait DatabaseBase
{
public function testCreateCollection():array
{
/**
* Test for SUCCESS
*/
$actors = $this->client->call(Client::METHOD_POST, '/database/collections', array_merge([
'content-typ... |
<?php
namespace backend\controllers;
/**
* This is the class for controller "NewsController".
*/
class NewsController extends \backend\controllers\base\NewsController
{
} |
<?php
session_start();
include "inc/functions/connection.php";
if(!isset($_SESSION["id_user"])){
header("location:index.php");
}
$id_user = $_SESSION["id_user"];
$conn = connect();
$sql = "SELECT sender FROM `messages` WHERE receiver = $id_user AND seen = 'n' group by sender";
if($q = mysqli_query($conn, $sql)){
... |
@extends('layouts.app')
@section('content')
<style>
hr {
margin-top: 1rem;
margin-bottom: 1rem;
border: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
</style>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div cl... |
<?php
if(isset($agentsList))
{
$dataset = &$agentsList[0];
}
else
{
$agentsList = false;
}
?>
<div class="be-module-container forms-view">
<div>
<div class="ui inter-menu">
<h2><?php echo $language -> string('MENU'); ?></h2>
<hr>
<ul>
<li><a class="darkblue" href="#user-agent"><?php echo $language -> ... |
<?php
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class M_Import extends CI_Model
{
function select()
{
$this->db->order_by('id', 'DESC');
$query = $this->db->get('pemasukan');
return $query;
}
function insert_pemasukan($data)
{
$this->db->insert_batch('pemasukan', $data... |
@extends('admin.layouts.master')
@section('title', 'Edit Category')
@section('content_header')
<h1>Edit Category</h1>
@stop
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-head... |
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Belajar disini cara mendapatkan penghasilan dari bursa saham Amerika. Anda bisa tahu kapan b... |
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Class HumanType
*
* @property int $id
* @property string $name
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @p... |
<?php
// funciones mySQLi
require ("models/connection_sqli.php");
class pedidosActivosModel extends Connection {
///////////////// ******** ---- getLugares ------ ************ //////////////////
// Consulta los departamentos y los devuelve en un array
// Actualiza el inventario.
// Como parame... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Carbon\Carbon;
class News extends Model
{
/**
* Table name.
*
* @var string
*/
protected $table = 'news';
/**
* PrimaryKey name.
*
* @var string
*/
protected $primaryKey = 'newsId';
/**
* Laravel's ... |
<?php
namespace App\Http\Controllers\Toko;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use App\Imports\AnggaranImport;
use App\Exports\AnggaranExport2;
use Maatwebsite\Excel\Facades\Excel;
use Illuminate\Support\Facades\Sto... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class APP_Core extends CI_Controller {
protected $_FOLDER = '';
protected $_tmp;
protected $_tmp_object = array(
'styles' => '',
'scripts' => '',
'content' => '',
'content_fullwidth' => '',
'sidebar' => ''
);
va... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Operation extends Model
{
use HasFactory;
protected $table = "operations";
protected $fillable = [
'id', 'code_operation', 'designation_operation', 'unite', 'soutrait... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Follow extends Model
{
public $table="follows";
protected $fillable=['trip_id','user_id'];
public function user(){
return $this->belongsTo('App\User');
}
public function trip(){
return $this->belongsTo('App\trip');
}... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CVRP - Nuevo Milenio</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="themes/images/ico/logo_cv... |
<div class="form-group pull-right">
<input type="text" class="search form-control" placeholder="What you looking for?">
</div>
<span class="counter pull-right"></span>
<table class="table table-hover table-bordered results">
<?php foreach($NewService as $ns){
$status = $ns->current_status;
} ?>
<thead>... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
class MembersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
for ($i = 0; $i < 10; $i++){
DB::table('members')... |
<?php
namespace RodrigoPedra\RecordProcessor\Contracts;
use Illuminate\Contracts\Support\Arrayable;
interface Record extends Arrayable
{
/**
* @param string $field
* @param string|null $default
* @return mixed
*/
public function get($field, $default = '');
/**
* @param stri... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<?php
namespace Intracto\SecretSantaBundle\Features\Context;
use Behat\MinkExtension\Context\MinkContext;
use Behat\Symfony2Extension\Context\KernelAwareContext;
use Symfony\Component\HttpKernel\KernelInterface;
class FeatureContext extends MinkContext implements KernelAwareContext
{
/**
* @var KernelInterf... |
<?php
namespace Modules\Student\Repositories;
interface StudentRepositoryInterface
{
public function create($studentData);
public function index();
public function edit($student_id);
public function Update($student_id,$studentdata);
public function StudentsInDivision($division_id);
public funct... |
<?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\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Order;
use Illuminate\Database\Eloquent\Relations\belongTo;
class Order extends Model
{
public function ingredient()
{
return $this->belongTo('App\Models\Ingredie... |
<?php
namespace app\lib\exception;
class UserAddressException extends BaseException
{
public $code = 404;
public $msg = '用户现住址不存在';
public $errorCode = 6000;
} |
<?php /* List file names & line numbers for all stack frames;
clicking these links/buttons will display the code view
for that particular frame */ ?>
<?php foreach ($frames as $i => $frame): ?>
<div class="frame <?php echo ($i == 0 ? 'active' : '') ?> <?php echo ($frame->isApplication() ? 'frame-app... |
<?php
/* @FOSUser/Resetting/request_content.html.twig */
class __TwigTemplate_0f30c0ca03654a7a1c1a9eb82472e06772a123fe68491fd00818dab96a8fefaa extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks =... |
<?php
use App\Http\Controllers\AccountController;
use App\Http\Controllers\AmbulanceController;
use App\Http\Controllers\Bed\BedAssignController;
use App\Http\Controllers\Bed\BedListController;
use App\Http\Controllers\Bed\BedTypeController;
use App\Http\Controllers\Billing\Advance\AdvancePaymentController;
use App\H... |
<section class="main-content-wrapper">
<section id="main-content">
<div class="row">
<div class="col-md-12">
<!--breadcrumbs start -->
<ul class="breadcrumb">
<li><a h... |
<?php
/**
* GetFeatureSkuResponse.
*
* PHP version 5
*
* @author Stefan Neuhaus / ClouSale
*/
/**
* Selling Partner APIs for Fulfillment Outbound.
*
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their invento... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\App;
class Page extends Model
{
public function menu()
{
return $this->hasMany(Menu::class);
}
public function images()
{
return $this->hasMany(Image::class);
}
public func... |
<?php
namespace app\admin\controller;
use think\Db;
class Order extends Common{
public function initialize(){
parent::initialize();
}
/*订单列表*/
public function order_list(){
$param = input('get.');
$where = array();
$where[] = ['order_status','=',2];
if(request()-... |
<?php
// src/PPCA/ParametreBundle/Entity/Image
namespace PPCA\ParametreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* @ORM\Entity(repositoryClass="PPCA\ParametreBundle\Repository\ImageRepository")
* @ORM\HasLifecycleCallbacks
*/
class Image
{
/**
... |
<?php
/** .-------------------------------------------------------------------
* | Software: [HDCMS framework]
* | Site: www.hdcms.com
* |-------------------------------------------------------------------
* | Author: 向军 <2300071698@qq.com>
* | WeChat: aihoudun
* | Copyright (c) 2012-2019, www.houdunw... |
<?php
return [
'title' => 'Etiketler',
'search' => 'Etiket Ara',
'all' => 'Tüm Etiketler',
'self' => 'Etiket',
'index' => 'Etiketleri Yönet',
'create' => 'Etiket Oluştur',
'created' => 'Etiket oluşturuldu.',
'edit' => 'Etiketi Düzenle',
'edited' => 'Etiket düzenlendi.',
'destro... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
<form class="form-h... |
<?php
namespace addons\cms;
use addons\cms\model\Archives;
use addons\cms\model\Channel;
use app\common\library\Auth;
use app\common\library\Menu;
use fast\Tree;
use think\Addons;
use think\exception\PDOException;
use think\Request;
use think\View;
/**
* CMS插件
*/
class Cms extends Addons
{
/**
* 插件安装方法
... |
<?php
class Cloudinary_Cloudinary_Model_Resource_Migration_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
{
protected function _construct()
{
$this->_init('cloudinary_cloudinary/migration');
}
} |
<div class="userlist bg-white" style="min-height:100vh;">
@foreach ($users as $user)
<!-- -->
<a href="{{ route('messagebox',['sender'=> $user->id,'reciever'=> Auth::user()->id]) }}" class="text-decoration-none" data-uuid="{{ $user->id }}">
<div class="ro... |
<?php
session_start();
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "food4all";
$con = new mysqli($servername, $username, $password, $dbname);
$orderID = $_SESSION['order-id'];
if (isset($_POST['check'])) {
unset($_SESSION['reviewed']);
}
if (isset($_POST['submit'... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Rkas extends CI_Controller {
public function index()
{
$this->load->view('supervisor/laporan/laporan_rkas');
}
} |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
*/
namespace Hyperf\Amqp\Annotation;
use Hyperf\Di\Annotation\AbstractAnnot... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:71:"C:\wamp\www\myproject\public/../application/admin\view\index\admin.html";i:1556697045;s:72:"C:\wamp\www\myproject\public/../application/admin\view\index\header.html";i:1556694313;s:72:"C:\wamp\www\myproject\public/../application/admin\view\index\footer.html";i:1556... |
<?php
declare(strict_types = 1);
namespace Graphpinator\ExtraTypes;
final class UrlType extends \Graphpinator\Typesystem\ScalarType
{
protected const NAME = 'Url';
protected const DESCRIPTION = 'Url type - string which contains valid URL (Uniform Resource Locator).';
public function __construct()
{
... |
<?php
use kartik\grid\GridView;
use yii\data\ArrayDataProvider;
$dataProvider = new ArrayDataProvider([
'allModels' => $model->patientDiagnoses,
'key' => 'id'
]);
$gridColumns = [
['class' => 'yii\grid\SerialColumn'],
['attribute' => 'id', 'visible' => false],
[
... |
@extends('frontend.index')
@section('content')
<!-- Header -->
<header class="register-header" style="background-image: url('{{it()->url(setting()->register_img)}}')">
<div class="overlay"></div>
<div class="container">
<div class="header-wrapper">
<h1 class="section-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.