text stringlengths 2 1.03M |
|---|
<!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="Ansonika">
<title>UDEMA |... |
<div class="header">
<h2>LINKED.BY</h2>
<p>CARI LAPANGAN KERJA MU.</p>
</div>
<div id="navbar">
<a class="active" href="<?= base_url('index.php/Kariyawan_ctrl/') ?>"><i class="fa fa-fw fa-home"></i> Home</a>
<!-- <a href="<?= base_url('') ?>"><i class="fa fa-fw fa-search"></i> Search</a> -->
<?php if ($this->sess... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Estudiantessituacion */
$this->title = Yii::t('app', 'Update {modelClass}: ', [
'modelClass' => 'Estudiantessituacion',
]) . $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Estudiantessituacions'), 'url' =... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use TCG\Voyager\Models\Setting;
class SettingsTableSeeder extends Seeder
{
/**
* Auto generated seed file.
*/
public function run()
{
$setting = $this->findSetting('site.title');
if (!$setting->exists) {
... |
<?php
/*
Copyright (c) 2010 Thai Pangsakulyanont
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 limitation the rights
to use, copy, modify, merge, publish, ... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Add New Product</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" href="{{ route('products.index') }... |
<?php
/**
* WHMCS Digiwallet EPS Callback File
*
* @copyright Copyright (c) WHMCS Limited 2020
* @license http://www.whmcs.com/license/ WHMCS Eula
*/
use WHMCS\Database\Capsule;
// Require libraries needed for gateway module functions.
require_once __DIR__ . '/../../../init.php';
require_once __DIR__ . '/../../.... |
@extends('layouts.backend')
@section('content')
@include('admin.common.form', [
'title' => 'Види діяльності',
'fields' => [
[
'name' => 'is_active',
'title' => 'Відображати на сайті',
'type' => 'checkbox',
],
[
... |
<?php
namespace App\Http\Controllers\API;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Support\Facades\Hash;
class UserController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct(... |
<?php declare(strict_types=1);
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Command... |
<?php
namespace Lrt\CMSBundle\DataFixtures\ORM;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Lrt\CMSBundle\Entity\Article;
use Lrt\SiteBundle\Entity\Activity;
class LoadArticleData extends AbstractFixtur... |
@extends('layouts.app')
@section('title', 'Tags')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-6">
<h1>Daftar Tag</h1>
</div>
<div class="col-md-6">
@if (Auth::check())
<a href="/tags/create" class="btn btn-primary mb-2... |
<?php
session_start();
$_SESSION['page'] = "field-guide";
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- suitable for mobile devices-->
<title>Field Guide</title>
<link rel="stylesheet" href="creek.css">
<... |
<!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v3.0.1/dist/mini-default.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin-top: 10%;
}
#list {
margin-left: 30%;
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Blog extends Model
{
protected $fillable = [
'title', 'body','bio',
];
public function user()
{
return $this->belongsTo('App\User');
}
public function articles()
{
return $this->hasMany('App\Article');
... |
<?php
namespace BinSoul\Net\Mqtt\Client\React;
use BinSoul\Net\Mqtt\Connection;
use BinSoul\Net\Mqtt\DefaultConnection;
use BinSoul\Net\Mqtt\DefaultIdentifierGenerator;
use BinSoul\Net\Mqtt\Flow;
use BinSoul\Net\Mqtt\Flow\IncomingPublishFlow;
use BinSoul\Net\Mqtt\Flow\OutgoingConnectFlow;
use BinSoul\Net\Mqtt\Flow\Ou... |
<div class="col-12 mt-4 profil-detail box-camp"
id="profil-data">
<div class="p-3">
<h3>Data Diri</h3>
</div>
<div class="mt-3 p-3">
<form
id="form-data-diri"
action="<?php echo site_url();?>/action/update-data"
method="post">
<input type="hidden" value="<?php echo $this->security->get_csrf_ha... |
<?php
namespace Users\UserBundle\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://symfony.... |
<?php
namespace app\models;
use Yii;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;
class Order_of_Route extends ActiveRecord
{
public function rules()
{
return
[
[['id_route','id_shop','NPP'],'required','message'=>'Данное поле должно быть заполнено']
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="ScriptsBundle">
<title>Scubbi Diving Portal</title>
<!--link rel="icon" href="images/favicon.ico" type="image/x-icon" /-->
<meta name="viewport" cont... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Transaction_detail_model extends CI_Model
{
public $table = 'transaction_detail';
public $id = 'detail_ID';
public $order = 'DESC';
function __construct()
{
parent::__construct();
}
// datatables
... |
<!--
=========================================================
* Material Dashboard 2 - v3.0.0
=========================================================
* Product Page: https://www.creative-tim.com/product/material-dashboard
* Copyright 2021 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT (https://www... |
<?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\Bundle\TwigBundle;
use Symfony\Bridge\Twig\TwigEngine as BaseEn... |
<?php
session_start();
require_once "functions.php";
$navbarItem = 'profile';
require "head.php";
include "navbar.php";
xssProtection();
// Connection to database
$connection = connectDB();
// Query that get all data of the member (based on data given in URL)
if (isset($_GET["username"])) {
... |
<?php
class Tags extends Eloquent {
protected $table = "tags";
protected $primaryKey = 'id';
public static function loadTags($id){
$info = Tags::Where('deleted','=','0')
->Where('id','=',$id)
->first();
return $info;
}//End load city
public static function loadProductByTag($info){
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFieldsToCloudMiningsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cloud_... |
@include('emails.layout.mailheader')
<tr>
<td style='color: #fff; font-weight: bolder; background-color: #00A4EF !important;' colspan='3' align='center'> {{$Subject}}</td>
</tr>
<tr>
<td style='color: #000; background-color: #fff;' colspan='3' align='left'>
<p>
{{$Body}}
</p>
</td>
</tr>
@include('em... |
<?php
return [
'Create bases' => 'Vytvořit základny',
'Please enter URL' => 'Prosím zadejte URL',
'Base has been created' => 'Základny vytvořeny',
'Base creation in progress ...' => 'Probíhá vytváření základny ...',
'Please be patient. ' => 'Prosím strpení.',
'... |
<?php return array(
'root' => array(
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => NULL,
'name' => '__root__',
'dev' => true,
),
... |
<div>
<button
x-data="{ isModalOpen: @entangle('modalOpen') }"
@click="isModalOpen = true"
class="px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none ... |
<?php
/*
Plugin Name: WPSchoolPress
Plugin URI: http://wpschoolpress.com
Description: WPSchoolpress is a school management system plugin that makes school activities transparent to parents. For more information please visit our website.
Version: 2.1.2
Author: WPSchoolPress Team
Author URI: wpschoolpress.com
T... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
use App\Http\Controllers\MovieController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your applicati... |
<script type = "text/javascript">
//---JPaiva-30-07-2018----------------ACTUALIZAR-----------------------------
$('#update').click(function (e) {
e.preventDefault();
console.log("entro...");
//var data = $('#myForm').serializeArray();
//data.push({name: 'tienn2t', value: 'love'});
var formDa... |
<?php
/*
* interfaces_wireless.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2018 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2010 Erik Fonnesbeck
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... |
<?php
namespace App\Bridge\WithBridge\Realization;
use App\Bridge\Entities\Product;
use App\Bridge\WithBridge\Interfaces\WidgetRealizationInterface;
class ProductWidgetRealization implements WidgetRealizationInterface
{
private $entity;
public function __construct(Product $product)
{
$this->en... |
<?php
namespace Alahaxe\HealthCheckBundle\Service\Reporter;
use Alahaxe\HealthCheck\Contracts\CheckStatusInterface;
abstract class AbstractReporter implements ReporterInterface
{
/**
* @inheritDoc
*/
public function calculateHttpCode(array $checkStatuses):int
{
return (int) max(array_ma... |
<?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... |
<!DOCTYPE html>
<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">
<title>Sistema de Cadastro - PHP + MySQL</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Requerimiento de ByS {{$requerimiento->codigoCedepas}}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
... |
<?php
namespace EnsahBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class EtudiantControllerTest extends WebTestCase
{
public function testSignup()
{
$client = static::createClient();
$crawler = $client->request('GET', '/signup');
}
public function tes... |
<?php
//defined('BASEPATH') OR exit('No direct script access allowed');
namespace App\Controllers;
class Login extends BaseController {
//public function costruct
public function __construct() {
}
public function index()
{
echo view('login_template/header');
echo view('login_template/main_header');
... |
<?php
/**
* @author Olle Törnström olle@studiomediatech.com
* @since 2.0
* @created 2009-05-13
*/
require_once ('classes/class.InstallAdmin.php');
require_once ('classes/class.BaseInstallation.php');
require_once ('classes/class.Installation.php');
require_once ('classes/class.InstallStorage.php'); |
<?php
// config
$config['base_url'] = 'http://localhost/ci-app/peoples/index';
$config['num_links'] = 5;
// styling
$config['full_tag_open'] = '<nav><ul class="pagination justify-content-center">';
$config['full_tag_close'] = '</ul></nav>';
$config['first_link'] = 'First';
$config['first_tag_open'] = '<li class="p... |
@extends('adminlte::page')
@section('title', "Adicionar detalhes ao {$plan->name}")
@section('content_header')
<div class="row">
<div class="col-sm-9 form-group">
<h1>Adicionar detalhes ao {{ $plan->name }}</h1>
</div>
</div>
@stop
@section('content')
<div class="card">
... |
<!-- Modal -->
<div class="modal fade" id="modal-form" tabindex="-1" role="dialog" aria-labelledby="modal-form">
<div class="modal-dialog" role="document">
<form action="" method="post" class="form-horizontal">
@csrf
@method('post')
<div class="modal-content">
<div class="modal... |
<!DOCTYPE html>
<html>
<head>
<title>@yield('title', 'Hjc app')</title>
</head>
<body>
@yield('content')
</body>
</html> |
--TEST--
imap_utf8() tests
--SKIPIF--
<?php if (!extension_loaded("imap")) print "skip"; ?>
--FILE--
<?php
var_dump(imap_utf8(""));
var_dump(imap_utf8(1));
var_dump(imap_utf8(array(1,2)));
var_dump(imap_utf8("test"));
echo "Done\n";
?>
--EXPECTF--
string(0) ""
string(1) "1"
Warning: imap_utf8() expects parameter 1 ... |
<?php
namespace Site\View\Cell;
use Cake\View\Cell;
/**
* Testimonials cell
*/
class TestimonialsCell extends Cell
{
/**
* List of valid options that can be passed into this
* cell's constructor.
*
* @var array
*/
protected $_validCellOptions = [];
/**
* Default display m... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::defaultStringLength(191);
// Create table for storing ro... |
<div class="content">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h4 class="card-title"> Cari Praktikan</h4>
</div>
<div class="card-body">
<div class="toolbar">
<div class="input-wrap">
<form actio... |
<?php
namespace App\Listeners\Followers;
use App\Models\User;
class AddFollower
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param object $event
* @return void
*/
... |
<?php
declare(strict_types=1);
namespace Finance\Tests\Helper;
use Bassix\Finance\Helper\TaxHelper;
use PHPUnit\Framework\TestCase;
/**
* @covers \Bassix\Finance\Helper\TaxHelper
*/
class TaxHelperTest extends TestCase
{
public function testGetNetAmount(): void
{
foreach ($this->getAmountCases() as... |
<?php
declare(strict_types=1);
namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\ORM\Annotation as ORM;
use Doctrine\ORM\AbstractQuery;
/**
* @group DDC-2306
*/
class DDC3170Test extends \Doctrine\Tests\OrmFunctionalTestCase
{
/**
* {@inheritDoc}
*/
protected function setUp()
{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Customer;
use App\PO;
use App\Periode;
use App\SJKirim;
use App\IsiSJKirim;
use App\Reference;
use App\Transaksi;
use App\TransaksiHilang;
use Ap... |
<?php
namespace Database\Factories;
use App\Customer;
use App\Vehicle;
use App\VehicleModel;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class VehicleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var strin... |
<?php
namespace App\Http\Controllers\Frontend;
use App\foundationPost;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class welcomeController extends Controller
{
public function getWelcome()
{
$foundationPost=foundationPost::orderBy('id','desc')->paginate(3);
return view('... |
<script type="text/javascript">
$(function () {
var MODE = "add";
var tableTransact = $("#table-transact").DataTable({
processing: true,
serverSide: true,
sPaginationType: "full_numbers",
bPaginate: true,
lengthMenu: [[20, 50, -1], [20, 50,... |
<?php
namespace App\Http\Controllers\admin;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\model\Froller;
use Illuminate\Http\Request;
use Session;
use DB;
class FrollersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\View\View
... |
<?php
/**
* 用户验证器
*/
namespace app\admin\validate;
use think\Validate;
class User extends Validate
{
protected $rule = [
'username' => 'require|max:25',
'username' => 'unique:ucenter_member',
'email' => 'email',
];
protected $message = [
'username.require' => '用户名必须',... |
<?php return array (
'failed' => 'Estas credenciales no coinciden con nuestros registros.',
'throttle' => 'Demasiados intentos de inicio de sesión. Inténtalo de nuevo en :seconds segundos.',
) ?> |
<?php
declare(strict_types=1);
/*
* This file is part of the Yasumi package.
*
* Copyright (c) 2015 - 2021 AzuyaLabs
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Sacha Telgenhof <me@sachatelgenhof.com>
*/
namespace ... |
@include('inc.header')
<div class="container">
<form method="POST" action="{{ url('/insert') }}">
{{csrf_field()}}
@if(count($errors) >0 )
@foreach($errors->all() as $error)
<div class="alert alert-d... |
<?php
// this page holds all user written functions to be accesed
// database connections must be included within the function
//This function will check for empty input on registration test informnation
function CheckEmptyRegistrationInput($Input, $Field){
if(empty($Input)){
$_SESSION['InvaliRegistrati... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'language' => 'es-MX',
'sourceLanguage' => 'en-US',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is ... |
<?php
namespace App\Models\System\Log;
use Illuminate\Database\Eloquent\Model;
class LeadLog extends Model {
protected $table = 'ex_lead_logs';
protected $fillable = ['ex_lead_id', 'log_id'];
public function log()
{
return $this->belongsTo('App\Models\System\Log\Log', 'log_id');
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDeliverisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('deliveris', f... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sale extends MY_Controller {
public function __construct()
{
parent::__construct();
// Your own constructor code
$this->load->database();
$this->load->helper('login_helper');
$this->load->model("... |
<!DOCTYPE html>
<html>
<head>
<title>Update payment type</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/bootstrap.min.j... |
<header class="main-header">
<a href="<?php echo base_url().'client/beranda'; ?>" class="logo">
<span class="logo-mini">DPPKB</span>
<span class="logo-lg"><b>DPPKB-</b>XXX</span>
</a>
<nav class="navbar navbar-static-top">
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="b... |
<?php
use \App\Http\Controllers\BlogController;
?>
<!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">
<link rel="icon" href="{{ url('/')}}/public/frontend/images/fevi.png" sizes="16x1... |
<?php
declare(strict_types=1);
/*
* This file is part of the Doctrine Behavioral Extensions package.
* (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
... |
{{"HII"}} |
@extends("layouts.global")
@section("title") Batching Edit @endsection
@section("css")
<link href="{{ asset('eatio/vendor/datatables/css/jquery.dataTables.min.css') }}" rel="stylesheet">
<link href="{{ asset('eatio/vendor/bootstrap-select/dist/css/bootstrap-select.min.css') }}" rel="stylesheet">
@endsection
@section... |
<?php include 'common/header.php'; ?>
<div class="container">
<div class="row">
<div class="col-md-3">
<br>
<br>
<br>
<div class="list-group">
<h3>Streams</h3>
<?php foreach ($streams->result_array() as $stream): ?>
<?php $get_stream = explode(',' , $stream['course_degrees']); ... |
--TEST--
ReflectionFunction constructor errors
--CREDITS--
Robin Fernandes <robinf@php.net>
Steve Seear <stevseea@php.net>
--FILE--
<?php
try {
$a = new ReflectionFunction(array(1, 2, 3));
echo "exception not thrown.".PHP_EOL;
} catch (TypeError $re) {
echo "Ok - ".$re->getMessage().PHP_EOL;
}
try {
$a... |
<?php
class Statsm extends CI_Model {
function __construct()
{
parent::__construct();
$this->uid = $this->session ? $this->session->userdata('uid') : "0";
}
function delete($nid)
{
return $this->db->delete('u_nutrition', array('nid' => $nid));
}
function update($nid, $data)
{
return $this->db->up... |
@extends('layouts.app')
@section('content')
<div>
<div class ="row">
<a class="btn btn-primary" href="crear" > Crear Patologia</a>
</div>
</br>
<div class = "row">
<div class="contianer">
<table class="table table-responsive table-striped table-hover">
<thea... |
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\AccessControl;
use yii\web\Response;
use yii\filters\VerbFilter;
use budyaga\users\models\User;
class SiteController extends Controller{
/**
* {@inheritdoc}
*/
public function behaviors(){
return [
... |
<?php
namespace VicFlora\Entities\Map;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
* @ORM\Table(name="vicflora_taxa", schema="maps")
*/
class VicfloraTaxon {
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
* @var integer
*/
protected $id;
... |
<?php
/**
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
* use, copy, modify, and distribute this software in source code or binary
* form for use in connection with the web services and APIs provided by
* Facebook.
... |
<?php
include('koneksi.php');
require 'vendor/autoload.php';
error_reporting(0);
date_default_timezone_set("Asia/Jakarta");
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Reader\Csv;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
$file_mimes = array('application/octet-stream', 'application/vnd.ms... |
<?php
function getAllowedDomains() {
global $config;
$filename = __DIR__.'/regions/'.$config->teacherInterface->domainCountryCode.'/domains.json';
if (is_readable($filename)) {
$domains = json_decode(file_get_contents($filename));
return $domains->domains;
}
else {
return array();
... |
<?php
class IndexAction extends Action {
// 首页
public function index() {
$Form = M("Form");
// 按照id排序显示前5条记录
$list = $Form->order('id desc')->limit(3)->select();
$this->list = $list;
$this->display();
}
// 检查标题是否可用
public function checkTitle($title='') {
... |
<?php
$formStem = $block->getFormStem();
$options = $block->getOptions();
?>
<div class="neatline-id">
<?php
echo $this->formLabel("{$formStem}[options][neatline-id]",
__('Select a Neatline'));
echo $this->formSelect("{$formStem}[options][neatline-id]",
@$options['neatline-id'], array(),
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateTeamRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get... |
<?php
/** .-------------------------------------------------------------------
* | Software: [HDCMS framework]
* | Site: www.hdcms.com
* |-------------------------------------------------------------------
* | Author: 向军 <2300071698@qq.com>
* | WeChat: aihoudun
* | Copyright (c) 2012-2019, www.houdunw... |
<?php
use Illuminate\Database\Seeder;
class CustomCommandsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('custom_commands')->insert([
'serverid' => PHP_INT_MAX,
'commandid' => str_random(8),
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCoursesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('courses', funct... |
<?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Provider\TomTom\Tests;
use Geocoder\Collection;
use Geoc... |
<?php
/**
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
<?php
namespace Spatie\Honeypot;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
use Spatie\Honeypot\SpamResponder\SpamResponder;
class HoneypotServiceProvider extends ServiceProvider
{
public function boot()
{
if ($this->app->running... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Block\Adminhtml;
/**
* Adminhtml sales transactions block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Transactions extends \Magento\Backend\Block\Widget\Grid\Con... |
<?php
namespace common\models;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "user_rank".
*
* @property string $id
* @property string $name
* @property integer $score
* @property string $discount
* @property integer $status
*
* @property User[] $users
*/
class UserRank extends \yii\db\... |
<?php declare(strict_types = 1);
return new \PHPStan\Reflection\Native\NativeFunctionReflection(
'udm_find',
[
new \PHPStan\Reflection\Native\NativeParameterReflection(
'agent',
false,
PHPStan\Type\MixedType::__set_state(array( 'isExplicitMixed' => false, )),
false,
false
),
new \PH... |
<div class="modal fade text-left" id="addTimeKeeper" tabindex="-1" role="dialog" aria-labelledby="myModalLabel17"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="mo... |
<?php
namespace app\api\controller;
use think\Controller;
use think\Db;
use think\facade\Session;
use think\Request;
class My extends Base
{
/**
* 认证状态及信用卡数量
* @Author tw
* @Date 2018-09-18
* @return [type] [description]
*/
public function index()
{
$post = input('pos... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class AreaProductStock extends Model
{
use HasFactory;
protected $table = 'area_product_stock';
protected $primaryKey = null;
public $incrementing = false;
/**
* The... |
@extends('layouts.app')
@section('page_title')
التبرعات
@endsection
@section('small_title')
تبرع
@endsection
@section('content')
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 cl... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Administrar
<small>Productos</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<!-- Small boxes (Stat box) -... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.