bass Posted November 2, 2015 Report Share Posted November 2, 2015 Hi, I try to make a new kind of pattern but always goes awry or no shows. Now this kind of I wanted to make such a http://va-airlaguna.do.am/rout.html This harvesting net Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 3, 2015 Moderators Report Share Posted November 3, 2015 please be more specific as to what exactly you are trying to achieve here. I understand you want a boarding pass as shown in the picture but where do you want to show it and what code have you tried so far? Quote Link to comment Share on other sites More sharing options...
web541 Posted November 3, 2015 Report Share Posted November 3, 2015 I'm sure there's a better way to do this, but here's a quick solution <?php # This will only show this message if it's not a popup window # Ends on line 13-15 if(!isset($_GET['newwindow'])) { ?> <h3>Requirements for Online Checkin</h3> <p>To proceed through Security Checkpoint, you will need a government-issued photo ID and either a Boarding Pass or Security document. <br /> Customers under 18 years of age are not required to show government-issued photo ID.</p> <p><a href="#" onclick="window.open('<?php echo actionurl('/schedules/boardingpass/'.$schedule->id.'?newwindow');?>'); return false;">Open in new window for printing</a></p> <?php } ?> <style> /* Some integrated styles here, for the popup */ #pass1 { background-image: url(http://va-airlaguna.do.am/12.png); background-repeat: no-repeat; padding-bottom:300px; } </style> <div id="pass1"> <p style="position:absolute;margin-left:173px; padding-top:100px;"> <strong><?php echo chr(rand(65, 90)); echo rand(1, 30); ?></strong></p><br /> <p style="position:absolute;margin-left:284px; padding-top:80px;"> <strong><?php echo chr(rand(65, 90)); ?></strong> <br /></p> <p style="position:absolute;margin-left:440px; padding-top:80px;"> <strong> <?php echo $schedule->flightlevel; ?> </strong> <br /></p> <p style="position:absolute;margin-left:230px; padding-top:129px;"> <strong> Внутренний </strong> <br /></p> <p style="position:absolute;margin-left:170px; padding-top:190px;"> <strong> <?php echo "$schedule->depicao";?> </strong> <br /></p> <p style="position:absolute;margin-left:376px; padding-top:190px;"> <strong> <?php echo "$schedule->arricao";?> </strong> <br /></p> <p style="position:absolute;margin-left:170px; padding-top:225px;"> <strong> <?php echo $schedule->code.$schedule->flightnum?> </strong> <br /></p> <p style="position:absolute;margin-left:588px; padding-top:75px;"> <strong> <?php echo $schedule->deptime; ?> </strong> <br /></p> <p style="position:absolute;margin-left:588px; padding-top:130px;"> <strong> <?php echo $schedule->arrtime; ?> </strong> <br /></p> <p style="position:absolute;margin-left:590px; padding-top:170px;"> <strong> <?php echo $schedule->aircraft?> </strong> <br /></p> <p style="position:absolute;margin-left:660px; padding-top:60px;"> <img src="http://va-airlaguna.do.am/3xqzq-Earth_Rotation_Animation.gif" style="height:40%;width:40%;" alt="Rotating Globe" /> <br /></p> </div> Quote Link to comment Share on other sites More sharing options...
bass Posted November 3, 2015 Author Report Share Posted November 3, 2015 Super!))) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.