Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by mattsmith

  1. I an getting a "your connection is not private" warning on my pc
  2. Just paste it at the bottom of local.config,php
  3. 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>
  4. mattsmith


    How do you view all the ranks on a page?
  5. 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?
  6. mattsmith


    How can you delete an award?
  7. If i try changing ADMIN_EMAIL to the email address i get an error that there is an @ on line 66
  8. <?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>
  9. I use the custom phpvms contact form.
  10. Is there a way of changing the email that the contact form sends to? I want all contact emails to go to my CEO
  11. How do i change this code so it will show a background image from another folder..... (images/fraport.jpg) <body class="hold-transition login-page" style="background-color: #222222;">
  12. I want to show it in the profile_main Error: Warning: Invalid argument supplied for foreach() in /home/u230581216/public_html/lib/skins/crewcenter/profile_main.php on line 119
  13. Can someone tell me the code to show a pilots last 5 flights.
  14. I'm trying to put the recent bids in the bookings column but it just keeps going underneath, any help would be much appreciated. Here is the Code: <style> table, th, td { border: 1px solid black; } </style> </head> <body> <table width="200"> <table width="1300"> <tr> <th>Team Speak</th> <th>Bookings</th> </tr> <tr> <td><div id="ts3viewer_1096623" style=""> </div> <script src="https://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script> <script> var ts3v_url_1 = "https://www.tsviewer.com/ts3viewer.php?ID=1096623&text=757575&text_size=12&text_family=1&text_s_color=000000&text_s_weight=normal&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_i_color=&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_c_color=&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_u_color=000000&text_u_weight=normal&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_s_color_h=&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=none&text_i_color_h=000000&text_i_weight_h=bold&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=none&text_c_color_h=&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=none&text_u_color_h=&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none&iconset=default"; ts3v_display.init(ts3v_url_1, 1096623, 100); </script> <td><?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?></td> </div></td> </tr> </table>
  15. Start by getting paid hosting, free hosting gives lots of problems.
  16. Get paid hosting fixes a lot of errors as free hosting doesn't work properly.
  • Create New...