text
stringlengths
2
1.03M
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\JurnalTransaksiSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="jurnal-transaksi-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get'...
<?php /** * Copyright (c) 2013-2016, The GynPHP Framework Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; class PagesController extends Controller { public function online(){ $users = User::paginate(20); return view('pages.online')->with('users',$users); } public function profile(){ return view('pages.p...
@extends('layouts.app') @section('content') <div class="columns p-2"> <div class="column"> <div class="pt-2"> <h1 class="is-size-2">{{ trans_choice($category->name, 2) }}</h1> <form class="form" method="GET"> <div class="field is-horizontal"> ...
<?php namespace App\Http\Controllers; use App\Bonus; use App\Deduction; use App\Loan; use App\Payroll; use App\SalaryPayment; use App\User; use App\SalaryPaymentDetails; use DB; use Illuminate\Http\Request; use PDF; class SalaryPaymentController extends Controller { /** * Display a listing of the resource. ...
<?php exit;?>a:1:{s:5:"class";a:1:{i:0;s:46:"KoubeiMarketingDataCustomtagDetailQueryRequest";}}
dsauddaskjadadkadsasdadsk
@extends('layouts.masterFinanzas') @section('content') <!-- box --> <div id="vue-app" class="box box-solid box-default"> <!-- box-header --> <div class="box-header text-center"> <h4>Plan de Produccion</h4> </div> <!-- /box-header --> <!-- box-body --> <div class="box-body"> <form id="downloadPDF" ...
<?php namespace App\Http\Controllers\Contributors; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; use Validator; use App\Models\Member; use App\Models\Contributor; use App\Models\Lesson; use App\Models\Bootcamp; use App\Models\Category; use App\Models\Video; use...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\PartyTheme */ $this->title = 'Create Party Theme'; $this->params['breadcrumbs'][] = ['label' => 'Party Themes', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="party-theme-create"> <h1><?= ...
<?php namespace Tests\Unit; use Phluent\DB; use PDOStatement; class DBTest extends \PHPUnit\Framework\TestCase { protected $config = [ 'driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '', 'database' => 'phluent_test', 'username' => 'travis', 'password' => '',...
<?php namespace frontend\components; use yii\rbac\Rule; use common\models\Articles; use Yii; class AuthorRule extends Rule { public $name = 'isAuthor'; public function execute($user, $item, $params) { return isset($params['post']) ? false : false; // return isset($params['article']) ? $...
<div class="box-header with-border"> <h3 class="box-title">Ubah Password</h3> </div> <form action="<?php echo base_url(); ?>login/submit_ganti_password/<?php echo $this->session->userdata('id_username') ?>" method="post" enctype="multipart/form-data" role="form"> <div class="box-body"> <?php if ($this->se...
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. */ declare(strict_types=1); namespace Respect\Validation\Exceptions; use...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
@extends('layout') @section('content') {{--<h1>Posts @can('isAdmin')<a href="{{ url('posts/create') }}" class="btn btn-primary pull-right btn-sm">Add New Post</a>@endcan</h1>--}} {{--<div class="table">--}} {{--<table class="table table-bordered table-striped table-hover">--}} {{--<thead>-...
<?php namespace App\Http\Resources\Review; use Illuminate\Http\Resources\Json\JsonResource; class ReviewResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <h1>{{$varn...
<?php return array( /* |-------------------------------------------------------------------------- | PDO Fetch Style |-------------------------------------------------------------------------- | | By default, database results will be returned as instances of the PHP ...
<?php use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ 'name' => 'Admin', 'email' => 'admin@gmail.com', 'password' => Hash::m...
<?php class DummyConfig { private static $config = [ 'google-calendar.redirect' => 'http://example.com', 'google-calendar.scopes' => [ 'abcd', 'efgh' ], 'google-calendar.events.token_refreshed' => '', 'google-calendar.holiday_id' => 'holiday_id', 'app.tim...
<?php require_once 'db.php'; if ($_SERVER['REQUEST_METHOD']=='POST') { $cont = mysqli_real_escape_string($con, $_POST['content']); $title = mysqli_real_escape_string($con, $_POST['title']); if (mysqli_query($con, "INSERT INTO post (`user_id`, `title`, `content`) VALUE ('$_SESSION[id]', '$ti...
@extends('Backend.template.layout'); @section('main-content') <div class="row mg-b-20"> <div class="col-md"> <div class="card card-body"> <!-- Category Table Start --> <table id="myTable" class="table table-striped"> <thead class="thead-dark"> <tr> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEventTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('events', function...
<?php namespace Laravel\Modules\Tests\Commands; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Str; use Laravel\Modules\Tests\BaseTestCase; use Spatie\Snapshots\MatchesSnapshots; class ModuleMakeCommandTest extends BaseTestCase { use MatchesSnapshots; /** * @var \Illuminate\Filesystem\Fi...
<?php /** * Invoice Ninja (https://invoiceninja.com). * * @link https://github.com/invoiceninja/invoiceninja source repository * * @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com) * * @license https://opensource.org/licenses/AAL */ namespace App\Http\Livewire; use App\Libraries\Mul...
<?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 include "conn.php"; if (isset($_GET['sid'])) { $sid = $_GET['sid']; //接收前端传入的sid $result = $conn->query("select * from xmgoods where sid=$sid"); echo json_encode($result->fetch_assoc()); }
@extends('frontend.layouts.default') @section('content') <div class="container"> <div class="row register mt_15"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-body"> <div class="col-md-8 col-md-offset-2"> <div class="login_logo"> ...
<?php namespace zitaraventas; use Illuminate\Database\Eloquent\Model; class Salida extends Model { protected $fillable = ['monto','destino','descripcion','estado']; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Teamrisk extends Model { use HasFactory; public function users() { return $this->belongsToMany(User::class, 'users_teamrisks'); } public function mainrisks()...
<!-- START CONTENT --> <div id="content"> <ul class="page-nav fl"> <li><?=$html->link('Состояние',array('action'=>'mailinfo')); ?></li> <li><?=$html->link('Добавить ссылки',array('action'=>'add')); ?></li> <li><?=$html->link('Добавить домены',array('action'=>'add_domens')); ?></li> <li><?=$html->link('До...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'MC4WP_API' => $baseDir . '/includes/api/class-api.php', 'MC4WP_API_Connection_Exception' => $baseDir . '/includes/api/class-connection-exception.php', 'MC4WP_API_E...
<?php $__env->startSection('content'); ?> <form class="form-signin" role="form" method="POST" action="" onsubmit="patientLogin(this); return false;"> <?php echo e(csrf_field()); ?> <div class="text-center"> <img class="mb-4" src="<?php echo e(asset('images/logo.svg')); ?>" alt="logo" width="94"> <...
<?php namespace App\Http\Resources\Withdrawal; use Illuminate\Http\Resources\Json\JsonResource; class WithdrawalResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($reque...
<title>Pixis</title> <!-- Meta --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- CSS --> <link rel="stylesheet" href="<?= base_url('assets/plugins/bootstrap/dist/css/bootstrap.min.css') ?>"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-...
<?php /** * User: Parag Mehta<parag@paragm.com> * Date: 2/27/12 * Time: 7:27 AM * This file is created by www.thesslstore.com for your use. You are free to change the file as per your needs. */ include_once "abstractions.php"; class csr_response extends baseresponse { public $DomainName; public $DNSNames...
<?php namespace App\Models\CourtAdmin; use Illuminate\Database\Eloquent\Factories\HasFactory; class CourtAdmin extends User { use HasFactory; protected $table = "court_admins"; }
<?php Route::get('/', function () { return view('login'); }); Auth::routes(); // Route::get('/home', 'HomeController@index'); Route::group(['middleware' => 'auth'], function () { // Route::get('/home', 'HomeController@index'); Route::get('/home', 'SitesController@index'); Route::get('/dashboard', 'SitesCon...
<?php /* @EasyAdmin/default/includes/_select2_widget.html.twig */ class __TwigTemplate_89f4c9db3e67e3bf9cd2715d7a83d90107b1d794e75a2996726a0cb1abc39b2c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this-...
@extends('layouts.app') @section('content') <div class="container"> @if (session('message')) <div class="alert alert-success" role="alert"> {{ session('message') }} </div> @endif <div class="card"> <div class="card-header"> <h3 style="float: left">Edit task #{{ $task->id...
<?php namespace App\Http\Requests\Admin; use App\Http\Requests\Request; class CourseUpdateRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the vali...
<?php declare(strict_types=1); namespace hiqdev\billing\hiapi\feature; use hiqdev\billing\hiapi\target\TargetAttribution; use hiqdev\billing\hiapi\type\TypeAttribution; use hiqdev\DataMapper\Attribute\DateTimeAttribute; use hiqdev\DataMapper\Attribute\IntegerAttribute; use hiqdev\DataMapper\Attribution\AbstractAttrib...
<section class="tables"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12" style="margin: 0 auto"> <div class="card"> <div class="card-close d-flex align-items-center"> </div> ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\Tiponovedad */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="tiponovedad-form"> <?php $form = ActiveForm::begin([ 'id' => 'contrato-form', 'enableAjaxValidation' => true...
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:97:"E:\PHPTutorial\WWW\jjzs\jjzs\public/../application/admin\view\Statistics\goods_index_details.html";i:1569471018;s:78:"E:\PHPTutorial\WWW\jjzs\jjzs\public/../application/admin\view\Public\base.html";i:1563256854;}*/ ?> <!DOCTYPE html> <html lang="en"> <head> <m...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Detail_Notice extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Newszone extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('user_model','',TRUE); $this->load->library('form_validation'); $this->load->library('image_lib...
<?php namespace quiniela\Http\Requests; use quiniela\Http\Requests\Request; class Pronosticorequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the va...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $current="contactos"; if (!isset($this->session->userdata['logged_in'])) { header("Location: login"); } ?>
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Comments use Auth; class AjaxController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * S...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\ordersSE */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Đơn đặt hàng'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="orders-index"> <div class="panel panel-...
<?php /** * tpshop * ============================================================================ * 版权所有 2015-2027 聊城博商网络科技有限公司,并保留所有权利。 * 网站地址: http://www.boshang3710.com * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 . * 不允许对程序代码以任何形式任何目的的...
<?php // comment out the following two lines when deployed to production defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); require(__DIR__ . '/../vendor/autoload.php'); require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php'); require(__DIR__ . '/../config/functions.php');...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use backend\components\RouteRule; use backend\AutocompleteAsset; use yii\helpers\Json; /* @var $this yii\web\View */ /* @var $model backend\models\AuthItem */ /* @var $form yii\widgets\ActiveForm */ /* @var $context backend\components\ItemController */ $context...
<?php namespace Charcoal\Tests\Ui; // From Pimple use Pimple\Container; // From 'charcoal-ui' use Charcoal\Tests\Ui\ContainerProvider; /** * Integrates Charcoal's service container into PHPUnit. * * Ensures Charcoal framework is set-up for each test. */ trait ContainerIntegrationTrait { /** * @var Cont...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use common\models\User; /* @var $this yii\web\View */ /* @var $model common\models\User */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class=""> ...
@extends('master') @section('page') <div class="container"> <!--alert message--> @if(session()->has('message')) <p class="alert alert-success">{{session()->get('message')}}</p> @endif @if($errors->any()) @foreach($errors->all() as $er) <p class="alert alert-danger">{{$er}}</p> @endforeach @endi...
<?php namespace App\Http\Controllers; use App\Models\Post; use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class PostController extends Controller { public function index() { $posts= Post::latest()->paginate(5); return view('post.index', ['posts' =>...
<?php use App\Http\Controllers\ExpenseController; use App\Http\Controllers\BranchExpenseController; use App\Http\Controllers\BranchController; use App\Http\Controllers\BusController; use App\Http\Controllers\BusExpenseController; use Illuminate\Support\Facades\Route; /* |----------------------------------------------...
<?php namespace Obblm\Core\Helper\Rule\Config; class ConfigTreeResolver extends ConfigResolver { public function __construct(ConfigTreeInterface $configuration) { parent::__construct($configuration); } }
<?php class Emarsys_Suite2_Model_Resource_Queue extends Mage_Core_Model_Resource_Db_Abstract { /** * @inheritdoc */ protected function _construct() { $this->_init('emarsys_suite2/queue', 'id'); } /** * Loads by entity * * @param mixed $ent...
@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-body"> <h3 class="card-title text-center font-weight-bold">{{ __('Reset Password') }}</h3> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class message extends Model { protected $fillable = ['id','user_from','user_to','user_read','text']; protected $primaryKey = 'id'; public function fromContact() { return $this->hasOne(User::class, 'id', 'user_from'); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Transaccion extends Model { use HasFactory; protected $fillable = [ 'cantidad', 'producto_id', 'comprador_id', 'estado' ]; }
<?php namespace App\Http\Controllers\index; include "../app/Tools/phpqrcode.php"; use App\Http\Controllers\Controller; use App\model\Book; use Illuminate\Http\Request; use App\model\User; use phpDocumentor\Reflection\Location; use QRcode; class LoginController extends Controller { //用户手机号登录显示页面 public func...
<?php namespace Psr\Log\Test; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use PHPUnit\Framework\TestCase; /** * Provides a base test class for ensuring compliance with the LoggerInterface. * * Implementors can extend the class and implement abstract methods to run this * as part of their test suite. */...
<?php use Illuminate\Database\Seeder; class FleetListsTableSeeder extends Seeder { public function run() { // Uncomment the below to wipe the table clean before populating DB::table('fleet_lists')->delete(); $fleet_lists = array( ['id' => 1, 'name' => 'List 1', 'description' ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\PerfilesPuesto */ $this->title = 'Crear Perfiles Puesto'; $this->params['breadcrumbs'][] = ['label' => 'Perfiles Puestos', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="perfiles-puesto-create fo...
<footer class="text-center mt-5"> <div class="inner"> <p>&copy; Nirmesh Rastogi 2019</p> </div> </footer>
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <title>{{$page->meta_title}}</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content="{{$page->meta_keywords}}"> <meta name="description" content="{{$page->meta_descript...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; /** * Class PlaneTicket * * @property int $id * @property int $user_id * @property Carbon $date * @property string $departure_city * @property string $arrival_city * @property string|null $description * @property string $...
<?php /* @var $form yii\widgets\ActiveForm */ /* @var $this yii\web\View */ /* @var $model \common\models\News */ /* @var $pages array */ use backend\assets\ICheckAssets; use yii\helpers\Html; use yii\bootstrap\ActiveForm; ICheckAssets::register($this); ?> <div class="card card-primary"> <?php $form = ActiveFor...
<?php return [ 'id' => 'app-backend-tests', 'components' => [ 'assetManager' => [ 'basePath' => __DIR__ . '/../web/assets', ], 'urlManager' => [ 'showScriptName' => true, ], 'request' => [ 'cookieValidationKey' => 'test', ] ...
@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">{{ __('Admin Login') }}</div> <div class="card-body"> <form method...
<?php namespace openbay; class Amazonus { private $token; private $enc1; private $enc2; private $url = 'http://us-amazon.openbaypro.com/'; private $registry; public function __construct($registry) { $this->registry = $registry; $this->token = $this->config->get('openbay_amazonus_token'); $this->enc1 = $t...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php namespace Tests\Unit; use App\Services\Slack\SlashCommandValidator; use Tests\TestCase; class SlashValidatorTest extends TestCase { protected function assertPositiveValidation($message) { $this->assertTrue(SlashCommandValidator::check($message)); } protected function assertFalseValida...
<?php /** * Copyright 2017 ID&Trust, Ltd. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary form * for use in connection with the web services and APIs provided by ID&Trust. * * As with any software that integ...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
@extends('layouts.app.app') @section('content') <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>{{__('lang.statusacc')}}</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> ...
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:61:"E:\test\blog\public/../application/home\view\index\index.html";i:1510924881;s:62:"E:\test\blog\public/../application/home\view\index\header.html";i:1510916023;s:62:"E:\test\blog\public/../application/home\view\index\footer.html";i:1510924752;}*/ ?> <!DOCTYPE html> ...
@extends('layouts.app') @section('title', 'Group List') @section('content') <div class="text-center animated fadeInDown white-bg p-h-m"> @include('errors.errors') <div class="panel panel-success m-t"> <div class="panel-heading text-left"> <h3><i class="fa fa-list"></i> Group list</h3> <a class="btn btn-...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Vod\V20170321\Models\GetMediaAuditResultResponseBody\mediaAuditResult\videoResult; use AlibabaCloud\SDK\Vod\V20170321\Models\GetMediaAuditResultResponseBody\mediaAuditResult\videoResult\terrorismResult\counterList; use AlibabaClo...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/Wechat for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespa...
<?php /** * Created by IntelliJ IDEA. * User: e074820 * Date: 05/04/2018 * Time: 16:17 */ namespace BHAA\core\league; use BHAA\core\Mustache; use Mustache_LambdaHelper; class LeagueShortcode { function __construct() { add_shortcode('bhaa_league',array($this,'bhaa_league_shortcode')); add_sh...
<?php declare(strict_types=1); /* * This file has been auto generated by Jane, * * Do no edit it directly. */ namespace JoliCode\Slack\Api\Endpoint; class ChannelsReplies extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Jane\OpenApiRuntime\Client\Psr7Endpoint { /** * Retrieve a thread of me...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class MedicacionPacienteController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for cre...
<?php namespace app\controllers\global; use app\classes\messages\Message; use app\models\Delete; use app\models\Insert; use app\models\Select; class Contact { public array $data = []; public string $template = 'global/template.php'; public string $view = 'global/contact.php'; public function index(...
<?php namespace AppBundle\Repository; /** * CompanyRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class CompanyRepository extends \Doctrine\ORM\EntityRepository { public function getInfo() { return $this->createQueryBuilder('C') ...
<?php /** * */ class Users extends CI_Controller{ public function register() { //Validation Rules $this->form_validation->set_rules('first_name','First Name', 'trim|required'); $this->form_validation->set_rules('last_name','Last Name', 'trim|required'); $this->form_validation->set_rules('email...
<?php use App\Http\Controllers\Api\CategoryController; use App\Http\Controllers\Api\LoginController; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\Api\ProductController; /* |-------------------------------------------------------------------------- | API Routes |---------...
<?php /* * Copyright 2012 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
<!-- BEGIN SIDEBAR --> <div class="page-sidebar nav-collapse collapse"> <!-- BEGIN SIDEBAR MENU --> <ul class="page-sidebar-menu"> <li> <!-- BEGIN SIDEBAR TOGGLER BUTTON --> <div class="sidebar-toggler hidden-phone"></div> <!-- BEGIN SIDEBAR TOGGLER BUTTON --> ...
<?php declare(strict_types=1); /** * @copyright Copyright (c) Ares (https://www.ares.to) * * @see LICENSE (MIT) */ namespace Ares\Messenger\Entity; use Ares\Framework\Exception\DataObjectManagerException; use Ares\Framework\Model\DataObject; use Ares\Messenger\Entity\Contract\MessengerFriendshipInterface; use Are...
<?php session_start(); if (!isset($_SESSION['logged']) or (isset($_SESSION['logged']) and $_SESSION['logged'] == false)) { $_SESSION["logged"] = false; echo "<script> window.location.replace('index.php')</script>"; } $servername = "localhost"; $username = "root"; $password = ""; $dbname = "kino"; ?> <!DOCTYPE...
<?php namespace Nightowl\Weather; use GuzzleHttp\Client; use Nightowl\Weather\Exceptions\HttpException; use Nightowl\Weather\Exceptions\InvalidArgumentException; class Weather { protected $key; protected $guzzleOptions = []; public function __construct(string $key) { $this->key = $key; } ...
<?php namespace Flagship\Assets { class Curl { public static $curlResource = []; public static $response = ''; public static $curlErrorCode = 0; public static $errorMessage = ''; public static $curlHttpCodeInfo = ''; public static $extension = true; publi...
<?php /** * .english.php * * @package Topic Rating Bar * @author Bugo https://dragomano.ru/mods/topic-rating-bar */ $txt['tr_title'] = 'Topic Rating Bar'; $txt['tr_rating'] = 'Topic rating:'; $txt['tr_top_stat'] = 'The common popularity stats'; $txt['tr_top_topics'] = 'The most popular topics'...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Subject extends Model { protected $table = 'subject'; protected $fillable = [ 'name' ]; }