Changeset 4
- Timestamp:
- Sep 8, 2016, 11:14:39 PM (8 years ago)
- Location:
- trunk/Modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Map/Map.php
r1 r4 142 142 array_shift($WayPoints); 143 143 array_pop($WayPoints); 144 if(count($WayPoints) > 0) 145 $WaypointsQuery = '&waypoints='.implode('|', $WayPoints); 146 else $WaypointsQuery = ''; 144 147 145 148 $Output = '<iframe width="'.$this->Width.'" height="'.$this->Height.'" frameborder="0" scrolling="no" '. 146 149 'marginheight="0" marginwidth="0" src="'.'https://www.google.com/maps/embed/v1/directions'. 147 '?key='.$this->Key.'&origin='.$this->Path[0]. '&waypoints='.implode('|', $WayPoints).150 '?key='.$this->Key.'&origin='.$this->Path[0].$WaypointsQuery. 148 151 '&destination='.$this->Path[count($this->Path) - 1].''. 149 152 '" style="border: 1px solid black"></iframe>'; -
trunk/Modules/Ride/Ride.php
r3 r4 70 70 `Sequence` int(11) NOT NULL, 71 71 `Price` int(11) NOT NULL, 72 `PassengerCount` int(11) NOT NULL,73 72 PRIMARY KEY (`Id`), 74 73 KEY `Ride` (`Ride`) … … 83 82 `RideStopFrom` int(11) NOT NULL, 84 83 `RideStopTo` int(11) NOT NULL, 84 `PassengerCount` int(11) NOT NULL, 85 85 PRIMARY KEY (`Id`), 86 86 KEY `User` (`User`), … … 130 130 $Output = '<img src="" width="200" height="50" alt="Logo"/> '. 131 131 '<a href="'.$this->System->Link('/hledat/').'">Hledat jízdu</a> nebo '. 132 '<a href="'.$this->System->Link('/n abídnout/').'">Nabídnout jízdu</a>';132 '<a href="'.$this->System->Link('/nova-jizda/').'">Nabídnout jízdu</a>'; 133 133 return($Output); 134 134 } … … 343 343 '<tr><td> </td></tr>'; 344 344 } 345 $Output .= '</table ';345 $Output .= '</table>'; 346 346 347 347 return($Output); … … 465 465 'Price' => $TrackItem['Price'], 466 466 'Sequence' => $Index, 467 'PassengerCount' => 0, 467 468 )); 468 469 }
Note:
See TracChangeset
for help on using the changeset viewer.