text
stringlengths
2
1.03M
<?php namespace Manticoresearch\Query; use Manticoresearch\Query; class In extends Query { public function __construct($field, $args) { $this->params['in'] = [$field => $args]; } }
<!-- DataTales Example --> <div class="card shadow mb-4"> <!-- Card Header - Dropdown --> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> <h6 class="m-0 font-weight-bold text-primary">Member Purchasing</h6> <a href="<?php echo base_url('member/add')?>" class="btn btn-prim...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="row mg-top-50" style="padding-left: -280px !important;"> <div class="s10 m8 l4 offset-l3 col"> <div class="panel"> <div id="alert-box" class="alert-box in-panel <?= $notification['class']; ?>" <?php if($notification ==...
<?php use yii\db\Migration; /** * Handles the creation of table `category`. */ class m181210_204101_create_category_table extends Migration { /** * {@inheritdoc} */ public function Up() { $this->createTable('category', [ 'id' => $this->primaryKey(), 'title' => $...
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; class TableRestore extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'restore:table {table?}'; /** * The consol...
<?php return [ 'driver' => 'gd', ];
@extends('layouts.app',[ 'class' => 'footer_normal' ]) @section('content') <section> <div class="background_container"> <div class="row"> @foreach ($workouts as $workout) <div class="col-md-4 col- workout workout_color"> <h2 class="zumba">{{$workout['workout']}}</h2> ...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> {{-- 後の章で説明します --}} <meta name="csrf-t...
<?php /* [DESTOON B2B System] Copyright (c) 2008-2018 www.destoon.com This is NOT a freeware, use is subject to license.txt */ require '../common.inc.php'; $DT['city'] or dheader(DT_PATH); if($DT_BOT) dhttp(403); if($action == 'go') { if(isset($auto)) { if($DT['city_ip']) { set_cookie('city', ''); } else { ...
<?php /* Plugin Name: Ahmeti Wp Güzel Sözler Plugin URI: http://ahmeti.net/ Description: Harika sözleri arşivleyebileceğiniz ve istediğiniz sayfalarda paylaşabileceğiniz bir eklenti... Author: Ahmet İmamoğlu Version: 3.1 Author URI: http://ahmeti.net/ */ /* Copyright 2012 Ahmet İmamoğlu ( a...
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Fixer\StringNotation; use Php...
<?php namespace App\Http\Controllers\UNStarter; use DB; use Session; use Redirect; use Cookie; use View; use HTML; use Auth; use Input; use Image; use Response; use Theme; use Illuminate\Cookie\CookieJar; use App\User; use App\Models\Changelog; use App\Models\Communique; use App\Models\Communiquetype; use App\Models...
<?php namespace App\Models; use Hleb\Scheme\App\Models\MainModel; use DB; use PDO; class WebModel extends MainModel { // Все сайты public static function getItemsAll($page, $limit, $user_id) { $start = ($page - 1) * $limit; $sql = "SELECT item_id, ...
<?php declare(strict_types=1); namespace App\Shared\UI\Web\Controller\Service; use App\Core\Domain\ConfigRepositoryInterface; use App\Core\Domain\FeatureEnum; use App\Core\Domain\FeatureFlippingInterface; use Symfony\Component\HttpFoundation\Request; final class ReCaptchaValidator { private FeatureFlippingInter...
--TEST-- Test OCI8 Reflection --SKIPIF-- <?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?> --FILE-- <?php /* ALL PHP_FE or PHP_ALIAS user callable functions should appear here */ reflection::export(new reflectionfunction('oci_define_by_name')); reflection::export(new reflectionfunction('oci_bind...
<?php /** * WooCommerce.com Product Installation. * * @package WooCommerce\WCCom * @since 3.7.0 */ defined( 'ABSPATH' ) || exit; /** * WC_WCCOM_Site Class * * Main class for WooCommerce.com connected site. */ class WC_WCCOM_Site { const AUTH_ERROR_FILTER_NAME = 'wccom_auth_error'; /** * Load the WCCO...
<?php namespace App\Models\Building; use App\Models\BaseEloquentModel; class Floor extends BaseEloquentModel { protected $fillable = ['name', 'level', 'height', 'building_id']; /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function building() { return $t...
<?php header('Access-Control-Allow-Origin: *'); header('Content-Type: application/json'); include "../connection.php"; mysqli_set_charset($conn,'utf8'); $response=null; $records = null; $userEmail = null; $userMobile = null; $password = null; $userName = null; $userFullName = null; extract...
<?php declare(strict_types=1); namespace Prismic\Document\Fragment; use Prismic\Document\Fragment; use Stringable; final class EmptyFragment implements Fragment, Stringable { public function isEmpty(): bool { return true; } public function __toString(): string { return ''; }...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class ResetPassword extends Notification { use Queueable; public $token; /** * Create a new ...
<?php declare(strict_types=1); namespace App\DataProvider\Ranking; use Illuminate\Support\Facades\DB; use Carbon\Carbon; class RankingData { }
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Login</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:20...
<?php /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
<?php /** * INCHOO's FREE EXTENSION DISCLAIMER * * Please do not edit or add to this file if you wish to upgrade Magento * or this extension to newer versions in the future. * * Inchoo developers (Inchooer's) give their best to conform to * "non-obtrusive, best Magento practices" style of coding. * However, Inc...
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class LoginTest extends TestCase { use DatabaseMigrations; /** * A basic feature test example. * ...
<!-- head --> <?php $this->load->view('admin/news/head',$this->data)?> <div class="line"></div> <div class="wrapper"> <!-- Form --> <form class="form" id="form" action="<?php echo admin_url('news/update') ?>"a method="post" enctype= "multipart/form-data"> <fieldset> <...
<?php declare(strict_types=1); namespace WoohooLabs\Yin\Tests\JsonApi\Schema\Data; use PHPUnit\Framework\TestCase; use WoohooLabs\Yin\JsonApi\Schema\Data\SingleResourceData; class SingleResourceDataTest extends TestCase { /** * @test */ public function transformSinglePrimaryResources() { ...
<?php namespace App\Http\Controllers\Back; use App\Http\Controllers\Controller; use App\Http\Requests\Back\UserRequest; use Illuminate\Http\UploadedFile; class ProfileController extends Controller { /** * Folder to be save the images * * @var string */ private $folder = 'app/public/profil...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function(Blueprint $table) { $table->increments('id'); $t...
<?php /** * WeEngine System * * (c) We7Team 2021 <https://www.w7.cc> * * This is not a free software * Using it under the license terms * visited https://www.w7.cc for more details */ namespace W7\Tests\Test; use W7\Tests\Material\HandlerDataValidate; use W7\Tests\Material\TestBaseValidate; class TestHandle...
<?php namespace App\Models\Ht; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\DB; class JrTt extends Model{ private $db; public function __construct(array $attributes = []){ parent::__construct($attributes); $this->db = DB::con...
<?php namespace Drupal\simple_sitemap\Queue; use Drupal\Core\StringTranslation\StringTranslationTrait; trait BatchTrait { use StringTranslationTrait; /** * @var array */ protected $batch; protected static $batchErrorMessage = 'The generation failed to finish. It can be continued manually on the modu...
<?php namespace Vanguard; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Company extends Model { use SoftDeletes; protected $table = 'companies'; public $primaryKey = 'id'; public $timestamps = true; public $dates = ['deleted_at']; protected $...
<?php /** * Create a target page for the results of a View form. * * @since 2.8 Moved the callback here. */ class WPV_Ajax_Handler_Create_Form_Target_Page extends Toolset_Ajax_Handler_Abstract { const NONCE = 'wpv_create_form_target_page_nonce'; const CAPABILITY = 'publish_pages'; public function process_call...
<?php /** * Created by PhpStorm. * User: lullabies * Date: 2019/11/30 * Time: 11:47 */ namespace app\lib\exception; class ParameterException extends BaseException { public $code = '400'; public $msg = '参数错误'; public $errorCode = 10000; }
<?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 declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Stream that when read returns bytes for a streaming multipart or * multipart/form-data stream. */ final class MultipartStream implements StreamInterface { use StreamDecoratorTrait; /** @var string */ ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class M_stock extends CI_Model { public function listar(){ $dbLuis = $this->load->database("JCHS2018", TRUE); $res = $dbLuis ->select("AR_CDESCRI, AR_CCODIGO, L.LI_CDESLIN, L.LI_COBSER2") ->join("FT0001LINE L", "L.LI_CCODLIN=...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClassesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('classes', funct...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 3 | Dashboard</title> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Font Awesome --> <link ...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ return [ 'EzForm'=>'EzForm', 'EzModules'=>'EzModules', 'Record Data'=>'บันทึกข้อมูล', 'Export'=>'จัดการข้อมูล',...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<?php namespace App; use Illuminate\Database\Eloquent\Model; // class UnitRumah extends Model // { // protected $table = 'unit'; // }
<?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...
<?php /** * Copyright 2020 Cloud Creativity Limited * * 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 l...
<?php namespace Mockery\Generator; use Mockery\Generator\StringManipulation\Pass\Pass; class StringManipulationGenerator implements Generator { protected $passes = array(); public function __construct(array $passes) { $this->passes = $passes; } public function generate(MockConfiguratio...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Masonry</title> <style> .grid { margin: 20px auto; } .grid-item { margin-bottom: 10px; } .loader-ellips { font-size: 20px; /* change size here */ position: relative; w...
<!----------------------------------------------------------------------------------- -- -- Research -- -------------------------------------------------------------------------------------> <div class="container medlab_panel_container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> ...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; class LoginController extends Controller { /* |--------------------------------------------------------------...
<?php use yii\db\Migration; class m160229_154612_foreign_keys extends Migration { /*public function up() { } public function down() { echo "m160229_154612_foreign_keys cannot be reverted.\n"; return false; } */ // Use safeUp/safeDown to run migration code within a trans...
@extends('layouts.admin.master') @section('css') <!--Internal Font Awesome --> <link href="{{URL::asset('assets/admin/plugins/fontawesome-free/css/all.min.css')}}" rel="stylesheet"> <!--Internal Notify --> <link href="{{URL::asset('assets/admin/plugins/notify/css/notifIt.css')}}" rel="stylesheet"/> <!--Internal tre...
<?php /** * @var View $this * @var SourceMessage $model */ use yii\helpers\Html; use yii\web\View; use yii\widgets\ActiveForm; use yii\widgets\Breadcrumbs; use modules\lang\models\Lang; use modules\translations\models\SourceMessage; use modules\translations\Module; use modules\translations\models\Message; use modul...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit7b14bb11430d10d22d9ee0da1598f266 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php namespace Crm\GiftsModule\Components; use Crm\ApplicationModule\Widget\BaseWidget; use Crm\GiftsModule\Forms\GiftSubscriptionAddressFormFactory; use Crm\GiftsModule\PaymentItem\GiftPaymentItem; use Crm\PaymentsModule\Repository\PaymentsRepository; use Crm\SalesFunnelModule\Presenters\SalesFunnelPresenter; use N...
<?php $__env->startSection('content'); ?><p>Stillbirth rates have spiked with alarming intensity amid the pandemic and lockdowns intended to slow the spread of coronavirus, according to research from multiple nations. </p> <p>In Nepal, stillbirths surged by 50 percent between late March and late May, according to a ma...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Migration_create_table_user_info extends CI_Migration { public function up() { $this->dbforge->add_field(array( 'id' => array( 'type' => 'INT', 'unsigned' => TRUE, 'auto_increment' => TRUE ), 'user_id' => array( ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSchedulesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('schedules', f...
<?php namespace BookStack\Entities\Tools; class BookSortMapItem { /** * @var int */ public $id; /** * @var int */ public $sort; /** * @var ?int */ public $parentChapterId; /** * @var string */ public $type; /** * @var int */ ...
<?php use App\User; use Carbon\Carbon; use Illuminate\Database\Seeder; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('roles')->insert([ ['name' => 'Admin','created_at' => Carbon::now(),'updated_...
<!-- Country Code Field --> <div class="form-group view"> {!! Form::label('country_code', 'Country Code:', ['class' => 'form-view']) !!} {!! Form::text('country_code', $statement->country_code, ['class' => 'form-control', 'readonly' => 'true']) !!} </div> <!-- Region Field --> <div class="form-group view"> ...
<?php if (!isset($_SESSION['id'])) { ?> <form action="login.php" method="post"> <input type="text" name="username" placeholder="User" required></input> <input type="password" name="pw" placeholder="Password" required></input> <p> <label for="rem-chk"> <input type="checkbox" name="r...
<?php namespace Core\Hashing; class Hasher { /** * Crypter un mot de passe * @param string $string */ public function Encrypt($string) { return password_hash($string, PASSWORD_BCRYPT); } /** * Verifier un mot de passe crypter * @param [type] $string [description] * @param [type] $h...
<?php declare(strict_types=1); namespace DCarbone\PHPConsulAPI; /* Copyright 2016-2021 Daniel Carbone (daniel.p.carbone@gmail.com) 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 ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class RolesSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $role = [ [ 'name' => 'admin' ], [ ...
<?php declare(strict_types=1); namespace CloudLoyalty\EasySmsClient; use CloudLoyalty\EasySmsClient\Exception\BadResponseException; use CloudLoyalty\EasySmsClient\Exception\BaseEasySmsException; use CloudLoyalty\EasySmsClient\Exception\TransportException; use CloudLoyalty\EasySmsClient\Model\BaseOptions; use CloudLo...
<?php /** * Created by PhpStorm. * User: tsh * Date: 2019/2/1 * Time: 22:51 */ namespace app\api\enum; class Status { }
<?php $container->loadFromExtension('framework', array( 'templating' => false, ));
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Ajax_Massload extends Controller_Template { protected $json = array(); public function before() { // only ajax request is allowed if ( ! $this->request->is_ajax() AND Kohana::$environment !== Kohana::DEVELOPMENT) { //throw new ...
<?php return array( /* * 小程序APPID */ 'appid' => 'wx68ebe78cca4dc17c', /* * 小程序Secret */ 'secret' => '031a97d63a3ea2f5e62640c1d04608d6', /* * 小程序登录凭证 code 获取 session_key 和 openid 地址,不需要改动 */ 'code2session_url' => 'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=...
@extends('layouts.master') @section('title', 'Contact') @section('content') <!--banner--> <div class="banner-top"> <div class="container"> <h3>Contact</h3> <h4><a href="index.html">Home</a><label>/</label>Contact</h4> <div class="clearfix"> </div> </div> </div> <!-- contact --> <div ...
<?php namespace App\Providers; use Illuminate\http\Request; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot(Request $request) { app()->setLocale($reque...
<?php // Heading $_['heading_title'] = 'Search'; $_['heading_tag'] = 'Tag - '; // Text $_['text_search'] = 'Products meeting the search criteria'; $_['text_keyword'] = 'Keywords'; $_['text_category'] = 'All Categories'; $_['text_sub_category'] = 'Search in subcategories'; $_['text_empty'] ...
<?php namespace App\Http\Controllers; use App\Reply; use App\Thread; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class RepliesController extends Controller { public function __construct() { $this->middleware('auth'); } public function store(Thread $thread) { ...
<?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...
@extends('layouts.admin-master') @section('orders') active show-sub @endsection @section('confirmed-orders') active @endsection @section('admin-content') <!-- ########## START: MAIN PANEL ########## --> <div class="sl-mainpanel"> <nav class="breadcrumb sl-breadcrumb"> <a class="breadcrumb-it...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Shou; class Shoucontroller extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $pageSize=config('app.pageSize'); $dat...
<?php namespace App\Contracts; use App\Models\TodoItem; use App\Models\TodoList; use App\Http\Resources\TodoItemResource; interface ITodoItemService { public function create(TodoList $todoList, array $params): TodoItemResource; public function update(array $params, TodoItem $todoItem): TodoItemResource; ...
<?php return [ 'base_url' => 'https://portal.pejer.app/api/v1/', 'api_token' => env('PEJER_API_TOKEN', 'your-pejer-api-token'), 'team_id' => env('PEJER_TEAM_ID', 'your-pejer-team-id'), ];
<?php namespace Kendo\Dataviz\UI; class SparklineCategoryAxisItemMinorGridLines extends \Kendo\SerializableObject { //>> Properties /** * The color of the lines. Any valid CSS color string will work here, including hex and rgb.Note that this setting has no effect if the visibility of the minor grid lines is ...
<?php namespace ApiContas\Http\Controllers; use ApiContas\Criteria\OrderByFieldCriteria; use Illuminate\Http\Request; use ApiContas\Http\Requests\BillsCreateRequest; use ApiContas\Http\Requests\BillsUpdateRequest; use ApiContas\Repositories\BillsRepository; use ApiContas\Validators\BillsValidator; class BillsContr...
<?php namespace AlibabaCloud\ARMS; /** * @method string getTraceAppName() * @method $this withTraceAppName($value) */ class SearchTraceAppByName extends Rpc { }
<div class="form-field"> <div class="margin-bottom"> <label for="partner_name"><?php _e('Name');?> *</label> <input id="partner_name" type="text" name="partner_name[]" value="<?php if(!empty($partner_name)) { echo $partner_name; } ?>"/> </div> <label for="partner_url"><?php _e('Webseite');?...
<?php /* * $Id$ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CO...
<?php return array( //*************************************附加设置*********************************** 'SHOW_PAGE_TRACE' => false, // 是否显示调试面板 'URL_CASE_INSENSITIVE' => false, // url区分大小写 'TAGLIB_BUILD_IN' => 'Cx,Common\Tag\My', //...
<html> <head></head> <body> <p>{!!$content!!}</p> </body> </html>
<?php namespace Aksara\Libraries; /** * Miscellaneous Library * This class is used to generate any miscellanious features * * @author Aby Dahana * @profile abydahana.github.io * @website www.aksaracms.com * @since version 4.2.4 * @copyright (c) 2021 - Aksara Laboratory */ class Miscellaneous { public...
<div class="page-header"> <h2><?= t('Invite people') ?></h2> </div> <div class="form-columns"> <!-- new by mahdi hezaveh # --> <div class="form-column"> <form method="post" action="<?= $this->url->href('UserInviteController', 'save') ?>" autocomplete="off"> <?= $this->form->csrf() ?> ...
<?php namespace AppBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * Class Student. * * @category Entity * * @ORM\Entity(repositoryClass="AppBundle\Repository\StudentRepository") * @ORM\Table(na...
<?php namespace Backend\Behaviors; use Str; use Lang; use Flash; use Event; use Redirect; use Backend; use Backend\Classes\ControllerBehavior; use October\Rain\Router\Helper as RouterHelper; use ApplicationException; use Exception; /** * FormController adds features for working with backend forms. This behavior will...
<?php /** * This file is part of the Fy\Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Unknown default region, use the first alphabetically. */ return require __DIR...
<?php namespace Auxin\Plugin\CoreElements\Elementor\Modules\QueryControl\Classes; use Elementor\Widget_Base; class Elementor_Related_Query extends Elementor_Post_Query { private $fallback_args; private $related_post_id; /** * Elementor_Post_Query constructor. * * @param Widget_Base $widget * @param string...
<?php /** * Global Configuration Override * * You can use this file for overriding configuration values from modules, etc. * You would place values in here that are agnostic to the environment and not * sensitive to security. * * @NOTE: In practice, this file will typically be INCLUDED in your source * control,...
<?php declare(strict_types=1); namespace PHPUnit\Architecture\Asserts\Inheritance; use PHPUnit\Architecture\Asserts\Dependencies\ObjectDependenciesDescription; /** * Describe object extends and implement */ class ObjectInheritanceDescription extends ObjectDependenciesDescription { /** * Name extends clas...
<div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th>#</th> <th>City</th> <th>Controls</th> </tr> </thead> <tbody> @if(!empty($cities)) @foreach($cities as $city) <tr> ...
<?php include '../before.php'; Tester::describe('Syntax Error Example', Tester::describe('hello', Tester::it('should say hello.', Tester::func('sayHello'), 'hello' ) ), true ); /* Functions to return values for the test inputs */ function sayHello() { return // incomplete statement }
<?php require 'DB.php'; $helper = new DB(); if(isset($_REQUEST['email']) && isset($_REQUEST['app_type']) && isset($_REQUEST['gcm_id'])){ $r = $helper->RegisterUserInGCM($_REQUEST); } ?>
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of MovieController * * @author Asish */ namespace Application\Controller; use Zend\Mvc\Controller\Abstra...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ContactController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $bText = 'Contact Us'; return view('f...
<html> <?php require('../../functions.php'); session_start(); if (!isset($_SESSION["id_pegawai"])) { header("Location: ../../index.php?error=4"); } nav("Lihat Menu"); dbConnect(); $data = getMenu()->fetch_all(MYSQLI_ASSOC); ?> <!--SideBar--> <aside class="sidebar"> <menu> <ul class="menu-content"> ...