text
stringlengths
2
1.03M
<?php class Model_latihan1 extends CI_Model { //membuat variabel untuk menampung nilai public $nilai1, $nilai2, $hasil; //method penjumlahan public function jumlah($n1 = null,$n2 = null) { $this->nilai1 = $n1; $this->nilai2 = $n2; $this->hasil = $this->nilai1 + $this->nilai2;...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/networksecurity/v1beta1/authorization_policy.proto namespace Google\Cloud\NetworkSecurity\V1beta1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Req...
<?php /** * @version 2.6.x * @package K2 * @author JoomlaWorks http://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die; $document = JFactory::getDo...
<?php require_once '../../controller/conexao.php'; $codproduto= $_POST ['codproduto']; $codfornecedor= $_POST ['codfornecedor']; $descricao= $_POST ['descricao']; $valor= $_POST ['valor']; $unidade= $_POST ['unidade']; $loteminimo= $_POST ['loteminimo']; $ativo= $_POST ['ativo']; $sql = "INSERT INTO PRODUTO (CODIGO...
<?php defined('BACKEND') or define('BACKEND',false); defined('LOCAL_DOMAIN') or define('LOCAL_DOMAIN','yii.gr'); define('CURRENT_ACTIVE_DOMAIN', $_SERVER['HTTP_HOST']); defined('APP_DEPLOYED') or define('APP_DEPLOYED',!(CURRENT_ACTIVE_DOMAIN == LOCAL_DOMAIN)); defined('DS') or define('DS',DIRECTORY_SEPARATOR); //Loca...
@extends("admin/admin-layouts.master") @section("title") <!-- Required meta tags --> <title>Manage Blogs | {{ env('MY_SITE_NAME') }}</title> @endsection @section("content") <div class="main-panel"> <div class="content-wrapper"> <div class="row"> <div class="col-md-12"> ...
<?php namespace App\Http\Controllers\admin; use App\Http\Controllers\Controller; use App\Models\Category; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; use App\Http\Requests\categoryRequest; class adminCategoryController extends Controller { /** * Display a listing of the resource. ...
<?php return array( 'ctrl' => array( 'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1nff_hotel', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language...
<?php namespace App\Services; use App\Repository\IUserRepository; use Illuminate\Database\Eloquent\Collection; class UserService implements IUserService{ private $userRepository; public function __construct(IUserRepository $userRepository) { $this->userRepository = $userRepository; } p...
<?php declare(strict_types=1); namespace Pac\Console; use Pac\App\PacKernel; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\Console\Application as BaseApplication; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony...
<?php namespace InetStudio\ReceiptsContest\Statuses\Http\Requests\Back\Resource; use Illuminate\Foundation\Http\FormRequest; use InetStudio\ReceiptsContest\Statuses\Contracts\Http\Requests\Back\Resource\StoreRequestContract; class StoreRequest extends FormRequest implements StoreRequestContract { public function...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Documents\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for GetAreaCodesRequest StructType * @subpackage Structs */ class GetAreaCodesRequest extends AbstractStructBase { /** * The ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HomeControlador extends Controller { public function index(){ return view('index'); } }
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="multikart"> <meta name="keywords...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * WorkingHours File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @lic...
<?php session_start(); include("../functions/functions.php"); include("../connection/connection.php"); if (!isset($_SESSION["smartpi_user"])) { header("Location: ../index.php"); $userid = $_SESSION["userid"]; } include("../functions/getprogression.php"); include("../functions/getstep.php"); include("../funct...
@extends('welcome') @section('content') <div class="row"> <div class="col-lg-8 col-md-10 mx-auto"> <a href="{{ route('add.category') }}" class="btn btn-danger">ADD Category</a> <a href="{{ route('all.category') }}" class="btn btn-info">ALL Category</a> <a href="{{ route('all.post') }}" cla...
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are gi...
<?php $TRANSLATIONS = array( "Invalid date/time" => "Ora/Data non valida", "Tasks" => "Attività", "Due" => "Scadenza", "List" => "Elenco", "Location" => "Posizione", "No category" => "Nessuna categoria", "Unspecified" => "Non specificata", "1=highest" => "1=massima", "5=medium" => "5=media", "9=lowest" => "9=minima", "...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
@extends('_layouts.default') @section('title', 'Edit Task') @section('page-header-toolbar', 'Edit Tasks') @section('page-header') Tasks @stop @section('content') <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> Edit Task </div><!-- /.box-header --> ...
<?php defined('C5_EXECUTE') or die("Access Denied."); class DashboardPostsAddController extends Controller { public function save() { Loader::model('blog_post'); $post = new BlogPost(); $post->title = $this->post('title'); $post->content = $this->post('content'); $post->post_date = date('YYYY-MM-DD H:i...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="{{asset('css/app.css')}}"> <title>Boolpress</title> <!-- Fonts --> ...
<?php declare(strict_types=1); namespace FromHome\Payment\Input; use FromHome\Payment\ValueObject\Transaction; final class CheckStatusTransactionInput extends TransactionInput { private ?string $providerCode = null; public function __construct(Transaction $transaction, ?string $providerCode = null) { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comments', fun...
@extends('layouts.mylay') @section('head') <META charset="utf-8"></META> @stop @section('heading') <div class='h1'> Ma Base de donnees contient : </div> @stop @section('content') <table> <tr> <th>First Name</th> <th>Last Name</th> <th>Email</th> ...
<?php declare(strict_types=1); namespace Aeon\Twig; use Aeon\Calendar\Exception\InvalidArgumentException; use Aeon\Calendar\Gregorian\Calendar; use Aeon\Calendar\Gregorian\DateTime; use Aeon\Calendar\Gregorian\TimeZone; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; use Twig\TwigFunction; final class Ca...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('produ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateConversationParticipantsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create...
<?php interface ControladorCelular { public function ligar(); public function desligar(); public function bloquearTela(); public function desbloquearTela(); public function realizarChamada($numero); public function encerrarChamada(); } ?>
<?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 namespace App\Http\Controllers\Data; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\User; class LandlodDB extends Controller { public function getLandlords() { $status = false; $msg = 'Query Successful'; $data = array(); try{...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCartsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('carts', function ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Estado; use App\Pais; use Illuminate\Support\Facades\Auth; use App\Http\Requests\DepartamentoRequestStore; use App\Http\Requests\DepartamentoRequestUpdate; class DepartamentoController extends Controller { /** * Display a listing of ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateNotificationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('notificat...
<?php namespace Sunhill\ORM\Properties; class PropertyAttributeInt extends PropertyAttribute { protected $type = 'AttributeInt'; protected $validator_name = 'IntValidator'; }
<?php namespace common\models; use Yii; use yii\base\Model; class BusquedaFormulario extends Model{ public $marca; public $modelo; public $precioD; public $precioH; public $anioD; public $anioH; public function rules(){ return [ [['marca', 'modelo','precioD','precioH','anioD','anioH'], 'required'], ];...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=0'> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="Description" content="Bootstrap Responsive Admin Web Dashboard HTML5 Template"> <m...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle ...
<?php namespace api\modules\v1\models; use \yii\db\ActiveRecord; use Yii; /** * This is the model class for table "recipe_type". * * @property int $recipe_type_id * @property string $name * * @property Recipe[] $recipes */ class RecipeType extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ ...
<?php namespace App\Models; use System\Libraries\Model; use System\Libraries\Config; class KargoModel extends Model{ public $link = ""; function __construct(){ parent::__construct(); $config = new Config(); $siteConfig = $config->get("Site"); $this->link = $siteConfig["link"]; } } ?>
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateContactTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contact', funct...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="CodeIgniter 3 blog script by Pisyek Kumar"> <meta name="author" content="Pisyek Kumar (Pisyek.com)"> <title><?php echo $this->config->ite...
@extends('panel.layouts.app_panel') @section('content') <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom container-fluid"> <h1 class="h2">Изменение алиаса</h1> <div class="btn-toolbar mb-2"> <a href="{{route('pan...
<?php namespace App\Http\Controllers; use App\Entities\Department; use App\Entities\Flow; use App\Entities\Listing; use App\Entities\Network; use App\Entities\Store; use Illuminate\Cache\Repository; use Illuminate\Support\Facades\Auth; /** * Class ListUsersController. * * @property repository * @package namesp...
<?php declare(strict_types=1); namespace App\Http\Controller; use App\Model\Entity\User; use Exception; use Swoft\Co; use Swoft\Http\Server\Annotation\Mapping\Controller; use Swoft\Http\Server\Annotation\Mapping\RequestMapping; use Swoft\Redis\Redis; use Swoole\Coroutine\Http\Client; use Throwable; /** * Class CoC...
<!DOCTYPE html> <html class="loading" lang="en" data-textdirection="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Admin</title> <link rel="apple-touch-icon" href="/assets/images/ico/apple-icon-120.png"> ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class M_income extends CI_Model { protected $income = 'income'; public function listIncome() { return $this->db->get($this->income); } public function listIncomeById($id) { return $this->db->get_where($this->income, ['id' => $...
<?php return [ 'base_url' => 'http://localhost/expoeduweb/public/fbauth/auth', 'providers' => [ 'enabled' => true, 'key' => [ 'id' => '917799878286958', 'secret' => '4371a9299d4d0e4bcf57c803db926cc1', ], 'scope' => 'public_profile, email' ], ]; ?>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Student extends Model { // protected $fillable = [ 'first_name', 'last_name', 'email' ]; public function courses() { return $this->belongsToMany(Course::class); } }
<?php namespace SystemConnector\IdentityService; use Assert\Assertion; use Ramsey\Uuid\Uuid; use SystemConnector\IdentityService\Exception\NotFoundException; use SystemConnector\IdentityService\Storage\IdentityServiceStorageInterface; use SystemConnector\IdentityService\Struct\Identity; use SystemConnector\ValidatorS...
<?php namespace Cmsable\Translation; use Symfony\Component\Translation\TranslatorInterface as SymfonyInterface; /** * This is a copy of the most used methods of laravels translator which extends * the symfony translator. * This interface ist mostly used to inject it into your controller and overwrite * any transl...
<?php /** * This file is part of shrt.at * (c) 2013 Florian Eckerstorfer */ namespace Fe\ShrtBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * FeShrtBundle * * @package FeShrtBundle * @author Florian Eckerstorfer <florian@eckerstorfer.co> * @copyright 2013 Florian Eckerstorfer * @license...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Visitas Hogares </h1> </section> <div class="content"> @include('adminlte-templates::common.errors') <div class="box box-primary"> <div class="box-body"> ...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DomCrawler\Field; /** * TextareaFormFi...
<?php declare(strict_types=1); namespace Rector\Php73\Rector\FuncCall; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** * @see https://wiki.php....
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Celular </h1> </section> <div class="content"> @include('adminlte-templates::common.errors') <div class="box box-primary"> <div class="box-body"> <div cl...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Post */ $this->title = Yii::t('backend', 'Create Post'); $this->params['breadcrumbs'][] = ['label' => Yii::t('backend', 'Posts'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="post-create"> ...
<nav class="navbar navbar-dark navbar-expand-lg bg-dark"> <a class="navbar-brand text-light" href="#">{{ config('app.name') }}</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{...
<?php namespace MD\Bundle\MediaBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class DocumentType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options)...
<?php namespace Bling\Repositories; use Spatie\ArrayToXml\ArrayToXml; class NFSeRepository extends BaseRepository { public function all(array $filters = []): ?array { $options = []; foreach ($filters as $k => $v) { $filters[$k] = $k.'['.$v.']'; } if(count($filter...
@extends('layouts.app') @section('page_title') Master Data :: Matriks Kualifikasi @endsection @section('page_header_title') <h2 class="pageheader-title">Master Data : Matriks Kualifikasi</h2> @endsection @section('page_breadcrumb') <div class="page-breadcrumb"> <nav aria-label="breadcrumb"> <ol class...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /** * ServicesApi * PHP version 5 * * @category Class * @package KuntaAPI * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Kunta API * * Solution to co...
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ function smarty_function_call_phone($params, &$smarty) { $phone = fn_call_requests_get_splited_phone(); return '<span><span class="ty-cr-phone-prefix">' . $phone['prefix'] . '</span>' . $phone['postfix'] . '</span>'; }
<?php /** * Created by Miki Maine Amdu. * For : INNOVATE E-COMMERCE * User: MIKI$ * Date: 3/23/2016 * Time: 9:50 PM. */ namespace Innovate\Eav\Category\Traits\Relationship; trait ProductAttributeCategoryRelationship { public function product_attributes() { return $this->hasMany('Innovate\Eav\Att...
<?php namespace Esensi\Model\Observers; use Illuminate\Database\Eloquent\Model; use Watson\Validating\ValidatingObserver; /** * Model observer for Validating Model Trait. * * @author Daniel LaBarge <daniel@emersonmedia.com> * @copyright 2015-2016 Emerson Media LP * @license https://github.com/esensi/model/blob/...
@extends('theme.layout.main_app') @section('page_title') {{$page_title}} @endsection @section('page_content') <div class="page-error-wrapper"> <div> <h5 class="tx-sm-24 tx-normal">Service Temporarily Unavailable.</h5> <p class="mg-b-50">The server is unable to service yo...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use phpDocumentor\Reflection\DocBlock\Tags\Return_; class PostVote extends Model { protected $fillable = ['user_id', 'post_id', 'vote']; public function post() { return $this->belongsTo(Chat::class); } }
<?php namespace App\Http\Controllers; use App\Category; use App\Http\Repositories\CategoryRepository; use App\Http\Requests; use Illuminate\Http\Request; use XblogConfig; class CategoryController extends Controller { protected $categoryRepository; /** * CategoryController constructor. * @param Cate...
<div class="row"> <div class="col-md-6"> {!!Form::text('target_group','Target_group')!!} </div> <div class="col-md-6"> {!!Form::textarea('description','Description')!!} </div> </div>
@extends('layouts.app') @section('content') <div class="container"> <div id="app"> <show-accounting-list-component></show-accounting-list-component> </div> </div> @endsection
<?php include("config.inc.php"); if(!isset($_COOKIE['inout_admin'])) { header("Location:index.php"); exit(0); } $inout_username=$_COOKIE['inout_admin']; $inout_password=$_COOKIE['inout_pass']; if(!(($inout_username==md5($username)) && ($inout_password==md5($password)))) { header("Location:index.php"); exit(0); } ...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace backend\assets; use yii\web\AssetBundle; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset extends AssetBundle { public ...
<?php include_once("includes/functionCategorias.php"); include_once("includes/functionMenuGeral.php"); topTermo(); ?> <div id="main"> <div class="inner"> <h1>Página dos Termos - Administração</h1> <br> </div> </div> <?php $con=mysqli_connect("localho...
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
<?php // +---------------------------------------------------------------------- // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved. // +-------------------------------------------...
<?php namespace common\models; use Yii; /** * This is the model class for table "urin_feca_cat_parent_cms". * * @property int $c * @property string $parent_category_name */ class UrinFecaCatParentCms extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { ...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Menu extends Model { // 数据库连接 protected $connection = 'mysql_laradmin'; // 数据表 protected $table = 'menu'; /** * 表明模型是否应该被打上时间戳 * * @var bool */ public $timestamps = false; /** * 可以被批量赋值的属性. ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDescriptionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('descriptio...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddColumnHoraTableItemPedido extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('item_p...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<!DOCTYPE html> <html> <head> <title>Home</title> <link rel="stylesheet" type="text/css" href="{{ asset('css/app.css') }}"> </head> <body> <a class="redirect" href="/team">TEAM</a> <div id="home"> <h1>Welcome to the adventure!</h1> <form class="header" action="{{ route('name_post') }}" method="post"> @cs...
<?php /** * This file contains the DatabaseConnectionBaseTest class. * * @package Lunr\Gravity\Database * @author Heinz Wiesinger <heinz@m2mobi.com> * @copyright 2012-2018, M2Mobi BV, Amsterdam, The Netherlands * @license http://lunr.nl/LICENSE MIT License */ namespace Lunr\Gravity\Database\Tests; ...
<?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\Form\Exception; /** * Indicates a value transformati...
<?php use Illuminate\Auth\UserTrait; use Illuminate\Auth\UserInterface; use Illuminate\Auth\Reminders\RemindableTrait; use Illuminate\Auth\Reminders\RemindableInterface; class Theme extends Eloquent implements UserInterface, RemindableInterface { use UserTrait, RemindableTrait; /** * The database table used by ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class sale extends CI_Controller { function index(){ $this->load->view('header_view'); $this->load->view('sale_view'); $this->load->view('footer_view'); } function insert_sale(){ $arr = $this->input->post('post_data'); $ar...
<?php namespace OptimusCrime\Challenge180Days2022\Helpers; use OptimusCrime\Challenge180Days2022\Exceptions\MissingConfigurationException; use OptimusCrime\Challenge180Days2022\Helpers\Configuration\Configuration; class SettingsParser { /** * @throws MissingConfigurationException */ public static fu...
<?php namespace App\Http\Controllers\auth; use App\Http\Controllers\Controller; use App\Http\Responses\SuccessfulPasswordResetLinkRequestResponse; use Illuminate\Contracts\Support\Responsable; use Illuminate\Http\Request; use Laravel\Fortify\Http\Controllers\PasswordResetLinkController as ControllersPasswordResetLink...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit768331de2e12d37654958ce20e86a387 { public static $prefixLengthsPsr4 = array ( 'P' => array ( 'Predis\\' => 7, ), ); public static $prefixDirsPsr4 = array ( ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('timeago'); $switch = $this->db->get("tb_onoffsys")->result(); if($switch[0]->onoff_system == 'off'){ redirect('CloseSyste...
@extends('layouts.app') @section('content') <div class="container"> <div class="panel panel-danger"> <div class="panel-heading"> <h3 class="panel-title">Formulario Producto</h3> </div> <div class="panel-body"> <form class="form-inline" met...
<?php /** * Created by PhpStorm. * User: andrea * Date: 12/01/18 * Time: 15.06 */ namespace Webgriffe\LibMonetaWebDue\PaymentNotification; use Psr\Http\Message\ServerRequestInterface; interface MapperInterface { /** * @param ServerRequestInterface $request * * @return Result\PaymentResultInte...
<?php use App\Models\Post; use App\Http\Controllers\PostController; use Illuminate\Support\Facades\Route; use App\Models\Category; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where...
<?php /** * */ class Auth { public $user = false; private $data = false; function __construct() { $this->isLogged = false; $this->user = false; $this->data = false; } public function LOGIN($username, $password) { $userid = SQL_GET_ID($_table="users", $_...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\Resource; class BehaviorResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) { ret...
@extends('admin') @section('title') Edit Member - {{ $common['appShort'] }} @stop @section("content") <section class="content-header"> <h1><i class="fa fa-pencil"></i> Edit Member</h1> <ol class="breadcrumb"> <li><a href="{{ url('/admin') }}"><i class="fa fa-user"></i> Admin</a></li> ...
<?php namespace App\Http\Requests; use App\Http\Requests\Request; class SaveSubjectRequest extends Request { /** * Determine if the educator is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validat...
<?php define('PAGE_PUBLIC', true); $custom_css = array('levels.scss'); $custom_js = array('levels.js'); $page_title = 'Levels'; require_once('header.php'); $filter = null; if (isset($_GET['category'])) { $filter = strtolower($_GET['category']); } $sections = $app->levels->g...