// where to start from, expressed as an offset in hours from now
$rough_start=time()+$leases_offset*3600;
-// show the next 36 grains
$duration=$leases_slots*$leases_granularity;
$steps=$duration/$leases_granularity;
$start=intval($rough_start/$leases_granularity)*$leases_granularity;
if ( ! $leases_offset ) $leases_offset=0;
// how many timeslots to show
$leases_slots=$_GET['leases_slots'];
- if ( ! $leases_slots ) $leases_slots = 48;
+ if ( ! $leases_slots ) $leases_slots = 36;
// offset in hours (in the future) from now
$leases_w = $_GET['leases_w'];
- if ( ! $leases_w) $leases_w=14;
+ if ( ! $leases_w) $leases_w=18;
// number of timeslots to display
$granularity=$api->GetLeaseGranularity();