text
stringlengths
2
1.03M
@extends('template.templates') @section('title') Home @endsection @section('content') <section class="content-header"> <h1> Edit Mahasiswa <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li cla...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTransactionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('transactio...
<?php //////////////////////////////////////////////////////////////////////// // アクセス制限 if(ereg("modules/search.php", $_SERVER['PHP_SELF'])) { header("Location: ../index.php"); exit(); } //////////////////////////////////////////////////////////////////////// // タイトル $page_content .= <<<_EOT_ <tabl...
<?php /** * This file is part of Vegas package * * @author Slawomir Zytko <slawek@amsterdam-standard.pl> * @company Amsterdam Standard Sp. z o.o. * @homepage http://cmf.vegas */ namespace Test\Controller; use Test\Model\Test; use Vegas\Mvc\ControllerAbstract; class IndexController extends ControllerAbstract { ...
<?php namespace App\Models; use Jenssegers\Mongodb\Eloquent\HybridRelations; use Jenssegers\Mongodb\Eloquent\Model; class Category extends Model { use HybridRelations; protected $table = "category"; protected $collection = "category"; protected $connection = "mongodb"; protected $primaryKey = "_...
<?php /** * @copyright Copyright 2003-2014 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart-pro.at/license/2_0.txt GNU Public License V2.0 * @version $Id: banner_manager.php 628 2013-07-17 08:05:14Z webchills $ * @edited and adapted for ZC v1.5.3 2014-12-07 0...
<?php namespace Google\AdsApi\AdWords\v201806\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ abstract class FeedItemTarget { /** * @var int $feedId */ protected $feedId = null; /** * @var int $feedItemId */ protected $feedItemId = null; /** * @var strin...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBannerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('banner', functio...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEnglishlevelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('englishle...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Size extends Model { protected $table = 'size'; protected $fillable = ['size']; /** * このサイズが所有するアイテム。(Itemモデルとの関係を定義) */ public function items() { return $this->hasMany(Item::class); } }
<?php namespace common\models\base; use Yii; use yii\behaviors\TimestampBehavior; use yii\behaviors\BlameableBehavior; use inlislite\gii\behaviors\TerminalBehavior; /** * This is the base-model class for table "bookinglogs". * * @property string $memberId * @property double $collectionId * @property string $boo...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Emr\V20160408\Models; use AlibabaCloud\Tea\Model; class DescribeScalingCommonConfigRequest extends Model { /** * @var int */ public $resourceOwnerId; /** * @var string */ public $regionId; ...
<?php //000000000000 exit();?> s:26:"3omsngd89jnpk0t2fmrl3cs854";
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ // Setup form fields 'setup' => [ 'email' => 'Email', 'userna...
@extends('layouts.master') @section('page-title') All Users <a class="btn" href="{{url('/users/create')}}"> <i class="material-icons" style="font-size:36px;"> add_circle </i> </a> @endsection @section('content') <div class="col-sm-12"> <table class="table"> <thead> <tr> <th sco...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of ReclamationForum * * @author majd ben khalifa */ namespace Esprit\DemandeBundle\Entity; use Doctrine...
<?php /** * JComments - Joomla Comment System * * @version 3.0 * @package JComments * @author Sergey M. Litvinov (smart@joomlatune.ru) * @copyright (C) 2006-2013 by Sergey M. Litvinov (http://www.joomlatune.ru) * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html */ defined('_JEXEC') or die; class JCommen...
<?php class Establecimientos extends MY_Controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } public function index() { $this->load->model('Establecimientos_model'); $this->load->model('Ubicacion_model'); $this->load->model('Controladores_model'); $th...
@extends('layout.app') <head> <link rel="icon" href="{{ asset('images/logo sinergia no backg.png') }}"/> <title>List Job Registrant - Sinergia Homeschooling</title> <style> .headregistration{ width: 100%; color: white; background-color: #ea9400; paddin...
<?php namespace CreditSafe\API\Normalizer; use Jane\JsonSchemaRuntime\Reference; use CreditSafe\API\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\De...
<?php use Illuminate\Database\Seeder; class HistorialEstudioSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { factory(App\HistorialEstudio::class, 50)->create(); } }
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model \app\modules\events\models\Event */ $this->title = Yii::t('admin', 'Просмотр события', [ 'modelClass' => 'Content', ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('admin', 'События'), 'url' => ['index']]; $this->params['breadcrumb...
<?php include '../config/dbcon.php'; include '../config/session.php'; if(isset($_POST['goodsinfo-search'])){ include 'action-search.php'; } else { $sql_count = "select count(*) from `tb_goodinfo`;"; $query_count = mysqli_query($con, $sql_count); $count = mysqli_fetch_array($query_c...
<?php use setasign\Fpdi\Fpdi; use setasign\SetaFpdf\SetaFpdi; use setasign\tests\TestProxy; require_once '../config.php'; $tester = new TestProxy([ new Fpdi(), new SetaFpdi() ]); $tester->setSourceFile(__DIR__ . '/../../assets/pdfs/Boombastic-Box.pdf'); $pageId = $tester->importPage(1); $tester->getImpor...
<?php class Role extends CActiveRecord { public static function model($className=__CLASS__) { return parent::model($className); } public function tableName() { return 'roles'; } }
<?php include 'portal-config.php'?> <!DOCTYPE html> <html> <head> <title><?=$title?></title> <meta name="viewport" content="width=device-width" /> <meta name="robots" content="noindex,nofollow" /> <meta charset="utf-8"> <script src="https://use.fontawesome.com/bd8a070084.js"></script> <link rel="stylesheet" href="css/n...
<?php use \Spiral\Scaffolder\Declaration; return [ 'declarations' => [ 'controller' => [ 'namespace' => 'Ports\Http\Controllers', 'postfix' => 'Controller', 'class' => Declaration\ControllerDeclaration::class, ], 'entity' => [ 'name...
@extends('adminlte::page') @section('title', 'Benutzer') @section('content_header') <h1>Registrierungen <small>Unverifizierte Nutzer</small></h1> @stop @section('content') @include('backend.admin.users._user_index_loop') @stop
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <?php $valor = $_GET['v']; $rq = sqrt($valor); echo "<h2>O Valor $valor possui a raiz quadrada de $rq</h2>"; ?> <a href="exercicio01.html">Voltar</a> </body> </html>
@extends('admin.layouts.index') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>DANH MỤC</h1> </div> <d...
<?php namespace LaravelForum\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Str; use LaravelForum\Discussion; use LaravelForum\Http\Requests\CreateDiscussionRequest; use LaravelForum\Reply; class DiscussionsController extends Controller { public function __construct() { $this->...
<?php // include_paths.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( $vendorDir . '/magento/zendframework1/library', $vendorDir . '/phpunit/php-file-iterator', $vendorDir . '/phpunit/phpunit', $vendorDir . '/symfony/yaml', );
<?php namespace Illuminate\Support\Facades; /** * @method static bool supported(string $key, string $cipher) * @method static mixed decrypt(string $payload, bool $unserialize = true) * @method static string decryptString(string $payload) * @method static string encrypt(mixed $value, bool $serialize = true) * @me...
@extends('layouts.app') @section('pgtitle', 'Categories') @section('content-title', 'Daftar kategori') @section('path') Daftar kategori @endsection @section('path') <a href="{{ route('categories') }}" /> Kategori</a> @endsection @section('content') <div class="card col-5"> <div class="card-body"...
<?php namespace Dosarkz\Lora\Installation\Modules\Lora\Models; use Illuminate\Database\Eloquent\Model; class SuperUserRole extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'super_user_id', 'role_id', ]; public $times...
<?php session_start(); // 使用者變數在 Session 內 if (isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true) { if ($_SESSION["is_admin"] == 1) { $ID = $_SESSION["ID"]; $username = $_SESSION["username"]; } else { header('location: non-admin.html'); ...
<?php namespace App\Challenges; use App\Challenges\Contracts\Challengable; use App\Challenges\Contracts\Challenge; use App\Models\Course; use App\Models\UserCourse; class BoughtStartCourse implements Challenge { /** * @inheritDoc */ static function check(Challengable $challengable): bool { ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Idioma extends Model { protected $fillable = ['nombre', 'estado']; public function candidatos() { return $this->belongsToMany('App\Candidato'); } }
@extends('layouts.default_min') @section('content') <div class="row"> <div class="col-md-6 col-md-offset-3" style="margin-top: 50px;"> <ul class="nav nav-tabs" role="tablist" id="myTab"> <li class="active"><a href="#admin-tab" role="tab" data-toggle="tab">{{ trans('main.Admin')...
<?php /** * * PHP versions 4 and 5 * * kml : Kamila Software * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Jesus Baizabal * @link http://baizabal.xyz * @mail baizabal.jesus@gmail.com * @pac...
@extends('backpack::layout') @section('before_styles') <link rel="stylesheet" href="{{ URL::asset('styles/admin.css') }}"> @endsection @section('header') <section class="content-header"> <h1>Detalles Album</h1> <ol class="breadcrumb"> <li><a href="{{ url(config('backpack.base.route_prefix...
<?php class Users_model extends CI_Model { function __construct(){ parent::__construct(); $this->load->database(); } public function getAllUsers(){ $query = $this->db ->select("*") ->from('tbl_users u') ->join('user_details ud','u.user_id=ud.user_id','left') #->where('') ->get(); retu...
@if(count($recentphotos) > 0) @foreach($recentphotos->photos->photo as $key => $photo) <div class="col-md-6" style="height:400px; width:500px; overflow: hidden; margin-top: 10px;"> <img src="{{ Flicker::generatePhotoApiUrl($photo, $size) }}" class="img-thumbnail" height="400px" width="500px" />...
<?php use app\modules\admin\widgets\Box; use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\admin\models\PageSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Pages'); $this->params['breadcrumbs'][] = $this->title; ?>...
<?php return [ ['GET', '/', 'IndexController@sayHello'] ];
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files m...
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStudentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('students', fun...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
<footer class="footer"> <div class="container"> <p> <?php echo $_SESSION['site_footer'];?> </p> </div> </footer> <script src="<?php echo $asset_theme;?>js/jquery.js"></script> <script src="<?php echo $asset_theme;?>js/bootstrap.js"></s...
@extends('layout') @section('css') <!-- third party css --> <link href="{{ asset('assets/libs/datatables/dataTables.bootstrap4.css') }}" rel="stylesheet" type="text/css" /> <link href="{{ asset('assets/libs/datatables/responsive.bootstrap4.css') }}" rel="stylesheet" type="text/css" /> <l...
@extends('layouts.plantillalogin') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <h2>SIPAB 2017 PRODUCCION</h2> <div class="panel-heading">RegistrO</div> <div cla...
<?php use GuzzleHttp\Middleware; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | rou...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>School Login</title> <link rel="shortcut icon" href="/student/img/favicon.png"> <link rel="stylesheet" type="text/css" href="/student/css/style.css"> <link rel="stylesheet" type="text/css" href="/student/css/bootstrap.min.css"> ...
@extends('layouts.index') @section('title', 'Notas Profesor') @section('contenido') <?php use App\Asignatura; $nombre = Asignatura::where('id_asignatura',$asignatura)->first(); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.css"> <script type="text/jav...
<?php require_once 'C:\xampp\htdocs\ecommerce-core\models\UserDAO.php'; require_once 'C:\xampp\htdocs\ecommerce-core\db\connection.php'; class UserController { private $id; private $username; private $email; private $password; private $state; private $image; private $id_rol; private $c...
<?php //000000000000a:2:{s:5:"uid_1";i:1539166130;s:6:"uid_24";i:1553505294;} ?>
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<svg viewBox="0 0 106.2 78.3" width="120" height="88"> <title>LH</title> <path class="icon-element" d="M103.8 39.3c-0.2-0.1-24.3-12.2-29.9-14.9 -1.3-0.6-2.3-1-4.3-1v0l-10.9 0L65.1 1l-2.1 0 -6.5 22.5 -20.9 0v0c-1 0-2.6 0.3-3.9 1C26.2 27.1 2.3 39.1 2.1 39.3l-1.7 0.9L2.2 41c0.2 0.1 24 12.2 29.5 14.9 1.3 0.6 3 1 4 1V57h1...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAdmisionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('admisions', f...
<?php // require_once('autentificacion/aut_verifica_menu.php'); $proced = "p_fichas_04"; $metodo = "agregar"; $archivo = "pestanas/add_ficha2&Nmenu=$Nmenu&codigo=$codigo&mod=$mod&pagina=3&metodo=modificar"; ?> <form action="scripts/sc_ficha_04.php" method="post" name="add" id="add"> <fieldset clas...
<?php namespace App; use Eloquent; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Carbon; /** * App\UserFollowingEmployer * * @property int $id * @property int|null $user_id * @property int|null $employer_id * @property Carbon|null $created_at * @prope...
<?php /** * @copyright (c) 2014 appoil.com * @file notice.php * @brief 公告api方法 * @author Jason * @date 2014/10/12 13:59:44 * @version 2.7 */ class APIHelp { //帮助中心列表 public function getHelpList() { $page = IReq::get('page') ? IFilter::act(IReq::get('page'),'int') : 1; $query = new IQuery('help'); $quer...
<?php namespace app\modules\rbac\models; use Yii; use yii\rbac\Item; use yii\helpers\Json; use yii\base\Model; use app\modules\rbac\components\Helper; /** * This is the model class for table "tbl_auth_item". * * @property string $name * @property integer $type * @property string $description * @property string...
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Arriendos extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('arriendos', function (Bl...
<?php use LaravelEnso\Migrator\Database\Migration; class CreateStructureForPersonLds extends Migration { protected array $permissions = [ ['name' => 'personlds.index', 'description' => 'Show index for person lds', 'is_default' => false], ['name' => 'personlds.create', 'description' => 'Create per...
<?php use Illuminate\Database\Seeder; use App\Role; class RoleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $roles = [ [ 'name' => 'Admin', 'slug' => 'admin' ], ...
<div class="container"> <h3>leverancier editen</h3> <div class="box"> <?=$this->renderFeedbackMessages(); ?> <?php if ($this->suplier) { ?> <form method="post" action="<?=Config::get('URL')?>supplier/editConfirmed"> <label>adres/website</label><input required="true"...
<?php /** * Copyright (C) 2017-2019 Petr Hucik <petr@getdatakick.com> * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 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/...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Employee_m extends CI_Model{ public function getAllEmployee(){ $this->db->order_by('created_at','desc'); $query = $this->db->get('employees'); if($query->num_rows()>0){ return $query->result(); ...
<?php namespace ScreenlyApi; use GuzzleHttp\Client; trait ScreenlyGuzzle { /** * General send an HTTP request via Guzzle */ protected function sendRequest($verb, $endpoint, $options) { // Send the request $client = new Client(); //GuzzleHttp\Client try { ...
<?php define('LIMIT_ROW', 10); define('LIMIT_FRONT_ROW', 16); define('LIMIT_ROW_AJAX', 30); define('ROLE_ADMIN', 'administrator'); define('ROLE_MANAGE', 'manage'); define('DATETIME_FORMAT', 'Y-m-d H:i:s'); define('VERSION', '1.2'); define('DATE_FORMAT', 'Y-m-d'); define('MAX_PREMIUM_FILE_DOWNLOAD', 2); return [ 'ro...
<?php namespace BPCI\SumUp\Tests\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Route; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use BPC...
<?php namespace App\Forms\Fields; use Kris\LaravelFormBuilder\Fields\FormField; class OneImageType extends FormField { protected function getTemplate() { // At first it tries to load config variable, // and if fails falls back to loading view // resources/views/fields/datetime.blade.p...
@extends('layouts.admin') @section('encabezado') Notificaciones @endsection @section('head') <link href="{{asset('plugins/timeline/timeline.css')}}" rel="stylesheet" /> @endsection @section('contenido') <div class="col-lg-12"> <!--Timeline --> <div class="panel panel-primary"...
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use User; use DB; use App; use View; use Illuminate\Support\Facades...
<?php /** * TGM Example Plugin. * * Example plugin to demonstrate the ability to handle bundled plugins with the * TGM Plugin Activation library. * * @package WordPress\Plugins\TGM Example Plugin * @author Thomas Griffin <thomas@thomasgriffinmedia.com> * @link https://github.com/thomasgriffin/TG...
<?php /* @var $this yii\web\View */ /* @var $module yii\base\Module */ /* @var $dataProvider yii\data\ActiveDataProvider */ use asb\yii2\common_2_170212\base\ModulesManager; use asb\yii2\common_2_170212\assets\CommonAsset; use yii\helpers\Html; use yii\helpers\Url; use yii\grid\GridVie...
<style type="text/css"> .select1{ margin:5px 10px; } <?php include("../conf/conf.php"); $unidad=$_POST['unidad']; $query="SELECT * from unidad as u join departamento as d on u.id=d.unidad where nombre='$unidad'"; $res=$db->query($query); ?> </style> <table width="100%"> <tr> <td> <fieldset class="fields...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><?php echo $title ?></title> <style type="text/css" media="print"> body{ font-size: 12px; font-family: Arial; } table{ border: solid thin:#000; border-collapse: collapse; width: 100...
<?php namespace Faridepc78\User\Tests\Feature; use Carbon\Laravel\ServiceProvider; use Faridepc78\RolePermissions\Database\Seeds\RolePermissionTableSeeder; use Faridepc78\User\Models\User; use Faridepc78\User\Services\VerifyCodeService; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Test...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Model::unguard(); /*\CodeProject\Entities\User::truncate(); \CodeProjec...
<?php use ChurchCRM\Service\CalendarService; use ChurchCRM\Service\FinancialService; use ChurchCRM\Service\GroupService; use ChurchCRM\Service\PersonService; use ChurchCRM\Service\ReportingService; use ChurchCRM\Service\SystemService; // DIC configuration
<?php class XenForo_Option_ImageLibrary { public static function renderOption(XenForo_View $view, $fieldPrefix, array $preparedOption, $canEdit) { $preparedOption['noImagick'] = !class_exists('Imagick'); return XenForo_ViewAdmin_Helper_Option::renderOptionTemplateInternal( 'option_template_imageLibrary', ...
<?php namespace Jinya\Twig\Extension; use function file_get_contents; class Inline extends \Twig_Extension { /** * {@inheritdoc} */ public function getName() { return 'inline'; } public function getFunctions() { return [ 'inline' => new \Twig_Function('i...
<?php namespace App\Console\Commands; use App\Modules\Finance\Model\FinancialModel; use App\Modules\Task\Model\TaskPaySectionModel; use App\Modules\Task\Model\TaskPayTypeModel; use App\Modules\Task\Model\TaskTypeModel; use App\Modules\Task\Model\WorkModel; use App\Modules\User\Model\TaskModel; use App\Modules\User\Mo...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** * App\Models\AdminBaseModel * * @property-read mixed $created_at * @property-read mixed $updated_at * @method static \Illuminate\Database\Eloquent\Builder|AdminBaseMo...
<?php namespace app\common\model; use think\Model; use think\model\concern\SoftDelete; class Admin extends Model { protected $pk = "admin_id"; use SoftDelete; protected $createTime = "admin_create_time"; protected $updateTime = "admin_update_time"; protected $deleteTime = "admin_delete_time"; }
<?php $locality = "127.0.0.1"; // Defines host ip-address. Can be constant. $userdef = "root"; // Defines username to use for queries. $passdef = ""; // Defines password to log in as user. $datadef = "gamedata"; // Defines database name. //$locality = "localhost:3306"; //$userdef = "u0409643_quad"; //$passdef = "6bE...
<?php /** * Created by PhpStorm. * User: Umesh Kumar Yadav * Date: 7/25/2017 * Time: 7:12 AM */ namespace App\Http\Requests\Examination\Exam; use Illuminate\Foundation\Http\FormRequest; class EditValidation extends FormRequest { /** * Determine if the user is authorized to make this request. * ...
<?php include("header.php"); isset($_POST["email"]); $email=$_POST["email"]; ?> <section id="form"> <form class="contact_form" action="php/control.php" method="post"> <ul> <li> <h2>Iniciar sesion</h2> </li> <h5>Email</h5> <li> <input type="email" name="email" placeholder="Email" requ...
<a class="btn-primary btn btn-block text-light border-dark" id="addNew" href="{{ url($controller . "/create") }}">Add New {{ $controller }}</a> @push('scripts') <script>let anchor = document.getElementById('addNew');anchor.style.textTransform = 'capitalize';</script> @endpush
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateApproversTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('approvers', f...
<?php /** * +---------------------------------------------------------------------- * | 栏目管理模型 * +---------------------------------------------------------------------- * .::::. * .::::::::. | AUTHOR: siyu * ::::::::::: | EMAIL: 40759...
<?php /** * @author Semenov Alexander <semenov@skeeks.com> * @link http://skeeks.com/ * @copyright 2010 SkeekS (СкикС) * @date 27.03.2015 * * @var $component \skeeks\yii2\config\ConfigComponent * @var $message string */ /* @var $this yii\web\View */ ?> <? $model = $component->configModel; ?> <?php $form = \s...
<?php declare(strict_types=1); namespace App\Http\Repositories\Web\Admin; use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\Interfaces\Web\Admin\AdminUserInterface; use App\Http\Traits\Web\Admin\GlobalResponse; use App\Http\Traits\Web\User\UserTrait; use Illuminate\Support\Facades\Hash; use Illumi...
<?php function cek_login() { $ci = get_instance(); if (!$ci->session->has_userdata('login_session')) { set_pesan('silahkan login.'); redirect('auth'); } } function is_admin() { $ci = get_instance(); $role = $ci->session->userdata('login_session')['role']; $status = true; ...
<?php /** * MIT License * Copyright (c) 2019 Electronic Student Services @ Appalachian State University * * See LICENSE file in root directory for copyright and distribution permissions. * * @author Matthew McNaney <mcnaneym@appstate.edu> * @license https://opensource.org/licenses/MIT */ namespace stories\F...