text
stringlengths
2
1.03M
<?php /** * @package modx * @subpackage registry.db.sqlsrv */ $xpdo_meta_map['modDbRegisterQueue']= array ( 'package' => 'modx.registry.db', 'version' => '1.1', 'table' => 'register_queues', 'extends' => 'xPDOSimpleObject', 'fields' => array ( 'name' => NULL, 'options' => NULL, ), 'fieldMeta...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Gate; use Symfony\Component\HttpFoundation\Response; class Dashboard extends Controller { /** * Handle the incoming request. * * @param \Illuminate\Http\Requ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AboutController extends Controller { public function index() { $page = \App\Page::where('slug', 'über-uns')->first(); $aboutUs = \App\PageContent::whereHas('page', function ($q) { $q->where('slug', 'über-uns'); })->f...
<?php require './_shared.php'; ?> <h1>WePay Demo App: User Info</h1> <a href="index.php">Back</a> <br /> <?php try { $wepay = new WePay($_SESSION['wepay_access_token']); $user = $wepay->request('user'); echo '<dl>'; foreach ($user as $key => $value) { echo "<dt>" . htmlspecialchars($key) . "</dt>"; echo "<dd>"...
<?php namespace App\Http\Controllers; use App\Models\AssignProject; use App\Models\Project; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Redirect; class ProjectController extends Controller { /** * Display a listing of the resource. ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); Class Queuestatus extends WFF_Controller { private $collection = "Queue_status"; function __construct() { parent::__construct(); header('Content-type: application/json'); $this->load->library("crud"); $this->collection = set_sub_collect...
@extends('errors::layout') @section('title', 'Error') @section('message', 'Whoops, het lijkt er op dat er een fout is opgetreden.')
<!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>{{ config('app.name', 'Laravel') }}</tit...
<?php namespace App\Http\Controllers\Akses; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\User; use App\VerifyAkses; use App\Mail\VerifyMail; use Auth; class AksesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Respo...
<div id="main_right_nomarg"> %user_panel% <span class="right_title">Links</span> %user_menu% <span class="right_title">Badges (%total_badges%)</span> %badges% </div> <div id="main_center"> <div class="col50"> <h3 class="no_top_margin"><a href="%url%/user/%user...
@extends('layouts.landing.layout') @section('content') <div class="jumbotron " style="padding-bottom: 0em;"> <h3 class=" my-2 mb-3">{{ strtoupper($jurnal->title) }}</h3> <p class="lead mb-5"> <h6 class="text-muted">{{ $jurnal->dosen->nama }}</h6> <h6>{{ $jurnal->dosen->jurusan }}</h6> ...
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; use Illuminate\Support\Facades\Hash; class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { ...
@extends('layouts.app', ['title' => 'Final Quotation', 'logo' => 'http://localhost/remsonrails/public/images/LOGO_REM.png']) @section('content') <style type="text/css"> .btn-primary { background: #00008B; background-image: -webkit-linear-gradient(top, #eb94d0, #2079b0); background-i...
<div class="show-game-form"> <!-- <form id="w0" action="/advanced2/backend/web/index.php?r=show-game%2Fcreate" method="post"> --> <form id="w0" action="/advanced2/backend/web/index.php?r=tt%2Fcreate" method="post"> <input type="hidden" name="_csrf" value="WjR6OS1LQXM7cABvGHo2LA9BIlZoPgcnHHkKVxw9LhcUTT5aSyUCBw=="> ...
<?php namespace Clover\Nano\Core; use Clover\Nano\Exception\DBQueryError; use mysqli_result; /** * Class Model * @package Clover\Nano\Core */ abstract class Model { /** * @var App */ protected $app; /** * @var Db */ protected $db; /** * @var string */ protec...
@component('mail::message') # Welcome The body of your message. {{ $number }} @component('mail::button', ['url' => '']) Button Text @endcomponent Thanks,<br> {{ config('app.name') }} @endcomponent
@php $category = $product->categories()->orderBy('parent_id','desc')->with('children')->first(); @endphp <div class="breadcrumbs"> <div class="container"> <div class="breadcrumbs__inner"> <ol class="breadcrumbs__list"> <li><a href="{{ route('site.index') }}">{{ __('menu.index') }}</a></li> @if($categor...
<?php namespace Database\Seeders; use Illuminate\Support\Facades\DB; use Illuminate\Database\Seeder; class PostSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $posts = array( array('id' => '7','user_id' => '3','title...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace Drupal\webform\Tests\Form; use Drupal\webform\Tests\WebformTestBase; /** * Tests for form properties. * * @group Webform */ class WebformFormPropertiesTest extends WebformTestBase { /** * Webforms to load. * * @var array */ protected static $testWebforms = ['test_form_properties'...
<?php namespace DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRBackboneElement\FHIRImagingStudy; /*! * 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: December 26th, 2019 15:43+0...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Models\Company; 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 extends Controller {...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Lib_event_log { /** * ci * * @param instance object */ private $_ci; /** * log table name * * @param string */ private $_log_table_name; /** * constructor * */ publ...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\widgets; use Yii; use yii\base\InvalidConfigException; use yii\base\Widget; use yii\data\Sort; use yii\helpers\Html; /** * LinkSorter renders a list of...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Settings extends CI_Controller { public function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->load->library('tank_auth'); $this->lang->load('tank_auth'); if (!$thi...
@extends('admin/master') <style> .nav-tabs .nav-item{ margin: auto; border: 1px solid #ff3154!important; border-bottom:20x solid white!important; } .nav-tabs .nav-link.active{ background-color: #ff3154!important; color:white!important; } .nav-tabs{ border-bottom: 1px solid #ff3154!imp...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { protected $fillable = ['user_id', 'title', 'content']; public function user() { return $this->belongsTo('App\User'); } public function comments() { return $this->hasMany('App\Comment'); } public function tags() { ...
<?php namespace AdminBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use AppBundle\Entity\Workflow; use AppBundle\Form\WorkflowType; /** * Workflow controller. */ class WorkflowController ...
@extends ('layouts.admin') @section ('contenido') <!-Se utiliza la rejilla de Boostrap-> <div class="row"> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <h3>Listado de Categorias <a href="categoria/create"><button class="btn btn-succes">Nuevo</button></a></h3> @include('almacen.categoria.search') </div> </di...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class course extends CI_Controller { private $cmob; private $cem; private $cadd; private $clogo; private $webtitle; private $fbook; private $twtr; private $linked; private $gplus; private $instgrm; private $yout; function __construc...
<?php namespace Iot\Request\V20180120; /** * @deprecated Please use https://github.com/aliyun/openapi-sdk-php * * Request of ListDistributedDevice * * @method string getPageSize() * @method string getSourceInstanceId() * @method string getCurrentPage() * @method string getProductKey() * @method string getTar...
<?php $content_tpl->set_block("F_CONTENT", "B_MESSAGE_MAIL_SENT", "H_MESSAGE_MAIL_SENT"); $content_tpl->set_block("F_CONTENT", "B_MESSAGE", "H_MESSAGE"); $content_tpl->set_block("F_CONTENT", "B_WARNING_USERNAME", "H_WARNING_USERNAME"); $content_tpl->set_block("F_CONTENT", "B_WARNING", "H_WARNING"); $content_tpl->set_b...
<?php // +--------------------------------------------------+ // | Copyright (c) Markus Tacker | // | All rights reserved. | // +--------------------------------------------------+ // | This source code is protected by international | // | copyright law and may ...
<?php declare(strict_types=1); namespace Phan\Tests\Output\Printer; use Phan\Issue; use Phan\IssueInstance; use Phan\Output\Printer\PylintPrinter; use Phan\Tests\BaseTest; use Symfony\Component\Console\Output\BufferedOutput; /** * Tests of the PylintPrinter converting `IssueInstance`s to the expected pylint output...
<?php namespace Database\Seeders; use App\Models\Admin; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; class AdminSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Admin::create([ 'name' => 'Admi...
<?php /** * ECSHOP cncard language file * ============================================================================ * All right reserved (C) 2005-2011 Beijing Yi Shang Interactive Technology * Development Ltd. * Web site: http://www.ecshop.com * ----------------------------------------------------------------...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddRoleToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', functio...
<?php namespace PhpJsonRpc\Core; use PhpJsonRpc\Core\Result\AbstractResult; class ResultSpec { /** * @var bool */ private $singleResult = false; /** * @var AbstractResult[] */ private $results; /** * ResultSpecifier constructor. * * @param AbstractResult[] $un...
<?php /** * @var $model \common\models\Product * @var $id string */ use yii\helpers\Url; ?> <div class="recent-post" id="<?=$id ?>"> <a href="<?= Url::to(['product/view', 'controller' => 'catalog', 'categoryslug' => $model->category->slug, 'slug' => $model->slug]) ?>"> <img src="<?= $model->getImageUrl...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Client extends Model { public function city() { return $this->hasOne('App\City', 'id', 'city_id'); } public function bank() { return $this->hasOne('App\Bank', 'id', 'bank_id'); } public function donations...
<?php namespace Bauhaus\Cli\Attribute; use Bauhaus\Cli\PsrContainer\LazyEntrypoint; use Bauhaus\Cli\Entrypoint; use ReflectionClass; /** * @internal */ final class Extractor { private ReflectionClass $reflection; public function __construct(Entrypoint $entrypoint) { if ($entrypoint instanceof ...
@include('includes.header') <div class="slider"> <div> <div class="slider-img"><img src="{{ URL::to('./images/slider-1.jpg') }}"></div> <div class="container"> <div class="row"> <div class="slider-captions"> <h1 class="slider-title">Проблемы с комьюте...
<?php namespace App\Database\Seeds; use CodeIgniter\Database\Seeder; use CodeIgniter\I18n\Time; use Faker\Provider\bg_BG\PhoneNumber; use Faker\Provider\en_US\Company; class ProdusenSeeder extends Seeder { public function run() { $faker = \Faker\Factory::create('id_ID'); $nama_produsen = ar...
<?php namespace REBELinBLUE\Deployer\Console\Commands; use Carbon\Carbon; use Illuminate\Console\Command; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Support\Collection; use REBELinBLUE\Deployer\Jobs\RequestProjectCheckUrl; use REBELinBLUE\Deployer\Repositories\Contracts\CheckUrlRepositoryInterface; ...
<?php use yii\helpers\Html; use yii\jui\AutoComplete; use yii\web\JsExpression; /* @var $this yii\web\View */ /* @var $model backend\models\Account */ $this->title = Yii::t('app', 'Update Account') ?> <div id="loader1" style="display: none"></div> <div id="loader"></div> <div class="row"> <div class="col-lg-8 co...
<?php return [ 'OSU_API_KEY' => env('OSU_API_KEY',null), ];
<?php declare(strict_types=1); namespace Symplify\PHPStanRules\Tests\Rules\NoReturnArrayVariableListRule\Fixture\ValueObject; final class SkipValueObject { public function get() { return [1, 2, 3]; } }
<?php if(isset($_GET['sub'])) { $con=mysqli_connect("localhost","root","") ; mysqli_select_db($con,"air_crash") ; # code... $it=$_GET['iata']; $ic=$_GET['icao']; $cs=$_GET['cl']; $n=$_GET['name']; $c=$_GET['cou']; $s="INSERT INTO Airlines(IATA,ICAO,callsign,name,coun...
<?php session_start(); if (!isset($_SESSION["user"])) { Header("location:index.php"); } $user = $_SESSION["user"]; $user_id = $_SESSION["user_id"]; $MySQLdb = new PDO("mysql:host=127.0.0.1;dbname=forum_clean", "root", ""); $MySQLdb->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); header("content-type: ...
<?php declare(strict_types=1); namespace Healthlabs\Sodium\Tests; use Healthlabs\Sodium\Exceptions\DecryptException; use Healthlabs\Sodium\Exceptions\KeyNotFoundException; use Healthlabs\Sodium\Exceptions\NonceException; use Healthlabs\Sodium\Exceptions\SodiumException; use Healthlabs\Sodium\Services\SodiumService; ...
<?php namespace pistol88\service\controllers; use Yii; use pistol88\service\models\Complex; use pistol88\service\models\complex\ComplexSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\filters\AccessControl; class ComplexController extends Controller { public f...
<?php /** * DOMPDF - PHP5 HTML to PDF renderer * * File: $RCSfile: table_cell_frame_reflower.cls.php,v $ * Created on: 2004-06-07 * * Copyright (c) 2004 - Benj Carson <benjcarson@digitaljunkies.ca> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser G...
<?php namespace apitest\V1\Rest\Example2; use Zend\Paginator\Paginator; class Example2Collection extends Paginator { }
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class bitdefender extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library(array('session')); $this->load->helper(array('url')); $this->load->database(); $this->cportal = $this->load->datab...
<?php namespace GetCandy\Api\Core\Assets\Drivers; use Carbon\Carbon; use GetCandy; use GetCandy\Api\Core\Assets\Models\Asset; use Symfony\Component\Finder\SplFileInfo; abstract class BaseUploadDriver { /** * @var bool */ protected $upload = true; /** * Get the video unique id. * ...
<?php /** * Created by Reliese Model. */ namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * Class Votocandidato * * @property int $voto_id * @property int $candidato_id * @property int|null $votos * * @property Candidato $candidato * @property Voto $voto * * @package App\Models */ cl...
<?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 =...
@extends('admin-layout') @section('content') <!--begin::Content--> <div class="content d-flex flex-column flex-column-fluid" id="kt_content"> <!--begin::Toolbar--> <div class="toolbar" id="kt_toolbar"> <!--begin::Container--> <div id="kt_toolbar_container" class="container-fluid d-flex flex-stac...
@extends('layouts.dashbord_app') @section('main_slider') open @endsection @section('indexslider') active @endsection @section('title') Slider | Dashbord @endsection @section('dashbord_content') <div class="page-header"> <div class="header-sub-title"> <nav class="breadcrumb breadcrumb-dash"> ...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1> <div class="row"> <div class="col-lg-6"> <?= $this->session->flashdata('message'); ?> <form action="<?= base_url('user/changepassword'); ?>...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source ...
<!DOCTYPE html> <html dir="ltr" lang="en-gb" class="boom"> <?= view('boomcms::head', ['title' => trans('boomcms::auth.reset.title')]) ?> <body id='b-login'> <div> <div id="logo"></div> <form name="login-form" action="<?= URL::route('password'), "/$token" ?>" method="post"> ...
<?php declare(strict_types=1); namespace Tests; use Illuminate\Contracts\Console\Kernel; use Illuminate\Foundation\Application; trait CreatesApplication { /** * @return \Illuminate\Foundation\Application */ public function createApplication(): Application { $app = require __DIR__.'/../b...
<hr/> <div class="row text-center"> <h3 class="text-danger text-center"> Patients not found <i class="fa fa-warning"></i> </h3> <br/> <small class="text-muted">No patients to be displayed...</small> </div> <hr/>
<?php class XenForo_Model_LinkForum extends XenForo_Model { /** * Fetches the combined node-link record for the specified node id * * @param integer $id Node ID * * @return array */ public function getLinkForumById($id, array $fetchOptions = array()) { $joinOptions = $this->prepareLinkForumJoinOptions...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- If you delete this meta tag, Half Life 3 will never be released. --> <meta name="viewport" content="width=device-width" /> <meta http-equiv="...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php /** * Class PlayNextSongEvent * @package App\Events\WebsocketEvents * @author wuchuheng <wuchuheng@163.com> */ declare(strict_types=1); namespace App\Events\WebsocketEvents; class PlayFilesEvent extends BaseEvent { const NAME = 'ws.put./me/devices/:id/switchSongs'; }
<div class="footer"> <div class="footer-text"> <span>Desarrrollado por Javier Rojas © <a href="https://azimutweb.es" target="_blank"> azimut Web</span></a> </div> </div>
<?php return [ 'clean_subcategories' => 'تنظيف الفئات الفرعية', 'ad_count_calculate' => 'Ad Count Calculate', 'cat_level_calculate' => 'مستوى الفئة حساب', ];
<section class="hero-wrap hero-wrap-2 js-fullheight" style="background-image: url(<?= base_url('asset/images/banner/gambar_tampilan.png')?>);"> <div class="overlay"></div> <div class="container"> <div class="row no-gutters slider-text js-fullheight align-items-end justify-content-center"> <div class="col-...
<?php $lang["messages_first_name"] = "İsim"; $lang["messages_last_name"] = "Soyisim"; $lang["messages_message"] = "Mesaj"; $lang["messages_message_placeholder"] = "Mesajınız..."; $lang["messages_message_required"] = "Mesaj giriniz"; $lang["messages_multiple_phones"] = "(Birden fazla alıcı için telefon numaralarını vi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDaftarNilaiTable extends Migration { /** * Run the migrations. * * @return void */ // public function up() { Schema::create('daftar_n...
<?php $dir = '../redaxo/src/addons/modulsammlung/lib/pakete'; $modulesdirs = glob($dir.'/*',GLOB_ONLYDIR); $templates = array(); $templates_errors = array(); $templateausgabe = array(); function show_errors($errors = array()) { echo '<ul>'; foreach ($errors as $error) { echo '<li>'.$error.'</li>'; } ech...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php', 'App\\Http\\Controllers\\Aut...
<?php namespace Oro\Bundle\UserBundle\EventListener; use Symfony\Component\Security\Core\SecurityContextInterface; use Doctrine\ORM\EntityManager; use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; use Oro\Bundle\DataGridBundle\Event\BuildBefore; use Oro\Bundle\SecurityBundle\Acl\AccessLevel; use...
@extends('layouts.backend.layout') @section('styles') <link rel="stylesheet" href="{{ asset('assets/tmplts_backend/vendor/css/pages/account.css') }}"> <script src="{{ asset('assets/tmplts_backend/admin.js') }}"></script> <script src="{{ asset('assets/tmplts_backend/wysiwyg/tinymce.min.js') }}"></script> <link rel="sty...
<?php /* * This file is part of the Zstore Shop package. * * (c) Gustavo Ocanto <gustavoocanto@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Zstore\Companies; use Zstore\Http\Controller; use Zstore\Compani...
<?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 /** * Sortable Option Class * * @author Benjamin Intal * @package Titan Framework Core * @since 1.4 **/ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Code Option Class * * @since 1.4 **/ class TitanFrameworkOptionSortable extends TitanFrameworkOption { // Default setting...
<?php /* * This file is part of the broadway/broadway package. * * (c) Qandidate.com <opensource@qandidate.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Broadway\EventSourcing; use Broadway\Domain\DomainEventStr...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <?php require_once("header.php"); ?> <div class="page-title-container"> <div class="container"> <div class="page-title pull-left"> <h2 class="entry-title"><?php if(isset($from_city_name) && $from_c...
<!-- <!DOCTYPE html> <html> <head> <title>edit lass</title> </head> <body> --> <form method="post" action="<?php echo base_url('classmanager/update/'.$result->id);?>"> <table border="1px"> <tr> <td> id </td> <td><input type="text" name="id" value="<?php echo $result->id ?>" readonly> </td> </tr> <t...
@extends('layouts.app') @section('content') <div class="row justify-content-center align-items-center"> @if($tipo == 'boquinha') <div class="col-2 text-center"> <span class="letra-video">{{ strtoupper($letra) }}</span> </div> @endif <div class="col-12 col-sm-8"> <video src="{{ $url }}" controls="" preload=""...
<?php declare(strict_types = 1); namespace PHPStan\Reflection\Dummy; use PHPStan\Reflection\ClassMemberReflection; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\FunctionVariant; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\VoidType; class DummyConstructorReflection implements MethodRefl...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
@extends('admin::layouts.master') @section('content') <div class="card"> <div class="card-body"> <div class="row"> <div class="col-sm-4"> <h3><i class="fa fa-star"></i> News</h3> </div> <div class="col-sm-8"> ...
<!--Footer--> <footer id="footer" class="footer"> <div class="container text-center"> <h3>Start Your Free Trial Now!</h3> <form class="mc-trial row" method="POST" action="/qoutes"> {{ csrf_field() }} {{--@include('partials.success')--}} {{--@include('partials...
@extends('layouts.admin.app') {{-- Page title --}} {{-- page level styles --}} @section('header_styles') <link rel="stylesheet" href="{{asset('public/admin/assets/bundles/bootstrap-daterangepicker/daterangepicker.css') }}"> <style> </style> @stop @section('content') <section class="section"> <div class...
@extends('staffadmin.layouts.app') @section('admincontent') <div class="app-title"> <div> <h1><i class="fa fa-pencil-square-o"></i> Categories</h1> </div> <ul class="app-breadcrumb breadcrumb"> <li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li> <li class="breadcrumb-item"...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(StarterDataSeeder::class); } }
<?php class User{ protected $pdo; function __construct($pdo){ $this->pdo = $pdo; } public function login($email, $password){ $hash = hash('sha512', $password); $stmt = $this->pdo->prepare("SELECT id FROM user WHERE email = :email AND password = :password"); $stmt->bindParam(":email",$...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Tentang; use App\Visi; use App\Misi; use App\Pengeluaran; use App\Pemasukan; use DB; class HomeController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ publi...
<?php namespace App\Models\Tokoku; use Illuminate\Database\Eloquent\Model; class Promo extends Model { protected $table = 'promos'; protected $fillable = [ 'name', 'image', 'url' ]; }
<div id="preUach" style="display: none"> <div class="form-group"> {!! Form::label('email_institucional', 'E-mail institucional ')!!} {!! Form::text('email_institucional',null,array('class' => 'form-control','placeholder'=>'Ej: javier.andrade@uach.cl'));!!} </div> <div class="form-grou...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEnergysourcesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('energysou...
<?php namespace AppBundle\Entity; use FOS\UserBundle\Entity\User as BaseUser; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="users") * @ORM\HasLifecycleCallbacks */ class User extends BaseUser { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy=...
<?php require 'lib/Stripe.php'; require 'config.php'; error_reporting(0); try{ $emailid = $_GET['emailid']; $dats = explode('_', $_GET['firstname']); $name= $dats[0]." ".$dats[1]; $bank_name = str_replace('_', ' ', $_GET['bankname']); if($_GET['customer']=="") { $...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUserCardDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_ca...
<form id="formali"> <div class="form-group"> <label for="alimento" class="col-sm-2 control-label">Alimento:</label> <div class="col-sm-8"> <input type="text" class="form-control" name="new" placeholder="Digite a alimento aqui" autofocus data-toggle="tooltip" title="Campo Obrigatório!" required> </div> ...