text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Artist;
use App\Song;
class ShareController extends Controller
{
public function index($id)
{
$artist = Artist::find($id);
return view('share/index', compact('artist'));
}
public function result(Request $r... |
<?php
/*
* $Id: CopyTask.php 235 2007-09-05 18:42:02Z hans $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. I... |
<?php
namespace Postbuffer\Channels\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the package.
*
* @var arra... |
@extends('adminlte::layouts.app')
@section('main-content')
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-2">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Form Tambah Data Pener... |
<?php
namespace Spinen\ConnectWise\Models\v2018_5\System;
use Carbon\Carbon;
use Spinen\ConnectWise\Support\Model;
/**
* Class SsoConfiguration Version v2018_5
*
* Model for SsoConfiguration
*
* @property Carbon $samlCertificateValidFrom
* @property Carbon $samlCertificateValidTo
* @property Metadata $_info
... |
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class Group_Control_Box_Shadow extends Group_Control_Base {
protected static $fields;
public static function get_type() {
return 'box-shadow';
}
protected function init_fields() {
$controls = [];
$controls['box_s... |
<?php
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Language\Text;
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
$input = Factory::getApplication()->input;
?>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" width="100%">
<?php //onsubmit="if (this.... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class War extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return p... |
<style type="text/css">
body{
padding-top: 50px;
}
.first{
}
/* .sliderWrapper {
max-width: 100%;
overflow: hidden;
position: relative;
margin: 10px auto;
border: 5px solid #fff;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.15),0 2px 10px 0 rgba(0,0,0,0.11);
}
h1 { margin:150px auto 50px au... |
<?php
namespace TLDInfo\Serialization;
class SerializeData extends \BaseController implements \JsonSerializable{
public function __construct(array $array) {
$this->array = $array;
}
public function jsonSerialize() {
return $this->array;
}
/* need to move this out */
public function updateDbFromJson($json... |
<? ob_start(); ?>
<?php
session_start();
include "include/z_db.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ">
<SCRIP... |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php namespace Linshunwei\QRCodeReader;
use Linshunwei\QRCodeReader\Lib\QrReader;
class QRCodeReader
{
/**
* @param $path_to_image
* @return bool|string decoded text from QR Code
*/
public function decode($path_to_image)
{
$qrcode = new QrReader($path_to_image);
$text = $... |
<?php
/**
* @package dompdf
* @link http://dompdf.github.com/
* @author Benj Carson <benjcarson@digitaljunkies.ca>
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
*/
namespace Dompdf\Frame;
use Dompdf\Css\Style;
use Dompdf\Dompdf;
use Dompdf\Exception;
use Dompdf\Frame;
us... |
<?php declare(strict_types=1);
namespace Pmc\Commands\PHP;
/**
* Zend constants
*/
class Zend
{
const FRAMEWORK_PACKAGE = 'zendframework/zendframework';
const MVC_PACKAGE = 'zendframework/zend-mvc';
} |
<!-- Main Footer -->
<footer class="main-footer">
<!-- To the right -->
<div class="pull-right hidden-xs">
Vitee W.L.L
</div>
<!-- Default to the left -->
<strong>Copyright © {{ Carbon\Carbon::now()->year }} <a href="#">Vitee</a>.</strong> All rights reserved.
</footer> |
<?php namespace Emporium;
/**
* Eloquent class to describe the plu_store_label table
*
* automatically generated by ModelGenerator.php
*/
class PluStoreLabel extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'plu_store_label';
public $primaryKey = '';
public $timestamps = false;
p... |
<!DOCTYPE html>
<html>
<head>
<title>Manage Online Payment Order's - My Shop</title>
<!--CSS FILE INCLUDE --->
<?php $this->load->View('Home/css_file.php'); ?>
<!--CSS FILE INCLUDE --->
<style type="text/css">
body{background: #ffebe5}
.btn-flat:hover{background: #13124e;color: white}
.action_dropdown l... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="author" content="Kodinger">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Forgot password</title>
<link rel="stylesheet" href="<?php echo e(asset('bootstrap/css/bootstrap.css')); ?>">
<link rel="stylesheet" typ... |
<?php
class Login_model extends CI_Model{
function __construct() {
parent::__construct();
}
public function email_exits($email){
$sql="SELECT user_name, email_id FROM registration where email_id ='{$email}' LIMIT 1";
$result=$this->db->query($sql);
$row=$result->row();
... |
<?php
namespace Stayallive\ServerlessWebSockets\Http\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
abstract class Middleware implemen... |
<?php
namespace Container3bInxFR;
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 getSessionService extends App_Ke... |
<?php
return [
'app' => [
'title' => 'Hệ thống',
'desc' => '',
'icon' => 'm-menu__link-icon flaticon-settings',
'class' => 'active show',
'elements' => [
[
'label' => 'Tiêu đề trang', // you know what label it is
'name' => 'app_t... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Faker\Generator as Faker;
use Illuminate\Support\Str;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Thi... |
<?php namespace App\Http\Requests;
use App\Http\Requests\Request;
class MemberRequest extends Request {
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
*... |
<?php
namespace Pablodip\Behat\SymfonyContainerContext\Test\Behat\ContainerExtension;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
class WithConfigRequiredExtension extends Exten... |
<?php
namespace app\index\controller;
use think\Controller;
class Login extends Controller{
public function index(){
if(request()->isPost()){
$row=db('user')->where('uname',input('uname'))->find();
if($row){
if($row['upwd']==md5(input('upwd'))){
... |
@extends('ws-app')
@section('content')
<div class="col-md-8">
@foreach($gallery as $gallery_item)
<div class="panel panel-default wow fadeInDown">
<div class="panel-heading">{{$gallery_item->getTranslate('title')}}</div>
<div class="panel-body">
... |
<?php
use src\models\Store\Tag;
use yii\grid\ActionColumn;
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\forms\Store\TagSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Tags';
$this->params['breadcrumbs'][] = $this->title;
?>
<di... |
<?php
namespace backend\modules\sys\controllers;
use backend\controllers\BaseController;
use dosamigos\qrcode\formats\MeCard;
use dosamigos\qrcode\QrCode;
use Yii;
use backend\modules\sys\models\Member;
use backend\modules\sys\models\search\MemberSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use ... |
<?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
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tbl_my_employment extends Model
{
public $timestamps=false;
protected $table='tbl_my_employment';
} |
<?php
/**
* This is NOT a freeware, use is subject to license terms
* @copyright Copyright (c) 2010-2099 Jinan Larva Information Technology Co., Ltd.
* @link http://www.larva.com.cn/
* @license http://www.larva.com.cn/license/
*/
namespace TencentCloudCMQ\Model;
use TencentCloudCMQ\Traits\MessagePropertiesForRec... |
<?php include('_header.php'); ?>
<!-- show registration form, but only if we didn't submit already -->
<?php if (!$registration->registration_successful && !$registration->verification_successful) { ?>
<form method="post" action="register.php" name="registerform">
<label for="user_name"><?php echo WORDING_REGISTRA... |
<header id="header">
<div class="info wow fadeIn" data-wow-duration="1s" data-wow-delay=".2s">
<div class="width-wrapper">
<h1>
<a href="index.html">
<span class="wrapper"><i class="fa fa-car"></i><strong>Car</strong>Sell</span>
</a>
</h1>
<div class="authorization-bloc... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CommentPost extends Model
{
} |
<?php
namespace App\Jobs;
use App\Models\Project;
use Illuminate\Bus\Queueable;
use Illuminate\Bus\Batchable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
class ProjectCsvProcess
{
use ... |
@extends('dashboard.base')
@section('css')
<link href="{{ asset('css/dataTables.bootstrap4.css') }}" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
@endsection
@livewireStyles()
@section('content')
@livewire('api-call')
@endsecti... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Products */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="products-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
... |
<?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\Mail\Phone;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class ForgetPassword extends Mailable
{
use Queueable, SerializesModels;
public $user;
/**
* Create a new message instance.... |
<?php namespace RainLab\User\Components;
use Lang;
use Auth;
use Mail;
use Event;
use Flash;
use Input;
use Request;
use Redirect;
use Validator;
use ValidationException;
use ApplicationException;
use October\Rain\Auth\AuthException;
use Cms\Classes\Page;
use Cms\Classes\ComponentBase;
use RainLab\User\Models\User as ... |
<?php
namespace App\Http\Controllers\Web;
use App\Http\Controllers\Controller;
use App\Models\Analysis;
use App\Models\Diagnostic;
use App\Models\Patient;
use App\Models\Treatment;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Http\Request;
use Illuminate\Pagination\LengthAwarePaginat... |
<?php
@session_start();
include_once 'includes/functions.php';
include_once 'includes/checks.php';
header('Content-type: application/json; charset=UTF-8');
$getRank = pdoQuery($db, "SELECT `rank` FROM `users` WHERE `id`=?", [htmlspecialchars($_SESSION['ID'])])->fetchColumn();
$ban... |
<div class="modal fade" id="modalElec" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="login-box-body">
<div class="modal-header" >
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">... |
<?php
abstract class PhabricatorChatLogConstants {} |
<?php
declare(strict_types=1);
namespace Shopify\Rest\Admin2021_10;
use Shopify\Auth\Session;
use Shopify\Rest\Base;
/**
* @property string|null $cost
* @property string|null $country_code_of_origin
* @property array[]|null $country_harmonized_system_codes
* @property string|null $created_at
* @property int|nu... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
global $current_user, $wpscfunction;
$ticket_id = isset($_POST['ticket_id']) ? sanitize_text_field($_POST['ticket_id']) : '' ;
$extra_users_emails = $wpscfunction->get_ticket_meta($ticket_id , 'extra_ticket_users');
$wpsc_appearance_modal_... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Contracts\Auth\Guard;
class RedirectIfAuthenticated
{
/**
* The Guard implementation.
*
* @var Guard
*/
protected $auth;
/**
* Create a new filter instance.
*
* @param Guard $auth
* @return void
... |
<div class="footer">
Pi-Star / Pi-Star Dashboard, © Andy Taylor (MW0MWZ) 2014-<?php echo date("Y"); ?>.<br />
Need help? Click <a style="color: #ffffff;" href="https://www.facebook.com/groups/pistar/" target="_new">here for the Support Group</a><br />
Get your copy of Pi-Star from <a style="color: #fff... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Product_discount extends Model
{
use HasFactory;
protected $fillable = ['name','description','discount_percent','active'];
} |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Categories extends MY_Controller
{
public function __construct()
{
parent::__construct();
$language = $this->session->userdata('lang') ? $this->session->userdata('lang') : 'english';
$this->lang->load("co... |
<?php
use Illuminate\Database\Seeder;
use App\Models\User;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// 获取 Faker 实例
$faker = app(Faker\Generator::class);
// 头像假数据
$avatars = [
... |
<?php
$span = [
"start" => "2021-10-10",
"end" => "2021-10-11",
];
?>
@include("components.header")
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="{{ asset('js/chart.min.js') }}"></script>
<script src="{{ asset('js/vue-chartjs.min.js') }}"></script>
<script src="{{ asset('js/cha... |
@extends('base.base')
@section('base')
<!-- 内容区域 -->
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
... |
<?php
namespace App\Http\Controllers\Client;
use App\Http\Controllers\Controller;
use App\Services\CategoryService;
class CategoryController extends Controller
{
protected $category;
public function __construct(CategoryService $category)
{
$this->category = $category;
}
public function ... |
<?php
// Dieses Skript prüft, ob der Benutzer noch unfertige Spiele hat, und erstellt für ihn eine neue Herausforderung, wenn dies nicht der Fall ist.
session_start();
require_once '../includes/auth_validate.php';
require_once 'config.php';
require_once 'game_logic.php';
$game = new Game();
$player = filter_input(I... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
use Api\Controller\ResourceController,
Zend\Http\Request,
Zend\Http\Response,
Zend\Mvc\MvcEvent,
Zend\Mvc\Router\RouteMatch;
class ResourceControllerTest extends PHPUnit_Framework_TestCase
{
private $_controller;
private $_request;
private $_response;
private $_routeMatch;
private $_event;
public fu... |
<?php $data = get_query_var('data'); ?>
<?php $post_id = $data['post_id']; ?>
<form action="<?= admin_url( 'admin-post.php' ) ?>" method="POST" class="exercise-form">
<input type="hidden" name="action" value="add_exercise"/>
<input type="hidden" name="back-url" value="<?= get_permalink($post_id) ?>"/>
<div class="fo... |
<?php
use App\Http\Controllers\AdminDashboardController;
use App\Http\Controllers\AdminRestaurantController;
use App\Http\Controllers\BasketController;
use App\Http\Controllers\CheckoutController;
use App\Http\Controllers\ProductController;
use App\Http\Controllers\RestaurantController;
use App\Http\Controllers\UserCo... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
$this->title = 'Update Product';
$this->params['breadcrumbs'][] = $this->title;
?>
<?= $this->render('_form', [
'model' => $model,
'mediaHtml' => isset($mediaHtml)?$mediaHtml:'',
'otherInfoHtml' => isset($otherInfoHtml)?$oth... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Class Dimensao
*
* @property int $id_dimensao
* @property string|null $nome
*
* @property Collection|Indicador[] $indicadors
*
* @package App\Models
*/... |
<?php
/**
* Project Login&RegisterforCI.
* User: Peter Lauf
* Copyright: Peter Lauf
* Date: 16.05.2021
* Time: 13:42
* mail: karbonsk@gmail.com
*/
/**
* @param $str
* @param string $separator
* @param bool $lowercase
* @return string
* Vytvára so stringu retazec vhodný ako url
*/
function url_create($str,... |
<?php
return [
'buttons' => [
'attach' => [
'label' => 'Attach Existing',
],
'create' => [
'label' => 'New',
],
'detach' => [
'label' => 'Detach selected'
],
],
'modals' => [
'attach' => [
'butto... |
<!DOCTYPE html>
@if(app()->getLocale()=="en")
<html lang="en">
@else
<html lang="en" dir="rtl">
@endif
@include('layouts.BackEnd.head')
@yield('css')
<body class="fix-header fix-sidebar card-no-border">
{{--<!-- ============================================================== -->--}}
{{--<!-- Preloader - style... |
<?php
namespace App\Http\Controllers\Admin;
class IndexController extends Controller
{
/**
* 后台管理主页
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('admin.index');
}
} |
<?php
return [
'layouts' => [
'spacelab',
'cosmo',
'readable'
],
'per_page_options' => [
5 => 5,
10 => 10,
50 => 50,
100 => 100
],
'per_page' => 5,
'displaytype' => [
[
'type' => 'list',
'icon' => 'fa fa-lis... |
<?php
namespace App\Repositories;
interface MemoRepositoryInterface
{
public function getMemosByAid($admin_id);
public function createMemo(array $data);
public function updateMemo($admin_id, array $data);
} |
<?php foreach ($admin as $k) {
$id = $k['id'];
$name = $k['name'];
$email = $k['email'];
$password = $k['password'];
$role_id = $k['role_id'];
} ?>
<div class="container-fluid">
<div class="row">
<div class="col-6">
<div class="modal-content">
<div class="modal-header">
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta content="wid... |
<?php
namespace App\Http\Controllers;
use App\Models\Task;
use Illuminate\Http\Request;
use App\Http\Requests\TaskStoreRequest;
class TaskController extends Controller
{
public function getAllTasks(){
$tasks= Task::all();
$response = [
'tasks' => $tasks
];
return resp... |
<?php
/**
* Magento plugin for CMS news management
*
* @category LCB
* @package LCB_News
* @author Silpion Tomasz Gregorczyk <tom@leftcurlybracket.com>
*/
class LCB_News_Model_Mysql4_News extends Mage_Core_Model_Mysql4_Abstract {
protected function _construct()
{
$this->_init("news/news... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Album;
class Photo extends Model
{
protected $fillable = array('album_id', 'description', 'photo', 'title', 'size');
public function albums()
{
return $this->belongsTo('App\Album');
}
} |
<?php
namespace FondOfSpryker\Glue\PriceListCompanyUsersRestApi\Processor\Expander;
use FondOfSpryker\Glue\PriceListCompanyUsersRestApi\PriceListCompanyUsersRestApiConfig;
use Generated\Shared\Transfer\CompanyUserTransfer;
use Generated\Shared\Transfer\RestPriceListAttributesTransfer;
use Spryker\Glue\GlueApplication... |
<?php
class LifeserviceAction extends CommonAction {
protected function _initialize() {
parent::_initialize();
$lifeservice = (int)$this->_CONFIG['operation']['lifeservice'];
if ($lifeservice == 0) {
$this->error('此功能已关闭');
die;
}
}
public function index() {
$this->display();
}
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $title." | " . config('variable.webname') }}</title>
<!-- Google Font: Sou rce Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source... |
@extends('layout')
@section('content')
<div class="container">
<div class="row justify-content-center my-5">
<div class="col-md-8">
<div class="card">
<div class="card-header">本会員登録</div>
@isset($message)
<div class... |
<!--
Copyright 2016-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the license found in the
LICENSE file in the root directory of this source tree.
-->
<html>
<head>
<title>Messenger Demo</title>
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
use \ccxt\InvalidOrder;
use \ccxt\DDoSProtection;
... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Thumbnail extends Model
{
protected $table = 'thumbnails';
protected $fillable = ['name','article_id'];
//缩略图的存储路径
public $store_path = '/images/thumbnails/';
public function getNameAttribute($name)
{
return $this->... |
<?php
// Make sure we are called from index.php
if (!defined('SECURITY'))
die('Hacking attempt');
class News extends Base {
protected $table = 'news';
/**
* Get activation status of post
* @param id int News ID
* @return bool true or false
**/
public function getActive($id) {
$this->debug->ap... |
<?php
$WP_PATH = implode("/", (explode("/", $_SERVER["PHP_SELF"], -8)));
require_once($_SERVER['DOCUMENT_ROOT'].$WP_PATH.'/wp-config.php');
$host = DB_HOST; /* Host name */
$user = DB_USER; /* User */
$password = DB_PASSWORD; /* Password */
$dbname = DB_NAME; /* Database name */
$con = mysqli_connect($host, $user, $... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{!! Theme::get('title') !!}</title>
<meta name="description" content="">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta http-equiv="X-UA-Compatible" content="I... |
<?php
/**
* Created by PhpStorm.
* User: cheza
* Date: 9/27/16
* Time: 12:38 PM
*/
namespace App\Classes\websystem\loans;
use App\applicationStatus;
use App\armotizationSchedule;
use App\Clients;
use App\disbursements;
use App\loanDetails;
use App\loans;
use App\loanSecurities;
use App\loanSecuritiesTypes;
use ... |
<?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 defined('SYSPATH') or die('No direct script access.');
return array(
'subject' => 'Восстановление пароля',
); |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use App\ProductCategory;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Sche... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "payments".
*
* @property int $id
* @property string $date
* @property int $price
* @property int $count
* @property int $amount
* @property int $user_id
*/
class Payments extends \yii\db\ActiveRecord
{
/**
* {@inheritd... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "locations_raion".
*
* @property integer $id
* @property integer $location_id
* @property string $raion
*/
class LocationsRaion extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName(... |
<?php
class acf_field_password extends acf_field
{
/*
* __construct
*
* Set name / label needed for actions / filters
*
* @since 3.6
* @date 23/01/13
*/
function __construct()
{
// vars
$this->name = 'password';
$this->label = __("Password",'acf');
$this->defaults = array(
'placeholder' =>... |
@extends('layouts.app_new')
@section('slider')
<div class="faq-banner inner-banner">
<div class="container">
<div class="banner-heading">
<h2>faq- <br>Frequently Asked Questions</h2>
</div>
</div>
</div>
@endsection
@section('breadcrum... |
@extends('layouts.app')
@section('content')
<!-- <div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
<form class... |
<h3>Laporan Transaksi</h3>
<table border="1" cellspacing="1" cellpadding="2">
<thead>
<tr style="background-color: #ccc;">
<th style="width:45px; text-align: center;">#</th>
<th style="width:105px; text-align: center;">Tanggal Pesan</th>
<th style="width: 180px; text-align: center;">Nama... |
@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">
Editar usuarios
</div>
<div class="card-body">
{!! Form::model($us... |
<?php
namespace App\Http\Controllers;
use App\Enums\TICKET_STATUS;
use App\Models\Ticket;
use App\Models\TicketResponse;
use App\Models\TicketStatus;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
use Inertia\I... |
@extends('frontend.app_frontend')
@section('title','trang chủ')
@section('content')
<div class="main-container">
<div id="content">
<div class="container">
<div class="box-content1" id="showsearch">
<div class="module sohomepage-slider ">
<div class="yt-cont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.