Jump to content

Briefing


Artjom

Recommended Posts

I've a questions,

how can I do

1. that's in the Briefing shows the firstname and lastname pilot??

2. tahat's the time-not a single number 1:20 and the conclusions separately at first hours : minutes example: (<?php echo "{$schedule->deptimehours}"; ?>:<?php echo "{$schedule->deptimeseconds}"; ?>)

  • Like 1
Link to comment
Share on other sites

I need to at VATSIM plan was already full, here is my link:

<a class="post" href="http://www.vatsim.net/fp/?2=<?php echo $schedule->flightnum; ?>&3=<?php echo "{$schedule->aircraft}"; ?>&4=none&5=<?php echo "$schedule->depicao"; ?>&6=<?php echo "{$schedule->deptime}"; ?>&7=<?php echo "{$schedule->flightlevel}"; ?>&8=<?php if($schedule->route == ''){echo '<br />';}else{echo strtoupper($schedule->route);}?>&9=<?php echo "$schedule->arricao"; ?>&10a=HOURTIME&10b=HOURMINUTES&11=HERELINK& target="_blank">VATSIM</a>

Link to comment
Share on other sites

To get the hour/minute you can do:

<?php
$time = explode(':', $schedule->deptime);
$hour = $time[0];
$minute = $time[1];

Something like that should work

Thanks Nabeel for your Replay

I've add your code into schedules_briefing.tpl

but that isn't work

<?php
$time = explode(':', $schedule->deptime);
$hour = $time[0];
$minute = $time[1];
?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...