Jump to content

mattsmith

Members
  • Content count

    365
  • Joined

  • Last visited

Community Reputation

35 Excellent

5 Followers

About mattsmith

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://libertyairva.com

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mattsmith

    WingsJet- We fly you love !

    Preferably in English
  2. mattsmith

    https Warning

    I an getting a "your connection is not private" warning on my pc
  3. mattsmith

    Let's Partner Up!

    Site Down !
  4. mattsmith

    How Do You Put vaCentral On Your Va Site?

    Just paste it at the bottom of local.config,php
  5. mattsmith

    Pilot Stats on front page

    I'm trying to get the pilots stats to show on my front page, i have added the following code to frontpage_main.php but it's not pulling the data. <ul class="list-group"> <li class="list-group-item"><span class="badge"><?php echo $userinfo->totalflights?></span>Total Flights</li> <li class="list-group-item"><span class="badge badge-default"><?php echo $userinfo->totalhours; ?></span>Total Hours</li> <li class="list-group-item"><span class="badge badge-primary"><?php echo $userinfo->transferhours?></span>Transfer Hours</li> <li class="list-group-item"><span class="badge badge-success"><?php echo FinanceData::FormatMoney($userinfo->totalpay) ?></span>Pay</li> <li class="list-group-item"><span class="badge badge-warning"><?php echo $nextrank->rank?></span>Next Rank</li> <li class="list-group-item"><span class="badge badge-warning"><?php echo ($nextrank->minhours - $pilot_hours)?></span>Hrs until Next Rank</li> </ul>
  6. mattsmith

    Ranks

    How do you view all the ranks on a page?
  7. mattsmith

    Login Box

    I have added the pilot login to frontpage_main so it shows up on the main site. How do i make it disapear once logged in?
  8. mattsmith

    vAwards

    How can you delete an award?
  9. mattsmith

    Contact from email

    Thanks that worked.
  10. mattsmith

    Contact from email

    If i try changing ADMIN_EMAIL to the email address i get an error that there is an @ on line 66
  11. mattsmith

    Contact from email

    <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <h3>Contact Us</h3> <form method="post" action="<?php echo url('/contact'); ?>"> <table width='100%' border='0'> <tr> <td><strong>Name:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname.'" />'; } else { ?> <input type="text" name="name" value="" /> <?php } ?> </td> </tr> <tr> <td width="1%" nowrap><strong>E-Mail Address:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->email; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->email.'" />'; } else { ?> <input type="text" name="email" value="" /> <?php } ?> </td> </tr> <tr> <td><strong>Subject: </strong></td> <td><input type="text" name="subject" value="<?php echo $_POST['subject'];?>" /></td> </tr> <tr> <td><strong>Message:</strong></td> <td> <textarea name="message" cols='45' rows='5'><?php echo $_POST['message'];?></textarea> </td> </tr> <tr> <td width="1%" nowrap><strong>Captcha</strong></td> <td> <?php if(isset($captcha_error)){echo '<p class="error">'.$captcha_error.'</p>';} ?> <div class="g-recaptcha" data-sitekey="<?php echo $sitekey;?>"></div> <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=<?php echo $lang;?>"> </script> </td> </tr> <tr> <td> <input type="hidden" name="loggedin" value="<?php echo (Auth::LoggedIn())?'true':'false'?>" /> </td> <td> <input type="submit" name="submit" value='Send Message'> </td> </tr> </table> </form>
  12. mattsmith

    Contact from email

    I use the custom phpvms contact form.
  13. mattsmith

    Contact from email

    Is there a way of changing the email that the contact form sends to? I want all contact emails to go to my CEO
  14. How do you change all the blue colour
×