text stringlengths 2 1.03M |
|---|
<?php
namespace Bantenprov\YankesInfoKamar\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreKelas extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?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... |
<?php
namespace BigShark\SQLToBuilder\Converter;
class LimitConverter extends Converter implements ConverterInterface
{
public function convert($limit)
{
$result = [];
if (isset($limit['offset']) && (int) $limit['offset'] > 0) {
$result[] = $this->format('skip', [$limit['offset']])... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Site extends Api_Controller {
public function config()
{
$this->load->model('sites_model');
$domain = $this->input->get('domain');
$config = $this->sites_model->get_config($domain);
if($config) {
... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Integration\Mvc\Model\MetaData\Memory;
use Integration... |
<?php
/**
* Created by PhpStorm.
* User: demon
* Date: 17.07.2017
* Time: 12:20
*/
namespace app\components;
use app\models\User;
use yii\base\Widget;
class OnlainWidget extends Widget
{
public function init()
{
parent::init(); // TODO: Change the autogenerated stub
}
public function run()
... |
<!DOCTYPE html>
<html lang="fr">
<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">
<link rel="stylesheet" href="{{asset('css/app.css')}}">
<title>Exo factory</title>
</head>
<body>
<scri... |
<?php
# MetInfo Enterprise Content Management System
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved.
/*发送POST*/
function curl_post($post,$timeout){
global $met_weburl,$met_host,$met_file;
$host=$met_host;
$file=$met_file;
if(get_extension_funcs('curl')&&function_exists('curl_init')&&fun... |
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class ejemploModel extends CI_Model{
function __construct(){
parent::__construct();
$this->load->database();
}
function getAlumnos(){
$this->db->select('matricula_alumno,nombre_alumno,edad_alumno,trimestre_alumno');
$query = $this->d... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Cart;
use Session;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//dung view share truyen bien //truyền... |
@include('admin.includes.header')
@yield('main-content')
@include('admin.includes.footer') |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateQlquyetdinhctTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('qlquyetdi... |
@extends('layouts.dosen.main')
@section('content')
@php
$tanggal = date('Y-m-d');
$tgl = date('M d, Y');
$time=date('H:i:s');
@endphp
<div class="flash-tambah" data-flashdata="{{ session('status') }}"></div>
<div class="flash-error" data-flasherror="{{ session('error') }}"></div>
<div class="">
<!... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<form method="POST" action="<?php echo e(route('dotacion.update',$item->id)); ?>" role="form" autocomplete="off">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<div class="modal fade" id="modal_edit<?php echo e($item->id); ?>">
<div class="modal-dialog modal-sm modal-dialog-centere... |
<?php
namespace Pagekit\Filesystem\Adapter;
class FileAdapter implements AdapterInterface
{
/**
* @var string
*/
protected $path;
/**
* @var string
*/
protected $url;
/**
* Constructor.
*
* @param string $path;
* @param string $url;
*/
public func... |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>KBN - Dashboard</title>
... |
<div id="lastInvModal" class="modal fade bd-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Last (5) Invoices</... |
<!-- Modal Update -->
<div id="modalUpdateRequirement" class="modalUpdate modal modal-fixed-footer" ng-controller="ctrl.updateRequirement">
<div class = "modal-header">
<h4 class = "center modalUpdateH4">Update Requirement</h4>
<a class="btn-floating modal-close btn-flat btn teal tooltipped" data-po... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="st... |
<?php
/**
* DisciplineActionStaffTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Copyrig... |
<?php
/**
* author : forecho <caizhenghai@gmail.com>
* createTime : 15/4/18 下午4:16
* description:
*/
use yii\helpers\Html;
/** @var array $sameTopics */
/** @var array $config */
/** @var array $recommendResources */
/** @var string $tips */
$node = $config['node'];
?>
<div class="col-md-3 side-bar p0">
... |
<?php
namespace Database\Seeders;
use App\Models\Estancia;
use Illuminate\Database\Seeder;
class EstanciaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Estancia::factory()
->count(100)
->create();
}... |
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Authors:
* - Alessandro Di Felice
* - François B
* - Tim Fish
* - Gabriel Mo... |
<?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 RectorPrefix20210904\Symfony\Component\VarDumper\Caster;
use RectorPrefi... |
<?php
namespace Kubexia\Database\PDO;
class Connection extends \PDO{
static protected $instance = array();
public function __construct($dbname=NULL) {
$configs = \Kubexia\Config::getInstance('configs');
$db = \Kubexia\Config::getInstance('database')->get($configs->get('environment'));... |
<?php
$app->get('/salesman','SalesmanController@getSalesman');
$app->post('/salesman','SalesmanController@newSalesman');
$app->get('/sale/{id}','SaleController@getSale');
$app->post('/sale','SaleController@newSale'); |
<?php
return [
'production' => false,
'baseUrl' => 'https://artisanstatic.netlify.app',
'site' => [
'title' => 'My Jigsaw Blog',
'description' => 'Personal blog of John Doe.',
'image' => 'default-share.png',
],
'owner' => [
'name' => 'John Doe',
],
'links' =>... |
<?php
return [
'driver' => 'mysql',
'host' => 'localhost',
'porta' => '3306',
'banco' => 'crud_contatos',
'usuario' => 'root',
'senha' => ''
]; |
<?php
/**
* Lenevor Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file license.md.
* It is also available through the world-wide-web at this URL:
* https://lenevor.com/license
* If you did not receive a copy of the license and are unabl... |
<?php
$this->post('/pagseguronotification', 'API\ApiPagSeguroController@request'); |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddTypeToProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('products', f... |
<?php
include_once('verifica_login.php');
include_once('conexao.php');
if(!empty($_POST)){
$modelo = mysqli_real_escape_string($con, $_POST['modelo']);
$marca = mysqli_real_escape_string($con, $_POST['marca']) ;
$km = mysqli_real_escape_string($con, $_POST['km']);
$cor = mys... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MyApps</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3... |
<?php
# -------------------------
# Remark->模版配置
# -------------------------
return [
# 设置默认过滤方法
'default_filter' => 'htmlspecialchars',
# 模版配置
'tpl_replace_string' => [
'__CSS__' => '/static/admin/css',
'__JS__' => '/static/admin/js',
'__IMG__' => '/sta... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJourneysTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('journeys', fun... |
<?php
/**
*
* @package acp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @package module_install
*/
class acp_language_info
{
function module()
{
return array(
'filename' => 'acp_language',
'title' => 'ACP_LANGUAGE',... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFotosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fotos', function ... |
<?php
class Swift_Transport_Esmtp_Auth_PlainAuthenticatorTest extends \SwiftMailerTestCase
{
private $_agent;
public function setUp()
{
$this->_agent = $this->getMockery('Swift_Transport_SmtpAgent')->shouldIgnoreMissing();
}
public function testKeywordIsPlain()
{
/* -- RFC 4616, 1.
The nam... |
<?php
namespace RyanLHolt\Infused\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class InfusionsoftToken extends Model
{
use HasFactory;
protected $guarded = [];
} |
<div class="row">
<div class="col-xs-12">
<div class="alert alert-danger alert-dismissable" id="error" style="display: none">
<h4><i class="icon fa fa-ban"></i> Error!</h4>
Revise que todos los campos esten completos
</div>
</div>
</div>
<?php //var_dum($data['wood']);?>
<div class="ro... |
<?php
declare(strict_types=1);
namespace Rector\PHPStanExtensions\Tests\Rule\ConfigurableRectorRule\Fixture;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\RectorDefinition\ConfiguredCodeSample;
use Rector\Core\RectorDefinition\RectorDefinition;
use Rector\Transform\ValueObject\StaticCa... |
<?php
use net\pixeldepth\Page;
class Neo extends Page {
private $template = "relics.html";
public function init(){
$relics = json_decode(file_get_contents(DATA_PATH . "neo.json"), true);
ksort($relics);
$this -> twig -> display($this -> template, array(
"relic_type" => "neo",
"relics" => $relics
... |
<?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\Process\Tests;
use Symfony\Component\Process\Exceptio... |
<?php
declare(strict_types=1);
namespace Arkitect\Rules;
use Arkitect\Exceptions\IndexNotFoundException;
class Violations implements \IteratorAggregate, \Countable
{
/**
* @var Violation[]
*/
private $violations;
public function __construct(array $violations = [])
{
$this->violatio... |
<div style="margin-top: 14px; background-color: white;padding: 30px">
<?php if ($hasil == TRUE): ?>
<div class="row">
<?php foreach ($hasil as $data): ?>
<div class="col-md-3">
<div class="card bts-ats">
<div class="card-body">
<i class="fa fa-calendar-o text-success"></i>
<span class... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* se... |
@extends('front.layouts.default')
@section('title')
@if(isset($seo->latestnews->title->global) && $seo->latestnews->title->global == '1')
{{$settings['seo.title']}} | {{ Lang::get('messages.front.home.news') }}
@else
{{$seo->latestnews->title->value}}
@endif
@stop
@section('description')
@if(isset($seo->latestnews->d... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Pengguna extends Model
{
protected $table = 'pengguna';
protected $primaryKey = 'id_pengguna';
protected $fillable = [
'nama', 'email', 'password', 'alamat', 'nohp'
];
public function produk()
{
return... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\BbmFaktur */
$this->title = 'Update Penebusan: ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Bbm Fakturs', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model... |
<?php
namespace App\Helper\HelperClass\Img;
use Intervention\Image\ImageManager;
class Doit{
private $template,$photoUrl,$userData,$templateData,$templateCalculatedData,$rawImg,$templateImg;
public function __construct($template,$photoUrl,$userData)
{
$this->template=$template;
$this->pho... |
<!-- Id Field -->
<div class="col-sm-12">
{!! Form::label('id', 'Id:') !!}
<p>{{ $businessCategory->id }}</p>
</div>
<!-- Id Usaha Field -->
<div class="col-sm-12">
{!! Form::label('id_usaha', 'Id Usaha:') !!}
<p>{{ $businessCategory->id_usaha }}</p>
</div>
<!-- Id Master Kategori Usaha Field -->
<div... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use View;
use Response;
class JsController extends Controller
{
public function dynamic()
{
$contents = View::make('painel.js.dynamic');
$response = Response::make($contents, 200);
$response->header('Content-Type', 'ap... |
<!-- Modal -->
<div wire:ignore.self class="modal fade" id="surveymodal" data-backdrop="static" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
... |
@extends('layouts.admin')
@section('title', 'Admin Kado Kita - Dashboard')
@section('content')
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
</div>
<!-- Content Row ... |
<?php
session_start();
use \Psr\Http\Message\ServerRequestInterface as Request;
require '../vendor/autoload.php';
require '../src/config/db.php';
require '../src/routes/routes.php';
$app->run(); |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use App\Models\Recommendation;
class CreateRecommendationRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Application\Sonata\PageBundle\Entity;
use Sonata\PageBundle\Entity\BaseSite as BaseSit... |
<?php
/**
* @package pkg_projectfork
* @subpackage com_pfrepo
*
* @author Tobias Kuhn (eaxs)
* @copyright Copyright (C) 2006-2013 Tobias Kuhn. All rights reserved.
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt
*/
defined('_JEXEC') or die();
jimport('joomla.appli... |
<?php
/**
* Created by PhpStorm.
* User: 25754
* Date: 2019/4/8
* Time: 8:44
*/
defined('BASEPATH') OR exit('No direct script access allowed');
set_time_limit(0);
//后台公共控制
class MY_Controller extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->checkUserLo... |
<?php
/**
* Created by PhpStorm.
* User: semasping (semasping@gmail.com)
* Date: 08.07.2018
* Time: 10:32
*/
namespace App\STCommands;
use Illuminate\Support\Collection;
use Telegram\Bot\Actions;
use Telegram\Bot\Commands\Command;
use Telegram\Bot\Keyboard\Keyboard;
class StartCommand extends Command
{
/**... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class FileManaged extends CI_Model {
public function getRows($id = "") {
$rows = [];
if(!empty($id)) {
$this->db->order_by('fid', 'DESC');
$query = $this->db->get_where('file_managed', array('fid' =>... |
<?php // lint >= 7.2
class Whatever
{
private function noTypeHintNoAnnotation($a)
{
}
/**
* @param int[] $a
*/
public function arrayTypeHint(array $a): void
{
}
/**
* @param int[]|null $a
*/
public function arrayTypeHintWithNull(?array $a): void
{
}
/**
* @param array{foo: int} $a
*/
pu... |
<x-guest-layout>
<x-auth-card>
<x-slot name="logo">
<a href="/">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
</a>
</x-slot>
<!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors" />
... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Test\Unit\Model\ResourceModel;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
/**
* Class HelperTest
*/
class HelperTest extends \PHPUnit_F... |
<?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authoriza... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
<title>SMK LPPM RI BANDUNG</title>
<!-- General CSS Files -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/... |
<?php
namespace App\Payment;
use App\Interfaces\PayeableInterface;
class FlutterwavePayment implements PayeableInterface
{
public function pay()
{
return "Flutterwave payment logic goes here";
}
} |
<?php
defined('IN_DESTOON') or exit('Access Denied');
require DT_ROOT.'/module/'.$module.'/common.inc.php';
if($DT['rewrite'] && $DT['search_rewrite'] && $_SERVER["REQUEST_URI"] && $_SERVER['QUERY_STRING']) {
$_URL = rewrite($_SERVER["REQUEST_URI"]);
if($_URL != $_SERVER["REQUEST_URI"]) dheader($_URL);
}
if($DT_PC) ... |
<?php
/**
* fabriqmodules install file - DO NOT EDIT
* @author Will Steinmetz
*
* Copyright (c)2013, Ralivue.com
* Licensed under the BSD license.
* http://fabriqframework.com/license
*/
class fabriqmodules_install extends FabriqModuleInstall {
public function info() {
return array(
"module" => "fabriqmo... |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Post;
use App\Tag;
use Illuminate\Http\Request;
class BlogController extends Controller
{
public function index()
{
$tag = request()->query('tag');
$category = request()->query('category');
if ($tag) {
$tags =... |
<?php
/**
* Base model for the audit classes containing some helper functions to auto serialize/unserialize the
* raw data attributes.
*/
namespace bedezign\yii2\audit\components\db;
use bedezign\yii2\audit\Audit;
use bedezign\yii2\audit\components\Helper;
use Yii;
/**
* ActiveRecord
* @package bedezign\yii2\au... |
<?php
/**
* Created by PhpStorm
* User: elfuvo
* Date: 2021-07-13
* Time: 10:41
*/
namespace elfuvo\documentStore\repository;
/**
* Interface RepositoryIndexByInterface
* @package elfuvo\documentStore\repository
*/
interface RepositoryIndexByInterface
{
public const PICKING_STRATEGY_FIRST = 'first';
p... |
<?php
class Database
{
// DB params
private $host;
private $db_name;
private $username;
private $password;
private $conn;
public function __construct()
{
$this->host = getenv("DB_HOST");
$this->db_name = getenv("DB_NAME");
$this->username = getenv("DB_USERNAME");
$this->password = getenv(... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<!--page specific plugin scripts-->
<script src="<?php echo base_url();?>themes/js/jquery.validate.min.js"></script>
<script src="<?php echo base_url();?>themes/js/jquery.dataTables.min.js"></script>
<script src="<?php echo base_url();?>the... |
@extends('backend.layout')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Ban lãnh đạo
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li>
<li><a href="{{ route( 'member.index' )... |
<?php
use Propel\Generator\Manager\MigrationManager;
/**
* Data object containing the SQL and PHP code to migrate the database
* up to version 1513110710.
* Generated on 2017-12-12 21:31:50 by eric
*/
class PropelMigration_1513110710
{
public $comment = '';
public function preUp(MigrationManager $manager... |
@extends('front-end.layout')
@section('title')
Ruiz|Shop
@endsection
@section('content')
<div class="breadcrumb-area">
<div class="container">
<div class="row">
<div class="col-12">
<!-- breadcrumb-list start -->
<ul class="breadcrumb... |
<?php
include_once "src/Mapping.php";
$app = new \App\Mapping($_SERVER);
$app->verifyArguments();
$app->init(); |
@extends('layout.main')
@section('title', 'Detail Mahasiswa')
@section('container')
<div class="container">
<div class="row">
<div class="col-6">
<h1 class="mt-3">Detail Mahasiswa</h1>
<div class="card">
<div class="card-body">
... |
<?php declare(strict_types=1);
namespace Codedge\Sofortlib;
use Illuminate\Support\Facades\Facade;
class IdealFacade extends Facade
{
protected static function getFacadeAccessor(): string
{
return 'ideal';
}
} |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Product */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="products-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'type')->textInput(['maxlength' => true]) ?>
... |
<?php
namespace Encore\infinitree;
use Encore\Admin\Extension;
class infinitree extends Extension
{
public $name = 'infinitree';
public $views = __DIR__.'/../resources/views';
public $assets = __DIR__.'/../resources/assets';
public $menu = [
'title' => 'Infinitree',
'path' => 'inf... |
@extends('layouts.admin')
@section('title', 'Admin Foods')
@section('css')
<style>
.tables{
padding: 15px 15px 0 15px;
}
table {
width: 100%;
border-collapse: collapse;
}
.div1 {
display: table;
table-layout: fixed;
width: 100%;
}
.div2 {
display: table-cell;
overflow-x: auto;
width: 100%;
}
#c... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSprintsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sprints', function(Blueprint $table)
{
$table->increments('id');
$table-... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
<meta name="author" content="Coderthemes">
<... |
<html>
<head>
<link href="themes/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
<link href="Scripts/jtable/themes/lightcolor/blue/jtable.css" rel="stylesheet" type="text/css" />
<script src="scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="scripts/jquer... |
<!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">
<title>Laravel</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fo... |
<?php
use yii\web\JsExpression;
use yii\helpers\Url;
use yii\bootstrap\Html;
use yii\jui\Sortable;
use kartik\typeahead\Typeahead;
$itemsInv = [];
$j=1;
$hidd_ck='';
if (count($modelInven)>0) {
//echo '<pre>';
//print_r($modelInven);
//echo '</pre>';
foreach ($modelInven as $v) {
// $title = $v->lis... |
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2010-2015 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @l... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Documents\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for ListMidocoQuestionValueResponse StructType
* @subpackage Structs
*/
class ListMidocoQuestionValueResponse extends AbstractStructBa... |
<?php namespace ZN\Database\Drivers;
use ZN\Database\DriverTrigger;
class ODBCTrigger extends DriverTrigger
{
//--------------------------------------------------------------------------------------------------------
//
// Author : Ozan UYKUN <ozanbote@gmail.com>
// Site : www.znframework.co... |
<?php
declare(strict_types=1);
namespace Doctrine\Tests\ORM\Tools;
use Doctrine\Common\Cache\Psr6\DoctrineProvider;
use Doctrine\ORM\Configuration;
use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
use Doctrine\ORM\Mapping\Driver\AttributeDriver;
use Doctrine\ORM\Mapping\Driver\XmlDriver;
use Doctrine\ORM\Mapping\Dr... |
<?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 ccxt\async;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
use \ccxt\OrderNotFound;
use \ccxt\NotSuppor... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="tabela.css">
<title>Exercícios de Programação 2: WEB</title>
</head>
<body>
<?php
echo "<h2> Bem Vindo ".$_POST["nome"]." ".$_POST["snome"]."!</h2>";
?>
<div>
<?php
$linhas = 10;;
$colunas = 10;
echo... |
<?php
/* $Id: LanguageSetup.php 7097 2015-01-24 17:32:11Z rchacon $ */
/* Set internal character encoding to UTF-8 */
mb_internal_encoding('UTF-8');
/* This file is included in session.inc or PDFStarter.php or a report script that does not use PDFStarter.php
to check for the existence of gettext function and setup th... |
<?php
namespace Admin\Controller;
use Think\Controller;
class BaseController extends Controller
{
public function _initialize()
{
// url中的pjax参数影响数据分页
if (I("get._pjax")) {
unset($_GET["_pjax"]);
}
if (!$this->is_login() || session("adminGroupId") == null) {
... |
<?php
/**
* @var rex_addon $this
*/
$this->includeFile(__DIR__.'/install.php'); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.