
maxudaskin
Members-
Posts
628 -
Joined
-
Last visited
Everything posted by maxudaskin
-
It is down...
-
Ah Good Ol' Google! He November-Three-Five-Zero-Charlie_Alpha... Ironic, your name is American, but you sport an Air Canada Logo... btw, the CASA C-212 A10 is reeeaaal interesting http://www.airliners.net/open.file/0500931/L/ Ah Good ol' Aviation fans. But technically it would be November-Three-Five-Zeewo-Charlie_Alpha The Zero is pronounced Zeewo. So question do you use Flight Simulator? maybe we could meet up on Teamspeak? Also what VA Do You fly for. But yes I should have my name set to C-350CA But Ohwell Whata Gonna do this is the name I chose 3 years ago when i didnt know the Canadian IATA Registration Regulations. But now I do but even thought I am a canadian I am not changing my name! Always nice to meet a flight freak like myself! Lol... http://www.virtualzoom.net It is under construction though...
-
Ah Good Ol' Google! He November-Three-Five-Zero-Charlie_Alpha... Ironic, your name is American, but you sport an Air Canada Logo... btw, the CASA C-212 A10 is reeeaaal interesting http://www.airliners.net/open.file/0500931/L/
-
How would I go around having a PHP created image with a verification varchar?
-
It is two cells of a table... I want the DIVs to be invisible.
-
I do not want it invisible, I want it to be there. The way I have it now is that it just makes it not appear, but it still takes up the space, I do not want it to take up the space when it is not visible.
-
How would I go about having a table cell with 4 divs, invisible, and when someone rolls over a menu item, one of them appear. The only thing is, It cannot be invisible to visible... I need it to not take up the space when it is not in visible... any help? <style type="text/css"> <!-- body { margin-bottom: 0px; } .style1 {color: #FFFFFF} #human_resources{visibility:hidden;} #operations{visibility:hidden} #airline_information{visibility:hidden} #communications{visibility:hidden} .style2 {color: #333366; } --> </style> <html><body> <tr> <td width="20%" height="30" align="center" valign="middle" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366';MM_showHideLayers('human_resources','','hide','operations','','hide','airline_information','','hide','communications','','hide')" onMouseOut="this.style.backgroundColor='#333355'" >Home</td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366';MM_showHideLayers('human_resources','','show','operations','','hide','airline_information','','hide','communications','','hide')" onMouseOut="this.style.backgroundColor='#333355'">Human Resources</td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Operations</span></td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Airline Information</span></td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Communications</span></td> </tr> <tr> <td height="25%" colspan="5" align="center" valign="top" bgcolor="#FFFFFF"><div class="style2" id="human_resources" onmouseout="MM_showHideLayers('human_resources','','hide')">Job Application | Available Positions | Legal Information</div> <div class="style2" id="operations">Login | Hanger | Flight Map | Hubs</div> <div class="style2" id="airline_information">Staff | Mission | Statistics | Zoom Airlines</div> <div class="style2" id="communications">Teamspeak | Forum | Contact</div><hr /></td> </tr></body></html>
-
How would I go about having a table cell with 4 divs, invisible, and when someone rolls over a menu item, one of them appear. The only thing is, It cannot be invisible to visible... I need it to not take up the space when it is not in visible... any help? <style type="text/css"> <!-- body { margin-bottom: 0px; } .style1 {color: #FFFFFF} #human_resources{visibility:hidden;} #operations{visibility:hidden} #airline_information{visibility:hidden} #communications{visibility:hidden} .style2 {color: #333366; } --> </style> <html><body> <tr> <td width="20%" height="30" align="center" valign="middle" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366';MM_showHideLayers('human_resources','','hide','operations','','hide','airline_information','','hide','communications','','hide')" onMouseOut="this.style.backgroundColor='#333355'" >Home</td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366';MM_showHideLayers('human_resources','','show','operations','','hide','airline_information','','hide','communications','','hide')" onMouseOut="this.style.backgroundColor='#333355'">Human Resources</td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Operations</span></td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Airline Information</span></td> <td width="20%" height="30" align="center" valign="middle" bgcolor="#FFFFFF" style="background-color:#333355; color:#FFFFFF" onMouseOver="this.style.backgroundColor='#333366'" onMouseOut="this.style.backgroundColor='#333355'"><span class="style1">Communications</span></td> </tr> <tr> <td height="25%" colspan="5" align="center" valign="top" bgcolor="#FFFFFF"><div class="style2" id="human_resources" onmouseout="MM_showHideLayers('human_resources','','hide')">Job Application | Available Positions | Legal Information</div> <div class="style2" id="operations">Login | Hanger | Flight Map | Hubs</div> <div class="style2" id="airline_information">Staff | Mission | Statistics | Zoom Airlines</div> <div class="style2" id="communications">Teamspeak | Forum | Contact</div><hr /></td> </tr></body></html>
-
I have a little bit of a script that is not functioning properly. Is there anything wrong? <?php $constructionsql = mysql_query("SELECT value FROM config WHERE name='construction'"); while($constructionresult = mysql_fetch_array($constructionsql)){ $construction = $constructionresult['value']; } echo 'Construction = '.$construction; if($construction=1){ echo '<table width="98%" border="0" cellpadding="0">'; echo '<tr>'; echo '<td><div class="status_box">'; echo '<h1 style="text-align: center;" class="status_message status_note">This website is currently under construction.</h1>'; echo '</div></td>'; echo '</tr>'; echo '</table>'; }else{}} ?> When I call construction() it will always echo the table and contents. Right now, construction = 0.
-
Wow... all I can say is Wow... Matt and Nick from CMXVA are friends of mine... Nice...
-
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/thelyonn/public_html/spilledinkmac/include/functions.php on line 70 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/thelyonn/public_html/spilledinkmac/include/functions.php on line 72 Any Ideas? function viewpoems($limit){ $viewpoemsql = "SELECT * FROM entries_literature ORDER BY eid DESC LIMIT 2"; $viewpoemquery = mysql_query(viewpoemsql,$con); echo '<table width="162" border="0" cellspacing="0" cellpadding="0">'; while($viewpoemresult = mysql_fetch_array($viewpoemquery)){ echo '<tr>'; echo '<td colspan="2"><div align="center">Title</div></td>'; echo '</tr>'; echo '<tr>'; echo '<td>'; echo '<div align="left" class="style1">Name</div></td>'; echo '<td><div align="right" class="style1">Date</div></td>'; echo '</tr>'; echo '<tr>'; echo '<td colspan="2"><div align="center">TEXT</div></td>'; echo '</tr>'; } echo '</table>'; }
-
<?php if ($_GET['p'] = board){ flights(); }else{ echo 'not board'; } ?> When ever I load the page, be it ?p=board or anything else, flights() is activated (stored on other file).
-
<div class="menu_button_l" onmouseover="this.style.background='url(buttonhv.gif)'" onmouseout="this.style.background='url(buttonhv.gif)'">Home</div> It does not do the onmouseout... any ideas?
-
That would do it... Thank you.
-
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 ''1' at line 1 <!--#include file="../loginscript.php" --> // Line 1
-
Make adTitle and adInfo longtext.
-
Error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.grable/vzoom/virtualzoom.net/comm/forum_posts.php on line 333 Code: <?php while($forum_array = mysql_fetch_array($forum_query)){ $forum_id = $forum_array['topicid']; $replies_sql = "SELECT * FROM forum_posts WHERE topicid = '{$forumid}"; $replies_query = mysql_query($replies_sql,$conn); $replies = mysql_num_rows($replies_query); // Line 333 /* ... Code cut out */ ?>
-
Is the following correct? <?php /* Forum Variables */ $1 = "Notams"; // LINE 11 $2 = "Staff Notams"; $3 = "Staff General Discussion"; $4 = "General Discussion"; $5 = "Off Topic"; $6 = "Events"; $7 = "Screenshots"; $8 = "Real World Zoom Airlines News"; $9 = "Pilot of the Month"; $10 = "CYVR - Vancouver International"; $11 = "CYYZ - Toronto Pearson International"; $12 = "EGKK - London Gatwick International"; ?> I get the following error... Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/.grable/vzoom/virtualzoom.net/include/constants.php on line 11
-
I get an error along the lines of: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.grable/vzoom/virtualzoom.net/comm/forum_posts.php on line 284 <?php $gettopic = $_GET['t']; $forum_query = mysql_query("SELECT * FROM forum_posts WHERE topicid='{$gettopic}' ORDER BY postid DESC"); while($forum_array = mysql_fetch_array($forum_query)){ // Line 284 $forumname = $forum_array['forumid']; forum_name($forumname); } ?>
-
[SOLVED] displaying a html form with php echo
maxudaskin replied to fireice87's topic in PHP Coding Help
No point... I just wanted to use that image somewhere and fireice87 was the unlucky recipient. -
Works on my server... besides the missing files. http://www.virtualzoom.net/testing.php
-
mysql_select_db($database_LeadHost, $LeadHost); $id = $_REQUEST['appid']; $subject = "Application Denied" ; $message = "Hello ".$fname." ".$lname.",<br><br>Your application to Virtual Zoom Airlines has been denied.<br><br>REASON:<br>---------------------------------------------------------<br><br>". $reason ."<br><br---------------------------------------------------------<br><br>Feel free to contact us for assistance, but please do not reply to this email.<br><br><br>Regards,<br>Virtual ZOOM Airlines Management"; mail($email, "Subject: $subject", $message, "From: [email protected]" ); if (mysql_query("DELETE FROM `applications` WHERE `id`='{$id}'")){ echo "Application Denied and Deleted."; } else { die('Error: ' . mysql_error()); } } All the variables are there, but not in the excerpt I posted... Am I doing anything wrong? <?php if($logged_in){ if ($_SESSION['type'] = 1){ ?><?php $accept = $_REQUEST["accept"]; $deny = $_REQUEST["deny"]; $reason = $_REQUEST['reason']; if(isset($accept)) { $id = $_REQUEST["appid"]; $hub = $_REQUEST["hub"]; $temppid = rand(1001,3999); $fname = $_REQUEST["fname"]; $lname = $_REQUEST["lname"]; $email = $_REQUEST["email"]; $pass = md5($_POST['pass']); $password = $_REQUEST['pass']; $position = $_REQUEST["position"]; $type = $_REQUEST["role"]; $appdate = $_REQUEST["appdate"]; $birthday = $_REQUEST["birthday"]; $country = $_REQUEST["country"]; $vatsim = $_REQUEST["vatsim"]; $ivao = $_REQUEST["ivao"]; $ip = $_REQUEST["ip"]; $result = mysql_query("SELECT * FROM `users` WHERE `pid`='{$temppid}'"); if (mysql_num_rows($result) == 1) { $pidcheck = 1; } else { $pidcheck = 0; } do { $temppid++; } while ($pidcheck==1); if ($pidcheck==0); { $pid = $temppid; } mysql_select_db($removed, $removed); mysql_query("INSERT INTO users (appid, fname, lname, email, pass, hub, birthday, country, vatsim, ivao, position, ip, acceptdate, appdate, type, pid) VALUES ('$id','$fname','$lname','$email','$pass','$hub','$birthday','$country','$vatsim','$ivao','$position','$ip', NOW( ), '$appdate', '$type', '$pid')"); echo "1 user added..."; echo "<br>"; echo "<br>"; echo "Thank you For Using Max removed removed Administration Script."; $subject = "Application Accepted" ; $message = "Hello ".$fname." ".$lname.", Your application to Virtual Zoom Airlines has been accepted. You may now login to the website using the user name and password you registered with: Pilot ID: ".$temppid." Password: ".$password." Do not lose this as we cannot retrieve it after this point. Position: " . $position . " Be sure to register for the forums and check out the latest NOTAMS before your first flight. Feel free to contact us for assistance, but please do not reply to this email. Regards, Virtual ZOOM Airlines Management"; mail($email, "$subject", $message, "From: [email protected]"); $conpirep = mysql_connect($removed, $removed, $removed) or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db('removed',$removed); mysql_query("CREATE TABLE `oom". $temppid ."` ( `pirepid` int(5) NOT NULL auto_increment, `departure` varchar(25) NOT NULL, `destination` varchar(25) NOT NULL, `flight_id` varchar(10) NOT NULL, `route` text NOT NULL, `aircraft` varchar(10) NOT NULL, `totaltime` varchar(5) NOT NULL, `online` varchar(25) NOT NULL, `date` varchar(10) NOT NULL, `type` varchar(1) NOT NULL default '1', PRIMARY KEY (`pirepid`) )"); mysql_close($conpirep); ?> <form id="form1" name="form1" method="get" action="deleteapp.php"> <input name="appid" type="hidden" id="appid" value="<?php echo $id; ?>" /> <input type="submit" name="Submit" value="Validate Acceptance" /> </form> <?php }else{ mysql_select_db($removed, $removed); $id = $_REQUEST['appid']; $subject = "Application Denied" ; $message = "Hello ".$fname." ".$lname.",<br><br>Your application to Virtual Zoom Airlines has been denied.<br><br>REASON:<br>---------------------------------------------------------<br><br>". $reason ."<br><br---------------------------------------------------------<br><br>Feel free to contact us for assistance, but please do not reply to this email.<br><br><br>Regards,<br>Virtual ZOOM Airlines Management"; mail($email, "Subject: $subject", $message, "From: [email protected]" ); if (mysql_query("DELETE FROM `applications` WHERE `id`='{$id}'")){ echo "Application Denied and Deleted."; } else { die('Error: ' . mysql_error()); } } }else{ echo 'You are not a staff member...';} }else{ echo 'You are not logged in.';} ?>
-
[SOLVED] ORDER BY something DESC Problem
maxudaskin replied to maxudaskin's topic in PHP Coding Help
Thanks -
When I do this, 9 gets counted higher than 10-89, 99 gets counted as higher than 100-998... So I ask for it to be sorted by appid which goes 1 2 3 4 5 ect... but when I got to 100, it counted 100 as 10 with a zero at the end, not 100... so it is sorting by digit one, then digit two then digit three ect... How can I make it sort the numbers as a whole rather than each inidvidual digit?
-
I am making a website for a bunch of people in touch with their inner selves... but that is besides the point. http://www.virtualzoom.net/wlmac/ Suggestions?