Jump to content

FlyingMachine

Members
  • Posts

    160
  • Joined

  • Last visited

Everything posted by FlyingMachine

  1. i think this matter have no effect logout was modified to redirect to specified page header('Location: '.url('../../../')); and profile_edit.tpl some modifications on the structures looking forwards,
  2. Hello sir, indeed the prefix changed however, i edited two files after uploading checkinstall.php i got [Checksum failed] /core/modules/Logout/Logout.php did not match, possibly corrupt or out of date [Checksum failed] /core/templates/profile_edit.tpl did not match, possibly corrupt or out of date theses files modified that's all
  3. Time: 04.04.15 20:37:48 Backtrace: DB::write_debug > DB::query > PilotData::updateProfile > Auth::ProcessLogin > Login->ProcessLogin > Login->login > Login->index > call_user_func_array > MainController::RunAllActions Query: UPDATE phpvmsramnewone_pilots SET `lastlogin`=NOW(), `lastip`='41.140.133.243' WHERE `pilotid`= Error: (1064) - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ===== i got this error
  4. In default layout, Welcome Back <strong><?php echo Auth::$userinfo->firstname ?> <?php echo Auth::$userinfo->lastname ?></strong> !<br /> Pilot ID: <strong><?php echo $pilotid ; ?> </strong><br /> Total Hours: <strong><?php echo Auth::$userinfo->totalhours;?></strong><br /> You RAM Rank: <strong><?php echo Auth::$userinfo->rank;?></strong><br />
  5. Thank your for help this one the same problem <?php echo $pilotid ; ?>
  6. Hello dears, i would like to redirect users after logout to specific website caue the pilot center is in subdomaine also the phpvms i would like to redirect members to specific pages for ex: phpvms.domain.com to domain.com thanks in advance
  7. Hello everybody again, i hope this topic finds you well, after editing the default layout.tpl i get this code <p><strong>Welcome back<?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?>!</strong></p> from the template profile_main.tpl and put it in the layout.tpl seems nothing happen only Welcome Back! but regarding the user firstname ... not. for information i tried many codes doesn't work too in this templat which is layout.tpl looking forward,
  8. i have resolved the problem by changin this code <?php echo url('/login'); ?> by simple url, the question how i can make this page know and discover the abbreviation of phpvms such echo url...and make the exception if the user already logged in it will show the pilot center without login form thanks in advance
  9. thank your itroob i did, unfortunately the form doesn't work this is the code looking for your helo <head> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <title>PilotCenter - Login Page</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Expand, contract, animate forms with jQuery wihtout leaving the page" /> <meta name="keywords" content="expand, form, css3, jquery, animate, width, height, adapt, unobtrusive javascript"/> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script src="js/cufon-yui.js" type="text/javascript"></script> <script src="js/ChunkFive_400.font.js" type="text/javascript"></script> <script type="text/javascript"> Cufon.replace('h1',{ textShadow: '1px 1px #fff'}); Cufon.replace('h2',{ textShadow: '1px 1px #fff'}); Cufon.replace('h3',{ textShadow: '1px 1px #000'}); Cufon.replace('.back'); </script> </head> <body> <div class="wrapper"> <center> <img src="images/logo-login.png" /></center> <div class="content"> <div id="form_wrapper" class="form_wrapper"> <form class="login active"> <h3><center>Pilot Center Access</center></h3> <div> <label>Pilot ID:</label> <input type="text" name="email" /> <span class="error">This is an error</span> </div> <div> <label>Password:</label> <input type="password" name="password" /> <center><a href="forgot_password.html" rel="forgot_password" class="forgot linkform">Forgot your password?</a></center> <span class="error">This is an error</span> </div> <div class="bottom"> <div class="remember"><input type="checkbox" name="remember" /><span>Keep me logged in</span></div> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Log In" /> <div class="clear"></div> </div> </form> <form class="forgot_password"> <h3>Forgot Password</h3> <div> <label>Username or Email:</label> <input type="text" /> <span class="error">This is an error</span> </div> <div class="bottom"> <input type="submit" value="Send reminder"></input> <a href="index.html" rel="login" class="linkform">Suddenly remebered ? Log in here</a> <div class="clear"></div> </div> </form> <form name="loginform" action="<?php echo url('/login'); ?>" method="post"> Sign-in with your pilot id or email, or <a href="<?php echo url('/registration'); ?>">register</a><br /> <input type="text" name="email" value="" onclick="this.value=''" /> <input type="password" name="password" value="" /> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Log In" /> </form> </div> <div class="clear"></div> </div> </div> <!-- The Javascript --> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> $(function() { //the form wrapper (includes all forms) var $form_wrapper = $('#form_wrapper'), //the current form is the one with class active $currentForm = $form_wrapper.children('form.active'), //the change form links $linkform = $form_wrapper.find('.linkform'); //get width and height of each form and store them for later $form_wrapper.children('form').each(function(i){ var $theForm = $(this); //solve the inline display none problem when using fadeIn fadeOut if(!$theForm.hasClass('active')) $theForm.hide(); $theForm.data({ width : $theForm.width(), height : $theForm.height() }); }); //set width and height of wrapper (same of current form) setWrapperWidth(); /* clicking a link (change form event) in the form makes the current form hide. The wrapper animates its width and height to the width and height of the new current form. After the animation, the new form is shown */ $linkform.bind('click',function(e){ var $link = $(this); var target = $link.attr('rel'); $currentForm.fadeOut(400,function(){ //remove class active from current form $currentForm.removeClass('active'); //new current form $currentForm= $form_wrapper.children('form.'+target); //animate the wrapper $form_wrapper.stop() .animate({ width : $currentForm.data('width') + 'px', height : $currentForm.data('height') + 'px' },500,function(){ //new form gets class active $currentForm.addClass('active'); //show the new form $currentForm.fadeIn(400); }); }); e.preventDefault(); }); function setWrapperWidth(){ $form_wrapper.css({ width : $currentForm.data('width') + 'px', height : $currentForm.data('height') + 'px' }); } /* for the demo we disabled the submit buttons if you submit the form, you need to check the which form was submited, and give the class active to the form you want to show */ $form_wrapper.find('input[type="submit"]') .click(function(e){ e.preventDefault(); }); }); </script> </body>
  10. Good morning all im trying to customize login form make separated login area for the pilots, i need some help about the login forms info, i created this form, i will put the link not for adversting issue only for help http://pilotcenter.royalairmarocvirtual.com it's a clean html, what php codes i should to integrate in this page to work perfectly, looking forward,
  11. sorry for misunderstanding, php version 5.4.28
  12. Hello mates, the problem resolved but after begining the installation steps another probelm occured Warning: Creating default object from empty value in..... and many other error message appears on top of website ...... e/classes/Vars.class.php on line 74 Strict Standards: Accessing static property PilotAdmin::$post as non static in /home....../CodonModule.class.php on line 67 Strict Standards: Accessing static property PilotAdmin::$get as non static in /home/.... it's a long message. looking forward,
  13. please can u give me the post number or the link ?
  14. in case nothing found in this folder is there any step to close this vulnerability exploit ???
  15. Good day anyway to book flight twice time or moret the same flight ? now after someone book the flight nobody can take it again it's possible to make it available more than 1 (the same flight) ?
  16. no of theses answers are useful yours faithfully
  17. Good day sometimes when i try to enter a code or link of a javascript calling bellow this line <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> work great but when i go to try to Book a flight message appear after click above Add to Bid no route passe ??? any solutions ?
  18. there's default event i want to change my XML on site for any pilot download the files for acars events will be registred
  19. nope anyone don't know this tuc to do it normally automatically
  20. the code to display ranodm pictures doesn't work <?php Screenshots::show_random_screenshot(); ?> /core/classes/TemplateSet.class.php on line 248
×
×
  • Create New...