lang
stringclasses 10
values | seed
stringlengths 5
2.12k
|
---|---|
php | <td>Action</td>
</tr>
<?php
foreach($result as $row){
?>
|
php | 'normalRange' => $request->normalRange[$key],
// 'finalNormalValue' => $request->finalNormalValue[$key],
'firstCriticalValue' => $request->firstCriticalValue[$key],
'finalCriticalValue' => $request->finalCriticalValue[$key],
'unit' => $request->units[$key],
]);
}
//for type 5 (two tables)
if (isset($request->title2))
foreach ($request->title2 as $key => $value) {
if ($value == null || $value == "")
continue; |
php | 'http' => true,
'mailto' => true,
'tel' => true,
));
$rules = array();
$rules[] = new PhutilRemarkupEscapeRemarkupRule();
$rules[] = new PhutilRemarkupMonospaceRule();
$rules[] = new PhutilRemarkupDocumentLinkRule();
$rules[] = new PhutilRemarkupHyperlinkRule(); |
php | * @return OEmbed
*/
public function __invoke(ContainerInterface $services, $requestedName, array $options = null)
{
$config = $services->get('Config'); |
php | /**
* @param string|null $packageName
* @param string|null $name
* @param string $type
*
* @return string|bool
*/
public function getHtml(?string $packageName = null, ?string $name = null, string $type = 'all')
{
if (!in_array($type, [
self::RETRIEVE_ALL,
self::RETRIEVE_ERRORS,
self::RETRIEVE_INFO,
])) {
throw new \InvalidArgumentException('Notifications type must be one of "all", "error" or "info"'); |
php | <button type="submit" class="btn-blue">Skapa</button>
</div>
</form>
</div>
<div>
<p>
@if ($errors->any())
<div class="text-red-600 bg-pink-200 mt-2 py-4 pl-2">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach |
php | </div>
<!-- END wrapper -->
@include('theme.scripts')
@if ($tabla)
@include('theme.scripts-tablas')
@endif
<script src="{{ asset('js/init.js') }}"></script>
@yield('scripts')
</body> |
php |
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\User::create([
'name' => '<NAME>', |
php | /**
* Builds configuration set into an array
*
* @return array
*/
public function toArray(): array;
|
php | <script src="/vendor/jquery/jquery.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.bundle.min.js"></script> |
php |
$sms_code = M('sms_code');
$user = M('user');
/* $uid = "2255";
$passwd = "<PASSWORD>";
$url2 = "http://sms.bamikeji.com:8890/mtPort/account/info?uid=".$uid."&passwd=".$passwd;
$html = file_get_contents($url2);
$result1 = json_decode($html,true);
$sms_num = $result1['availableAmt']-80000;*/
|
php | {
//
public function __construct()
{
}
|
php | });
Schema::table('construction_impl', function (Blueprint $table) {
//
$table->string('uprg_text')->nullable();
$table->string('uprg_slug')->nullable();
$table->float('lat', 10, 6)->nullable();
$table->float('lng', 10, 6)->nullable();
$table->string('year', 4)->nullable();
}); |
php | if($search_params['purpose_id']!='')
$this->db->like('c.purpose_id',$search_params['purpose_id']);
//$this->db->where('n.status',1);
$this->db->limit($per_page, $current_offset);
$res = $this->db->get();
//echo $this->db->last_query();exit;
return $res->result_array();
}
/* fetching rows of distributor credit debit list
Author:Aswini
Time:21-02-2017*/ |
php | <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="{{asset('assets/login_front/images/icons/favicon.ico')}}"/>
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="{{asset('assets/login_front/vendor/bootstrap/css/bootstrap.min.css')}}">
<!--===============================================================================================--> |
php | map.data.loadGeoJson('../json/Kota Bima.geojson');
map.data.setStyle(function(feature) {
return {
fillColor: '#000000',
strokeColor: '#000000',
strokeWeight: 1
};
});
map.data.addListener('mouseover', function(event) { |
php |
protected function setUp()
{
$this->object = Type::getType(IssueStatusEnumType::TYPE_NAME);
}
/**
* @covers AppBundle\DBAL\IssueStatusEnumType::getName |
php | $args = new InputArgs(array_merge(['script'], $args));
$this->assertSame($expected, $args->interactive());
}
public function interactiveArgs(): array
{
return [
'command only' => [true, ['init']],
'no args' => [true, ['init', '-opt']],
'short update' => [true, ['update', '-i', 'foo=bar']],
'no option' => [false, ['init', 'foo=bar']],
'other short' => [false, ['init', '-a', 'foo=bar']],
'other long' => [false, ['init', '--long-args', '--it', 'foo=bar']], |
php | <input type="hidden" name="thread_id" value="{{$thread->id}}">
<input type="text" name="body" class="form-control" placeholder="ここにテキストを入力">
<span class="input-group-btn">
<label>
<span class="btn btn-info">
画像を選択する
<input type="file" name="image" class="form-control" style="display:none">
</span>
</label>
<input type="submit" class="btn btn-info" value="投稿する"> |
php | $.each(atividades, function(index, val) {
$('#'+val+'.atividade').delay(900).fadeIn();
});
var tipo = $(this).data('tipo');
if(tipo == "Modulo"){
$('button#criarAtividadeExtra').data('idmodulo', id);
}
|
php | <td>{{ $item->quantity }}</td>
</tr>
@empty
<tr>
<td colspan="5">Product items is empty! <a href="{{ route('home') }}">Let's start shopping!</a></td> |
php |
/**
* Gets Currency.
*
* @return string|null |
php | protected $atEppContact=null;
function __construct(atEppContact $atEppContact, atEppExtensionChain $additionaEppExtension=null) {
if(!is_null($additionaEppExtension)) {
parent::__construct($additionaEppExtension);
}
$this->atEppContact = $atEppContact;
}
public function setEppRequestExtension(eppRequest $request,\DOMElement $extension)
{
$request->addExtension('xmlns:xsi', atEppConstants::w3SchemaLocation);
|
php |
echo '<div class="data"><pre>';
echo 'num entries: ' . count($profileFeed->getEntries());
eval($snippet2);
echo '</pre></div>';
// =============================================================================
// Return a user's medication from the entire CCR
// =============================================================================
try {
$snippet = '
// =========================================================================
// Return a user\'s medication for the entire CCR |
php | <label>邮箱</label>
<input type="email" class="form-control">
</div>
<div class="form-group">
<label>密码</label>
<input type="password" class="form-control">
</div> |
php | <div class="p-6">
<div class="text-2xl text-white">
<a href="{{route('vendedores.index')}}" class="shadow-lg shadow-yellow-500 rounded-md bg-transparent px-10">Ventas</a>
</div>
</div>
<div class="p-6">
<div class="text-2xl text-white">
<a href="#" class="shadow-lg shadow-yellow-500 rounded-md bg-transparent px-10">Abrir almacen</a>
</div> |
php | */
if (!defined('KCALTO_FILE')) {
define('KCALTO_FILE', __FILE__);
}
|
php | </div>
<div class="form-group">
<label for="nama_belakang" class="col-sm-3 control-label">Nama Belakang</label>
<div class="col-sm-9"> |
php | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php $this->load->view('template/header')?>
</head>
<body>
<?php //$this->load->view('template/languages')?>
<?php $this->load->view($main_content)?>
<?php $this->load->view('template/footer')?>
</body>
</html>
<style type="text/css" media="all">
</style> |
php |
public function failures(): array
{
return array_filter($this->tests, fn (TestResult $result) => !$result->isSuccessful());
}
public function countAll(): int |
php | <div class="form-group">
<label>Nomor Telepon</label>
<input type="text" name="nomor_telp" id="nomor_telp" class="form-control" value="{{$anggota->nomor_telp}}">
<div class="invalid-feedback">
Nomor Telepon Harus Diisi Harus Diisi.
</div> |
php | */
public function setCode(int $code): self;
/**
* Returns an array represents the payload.
*
* @return array
*/
public function toArray(): array;
/** |
php | * @param int $timeout_seconds
* @param callable $exclusive_code
*
* @return mixed the result of the provided callable
* @throws MutexTimedOutException
*/
public function withLock(string $name, int $timeout_seconds, callable $exclusive_code);
}
|
php | }
//add item to cart
public function addProductToCart(Request $request, Product $product)
{
\Cart::add(array(
"id" => $product->id,
"name" => $product->title,
"price" => $product->price,
"quantity" => $request->qty,
"attributes" => array(),
"associatedModel" => $product,
));
return redirect()->route("cart.index"); |
php | <th>{{trans('messages.course')}}</th>
<th>{{trans('messages.group')}}</th>
<th>{{trans('messages.upload')}}</th>
<th>{{trans('messages.helpMaterials')}}</th>
<th>{{trans('messages.students')}}</th>
<th>{{trans('messages.edit')}}</th>
<th>{{trans('messages.delete')}}</th>
</tr>
</thead>
<tbody>
|
php | <?php
namespace raphaelbsr\billing\models;
use yii\base\Model;
/** |
php | */
public function testClassAutoConversionAsPartOfDataset(): void
{
// GIVEN model object with randomly set member value
$model_1_val = $this->getRandomString('model_1');
$model_1 = new TestModel($model_1_val);
$model_2_val = $this->getRandomString('model_2');
$model_2 = new TestModel($model_2_val);
$model_1_data_key = 'model-data-key_1';
$model_2_data_key = 'model-data-key_2';
// AND having its class configured for auto conversion |
php | */
public function store(Request $request)
{
$file = $request -> file('file');
$extension = $file->getClientOriginalExtension();
Storage::disk('local')->put($file->getFilename() . '.' . $extension, File::get($file));
$entry = new \App\File();
$entry -> mine = $file -> getClientMimeType();
$entry -> original_filename = $file->getClientOriginalName();
$entry -> filename = $file -> getFilename() . $extension;
$entry -> save(); |
php | * @see StripeType
*/
function it_should_be_a_symfony_form_type()
{
/** @noinspection PhpUndefinedMethodInspection */
$this->shouldBeAnInstanceOf(AbstractType::class);
}
/**
* @uses StripeType::getName()
*/
function it_should_return_name()
{ |
php | @extends('berichten.layout')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2> bericht</h2>
</div> |
php | class AdminLTEAsset extends AssetBundle
{
public $sourcePath = '@vendor/almasaeed2010/adminlte';
public $baseUrl = '@web';
public $css = [
'dist/css/AdminLTE.min.css',
'dist/css/skins/_all-skins.min.css',
];
public $js = [
'plugins/slimScroll/jquery.slimscroll.min.js',
'plugins/fastclick/fastclick.min.js',
'dist/js/app.min.js',
'dist/js/demo.js', |
php |
return $list;
}
public static function fromResponse($response): Handelsnaam
{
return new Handelsnaam(
self::pluckString('naam', $response),
self::pluckInteger('volgorde', $response)
);
} |
php | {
/**
* The console command name.
*
* @var string
*/
protected $name = 'data-migrate:uninstall';
/**
* The console command description.
* |
php | *
* This handles the save action.
*
* @see \Drupal\Core\Entity\EntityForm::build()
*/
function entityFormSave(array $form, FormStateInterface $form_state) {
if ($this->getSourceLangcode($form_state)) {
$entity = $form_state->getFormObject()->getEntity();
// We need a redirect here, otherwise we would get an access denied page,
// since the current URL would be preserved and we would try to add a
// translation for a language that already has a translation.
$form_state->setRedirectUrl($entity->urlInfo('edit-form'));
}
}
|
php | * @return object
* @todo implement return type Object
*/
public function getEntity()
{
return new class { |
php | $activity = new Activity();
$activity->setObjectives($objectives);
}
public function getObjectives()
{
$activity = new Activity();
return $activity->getObjectives();
}
public function toArray()
{
return [ |
php | @endforeach
<input type="hidden" name="name" form="brand-form" id="brand-name" >
<input type="hidden" name="active" form="brand-form" value="1" >
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn-primary btn-sm pull-left">{{ __('backoffice.save') }}</button> |
php | public function Tragedy() {
$this->load->model('Book_Model');
$data['books']=$this->Book_Model->get_books_in_category(5);
$data['category']="Tragedy";
$this->load->view('books.php', $data);
}
public function Comedy() {
$this->load->model('Book_Model'); |
php | }
public function presentation()
{
return $this->belongsTo(Presentation::class);
}
public function detailSale()
{
return $this->hasMany(SaleDetails::class);
}
|
php | 'nama' => $query->nama,
'password' => $query->password,
'tempatTinggal' => $query->tempatTinggal,
'statusPribadi' => $query->statusPribadi,
'donasi' => $query->donasi,
'salurdonasi' => $query->salurdonasi, |
php | <meta name="viewport" content="width=device-width">
<title>Cloudinary Image Upload</title>
<meta name="description" content="Prego is a project management app built for learning purposes">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="{{asset('css/style.css')}}">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header"> |
php | /**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
if(!$this->checkPermission())
return redirect('home');
$role = Role::all();
|
php |
protected $fillable = [ 'user_id', 'ujian_id', 'kecerdasan', 'kepribadian', 'kecermatan', 'status_ujian', ];
public function getSiswa()
{
return $this->belongsTo(User::class, 'user_id','id');
}
public function jawabanBenarKecerdasan()
{
return $this->hasMany(UjianSiswaJawabanKecerdasan::class, 'ujian_siswa_id','id')->where('benar', 1);
}
public function jawabanBenarKecermatan()
{ |
php | use App\Models\Post;
use Livewire\Component;
use Livewire\WithPagination;
class PostsIndex extends Component
{
use WithPagination;
//cambiar de tailwind a bootstrap
protected $paginationTheme= "bootstrap";
public $search;
//este metdodo sirve para cuando si estamos en otra opaginat, la url se resetee y este en la primera
//se activa cuando el valor de la propiedad search cambie. Despues se resetea la informacion a la pag 1 |
php | <?php
echo 'login error';
|
php | * @param string $type
*
* @return bool|string
*/
// public function createMiniQrcode($appid, $page, $width, $scene = '', $type = 'share_coterie')
// {
// |
php | class ReverseProxyUserProvider implements UserProviderInterface
{
/**
* Username
*
* @access protected
* @var string
*/
protected $username = '';
/**
* Constructor
*
* @access public
* @param string $username |
php | $description .= ' given';
return $description;
}
/**
* @return string
*/
public function toString()
{
return 'has header "Content-Type" and it\'s value is "application/json"'; |
php | <a href="{{URL::to('/',false)}}">
<img src="{{URL::asset('img/logo_big.png')}}" width="50px" height="50px"><span style="font-size:2em; vertical-align: top">HOME</span>
</a> |
php | <section class="container mt-3">
<h2><strong>FAQs</strong></h2>
<div class="hr mb-4"></div>
<h5><strong>1. How do I know that my order has been successfully submitted?</strong></h5>
<p class="text-secondary">You will receive an email confirmation containing the Order Number and details of your purchase.</p>
<hr>
<h5><strong>2. How is my order shipped?</strong></h5>
<p class="text-secondary">Orders are shipped during regular business days, excluding holidays. Any orders placed on Saturday or Sunday will be shipped the following Monday</p>
<hr>
<h5><strong>3. Can I change or cancel my order?</strong></h5>
<p class="text-secondary">If you wish to change or cancel your order, you are allowed to do so only before your item has been shipped. If your item's shipping label has already been created or if it's already been shipped, then you must wait to receive the order and pay to ship it back to us. Please contact us via our support page.</p>
<hr>
<h5><strong>4. What are the recommended browsers for this site?</strong></h5>
<p class="text-secondary">Google Chrome, Safari, Firefox, Internet Explorer</p> |
php | $orderList = $orderModel->orderList();
var_dump($orderList);
die();
$this->assign('orderList',$orderList);
return $this->fetch();
}
public function orderInfo() {
return $this->fetch();
}
|
php | $m = ERROR_BORRAR_PARAFISCALES;
if($r == TRUE){
$m = EXITO_BORRAR_PARAFISCALES;
}
echo $html->generaAviso($m, "?mod=" . $modulo . "&niv=1&task=list");
break;
/**
|
php | class Scribd extends \Embera\Adapters\Service
{
/** inline {@inheritdoc} */
protected $apiUrl = 'http://www.scribd.com/services/oembed/?format=json';
/** inline {@inheritdoc} */
protected function validateUrl()
{
$this->url->stripQueryString();
return (preg_match('~scribd\.com/doc/(?:[0-9]+)/(?:[^/]+)/?$~i', $this->url)); |
php | <a id="reset" onClick="return resetfields();" class="btn btn-default" href="javascript:void(0)">
<b class="fa fa-refresh"></b> Reset
</a>
</div>
</div>
</div>
</Div>
</div> |
php |
namespace Cocorico\CoreBundle\Repository;
use Cocorico\UserBundle\Entity\User;
use Doctrine\ORM\EntityRepository;
class AnnouncementToUserRepository extends EntityRepository
{
public function getAnnouncementsWithCache(User $user)
{
$qb = $this->createQueryBuilder('au')
->leftJoin('au.announcement', 'a')
->andWhere('au.user = :user')
->andWhere('au.dismissed = 0') |
php | use Illuminate\Http\Request;
use App\User;
use Auth;
use libphonenumber\geocoding\PhoneNumberOfflineGeocoder;
use libphonenumber\NumberParseException;
use libphonenumber\PhoneNumberToCarrierMapper;
use libphonenumber\PhoneNumberToTimeZonesMapper;
use libphonenumber\PhoneNumberUtil;
use libphonenumber\ShortNumberInfo; |
php | public $filter;
/**
* @var string
*/
private $text;
public function fromFilename($filename)
{
$file = new TextFileReader($filename);
$this->text = $file->getText();
return $this; |
php | namespace Database\Seeders;
use Illuminate\Database\Seeder;
class EggSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{ |
php |
/*
* term_id category name description pid path status
*/
//自动验证
protected $_validate = array(
//array(验证字段,验证规则,错误提示,验证条件,附加规则,验证时间)
array('name', 'require', '分类名称不能为空!', 1, 'regex', 3),
);
protected function _after_insert($data,$options){
parent::_after_insert($data,$options); |
php | defined('BASEPATH') OR exit('No direct script access allowed');
class User_permission_model extends MY_Model {
public $tbl_name = "tbl_user_permission";
}
/* End of file User_permission_model.php */ |
php | 'quantity',
'composition'
];
protected $hidden = [
'password',
'remember_token',
'api_token'
];
} |
php | {
GPBUtil::checkMessage($var, \Io\Colors::class);
$this->colors = $var;
return $this;
}
/**
* Generated from protobuf field <code>.io.Barcode barcode = 14;</code> |
php |
use App\Contracts\ForgotPasswordContract;
use App\Repositories\ForgotPasswordRepository;
class ForgotPasswordController extends Controller
{
public function __construct(ForgotPasswordContract $ForgotPassword)
{
$this->ForgotPassword = $ForgotPassword;
}
// ----------------------------------Forgot Password-----------------------------
public function sendOtpMail(Request $request)
{ |
php | ]
});
});
</script>
@endpush
{{-- @section('css')
<link rel="stylesheet" href="/css/admin_custom.css">
@stop --}}
{{-- @section('js') |
php | @foreach (config('app.import_fields_people') as $field)
<th>{{ $field }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($csv_data as $row)
<tr>
@foreach ($row as $key=>$value) |
php | <span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="">
<div class="form-group row"> |
php | $arr[] = array(
'username' => $row['username'],
'phoneNumber' => $row['tel'],
'email' => $row['email'],
'department' => $row['department'],
'isManager' => $row['is_manager']
|
php |
// Make a request message for Watson API in json
$data['input']['text'] = $_POST['message'];
if(isset($_POST['context']) && $_POST['context']){
$data['context'] = json_decode($_POST['context'], JSON_UNESCAPED_UNICODE); // Encode multibyte Unicode characters literally (default is to escape as \uXXXX)
}
$data['alternate_intents'] = false;
// Encode json data
$json = json_encode($data, JSON_UNESCAPED_UNICODE);
|
php | * User: ayisun
* Date: 2016/10/2
* Time: 10:02
*/
class decrypt_data |
php | <img src="<?= get_template_directory_uri() ?>/dist/assets/images/man.jpg" alt="man">
<a href="/single-article"><button type="button" class="button">Подробнее о статье</button></a>
</div>
<p>MotorGuide Xi3 – первый в России</p>
</div>
|
php | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class WorkingHour extends Model
{
protected $fillable = ['day', 'start_time', 'finish_time', 'id', 'peried', 'periodOut','user_id'];
}
|
php | <li class="team-member team-member-sm"><img class="rounded-circle"
src="assets/img/users/user-3.png" alt="user" data-toggle="tooltip" title=""
data-original-title="<NAME>"></li>
<li class="team-member team-member-sm"><img class="rounded-circle"
src="assets/img/users/user-4.png" alt="user" data-toggle="tooltip" title=""
data-original-title="<NAME>"></li>
<li class="team-member team-member-sm"><img class="rounded-circle"
src="assets/img/users/user-5.png" alt="user" data-toggle="tooltip" title=""
data-original-title="<NAME>"></li> |
php | 'delete' => ['POST'],
],
],
];
}
/** |
php | 'type' => 'Boolean',
],
'data_atualizacao' => [
'type' => 'Timestamp',
],
]);
|
php | $table->string('address');
$table->string('documentsTitle')->nullable();
$table->string('useOfProperty');
$table->string('bedrooms');
$table->string('bathrooms');
$table->string('toilets');
$table->bigInteger('price');
$table->string('additionalInfo')->nullable();
$table->string('currency')->nullable();
$table->string('duration')->nullable();
$table->dateTime('startDate')->nullable(); |
php | </div>
<div class="col-md-10">
<div class="margiv-top-10">
<input type="hidden" name="agent_id" value="<?php echo $youtube->agent_id; ?>"/>
<input type="hidden" name="id" value="<?php echo $youtube->id; ?>"/>
<button type="submit" class="btn green uppercase">Update video</button>
</div>
</div> |
php | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
</body>
</html> |
php | $no = 1;
foreach ($classrooms as $classroom) : ?>
<tr>
<td><?php echo $no++ ?></td>
<td><?php echo $classroom['name_classroom'] ?></td>
<td><?php echo $classroom['name_prody'] ?></td>
<td><?php echo $classroom['name_lecturer'] ?></td>
<td><?php echo $classroom['year_classroom'] ?></td> |
php | ORM::configure(
array(
'connection_string' => "mysql:host=" . DB_HOST . ";dbname=" . DB_NAME,
'username' => DB_USER,
'password' => <PASSWORD>,
'logging' => false,
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES cp1251; SET wait_timeout=28800;',
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_PERSISTENT => true,
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
) |
php | /**
* Provides twig functions for sitemap.
*/
interface SitemapTwigExtensionInterface extends \Twig_ExtensionInterface
{
/**
* Returns prefixed resourcelocator with the url and locale.
*/
public function sitemapUrlFunction($url, $locale = null, $webspaceKey = null);
/** |
php |
public static function get_gravatar( $email, $s = 80, $d = 'mm', $r = 'g', $img = false, $atts = array() ) {
$url = 'https://www.gravatar.com/avatar/';
$url .= md5( strtolower( trim( $email ) ) );
$url .= "?s=$s&d=$d&r=$r";
if ( $img ) {
$url = '<img src="' . $url . '"';
foreach ( $atts as $key => $val )
$url .= ' ' . $key . '="' . $val . '"'; |
php | $this->interventioncomplement = $interventioncomplement;
return $this;
}
/**
* Get interventioncomplement |
php | </tr>
<?php
endforeach;
else:
echo '<tr><td colspan="9">No result found.</td></tr>';
endif;?>
</tbody>
</table>
</div> |
php | <div class="form-group mb-0">
<label class="form-control-label" for="example3cols2Input">{{__('common.status')}}</label>
<select class="form-control custom-form-control" name="status" id="status" robot-test="corporate-index-status-search">
<option disabled>{{__('common.status')}}</option>
<option selected value="">{{__('common.all')}}</option>
<option value="ACTIVE">{{__('common.active')}}</option>
<option value="INACTIVE">{{__('common.inactive')}}</option>
</select>
</div>
</div>
</div> |
php | require($kuuTemplate->getFile('template_top.php'));
?>
<h2><i class="fa fa-home"></i> <a href="<?= KUUZU::link(FILENAME_DEFAULT); ?>"><?= STORE_NAME; ?></a></h2>
|
php | include_once "function.php";
include_once "database.php";
if(isset($_GET['option'])){
if($_GET['option'] == "upload_image")
echo "ok \n";
if($_FILES['photo']['name'])
echo "e pus";
}
?> |
php | * Register the application services.
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../config/initializer.php', 'initializer');
$this->app->bind('app.installer', \App\Install::class);
$this->app->bind('app.updater', \App\Update::class);
$this->app->bind(Runner::class, Run::class); |
php | </head>
<body <?php if($page['direction']) echo 'dir="rtl"' ?> >
<?php if(x($page,'banner')) echo $page['banner']; ?>
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<?php if(x($page,'nav')) echo $page['nav']; ?></nav>
<main>
<div class="content">
<div class="columns">
<aside id="region_1"><div class="aside_spacer_top_left"></div><div class="aside_spacer_left"><div id="left_aside_wrapper" class="aside_wrapper"><?php if(x($page,'aside')) echo $page['aside']; ?></div></div></aside>
<section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
<div id="pause"></div>
</section> |
php | }
if(!isset($map_width))
{
$map_width=680;
}
if(!isset($map_height))
{
$map_height=280;
}
|
php | $form->addInput("prestige_out", new \Quantyl\Form\Fields\Percentage(\I18n::PRESTIGE_OUT()))
->setValue($this->prefecture->prestige_out);
}
public function onProceed($data) {
$this->prefecture->prestige_in = $data["prestige_in"] ;
$this->prefecture->prestige_out = $data["prestige_out"] ;
$this->prefecture->update() ;
}
}
|
Subsets and Splits