text stringlengths 2 1.03M |
|---|
<?php
/**
* Created by PhpStorm.
* User: dhiraj.gangoosirdar
* Date: 3/19/2015
* Time: 7:49 AM
*/
namespace com\checkout\ApiServices\Customers\RequestModels;
class BaseCustomer
{
protected $_name;
protected $_customerName;
protected $_email;
protected $_phoneNumber;
protected $_description;
protected $... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
namespace Jade\Stream;
/**
* Creates a wrapper in order to allow the Zend PhpRenderer
* to include the compiled file.
* Class Template
* @package Jade\Stream
*/
class Template {
/**
* @var int
*/
private $position = 0;
/**
* @var string
*/
private $data = '';
/**
... |
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
{{(isset($site)? (isset($site['namePage'])? $site['namePage'] : '') : '')}}
... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class UtilisateurType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builde... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class TipoExamen extends Model
{
protected $table='Tipo_Examen';
protected $primaryKey='cod_TipoExamen';
public $timestamps=false;
}
?> |
<?php
include_once __DIR__.'/../../../../common/global_public.php';
session_start();
$status = 0;
if (isset($_POST['username'])) {
if (!empty($_POST['username'])) {
$username = trim($_POST['username']);
$username = checkInput('ALL', $username);
$sql = 'SEL... |
<?php
return [
'field' => [
'label' => 'البحث العام',
'placeholder' => 'البحث',
],
'no_results_message' => 'لم يتم العثور على نتائج عن البحث.',
]; |
<?php
namespace frontend\controllers;
use frontend\models\ResendVerificationEmailForm;
use frontend\models\VerifyEmailForm;
use Yii;
use yii\base\InvalidArgumentException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\LoginForm... |
<?php
$user=session()->get('user');
$events=session()->get('events');
$eventCategories=session()->get('eventCategories');
?>
@extends('Layouts.Admin.header')
@section('content')
<div class="col-md-9 col-sm-12">
<div class="panel panel-info" >
<div class="panel-heading">
<div class="pan... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace app\admin\validate;
use think\Validate;
class OrderWorkplace extends Validate
{
/**
* 定义验证规则
* 格式:'字段名' => ['规则1','规则2'...]
*
* @var array
*/
protected $rule = [
'order_id' => 'require|number',
'workplace_id' => 'require|number',
'workplace_are... |
<?php
add_action( 'widgets_init', 'tie_posts_list_widget' );
function tie_posts_list_widget() {
register_widget( 'tie_posts_list' );
}
class tie_posts_list extends WP_Widget {
public function __construct(){
$widget_ops = array( 'classname' => 'posts-list' );
$control_ops = array( 'width' => 250, 'height' => 3... |
<!DOCTYPE html>
<html lang="hu">
<head>
<title>Tanulo lista</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/l... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit14261bdcf4c7a5ab68a76f9cdc4ba468
{
public static $files = array (
'2cffec82183ee1cea088009cef9a6fc3' => __DIR__ . '/..' . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
'0e6d7bf4a58... |
<?php
class Details_Model extends CI_Model
{
public function getFileDetails()
{
if (strchr($this->requestId, '_')) {
list($this->requestId, $revisionId) = explode('_', $this->requestId);
$fileSize = $this->globalFunctions->displayFilesize($this->config->item('revisionDir') .
... |
<?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;
/* @T... |
<link href="/admin/layui/css/layui.css" rel="stylesheet">
<div class="box">
{{-- <hr style="border-color: #fff;margin: 0;">--}}
<ul class="nav nav-pills">
<li><a href="index">授权信息</a></li>
<li><a href="subscribe">外推关注回复</a></li>
<li><a href="searchsub">直接关注回复</a></li>
<li><a href=... |
<?php
namespace Sgpatil\Orientdb\Schema;
use Closure;
use Illuminate\Support\Fluent;
use Sgpatil\Orientdb\Connection;
use Sgpatil\Orientdb\Schema\Grammars\Grammar;
class Blueprint {
/**
* The table the blueprint describes.
*
* @var string
*/
protected $table;
/**
* The columns ... |
@extends('layouts.app')
@section('content')
<h1>id {{ $task->id }}の詳細</h1>
<table class="table table-bordered table-striped">
<tr>
<th>id</th>
<th>タスク</th>
<th>ステータス</th>
</tr>
<tr>
<th>{{ $task->id }}</th>
<th>{{ $task->content }}</th>
<th>{{ $task->status... |
<!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,chrome=1">
<title>Simple Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="layout" c... |
<?php
/**
* Created by PhpStorm.
* User: f.ratsimbazafy
* Date: 13/02/2018
* Time: 15:11
*/
namespace TutoBundle\ServiceApplicatif;
use Symfony\Component\HttpFoundation\Request;
use TutoBundle\Entity\User;
class UserServiceImpl implements UserService
{
private $_em;
private $request;
public func... |
<?php
return array (
'Name of your network' => 'あなたのネットワークの名前',
); |
<?php
namespace App\Policies;
use App\User;
use App\Website;
use Illuminate\Auth\Access\Response;
use Illuminate\Auth\Access\HandlesAuthorization;
class WebsitePolicy
{
use HandlesAuthorization;
public function before($user, $ability)
{
if($user->isAdminOrDeveloper()) {
return true;
... |
<?php
namespace App\Modules\Setup\Services;
use App\Modules\Setup\Services\Level\Validation;
Class LevelServiceProvider {
public function __construct()
{
$this->validation = new Validation;
}
public function isValid($post,$action = 'save')
{
if ($action == 'save') {
$validate = $this->validation->valid... |
<?php
namespace Elastica\Test\Query;
use Elastica\Document;
use Elastica\Query\MatchNone;
use Elastica\Search;
use Elastica\Test\Base as BaseTest;
class MatchNoneTest extends BaseTest
{
/**
* @group unit
*/
public function testToArray()
{
$query = new MatchNone();
$expectedArray... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateToolshistoryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('toolshisto... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
UserSeeder::class,
CategorySeeder::class,
... |
<h4>Ring Central Daily Raw Report</h4>
<br>
<table>
<tbody>
<tr>
<th>Team</th>
<th>Agent Name</th>
<th>Agent User Name</th>
<th>Login</th>
<th>Log Out</th>
<th>Dial Group</th>
<th>Login Time</th>
<th>Work Time</t... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Works */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="works-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'rating')->dropDownList([0, 1, 2, 3, 4, 5]) ?>
<di... |
<?php
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories pro... |
<?php
declare(strict_types=1);
namespace Gaming\ConnectFour\Domain\Game\WinningRule;
use Gaming\ConnectFour\Domain\Game\Board\Board;
use Gaming\ConnectFour\Domain\Game\Board\Size;
use Gaming\ConnectFour\Domain\Game\Board\Stone;
use Gaming\ConnectFour\Domain\Game\Exception\InvalidNumberOfRequiredMatchesException;
use ... |
<?php
/*
* This file is part of the PHP CS utility.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Symfony\CS\Tests\Fixer\PSR2;
use Symfony\CS\Tests\Fixer\AbstractFixerTestBase;
/**
* ... |
<?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
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: lang_template.php by Valery Votintsev, codersclub.org
*
* This file is automatically generate
*/
$lang = array (
'no_tag' => '태그가 없음',//'还没有任何标签',
'tag' => '태그',//'标签',
'... |
<?php
/**
* Internal Application Financial History Controller
*
* @author Rob Caiger <rob@clocal.co.uk>
*/
namespace Olcs\Controller\Lva\Application;
use Olcs\Controller\Interfaces\ApplicationControllerInterface;
use Common\Controller\Lva;
use Olcs\Controller\Lva\Traits\ApplicationControllerTrait;
/**
* Interna... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
@extends('layouts.app')
@section('content')
<div class="row">
<aside class="col-sm-4">
@include('users.card', ['user' => $user])
</aside>
<div class="col-sm-8">
@include('users.navtabs', ['user' => $user])
<div style="padding-left:40px">
@... |
<?php
session_start();
require_once('logCheck.php');
?>
<?php
require_once 'config/bdd.php';
if ($_SESSION['codeBarre_ajout']==0)
{
echo "<script type='text/javascript'>document.location.replace('loginHabilitation.php');</script>";
}
else
{
$_POST['peremptionConsommable'] = ($_POST['peremptionConsommable'] == ... |
<?php
namespace App\Widgets;
use Arrilot\Widgets\AbstractWidget;
class SingleDriverGridWidget extends AbstractWidget
{
/**
* The configuration array.
*
* @var array
*/
protected $config = [
'image' => null,
'name' => null,
'experience' => null,
];
/**
... |
<?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 Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSuratsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('surats', functio... |
<?php
namespace ContainerCHVwLRx;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsListSe... |
@extends('layouts.admin')
@section('content')
<div class="card">
<div class="card-header">
{{ trans('global.create') }} {{ trans('cruds.subscription.title_singular') }}
</div>
<div class="card-body">
<form method="POST" action="{{ route("admin.subscriptions.store") }}" enctype="multipart/f... |
<?php
namespace L_forum\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string
*/
protected $proxies;
/**
* The headers that shoul... |
<?php
declare(strict_types=1);
namespace Spiechu\SymfonyCommonsBundle\Test\Functional\Bundle\TestBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class ViewListenerAliasProviderPass implements C... |
<?php
include_once('../includes/session.php');
include_once('../database/db_comment.php');
if (!isset($_SESSION['username'])) {
die;
}
// TODO: validate the id
$comment_id = $_POST['comment_id'];
// TODO: get the comment username and check if the user is logged in
if (get_user($comment_id) != $_SESSION['us... |
@extends('admin.master')
@section('title')
Search Here
@endsection
@section('body')
<section class="panel">
<h3 class="text-center text-success">{{ Session::get('message') }}</h3>
<header class="panel-heading">
Choose Doctors
</header>
<div class="panel-body">
... |
<div class="td-pb-row">
<div class="td-pb-span8 td-sub-footer-menu">
<div class="td-pb-padding-side">
<div class="menu-td-demo-footer-menu-container">
<ul id="menu-td-demo-footer-menu" class="td-subfooter-menu">
<?php
$topmenu = $this->model_utama... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Laravel\Horizon\HorizonApplicationServiceProvider;
class HorizonServiceProvider extends HorizonApplicationServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
... |
<?php
namespace Database\Factories;
use App\Models\Room;
use Illuminate\Database\Eloquent\Factories\Factory;
class RoomFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Room::class;
/**
* Define the model's defau... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
declare(strict_types=1);
namespace Spiral\Tests;
use Cycle\Database\Driver\DriverInterface;
use Cycle\Database\Driver\MySQL\MySQLDriver;
use Cycle\Database\NamedInterface;
use Mockery as m;
use Psr\Log\NullLogger;
use Spiral\Core\ConfigsInterface;
use Spiral\Cycle\LoggerFactory;
use Spiral\Logger\LogsInterface... |
<?php
namespace Database\Seeders;
use App\Models\Study;
use Illuminate\Database\Seeder;
class StudioSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Study::create([
'name' => 'Monitoreo de aves',
]);
... |
<?php
namespace App\Entity\Constants;
final class SubmissionLinkDestination {
public const SUBMISSION = 'submission';
public const URL = 'url';
public const OPTIONS = [self::SUBMISSION, self::URL];
private function __construct() {
}
/**
* @throws \InvalidArgumentException if destinatio... |
<?php
//use PHPMailer\PHPMailer\PHPMailer;
//use PHPMailer\PHPMailer\Exception;
class Page_Controller extends ContentController
{
/**
* An array of actions that can be accessed via a request. Each array element should be an action name, and the
* permissions or conditions required to allow the user to... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CancelReasonTranslations extends Model
{
public $timestamps = false;
protected $fillable = ['reason'];
public function language()
{
return $this->belongsTo('App\Models\Language','locale','value');
}
} |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: table_forum_activity.php 30378 2012-05-24 09:52:46Z zhangguosheng $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class table_forum_activity extends discuz_table
{
public... |
<?php
function fenom_function_add_css($params)
{
cmsPage::getInstance()->addHeadCSS($params['file']);
} |
<?php
$config['endpoint1'] = array(
'endpoint' => array(
'localhost' => array(
'host' => 'localhost',
'port' => 8983,
'path' => '/solr/',
'core' => 'core1'
)
)
);
$config['endpoint2'] = array(
'endpoint' => array(
'localhost' => array(
'host' => 'localhost',
'port' => 8983,
... |
<?php
namespace UKFast\SDK\Loadbalancers\Entities;
use UKFast\SDK\Entity;
/**
* @property string $id
* @property string $name
* @property string $clusterId
* @property string $balance
* @property string $mode
* @property bool $close
* @property bool $sticky
* @property string $cookieOpts
* @property string ... |
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Stylesheets -->
<link href="<?php echo base_url() ?>assets/css/bolooka.css" rel="stylesheet">
<!-- Bootstrap -->
<link href="<?php echo base_url() ?>assets/bootstrap/css/bootstrap.css" rel="stylesheet"... |
<?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\CssSelector\Parser\Handler;
use Symfony\Component\Css... |
<?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... |
@extends('layouts.app')
@section('title', __('messages.authortitle') .' '. $author->name)
@section('content')
@include('blog.posts.list',['items'=>$items])
@endsection |
<?php
namespace Tzsk\Sms;
use Illuminate\Support\Arr;
class Builder
{
protected array $recipients = [];
protected string $body;
protected ?string $driver = null;
public function to($recipients): self
{
$this->recipients = Arr::wrap($recipients);
return $this;
}
public... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
use Password;
use Illuminate\Http\Request;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Pa... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;
use Illuminate\Http\Request;
use App\Mail\ActivateYourAccount;
use App\User;
class ActivationController extends Controller
{
public function activateUserAcount($code){
$user = User::whereCode($co... |
<?php
/**
* Created by PhpStorm.
* User: ns
* Date: 2018/11/13
* Time: 13:26
*/
namespace App\Http\Composer;
use Illuminate\Contracts\View\View;
use TCG\Voyager\Models\Post;
class CampusComposer {
public function compose(View $view)
{
$view->with('campus_posts', Post::where('category_id',2)->orde... |
@extends('master')
@section('title')
DashBoard StockHomeVn
@endsection
@section('content')
<div class="container">
<div class="row">
<div class="col-md-6 col-xl-3">
<div class="c-card">
<span class="c-icon c-icon--info u-mb-small">
<i class="feather icon-activity"></i>
</span>
... |
<?php
namespace Sinbadxiii\PhalconAuth\Tests;
use Phalcon\Config\Config;
use Phalcon\Encryption\Security;
use Sinbadxiii\PhalconAuth\Auth;
/**
* Class AuthTest
* @package Sinbadxiii\PhalconAuth\Tests
*/
class AuthTest extends AbstractTestCase
{
/** @test */
public function itShouldReturnMatchingDefaultGua... |
--TEST--
Test session_encode() function : basic functionality
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
/*
* Prototype : string session_encode(void)
* Description : Encodes the current session data as a string
* Source code : ext/session/session.c
*/
echo "*** Testing session_encode... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Order extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', function(Blueprint ... |
<?php
namespace Newpixel\GeographyCRUD;
use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
class GeographyCRUDServiceProvider extends ServiceProvider
{
/**
* Where the route file lives, both inside the package and in the app (if overwritten).
*
* @var string
*/
public ... |
<?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
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Interface Kiwi_Social_Share_Social (Buttons)
*/
interface Kiwi_Social_Share_Interface_Social {
/**
* Builds the Url of the button
*
* @return mixed
*/
public function build_url();
/**
* Returns a string containing HTML code of the button
*
* @ret... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class Note extends Component
{
public $title;
public $content;
public function render()
{
return view('livewire.note');
}
protected $rules=[
'title'=>'required',
'content'=>'required',
];
public func... |
<?php
namespace PH7;
defined('PH7') or exit('Restricted access');
/*
Created on 2021-12-30 15:24:23
Compiled file from: C:\laragon\www\ph7\templates/themes/base\tpl\bottom_menu.inc.tpl
Template Engine: PH7Tpl version 1.4.1 by Pierre-Henry Soria
*/
/**
* @author Pierre-Henry Soria
* @email hello@ph7cms.com
... |
<?php
namespace app\home\controller;
use think\Lang;
use think\Validate;
class Sellervoucher extends BaseSeller {
const SECONDS_OF_30DAY = 2592000;
private $applystate_arr;
private $quotastate_arr;
private $templatestate_arr;
public function _initialize() {
parent::_initialize(); // TO... |
<?php
require_once('pages/administration/Stock/valeur_stock.php'); |
<?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
class Ajax_model
{
/**
* @param object $db A PDO database connection
*/
function __construct($db){
try {
$this->db = $db;
} catch (PDOException $e) {
exit('Database connection could not be established.');
}
}
public function select($sql){
... |
<?php
/**
* Created by IntelliJ IDEA.
* User: Besitzer
* Date: 07.09.2016
* Time: 15:06
*/
namespace FbBasic\View\Helper;
use Zend\View\Helper\AbstractHelper;
use Facebook\GraphNodes;
class GraphEdgeHelper extends AbstractHelper
{
public function __invoke($mixed)
{
//if(is_a($mixed,GraphNodes\Gra... |
<?php
use Illuminate\Database\Seeder;
class ReviewsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<!-- Begin page content -->
<main role="main" class="flex-shrink-0">
<div class="container">
<h1 class="mt-5">UAS PEMPROGRAMAN INTERNET LANJUT</h1>
<p class="lead">ANDRI MARSELINDO MONE.</p>
</div>
</main> |
<?php
/* ====================
[BEGIN_COT_EXT]
Hooks=popup
[END_COT_EXT]
==================== */
/**
* Komus Plugin for Cotonti CMF
*
* @package komus
* @version 1.0.0
* @author Larion Lushnikov
* @copyright (c) Komus
* @license BSD
*/
defined('COT_CODE') or die('Wrong URL');
list($usr['auth_read'], $usr['aut... |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Backstage | ... |
<?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
namespace App\Http\Controllers;
use Mail;
use Illuminate\Http\Request;
use App\Http\Requests;
class ContactanosController extends Controller
{
/* Este controlador se encarga del cotacto de los usuarios con el administrador del Sistema */
public function sendContactMail(Request $request){
... |
<?php
namespace Tesis\AdminBundle\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
if (!isset($TEMPLATE)) {
$TITLE = 'GeoJSON Detail Format';
$NAVIGATION = true;
$HEAD = '<link rel="stylesheet" href="css/feedPages.css"/>';
include 'template.inc.php';
}
?>
<div class="feed-format">
<h2>Description</h2>
<p>
GeoJSON Detail output includes detailed information about a singl... |
<?php
namespace App\Http\Controllers;
use App\Libraries\Helpers;
use App\Office;
use App\Project;
use App\User;
use Illuminate\Http\Request;
class AdminController extends Controller
{
public function __construct()
{
$this->middleware('admin');
Helpers::setCurrentPage('dashboard');
}
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as ... |
<?php
namespace Trupal\Core\Discovery\Filter;
use Trupal\Core\os\FileInterface;
/**
* Filter for sorting out files that do not match a configured name pattern.
*
* @package Trupal\Core\Discovery\Filter
*/
class FileNamePatternFilter implements DirectoryFilterInterface {
/**
* A regular regular expressions ... |
<?php
/*
* Opulence
*
* @link https://www.opulencephp.com
* @copyright Copyright (C) 2021 David Young
* @license https://github.com/opulencephp/Opulence/blob/master/LICENSE.md
*/
namespace Project\Infrastructure\Documentation\Compilers;
use Opulence\Files\FileSystem;
use Parsedown;
use Project\Domain\Do... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"> --}}
<meta http-equiv="X-UA-Compatible" content... |
<?php
namespace App\Contracts;
interface TestContract
{
public function test($test);
} |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\User;
class UserCreated extends Mailable
{
use Queueable, SerializesModels;
public $user;
/**
* Create a new message inst... |
<?php
/**
* Codemini Framework
*
* An open source application development small framework
*
* @package Codemini Framework
* @author Fabricio Polito <fabriciopolito@gmail.com>
* @copyright Copyright (c) 2020 - 2020.
* @license https://github.com/fabriciopolito/Codemini/blob/master/LICENSE
* @link https://... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
<title>Simedic — Hospital</title>
<!-- General CSS Files -->
<link rel="styleshe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.