text stringlengths 2 1.03M |
|---|
<?php
/*
* This file is part of the PHP-CLI package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/
namespace Ahc\Cli\Input;
use Ahc\Cli\Exception\InvalidParameterException;
use Ahc\Cli\Exception\RuntimeException;
use Ahc\Cli\Helper\... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ co... |
<?php
session_start();
if((isset($_SESSION['cl']))){ ?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Ver Productos</title>
<?php
require('Style.php');
?>
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<?php
require('menu.p... |
@extends('layout')
@section('ContenidoCasoUso')
<h1>Notificacion</h1>
@stop |
<?php
/**
* PHPWord
*
* Copyright (c) 2011 PHPWord
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*... |
<?php
namespace common\components;
use Yii;
/**
* @inheritdoc
*
* @property \common\models\User|\yii\web\IdentityInterface|null $identity The identity object associated with the currently logged-in user. null is returned if the user is not logged in (not authenticated).
*/
class User extends \yii\web\User
{
... |
<?
$PERM["admin"]["6"]="R";
$PERM["admin"]["*"]="D";
$PERM["tools"]["5"]="T_8";
$PERM["rk.php"]["5"]="T_8";
$PERM["wizards"]["*"]="D";
?> |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddRoleToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', functio... |
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="box box-danger">
<div class="box-header">
<h3 class="box-title">INGRESO DE ESTUDIANTES</... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddSlugToNewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('news', function ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Auth;
use App\Candidata;
class CandidataController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... |
<?php
namespace App\Controller\Admin;
use App\Entity\Certification;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
use EasyCorp\Bundle\EasyAdminBundle\Field\AssociationField;
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
use EasyC... |
<?php
namespace Fuel\Migrations;
class Create_followers
{
public function up()
{
\DBUtil::create_table('followers', array(
'id' => array('constraint' => 11, 'type' => 'int', 'auto_increment' => true, 'unsigned' => true),
'follower_id' => array('constraint' => 1, 'type' => 'int'),
'followed_id' => array('... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use backend\models\Log;
/**
* Login form
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
private $_user;
/**
* @inheritdoc
*/
public function rules()
{
return... |
<div class="main-content shop-page login-page">
<div class="container">
<div class="breadcrumbs">
<a href="#">Home</a> \ <span class="current"> Ingresar al Sistema</span>
</div>
<div class="login-register-form content-form row">
<div class="col-xs-12 col-sm-12 col-md-... |
@extends('layouts.dashboard')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="header">
<h4 class="title">202 Awesome Stroke Icons</h4>
... |
<?php
namespace Bolt\EventListener;
use Bolt\AccessControl\Permissions;
use Bolt\Config;
use Bolt\Events\HydrationEvent;
use Bolt\Events\StorageEvent;
use Bolt\Events\StorageEvents;
use Bolt\Exception\AccessControlException;
use Bolt\Logger\FlashLoggerInterface;
use Bolt\Storage\Database\Schema\Manager;
use Bolt\Stora... |
<?php
// src/Repository/EpisodeRepository;
namespace App\Repository;
use App\Entity\Episode;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @method Episode|null find($id, $lockMode = null, $lockVersion = null)
* @method Episode[] findAll()
... |
<?php
namespace andromeda;
use Illuminate\Database\Eloquent\Model;
/**
* Class Hojavida
*/
class Hojavida extends Model
{
protected $table = 'hojavida';
protected $primaryKey = 'idhv';
public $timestamps = false;
protected $fillable = [
'idhta',
'idprop',
'rutenc'
];
... |
<nav class="navbar navbar-expand-lg fixed-top">
<div class="container">
<a class="navbar-brand"
href="{{url('/')}}">
Система МФО
</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="... |
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* User
*
* @ORM\Table(name="user", uniqueConstraints={@ORM\UniqueConstraint(name="USERNAME_UNIQUE", columns={"USERNAME"}), @ORM\UniqueConstraint(name="EMAILADDRESS_UNIQUE", columns={"EMAILADDRESS"})}, indexes={@ORM\Index(name="userrole_fk_id... |
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class CreditorController extends Controller
{
} |
<?php
namespace Tina4;
/**
* Tina4 - This is not a 4ramework.
* Copy-right 2007 - current Tina4 (Andre van Zuydam)
* License: MIT https://opensource.org/licenses/MIT
*
* Class ORM
* A very simple ORM for reading and writing data to a database or just for a simple NO SQL solution
* @package Tina4
*/
class ORM i... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/8/9
* Time: 20:00
* Comment: 用户验证器
*/
namespace app\admin\validate;
class User extends BaseValidate {
//验证规则
protected $rule = [
'page_size' => 'number',
'jump_page' => 'number',
'id' => 'numb... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
<div class="card-body">
<form method="POST... |
<?php
namespace base\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to the controller routes in your routes file.
*
* In addition, it... |
<div class="row">
<!-- Earnings (Monthly) Card Example -->
<div class="col-xl-3 col-md-6 mb-4">
<div class="card border-left-primary shadow h-100 py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
... |
<?php
use Bitrix\Main\ModuleManager;
use Bitrix\Main\Localization\Loc;
Loc::loadMessages(__FILE__);
if ($APPLICATION->GetGroupRight('conversion') == 'D')
{
return false;
}
else
{
$menu = array(
array(
'parent_menu' => 'global_menu_marketing',
'section' => 'conversion',
'sort' => 100,
'text' => Loc::g... |
<?php
/**
* Copyright 2015 SongPhi
*
* 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... |
<!--Navigation-->
<header>
<!--Navbar-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<button id="toggle-menu" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Siswa extends Model
{
use HasFactory;
protected $fillable = [
'nis', 'nama', 'jk', 'tempat_lahir', 'tanggal_lahir', 'alamat', 'asal_sekolah', 'kelas', 'jurusan'
];
} |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArtistTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('artist', functio... |
@extends("layouts.plantilla")
@section("cabecera")
<h1>Contacto</h1>
@endsection
@section('infoGeneral')
<p>Esto es informacion general de la pagina</p>
@endsection
@section('pie')
Aqui iria el texto del pie
@endsection |
@props([
'error' => false,
'option' => false,
'field' => false,
'keyType' => false
])
@php
$classes = 'block w-full px-4 py-2 mt-2 text-gray-700 bg-white border
border-gray-300 bg-gray-100 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-600
foc... |
<?php
/*
* This file is part of invis1ble/ddd-es-cqrs-boilerplate.
*
* (c) Invis1ble <opensource.invis1ble@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Common\Shared\Infrastructur... |
@extends('admin.layout.template')
@section('content')
@if (session('status'))
<div class="alert alert-dismissible alert-success d-flex align-items-center" role="alert">
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:">
<use xlink:href="#... |
<?php
namespace sinri\XMindWriter\XMarker;
use sinri\XMindWriter\core\XMapNodeEntity;
use XMLWriter;
class XMarkerSheetEntity extends XMapNodeEntity
{
/**
* @var string (required) the version of this document, currently 2.0
*/
protected $attrVersion;
/**
* @var XMarkerGroupEntity[] [0,n)... |
<?php declare(strict_types=1);
namespace DaveRandom\LibLifxLan\DataTypes\Light;
use DaveRandom\LibLifxLan\Exceptions\InvalidValueException;
use function DaveRandom\LibLifxLan\validate_uint16;
use function DaveRandom\LibLifxLan\validate_uint32;
final class PowerTransition
{
private $level;
private $duration;
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are... |
@extends ('backend.layouts.master')
@section('page_title','Admin Dashboard')
@section('extra_css')
<!-- For Reports -->
{!! Charts::styles() !!}
@endsection
@section('main_content')
<div class="block-header">
@if(\Auth::user()->user_role == '1')
<h1 style=" font-size: 25px; ">Wel... |
<?php
/*
* @copyright Copyright (c) 2018 Ubiquiti Networks, Inc.
* @see https://www.ubnt.com/
*/
declare(strict_types=1);
namespace AppBundle\Controller;
use AppBundle\Component\Import\DataProvider\ClientImportPreviewDataProvider;
use AppBundle\Component\Import\Exception\ImportException;
use AppBundle\Component\I... |
<?php
namespace AdminBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\HttpFoundation\Response;
use AppBundle\Entity\Foto;
class AjaxController extends Controller
{
public function uploadPictureAction()
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
class TrialProduct extends Model
{
use Sortable;
protected $guarded=[];
public $sortable = ['id','name','created_at'];
use HasFactory;
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class VipAction extends Model
{
protected $table = 'vip_actions';
protected $fillable = ['cid','vip_id','pay','operator','operator_tel','type','payee','pay_date','memo','status','start_time','end_time','yy_job_num','yy_top','yy_down','user_... |
<?php
$cr = $this->session->userdata("create-package");
$ur = $this->session->userdata("update-package");
$dr = $this->session->userdata("delete-package");
$ct = "0";
if($ur == 1 || $dr == '1'){
$ct = 1;
}
?>
<div class="container-fluid">
<div class="row page-titles">
<div cl... |
<?php
namespace App\Http\Controllers;
use App\Models\Asset;
use Exception;
use Illuminate\Http\Request;
class AssetController extends Controller
{
public function show(Asset $asset) {
return response()->json($asset, 200);
}
public function search(Request $request) {
$request->validate([... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Report extends Model
{
//
protected $fillable =[
'shipping_id',
'name_report',
'field_report',
'evidence',
'name_spv',
'state',
'barcode',
'state_report'
];
protected $... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\search\FeedbackSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Feedbacks');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="feedback-index">
... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Phalcon\Test\Integration\Forms\Element\File;
... |
Добрый день!
<?= $content ?>
С Любовью и Светом Галактический Союз Сил Света.
Чтобы отписаться от рассылки воспользуйтесь ссылкой: {linkUnsubscribe} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Vacancy;
class PageController extends Controller
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function index(Request $request,$slug = null)
{
... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8"... |
<?php
/**
* Deep
*
* @package rsanchez\Deep
* @author Rob Sanchez <info@robsanchez.com>
*/
namespace rsanchez\Deep\Model;
use Illuminate\Database\Eloquent\Model;
/**
* Interface for field/col models
*/
abstract class AbstractProperty extends Model
{
/**
* Get the property short name (eg. ... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
//facebook
use SammyK\LaravelFacebookSdk\LaravelFacebookSdk;
use Facebook\Exceptions\FacebookSDKException;
//models
use App\User;
use App\Tool;
use App\Play;
//use DateTime;
class UserCon... |
<?php
/**
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation... |
<div class="dashboard-header">
<nav class="navbar navbar-expand-lg bg-white fixed-top">
<a class="navbar-brand" href="{{ route('user.dashboard') }}">{{ config('app.name') }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria... |
@extends('layouts.master')
@section('title','Sipariş Detayı')
@section('content')
<div class="container">
<div class="bg-content">
<a href="{{ route ('siparisler') }}" class="btn btn-xs btn-primary">
<i class="glyphicon glyphicon-arrow-left"></i> Siparişlere Dön
</a>
... |
<?php
namespace Psalm\Type\Atomic;
use Psalm\Codebase;
use Psalm\Internal\Type\TemplateResult;
use Psalm\Type\Union;
class TConditional extends \Psalm\Type\Atomic
{
/**
* @var string
*/
public $param_name;
/**
* @var string
*/
public $defining_class;
/**
* @var Union
... |
@extends('layouts.midone')
@section('titlepage','Laporan Tabungan')
@section('content')
<div class="content-wrapper">
<div class="content-header row">
<div class="content-header-left col-md-9 col-12 mb-2">
<div class="row breadcrumbs-top">
<div class="col-12">
... |
<?php
namespace App\Imports;
use App\Models\tareaModel;
use Maatwebsite\Excel\Concerns\ToModel;
use Maatwebsite\Excel\Concerns\Importable;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Maatwebsite\Excel\Imports\HeadingRowFormatter;
use Maatwebsite\Excel\Concerns\WithBatchInserts; /*limita la cantidad de consult... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="styleshe... |
@extends('layouts.master')
@section('content')
<div class="container">
<h1 style="margin: 0 30px;">All Products</h1>
<div class="col-md-12">
<div class="row">
@foreach($products as $product)
<div class="card col-3" style="width: 18rem;margin: 30px; padding: 25px;">
... |
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php
echo link_tag('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css');
echo link_tag('https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.... |
<?php
session_start();
if(isset($_POST['submit'])){
include_once("db.php");
$username = strip_tags($_POST['username']);
$firstname=strip_tags($_POST['firstname']);
$lastname=strip_tags($_POST['lastname']);
$email=strip_tags($_POST['email']);
$password=strip_tags($_POST['password']);
$password_c... |
<?php
class Pegawai_model extends CI_Model {
public function __construct() {
parent::__construct();
//$this->load->model('log_model');
}
// function showData($where){
// $tglSelesai = date('Y-m-d');
// $queryPegawai = $this->db->query("
// select
// m.id as id_pegawai,m.nama, m.nip,
// m_stat... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Phd Topic : Intrusion Detection in Clould Environment - A Multiple Threshold Algorithmic Approach </title>
<style type="text/css">
::selection { background-color: #E13300;... |
<?php
class Gsm extends CI_Controller{
public function __construct(){
parent::__construct();
}
public function settings(){
header('Content-Type: application/json');
$query = $this->db_select->gsm_settings();
$gsm = $query->row_array();
echo json_encode($gsm);
}
public function ... |
<?php
namespace NFePHP\NFSe\Models\ETransparencia;
/**
* Classe para a comunicação com os webservices
* conforme o modelo ETransparencia
*
* @category NFePHP
* @package NFePHP\NFSe\Models\ETransparencia\Tools
* @copyright NFePHP Copyright (c) 2016
* @license http://www.gnu.org/licenses/lgpl.txt LGPLv3+
*... |
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{{asset('').Auth::user()->image}}" class="img-circle" alt="{{ Auth::user()->first... |
<?php
// 以json方式返回翻页列表与车辆缴费月份列表
session_start();
include_once('../conn/DBMgr.php');
$conn = Connect();
// 当前session显示已登录,更新session以验证
if (isset($_SESSION['Online']) && $_SESSION['Online'] == 1)
{
$UserInfo = GetUser($conn, $_SESSION['UserID']);
$_SESSION['UID'] = $UserInfo['@UID'];
$_SESSION['TEL'] = $User... |
<?php
/* @var $this yii\web\View */
use kartik\widgets\ActiveForm;
use kartik\widgets\Select2;
use kartik\widgets\DepDrop;
use yii\helpers\Url;
use yii\helpers\Html;
$this->title = 'New Restaurant Location';
?>
<div class="container">
<div class="jumbotron">
<h2><?= Yii::t('m-restaurant',"Enter Your Rest... |
<?php
use yii\helpers\Html;
use common\components\maintenance\assets\MaintenanceAsset;
MaintenanceAsset::register($this);
$this->title = Yii::$app->name . ' - maintenance';
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>">
... |
<?php
namespace AppBundle\Entity;
use ApiPlatform\Core\Annotation\ApiFilter;
use ApiPlatform\Core\Annotation\ApiResource;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter;
use Doctrine\ORM\Mapping as ORM;
/**
* @ApiResource(
* collectionOpe... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRolesTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function (B... |
<?php
namespace App\Http\Controllers;
use App\Board;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class BoardsController extends Controller
{
public function upBoard(Request $request)
{
$board = Board::where('user_id', '=', $request->u_id)->where('id', '=', $request->b_id)->first... |
<?php
/*
* This file is part of the GenemuFormBundle package.
*
* (c) Olivier Chauvel <olivier@generation-multiple.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SymfonyHackers\Bundle\FormBundle\Form\JQuery\Type;
... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class MainPageC extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->helper('url');
// $this->load->library('email');
//
// $config = array();
// $config[... |
<?php
namespace app\widgets;
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\bootstrap\InputWidget;
use app\assets\TimePickerAsset;
/**
* Widget for timepicker
*
* @author Hendi Andriansah <coldweaker@gmail.com>
*/
class TimePicker extends InputWidget
{
/**
* @inheritdoc
*/
public fu... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Friendship extends Model
{
public $table = 'friendships';
public $timestamps = false;
public $guarded = [];
// public function friendships(){
//return $this->belongsToMany('App\User','friendships','friend_id','user_id');
//}
} |
<div class="modules<?php e($field->readonly(), ' modules-readonly') ?>"
data-field="modules"
data-options='<?php echo $field->data(); ?>'
data-api="<?php __($field->origin()->url('subpages')); ?>"
data-style="<?php echo $field->style(); ?>">
<?php if(!$field->pages()->count()): ?>
<div class="modules-em... |
<div class="main-content">
<div class="section__content section__content--p30">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-md-12">
<?=$this->session->flashdata('pesan')?>
<div class="col-lg-12">
<div class="card">... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class CategoryResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
require("/var/www/html/pattern/Controller/loggerSystem/levelLogger.php");
final class loggerSingleton
{
private static $instances= null;
private static $levelMin;
private static $runBy;
private static $logFile = "/var/www/html/pattern/log.txt";
private function __construct()
{
... |
@extends('layouts.app')
@section('content')
<div class="container">
<a href="{{ route('view_create_course_category') }}" class="btn btn-primary">Add</a>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Transactions<... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class RegistroAlimenticio extends Model
{
use HasFactory;
protected $table='tbl_registro_alimenticio';
protected $fillable = [
'regali_date',
'regali_state',
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
class LoginController extends Controller
{
public function postlogin (request $request){
// dd($request->all());
if (Auth::attempt($request->only('email','password'))){
return redirect('validator');
}
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\search\productSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="product-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'opt... |
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-2 text-center">
<div class="client-header-img">
<img src="{{ ($client->filename != null)? url($client->shelf_location.$client->filename) : asset('assets/img/d... |
<?php
declare(strict_types=1);
namespace MsgPhp\Domain\Projection;
/**
* @author Roland Franssen <franssen.roland@gmail.com>
*/
interface ProjectionTypeRegistry
{
/**
* @return string[]
*/
public function all(): array;
public function initialize(): void;
public function destroy(): void;... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePaymentWithPaypalTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payme... |
<?php
namespace onservice\services\database\mongo;
class Document{
private $db = null;
private $name = null;
private $collection = null;
private $suffix = '_jdoc';
function __construct($db,$name,$collection){
$this->db = $db;
$this->name = $name;
$this->collection = $collection;
$this->collectionName = ... |
<!-- Plugins JS File -->
<script src="{{asset('Frontend2/assets/js/jquery.min.js')}}"></script>
<script src="{{asset('Frontend2/assets/js/bootstrap.bundle.min.js')}}"></script>
<script src="{{asset('Frontend2/assets/js/plugins.min.js')}}"></script>
@stack('library-js')
<!-- Main JS File -->
<script src="{{asset('Fronte... |
<?php
/**
* Created by PhpStorm.
* User: lyabs
* Date: 07/09/2019
* Time: 21:29
*/
$lang =
array
(
'AFCON' => 'Coupe d\'Afrique des Nations',
'CAF CL' => 'Ligue des Champions de la CAF',
'CAF CC' => 'Coupe de la Confederation',
); |
<?php
namespace SilverStripe\Versioned\Tests;
use SilverStripe\Dev\SapphireTest;
use SilverStripe\ORM\FieldType\DBDatetime;
use SilverStripe\Versioned\Tests\UnstagedStagedRelationTest\StagedObject;
use SilverStripe\Versioned\Tests\UnstagedStagedRelationTest\UnstagedObject;
use SilverStripe\Versioned\Tests\UnstagedSta... |
@extends('layouts.app')
@section('content')
<div class="flex justify-center">
<div class="w-4/12 bg-white p-6 rounded-lg">
@if (session('status'))
<div class="bg-red-500 p-4 rouded-lg mb-6 text-white text-center">
{{ session('status') }}
</div... |
<?php
$dosya= "../vt.php";
ob_start();
if (file_exists($dosya))
{
header("Location:../index.php");
exit();
ob_end_flush();
}?>
<br><br><center><h1>Site Kurulum Sihirbazına Hoşgeldiniz</h1><br>
<h3>Lütfen kuruluma başlamadan önce bir mysql veritabanı oluşturunuz..</h3>... |
<?php
/*
* This file is part of the Integrated package.
*
* (c) e-Active B.V. <integrated@e-active.nl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Integrated\Tests\Common\Solr\Fixtures;
use Doctrine\Common\Collecti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.