text stringlengths 2 1.03M |
|---|
<?php
namespace Object\Table;
class Options extends \Object\Override\Data {
/**
* Column prefix
*
* @var string
*/
public $column_prefix;
/**
* Table default order as array
* Format:
* column 1 => asc or SORT_ASC
* column 2 => desc or SORT_DESC
*
* @var array
*/
public $orderby = [];
/*... |
<?php
use App\Company;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of y... |
<?php
namespace Nemundo\Package\Bootstrap\Carousel\Control;
use Nemundo\Html\Hyperlink\AbstractHyperlink;
use Nemundo\Html\Inline\Span;
abstract class AbstractBootstrapCarouselControlContainer extends AbstractHyperlink
{
/**
* @var string
*/
public $carouselId;
/**
* @var string
*/... |
<?php /*a:4:{s:87:"C:\phpStudy2018\PHPTutorial\WWW\tp5.1\application\admin\view\rbac\admin_permission.html";i:1540455151;s:82:"C:\phpStudy2018\PHPTutorial\WWW\tp5.1\application\admin\view\public\header_js.html";i:1540782757;s:92:"C:\phpStudy2018\PHPTutorial\WWW\tp5.1\application\admin\view\public\header_column_title.ht... |
<?php
include("db/import_db.php");
header('Content-type:application/xls');
header('Content-Disposition: attachment; filename=reporte.xls');
?>
<?php
$consultaCiudad=$_POST['Ciudad'] ?? '';
$consultaTipo = $_POST['Tipo'] ?? '';
$sql = "SELECT * FROM bienes WHERE Ciudad='".$consultaCiudad."' AND Tipo='".$consultaTipo."'... |
<?php
/* TwigBundle:Exception:traces.xml.twig */
class __TwigTemplate_2aa9961382cf1a31a248d0538f96e4a15e7a59d9de730e68a6e5516bd684a49e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class DocRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply... |
<?php
/**
* @file
* Contains \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest.
*/
namespace Drupal\Tests\block\Unit\Menu;
use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Tests block local tasks.
*
* @group block
*/
class BlockLocalTa... |
<?php
namespace Wallabag\ApiBundle\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://symfo... |
@extends('app')
@section('content')
<h1>Write a New Article</h1>
<br\>
<!-- {!!Form::open(['url'=>'articles'])!!}-->
{!! Form::model($article=new \App\Article,['url'=>'articles'])!!}
@include('articles.form',['submitButtonText'=>'Add Article'])
{!! Form::close()!!}
@include('errors.list')
@sto... |
<?php
namespace Laravolt\Suitable;
class Facade extends \Illuminate\Support\Facades\Facade
{
/**
* {@inheritDoc}
*/
protected static function getFacadeAccessor()
{
return 'laravolt.suitable';
}
} |
<?php
namespace dvizh\field\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\AccessControl;
class ToolsController extends Controller
{
public function behaviors()
{
return [
'access' => [
'class' => AccessControl::className(),
'rules' => [
... |
<?php
return [
'title' => 'Home',
]; |
<?php
/**
*
* @copyright 2008 - https://www.clicshopping.org
* @Brand : ClicShopping(Tm) at Inpi all right Reserved
* @Licence GPL 2 & MIT
* @licence MIT - Portion of osCommerce 2.4
* @Info : https://www.clicshopping.org/forum/trademark/
*
*/
namespace ClicShopping\Sites\ClicShoppingAdmin;
... |
<?php
// This file was auto-generated from sdk-root/src/data/synthetics/2017-10-11/paginators-1.json
return [ 'pagination' => [ 'DescribeCanaries' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'DescribeCanariesLastRun' => [ 'input_token' => 'NextToken', 'limit_key' =>... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Pardavimai extends Model
{
//
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ProjectSetting extends Model
{
use HasFactory;
/**
* @var array
*/
protected $fillable = [
'key',
'value',
'field',
'is_default',
... |
<?php
require('global.php');
class skin_boardrules
{
function skin_boardrules()
{
global $global;
$global = new skin_global;
}
function rules_page($rules)
{
global $icebb,$global;
$code = $global->header();
$code .= <<<EOF
<div class='borderwrap'>
<h2>{$icebb->lang['boardrules']}</h2>
<div ... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Reso... |
<?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2011 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Core;
/**
* Fieldset_Field class tests
*
* @group Core
* @group ... |
<?php
$username ="root";
$password ="";
$hostname = "localhost";
$database_name = "backend";
$con = mysqli_connect($hostname , $username, $password);
$selected = mysqli_select_db($con, $database_name);
$data[0] = $_GET['id_penerima'];
$data[1] = $_GET['nama_organisasi'];
$data[2] = $_GET['nama_penerima'];
$... |
<?php
/**
* Copyright 2017, Egor Burykin <c5.Jett@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Jett\JSONEntitySerializerBundle\Tests\Entity\Inheritance;
use Doctrine\Common\Collections\ArrayCollection;
use... |
<!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>Product Page - Admin HTML Template</title>
<link
rel="stylesheet"
href="https://fonts... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Acc_Proposal extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->library('template');
$this->load->helper('url');
$this->load->model('M_List_Proposal3', 'mahasiswa');
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class NewsSuggestions extends Model
{
use HasFactory,SoftDeletes;
protected $fillable = [
'name',
'image',
'content'... |
<?php
/**
* Remarkup prevents several classes of text-processing problems by replacing
* tokens in the text as they are marked up. For example, if you write something
* like this:
*
* //D12//
*
* It is processed in several stages. First the "D12" matches and is replaced:
*
* //\11Z//
*
* Now the italics... |
<?php
namespace Utility;
return array(
'router' => array(
'routes' => array(
'home' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(
'route' => '/',
'defaults' => array(
'contr... |
<!-- Default Size -->
<div class="modal fade" id="modalnotadinasshow" role="dialog" aria-hidden="true" data-backdrop="static">
<div class="modal-dialog" role="document">
<form id="form-input" class="form-horizontal" data-toggle="validator" method="post">
{{ csrf_field() }} {{ method_field('POST') }}... |
<?php
namespace app\data\controller;
use app\data\service\OrderService;
use app\data\service\UserService;
use think\admin\Controller;
/**
* 订单发货管理
* Class ShopOrderSend
* @package app\data\controller
*/
class ShopOrderSend extends Controller
{
/**
* 绑定数据表
* @var string
*/
private $table = ... |
@extends('layouts.app')
@section('content')
@component('particals.jumbotron')
<h3>{{ lang('Tags') }}</h3>
<h6>{{ lang('Tags Meta') }}</h6>
@endcomponent
<div class="container">
<div class="row">
@forelse($tags as $tag)
<div class="col-md-3 text-center">... |
<!DOCTYPE html>
<html lang="en">
<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">
<title>Administration interface</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/l... |
<div class="card mini-stats-wid">
<div class="card-body">
<div class="media">
<div class="media-body">
<p class="text-muted fw-medium">{{ $title }}</p>
<h4 class="mb-0">1,235</h4>
</div>
<div class="mini-stat-icon avatar-sm rounded-circle ... |
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 2.3.7
</div>
<strong>Copyright © 2014-2016 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights
reserved.
</footer>
<!-- Control Sidebar -->
<aside class="control-sidebar control-side... |
<?php
namespace backend\models\search;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\ProjectUser;
/**
* ProjectUserSearch represents the model behind the search form of `backend\models\ProjectUser`.
*/
class ProjectUserSearch extends ProjectUser
{
/**
* {@inheritdoc}
*/
... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Support\Facades\Storage;
use JetBrains\PhpStorm\ArrayShape;
class SettingResource extends JsonResource
{
/**
* Transform the resource into an array.
*/
#[ArrayShape(['club_name' => "mixed", 'club_log... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use App\Role;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\Request;
use Illuminate\... |
<?php
namespace frontend\models;
use yii\behaviors\SluggableBehavior;
use yii\data\ActiveDataProvider;
use yii\db\ActiveRecord;
use Yii;
/**
* This is the model class for table "holiday".
*
* @property integer $id
* @property string $date
* @property string $description
* @property string $createdby
* @proper... |
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2018 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined ('JPATH_BASE') or die();
$app = JFactory::getApplication();
// JLayout for standard han... |
<?php
namespace Oro\Component\MessageQueue\Job;
use Oro\Component\MessageQueue\Exception\JobNotFoundException;
use Oro\Component\MessageQueue\Exception\JobRuntimeException;
use Oro\Component\MessageQueue\Exception\StaleJobRuntimeException;
use Oro\Component\MessageQueue\Job\Extension\ExtensionInterface;
/**
* Provi... |
<?php
namespace App\Providers;
use App\Actions\Fortify\CreateNewUser;
use App\Actions\Fortify\ResetUserPassword;
use App\Actions\Fortify\UpdateUserPassword;
use App\Actions\Fortify\UpdateUserProfileInformation;
use App\Models\Admin;
use App\Models\Editor;
use App\Models\User;
use Illuminate\Cache\RateLimiting\Limit;
... |
<?php
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wizGrade V 1.2 (Formerly SDOSMS) is Designed & Developed by Igweze Ebele Mark | https://www.iem.wizgrade.com
https://www.wizgrade.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
<?php
namespace App\Models;
use App\Models\Jabatan;
use App\Models\Pangkat;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authentic... |
<?php
/**
* [WeEngine System] Copyright (c) 2014 WE7.CC
* WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
*/
$input = file_get_contents('php://input');
if (preg_match('/(\<\!DOCTYPE|\<\!ENTITY)/i', $input)) {
exit('fail');
}
libxml_disable_entity_loader(tru... |
<?php
declare(strict_types=1);
namespace Orchid\Screen\Layouts;
use Orchid\Screen\Repository;
/**
* @deprecated
*
* Class Modals.
*/
abstract class Modals extends Base
{
public const SIZE_LG = 'modal-lg';
public const SIZE_SM = 'modal-sm';
public const TYPE_CENTER = '';
public const TYPE_RIGHT ... |
<?php declare(strict_types=1);
View::show_header('Locked Account');
?>
<div class="header">
<h2>Locked Account</h2>
</div>
<?php if (STAFF_LOCKED == G::$LoggedUser['LockedAccount']) { ?>
<div class="box pad">
<p>Your account has been locked. Please send a <a href="staffpm.php">Staff PM</a> to find out how this ... |
<?php
/*
** Zabbix
** Copyright (C) 2001-2016 Zabbix SIA
**
** This program 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 2 of the License, or
** (at your option) any later version.
**
** Th... |
<?php
$pos = strrpos($this->pad->path, '.');
$ext = ( $pos ) ? substr($this->pad->path, $pos + 1 ) : '';
if( in_array( $ext, array('jpg', 'png', 'gif') ) ){
return $this->dispatch($this->dir->VIEW . 'scratchpad/addimageform');
}
$use_rte = ( $this->session && $this->session->use_rte ) ? TRUE : FALSE;
$body = $this... |
<?php
/**
*
* Simple Restful Framework
* @version 1.0
*
* Created By Samuel Izuchi Amaziro
* Copyright 2014 Plati Tech Limited, All Rights Reserved
*/
namespace model;
class Database {
private $dbName;
private $dbUsername;
private $dbPassword;
private $dbDriver;
private $host;
private... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
</h2>
</x-slot>
<div class="py-12">
<div class="main-content flex-1 bg-gray-100 mt-12 md:mt-2 pb-24 md:pb-5">
<div class="flex flex-wrap">
<div c... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_Pegawai extends CI_Model
{
var $table = 'm_pegawai';
var $column_search = ['m_pegawai.kode','m_jabatan.nama','m_pegawai.nama', 'm_pegawai.alamat', 'm_pegawai.telp_1', 'm_pegawai.telp_2', 'status_aktif', 'owner'];
var $column_order = [
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMomentCollectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('moment_c... |
@extends('layouts.master')
@section('content')
<ol class="breadcrumb">
<li>
<a href="javascript:;"><i class="ti-home mr5"></i></a>
</li>
<li>
<a href="{!! url('pinjaman') !!}">Pinjaman</a>
</li>
<li class="active">Realisasi Pinjaman</li>
</ol>
... |
<x-guest-layout>
<div class="guest__welcome col-span-2 lg:col-span-1">
<div class="flex flex-col justify-center py-28 px-10 lg:px-16 mr-0 ml-0 lg:ml-auto text-white">
<h1 class="text-3xl sm:text-5xl font-semibold mb-6">
¡Bienvenido!
</h1>
<p class="mb-5">... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
use Ramsey\Uuid\Uuid;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table(... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTokensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tokens', functio... |
<?php
/**
* This file is part of the Bono CMS
*
* Copyright (c) No Global State Lab
*
* For the full copyright and license information, please view
* the license file that was distributed with this source code.
*/
namespace Forum\Service;
use Krystal\Stdlib\ArrayUtils;
use Krystal\Stdlib\VirtualEntity;
use ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
/**
* This file is part of the Eki-NRW package.
*
* (c) Ekipower
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Eki\NRW\Component\Relating\Relation;
use Eki\NRW\Common\Relations\Relation as BaseRelation;
use Eki\NRW\Common\Res... |
<?php
return array(
'is_close' => array(
'title' => '开启消息模板',
'type' => 'radio',
'options' => array(
0 => '开启',
1 => '关闭'
),
'value' => '0',
'tip' => ''
),
'libaoling' => array(
'title' => '礼包领取通知 模板ID',
'type' => 'text'... |
<?php
namespace App\Http\Controllers\editor;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Brian2694\Toastr\Facades\Toastr;
use App\Slider;
use File;
class SliderController extends Controller
{
public function add(){
return view('backEnd.slider.add');
}
public function store(Re... |
@extends('layouts.admin')
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card shadow">
<h3 class="card-header">Товары <a href="{{ route('products.create') }}"
class="btn btn-sm btn-outline-primary float... |
<?php
namespace App\Test\Integration\Post;
use App\Test\Traits\AppTestTrait;
use App\Test\Fixture\PostFixture;
use App\Test\Fixture\UserFixture;
use Fig\Http\Message\StatusCodeInterface;
use Odan\Session\SessionInterface;
use PHPUnit\Framework\TestCase;
use Selective\TestTrait\Traits\DatabaseTestTrait;
use Selectiv... |
<?php
$id=$_GET['idSearch'];
if ($id=='saya') {
echo '<div class="breadcrumbs"></div>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="blog-left wow fadeInLeft">
<div class="blog-img">
<img src="img/blog/img8.jpg" alt=""/>
</div>
<div... |
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12">
<div class="col-12">
<div class="card-header">
<a href="<?=base_url("");?>" class="btn btn-info float-right btn-sm"><i class="fas fa-backward"></i> Kembali</a>
</div>
<?php $this->lo... |
<?php
namespace Database\Factories;
use App\Models\Group;
use Illuminate\Database\Eloquent\Factories\Factory;
class GroupFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Group::class;
/**
* Define the model's de... |
<?php
/* @Twig/Exception/exception_full.html.twig */
class __TwigTemplate_80ba2d5a794e40b51b63e6e7e3db8fee972f199129af5e4aacb5c18136fe6005 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTempla... |
<?php $__env->startSection('content'); ?><p>For quite a long time, Francis Ngannouc has been considered to be the UFC's exceptional whiz name, the man that is equipped for contacting the edges of the Earth in a manner that main Conor McGregor has done before him.</p>
<p>On Saturday night, Ngannou's excursion with the ... |
<?php declare(strict_types=1);
/**
* SvenSchrodt\PhPlay\BinaryArithmetic\Factory - Class
*
* creating Bits, Nibbles, BitSequences, Bytes, Words, DWords etc...
* based on instanceof of SvenSchrodt\PhPlay\BinaryArithmetic\Entity
*
* @package PhPlay
* @author Sven Schrodt<sven@schrodt-service.net>
* @link https://... |
<?php
/**
* Simple and uniform HTTP request API.
*
* Will eventually replace and standardize the WordPress HTTP requests made.
*
* @link http://trac.wordpress.org/ticket/4779 HTTP API Proposal
*
* @package WordPress
* @subpackage HTTP
* @since 2.7.0
*/
/**
* Returns the initialized WP_Http Object
*
* @sin... |
<?php
namespace App\Services\ContentRelevantService\RelevantHandlers;
/**
* Interface Handler
* @package App\Services\ContentRelevantService\RelevantHandlers
*/
interface Handler
{
/**
* @param Handler $handler
* @return Handler
*/
public function setNext(Handler $handler): Handler;
/... |
<?php
/**
* The default template for displaying post meta.
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Get meta sections
$sections = oceanwp_blog_entry_meta();
// Return if sections are empty
if ( empty( $sections ) ) {
return;
} ?>
<?php do_... |
<?php
namespace Composer;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'aliases' =>
array (
),
'reference' => '755536e5a538a18f9e0cbd733844c6b6a4... |
@extends('master')
@section('content')
<div class="box box-primary">
@if(session('message'))
<br>
<div class="alert alert-success">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> {{ session('message') }}.
</div>
@endif
<!-... |
<?php
/**
* Created by ra on 5/14/2015.
*/
td_demo_media::add_image_to_media_gallery('td_pic_1', "http://demo_content.tagdiv.com/Newspaper_6/blog_fitness/1.jpg");
td_demo_media::add_image_to_media_gallery('td_pic_2', "http://demo_content.tagdiv.com/Newspaper_6/blog_fitness/2.jpg")... |
<?php
require 'config.php';
if (isset($_GET['id'])) {
$tempID= $_GET['id'];}
//echo $tempID;
$query = "UPDATE users SET userlevel = -420 WHERE id = $tempID;";
$db->query($query);
header( "Location: adminPage.php" );
?> |
<style type="text/css">
.font-weight-bold{font-weight: bold!important;}
</style>
<div class="row">
<div class='col-12 col-sm-12 col-md-12'>
</div><br><br>
</div>
<!-- start: page -->
<div class="row">
<div class="col-12 col-sm-12 col-md-12">
<section class="panel col-12 col-sm-12 col-md-12">
<div class="pa... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\LotsRequest;
use App\Models\Lot;
use App\Models\Medicine;
use Illuminate\Http\Request;
class LotsController extends Controller
{
function index($data = null)
{
// dd($data);
$medicines = Medicine::all();
$lots = Lot::all();
... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use App\Models\Role;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema:... |
<?php
header("Content-Type:application/json");
require_once("../conn.php");
$username = $_POST['username'];
$password2=$_POST['password2'];
$result = mysqli_query($conn,"select * from table_admin where username='$username'");
if($row=mysqli_fetch_array($result)){
mysqli_query($conn,"update table_admin set password=... |
<!doctype html>
<html><!-- InstanceBegin template="/Templates/dwt.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>谋刻职业教育在线测评与学习平台</title>
<link rel="stylesheet" href="/css/course.css"/>
<link rel="stylesheet" href="/css/member.css"/>
<script s... |
<?php
namespace Phalcon\Http {
/**
* Phalcon\Http\Response
*
* Part of the HTTP cycle is return responses to the clients.
* Phalcon\HTTP\Response is the Phalcon component responsible to achieve this task.
* HTTP responses are usually composed by headers and body.
*
*<code>
* $response = new Phalcon\... |
<div class="game">
<div class="relative inline-block">
<div class="bg-gray-800 w-52 h-72"></div>
</div>
</div> |
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class CategoryFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name'=> $this->faker->word(),
... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- start: Meta -->
<meta charset="utf-8">
<title>Bootstrap Metro Dashboard by Dennis Ji for ARM demo</title>
<meta name="description" content="Bootstrap Metro Dashboard">
<meta name="author" content="Dennis Ji">
<meta name="keyword" content="Metro, Metro UI, Dashboard, ... |
<div class="panel panel-default" ng-cloak>
<div class="panel-body">
<h4 class="panel-header">EMPLOYEE REQUEST FORM</h4>
<hr>
<?php count($approvers); if (count($approvers) == 0)
{ ?>
<div class="callout callout-danger">
<h4><i class="icon fa fa-warning"></i> No Assigned Approvers</h4>
... |
@include('app::public.partials.header')
<main class="w-100 h-100vh ">
<div class="row my-5 d-flex align-items-center ">
<div class="col-12 col-sm-9 col-md-7 col-lg-5 col-xl-4 mx-auto">
<div class="card">
<div class="card-body py-4">
@if (session('status'))
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Queue extends Model
{
use HasFactory;
protected $fillable = [
'name',
'time'
];
public function customer()
{
return $this->belongsToMany('App\... |
<a name="featuredin"></a>
<div class="featuredin" id="partnerdiv">
<h2>Featured in</h2>
<div class="partners">
<a href="https://www.nature.com/articles/d41586-021-02346-4" target="_blank"><img src="./img/featuredin/nature_logo.png" alt="Nature"></a>
<a href="https://www.trend.at/branche... |
<header class="contain-to-grid">
<!-- Starting the Off-Canvas Wrap -->
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<div class="fixed">
<nav class="header"></nav>
<a class="right-off-canvas-toggle" href="#" >
<div class="menu">
<div class="top-bar"></div>
<div cl... |
@extends('app')
<?php
use App\Models\Project;
$project = Project::find(Session::get('project_id'));
?>
@section('content')
<div class="panel panel-default">
<div class="panel-heading">
New Report for <b>{{ $project->name }}</b>
</div>
<form class="form-horizontal" method="POST" action="{{ url('report/store') }... |
<?php
namespace Modules\Account\Repositories;
interface CashbookRepositoryInterface
{
public function search_credit($date);
public function search_debit($date);
public function search($previous_date);
} |
<?php //echo "<pre>";print_r($report_array);die(); ?>
<link rel="stylesheet" media="all" type="text/css" href="http://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" media="all" type="text/css" href="<?php echo base_url()?>assets/css/jquery-ui-timepicker-addon.css" />
<script type="... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/Rich/code/websites/grav-test/user/plugins/form/blueprints.yaml',
'modified' => 1493030082,
'data' => [
'name' => 'Form',
'version' => '2.5.0',
'description' => 'Enables the forms handling',
... |
<?php
namespace ContainerHUIVWPo;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getTemplateControllerService ext... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAccountsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('accounts', fun... |
<div class="modal-content">
<div class="modal-header bg-tomato text-white">
<h5 class="modal-title">Cortar imagem de perfil</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<for... |
<?php
declare(strict_types=1);
namespace Rector\BetterPhpDocParser\Printer;
use Nette\Utils\Strings;
use PHPStan\PhpDocParser\Ast\Node;
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode;
use Rector\AttributeA... |
<?php
namespace AlibabaCloud\Green\V20180509;
use AlibabaCloud\Client\Resolver\ApiResolver;
/**
* @method AddVideoDna addVideoDna(array $options = [])
* @method AddVideoDnaGroup addVideoDnaGroup(array $options = [])
* @method DeleteVideoDna deleteVideoDna(array $options = [])
* @method DeleteVideoDnaGroup delete... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class StockAlert extends Model
{
use HasFactory;
protected $table = 'stock_alerts';
protected $guarded = [];
public $timestamps = false;
public function product(){
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.