text stringlengths 2 1.03M |
|---|
<nav class="navbar navbar-default navbar-filters">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" ar... |
<?php
/**
* File StringSchemaTest.php
*
* @author Edward Pfremmer <epfremme@nerdery.com>
*/
namespace Epfremme\Swagger\Tests\Entity\Schemas;
use Epfremme\Swagger\Entity\ExternalDocumentation;
use Epfremme\Swagger\Entity\Schemas\AbstractSchema;
use Epfremme\Swagger\Entity\Schemas\StringSchema;
use Epfremme\Swagger\... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
/**
* SPHPlayground Framework (http://playgound.samiholck.com/)
*
* @link https://github.com/samhol/SPHP-framework for the source repository
* @copyright Copyright (c) 2007-2018 Sami Holck <sami.holck@gmail.com>
* @license https://opensource.org/licenses/MIT The MIT License
*/
namespace Sphp\Html\F... |
<?php
namespace Hazaar\Controller\Response\HTTP;
class Forbidden extends \Hazaar\Controller\Response {
function __construct($content_type = "text/html") {
parent::__construct($content_type, 403);
}
} |
<?php
require_once('../../../private/initialize.php');
require_login();
if(!isset($_GET['id'])) {
redirect_to('../index.php');
}
$territories_result = find_territory_by_id($_GET['id']);
// No loop, only one result
$territory = db_fetch_assoc($territories_result);
// Set default values for all variables the page nee... |
<?php
return [
'category.categories' => [
'index',
'create',
'store',
'edit',
'update',
'destroy',
],
// append
]; |
@extends('templates/base')
<!-- @section('title','Home') -->
@section('utama')
<!-- slider Area Start-->
<div class="slider-area ">
<!-- Mobile Menu -->
<div class="single-slider slider-height2 d-flex align-items-center" data-background="assets/img/hero/category.jpg">
<div class="co... |
@extends('layouts.backend')
@section('css')
<link rel="stylesheet" href="{{ asset('css/select2.min.css') }}">
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/css/select2.min.css" rel="stylesheet" />
@endsection
@section('js')
<script src="{{ asset('backend/assets/vendor/select2/select2.min.js') }}... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/automl/v1beta1/video.proto
namespace GPBMetadata\Google\Cloud\Automl\V1Beta1;
class Video
{
public static $is_initialized = false;
public static function initOnce() {
$pool = \Google\Protobuf\Internal\DescriptorPo... |
<?php
namespace IrishDan\NotificationBundle\Channel;
use IrishDan\NotificationBundle\Event\MessageCreatedEvent;
use IrishDan\NotificationBundle\Event\MessageDispatchedEvent;
use IrishDan\NotificationBundle\Exception\MessageDispatchException;
use IrishDan\NotificationBundle\Exception\MessageFormatException;
use IrishD... |
<?php
namespace App\Transformer;
use Spatie\MediaLibrary\Models\Media;
use League\Fractal\TransformerAbstract;
class MediaTransformer extends TransformerAbstract
{
public function transform(Media $media)
{
return [
'id' => $media->id,
'name' => $media->name,
'c... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSemesterTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('semester', fun... |
<?php
class PartsController extends Controller
{
public function __construct()
{
parent::__construct();
// Ensure User Is Logged In
//Auth::checkAuthentication();
}
public function index()
{
$this->View->render('parts/index', array(
'parts' => PartsM... |
<?php
if (!defined('BASEPATH')) exit ('No direct script access allowed');
/**
*
*/
class JastrikMailer
{
// Prepare instance variable
private $mailer;
// Prepare sender variable
private $senderMail;
private $senderName;
// Prepare recipient variable
private $recipientMail;
... |
<?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 = $_POST['name'];
$email_address = $_POST['e... |
<?php
namespace App\Http\Controllers\Web;
use App\Http\Controllers\Controller;
use App\Http\Requests\MemberStoreRequest;
use App\Http\Requests\MemberUpdateRequest;
use App\Model\Member;
use App\Model\ExchangeType;
use App\Model\MemberType;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\... |
@extends('layouts.master')
@section('title', 'Contact Us')
@push('styles')
<x-embed-styles />
<link rel="stylesheet" type="text/css" href="{{ asset('css/inner.css') }}">
@endpush
@section('content')
@include('includes.header')
<section class="contact-page">
<div class="container">
<div class="con... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\InspectResult */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="inspect-result-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'inspectTime')->textInput() ?>
... |
<?php
/* SECURISATION DES VARIABLES RECUS */
$pseudo = htmlspecialchars($_POST["pseudo"]);
$email = htmlspecialchars($_POST["email"]);
$pass1 = htmlspecialchars($_POST["password"]);
$pass2 = htmlspecialchars($_POST["password_verif"]);
$tel = htmlspecialchars($_POST["tel"]) ? htmlspecialchars($_... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Transformers\PermissionTransformer;
class PermissionsController extends Controller
{
public function index()
{
$permissions = $this->user()->getAllPermissions();
return $this->response->collection($permissions, new ... |
<?php namespace CodeIgniter\Cache\Handlers;
class MemcachedHandlerTest extends \CodeIgniter\Test\CIUnitTestCase
{
private $memcachedHandler;
private static $key1 = 'key1';
private static $key2 = 'key2';
private static $key3 = 'key3';
private static function getKeyArray()
{
return [
self::$key1,
self::$ke... |
<?php
namespace app\admin\model;
use think\Model;
class Kaijiang extends Model
{
// 表名
protected $name = 'kaijiang';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime ... |
<? $view->extend('RaetingCoreBundle::base.html.php'); ?>
<? $view['slots']->start('menuTradersActive') ?> class="current"<? $view['slots']->stop('menuTradersActive') ?>
<? $view['slots']->start('crumbs') ?>
<div class="crumbs">
<ul id="breadcrumbs" class="breadcrumb">
<li>
<i c... |
@extends('admin.layout.app')
@section('title', 'Thêm bộ môn')
@section('branch', 'Môn học')
@section('content')
<div class="col-md-10 offset-md-1">
<div class="card card-default">
<div class="card-header">
<h3 class="card-title"><i class="fa fa-th-large pr-2"></i>Môn học</h3>
... |
<?php namespace Prosveshcheniye\Auth;
use League\OAuth2\Client\Provider\GenericResourceOwner;
/**
* Prosveshcheniye IdP resource owner representation
*
* @author Victor Yasinovsky <vyasinovskiy@rosuchebnik.ru>
* @package Prosveshcheniye\Auth
*/
class ResourceOwner extends GenericResourceOwner {
... |
@extends('layouts.app', ['page' => __('Products'), 'pageSlug' => 'products'])
<style>
select > option {
color: black;
}
</style>
@section('content')
<div class="row">
<div class="col-md-8">
<div class="card">
<div class="card-header">
<h5 class="title"... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class transctionDetails extends Model
{
//
} |
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once(__DIR__ . '/config.php');
require_once(__DIR__ . '/lib/database.php');
require_once(__DIR__ . '/lib/sharedfunctions.php');
require_once(__DIR__ . '/corelib/dataaccess.php');
$template = new templateMerge($TEMPLATE);
$template->pageData['pagetitl... |
<?php
namespace Tests\Knp\Snappy;
use Knp\Snappy\Pdf;
use PHPUnit\Framework\Error\Error;
use PHPUnit\Framework\TestCase;
use RecursiveDirectoryIterator;
use FilesystemIterator;
use CallbackFilterIterator;
use DirectoryIterator;
use ReflectionMethod;
class PdfTest extends TestCase
{
const SHELL_ARG_QUOTE_REGEX = ... |
@extends('layouts.main')
@section('title', 'Manage Tables')
@section('content')
<!-- Content -->
<div class="container-fluid flex-grow-1 container-p-y">
<div class="card shadow">
<div class="card-header">
Table List
<br>
<button class="mt-1 bt... |
<?php
namespace GestionActiviteBundle\Repository;
/**
* Activite1Repository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class Activite1Repository extends \Doctrine\ORM\EntityRepository
{
function findByIdagence($idagence)
{
$query = $this->... |
<?php
namespace FrontEndBundle\Entity;
/**
* ItemSocio
*/
class ItemSocio
{
/**
* @var integer
*/
private $id;
/**
* @var integer
*/
private $cantidad;
/**
* @var string
*/
private $monto;
/**
* @var integer
*/
private $puntos;
/**
... |
<?php
class Admin_hot extends CI_Controller{
public function index(){
$data['query']=$this->db->get('makanan_hot');
$data['content']='Admin/hot/hot';
$this->load->view('Admin/admin',$data);
}
function tambah(){
$data['content']='Admin/hot/add';
$this->load->view('Admin/admin',$data);
}
func... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Authorizenet\Test\Unit\Model\Directpost;
use Magento\Authorizenet\Model\Directpost\Session;
use Magento\Framework\Session\StorageInterface;
use Magento\Framework\TestFramework\Unit\Helper\ObjectMan... |
<?php
include '../dbconnect.php';
session_start();
if(isset($_POST['email'])){
$email = $_POST['email'];
$query = "UPDATE `admins` SET `email`=?";
$statement = mysqli_prepare($GLOBALS['conn'], $query);
if($statement){
mysqli_stmt_bind_param($statement, "s", $email);
mysqli_stmt_execute($statement);
$_... |
<?php
namespace Google\AdsApi\AdWords\v201802\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ExtensionSetting
{
/**
* @var \Google\AdsApi\AdWords\v201802\cm\ExtensionFeedItem[] $extensions
*/
protected $extensions = null;
/**
* @var string $platformRestrictions
... |
<?php namespace Roumen\Sitemap;
/**
* Sitemap class for laravel-sitemap package.
*
* @author Roumen Damianoff <roumen@dawebs.com>
* @version 2.5.6
* @link http://roumen.it/projects/laravel-sitemap
* @license http://opensource.org/licenses/mit-license.php MIT License
*/
use Illuminate\Support\Facades\Cache;
use ... |
<?php
//app/Helpers/User.php
namespace App\Helpers;
use App\Churchgiven;
use App\Churchgroup;
use App\Permission;
use App\Permission_role;
use App\User;
use Illuminate\Support\Facades\DB;
class Group {
protected static $group_table = 'group_type';
protected static $chgroup_table = 'churchgroups';
pub... |
<?php
namespace App\Http\Controllers\Instructor\Courses;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
// Course Models
use App\Models\Course\Course;
use App\Models\Course\CourseSection;
use App\Models\Course\CourseSectionLesson;
// Storage
use File;
use Storage;
// Cloud Storage
use JD\Cloudde... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Aegis\V20161111\Models;
use AlibabaCloud\Tea\Model;
class RenewInstanceRequest extends Model
{
/**
* @var int
*/
public $ownerId;
/**
* @var string
*/
public $clientToken;
/**
* @va... |
<?php
namespace Lzpeng\EventLoop;
/**
* Event Loop Interface
*
* @author lzpeng <liuzhanpeng@gmail.com>
*/
interface LoopInterface
{
/**
* 可读流监听
* 监听可读流是否已准备,准备后执行对应监听处理器
*
* @param resource $stream 待监听的读流
* @param callable $listener 触发的监听处理器
* @return void
* @throws Except... |
@extends('layouts/admins/master')
@section('header')
<style type="text/css">
.odd td, .even td{
text-align:center;
}
.colors input{
float: left;
background: transparent;
height: 80px;
}
</style>
@endsection
@section('content')
<div class="content-header">
<h1>
List color
</h1>... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Ddoscoo\V20200101\Models;
use AlibabaCloud\Tea\Model;
class DeleteWebCCRuleResponse extends Model
{
/**
* @var string[]
*/
public $headers;
/**
* @var DeleteWebCCRuleResponseBody
*/
public $b... |
<?php
//use Mackstar\Spout\Bootstrap;
/**
* Welcome to the Mackstar.Spout Project
*
* This is the main entry point for the spout application.
* It will be recieving requests such as the following
*
* GET /api/resources/index
* POST /api/resources/types
* GET /blog/the-name-of-the-post
* GET /photo-gallery/p... |
<?php
namespace pages\pub;
class Front extends \selio\page\PublicPage {
protected function initialization() {
// Page initialization goes here.
}
protected function pageContent() {
// Page content goes here.
echo '<h1>Welcome to Selio ' . SELIO_VERSION . '!</h1>';
}
} |
<?php
namespace App\Http\Controllers;
use App\Article;
use App\Http\Requests\StoreArticleRequest;
use Carbon\Carbon;
use Illuminate\Support\Facades\Request;
use App\Tag;
class ArticleController extends Controller
{
public function index()
{
// $articles = Article::all();
$articles = Article::... |
@extends('layouts.admin_frame')
@section('header_style')
<style type="text/css">
.layui-table-cell{
height: auto;
white-space: normal;
}
</style>
@endsection
@section('body')
<fieldset class="table-search-fieldset">
<legend>搜索信息</legend>
<div style="margin: 10px 10px 10px 10px">
... |
<?php
namespace Adianti\Widget\Util;
use Adianti\Database\TTransaction;
use Adianti\Widget\Base\TScript;
use Adianti\Widget\Base\TElement;
use Adianti\Control\TAction;
use Adianti\Util\AdiantiTemplateHandler;
use Adianti\Widget\Form\TField;
use Adianti\Widget\Template\THtmlRenderer;
use Adianti\Widget\Form\TButton;
u... |
<?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 a... |
<!--関数
(共通で使うものを関数化してこのファイルに入れておく)-->
<?php
//1.DB接続関数(PDO)
function db_con(){
try {
$pdo = new PDO('mysql:dbname=gs_db;charset=utf8;host=localhost','root','');
return $pdo;
} catch (PDOException $e){
exit('データベースに接続できませんでした。'.$e->getMessage());
}
}
//2.SQL処理エラー関数
function error_d... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Access_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
function get_access_list()
{
$this->db->select('m_memberLimit,pid');
$this->db->from('member_permissi... |
<?php
/*
* This file is part of the Silvestra package.
*
* (c) Tadas Gliaubicas <tadcka89@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Silvestra\Component\Notification;
/**
* @author Tadas Gliaubicas <ta... |
<?php
require_once '../Classes/Login-classes.php';
require_once '../Classes/Kandidat-classes.php';
require_once '../Classes/Suara-classes.php';
?> |
@foreach($ingridients as $ingridient)
<tr>
<td></td>
<td><a href="#" data-pk="{{$ingridient->id}}">{{ $ingridient->name }}</a></td>
<td><a href="#delete-ingridient-modal" data-toggle="modal" data-id="{{$ingridient->id}}" class="btn-danger delete-ingr... |
<?php
namespace App\Http\Middleware;
use Auth;
use Closure;
class Admin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (Auth::check()... |
@extends('partials.home.app')
@section('name')
Derechos de Acceso
@endsection
@section('title')
: Editar
@endsection
@section('configure')
@endsection
@section('sidebar')
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="portlet light bordered">
<div c... |
<?php
namespace Tests\Unit\app\Models;
use Tests\TestCase;
use App\Models\Game;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\MorphToMany;
class GameTest extends TestCase
{
/**
* Os atributos que são atrib... |
<!-- Page Title
============================================= -->
<section id="page-title" class="page-title-mini">
<div class="container clearfix">
<h1><?php echo $titulo ?></h1>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo base_url("inicio")?>">Inicio</a></li>
... |
<?php
declare(strict_types=1);
namespace EMS\CoreBundle\Controller\Revision;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\Persistence\ObjectRepository;
use EMS\CoreBundle\Core\Revision\RawDataTransformer;
use EMS\CoreBundle\Entity\ContentType;
use EMS\CoreBundle\Entity\FieldType;
use EMS\CoreBundle\Enti... |
<?php
namespace App\Database\Seeds;
use CodeIgniter\Database\Seeder;
class TransaksiSeeder extends Seeder
{
public function run()
{
//
}
} |
<?php
use yii\helpers\Url;
use yii\helpers\Html;
use app\widgets\Alert;
use yii\bootstrap\ActiveForm;
/* @var $this \app\components\View */
/* @var $form \yii\bootstrap\ActiveForm */
/* @var $model \app\models\forms\ForgotPasswordForm */
$this->title = \Yii::t('app', 'Reset Password');
$fieldOptions1 = [
'option... |
<?php
/**
* Saeno\Framework.
*
* @copyright 2015-2016 Daison Carino <daison12006013@gmail.com>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link https://github.com/saeno/framework
*/
namespace Saeno\Console\DB;
use Symfony\Component\Console\Input\InputOption;
/**
* Run a databa... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Controller\\AuthController' => $baseDir . '/src/Controller/AuthController.php',
'App\\Controller\\HomeController' => $baseDir . '/src/Controller/HomeController.ph... |
<?php
return[
'formTokens'=>[
'id' => 'ID',
'id_user'=>'ID user',
'action' => 'Action',
'title' => 'Title',
'body' => 'Body',
'status' => 'Status',
'annotation' => 'Annotation',
'section' => 'Keywords',
'create' => 'Create',
'created_a... |
<?php // prod.SENTRY_DSN.25b27f on Sun, 07 Feb 2021 18:51:58 +0100
return "\x99\xBD\x95\x22\x98\x05\xBF\xE6\xCAT7\x91O\xE2\x95x\x97pD\xD6\x5EX\xB2\xCE\xCF\xA0\x20\xC9\x02\x12\xCB\x11\xF0\xB9rH\x89A\x0D\x1D\xEB\xD9\x3F1\xD3\x5D\xEA\x84ST\x0D\xA8\x91m\x9B\x24\xB9\xC0\x9A\x86\x23\x1E\x7C\xB1Z\xEF\xFA\xC1\xFDc\x28\x83P\xA... |
<?php
namespace Oro\Bundle\ApiBundle\Processor\Shared\JsonApi;
use Oro\Bundle\ApiBundle\Config\ExpandRelatedEntitiesConfigExtra;
use Oro\Bundle\ApiBundle\Processor\Context;
use Oro\Bundle\ApiBundle\Request\DataType;
use Oro\Bundle\ApiBundle\Request\ValueNormalizer;
use Oro\Component\ChainProcessor\ContextInterface;
u... |
<?php
$servername = "localhost";
$username = "qwerty";
$password = "qwerty";
$dbname = "qwerty";
$title=$_GET["title"];
$img=$_GET["img"];
$body=$_GET["body"];
$id=$_GET["id"];
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die(... |
@include('admin.affixes.partials.enchantments.enchantments') |
<x-guest-layout>
<livewire:landing-page>
</livewire:landing-page>
{{-- <livewire:slider/>--}}
</x-guest-layout> |
<?php
namespace SAML2\Compat;
abstract class AbstractContainer
{
/**
* Get a PSR-3 compatible logger.
* @return \Psr\Log\LoggerInterface
*/
abstract public function getLogger();
/**
* Generate a random identifier for identifying SAML2 documents.
* @return string
*/
abst... |
<?php
namespace App\Http\Controllers\Backend\Category;
use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Category\CreateCategoryRequest;
use App\Http\Requests\Backend\Category\StoreCategoryRequest;
use App\Http\Requests\Backend\Category\UpdateCategoryRequest;
use App\Models\Category\Category;
use App... |
<?php
/**
* baserCMS : Based Website Development Project <https://basercms.net>
* Copyright (c) baserCMS Users Community <https://basercms.net/community/>
*
* @copyright Copyright (c) baserCMS Users Community
* @link https://basercms.net baserCMS Project
* @package Baser.View
* @since ... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comment', function(Blueprint $table){
$tab... |
<?php
$pesan = "Masuk untuk memulai sesi";
if (isset($_GET['pesan'])) {
if ($_GET['pesan'] == "gagallogin") {
$pesan = "Kombinasi username dan password salah, silahkan coba kembali";
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"... |
<html>
<head>
<title > Probando sitio en php v 1.5 </title>
</head>
<body>
<?php
echo "Mi dirección IP es: <b>";
echo $_SERVER['SERVER_ADDR'];
echo "<br><br>nueva lina desde webhook</b>";
echo "<br><br>prueba 2";
echo "<br><br><b>HOLA MUNDO</b> ";
echo "</body>";
?> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWaliKelasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('wali_kelas', ... |
<?php
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* 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... |
<?php
namespace App\Models;
use App\Scopes\TenantModels;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class Pagamento extends Model
{
use TenantModels;
protected $fillable = [
'codg_pagt',
'data_pagt',
'valr_pagt',
'academia_id',
'mensal... |
@extends('layout.app')
@section('content')
<ul>
@foreach($post as $item)
<li><a href="{{route('post.show',$item->id)}}">{{$item->title}}</a></li>
@endforeach
</ul>
@endsection |
<?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
namespace App;
use Illuminate\Database\Eloquent\Model;
class Notification extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['expo_token'];
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Variation extends Model
{
use HasFactory;
protected $fillable=[
'name',
];
public function values(){
return $this->hasMany(Valuofvariation::class);
}
... |
<?php
namespace Onebip;
use Iterator;
class Range implements Iterator
{
private $from;
private $to;
private $curr;
public function __construct($from, $to)
{
$this->from = $from;
$this->to = $to;
$this->rewind();
}
function rewind() { $this->curr = $this->from; }... |
<?php
/*************************************************************************************
* pic16.php
* -------
* Author: Phil Mattison (mattison@ohmikron.com)
* Copyright: (c) 2008 Ohmikron Corp. (http://www.ohmikron.com/)
* Release Version: 1.0.8.3
* Date Started: 2008/07/30
*
* PIC16 Assembler language fi... |
<?php
use hispaSMS\SmsClient;
use hispaSMS\utils\OneApiDateTime;
require_once __DIR__ . '/../vendor/autoload.php';
date_default_timezone_set("UTC");
$fromTime = OneApiDateTime::createFromFormat('Y-m-dTH:i:s....O', '1970-01-01T00:00:00.000+0000');
$toTime = new DateTime();
$messageId = sizeof($argv) >= 4 ? $argv[3] ... |
<?php
define('MYSQLND_MS_MASTER_SWITCH', 'dummy');
define('MYSQLND_MS_SLAVE_SWITCH', 'dummy');
define('MYSQLND_MS_LAST_USED_SWITCH', 'dummy');
define('MYSQLND_MS_QUERY_USE_MASTER', 0);
define('MYSQLND_MS_QUERY_USE_SLAVE', 0);
define('MYSQLND_MS_QUERY_USE_LAST_USED', 0);
define('MYSQLND_MS_QOS_CONSISTENCY_EVENTUAL', 0)... |
<?php
namespace icms\FomanticUI\widgets;
use yii\helpers\Html;
use yii\helpers\Inflector;
use icms\FomanticUI\Elements;
class Pjax extends \yii\widgets\Pjax
{
/**
* @var string
*/
public $loader;
public function init()
{
Html::addCssClass($this->options, 'dimmable');
if (!$... |
<?php
/**
* This is the model base class for the table "{{type}}".
* DO NOT MODIFY THIS FILE! It is automatically generated by giix.
* If any changes are necessary, you must set or override the required
* property or method in class "Type".
*
* Columns in table "{{type}}" available as properties of the model,
*... |
<?php
declare(strict_types = 1);
namespace PHPModelGenerator\PropertyProcessor\Decorator\Property;
use PHPModelGenerator\Model\Property\PropertyInterface;
/**
* Class IntToFloatCastDecorator
*
* @package PHPModelGenerator\PropertyProcessor\Decorator\Property
*/
class IntToFloatCastDecorator implements PropertyD... |
@extends("restaurants.layouts.restaurantslayout")
@section("restaurantcontant")
<div class="container-fluid mt--6">
<div class="card">
<div class="card-header border-0">
<div class="row">
<div class="col-6">
<h3 class="mb-0"><smal>O... |
<?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* sfCommandApplication manages the lifecycle of a C... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Request */
$this->title = 'Create Request';
$this->params['breadcrumbs'][] = ['label' => 'Requests', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="request-create">
<?= $this->render('_for... |
@extends('layouts.app')
@section('content')
<div class="page-content row">
<!-- Page header -->
<div class="page-header">
<div class="page-title">
<h3><i class="fa fa-envelope"></i> {{ Lang::get('core.t_blastemail') }} <small>{{ Lang::get('core.t_blastemailsmall') }}</small></h3>
</div>
... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... |
<?php
$environment = require_once(dirname(__FILE__).'/environment.php');
$config = dirname(__FILE__) . "/protected/config/backend/{$environment}.php";
$yii = dirname(__FILE__) . '/framework/yii.php';
require_once($yii);
Yii::createWebApplication($config)->runEnd('backend'); |
<?php
namespace DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRTests\FHIRElement\FHIRBackboneElement\FHIRImagingObjectSelection;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: Decem... |
<?php
/**
* @file
*/
namespace BackupMigrate\Core\Config;
use BackupMigrate\Core\Translation\TranslatableTrait;
/**
* Class ConfigurableTrait
* @package BackupMigrate\Core\Config
*
* A configurable object. Manages injection and access to a config object.
*/
trait ConfigurableTrait {
use TranslatableTrait;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.