text
stringlengths
2
1.03M
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class T_and_c extends CI_Controller { public function index() { if($this->session->userdata('isLoginid') && $this->session->userdata('isLoginusername')) { $this->db->select("*"); $this->db->from("tandc"); $query = $this->db->get(); ...
@extends('user.templates.default') @section('title', 'Tabula') @section('description', 'Descrição') @section('content') <section> <div class="container"> <div class="box-w-shadow"> <div class="row"> <div class="col-xs-4"> <img src="{{asset('images/img/Sain...
<?php /** * Form validation class. * * @author Takuya Motoshima <https://www.facebook.com/takuya.motoshima.7> * @license MIT License * @copyright 2017 Takuya Motoshima */ namespace X\Util; use \X\Util\Logger; final class Validation { /** * Validate hostname. * * @param string $input Input ...
<?php require dirname(__FILE__) . '/../vendor/autoload.php'; $secretId = "SECRETID"; //替换为用户的 secretId,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi $secretKey = "SECRETKEY"; //替换为用户的 secretKey,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi $region = "ap-beijing"; //替换为用户的 region,已创建桶归属的r...
<?php namespace App\Http\Controllers\Admin; use App\Helpers\StringHelpers; use App\Project; use App\QuantityCheckConcreteTest; use App\QuantityCheckConcreteTestObservation; use App\QuantityCheckSampleObservation; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Yajra\DataTables\Facades\DataTables...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! --> <title>最新活动</title> ...
<?php namespace Tests\Feature; use App\User; use Tests\TestCase; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; /** * @internal * * @coversNothing */ class UsersCanPayTheirSubscriptionTest extends TestCase { use Ref...
<?php /** * Created by PhpStorm. * User: Xay * Date: 4/14/2018 * Time: 10:25 AM */ session_start(); $tag = $_POST["name"]; if (isset($_SESSION["team"])) $c = count($_SESSION["team"]) + 1; else $c = 2; if (isset($tag) && isset($_POST["add$c"])){ if (!isset($_SESSION["members"])){ $_SESSION["memb...
<?php /** * Created by PhpStorm. * User: Mohammad Shamaseen * Date: 09/04/19 * Time: 12:04. */ namespace Shamaseen\Repository\Generator\Forms; class Select { }
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\Models\Rate */ $this->title = 'Update Rate ID #' . $model->pkRateID; $this->params['breadcrumbs'][] = ['label' => 'Rates', 'url' => ['index']]; $this->params['breadcrumbs'][] = 'Update ID #' . $model->pkRateID; $backLink = Yii::$app->urlMa...
<!DOCTYPE html> <html> <head> <title>Complete User Registration and Login System in Codeigniter</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> </head> <body> <div class="container"> <br /> <h3 align="center">Complete User Regis...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace tests\codeception\unit\modules\user\models\frontend\form; use app\modules\user\models\frontend\form\EmailConfirmForm; use Codeception\Specify; use tests\codeception\fixtures\UserFixture; use yii\codeception\DbTestCase; /** * @property array $users */ class EmailConfirmFormTest extends DbTestCase { ...
<?php class Tests extends CI_Controller{ protected $_flash_mess = "flash_mess"; protected $_flash_post = "_flash_post"; public function __construct(){ parent::__construct(); $this->load->helper("url"); } public function index(){ $this->load->model("Muserquestion"); $this->load->model("Museran...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit9d8b52f684070a668df18c3f195c9391::getLoader();
<div class="footer-bar"> <div class="container"> <div class="row align-items-center justify-content-center"> <div class="col-md-8"> <ul class="footer-links"> <li><a class="cl1" href="faq-page.html">FAQs</a></li> <li><a class="cl1" href="reg...
<?php $this->load->view('/header.php'); ?> <?php $this->load->view('/top.php'); ?> <?php $this->load->view('/menu.php'); ?> <!-- 右侧区域开始 --> <div class="right_body"> <!-- 当前位置开始 --> <div class="snav">当前位置:<a href="<?php echo build_url('Frame'); ?>">管理首页</a>&nbsp;&nbsp;»&nbsp;&nbsp;应用列表</div> <!-- 当前位置结束 ...
@extends('layouts.app') @section('conteudo') <div class="alert alert-danger" role="alert"> <p>{{$resposta}}</p> </div> <div class="container"> <form id="form" name="form" method="Post" action="{{route('clientes.insert')}}"> {{csrf_field()}} <div class="form-row"> <div class="form-group col-md-6"> ...
<?php class Setup { /** @var Database */ private $Db; /** @var Config */ private $Config; /** @var MigrationRepository */ private $MigrationLoader; /** * @param Database $Db * @param Config $Config * @param MigrationRepository $MigrationLoader */ public function __construct(Database $Db, Config $Con...
@extends('admin::layouts.default.layout') @section('scripts') <script type="text/javascript"> var id = {{ $category->category_id }}; $(document).ready(function(){ // add event for add option button $("#add-attr-category").click(function(evt){ evt.preventDefault(); ...
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8"/> <title><?=$header_title;?></title> <meta http-equiv="X-UA-Compatible" cont...
<?php /** * Perfect Portfolio Customizer Select Control. * * @package Perfect_Portfolio */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Perfect_Portfolio_Select_Control' ) ){ /** * Select control. */ class Perfect_Portfolio_Select_Control extends WP_Customiz...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Model\BusinessSetting; use App\Model\Currency; use Brian2694\Toastr\Facades\Toastr; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class PaymentMethodController extends Controller { public function index() ...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
<?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ use ClicShopping\OM\CLICSHOPPING; $CLICSHOPPING_CategoryTr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSongDetailsExTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('song_deta...
<?php /** * CForm class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CForm represents a form object that contains form input specifications. * * The main purpose of intro...
<?php namespace Shaarli\Formatter; use Shaarli\Config\ConfigManager; /** * Class BookmarkMarkdownFormatter * * Format bookmark description into Markdown format. * * @package Shaarli\Formatter */ class BookmarkMarkdownFormatter extends BookmarkDefaultFormatter { /** * When this tag is present in a book...
<?php use Illuminate\Database\Seeder; class PamiMaterialTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $material_data = array( 0 => array( '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''...
<?php namespace Database\Seeders; use App\Models\Section; use Illuminate\Database\Seeder; class SectionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $names = [ 'Entrantes', 'Patatas', 'Hamburgues...
<?php declare(strict_types=1); /** * @author Štěpán Zrník <stepan.zrnik@gmail.com> * @copyright Copyright (c) 2021, Štěpán Zrník * @project MkSQL <https://github.com/Zrnik/MkSQL> */ namespace Tests\Mock\BaseRepositoryAndBaseEntity\Entities; use Zrnik\MkSQL\Repository\Attributes\ColumnName; use Zrnik\MkSQL\Reposit...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { public function user() { return $this->belongsTo(User::class); } public function category() { return $this->belongsTo(Category::class); } public function tags() { return $...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use Hash; use Auth; use Redirect; use Session; use Validator; use Illuminate\Support\Facades\Input; class MainController extends Controller { // public function __construct() // { // $this->middleware('guest')->except('l...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function(...
@extends('../layout/base') @section('body') <body class="login"> @yield('content') <!-- BEGIN: JS Assets--> <script src="{{ mix('dist/js/app.js') }}"></script> <!-- END: JS Assets--> @yield('script') </body> @endsection
<?php /* <body><pre> ------------------------------------------------------------------------------------------- CKEditor - Posted Data We are sorry, but your Web server does not support the PHP language used in this script. Please note that CKEditor can be used with any other server-side language than just PH...
<?php namespace App\Http\Services; use App\Http\Repositories\Contracts\SeatRepositoryInterface; use App\Http\Services\Contracts\SeatServiceInterface; class SeatService implements SeatServiceInterface { /** * @var SeatRepositoryInterface */ private $seatRepository; /** * SeatService cons...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://doc.hyperf.io * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace HyperfTest\Di; use Hyperf\Di\LazyLoader\InterfaceLazyProxyBuilder; u...
<div> <ul class="breadcrumb"> <li class="active">首页</li> <li class="active">Role</li> </ul> </div> <?php //echo \yii\bootstrap\Html::a('<span class="glyphicon glyphicon-plus-sign"></span>新增角色',['rbac/add-role'],['class'=>'btn btn-info']); ?> <table class="table table-bordered table-responsive" s...
<?php return array ( 'failed' => 'Ces informations d\'identification ne correspondent pas à nos enregistrements.', 'throttle' => 'Trop de tentatives de connexion. Veuillez réessayer dans :seconds secondes.', 'login' => 'S\'identifier', 'logout' => 'Se déconnecter', 'email-addr' => 'Adresse électronique', ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit02831bd0e780d36fb3035f952c350582::getLoader();
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitb82e19b95ed33d3ab9d53a0388e8dee3::getLoader();
<?php /** * @copyright Reinvently (c) 2017 * @link http://reinvently.com/ * @license https://opensource.org/licenses/Apache-2.0 Apache License 2.0 */ namespace reinvently\ondemand\core\modules\settings\assets; use yii\web\AssetBundle; /** * Class ExtraFeeAsset * @package reinvently\ondemand\core\modules\order\...
@extends('layout.master') @section('content') <h1>กรุณากรอกข้อมูล</h1> <form action="/user/store" method="post"> @csrf name :<input type="text" name="name" required><br> username :<input type="text" name="username" required><br> email :<input type="email" name="email" required><br> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGiathuenhacongvuTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('giathu...
@extends('app') @section('content') <div class="container"> @include('flash::message') <div class="row"> <h1 class="pull-left">Floors</h1> <a class="btn btn-primary pull-right" style="margin-top: 25px" href="{!! route('floors.create') !!}">Add New</a> </div> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Usercall extends Model { protected $fillable = ["office_name","capacity"]; public function getCreatedAtAttribute() { return Carbon::parse($this->attributes['created_at']) ->translatedFormat('d-M-Y'); } pu...
<?php /** * Google Analytics tracking widget for Yii2 applications * * @link https://github.com/hiqdev/yii2-google-analytics * @package yii2-google-analytics * @license BSD-3-Clause * @copyright Copyright (c) 2017, HiQDev (http://hiqdev.com/) */ namespace hiqdev\yii2\GoogleAnalytics; use Yii; /** * ...
<?php namespace app\controllers; use kartik\mpdf\Pdf; class PdftestController extends \yii\web\Controller { public function actionIndex() { //step 1 logic processing // $car=['big bilk','Honda Wave','Kavasaki']; //สร้างการเชื่อมต่อ $conn = \Yii::$app->db; $sql = 'SELEC...
<?php /** * @var \App\View\AppView $this * @var array $params * @var string $message */ if (!isset($params['escape']) || $params['escape'] !== false) { $message = h($message); } ?> <div class="my-4 px-4 py-3 bg-yellow-100 rounded shadow-sm" onclick="this.classList.add('hidden');"> <div class="flex justify-...
@extends('master') @section('content') <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href="https://cdn.jsdelivr.net/npm/bootstra...
<?php declare (strict_types=1); namespace Rector\DeadCode\SideEffect; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ArrayDimFetch; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\New_; use PhpParser\Node\Expr\PropertyFetch; use PhpP...
@extends('layouts.seller') @section('header') <section class="content-header"> <h1> Perakitan </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Penjual</a></li> <li class="active">Perakitan</li> </ol> </section> @endsection @section('content') <div class="box b...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It is a breeze. Simply tell Lumen the URIs it should respond t...
<div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2>IM Conceptos</h2> <div class="nav navbar-right"> <a href="<?php echo site_url('im_concepto/add'); ?>" class="btn btn-success btn-sm">Agregar</a> <...
<?php namespace App\Http\Controllers; use App\Catproduct; use App\Commits; use App\Commodity; use Illuminate\Http\Request; use App\Http\Requests; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Input; class MessageController extends Controller { public funct...
<?php /** * Created by PhpStorm. * User: K0241222 * Date: 2020/7/26 * Time: 12:12 */ namespace Library\Https; use Exception; use Library\Components\Base; use Library\Components\IocContainer; use Library\Exceptions\ArgumentCountErrorException; use Library\Exceptions\ContainerBadMethodException; use Library\Except...
@extends('layouts.app') @section('content') @if (count($errors) > 0) <ul class="alert alert-danger" role="alert"> @foreach ($errors->all() as $error) <li class="ml-4">{{ $error }}</li> @endforeach </ul> @endif <h1>メッセージ新規作成ページ</h1> <div class="...
<?php $mapping = array( 'mag_collection' => 'Opere', 'dc_identifier' => 'catalogdetail_inventory', 'dc_title' => 'catalogdetail_title', 'mag_nomenclature' => 'catalogdetail_title', 'dc_publisher' => '', 'dc_subject' => 'catalogdetail_category', 'dc_description' => 'catalogdetail_description'...
<?php /*+********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.1 * ("License"); You may not use this file except in compliance with the License * The Original Code is: SalesPlatform Ltd * The Initial Deve...
<?php /* @var $this yii\web\View */ use yii\helpers\Url; $this->title = 'SisBIO'; $this->registerJsFile(Yii::$app->homeUrl . "js/parallax.min.js", [ "depends" => ['yii\web\JqueryAsset']]); $this->registerJsFile(Yii::$app->homeUrl . "js/welcome.js", [ "depends" => ['yii\web\JqueryAsset']]); ?> <div id="home" class="p...
@extends('main') @section('custom-style') @stop @section('custom-script') <script type="text/javascript" src="{{url('assets/global/plugins/jquery-validation/js/jquery.validate.min.js')}}"></script> <!--cript src="{{url('assets/admin/pages/scripts/form-validation.js')}}"></script--> @stop @section('content...
@extends('admin.admin_master') @section('admin_content') <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { } </script> <ul class="breadcrumb"> <li><i class="ace-icon fa fa-tach...
<?php namespace App\Providers; use Illuminate\Routing\Router; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as the URL g...
<?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 use Illuminate\Database\Seeder; use App\Sprinkle; class SprinkleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Sprinkle::truncate(); foreach (range(0,1) as $index) { Sprinkle::create([ 'name'...
<?php namespace Stripe; /** * Class Stripe * * @package Stripe */ class Stripe { // @var string The Stripe API key to be used for requests. public static $apiKey; // @var string The Stripe client_id to be used for Connect requests. public static $clientId; // @var string The base URL for the...
<?php /* * The MIT License * * Copyright (c) 2021 Toha <tohenk@yahoo.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the right...
<?php $auth_user= authSession(); ?> {{ Form::open(['route' => ['main-category.destroy', $category->id], 'method' => 'delete','data--submit'=>'category'.$category->id]) }} <div class="d-flex justify-content-end align-items-center"> @if(!$category->trashed()) @if($auth_user->can('category edit')) <a class="mr-2" ...
<?php namespace Container4G9oIug; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /* * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getDoctrineMigrations_RollupComma...
<?php namespace ExRiWAArch; class User { //User Log in to Chat room ---------------------------------- public function login($formData) { $params = (new Commons)->getFormData($formData); $_SESSION["Username"] = $params["txtUsername"]; //Subscribed topics-------------------------- ...
<?php include_once 'funciones/sesiones.php'; include_once 'funciones/funciones.php'; include_once 'templates/header.php'; include_once 'templates/barra.php'; include_once 'templates/navegacion.php'; ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper...
<?php namespace App\Http\Controllers; use App\Models\Agendamento; use App\Models\Paciente; use App\Models\Consulta; use Illuminate\Http\Request; use Illuminate\Support\Carbon; class AgendamentoController extends Controller { public function index() { return Agendamento::all(); } public func...
<meta charset = "UTF-8"> <?php $ma = $_POST["masv"]; $ten = $_POST["tensv"]; $class = $_POST["lopsv"]; $block = $_POST["khoisv"]; $address = $_POST["diachisv"]; $email = $_POST["email"]; $date = $_POST["ngaysinhsv"]; $hometown = $_POST["quequansv"]; $gender = $_POST...
@extends('layouts.app') @section('content') <div class="container-fluid"> <div class="row mt-5"></div> <div class="row mt-4"> <div class="card col-md-12"> <div class="card-body"> <div class="text-right mb-2"> <a href="{{ route('transaction.index') }}" class="btn btn-sm btn-ligh...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Requests extends Model { protected $fillable = [ 'vaccine_id', 'quantity', 'request_date', 'status_id', 'user_id' ]; public function vaccins() { return $this->belongsTo('App\Vaccins', '...
<?php /* * Goodlayers Include Script File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * T...
@extends('layouts.app') @section('title') Homepage @endsection @section('content') <div class="page-content page-home"> <div class="section-home" data-aos="fade-up"> <div class="container"> <div class="row align-items-center row-home"> <div class="col-lg-6 text-...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAboutUsesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('about_uses', ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class IndianController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for creating a new ...
<?php /** * @see https://github.com/laminas/laminas-console for the canonical source repository * @copyright https://github.com/laminas/laminas-console/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-console/blob/master/LICENSE.md New BSD License */ namespace LaminasTest\Console\Pro...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/danielszerszen/Code/grav/user/themes/getgrav-grav-theme-landio-676e3f5 2/blueprints.yaml', 'modified' => 1485247724, 'data' => [ 'name' => 'Landio', 'version' => '1.3.0', 'description' => 'La...
<?php /* @WebProfiler/Collector/router.html.twig */ class __TwigTemplate_b529fa7227a367a7de95e2ceda5343eddf9401ed02ede716f78419ad8332c93b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplat...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Jetstream\HasProfilePhoto; use La...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; class DashboardController extends Controller { public function Index(){ $post=DB::table('tags') ->join('catagories', 'tags.category_id', 'catagories.id') ->select('tags.*' ,'catagories.name' ,'catagories.s...
<?php namespace member\modules\sys\models; use common\components\base\BaseActiveRecord; use Yii; /** * This is the model class for table "{{%sys_link}}". * * @property integer $id * @property integer $c_id * @property string $title * @property string $img * @property string $url * @property integer $sort * ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class word extends Model { public function cate() { return $this->belongsTo(generic_judgments::class,'id_word'); /*$wor=DB::table('generic_judgments') ->join('word', 'word.id_generic_judgment', '=', 'generic_judgments.id_gen...
<?php namespace Lstr\Sprintf; use PHPUnit\Framework\TestCase; /** * @coversDefaultClass Lstr\Sprintf\Sprintf */ class SprintfTest extends TestCase { /** * @covers ::__construct * @covers ::sprintf * @covers ::getProcessor */ public function testSprintfDelegatesToProcessor() { ...
<?php /** * @copyright 2014 Integ S.A. * @license http://opensource.org/licenses/MIT The MIT License (MIT) * @author Javier Lorenzana <javier.lorenzana@gointegro.com> */ namespace GoIntegro\Hateoas\JsonApi\Request; // Mocks. use Codeception\Util\Stub; class ParserTest extends \PHPUnit_Framework_TestCase { co...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProjectsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('projects', fun...
@extends('web.admin.main') @push('styles') @endpush @section('content') <div class="card"> <div class="card-header text-secondary font-weight-bold"> <div class="row"> <div class="col-auto">Owner :</div> <div class="col-auto border-right"><a href="{{route('admin.a...
<?php namespace App\Http\Controllers\Contable; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Contable\Banco; use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Support\Facades\Crypt; use Illuminate\Support\Facades\DB; use App\Models\Seguridad\Log; class BancoContr...
<?php /* * This file is part of fof/upload. * * Copyright (c) FriendsOfFlarum. * Copyright (c) Flagrow. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FoF\Upload\Api\Controllers; use Flarum\Api\Controller\AbstractLis...
<?php namespace App\Http\Controllers; use App\Participante; use Illuminate\Http\Request; use App\Http\Requests\EquipoRequest; use App\Equipo; use App\Grupo; use App\Liga; use App\EquipoGrupo; use Auth; use Illuminate\Support\Facades\DB; class EquipoController extends Controller { private $colores = [ 'bg...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class penerimaan extends Model { protected $table = 'tb_penerimaan'; }
<?php include 'header.php'; ?> <form method="POST" id="formid2"> <input type="hidden" name="spid1" id="spid1"> <!-- page content --> <div class="right_col row" role="main"> <div class="col-md-12"> <div class="panel panel-default" style="margin-right: 12px;"> <div class="panel-head...
<?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...
<?php namespace RC\TokenMatcher\Assertion\Expr\AssignOp; use RC\TokenMatcher\Assertion\Expr\AssignOpAssertion; class BitwiseXorAssertion extends Expr\AssignOpAssertion { }
<?php namespace App\Http\Requests; use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; class UpdatePremiumRequest extends FormRequest { /** * Determine if the user is authorized to make th...
<div id="sponsors"> <div class="container clearfix"> <h2>Our Sponsors</h2> <ul class="list-inline"> <li><a href="http://azavea.com/" title="Azavea" target="_blank"><img src="assets/images/sponsors/Azavea.png" height="39" width="160" alt="Azavea"/></a></li> <li><a href="http://boundlessgeo.com/" titl...