text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Account; class AccountManager extends Controller { function index($name, $lname = ''){ $account = new Account(['id'=>'5','name'=>'Riyaz']); $account->save(); echo "Name is ".$name.' '.$lname; } }
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\PaymentMethod */ $this->title = 'Update Payment Method: {nameAttribute}'; $this->params['breadcrumbs'][] = ['label' => 'Payment Method', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['vi...
<?php require_once '_includes/functions.php'; require_once '_includes/twilio-client.php'; header("content-type: text/xml"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; $latitude = isset($_REQUEST['Latitude']) ? $_REQUEST['Latitude'] : null; $longitude = isset($_REQUEST['Longitude']) ? $_REQUEST['Longitude'] : ...
<?php use Illuminate\Database\Seeder; class AdvertTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\Models\Advert::class, 100)->create(); } }
<!DOCTYPE html> <html lang="en"> <!-- Mirrored from codervent.com/rocker/demo/authentication-signin.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 May 2020 08:02:02 GMT --> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-...
<?php namespace Grapesc\GrapeFluid\MagicControl; use Grapesc\GrapeFluid\MagicControl\Model\TemplatesModel; use SplFileInfo; /** * @author Kulisek Patrik <kulisek@grapesc.cz> * @author Mira Jakes <jakes@grapesc.cz> */ abstract class BaseMagicTemplateControl extends BaseMagicControl implements IMagicTemplate { /...
<?php declare(strict_types=1); namespace Doctrine\ODM\MongoDB\Mapping\Annotations; use Doctrine\Common\Annotations\Annotation; /** * Use the specified discriminator for this class * * @Annotation */ final class DiscriminatorValue extends Annotation { }
<?php echo "<div class='col-md-12'> <div class='box box-info'> <div class='box-header with-border'> <h3 class='box-title'>Tambah Menu Website</h3> </div> <div class='box-body'>"; $attributes = array('class' => 'form-horizontal', 'role' => 'fo...
@extends('layouts._frontend') @section('content') <div class="section big-55-height over-hide z-bigger"> <div class="parallax parallax-top" style="background-image: url('img/1.jpg')"></div> <div class="dark-over-pages"></div> <div class="hero-center-section pages"> <div class=...
<section class="content-header"> <h1> 登録スタッフ情報 <small>登録されているスタッフの情報を表示します</small> </h1> </section> <section class="content voffset4 "> <div class="col-md-7"> <div class="clearfix"> <div class="pull-left"> <?= $this->Html->link(' 編集',[ 'action' => 'edit',$staff->id ], ['class' => 'btn btn-suc...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; Session_start(); class SuperAdminController extends Controller { public function index(Request $request) { $this->AdminAuthCheck($request); return view('admin.dashbord'); } ...
<?php namespace HL7\FHIR\STU3\PHPFHIRTests\FHIRResource; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: September 7th, 2020 11:57+0000 * * PHPFHIR Copyright: * * Copyr...
<div class="container"> <div class="row mt-2"> <div class="col-lg-3"></div> <div class="col-lg-8"> <div class="card"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title text-center">Modification de l'emplacement place</h3> </div> <div class="body"> <br/...
<html lang = "en"> <head> <link rel = "stylesheet" href = "<?= base_url("css/bootstrap.css") ?>"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class = "container"> <?php if ($this->session->flashdata("success")) : ?> <p class="a...
<?php namespace Tests\Feature; use Illuminate\Contracts\Console\Kernel; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\RefreshDatabaseState; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; use Illuminate\Foundation\Testing\DatabaseMigrations; class ThreadsTest e...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class SeccionPQR extends MY_CRUD_Controller { function __construct() { parent::__construct(); if (!$this->session->userdata("login") /*|| !in_array(1402, $this->session->userdata('SEGUR')) */){ redirect(base_url()); } $this->DataT...
<x-frontend> <!-- Breadcrumb Section Begin --> <section class="breadcrumb-section set-bg subtitle"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <div class="breadcrumb__text"> <h2> Promotion</h2> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Schema; class CreateCouriersTable extends Migration { /** * Run the migrations. */ public function up() { Schema::create(Con...
<aside class="main-sidebar"> <section class="sidebar"> <?php // Workspaces use common\models\WorkspaceChild; $WorkspaceChild = new WorkspaceChild(); $parent = []; function getChildIds($array) { $WorkspaceChild = new WorkspaceChild(); ...
<?php namespace App\Http\Controllers\actions; use App\Events\notifications; use App\models\followers_m; use App\models\posts\posts_m; use App\User; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illu...
<!DOCTYPE html><html> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <head><meta charset="UTF-8"> <title>BlindVision - Admin Dashboard</title> <meta name="description" content="Volta is a futuristic Web Application and Admin Dashboard built with Bootstrap, Stylus and CoffeeScript. From a developer...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/angelodias/GIT/FAQ/user/plugins/admin/languages/el.yaml', 'modified' => 1501425314, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_BETA_MSG' => 'Αυτή είναι μία έκδοση Beta! Χρησιμοποιήστε την στην Παραγω...
@extends('layouts.main') @section('content') <div> <h1>You have been banned</h1><hr> </div><!-- end admin --> @stop
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMarcasVisitasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('marcas_vi...
<? require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/smile_gallery_edit.php"); ?>
<!-- Small boxes (Stat box) --> <?php echo $this->session->flashdata('message');?> <div class="row"> <div class="col-lg-3 col-xs-6"> <!-- small box --> <div class="small-box bg-aqua"> ...
<?php declare(strict_types = 1); namespace AvtoDev\AmqpRabbitLaravelQueue\Tests; use Mockery as m; use Illuminate\Support\Str; use Illuminate\Queue\QueueManager; use Illuminate\Queue\WorkerOptions; use AvtoDev\AmqpRabbitLaravelQueue\Queue; use Illuminate\Queue\Events\JobProcessed; use AvtoDev\AmqpRabbitLaravelQueue\...
<?php namespace Mehio\WhmUtil\IpReporter\Command; use Mehio\WhmUtil\IpReporter\Client\WhmClient; use Mehio\WhmUtil\IpReporter\Dbal\Database; use Mehio\WhmUtil\IpReporter\Entity\IpReport; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class PullModsecLogComma...
@if(count($records)>0) {{--*/ $i = 0; /*--}} <table class="table-bordered table-striped no-table-bg fs16 width100 marginB10"> <thead> <tr> <th width="25%"> <b>Product Name</b> (Product Sku) </th> <th width="25%"> <b>Product Name</b> (Product Sku) </th> <th width="25%"...
<?php namespace AppBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; class DefaultController extends Controller { /** * @Route("/", name="homepage") */ public functio...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Auth; class Article extends Model { protected $fillable = ['title', 'body','category_id','image']; //fillable campos que puedes editador a traves de la base de datos public static function boot() { par...
<?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. */ namespace model\user; /** * Description of BuyerList * * @author jrc */ class BuyerList extends \business\storage\StorageIte...
<?php namespace Tool\Qiniu; use Tool\Qiniu\Zone; final class Config { const SDK_VER = '7.1.3'; const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改 const RS_HOST = 'http://rs.qbox.me'; // 文件元信息管理操作Host const RSF_HOST = 'http://rsf.qbox.me'; // 列举操作Host cons...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Folder extends Model { public function user(){ return $this->belongsTo('App\User'); } }
<?php /** * Exposes store views * * @author Daniel Deady <daniel@clockworkgeek.com> * @license MIT */ class Clockworkgeek_Extrarestful_Model_Api2_Store extends Clockworkgeek_Extrarestful_Model_Api2_Abstract { protected function _loadModel() { /** @var $store Mage_Core_Model_Store */ $stor...
<?php namespace App\Test\TestCase\Model\Behavior; use App\Model\Behavior\UploadBehavior; use Cake\TestSuite\TestCase; /** * App\Model\Behavior\UploadBehavior Test Case */ class UploadBehaviorTest extends TestCase { /** * Test subject * * @var \App\Model\Behavior\UploadBehavior */ public ...
<?php namespace Zend\HttpErrors\Exceptions; use Zend\HttpErrors\Exceptions\Base\HttpErrorException; class HttpPayloadTooLargeException extends HttpErrorException { const HTTP_ERROR_CODE = 413; const HTTP_REASON_PHRASE = 'Payload Too Large'; }
@extends('layouts.default') @section('title', '登录') @section('content') <div class="offset-md-2 col-md-8"> <div class="card"> <div class="card-header"> <h5>登录</h5> </div> <div class="card-body"> @include('shared._errors') <form action="{{ route('login') }}" method="post...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; use yii\helpers\ArrayHelper; /* @var $this yii\web\View */ /* @var $searchModel app\models\NewsletterMailListSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Newsletter Mail Lists'); ?> <div class="ne...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="Start your development with a Dashboard for Bootstrap 4."> <meta name="author" content="Creative Tim"> <title>Argon Dashboard...
<?php require 'includes/functions.php'; ?> <!DOCTYPE html> <html class="rd-template-admin"> <head> <?php $title = 'Alert dialog'; include 'includes/html-head.php'; ?> <link rel="stylesheet" href="<?php echo assetUrl('assets/css/rdta/components/rdta-dialog.css'); ?>"> <link rel="stylesheet" href="<...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CheckCouponRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Ge...
<div class="content-wrapper"><!-- Content Wrapper. Contains page content --> <div class="loading">Loading&#8230;</div> <!-- Content Header (Page header) --> <section class="content-header"> <div> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-home"></i> / <?php echo $allow['section_name']...
@extends('layouts.default') @section('title', '注册') @section('content') <div class="col-md-offset-2 col-md-8"> <div class="panel panel-default"> <div class="panel-heading"> <h5>注册</h5> </div> <div class="panel-body"> @include('shared.error...
<?php class Swift_Mime_SimpleMessageAcceptanceTest extends \PHPUnit_Framework_TestCase { public function setUp() { Swift_Preferences::getInstance()->setCharset(null); //TODO: Test with the charset defined } public function testBasicHeaders() { /* -- RFC 2822, 3.6. */ ...
<?php namespace Podlove\Modules\Networks; use Podlove\Cache\TemplateCache; use Podlove\Model\Episode; use Podlove\Modules\Networks\Model\Network; class Podcast_List_Table extends \Podlove\List_Table { public function __construct() { global $status, $page; // Set parent defaults paren...
<?php /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Tests\Invoice\Renderer; use App\Configuration\LanguageFormattings; use App\Entity\Activity; use App\Entity\...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductOptionDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('pr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePortalSettingsLayoutsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('p...
<?php return [ 'api' => env('MITAKE_API', 'http://smexpress.mitake.com.tw:9600/SmSendGet.asp'), 'username' => env('MITAKE_USERNAME', ''), 'password' => env('MITAKE_PASSWORD', ''), 'encoding' => env('MITAKE_ENCODING', 'big5'), ];
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Auth; use Mail; /** * App\Calendar * * @property integer $id * @property string $domain * @property string $color * @property string $description * @property string $time_from * @property string $time_to * @property...
<?php namespace App\Controllers; use App\Models\UserModel; use CodeIgniter\RESTful\ResourceController; use Exception; use \Firebase\JWT\JWT; class User extends ResourceController { public function register() { $rules = [ "nik" => "required|min_length[16]|max_length[16]", "role...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAlergiasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('alergias', fun...
@component('mail::message') <center><img src="{{Storage::disk('uploads')->url($mailData['setting']->headerImage)}}" alt="{{$mailData['setting']->sitename}}" style="max-width: 200px; margin-bottom: 2rem;"></center> <center style="font-size: 2rem; font-weight:bold; margin-bottom: 1.5rem;">{{$mailData['product']->title}}...
<?php // Language definitions used in admin_groups.php $lang_admin_groups = array( 'Must enter title message' => 'You must enter a group title.', 'Title already exists message' => 'There is already a group with the title <strong>%s</strong>.', 'Default group redirect' => 'Default group set. Redirecting …', 'Cannot ...
<?php use Illuminate\Support\Facades\Schema; 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 ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateContactenosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('Contactenos', function (Blueprint $table) { ...
<?php /** * This file is part of Notadd. * * @author TwilRoad <heshudong@ibenchu.com> * @copyright (c) 2017, notadd.com * @datetime 2017-04-24 18:41 */ namespace Notadd\Mall\Controllers\Api\Administration; use Notadd\Foundation\Routing\Abstracts\Controller; use Notadd\Mall\Handlers\Administration\Upload\UploadHa...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitb10b38943aedf372958d619c1e71f47a::getLoader();
@extends('layouts.app1') @section('content') <!-- lấy thông tin lỗi khi validate hiển thị trên màn hình --> <x-show-error></x-show-error> <div class="order_details" style="display: flex"> <div class="user" style="width: 50%"> <h3 class="names-user" style="margin: 20px 0">Account User</h3...
<?php namespace App\Http\Controllers\Admin; use App\Models\OpenAccess; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class OpenAccessController extends Controller { public function index() { $openAccess = OpenAccess::all(); return view('admin.open_access_policy.index', co...
<?php /* Plugin Name: laemmi´s keyword validation Plugin URI: https://github.com/Laemmi/laemmi-yourls-validate-keyword Description: Validate Short URL (keyword) Version: 1.0.0 Author: laemmi Author URI: https://github.com/Laemmi Copyright 2016 laemmi */ /** * Permission is hereby granted, free of charge, to any perso...
<!--===================================== Preload ======================================--> <div class="d-flex justify-content-center preloadTrue"> <div class="spinner-border text-muted my-5"></div> </div> <!--===================================== Load ======================================--> <div class="ps-b...
<?php namespace CGI\CommentBundle\Controller; use CGI\CommentBundle\Entity\Comment; use CGI\CommentBundle\Entity\CommentNotification; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;use Sy...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> DEBUG - 2014-05-09 09:24:08 --> Config Class Initialized DEBUG - 2014-05-09 09:24:08 --> Hooks Class Initialized DEBUG - 2014-05-09 09:24:08 --> Utf8 Class Initialized DEBUG - 2014-05-09 09:24:08 --> UTF-8 Support Enabled DEBUG - 2014-05-09...
<?php $nomeEvento = $_POST['NomeEvento']; $localEvento =$_POST['LocalEvento']; $lat =$_POST['lat']; $lng =$_POST['lng']; $dataEvento =$_POST['DataEvento']; $descEvento =$_POST['DescEvento']; include "RealConnect.php"; if(($nomeEvento != null) && ($localEvento != null)&& ($lat != null)&& ($lng != null)&& ($dataEvento !...
<?php namespace app\index\model; use think\Model; class Sign extends Model { public function members() { return $this->hasMany('Member'); } public function user() { return $this->belongsTo('User'); } public function competition() { return $this->belongsTo('Compe...
<?php use App\Eloquent\AnswerDetail; use Illuminate\Database\Seeder; /** * This <konseling-1> project created by : * Name : syafiq * Date / Time : 01 December 2017, 5:28 PM. * Email : syafiq.rezpector@gmail.com * Github : syafiqq */ class AnswerDetailsSeeder extends Seeder { public fun...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); date_default_timezone_set("Asia/Kathmandu"); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. ...
<?php class C_errors extends MY_Controller { public function not_found() { $this->load->view('backend/errors/404'); } }
@extends('layouts.master') @section('breadcrumb') <h4 class="page-title">Images</h4> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="javascript:void(0);">Lexa</a></li> <li class="breadcr...
<?php namespace Javanile\Moldable\Tests\Sample; use Javanile\Moldable\Storable; final class Team extends Storable { public $id = self::PRIMARY_KEY; public $name = ''; public $position = 0; public $score = .0; }
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Image; use Faker\Generator as Faker; $factory->define(Image::class, function (Faker $faker) { return [ 'url' => "https://via.placeholder.com/120x63?text=".$faker->unique()->slug(1), ]; });
<?php namespace App\Gos; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * * @author yois * */ class Gos_Usuario extends Model { use SoftDeletes; protected $table = 'gos_usuario'; protected $primaryKey = 'gos_usuario_id'; protected $keyType = 'i...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class recovery extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return void ...
<?php namespace App\Controller\Frontend; use App\Entity\TrickVideo; use App\Form\NewTrickVideoType; use Doctrine\ORM\EntityManagerInterface; use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Redirect...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class PasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |-------------------...
<?php /** * @package WP Pipes plugin * @version $Id: postcategories.php 121 2014-01-20 10:14:24Z phonglq $ * @author thimpress.com * @copyright 2014 thimpress.com. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html */ defined('_JEXEC') or die( 'Restricted access' ); require_once dirnam...
<?php namespace App\Controller\View; use App\Model\TickerModel; use App\Repository\ProjectRepository; use App\Repository\TickerRepository; use App\RMStorage\StorageInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; us...
<?php namespace common\models; use Yii; /** * This is the model class for table "role". * * @property int $id * @property string $name * * @property User[] $users */ class Role extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return 'role';...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\models\Reference */ $controller = $this->context; $menus = $controller->module->getMenuItems(); $this->params['sideMenu'][$controller->module->uniqueId]=$menus; $this->title = 'View Religion#'.$model->name; ...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Behat\Context\Transform; use Behat\Behat\Context\Context; use Sylius\Behat\Service\S...
<!-- Page content --> <div class="container-fluid mt--6"> <div class="row"> <div class="col-md-4"> <div class="card-wrapper"> <div class="card"> <div class="card-header"> <h3 class="mb-0">Data Produk</h3> <?php if ($flash) : ?> <span class="float-right text-success font-weight-bold" st...
<?php namespace Appercode\Exceptions\NotificationCompany; use Exception; class CreateException extends Exception { public $fields; public function __construct($message = "", $code = 0, Exception $previous = null, $fields = null) { parent::__construct($message, $code, $previous); $this->f...
<!DOCTYPE html> <html> @forelse($student as $data) <head> <title>Form</title> <style> #formulaire { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border-collapse: collapse; width: 100%; } #formulaire td { border: 1px ...
<?php namespace Illuminate\Database\Eloquent\Relations; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; class BelongsTo extends Relation { /** * The child model instance of the relation. */ protected $child; /** ...
@extends('layouts.base') @section('title', 'Search Results') @section('head_content') <link rel="stylesheet" type="text/css" href="{{ URL::asset('css/custom.css') }}"> @endsection @section('heading', 'Search Results') @section('content') @if (count($manuscripts) == 0) <div class="text-cente...
<?php namespace backend\controllers; use backend\models\Brand; use backend\models\Goods; use backend\models\GoodsCategory; use backend\models\GoodsDayCount; use backend\models\GoodsIntro; use yii\data\Pagination; use yii\helpers\ArrayHelper; use yii\web\Request; use yii\web\UploadedFile; class GoodsController extend...
@extends('admin.layout.master') @section('titleHeader', 'Create product') @section('nameRoute', 'Product / Create') @section('content') <div class="card card-primary"> <div class="card-header"> <h3 class="card-title">Thêm sản phẩm mới</h3> </div> <!-- /.card-header --> <!-- form start --> ...
<?php /* * Copyright 2014 Google Inc. * * 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 t...
<?php class User_m extends CI_model{ public function get_agent() { $this->db->where('visibility', 1); $cont_query = $this->db->get('agents_tb'); return $cont_query->result_array(); } public function get_all_agents() { $cont_query = $this->db->query...
<?php namespace zhz; /** * 索引类 * */ class Index { /** * */ }
<?php namespace Syahrulyusuf97\Larator\Commands; use Illuminate\Console\Command; use Syahrulyusuf97\Larator\Http\Controllers\CreateDashboard; class GenerateDashboard extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'make:dash...
@extends('user.layouts.master') @section('title','Goldia Cemilan') @section('content') <section id="cart_items"> <div class="container"> <div class="breadcrumbs"> <ol class="breadcrumb"> <li><a href="#">Home</a></li> <li class="active">Check out</li> ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Http\Request; class RegisterController extends Controller { /* |---------...
<?php namespace App\Repositories; use App\Models\Team; use Illuminate\Database\Eloquent\Collection; /** * Interface TeamRepositoryInterface. * Use to access to all the database methods for the Team. * @package App\Repositories */ interface TeamRepositoryInterface { /** * Return a parameter collection ...
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQ...
<script src="/js/tinymce/tinymce.min.js"></script> <script> tinymce.init({ selector: '.editor', height: 300, theme: 'modern', plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visual...
<div class="form-group"> {!! Form::label('inspector_remark', Lang::get('Inspector Remark'), ['class' => 'col-md-3 control-label']) !!} <div class="col-md-7 col-sm-12 required"> {!! Form::text('inspector_remark', null, ['class' => 'col-md-6 form-control','required' => 'required']) !!} </div> ...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Home <small>Verifikasi Member</small> </h1> <ol class="breadcrumb"> <li><a href="<?= base_url()?>admin"><i class="fa fa-dashboard"></i> Home</a></li> <li cl...