Jump to content

dan_t

Members
  • Posts

    137
  • Joined

  • Last visited

Everything posted by dan_t

  1. "you're asking for clairvoyance" Interesting.. Actually I thought it may have been a comman eclipse problem. No matter, It's all working now, just took a whole lot of trial and error. Whether it was coding or not it seemed to go away. And normally I like to let sarcasm go over my head, keeps me from having to "up my dosage".
  2. I am trying to figure out how to make tabbed panes, or just tabs in general. I have attached a picture of the type of tabs I am needing to make. Also, if anyone might know I need to figure out how to add them. As in, does each tab need to be a separate pane or panel, or how exactly is the best way to get that to work? Thanks [attachment deleted by admin]
  3. No, I'm serious. Here is the weird part, I just discovered if I put my cursor on the top of the frame where the cursor becomes a double-sided arrow, and I click it the entire thing shows up! Does that make any sense?
  4. I am using eclipse to build my program in Java. When I run it, sometimes it will run good, the next only one or two labels may show up. It seems as though at times it doesn't complete the running of the GUI. One run may show two labels and one text area, another may show the entire interface. Would anyone have any idea why it is doing this? Thanks
  5. It seems like you would still have to use some kind of loop for the mysql_num_rows function to work.
  6. atDescription,) Try removing the comma at the end of "atDescription" It might help. Not sure though.
  7. dan_t

    whlie loop

    "This assume that the values of $username & $password have been properly sanitized" What do you mean by sanitized?
  8. dan_t

    whlie loop

    I did have code sending it to one page or another printing the content and username on the one page, but it printed everything multiple times so now I'm just trying to fix that problem first.
  9. dan_t

    whlie loop

    This is on of the hundred ways I have tried it: $query = "SELECT username, password FROM userTable"; $result = mysql_query($query); while($row = mysql_fetch_array($result)) { $logged = (($row['username'] == $username) && ($row['password'] == $password)); if(!$logged){ echo "Sorry"; } else { echo "Good!"; } I also tried a switch statement, but have become frazzled.
  10. This is probably a simple question, but if you are looping through a while loop using an if - else statement why would it echo the answer the amount of times there are data fields? Like if you had three users in a database and you had an if statement to validate a user name and password. If the user name and password passed it would say good - if it failed it would say no good. But instead it prints - good no good good, or no good good good, ect.???
  11. Thanks!! I had Forgotten the: $id = $_POST['id']; It worked perfectly when that was added. Once again Thank you.
  12. How do you use a header function in a switch case? .... Or can you? Like this-if this makes any sense: switch($id) { case "prima": header("Location: www.prima-tech.com/"); break; case "php": header("Location: http://www.php.net/"); break; case "slashdot": header("Location: http://www.slashdot.org/"); break; case "linuxchix": header("Location: http://www.linuxchix.org/"); break; default: header("Location: www.google.com/"); } exit; I was using it with a small made up form, but never got it to work. Say hey Kev!!!! Congrats!
  13. Hi all, How would I go about entering multiple photo's and then the first and last name and email address from a from. if (!isset($_GET['subpage'])) { // Image Upload Form Below ?> <form method="post" action="addphoto.php?subpage=upload" enctype="multipart/form-data"> Photo1:<br /> <input type="file" name="imagefile" class="form"> <br /><br /> Photo2:<br /> <input type="file" name="imagefile" class="form"> <br /><br /> <input name="submit" type="submit" value="Submit" class="form"> <input type="reset" value="Clear" class="form"> </form> <?php } else if (isset($_GET['subpage']) && $_GET['subpage'] == 'upload') { // Uploading/Resizing Script $url = $_FILES['imagefile']['name']; // Set $url To Equal The Filename For Later Use if ($_FILES['imagefile']['type'] == "image/jpg" || $_FILES['imagefile']['type'] == "image/jpeg" || $_FILES['imagefile']['type'] == "image/pjpeg") On this one image works, I added another input, but don't know how to add a second file to the $_FILES['imagefile']['name']; part.
  14. I know very little about javascript. How do I get this script to put photos in a folder? <form name="form1" enctype="multipart/form-data" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="upload[]">File 1:</label> <input type="file" name="upload[]" size="30"><br> <label for="upload[]">File 2:</label> <input type="file" name="upload[]" size="30"><br> <label for="upload[]">File 3:</label> <input type="file" name="upload[]" size="30"><br> <!-- Add here more file fields if you need. --> </form> <form name=form method="post" action=""> <input type=text name="first" size="20"> First Name<BR> <input type=text name="last" size="20"> Last Name<BR> <input type=text name="email" size="20"> E-Mail<BR><BR> <input type=button value="Submit Request" onclick="verify();"> </form> How do I direct the path?
  15. This code is for a file upload, but how do I put the files(images) in a folder, somewhere in the server? I know near to nothing of javascript, just a basic validation. <form name="form1" enctype="multipart/form-data" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="upload[]">File 1:</label> <input type="file" name="upload[]" size="30"><br> <label for="upload[]">File 2:</label> <input type="file" name="upload[]" size="30"><br> <label for="upload[]">File 3:</label> <input type="file" name="upload[]" size="30"><br> <!-- Add here more file fields if you need. --> </form> A
  16. Not sure - What would be the best way? I have a profile page made. Last time I did do individual pages, but that was a pain! I suppose there's no good way to do that is there? Mainly because of naming pages?
  17. I know this is a rather vague, open-ended question, but how would you go about having a template page where once a person filled out a form and the data is entered into the database a page would be automatically made for that user? Or is that even a good idea, security wise? If you have a decent contrived example, that would be helpful. Dan
  18. OK, Here is the entire thing, but I don't see anything useful. Most of this is not even my code because he decided to go with a different look (mostly colors), and bought some template for a Homestead.com which had very confusing code all through it. They named their pages in all caps and their links with lower case... etc. A lot of the site that they sold him was cut and paste - [free scripts], and a lot done in javascript where I basically no little more than a document.write statement for output. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <!-- <hs:metatags> --> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="description" content="Free online dating and matchmaking for singles"> <meta name="keywords" content="dating service,on-line dating service,mate,partner,women,man,love,free on-line dating,sex,long-term relationship,friends with benefits,hook-up, lonely"> <meta name="generator" content="Intuit SiteBuilder by Homestead"> <meta http-equiv="imagetoolbar" content="no"> <meta http-equiv="imagetoolbar" content="false"> <!-- </hs:metatags> --> <!-- <hs:title> --> <title></title> <!-- </hs:title> --> <script type="text/javascript"> <!-- function reDo() { top.location.reload(); } if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) < 5) { top.onresize = reDo; } dom=document.getElementById //--> </script> <script type="text/javascript"> <!-- var strRelativePagePath = "INDEX.html".toLowerCase(); var strRelativePathToRoot = ""; var myimages=new Array(); function preloadImages(imageList) { if (document.images) { for (i=0;i<imageList.length;i++) { myimages[i]=new Image(); myimages[i].src=imageList[i]; } } } function genericAlert() { alert("Sorry. To use this feature, you need Internet Explorer."); return true; } function addToFavorites(url, title) { window.onerror = genericAlert; if (navigator.appName == "Microsoft Internet Explorer") { if (parseInt(navigator.appVersion) >= 4) { window.external.AddFavorite(url, title); } else { friendlyAlert(); } } else if (navigator.appName == "Netscape") { friendlyAlert(); } else { genericAlert(); } } function friendlyAlert() { var win = window.open("/~media/Elements/AddToFavorites/AddToFavorites.html", "HSFriendlyAlert", "width=265,height=100"); } //--> </script> <link type="text/css" href="http://www.homestead.com/~media/elements/Text/font_styles_ns4.css" rel="stylesheet"> <style type="text/css"> @import url(http://www.homestead.com/~media/elements/Text/font_styles.css); div.lpxcenterpageouter { text-align: center; position: absolute; top: 0px; left: 0px; width: 100% } div.lpxcenterpageinner { position: relative; margin: 0 auto; text-align: left; width: 926px; } </style> <script type="text/javascript"> <!-- var unique_id = new Array(); var form_name = new Array(); var required = new Array(); var req_message = new Array(); //--> </script> <STYLE type="text/css"> <!-- .navBackgroundNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat } .navBackgroundSelectedNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat } --> </STYLE> <link rel="stylesheet" type="text/css" href="log.css" /> <!-- Photo Gallery Element based on Lightbox v2.03.3 © 2006-2007 Lokesh Dhakar. For more information on Lightbox, visit: http://huddletogether.com/projects/lightbox2/ Lightbox scripts licensed under the Creative Commons Attribution 2.5 License: http://creativecommons.org/licenses/by/2.5/ --> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/prototype.js" language="JavaScript"> </script> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/scriptaculous.js?load=effects" language="JavaScript"> </script> <script type="text/javascript" src="http://www.homestead.com/~media/elements/PhotoGallery/js/lightbox.js" language="JavaScript"> </script> <link href="http://www.homestead.com/~media/elements/PhotoGallery/css/lightbox.css" type="text/css" media="screen" rel="stylesheet"> <STYLE type="text/css"> <!-- .navBackgroundNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat } .navBackgroundSelectedNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat } --> </STYLE> <script type="text/javascript" src="/~site/Elements/HCUser_Forms_Submit/FormValidation.js"> </script> </head> <body onunload="" alink="#406AB0" onload="preloadImages(new Array('files/surrealcoastalsunsetcrop.jpg')); " id="element1" link="#406AB0" bgcolor="#FFFFFF" scroll="auto" vlink="#406AB0"> <noscript> <img alt="" src="http://www.homestead.com/~media/elements/shared/javascript_disabled.gif" height="40" border="0" width="373"> </noscript> <div class="lpxcenterpageouter"><div class="lpxcenterpageinner"><!-- <hs:element224> --><div style="position: absolute; top: 480px; left: 10px; width: 275px; height: 183px; z-index: 0;" id="element224"><img alt="" src="files/heartandkey.jpg" height="183" width="275"></div><!-- </hs:element224> --><!-- <hs:element225> --><div style="position: absolute; top: 11px; left: 9px; width: 888px; height: 180px; z-index: 1;" id="element225"><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#7FF0AD" height="180" width="888"><img alt="" src="http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=127&g=240&b=173" height="180" width="888"></td></tr></table></div><!-- </hs:element225> --><!-- <hs:element226> --><div style="position: absolute; top: 16px; left: 14px; width: 912px; height: 197px; z-index: 2;" id="element226"><img alt="" src="files/Your_Special_Someone_2.jpg" height="197" width="912"></div><!-- </hs:element226> --><!-- <hs:element227> --><div style="position: absolute; top: 185px; left: 16px; width: 143px; height: 32px; z-index: 3;" id="element227"><div align="left"><font face="'Times New Roman', Times, serif" class="size22 TimesRoman22" color="#FFFFFF"><br></font></div></div><!-- </hs:element227> --><!-- <hs:element228> --><div style="position: absolute; top: 215px; left: 51px; width: 826px; height: 19px; z-index: 4;" id="element228"><div align="left"><SCRIPT SRC="/Navigationyss.js" TYPE="text/javascript"></SCRIPT><noscript><font style="font-weight:bold;" face="Helvetica, Arial, sans-serif" class="size12 Helvetica12"><a target="_self" href="/INDEX.html">HOME</a> | <a target="_self" href="/CREATEPROFILE.html">CREATE PROFILE</a> | <a target="_self" href="/Upload-a-Photo.html">PHOTO UPLOAD</a> | <a target="_self" href="/CHATROOM.html">MEET SOME MEMBERS!</a> | <a target="_self" href="/REQUEST.html">REQUEST BACKGROUND CHECK</a></font></noscript></div></div><!-- </hs:element228> --><!-- <hs:element229> --><div style="position: absolute; top: 237px; left: 16px; width: 900px; height: 100px; z-index: 5;" id="element229"><a href="files/LOVESJEFFHARR.jpg" name="12" title="DSQUARED 41/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="DSQUARED 41/FEMALE" src="publishImages/INDEX~~element229~~12.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="DSQUARED 41/FEMALE" width="100"></a><a href="files/DADSONFSHING.jpg" name="13" title="SINGLEDADLOOKING 47/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="SINGLEDADLOOKING 47/MALE " src="publishImages/INDEX~~element229~~13.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="SINGLEDADLOOKING 47/MALE " width="100"></a><a href="files/COURTNEY_84.jpg" name="15" title="COURTNEY_84 23/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="COURTNEY_84 23/FEMALE" src="publishImages/INDEX~~element229~~15.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="COURTNEY_84 23/FEMALE" width="100"></a><a href="files/LOOKINGFORUINTN.jpg" name="16" title="LOOKING4FUNINTN 39/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="LOOKING4FUNINTN 39/MALE" src="publishImages/INDEX~~element229~~16.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="LOOKING4FUNINTN 39/MALE" width="100"></a><a href="files/LUVS2TRAVL.jpg" name="17" title="LUVS2TRAVL 44/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="LUVS2TRAVL 44/FEMALE" src="publishImages/INDEX~~element229~~17.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="LUVS2TRAVL 44/FEMALE" width="100"></a><a href="files/PARTYCOVEPETE.jpg" name="18" title="PARTYCOVEPETE 41/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="PARTYCOVEPETE 41/MALE" src="publishImages/INDEX~~element229~~18.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="PARTYCOVEPETE 41/MALE" width="100"></a><a href="files/chika_3.jpg" name="19" title="CHICA_3 26/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="CHICA_3 26/FEMALE" src="publishImages/INDEX~~element229~~19.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="CHICA_3 26/FEMALE" width="100"></a><a href="files/manonkeyboard.jpg" name="20" title="SOUNDGUY4U 26/MALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="SOUNDGUY4U 26/MALE" src="publishImages/INDEX~~element229~~20.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="SOUNDGUY4U 26/MALE" width="100"></a><a href="files/DEEDEE.jpg" name="21" title="DRAMAFREEINTN 35/FEMALE " rel="lightbox[element229]" id="font-family:Verdana; color:#000000;"><img title="DRAMAFREEINTN 35/FEMALE" src="publishImages/INDEX~~element229~~21.jpg" style="margin-left: 0px; margin-right: 0px; margin-top:0px; margin-bottom: 0px;" height="100" border="0" alt="DRAMAFREEINTN 35/FEMALE" width="100"></a></div><!-- </hs:element229> --><!-- <hs:element230> --><div style="position: absolute; top: 388px; left: 280px; width: 638px; height: 96px; z-index: 6;" id="element230"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">With busy careers and even busier lives, online dating has become increasingly popular over the years as a tool for meeting that special someone. The down side to this is that internet dating can be a relatively frightening concept. The unknown aspect of who you are truly meeting for that cup of coffee or dinner date poses a very big concern for most people. </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#406AB0"><b><i>Your Special Someone</i></b></font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#406AB0"> </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">has these concerns in mind and has developed a program for you that will take the guess work out of meeting a complete stranger when the courtship is initiated behind a computer screen.<br></font></div></div><!-- </hs:element230> --><!-- <hs:element231> --><div style="position: absolute; top: 495px; left: 280px; width: 636px; height: 112px; z-index: 7;" id="element231"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">Upon request of a preferred member, a background check can be performed on your behalf. The background check will be conducted by a Licensed Professional Investigative Firm and includes a check of the </font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#9E0704"><b>NCIC</b></font><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000"> (National Criminal Information Center) the same one used by the FBI. The background check will also include a search for actual Marital Status and Divorce. A notification will be then sent to the member in question that another user has requested the search be done. At that time, the member may allow or deny the request. If a request has been denied, it is up to you to decide if you wish to proceed with any further correspondence.<br></font></div></div><!-- </hs:element231> --><!-- <hs:element232> --><div style="position: absolute; top: 619px; left: 280px; width: 636px; height: 48px; z-index: 8;" id="element232"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">If the member approves your request, you will receive one of two notifications. Either that the profile in question has been flagged pending further investigation, or that no data was found. The search is set up to flag a profile for specific charges. Felony convictions in the last 10 years, sexual offenses,<br></font></div></div><!-- </hs:element232> --><!-- <hs:element233> --><div style="position: absolute; top: 361px; left: 20px; width: 248px; height: 117px; z-index: 9;" id="element233"> </div><!-- </hs:element233> --><!-- <hs:element234> --><div style="position: absolute; top: 670px; left: 492px; width: 425px; height: 80px; z-index: 10;" id="element234"><div align="justify"><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000">harassment, domestic violence and drug convictions. It is up to you to decide how you wish to proceed. You may of course at anytime, block that user from any further contact or continue as you feel comfortable. The choice is always yours. We do however urge you to make informed decisions and trust your better judgment.<br></font></div></div><!-- </hs:element234> --><!-- <hs:element235> --><div style="position: absolute; top: 670px; left: 17px; width: 471px; height: 121px; z-index: 11;" id="element235"><a onclick="return false;" onMouseOut="if(document.images){document.x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49.src='files/COASTPURPLEFLOWERS.jpg';}" onMouseOver="if(document.images){document.x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49.src='files/surrealcoastalsunsetcrop.jpg';}"><img alt="" name="x77x111x117x115x101x111x118x101x114x32x69x102x102x101x99x116x45x49" src="files/COASTPURPLEFLOWERS.jpg" height="121" border="0" width="471"></a></div><!-- </hs:element235> --><!-- <hs:element237> --><div style="position: absolute; top: 830px; left: 360px; width: 259px; height: 157px; z-index: 12;" id="element237"><img alt="" src="rings.jpg" height="157" width="259"></div><!-- </hs:element237> --><!-- <hs:element238> --><div style="position: absolute; top: 977px; left: 340px; width: 300px; height: 16px; z-index: 13;" id="element238"><div align="center"><font face="Helvetica, Arial, sans-serif" class="size10 Helvetica10" color="#000000">contact us at </font><font face="Helvetica, Arial, sans-serif" class="size10 Helvetica10" color="#000000"><a target="_self" href="mailto:admin@yourspecialsomeone.com">admin@yourspecialsomeone.com</a><br></font></div></div><!-- </hs:element238> --><!-- <hs:element239> --><div style="position: absolute; top: 963px; left: 240px; width: 468px; height: 16px; z-index: 14;" id="element239"><div align="left"><SCRIPT SRC="/Navigationbottom.js" TYPE="text/javascript"></SCRIPT><noscript><font style="font-weight:bold;" face="Helvetica, Arial, sans-serif" class="size11 Helvetica11"><a target="_self" href="/INDEX.html">HOME</a> | <a target="_self" href="/CREATEPROFILE.html">CREATE PROFILE</a> | <a target="_self" href="/Upload-a-Photo.html">UPLOAD PHOTO</a> | <a target="_self" href="/CHATROOM.html">MEET SOME MEMBERS!</a></font></noscript></div></div><!-- </hs:element239> --><!-- <hs:element240> --><div style="position: absolute; top: 777px; left: 550px; width: 300px; height: 17px; z-index: 15;" id="element240"><div><font face="'Times New Roman', Times, serif" class="size11 TimesRoman11" color="#000000"><b><i>Your safety and peace of mind are important to us.</i></b><br></font></div></div><!-- </hs:element240> --><!-- <hs:element241> --><div style="position: absolute; top: 764px; left: 883px; width: 36px; height: 32px; z-index: 16;" id="element241"><img alt="" src="http://www.homestead.com/~media/elements/AccentGraphics/../LayoutClipart/Buttons/Pink_Heart.gif" height="32" border="0" width="36"></div><!-- </hs:element241> --><!-- <hs:element242> --><div style="position: absolute; top: 512px; left: 18px; width: 108px; height: 15px; z-index: 17;" id="element242"><a onclick="addToFavorites(document.location, document.title); return false;" href="/~media/elements/AddToFavorites/AddToFavorites.html" target="HSFriendlyAlert"><img alt="Add this page to your favorites." src="http://www.homestead.com/~media/elements/AddToFavorites/beveled.gif" height="15" width="108" border="0"></a></div><!-- </hs:element242> --><!-- <hs:element243> --><div style="position: absolute; top: 579px; left: 19px; width: 201px; height: 37px; z-index: 18;" id="element243"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000">Join now and get premium membership </font><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b>at no charge!</b><br></font></div></div><!-- </hs:element243> --><!-- <hs:element244> --><div style="position: absolute; top: 554px; left: 20px; width: 133px; height: 20px; z-index: 19;" id="element244"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b>Not a member?</b><br></font></div></div><!-- </hs:element244> --><!-- <hs:element246> --><div style="position: absolute; top: 617px; left: 18px; width: 133px; height: 20px; z-index: 20;" id="element246"><div><font face="Helvetica, Arial, sans-serif" class="size12 Helvetica12" color="#000000"><b><a target="_self" href="CREATEPROFILE.html">Join Now</a></b><br></font></div></div><!-- </hs:element246> --><!-- <hs:element247> --><div style="position: absolute; top: 650px; left: 17px; width: 243px; height: 16px; z-index: 21;" id="element247"><div><font face="Helvetica, Arial, sans-serif" class="size11 Helvetica11" color="#000000"><b><a target="_self" href="REQUEST.html">REQUEST A BACKGROUND CHECK</a></b><br></font></div></div><!-- </hs:element247> --><!-- <hs:element248> --><div style="position: absolute; top: 488px; left: 20px; width: 169px; height: 20px; z-index: 22;" id="element248"><div><font face="Helvetica, Arial, sans-serif" class="size9 Helvetica9" color="#000000"><i><a target="_self" href="mailto:admin@myspecialsomeone.com">Forgot Username/Password?</a></i><br></font></div></div><!-- </hs:element248> --><!-- <hs:element249> --><div style="position: absolute; top: 360px; left: 283px; width: 625px; height: 23px; z-index: 23;" id="element249"><div align="center"><font face="'Times New Roman', Times, serif" class="size16 TimesRoman16" color="#000000"><b>FIRST 100 PEOPLE TO JOIN GET FREE PREMIUM MEMBERSHIP!</b><br></font></div></div><!-- </hs:element249> --><!-- <hs:footer> --><!-- </hs:footer> --></div></div> <!-- <hs:realtracker> --> <script type="text/javascript"> var user='1756946738',pp='INDEX', to=-360,cl=1,id='',r='http://web4.realtracker.com/'; </script> <script src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetJavaScript&H_SITEID=RTK3&H_AltURL=%2F%7Esite%2FRealTracker%2Fibc90006.js&HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fjs%2Fibc90006.js" type="text/javascript"> </script> <noscript> <img alt="" src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetGif&H_SITEID=RTK4&H_AltURL=%2F%7Esite%2Ftp.gif&H_HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fimulti.asp%3Fuser%3D1756946738%26pn%3D90006%26pp%3DINDEX%26js%3D0%26b%3D0%26to%3D-360" height="1" border="0" width="1"> </noscript> <!-- </hs:realtracker> --> </body> </html> That's the whole thing in a nutshell The system we are tring to use now is from a user session pro or something like that. The code I made I couldn't figure out how to migrate with the javascript.
  19. So can I simply replace $this with the actual href file name?
  20. Is there a way to do away with the $this variable with out effecting the perfomance?
  21. Sorry about that, here is the error: Fatal error: Using $this when not in object context For some reason the this is having trouble.
  22. <style> .prophp_LoginForm{ border: #0153EB 1px dotted; padding: 5px; width: 262px; margin: auto; font-size: 14px; color: #0153EB; font-weight: bold; text-align: left; background-color: #EEEEFF; font-family: Arial, Helvetica, sans-serif; } .prophp_ErrorLine{ width: 250px; border: #ff0000 1px solid; background-color: #FFEEEE; color: #FF0000; padding: 5px; } .prophp_LoginLine{ clear: both; padding: 2px; } .prophp_LoginLabel{ float: left; width: 85px; padding-top: 4px; } .prophp_LoginField{ float: left; width: 169px; } .prophp_LoginInput{ width: 169px; } .prophp_LoginButton{ background-color: #0153EB; color: #FFFFFF; border: none; cursor: pointer; } .prophp_Clear{ clear: both; height: 1px; } </style> <form class="prophp_LoginForm" method="post" action="index.php"> <?php if ($this->error_message){ ?> <div class="prophp_ErrorLine"><?=$this->error_message?></div> <?php } ?> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel">Username :</div> <div class="prophp_LoginField"><input class="prophp_LoginInput" type="text" name="<?=$this->username_post_var?>" value="" /></div> </div> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel">Password :</div> <div class="prophp_LoginField"><input class="prophp_LoginInput" type="password" name="<?=$this->password_post_var?>" value="" /></div> </div> <div class="prophp_LoginLine"> <div class="prophp_LoginLabel"> </div> <div class="prophp_LoginField"><input class="prophp_LoginButton" type="submit" name="doLogin" value="Login" /></div> </div> <div class="prophp_Clear"> </div> </form>
  23. I got this error: Fatal error: Using $this when not in object context What makes the $this work? where exactly should the $this be used, for that matter why is it used. I thought it was just a short cut for the current page your on, but now I'm not sure.
  24. Here's another one that was at the bottom <STYLE type="text/css"> <!-- .navBackgroundNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat } .navBackgroundSelectedNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat } --> </STYLE> This is a homestead.com deal, and it looks like quite a mess.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.