# Route Operator

**URL:** <https://forum.phpvms.net/t/route-operator/10007>\
**Category:** Development Help\
**Created:** [February 14, 2015, 8:57pm UTC](https://forum.phpvms.net/t/route-operator/10007 "2015-02-14T20:57:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![miniarma](https://forum.phpvms.net/user_avatar/forum.phpvms.net/miniarma/32/139_2.png) [@miniarma](https://forum.phpvms.net/u/miniarma)\
**Post date:** [February 14, 2015, 8:57pm UTC](https://forum.phpvms.net/t/route-operator/10007/1 "2015-02-14T20:57:13Z")

</div>

Hey guys,

Not the best when it comes to this and will need a little help. I am looking to implement something which seems simple, for each schedule I want to be able to add “Airline which operates this route” with the option to add an airline logo.

So with this added, on schedule search it will show in the results the airline logo on each individual schedule and also on the briefing page and live flight map.

If anyone knows of how to do this or is willing to make it or guide me then that will be helpful. If payment is needed then I will pay you

Many thanks & hope I made sense

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [February 14, 2015, 9:05pm UTC](https://forum.phpvms.net/t/route-operator/10007/2 "2015-02-14T21:05:40Z")

</div>

Just use the airline code option (screenshot below of an example) to give the flight the correct ICAO code for the airline then create some images that are named the same as the code.

ie: UAL.png - AAL.png - etc..

Then in your template you can use something like,

```
<img src="PATHTOMYIMAGE/<?php echo $schedule->code; ?>.png" alt="<?php echo $schedule->code; ?>" />

```

You will have to adjust the variable to whatever it is declared as in the template you are using.

That is how I have done it in the past.

![post-198-0-09404900-1423948155.png](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/4/4d23fffed8055f018fe9e195b5c453977d931889.png)

---

<div class="post-metadata">

**Author:** ![miniarma](https://forum.phpvms.net/user_avatar/forum.phpvms.net/miniarma/32/139_2.png) [@miniarma](https://forum.phpvms.net/u/miniarma)\
**Post date:** [February 14, 2015, 9:41pm UTC](https://forum.phpvms.net/t/route-operator/10007/3 "2015-02-14T21:41:11Z")

</div>

Oh right ok. Thanks Simpilot, I’ll have a mess around now and see what I can do thank you

---

<div class="post-metadata">

**Author:** ![miniarma](https://forum.phpvms.net/user_avatar/forum.phpvms.net/miniarma/32/139_2.png) [@miniarma](https://forum.phpvms.net/u/miniarma)\
**Post date:** [February 14, 2015, 10:51pm UTC](https://forum.phpvms.net/t/route-operator/10007/4 "2015-02-14T22:51:07Z")

</div>

It’s working great in the schedule briefing I really appreciate your help !

When trying to call the following functions they pull no data

```
<?php echo $airline->name; ?>

```

---

<div class="post-metadata">

**Author:** ![Industrialshadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/industrialshadow/32/97_2.png) [@Industrialshadow](https://forum.phpvms.net/u/Industrialshadow)\
**Post date:** [August 22, 2016, 6:39pm UTC](https://forum.phpvms.net/t/route-operator/10007/5 "2016-08-22T18:39:13Z")

</div>

Hello thats a good feature.

Where can i add all the details. Can anybody help me specially i dont see the airline image.

---

<div class="post-metadata">

**Author:** ![Industrialshadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/industrialshadow/32/97_2.png) [@Industrialshadow](https://forum.phpvms.net/u/Industrialshadow)\
**Post date:** [August 22, 2016, 8:07pm UTC](https://forum.phpvms.net/t/route-operator/10007/6 "2016-08-22T20:07:12Z")

</div>

> Hello thats a good feature.
> 
> Where can i add all the details. Can anybody help me specially i dont see the airline image.

its solved
