Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. I am doing some work for a mortgage company.  I need to find a good template for a mortgage company that is done in css, that looks "fast" and quick, looks like a new version of the mortgage history.  I would like to find something does anyone have any advice.
  2. For OSCommerce, if I change hte country to united kindom, is the currency automatically set over to that country, or do I have to find the information about currency somewhere I didn't see that anywhere.
  3. No like a text banner, or image banner, how to make one, I can do the banner in photoshop, or just text, but I don't know how to make php, pull the information, and you should already know what a rotating banner is, one that displays something, then something else, or a few things, then switches over to show me, and keeps rotating based on information in a database, when it reaches the end it starts over again, and does it in realtime(obviously using ajax or something similar). But I have seen php versions, that are done in just php, that's what I am trying to figure out how to do, I know they were php, because looking at the source code you don't see any ajax, and when you pull there js files you don't see any ajax either.
  4. I am wanting to build a page of businesses, but on the homepage of a site I am working on, I am wanting to put a list of business's that have used the site, a banner, that rotates the information, But I need it to pull the information from a database, can you let me know how I am going to do this, I know how to, I have an admin area(where they can enter the businesses), to database, then have a script pull the information from a database, and display a picture with it somehow, but like a rotating picture, probably pull it from php, and pass the database variables over to javascript. 
  5. Thanks, I think I have everything I need now, thanks again for all the help.
  6. I am not sure but the framework seems the same on all of those url's they ahve the little question mark there with popup information, then almost the same search functionality, and it's a little different on each one(custom work done to it), but there all basically the same, just in different languages, one is in asp, and one was in coldfusion, but I don't know what they are called(the database, and the php/ajax application behind it, the place where they can search, and it interacts, I have been looking through there view source, and it seems they have all there javascript information in a folder called resources, they have a lot of ajax files, and I am sure some of those are third party, I am about to download there js files, and see what I can find out, but I was hoping also someone would know what this application is called, like "mailing list manager" is a general program(writtin in a variety of languages), that controls mailing lists.  You can get them open source or buy them, then there's shopping cart scripts, and other stuff, I was seeing if I can find the general name of this, so I can see if one is available in php.
  7. http://www.amerisave.com/resourcecenterb http://www.lowesmortgage.com/ http://www.homeloancenter.com/ I need to find that application.  It must be a third party script plus a database, maybe a place to interface with something to recieve the rate information, can someone tell me what this application is called, I can't build this in php within 1 months but since there similar they are probably getting them somewhere, I am speaking of the today's rate's and everything else.
  8. For some reason it's not reading my style here, I have tried to get this to work, and I have never had this problem before, I have 2 places where I need to get a different color link. The page is in an include here is the page information Include Page [code]<?php ini_set('arg_separator.output', '&amp;'); ?> <ul> <li><a href="/gateway.php?url=pets" title="Pets">Pets</a></li> <li><a href="/gateway.php?url=jewelry" title="Jewelry">Jewelry</a></li> <li><a href="/gateway.php?url=electronics" title="Electronics">Electronics</a></li> <li><a href="/gateway.php?url=personalitems" title="Personal Items">Personal Items</a></li> <li><a href="/stolengateway.php" title="Stolen Items">Stolen Items</a></li> <li><a href="/gateway.php?url=miscitems" title="Misc Items">Misc Items</a></li> <li><span id="orange"><a href="/postfound/found1.php" title="Post Found Items">Post Found Items</a></span></li> <li><span id="green"><a href="/postlost/lost1.php" title="Post Lost Items">Post Lost Items</a></span></li> <li><a href="/advancedsearch.php" title="Advanced Search">Advanced Search</a></li> <?php if ($_SESSION['controller'] == true) { ?> <li><a href="../forum/index.php" title="Forum">The Forum</a></li> <?php } ?> </ul>[/code] StyleSheet(It's at the very bottom, WHere I was trying to get this to work. [code]/* entire document structure for all pages */ body { font-family:Georgia, "Times New Roman", Times, serif; background:#ffffff; color:#404040; line-height:1.2em; margin:0 auto; padding:0; } a { text-decoration:none; color:#4088b8; font-weight:bold; background-color:#FFFFFF; } a:hover { text-decoration:underline; } a img { border:0; } p { margin:0 0 18px 10px; } /* Sets all the Header Information */ h1 { font-size:4.2em; letter-spacing:-5px; margin:0 0 30px 25px; color:#4088b8; background-color:#FFFFFF; } h1 a { text-transform:none; color:#4088b8; background-color:#FFFFFF; } h2 { font-size:1.4em; color:#4088b8; border-bottom:4px solid #dadada; padding:0 2px 2px 5px; margin:0 0 10px 0; letter-spacing:-1px; background-color:#FFFFFF; } h3 { font-size:1.2em; font-weight:bold; color:#4088b8; border-bottom:1px solid #dadada; margin:10px 0 8px 0; padding:1px 2px 2px 3px; background-color:#FFFFFF; } /* End Header Information*/ blockquote { font-size:0.9em; border:1px solid #dadada; margin:20px 10px; padding:8px; } #wrap { color:#404040; width:970px; margin:10px auto; padding:0; background-color:#FFFFFF; } #header { margin:0; } #toplinks { text-align:right; padding:5px 2px 2px 3px; } #slogan { font-size:1.5em; color:#808080; font-weight:bold; letter-spacing:-1px; margin:15px 0px 20px 35px; line-height:1.2em; background-color:#FFFFFF; } #sidebar { float:left; width:195px; margin:0 0 5px 0; padding:1px 0 0 0; } #sidebar ul { list-style:none; font-size:0.9em; margin:0; padding:0 0 15px 10px; } #sidebar li { list-style:none; margin:0 0 4px 0; padding:0; } #sidebar li a { font-size:1.2em; font-weight:bold; padding:2px; } #sidebar ul ul { margin:4px 0 3px 15px; line-height:1.2em; padding:0; } #sidebar ul ul li a { font-weight:normal; } #sidebar h2 { margin:3px 0px 8px 0px; } #content { line-height:1.5em; width:750px; float:right; text-align:left; margin:0; padding:0; } #contentalt { line-height:1.5em; width:750px; float:left; text-align:left; padding:0; margin-right:20px; } #content h3, #contentalt h3 { margin:10px 0 8px; } #footer { clear:both; text-align:right; color:#808080; font-size:0.9em; border-top:4px solid #dadada; margin:0 auto; padding:8px 0; line-height:1.6em; background-color:#FFFFFF; } #footer p { margin:0; padding:0; } #footer a { color:#808080; background-color:#FFFFFF; } .box { color:#ffffff; font-size:0.9em; background-color:#4088b8; border:1px solid #c8c8c8; line-height:1.3em; padding:5px 5px 5px 8px; } .box a { color:#0000FF; background-color:#4088b8; } .left { float:left; margin:0 15px 4px 0; } .right { float:right; margin:0 0 4px 15px; } .textright { text-align:right; } .center { text-align:center; } .blue { color:#4088b8; background-color:#FFFFFF; } .big { font-size:1.3em; } .small { font-size:0.8em; } .bold { font-weight:bold; } .clear { clear:both; } .fade { color:#c8c8c8; background-color:#FFFFFF; } .gray { color:#808080; background-color:#FFFFFF; } .photo { border:1px solid #bababa; padding:2px; color:#0033FF; background-color:#ffffff; margin:6px 18px 2px 5px; } /* FINISH with the section that deals with all aspects of the web site, everything in the above section deals with all aspects of the website in general.  It covers every page a little bit.  Everything below here, is broken down into sections and are based on individual pages. */ /* Register.php Form Alignment */ #username { margin-left:120px; } #password { margin-left:129px; } #verifypassword { margin-left:84px; } #email { margin-left:98px; } #verifyemail { margin-left:112px; } #street1 { margin-left:61px; } #street2 { margin-left:67px; } #city { margin-left:171px; } #state { margin-left:163px; } #zipcode { margin-left:138px; } #phone { margin-left:93px; } #workphone { margin-left:121px; } #cellphone { margin-left:134px; } #birthdate { margin-left:127px; } #emailaddress /*CONTACT US FORM  something specicially set up for that*/ { margin-left:21px; } /* End Register.php form Alignment */ .logspan /* This was for the coloring on the login text*/ { color:#FF0000; background-color:#FFFFFF; } /* End login text*/ /*All form elements for the reset password page  everything in this section works on setting there alignments properly */ #resetpassusername { margin-left:35px; } #resetpassemail { margin-left:11px; } #resetpasscity { margin-left:79px; } #resetpassstate { margin-left:71px; } #resetpasszipcode { margin-left:46px; } #resetpassphone { margin-left:64px; } #resetpassbirthdate { margin-left:35px; } #desiredpassword { margin-left:4px; } /* End form elements for the reset password page */ /* table specific styles*/ #changeuserinfotable { border-width:thin; border-color:#000099; border-style:dotted; } #changeuserinfotable th { border-width:thin; border-color:#000099; border-style:dotted; } #changeuserinfotable td { border-width:thin; border-color:#000099; border-style:dotted; } #changeuserinfotable tr { border-width:thin; border-color:#000099; border-style:dotted; } /* End table specific styles */ /* Styles for posting found items */ #gtitle { margin-left:18px; } #pfcity { margin-left:112px; } #pfstate { margin-left:102px; } #pfzipcode { margin-left:73px; } #subcategory { margin-left:34px; } #lostimage { margin-left:112px; } /* End styles for posting found items */ #orange a:link { color:#CC6633; text-decoration:none; background-color:#FFFFFF; font-weight:bold; } #orange a:hover { text-decoration:underline; }[/code]
  9. [code]if (window.XMLHttpRequest)    // Object of the current windows {         request = new XMLHttpRequest();    // Firefox, Safari, ... } else if (window.ActiveXObject)  // ActiveX version {       request = new ActiveXObject("Microsoft.XMLHTTP");    // Internet Explorer } [/code] Will those 2 take care of all browsers, or are there a few more I can put in there, to make totally sure that it's going to be cross browser compatible, atleast for the most part.  Should I surround the whole thing, and only do so if javascript is activated.
  10. Create your Small URL! everything under that looks retarded, you should move that scrollbar out of there, and put the whole thing on the page, there is not that much there, it wouldn't take up much more room, but would look a lot better that way. ALso on validation, you should put down WHAT errors, you put down something generic like [quote]Please enter correct infomation[/quote] Some people might not understand "Correct Information" So it's best to elaborate on exactly what errors came up.  Also you might want to put it in red, so people know it's actually an error, and not a confirmation
  11. I don't care what they said it's xml.  it may not be nicely formatted, or even correctly formatted xml, but it is indeed xml(or atleast they wanted it to be).
  12. [quote] but functions can be declared at the bottom of the page arnt they... :S[/quote] functions HAVE to be declared before the function is called. As for your problem, just as a test try declaring the function on the same page, then see if it works, just try declaring it at the top of the page.  See if you get the same error.  If not then try the function_exists() function, see if it returns true. That will let you know if the function even exists, if it returns false when it's on the same page then something is wrong with your function itself.
  13. It is the same thing when someone get's approval denied.  Put it in the database, as 0 or 1, then I would put a date on it.  Have the homepage run a script whenever the admin signs in, or in a place where it get's checked, and anything that has been set to 0 for more than 2 days delete it from the database, this will remove unconfirmed accounts.
  14. I suggest stop using dreamweaver.  If you are using dreamweaver you have no business, in this business.  I am not that good at design, I admit that, I try my best, I can build layouts from scratch, but most of the time they look good to me and no-one else, so they suck.  90% of the time I use free templates, I am good at modifying those, if you have to use dreamweaver then don't use dreamweaver, learn XHTML/CSS, buy some templates rewrite teh code.  I found that when I started learning photoshop, and started making graphic layouts first it enhances your design skills 100 fold I have gotten a lot better with design from making mockup layouts in just photoshop, now I am redesigning my site yet once again. As for this site. 1. Andy was right the top of the page looks horrible. 2. Andy is right again the html looks stupid, you didn't even fully code the page. 3. Andy is also right the on mouse over's are annoying, on mouse over's should be used to help the pages not detract from them, in this situation it detracts from them. 4.  Another thing I don't like the coloring, I like the color red, My favorite theme's are dark, demonic, hellaciously even looking layouts, with LOTS of dark colors, but using red, with black text and a white background look almost blinding. 5. With the exception of the tabular data, you are very brave to use it, but I think if you mixed the look of the tables FOR TABULAR DATA ONLY, then that would look very good if you other colors were changed around DRASTICALLY. 6. The bottom part of your logo is cut off, it's pixelated and chopped all to hell. 7. The pictures at the top on the left hand corner, look like total and complete shit.  They can't be seen, they are in the wrong place, they are pixelated, and so small you couldn't make them out if you tried. 8. The copyright looks retarded, copy right is spelt wrong, it's suppose to be copyright.  Also you have the font there too big, and the link beside it, looks annoying, it goes from a bad site to a good site, I Will admit(I didn't look at it much) but on first appearance the other one didn't seem too bad. My advice 1. Recode it 2. Recode the css 3. When you make that contact page put a form not an email(just a suggestion for when you build it 4. Learn xhtml 5. Learn CSS 6. Drop the tables, with such a simple layout, you could easily convert it from tables to css div/span tags 7.
  15. thank you thank you and thank you as well, I didn't notice that there, at the bottom there is a list of functions and how to use them, I really appreciate it, thank you again, final question.  Is curl something that is universal, or is it just related to PHP, or is the library one that is used by asp, asp.net, jsp, php, java, c+, c++, C#, javascript, or whatever else(maybe excluding javascript),
  16. Does anyone have any good curl php tutorials, google fails me.  I have looked all over the internet for curl tutorials, not how to do this or that, just an overview of what curl is, the functions, what they do, www.php.net doesn't even have anything and the curl official website is no help.
  17. Ok I am rebuilding something from scratch.  I had 2 questions, is there anything I need to be concerned about when using a script that is going to be running for awhile.  Like a bot or something. Should I always use [code] <?php set_time_limit(-1); ?> [/code] At the top of the page when I am going to be doing something that is going to take the script awhile to finish, or using flush a lot.
  18. I will try this out, the thing I don't get though is it's trying to string the session onto it, I login, it works fine, even after closing hte browser and reopening it, but when I come back, when it should still have a long ways to go, I am not logged in later on.  I see it's trying to add a session id to the string, because it appears there sometimes, but the session is not doing anything with the id.
  19. When something goes to the bottom, if you put the word, bump or anything it pops it back up to the first post.  Also we can't keep hijacking this post it has to get back on track.
  20. Sorry about that, I didn't see what you mean until now, THe only thing is when I am bumping If I modify it doesn't bump, but back to the problem, did you figure out what you needed, did it work this time?
  21. It doesn't work like that, you feed a query to mysql_num_rows not an array value or key like tihs $select = "SELECT QUERY GOES HERE;"; $query = mysql_query($select); $num = mysql_num_rows($query); That would record the number of rows that were selected, it'll also work for update, and delete I believe to return the number that it acted upon. Edit: I replied at the same time you replied, that was cool.
  22. I even wrote a huge tutorial on sessions/cookies on my sites, I thought my research uncovered all, but I don't understand what is causing this erratic behaviour, there must be somethings causing it we do not know.  I will do some research on these issues, if you find out anything, or if anyone knows something it would help, I listed my php.ini file in my post.
×
×
  • 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.