Jump to content

Badge thing [Solved]


Daniel

Recommended Posts

  • Moderators

You mean that... confirm? phpvms.png

If yes you can go to lid->skins-> you skin name->layout.tpl and add this

		<?php
	}	
	/* End the Auth::LoggedIn() if */
	else /* else - they're logged in, so show some info about the pilot, and a few links */
	{

	/*	Auth::$userinfo has the information about the user currently logged in
		We will use this next line - this gets their full pilot id, formatted properly */
	$pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
	?>

	<img align="left" height="50px" width="50px" style="margin-right: 10px;"
		src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />

	<strong>Pilot ID: </strong> <?php echo $pilotid ; ?>
	<strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br />
	<strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?>
	<br />
	<a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> | 
	<a href="<?php echo url('/schedules/bids');?>">View My Bids</a> | 
	<a href="<?php echo url('/logout/');?>">Log Out</a>
	<?php
	} /* End the else */
	?>
	</div>
</div>			

Under the:

			<input type="hidden" name="action" value="login" />
		<input type="submit" name="submit" value="Log In" />
		</form>

If you do not, try to explain us again what do you mea ;)

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