text stringlengths 2 1.03M |
|---|
<?php
include '../cine.class.php';
$web = new Rol;
$template = $web->templateEngine();
$template->setTemplateDir('../templates/admin/');
$template->assign('titulo', 'CM-Administrador');
if (isset($_GET['accion'])) {
switch ($_GET['accion']) {
case 'form_nuevo':
$template->display('form_rol.html');
... |
<?php
declare(strict_types=1);
namespace Rector\Defluent\Rector\Return_;
use PhpParser\Node;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Stmt\Return_;
use Rector\Defluent\Rector\AbstractFluentChainMethodCallRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\Code... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Sugerencia;
class SugerenciaController extends Controller
{
public function __construct(){
$this->middleware('auth');
}
/**
* Display a listing of the resource.
*
* ... |
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by Sales... |
<?php
namespace Skeleton\Infrastructure\Slim\Handler;
use PHPUnit\Framework\TestCase;
use Tuupola\Http\Factory\RequestFactory;
use Tuupola\Http\Factory\ResponseFactory;
class NotAllowedHandlerTest extends TestCase
{
public function testShouldBeTrue()
{
$this->assertTrue(true);
}
public funct... |
<?php
namespace App\Exceptions;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\RedirectRespo... |
@extends('layout.plain')
@section('title')
HR Management Login
@endsection
@section('content')
<div class="login-box">
<!-- /.login-logo -->
<div class="card card-outline card-primary">
<div class="card-header text-center">
<a style="font-size: 20px;" href="" class="... |
@extends($class::getLayout())
<?php $fileCount=0 ?>
@section('script')
<link rel="stylesheet" href="{{asset('assets/js/vendor/touchspin/jquery.bootstrap-touchspin.min.css')}}">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
@endsection
@section('end_script')
@endsection
@s... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h5 class="m-0 text-dark"><i class="<?= @$menu['icon'] ?>"></i> <?=... |
@if ($paginator->hasPages())
<ul class="pagination" role="navigation">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
<span class="page-link" aria-hidden="true">上一... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => '127.0.0.1',
'username' => 'root',
'password' => '',
'database' => 'diez_en_ocho',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' =>... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WorkbookWorksheetProtection File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights r... |
@extends('back-end.layout.app')
@section('title')
{{ $pageTitle }}
@endsection
@section('content')
@component('back-end.layout.header')
@slot('nav_title')
{{ $pageTitle }}
@endslot
@endcomponent
@component('back-end.shared.edit' , ['pageTitle' => $pageTitle , 'pageDes' =>... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Requesttarif */
$this->title = 'Обновление заявки: ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Заявки на смену тарифного плана', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model... |
@php
if(empty($contract->job_proposals_count)){
$contract->job_proposals_count = getJobProposalsCount($contract->id);
}
@endphp
<div class="details-all-show jb-dtl-skip">
<div class="body-dtlds">
<div class="bordr-frts jb-dtl-pd">
<h1> Offer Terms: </h1>
<div cla... |
<?php
namespace app\index\controller;
use think\Db;
use think\Controller;
use think\Request;
use think\exception\DbException;
class Search extends Controller
{
public function index()
{
$search = db('search')->order('id', 'desc')->select();
// foreach ($search as $k => $v) {
// $... |
@extends('layouts.admin.backend')
@section('content')
<div class="well">
<br />
@if (\Session::has('success'))
<div class="alert alert-success">
<p>{{ \Session::get('success') }}</p>
</div><br />
@endif
<table class="table">
<thead>
<tr>
<th>id</th>... |
<nav class="navbar navbar-top navbar-expand-md navbar-dark" id="navbar-main">
<div class="container-fluid">
<!-- Brand -->
<a class="h4 mb-0 text-white text-uppercase d-none d-lg-inline-block" href="/user_profile">
<h2 class="text-white">HR PORTAL</h2>
</a>
<!-- Us... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<div class="starter-template">
<div class="card card-container">
<!--Printing the success message for the request -->
<p><?php
if (isset($statusInsert)) {
echo alertMsg($statusInsert,' Your request was made','You have alread... |
<?php include("include/header.php");?>
<?php include("include/database.php"); ?>
<?php include("include/navigation.php"); ?>
<?php
if(!isset($_SESSION['status'])){
header("Location: ../../index.php");
}
?>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap... |
<?php
declare(strict_types=1);
namespace Ecodev\Felix\Api\Scalar;
final class TokenType extends AbstractStringBasedType
{
/**
* @var string
*/
public $description = 'A user token is an lowercase hexadecimal string of 32 characters.';
/**
* Validate a token.
*
* @param mixed $val... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class SellRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the v... |
<?php
/**
* @link http://www.tintsoft.com/
* @copyright Copyright (c) 2012 TintSoft Technology Co. Ltd.
* @license http://www.tintsoft.com/license/
*/
namespace XuTL\QCloud\Cmq\Requests;
use XuTL\QCloud\Cmq\Http\BaseRequest;
/**
* Class DeleteQueueRequest
* @package XuTL\QCloud\Cmq\Requests
*/
class DeleteQue... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; 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="">
<meta name="author" con... |
<?php
class Ble422_Form_Dynamic extends Zend_Form {
private $dynamicElements = array();
private $forSearch = false;
//adds elements to array
//uses form element types from attribute descriptor
//uses option list from value list
//uses special form element types for search corresponding to attribute descript... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\TWC\Models;
use AlibabaCloud\Tea\Model;
use AntChain\TWC\Models\TsrResponse;
class CreateInternalTransResponse extends Model {
protected $_name = [
'reqMsgId' => 'req_msg_id',
'resultCode' => 'result_code',
'... |
<?php
/**
* Scripts and stylesheets
*
* Enqueue stylesheets in the following order:
* 1. /theme/css/bootstrap.css
* 2. /theme/css/bootstrap-responsive.css (if enabled in config.php)
* 3. /theme/css/app.css
* 4. /child-theme/style.css (if a child theme is activated)
*
* Enqueue scripts in... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$a... |
<div class="page feed-page">
<div class="area sub-wrapper">
<div class="grid-section">
<!-- heading -->
<div class="col-m col-12">
<div class="col-m col-12 content-heading">
<h2><?=language::invokeOutput('header');?></h2>
<p cla... |
@extends('layouts.app2')
@section('content')
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</section>
<!-- Main content -->
<section class="content">
<!-- Small boxes (Stat box) -->
@if (Session::has('customer_delete_messag... |
<div class="form-group col-sm-6">
{!! Form::label('barang_id', 'Harga Beli:') !!}
{!! Form::select('barang_id',$barang, null, ['class' => 'form-control']) !!}
</div>
<div class="form-group col-sm-6">
{!! Form::label('harga_beli', 'Harga Beli:') !!}
{!! Form::text('harga_beli', null, ['class' => 'form-c... |
<!--
=========================================================
Paper Kit 2 - v2.2.0
=========================================================
Product Page: https://www.creative-tim.com/product/paper-kit-2
Copyright 2019 Creative Tim (https://www.creative-tim.com)
Licensed under MIT (https://github.com/creativetimo... |
<?php
namespace Flashtag\Admin\Http\Requests;
class CategoryCreateRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'required|unique:categories|max:255',
];
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Start your development with a Dashboard for Bootstrap 4.">
<meta name="author" content="Creative Tim">
<title>Abpon | Thailandpages</ti... |
@extends('layouts.app')
@section('title', 'Ley N° 18.834')
@section('content')
@include('indicators.partials.nav')
<h3 class="mb-3">SERVICIO DE SALUD IQUIQUE
<small>
- Cumplimiento : @numero(
$data13['aporte'] +
$data15['aporte'] +
$data18['aporte'] +
$data12[... |
@extends('layouts.layout')
@section('banner-img','/assets/mojave_bg.jpg')
@section('banner-content')
@if (empty($posts))
<h1 class="text-white text-3xl text-center">No Such User!</h1>
<a href="/login" class="mt-5 px-5 py-2 bg-gray-500 bg-blend-overlay text-white outline-none hover:bg-gray-600">
Join Now... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Daftar Siswa</div>
<div class="card-body">
@if (session('status'))... |
<x-app-layout>
<header class="bg-white shadow">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<h1 class="text-3xl font-bold text-gray-900">PLATAFORMA PREMIUM</h1>
</div>
</header>
<main>
<div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<!-- Rep... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12 col-md-offset-0">
<div class="panel panel-success">
<div class="panel-heading">User Profile
</div>
<div class="panel-body te... |
@extends('layouts.app')
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Contact Do... |
<?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\Debug\Tests\Exception;
use PHPUnit\Framework\TestCase... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Core\Repository;
use Sylius\Component\Core\Model... |
@extends('layouts.indukhome')
@section('content')
<!-- fOOD sEARCH Section Starts Here -->
<section class="food-search text-center">
<div class="container">
<form action="{{ url('menus') }}" method="GET">
<input type="search" name="s" value="@if($s && $s != ''){{ $s }}@endif" placeholder="Searc... |
@extends('layouts.master')
@section('title', 'Homepage')
@section('sidebar')
@include('creator.sidebar')
@endsection
@section('navigation')
@include('layouts.navigation')
@endsection
@section('content')
<div class="content">
<div class="container-fluid">
<div class="row">
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Documentos totales: {{$counts}} </div>
<div class="panel-body">
... |
@section('css')
@include('Carrier.layouts.datatables_css')
@endsection
<div class="col-md-12">
{!! $dataTable->table(['width' => '100%','class' => 'table table-bordered table-hover dataTable']) !!}
</div>
@section('scripts')
@include('Carrier.layouts.datatables_js')
{!! $dataTable->scripts() !!}
@ends... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateApprenticeDutiesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appren... |
<div class="content-wrapper">
<section class="content">
<div class="row">
<section class="col-lg-12 connectedSortable padding-lr0">
<div style="background-color: #ecf0f5; min-height: 932px">
<div class="rowedit3">
<?php if(count($templates) >0)
{
foreach ($templates as $row) {
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\MonthlyCost */
$this->title = 'Update Monthly Cost: ' . ' ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Monthly Costs', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', '... |
@extends('front.master')
@section('title','Cart Summary')
@section('content')
<style type="text/css">
th
{
background-color:#00868B!important;
}
.c
{
background-image: linear-gradient(to right,#69d6d6,#1e3131)!important;
}
@media(max-width: 700px)
{
.col-8
... |
<?php namespace Modules\Media\Sidebar;
use Maatwebsite\Sidebar\Group;
use Maatwebsite\Sidebar\Item;
use Maatwebsite\Sidebar\Menu;
use Modules\Core\Contracts\Authentication;
class SidebarExtender implements \Maatwebsite\Sidebar\SidebarExtender
{
/**
* @var Authentication
*/
protected $auth;
/**
... |
<?php
namespace backend\models\search;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\Usuario as UsuarioModel;
/**
* Usuario represents the model behind the search form about `app\modules\crud\models\Usuario`.
*/
class Usuario extends UsuarioModel
{
/**
* @inheritdoc
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... |
--TEST--
MD5 / Base64
--FILE--
<?php
function test($str) {
$res = md5(base64_decode(base64_encode($str)))."\n";
return $res;
}
echo test("");
echo test("a");
echo test("abc");
echo test("message digest");
echo test("abcdefghijklmnopqrstuvwxyz");
echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567... |
<?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... |
<div class="container-fluid">
<h4>Keranjang Belanja</h4>
<table class="table table-border table-striped table-hover">
<tr>
<th>No</th>
<th>Nama Produk</th>
<th>Jumlah</th>
<th>Harga</th>
<th>Subtotal</th>
... |
<?= $this->extend('layout/template'); ?>
<?= $this->section('content'); ?>
<main>
<section style="margin-bottom: 100px;">
<div class="container produk">
<div class="row mt-md-5 mt-0">
<div class="col-md-1"></div>
<div class="col-md-5">
<img sr... |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:75:"D:\WWW\servercopy\ssh\public/../application/admin\view\auth\jobs\index.html";i:1627021774;s:64:"D:\WWW\servercopy\ssh\application\admin\view\layout\default.html";i:1627021771;s:61:"D:\WWW\servercopy\ssh\application\admin\view\common\meta.html";i:1627021770;s:63:"D:... |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Filter;
defined('JPATH_PLATFORM') or die;
use Joomla\Filter\OutputFilter as ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['pagination_first_link'] = '‹ Pertama';
$lang['pagination_next_link'] = '>';
$lang['pagination_prev_link'] = '<';
$lang['pagination_last_link'] = 'Terakhir ›'; |
<?php
Class Conexao extends Config{
private $host, $user, $senha, $banco;
protected $obj, $itens=array(), $prefix;
public $paginacao_links, $totalpags, $limite, $inicio;
function __construct(){
$this->host = self::BD_HOST;
$this->user = self::BD_USER;
$this->senha = self::BD_SENHA;
$this->banco = se... |
<div class="container-fluid">
<div class="row">
<h1>Deposit and Withdrawal Management</h1>
<div class="form-group">
<div class="col-xs-2">
<label for="dept">Select Department:</label>
<div class='input-group' id='dept' >
<select class... |
<div class="page-title">Browsing via HTTP Forbidden</div>
<div> </div>
<table style="margin-left:auto; margin-right:auto;">
<tr id="id-bad-page-tr">
<td colspan="2" class="error-message">
Mutillidae is currently running in a high-security mode and SSL is enforced.
Browsing to non-SSL (HTTP) pages is not ... |
@section('title','System Upgrade')
<div>
<x-baseview title="System Update">
<div class="grid grid-cols-1 gap-6 mt-10 md:grid-cols-2 lg:grid-cols-3">
{{-- update --}}
<x-settings-item title="Update System" wireClick="upgradeAppSystem" >
<x-heroicon-o-cloud-upload cl... |
<!-- Logo Header -->
<div class="logo-header" data-background-color="blue">
<a href="index.html" class="logo">
<img src="<?php echo base_url('assets/img/logo.svg') ?>" alt="navbar brand" class="navbar-brand">
</a>
<button class="navbar-toggler sidenav-toggler ml-auto" type="button" data-toggle=... |
<?php
namespace Payum\Payex\Action;
use Payum\Core\Action\PaymentAwareAction;
use Payum\Core\Bridge\Spl\ArrayObject;
use Payum\Core\Request\Capture;
use Payum\Core\Exception\RequestNotSupportedException;
use Payum\Core\Request\GetHttpRequest;
use Payum\Payex\Request\Api\StartRecurringPayment;
use Payum\Payex\Request\A... |
<!DOCTYPE html>
<html>
<head>
<title>聚吧</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="It's a wei-mall list page!">
<link rel="styleshe... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = strip_tags(htmlspecialchars($_P... |
<?php
// +----------------------------------------------------------------------
// | 后台权限检测中间件
// +----------------------------------------------------------------------
// | Author: asuma(lishuaiqiu) <sqiu_li@163.com>
// +----------------------------------------------------------------------
// | Time: 2019-05-06
// ... |
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card card-outline" style="background-color:#2D5E89; color:#fff;">
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/static/bootstrap.min.css">
<script src='/static/jquery-2.2.1.min.js'></script>
<title> Black Box </title>
<script type="text/javascript">
function getParameterByName(name, url) {
if (!url)... |
<?php
/*
* The MIT License
*
* Copyright (c) 2010 Johannes Mueller <circus2(at)web.de>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without lim... |
@extends('layouts.app')
@section('content')
<div class="container bg-light p-3">
<h1>My Bookings List</h1>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Book Date</th>
<t... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Purchase extends Model
{
use HasFactory;
protected $fillable = [
'medicine_id',
'quantity',
'tb_price',
'bp_per_qty',
'sp_per_qty',
... |
<!-- Student Id Field -->
<div class="form-group">
{!! Form::label('student_id', 'Student Id:') !!}
<p>{{ $busStudent->student_id }}</p>
</div>
<!-- Bus Id Field -->
<div class="form-group">
{!! Form::label('bus_id', 'Bus Id:') !!}
<p>{{ $busStudent->bus_id }}</p>
</div> |
<?php
namespace App\Models;
use App\Entities\Weather;
use CodeIgniter\Model;
class WeatherModel extends Model
{
protected $table = 'weather';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $insertID = 0;
protected $returnType = Weather::... |
<!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>
<link href="{{ asset('/bootstrap.css') }}" type="text/css" rel="stylesheet">
</head>
<b... |
<?php
return [
'language' => 'zh-CN',
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mys... |
<?php
/**
* Created by PhpStorm.
* User: sogu
* Date: 2018/6/7
* Time: 下午1:48
*/
namespace app\api\controller;
use think\Cache;
use think\Db;
use think\Request;
use think\controller;
use app\api\controller\Api;
use app\api\model\NewIndex as NewIndexModel;
use app\cron\controller\NewsPaper;
use app\common\model\N... |
@extends('layout')
@section('content')
<div id="app" class="appavatar">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="bg_div_upper">
</div>
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace Thecodebunny\eBayApi\Trading\Enums;
class ProPackCodeType
{
const C_CUSTOM_CODE = 'CustomCode';
... |
<?php
unset($error);
if(empty($_FILES)) {
echo "{";
echo "error: 'กรุณาเลือกไฟล์',\n";
echo "msg: ''\n";
echo "}";
} else {
$pathname = "uploads/contents";
if(!empty($_FILES["file"])) {
$x = pathinfo($_FILES["file"]["name"]);
$ext = $x["extension"];
$filename = date('YmdGis').".{$ext}";... |
<?php
/*
* This file is part of the Active Collab DatabaseConnection.
*
* (c) A51 doo <info@activecollab.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
declare(strict_types=1);
namespace ActiveCollab\DatabaseConnection\Connection;
use A... |
<?php
//error_reporting(0);
include_once('../entidades/categoria_producto.php');
include_once('../datos/dt_categoria_producto.php');
$cpt = new Categoria_Producto();
$dtCpt = new Dt_Categoria_Producto();
if ($_POST) {
$varAccion = $_POST['txtaccion'];
switch ($varAccion) {
case '1':
try ... |
<?php $__env->startSection('content'); ?><p>The UK has announced 1,735 new coronavirus cases in biggest surge since June 4, taking the total to 340,411.</p>
<p>There are now 1,435 cases being reported on average per day, a 26 per cent increase in a singular week.</p>
<p>Britain also recorded another 13 coronavirus de... |
<?php
namespace Imanghafoori\LaravelMicroscope;
use Illuminate\Support\Str;
use Illuminate\Support\Composer;
use Imanghafoori\LaravelMicroscope\Analyzers\ReplaceLine;
use Imanghafoori\LaravelMicroscope\Analyzers\ComposerJson;
use Imanghafoori\LaravelMicroscope\Analyzers\GetClassProperties;
use Imanghafoori\LaravelMic... |
<?php
namespace Flynt\Components\Logo_Card_Cta_Left;
use Flynt\FieldVariables;
function getACFLayout()
{
return [
'name' => 'Logo_Card_Cta_Left',
'label' => __('Logo - Card with CTA (Left)', 'flynt'),
'sub_fields' => [
[
'label' => __('Content', 'flynt'),
... |
<html>
<?php
if (isset($this->session->userdata['logged_in'])) {
header("location: http://localhost/login/index.php/user_authentication/user_login_process");
}
?>
<head>
<title>Login Form</title>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro|Open+Sans+Condensed:300|Raleway' rel='styles... |
@extends('layouts.app')
@section('breadcrumbs')
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Pesanan Masuk</h1>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="page-... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCarsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cars', function (B... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit828eb54ff53aef9551756ff03a8fd3f3
{
public static $files = array (
'92c8763cd6170fce6fcfe7e26b4e8c10' => __DIR__ . '/..' . '/symfony/phpunit-bridge/bootstrap.php',
'2c102faa651ef8ea5874edb58594... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class NavigationButtonsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('navigation', function (Blueprint $table) {
... |
<?php
namespace Curator\FSAccess;
/**
* Thrown when a file already exists.
*/
class FileExistsException extends FileException
{
/**
* Constructor.
*
* @param string $path
* The path to the file that already exists.
* @param int $code
* @inheritdoc
*/
public function __construct($path,... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\FileType;
use Symfony\Component\Form\Extension\Core\Type\NumberType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component... |
<?php
declare(strict_types=1);
namespace Dotenv\Exception;
use InvalidArgumentException;
final class InvalidFileException extends InvalidArgumentException implements ExceptionInterface
{
//
} |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Music */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Musics', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="music-view">
<h1><?= Ht... |
<?php
class M_alumni_ts extends CI_Model{
function __construct()
{
parent::__construct();
}
function ambil_data_status_tanya_per_id($id_tanya_ts_alumni)
{
$this->db->select('status_tanya_ts_alumni');
$this->db->from('pertanyaan_ts_alumni');
$this->db->where('id_tanya_ts_al... |
<!--
LBSGK Template made for www.sg-kornburg.de
https://github.com/el-mejor/LBSGK
Designed to be used with WebsiteBaker (www.websitebaker.org)
If you like this template feel free to use it for your own project.
-----------------
Necessary files:
index.php
style.css
mobilestyle.css
currvers.css
mobilemenu.png
ba... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StorePhoto;
use App\Photo;
use App\Comment;
use App\Http\Requests\StoreComment;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Storage;
class PhotoController extends Contro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.