text
stringlengths
2
1.03M
<?php // Contact $to = 'daniel_k310a@hotmail.com'; $subject = 'Subject here...'; $name = $_POST['name']; $from = $_POST['email']; $message = $_POST['message']; bool mail (string $to , string$subject , string $message [, string $additional_headers [, string $additional_paramete...
<!DOCTYPE HTML> <!-- Editorial by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> <html> <head> <title>Inicio</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel...
<?php namespace Elphis\Providers; use Elphis\Providers\ServiceProvider; use Elphis\Utils\Config; use Elphis\Utils\HotReloader; use Swoole\Http\Server; class HotReloadServiceProvider extends ServiceProvider { public function register() { } public function boot() { $config = $this->app->resolv...
<!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 href="https://fonts.googleapis.com/c...
<?php session_start(); if($_SESSION['UserID'] == "") { header("location:../../../login/login_admin.php"); exit(); } if($_SESSION['Status'] != "admin") { echo "Homepage_admin"; exit(); } require '../../../connect/connect.php'; $strSQL = "SELECT * FROM member WHERE UserID = '".$_...
<?php /** * Created by PhpStorm. * User: test * Date: 10/12/2019 * Time: 20:43 */ namespace app\models; use phpDocumentor\Reflection\Types\Array_; use yii\base\Model; use yii\db\Expression; class CommentForm extends Model { public $content; public $postID; public function rules() { r...
<?php namespace Controller; use Controller\Controller; use Model\LikeModel; class LikeController extends Controller { public $like; public function __construct() { parent::__construct(); $this->like = new likeModel(); } public function likeindex() { //当$_SESSION['username']不为空时,显示登陆成功页面 if(!empty($_SES...
<?php namespace GDO\File\Method; use GDO\Core\Method; use GDO\File\GDO_File; use GDO\File\FileUtil; use GDO\Net\Stream; use GDO\Util\Common; use GDO\DB\GDT_Int; use GDO\DB\GDT_String; /** * Serve a file from partially db(meta) and fs. * This method requires admin permission because it shall not be called directly. ...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\Account\Types; use DTS\eBaySDK\Account\Types\PaymentMethod; class PaymentMethodTest ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class UsersController extends Controller { public function notifications() { //mark all as read auth()->user()->unreadNotifications->markAsRead(); //dd(auth()->user()->notifications()->first()->data['discussio...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProfilesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('profiles', fun...
<!---footer---> <table width=80% bgcolor="#ffcccc"> <tr> <td> <a href="new_customers.php">New Customers</a> | <a href="customers_display.php">Display Customers</a> | <a href="delete_customers.php">Delete Customers</a> | <a href="update_customers.php">Update Customers</a> | <a href="logout.php">Log out</a> </td> </tr> ...
<?php namespace spec\Matthewbdaly\PushNotification\Drivers; use Matthewbdaly\PushNotification\Drivers\APNS; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class APNSSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType(APNS::class); } }
@extends('contacts.layout') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Confirm Password') }}</div> <div class="card-body"> {{ ...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Api\ApiDefinition\Generator\OpenApi; use OpenApi\Annotations\Components; use OpenApi\Annotations\Info; use OpenApi\Annotations\MediaType; use OpenApi\Annotations\OpenApi; use OpenApi\Annotations\Property; use OpenApi\Annotations\Response as OpenApiRespo...
<?php namespace FilippoToso\Travelport\GDSQueue; class PolicyCompliance { /** * @var boolean $InPolicy */ protected $InPolicy = null; /** * @var StringLength1to128 $PolicyToken */ protected $PolicyToken = null; /** * @param boolean $InPolicy * @param StringLength1t...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ProductGallery extends Model { protected $fillable = [ 'photos', 'products_id', ]; protected $hidden = [ // ]; /* Model ini Gallery hanya boleh dimiliki product */ public function product() { re...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Alamat extends Model { use HasFactory; protected $table = 'alamat'; protected $fillable = [ 'alamat_detail', 'users_id' ]; }
@extends("layouts.app") @section("content") {{-- alias @card define in App\Providers\AppService\Provider --}} @card @slot('main') @yield('main') @endslot @slot('side') @yield('side') @component('components.sideBar') @endcomponent ...
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\db\migration\data\v31x; ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Integration\Test\Unit\Model\Oauth; /** * Unit test for \Magento\Integration\Model\Oauth\Nonce */ class NonceTest extends \PHPUnit\Framework\TestCase { /** * @var \Magento\Integration\Mo...
<?php use Illuminate\Database\Seeder; use \App\Usuario; class UsuariosTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Usuario::truncate(); factory('App\Usuario',20)->create(); } }
<?php namespace Zdrojowa\Amqp\Information; use Zdrojowa\Amqp\Annotations\PropertyAccessor; use Zdrojowa\Amqp\Contracts\AuthenticationInformation as AuthenticationInformationContract; /** * Class AuthenticationInformation * @package Zdrojowa\Amqp\Information * * @PropertyAccessor(name="authentication") */ class ...
@extends('frontend.layouts.app1') @section('content') {{-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.4.1/js/bootstrap-datepicker.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.4.1/css/bootstra...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table...
<?php defined('FSRMP_PATH') or die('Hacking attempt!'); // +-----------------------------------------------------------------------+ // | Home tab | // +-----------------------------------------------------------------------+ // send variables to template $...
<div class="collapse navbar-collapse" id="navbar-menu"> <ul class="navbar-nav pt-lg-3"> @if (!empty(Auth::guard('user')->user()->level)) @if (Auth::guard('user')->user()->level=="admin") <li class="nav-item {{ set_active(['dashboard']) }}"> <a class="nav-link" href="{{url('dashbo...
@extends('Admin.layout.master') @section('title', 'Admin') @section('judul_halaman', 'Gejala') @section('isi2') <div class="container"> {{-- pesan error --}} @if ($errors->any()) <div class="alert alert-danger"> <strong>Whoops!</strong> There were some problems with ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\personalrestaurante */ $this->title = 'Update Personalrestaurante: ' . $model->fecha_personal; $this->params['breadcrumbs'][] = ['label' => 'Personalrestaurantes', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' =...
<?php declare(strict_types=1); namespace ProxyManagerTest\Functional; use Generator; use PHPUnit\Framework\ExpectationFailedException; use PHPUnit\Framework\TestCase; use ProxyManager\Factory\AccessInterceptorValueHolderFactory; use ProxyManager\Proxy\AccessInterceptorInterface; use ProxyManager\Proxy\AccessIntercep...
<!-- Modal --> <div class="modal fade" id="post-modal-{{$post->id}}" tabindex="-1" role="dialog" aria-labelledby="post-modal-{{$post->id}}Label" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-body"> ...
<?php namespace app\api\exception; class TokenException extends BaseException { public $code = 401; public $msg = 'Token已过期或无效Token'; public $errorCode = 10010; }
<? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/admin/fileman_access.php");?>
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class AttachmentMail extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return vo...
@extends('layouts.admin.master', [ 'class' => '', 'elementActive' => 'quotation' ]) @section('content') <!-- Start: main-content --> <div class="content main-content--wrapper"> <div class="row"> <div class="col-md-24"> <div class="card card-primary main-content--subb...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct() { parent::__construct(); } public function index() { $data['head'] = 'layout/head'; $data['foot'] = 'layout/foot'; $this->load->...
@extends('layouts.app') @section('content') <span>prof </span> <input type="checkbox" {{ Auth::user()->hasRole('professor') ? 'checked' : '' }} name="prof"> <span>art</span> <input type="checkbox" {{ Auth::user()->hasRole('articulador') ? 'checked' : '' }} name="art"> contr <input type="checkb...
<?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\DomCrawler\Field; /** * ChoiceFormField represents a...
<?php namespace Illuminate\Auth\Notifications; use App\Models\Admin; use App\Models\User; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Lang; use Illuminate\Support\Facad...
<?php namespace FedEx\OpenShipService\ComplexType; use FedEx\AbstractComplexType; /** * Specifies the concept of a container used to package dangerous goods commodities. * * @author Jeremy Dunn <jeremy@jsdunn.info> * @package PHP FedEx API wrapper * @subpackage OpenShip Service * * @property float $Q...
<?php echo "Hello World !\n";
<?php /* _jsCssIncludes.twig */ class __TwigTemplate_6a9e5ce7ca5fa629e28696e8787f4673be6c202788d27f9247e0a2f2831a8d8d extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } ...
<?php declare(strict_types=1); /** * This file is part of Swoft. * @link https://swoft.org * @document https://swoft.org/docs * @contact group@swoft.org * @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE */ namespace App\Tcp\Middleware; use Swoft\Bean\Annotation\Mapping\Bean; use Swoft\Lo...
<?php namespace Scalr\Tests\Service; use Scalr\Tests\TestCase; use Scalr\Service\Cloudyn; /** * Cloudyn api tests * * @author Vitaliy Demidov <zend@i.ua> * @since 19.11.2012 */ class CloudynTest extends TestCase { /** * {@inheritdoc} * @see SimpleTestCase::setUp() */ protected func...
<?php /** * dingtalk API: dingtalk.isv.call.getuserlist request * * @author auto create * @since 1.0, 2019.07.03 */ class IsvCallGetuserlistRequest { /** * 批量值 **/ private $offset; /** * 游标开始值 **/ private $start; private $apiParas = array(); public function setOffset($offset) { $this->off...
<?php /** * House info, necessary for storing each of defined houses * * @copyright Copyright &copy; 2016-2017 astrolog-online.net * @author Zemlyansky Alexander <meraponimaniya@mail.ru> * @package Core\InfoObjects * @since 0.1 * @license http://opensource.org/licenses/BSD-3-Clause */ namespace vulkan\Core\Inf...
<?php class Simple_Review { private $value; private $messages; private $link = 'https://wordpress.org/plugins/simple-custom-post-order/#reviews'; private $slug = 'simple-custom-post-order'; function __construct() { $this->messages = array( 'notice' => esc_html__( "Hi there! Stoked to see you're using S...
@extends('profiles.layout') @section('mailImg') <svg class="mr-3" width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-mailbox" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" d="M4 4a3 3 0 0 0-3 3v6h6V7a3 3 0 0 0-3-3zm0-1h8a4 4 0 0 1 4 4v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1...
<html> <head> <title>Gallery</title> <link href="css/style.css" type="text/css" rel="stylesheet"> <link href="css/menu.css" type="text/css" rel="stylesheet"> <style type="text/css"> #contents-gallary { height: 2150px; width: 1200px; display: block; //margin-top:0px; margin-bottom:30px; background...
<?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. */ /** * sfAnsiColorFormatter provides methods to colorize ...
<?php session_start(); // INICIO LA SESION include "../classes/gifmerge/GIFEncoder.class.php"; require_once('../classes/crypt/5CR.php'); require_once('../../../configuration/key.inc'); require_once ('../classes/img/Image_Toolbox.class.php'); include ('../../../classes/querys/query.php'); require ('../../../classes/lan...
<?php include "pages/data/script/m_supplier.php"; ?> <section class="content-header"> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-database"></i> Master</a></li> <li><a href="#">Supplier</a></li> </ol> </section> <!-- /.row --> <div class="box box-info"> <div class="box-bo...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use App\Models\Role; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController exte...
<?php namespace Proxies\__CG__\AppBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class MessageMetadata extends \AppBundle\Entity\MessageMetadata implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the pr...
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use App\Model\Slider; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; use Image; use Intervention\Image\ImageManager; use Storage; class SliderController extends Controller { public function index() { ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'C:/xampp/htdocs/sites/grav-admin/user/plugins/form/form.yaml', 'modified' => 1488223320, 'data' => [ 'enabled' => true, 'built_in_css' => true, 'files' => [ 'multiple' => false, ...
<!DOCTYPE html> <html lang="en"> <head> <title>{{ $invoice->name }}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="{{ asset('/vendor/invoices/bootstrap.min.css') }}"> <style type="text/css" media="screen"> * { font-family...
<?php /** * CakeRequest Test case file. * * PHP 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistri...
<?php namespace App\Models; use CodeIgniter\Model; class KomikModel extends Model { protected $table = 'blog'; protected $useTimestaps = true; protected $allowedFields = ['judul','slug','author','deskripsi_display','imgpath','content']; public function getKomik($slug = false) { if ($slug...
<?php /** * Admin Base Controller * * The admin base controller handles any global admin functions such as enabling * authentication. All admin controllers must extend the AdminController class. * * @package WHSuite-Controllers * @author WHSuite Dev Team <info@whsuite.com> * @copyright Copyright (c) 2013, Turn 24 L...
<!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>@yield('title')</title> <!-- Scripts...
<?php use SilverStripe\Security\Group; use SilverStripe\Security\GroupCsvBulkLoader; /** * Imports {@link Group} records by CSV upload, as defined in * {@link GroupCsvBulkLoader}. * * @package framework * @subpackage admin */ class GroupImportForm extends Form { /** * @var Group Optional group relation */...
@extends('ceshi/layout') @section('title', '展示') @section('body') <div class="container" align="center"> <h2>展示页面</h2> <form class="form-inline"> <div class="form-group"> <label for="inputPassword2" class="sr-only">Password</label> <input type="text" name="user" class="form-control" id="in...
<?php namespace BelgianZips; use Doctrine\Common\Cache\ArrayCache; use Doctrine\Common\Cache\Cache; class BelgianZips { const CACHE_IDENTIFIER = 'belgianzips.zipcodes'; /** @var array */ private $zipCodes; /** @var ArrayCache */ private $cache; public function __construct(Cache $cache = ...
@extends('template') @section('titre') Les articles @stop @section('contenu') <p>C'est l'article n° {{ $numero }}</p> @stop
<?php namespace boa; ?> <!DOCTYPE HTML> <html dir="<?php echo boa::lang('boa.locale.direction'); ?>"> <head> <title><?php echo boa::lang('boa.system.e400'); ?> - <?php echo NAME; ?></title> <meta charset="<?php echo CHARSET; ?>"> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="I...
<?php $config->krdef = new stdclass(); $config->krdef->version = '1.0.0'; $config->krdef->key = '88888888888888888888888888888888'; //Set a 32 byte string as your key. define('TABLE_KEVIN_REMOTE', '`' . 'kv_remote`'); define('TABLE_BOOK', '`' . 'eps_book`'); $config->objectTables['kevinremote'] = TABLE_KEVIN_REMO...
<!DOCTYPE HTML> <html> <head> <script id="allmobilize" charset="utf-8" src="./home/js/allmobilize.min.js"></script> <meta http-equiv="Cache-Control" content="no-siteapp"/> <link rel="alternate" media="handheld"/> <!-- end 云适配 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ...
<ul class="media-list"> @foreach ($microposts as $micropost) <?php $user = $micropost->user; ?> <li class="media"> <div class="media-left"> <img class="media-object img-rounded" src="{{ Gravatar::src($user->email, 50) }}" alt=""> </div> <div class="media-body"> <d...
<?php declare(strict_types=1); namespace Shopware\Storefront\Controller; use Shopware\Core\Checkout\Cart\Cart; use Shopware\Core\Content\Seo\SeoUrlPlaceholderHandlerInterface; use Shopware\Core\Framework\Adapter\Twig\TemplateFinder; use Shopware\Core\Framework\Routing\RequestTransformerInterface; use Shopware\Core\Pl...
<section class="reviews"> <h2 class="reviews__title"><?php print $data['title'] ?></h2> <?php print $data['table']; ?> <?php if (isset($data['forms']['create'])): ?> <div class="create-form-wrapper"> <?php print $data['forms']['create']; ?> </div> <?php endif; ?> <?php ...
<footer> <div class="line"> <div class="s-12 l-6"> <p>Copyright 2019, Vision Design - graphic zoo</p> <p>All images have been purchased from Bigstock. Do not use the images in your website.</p> </div> <div class="s-12 l-6"> <a class="right" target="_blank"...
<?php namespace Accessible\MethodManager; class MethodCallManager { /** * Throws a BadMethodCallException if the number of arguments is not what we want. * * @param int $numberOfArgs * @param array $args */ public static function assertArgsNumber($numberOfArgs, $args) { ...
<?php /** * TbCrumb class file. * @author Christoffer Niska <ChristofferNiska@gmail.com> * @copyright Copyright &copy; Christoffer Niska 2011- * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package bootstrap.widgets */ Yii::import('zii.widgets.CBreadcrumbs'); /** * Bootstrap b...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'ZBateson\\StreamDecorators\\' => array($vendorDir . '/zbateson/stream-decorators/src'), 'ZBateson\\MbWrapper\\' => array($vendorDir . '/zbateson/mb-wrapper/src'), 'ZBa...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class QuestionCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** *...
<?php declare(strict_types=1); namespace App\Domain\UserAuthentication\Aggregate; use App\Domain\UserAuthentication\UserSessionToken; use RuntimeException; use function sprintf; final class SessionNotFound extends RuntimeException { public static function byToken(UserSessionToken $token) : self { re...
<?php namespace backend\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\Post; /** * UserSearch represents the model behind the search form about `common\models\User`. */ class PostSearch extends Post { /** * @inheritdoc */ public $post_date; pub...
<?php abstract class PhabricatorSSHWorkflow extends PhutilArgumentWorkflow { // NOTE: We are explicitly extending "PhutilArgumentWorkflow", not // "PhabricatorManagementWorkflow". We want to avoid inheriting "getViewer()" // and other methods which assume workflows are administrative commands // like `bin/s...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
@extends('layout/main') @section('title', 'web malik aja') @section('container') <div class="container"> <div class="row"> <div class="col-10"> <h1 class="mt-3">Hello, world!</h1> </div> </div> </div> @endsection
<?php /** * Yandex PHP Library * * @copyright NIX Solutions Ltd. * @link https://github.com/nixsolutions/yandex-php-library */ /** * @namespace */ namespace YandexOld\Common\Exception; /** * MissedArgument Exception * * @package YandexOld\Common\Exception * * @author Alexander Khaylo <naxel@land.ru> *...
<?php namespace common\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\News; /** * NewsSearch represents the model behind the search form about `common\models\News`. */ class NewsSearch extends News { /** * @inheritdoc */ public function rules() { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\tabshop; use Session; Session_start(); class ShopController extends Controller { public function shopdatban(Request $rq) { $meta_desc = "More than just great coffee. Explore the menu, sign up for 1998 Coffee® Rewards, manage your gift c...
<? class TDFMParser { public function __construct(){ } public function loadStr($str){ } } ?>
<?php declare(strict_types=1); namespace CodeRhapsodie\EzDataflowBundle\Filter; use CodeRhapsodie\EzDataflowBundle\Core\FieldComparator\FieldComparatorInterface; use CodeRhapsodie\EzDataflowBundle\Model\ContentUpdateStructure; use eZ\Publish\API\Repository\ContentService; use Psr\Log\LoggerAwareTrait; /** * Filter...
<?php declare(strict_types=1); // @link https://schemas.thereal.com/json-schema/thereal/taxonomy/request/suggest-hashtags-request/1-0-0.json# namespace Thereal\Schemas\Taxonomy\Request; use Gdbots\Pbj\AbstractMessage; use Gdbots\Pbj\Enum\Format; use Gdbots\Pbj\FieldBuilder as Fb; use Gdbots\Pbj\Schema; use Gdbots\Pbj...
@extends('apps.layout.master') @section('title','Color Plate Setting') @section('content') <section id="form-action-layouts"> <?php $userguideInit=StaticDataController::userguideInit(); //dd($dataMenuAssigned); ?> <div class="row"> <div class="col-md-8 offset-md-2" @if($userguideInit==1) data-step="1" d...
<!DOCTYPE html> <html lang="en"> <head> <!-- Header --> @include('backend.includes.header') <!-- CSS --> @include('backend.includes.css') </head> <body> <!-- Leftbar --> @include('backend.includes.leftbar') <!-- Topbar --> @include('backend.includes.topbar') <!-- Rightbar --> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateParishesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('parishes', fun...
<?php namespace Modules\Dynamicfield\Composers; use Illuminate\Contracts\View\View; use Modules\Dynamicfield\Utility\DynamicFields; class DynamicfieldViewComposer { /** * Assign dynamicField to view * * @param View $view */ public function compose(View $view) { $this->assignDy...
@extends('admin.layout') @section('content') {{-- content-header --}} @include('admin.component.content-header', ['title' => 'Danh mục']) <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> {{-- group button -...
<?php use App\Http\Controllers\ProjectController; use App\Http\Controllers\TasksController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where y...
<?php namespace Cms\Classes; use Str; use Lang; use Config; use Cms\Classes\CodeBase; use Cms\Classes\CmsException; use October\Rain\Extension\Extendable; use BadMethodCallException; /** * Component base class * * * */ abstract class ComponentBase extends Extendable { use \System\Traits\AssetMaker; use \...
<!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>Projeto CRUD</title> <!-- Fonts --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4...
--TEST-- Starting Debugger: default, no environment --FILE-- <?php require 'dbgp/dbgpclient.php'; dbgpRunFile( dirname(__FILE__) . '/empty-echo.inc', ['step_into', 'step_into', 'property_get -n $e', 'detach'], ['xdebug.mode' => 'debug', 'xdebug.start_with_request' => 'default'], ['timeout' => 1] ); ?> --EXPECT-- Hi...
<?php namespace Lendable\GoCardlessEnterpriseBundle\Entity; class CreditorBankAccount extends \Lendable\GoCardlessEnterprise\Model\CreditorBankAccount { public function fromArray($data) { parent::fromArray($data); $this->setCreatedAt(new \DateTime($this->getCreatedAt())); } }
<?php /** * Userzone.php * 文件描述 * Created by PhpStorm. * Create On 2018/5/2615:07 * Create by cyj */ namespace app\index\controller; use app\index\common\controller\Base; class Userzone extends Base { //指定用户的空间首页 //进入我的空间,则显示所有的好友的更新的状态,以及相关的评论信息 //进入某人的空间,则集中显示这个人的最近更新的内容以及相关评论 public functi...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\JenisWisata */ $this->title = $model->id_jeniswisata; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Jenis Wisatas'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <di...