This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readOnly: false | |
β | |
readOnlyDataRimessaInConsegna: true | |
β | |
readOnlyDataRitiroFermoDeposito: true | |
β | |
readOnlyDestinatario: true | |
β | |
readOnlyDestinatarioCAP: true | |
β |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scegli(id){ | |
var checkedCount=0; | |
var uncheckCount=0; | |
var items = $j("." + id); | |
for(i=0; i<items.length; i++){ | |
if($j(items[i]).attr('checked')=='checked'){ | |
checkedCount++; | |
}else{ | |
uncheckCount++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$http = new Client([ | |
'host' => '216.107.137.5', | |
'proxy' => [ | |
'username' => 'dario', | |
'password' => '***', | |
'port' => 29226, | |
] | |
]); | |
$response = $http->get('http://www.mio-ip.it/'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function _initializeSchema(\Cake\Database\Schema\Table $table) | |
{ | |
$table->columnType('image', 'proffer.file'); | |
$table->columnType('logo_big', 'proffer.file'); | |
$table->columnType('logo_active', 'proffer.file'); | |
$table->columnType('logo_inactive', 'proffer.file'); | |
return $table; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT id, | |
( SELECT COUNT(*) | |
FROM ads_regions | |
WHERE ads_regions.ad_id = ads.id | |
) AS "total_regions" | |
FROM ads |