Jump to content

Pilot Roster - Current Location


ThomasH

Recommended Posts

  • Moderators

Hi the code to display the pilots current position in their profile is,

<?php echo $report->arricao;?>

Not sure if it will work in the pilots page, you could try something like,

<?php echo $userinfo->arricao;?>

See if that gives you anything, im sure someone more proficient in code will be along soon :lol:

Link to comment
Share on other sites

Ok, this is my code in pilots_list.tpl:

39 <center><td><?php echo $userinfo->arricao;?></td></center>

40 </tr>

41 </tbody>

42 </table>

But becom error message in the browser:

Parse error: syntax error, unexpected $end in /kunden/265414_32756/html/phpvms/core/templates/pilots_list.tpl on line 43

hmm, can you help me?

Link to comment
Share on other sites

   <center><td><?php $last_location = PIREPData::getLastReports($pilot->pilotid, 1, PIREP_ACCEPTED);
echo $last_location->arricao ; ?>
</td></center>
</tr>
 </tbody>
</table>

And then come:

Parse error: syntax error, unexpected $end in /kunden/265414_32756/html/phpvms/core/templates/pilots_list.tpl  on line 45

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...