text
stringlengths
2
1.03M
<?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\Console\Tests\Tester; use PHPUnit\Framework\TestCase;...
@extends('backend.master') @section('title', 'Visitor Profile') @section('dashboard-title', 'Profile') @section('breadcrumb-title', 'Visitor Profile Information') @section('stylesheet') <!-- <link href="//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" rel="stylesheet"> <link href="https://cdn.jsdel...
@extends(env('THEME').'.layouts.site') @section('navigation') {!! $navigation !!} @endsection @section('content') {!! $content !!} @endsection @section('bar') {!! $rightBar !!} @endsection @section('footer') {!! $footer !!} @endsection
<?php namespace Emberfuse\Blaze\Models\Traits; use Illuminate\Database\Eloquent\Model; use Emberfuse\Blaze\Support\HashId; trait Hashable { /** * Boot all of the bootable traits on the model. * * @return void */ protected static function bootHashable(): void { static::created(...
<html> <head> <meta charset="utf-8"> <script src="jquery.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ var id=$(this).val(); var url="themgiohang.php?id="+id; window.open(url,"_self"); }) ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\ResourceCollection; class LikeResourceCollection extends ResourceCollection { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return array */ public functio...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateTbCaixaAberturaTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tb_caixa_abertura', function(Blueprint $table) { $table->integer('i...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableOrder extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order', function ...
<!-- Database close --> <?php if (isset($db)) { $db->close(); } ?> </body> </html>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\studentProfile; use App\agentProfile; use App\leads; class ReportsController extends Controller { // public function offer_letter(){ // return view('reports.offer_letter')->with('students',studentProfile::where('offer_letter','yes')->...
<?php namespace App\Http\Controllers\Events; use Illuminate\Http\Request; use Illuminate\Support\Facades\Response; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Validator; use Inter...
<?php return [ /* |-------------------------------------------------------------------------- | Password Reminder Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are...
<?php namespace app\index\model; use think\Model; use think\Db; class Order extends Model { //插入订单 public function create_order($order, $order_goods) { Db::startTrans(); try{ $sql = "INSERT INTO hg_order(order_no,order_status,user_id,username,province,city,district,address,zipcode,consignee,mobile,total_c...
<?php class ServerFileInput extends CInputWidget { public $isMulti = false; public $models = array(); public $attributes = array(); public $filebrowserBrowseUrl; public function run() { list($name, $id) = $this->resolveNameID(); if (isset($this->htmlOptions['id'])) ...
<!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="pull-right hidden-xs"> </div> <!-- Default to the left --> <strong>Copyright &copy; {{date('Y')}} <a href="#">Alladins</a>.</strong> All rights reserved. </footer>
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header"><center>{{ __('Login') }}</center> </div> <div> <img src="{{ asset(...
<?php session_start(); ?> <?php $org=0; if(isset($_SESSION['org'])) $org=$_SESSION['org']; if(isset($_SESSION['security'])){ if (!($_SESSION['security'] & 4)) {die("Secruity level too low for this page");} }else{ header('Location: Login.php'); die("Please logon"); } ?> <!DOCTYPE HTML> <html> <meta name="viewport" co...
<?php declare(strict_types = 1); namespace PHPStan\Reflection; use PHPStan\Reflection\Php\PhpPropertyReflection; use PHPStan\TrinaryLogic; use PHPStan\Type\Generic\TemplateTypeHelper; use PHPStan\Type\Generic\TemplateTypeMap; use PHPStan\Type\Type; class ResolvedPropertyReflection implements WrapperPropertyReflectio...
<?php get_header(); ?> <?php if (have_posts()): while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php the_content(); ?> <?php edit_post_link(); ?> <?php endwhile; ?> <?php else: ?> <?php # Nothing to display ?> <?php endif; ?> <?php get_footer(); ?>
<?php /* * This file is part of the Ivory Lucene Search package. * * (c) Eric GELOEN <geloen.eric@gmail.com> * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. */ namespace WellCommerce\Bundle\DelivererBundle\DependencyInjection; use ...
<?php namespace AppBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use AppBundle\Entity\User; class LoadUserData extends AbstractFixture implements OrderedFixtureInterface { public...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/reflection-docblock/src', $vendorDir . '/phpdocumentor/...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\GrupoRequest; use App\Http\Requests\PesquisasRequest; use App\Repositories\GrupoRepository; class GruposController extends Controller { protected $grupos; /** * GruposController constructor. * @p...
<div> {{-- formation details --}} <div> @isset($Formation) <h1>{{ $Formation->nom}} {{ $Formation->videos_count >0 ? " avec :$Formation->videos_count episodes " :" avec : $Formation->videos_count episode " }} </h1> {{-- <h1>{{ $Format...
<?php namespace DrupalCI\Plugin\BuildTask\BuildStep\Filesystem; use DrupalCI\Build\Environment\Environment; use DrupalCI\Injectable; use DrupalCI\Plugin\BuildTask\BuildStep\BuildStepInterface; use DrupalCI\Plugin\BuildTask\FileHandlerTrait; use DrupalCI\Plugin\BuildTaskBase; use DrupalCI\Plugin\BuildTask\BuildTaskInt...
<?php return array( 'root' => array( 'pretty_version' => '1.0.0+no-version-set', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'reference' => NULL, 'name' => '__root__', 'dev' => true, ), ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCargosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cargos', functio...
<?php declare(strict_types=1); namespace Doctrine\Website\Tests\DataSources; use Doctrine\StaticWebsiteGenerator\SourceFile\SourceFile; use Doctrine\StaticWebsiteGenerator\SourceFile\SourceFileParameters; use Doctrine\StaticWebsiteGenerator\SourceFile\SourceFileRepository; use Doctrine\StaticWebsiteGenerator\SourceF...
<?php /** * Wasabi Core * Copyright (c) Frank Förster (http://frankfoerster.com) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Frank Förster (http://f...
<?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 Rankfoundry\eBaySDK\Shopping\Types; /** * * @property \Rankfoundry\eBaySDK\Shopping\Types\AmountType...
<?php use backend\web\theme\widgets\Box; $this->title = 'Портфолио'; $this->params['subtitle'] = 'Создание'; $this->params['breadcrumbs'] = [ [ 'label' => $this->title, 'url' => ['index'], ], $this->params['subtitle'] ]; ?> <div class="row"> <div class="col-sm-12"> <?php $box =...
<?php namespace Proxies\__CG__\Projet\DarnaBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Agence extends \Projet\DarnaBundle\Entity\Agence implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the pr...
@extends('layouts.app') @section('content') <div class="page-wrapper" > <!-- Page Content --> <div class="content container-fluid" > <!-- Page Header --> <div class="page-header" style="margin-top: 50px"> <div class="col-sm-12"> <h...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\VariantesCovidController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your a...
<?php namespace FondOfOryx\Client\ErpDeliveryNotePageSearch\Dependency\Client; use Generated\Shared\Transfer\CustomerTransfer; use Spryker\Client\Customer\CustomerClientInterface; class ErpDeliveryNotePageSearchToCustomerClientBridge implements ErpDeliveryNotePageSearchToCustomerClientInterface { /** * @var...
<?php use Illuminate\Auth\UserTrait; use Illuminate\Auth\UserInterface; use Illuminate\Auth\Reminders\RemindableTrait; use Illuminate\Auth\Reminders\RemindableInterface; class Shop extends Eloquent implements UserInterface, RemindableInterface { use UserTrait, RemindableTrait; /** * The database table used by t...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Handle the batch process for one/multiple php files to one tar compressed file * * PHP version 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * ht...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFilesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('files', function ...
<?php /** * This file is part of the propertyx package. * (c) 2009 Daniel Londero <daniel.londero@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Project form base class. * * @package propertyx * @subpackage...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Review extends Model { public function content() { return $this->belongsTo(Content::class); } }
<!DOCTYPE html> <html lang="en"> <?php $this->load->view("admin/admin_penggilingan/head.php") ?> <body id="page-top"> <!-- Page Wrapper --> <div id="wrapper"> <!--sidebar--> <?php $this->load->view("admin/admin_penggilingan/sidebar.php") ?> <!--end ofsidebar--> <!-- Content Wrapper --> <div ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Sis...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1> <form action="<?= base_url('admin/editrole'); ?>" method="post"> <div class="modal-body"> <div class="form-group"> <input type="text" cla...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="keywords" content="HTML5 Template" /> <meta name="description" content="Webmin - Bootstrap 4 & Angular 5 Admin Dashboard Template" /> <meta name="author" content="potenza...
<?php /** * Invoice Ninja (https://invoiceninja.com). * * @link https://github.com/invoiceninja/invoiceninja source repository * * @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com) * * @license https://www.elastic.co/licensing/elastic-license */ namespace App\Http\Controllers; use Ap...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; class NecklaceController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request) { $num = $request->input('num','10'...
<?php namespace App\Http\Resources\Servicio; use Illuminate\Http\Resources\Json\Resource; class ServicioResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) { ...
<?php /* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } /** * Convenience function to JSON encode and echo results and then die. * * @param array $results Results array for encoding. */...
<?php include 'Entry.php'; include 'Group.php'; include 'FileController.php'; include 'MainController.php';
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMediaTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('media', function ...
<?php // Grab plugin admin object $handler = MailChimp_WooCommerce_Admin::connect(); // Grab all options for this particular tab we're viewing. $options = get_option($this->plugin_name, array()); $active_tab = isset($_GET['tab']) ? $_GET['tab'] : (isset($options['active_tab']) ? $options['active_tab'] : 'api_key'); ...
<?php // Heading $_['heading_title'] = 'Produtos'; // Text $_['text_success'] = 'Produto modificado com sucesso!'; $_['text_plus'] = '+'; $_['text_minus'] = '-'; $_['text_default'] = 'Padrão'; $_['text_image_manager'] = 'Gerenciador de Arquivos'; $_['text_browse'] ...
<?php /** * Main WordPress API * * @package WordPress */ require ABSPATH . WPINC . '/option.php'; /** * Convert given MySQL date string into a different format. * * `$format` should be a PHP date format string. * 'U' and 'G' formats will return a sum of timestamp with timezone offset. * `$date` is expected t...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class LoaiTin extends Model { protected $table = 'LoaiTin'; public function theloai(){ return $this->belongsTo('App\TheLoai','idTheLoai','id'); } public function loaitin(){ return $this->hasMany('App\TinTuc','idLoaiTin','id'); ...
<?php namespace App\Controllers\modAdministracion; use App\Controllers\BaseController; use App\Models\modAdministracion\RolModel; class RolController extends BaseController{ //LISTAR ROLES public function adminRol(){ $nombreRol = new RolModel(); $datos = $nombreRol->listarRol(); $me...
<?php namespace common\models; use Yii; /** * This is the model class for table "tag". * * @property integer $id * @property string $name * @property integer $frequency */ class Tag extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return 'ta...
<?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\LoginFor...
<?php namespace App\Listeners; use App\Events\UserRegistered; use App\Services\Mailers\MailerContract; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class SendRegistrationEmail { /** * @var MailerContract */ private $mailer; /** * Create the event li...
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
<?php /** * Copyright 2018 GamakCZ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
@extends('layouts.app') @section('content') <div class='container'> <div class="row justify-content-center"> <div class="col-md-6"> <div class="card"> <div class="card-body"> <form action="{{route('transaksi.store')}}" method="post"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Staff_mod extends CI_model{ public function get_all() { $query = $this->db->select("*") ->from('staff') ->order_by('id_staff', 'DESC') ->get(); return $query->result()...
<?php namespace App\Http\Controllers; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Models\SharedCurrency; use Illuminate\Http\Request; use Illuminate\Cache\Repository as CacheRepository; class SharedCurrenciesController extends Controller { /** * @var CacheRepository */ priv...
<?php namespace Doctrine\Tests\DBAL\Platforms; use Doctrine\DBAL\Platforms\OraclePlatform; use Doctrine\DBAL\Schema\Comparator; use Doctrine\DBAL\Schema\Table; require_once __DIR__ . '/../../TestInit.php'; class OraclePlatformTest extends AbstractPlatformTestCase { static public function dataValidIdentifiers() ...
<?php use Illuminate\Database\Seeder; class UserTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $password=bcrypt('Admin2019*'); DB::table('users')->insert(['name'=>'Admin', 'email'=>'admin@geysel.cu','...
<!DOCTYPE html> echo"Type your HTML, CSS, JavaScript, Jquery or anything to compile it here in real time \n"; ?> <hr> <html> <head> <script src="http://code.jquery.com/jquery-1.9.0.min.js"></script> </head> <body> <?php ob_start(); ?> <div id='nameBox'></div> <textarea rows="14" cols="50" type='text' name='fname' on...
<?php /* TENHLE SOUBOR NESMÍ BÝT VE SLOŽCE CO JE VIDĚT NA SERVRU, PROTO JE TADY*/ define('DB_HOST', '127.0.0.1'); define('DB_DATABASE', 'konference'); define('DB_USER', 'root'); define('DB_PASS', 'heslo'); define('DB_CHARSET', 'utf8'); ini_set("session.cookie_httponly", 1); require_onc...
<?php namespace App\Http\Requests; use App\Http\Requests\VideoRequest; class CarouselRequest extends VideoRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'type' => 'required|numeric|min:1|m...
<?php // Adapters to authenticate with $dbAdapter = new Zend_Auth_Adapter_DbTable($db, 'users'); $dbAdapter->setIdentityColumn('username') ->setCredentialColumn('password') ->setIdentity('john') ->setCredential('xxx'); $ldapAdpater = new Zend_Auth_Adapter_Ldap(array(), 'john', 'xxx'); //...
@extends('layouts.app') @section('mycssfile') <link href="{{ asset('css/custums/create_plan.css') }}" rel="stylesheet"> <link href="{{ asset('css/custums/show.css') }}" rel="stylesheet"> @endsection @section('content') <div class="container-fluid"> <div class="container"> <div class="...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Star_model extends CI_Model { var $table = 'cast_master'; var $column_order = array('name','rating'); //set column field database for datatable orderable var $column_search = array('name','rating'); //set column field database for datatabl...
<?php namespace App\Models\BlogCategories; use App\Models\BaseModel; use App\Models\BlogCategories\Traits\Attribute\BlogCategoryAttribute; use App\Models\BlogCategories\Traits\Relationship\BlogCategoryRelationship; use App\Models\ModelTrait; use Illuminate\Database\Eloquent\SoftDeletes; class BlogCategory extends Ba...
<?php // +---------------------------------------------------------------------- // | 路由设置 // +---------------------------------------------------------------------- return [ // 路由中间件 'middleware' => [ // // 后台视图初始化 // \app\admin\middleware\ViewInit::class, // 检测用户是否登录 // \app\a...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ /* @var $searchModel alex2alan\admin\models\searchs\Menu */ $this->title = Yii::t('rbac-admin', 'Menus'); $this->params['breadcrumbs'][] = $this->title; ?> <div ...
<?php if($_SERVER["REQUEST_METHOD"]=="POST"){ //connessione al DataBase $conn=new mysqli("localhost","3110366","","my_hyp2016abate7annunziata"); //$conn=new mysqli("localhost","root","","mytim"); //controllo avvenuta connessione if(mysqli_connect_errno()){ $errore = array("categoria"=>"Proble...
<?php namespace backend\models; use Yii; /** * This is the model class for table "article_content". * * @property string $id * @property string $content */ class ArticleContent extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return 'article_...
@extends('layouts.occupation') <head> <title>{{ config('app.name') }} - {{ $career_user->company_name }} - {{ __('menu.MENU_UPDATE_GROUP') }}</title> </head> @section('content') <div class="container-fluid gedf-wrapper"> <div class="row"> <div class="col-md-3"> <div class="ca...
<?php /* * This file is part of the Comparator package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\Comparator; /** * Compares doubles for equalit...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit42719e3748bbb29849c623a1f9fea063 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php /** * Author: Nil Portugués Calderó <contact@nilportugues.com> * Date: 6/11/14 * Time: 1:50 AM. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NilPortugues\Sql\QueryBuilder\Builder\Syntax; use NilPortugues\Sql\Qu...
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4 Version: 3.9.0 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.n...
<?php namespace WPGraphQL\Data\Loader; use Exception; use Generator; use GraphQL\Deferred; use GraphQL\Utils\Utils; use WPGraphQL\AppContext; use WPGraphQL\Model\Model; /** * Class AbstractDataLoader * * @package WPGraphQL\Data\Loader */ abstract class AbstractDataLoader { /** * Whether the loader should cac...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UpvoteFeedback extends Model { use HasFactory; protected $table = 'upvote_feedbacks'; protected $fillable = ['user_id','feedback_id']; }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Semi_Colon Admin</title> ...
<?php declare(strict_types=1); /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Test\Unit\Text; use Codeception\Exampl...
<?php namespace Objects; class Admin_Catalogue{ private $db; public function __construct(\PDO $db){ $this->db=$db; $this->RecieveData(); } public function Get(){ $this->RequiredWhere('root_id',self::TYPE_INT); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; class Category extends Model { use HasFactory; protected $guarded=[]; /** * Get all of the posts for the Category * ...
@extends('layouts.app') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <i class="glyphicon glyphicon-book"></i> Subject List </h1> <ol class="breadcrumb"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateServicesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('services', fun...
<?php /** * Tests Date class * * @group ko7 * @group ko7.core * @group ko7.core.date * * @package KO7 * @category Tests * * @author BRMatt <matthew@sigswitch.com> * @copyright (c) 2007-2016 Kohana Team * @copyright (c) since 2016 Koseven Team * @license https://koseven.dev/LICENSE */ class...
@extends('layouts.master') @section('content') <div class="container-fluid main"> <br> <h2 class="title-heading"> <i class="fa fa-caret-right" aria-hidden="true"></i> SẢN PHẨM MỚI NHẤT</h2> <div class="row"> @foreach($newProd as $prod) <div class="col-md-2"> <div class="product"> <div class="contain-image...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Input_admin extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('M_Admin'); } public function index() { $this->template->load('static','input_admin'); } public function input_admin...
<?php namespace Larowka\KudaGo\Methods; use Larowka\KudaGo\Methods\Traits\{HasDetails, HasPaginator, HasSort}; use Larowka\KudaGo\Resources\News as NewsResource; class News extends AbstractMethod { use HasPaginator; use HasSort; use HasDetails; protected string $resource = NewsResource::class; ...
<?php declare(strict_types=1); namespace Tests\Integration; use Mocks\IntegrationTestCase; use Source\App\Http\ArticleStoreAction; class ArticleStoreTest extends IntegrationTestCase { private const CASES = [ [ 'user_id' => 1, 'title' => 'Test Post', 'body' => 'This is...
<?php /** * AttachmentRepositoryInterface.php * * NOTICE OF LICENSE * * This source file is subject to the MIT License, which * is bundled with this package in the file LICENSE.txt. * * It is also available on the Internet at the following URL: * https://docs.auroraextensions.com/magento/extensions/2.x/simpler...
<?php namespace Jane\JsonSchema\Tests\Expected\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\...
<?php namespace Flynt\Utils; class Log { /** * Outputs a message to the Web Console. * * Outputs a JavaScript `console.log`. * * @since 0.1.0 * * @param mixed $data Data to be logged. * @param boolean $postpone Postpone logging to the wp_footer action. */ p...
<?php declare(strict_types=1); namespace Trejjam\MailChimp\Exception; final class SegmentNotFoundException extends \InvalidArgumentException { }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use App\Pais; use App\Unidad; use App\Ubicado; use App\Promocion; use App\Destacado; use App\Membresia; class HomeController extends Controller { /** * Display a listing of Membresias * * @return \Illuminate\Http\Resp...