Jump to content

Welcome newest Pilot.


MAT

Recommended Posts

<div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?>


         Welcome Alaska Adventures Newest Pilot:
               <?php
                   foreach ($newpilot as $pilot)
                               {
                                   echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')';
                               }
               ?>
       </div>

CSS:

.clean-welcome{
	border:solid 1px #349534; 
	background:#C9FFCA;
	color:#008000;
	font-weight:bold;
	padding:4px;
	text-align:center;
}

Link to comment
Share on other sites

<div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?>


         Welcome Alaska Adventures Newest Pilot:
               <?php
                   foreach ($newpilot as $pilot)
                               {
                                   echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')';
                               }
               ?>
       </div>

CSS:

.clean-welcome{
	border:solid 1px #349534; 
	background:#C9FFCA;
	color:#008000;
	font-weight:bold;
	padding:4px;
	text-align:center;
}

There is a error, it appears with

.clean-welcome{                 border:solid 1px #349534;                  background:#C9FFCA;                 color:#008000;                 font-weight:bold;                 padding:4px;                 text-align:center;         }              Welcome Sky Service Newest Pilot:                 Matthew Talbot (SKY0001)        

but just text on my site

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

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