Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Everything posted by cmgmyr

  1. I agree with Steve. Make it a little more inviting. Maybe work on your logo a little more, add some colors and make more of an interface. This looks like it has lots of potential. -Chris
  2. Hey All, I'm sure this is really easy, but I must be missing something. I'm trying to make an ad page where it has a frame on the top with the main site logo, and the bottom frame is the actual website that the user is viewing. I want to pass a value through forward.php through to forward_bottom.php Here is what I have so far: the link would be forward.php?ad=1 forward.php: [code]<?php global $ad; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Richmond Critic</title> </head> <frameset rows="150,*" frameborder="no" border="0" framespacing="0">   <frame src="forward_top.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />   <frame src="forward_bottom.php?ad=$ad" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset> <noframes><body> </body> </noframes></html>[/code] forward_bottom.php:[code]<?php global $ad; //this will be where it gets the url from the database echo $ad; ?>[/code] Please let me know if you need any more info. Thanks, -Chris
  3. [quote author=redbullmarky link=topic=111424.msg451627#msg451627 date=1160768806] unless it involves your mistress, a camcorder and a wife who's a dab hand with a machete. [/quote] ...yeah thats never a good thing...
  4. What were you using for you images? Photoshop? What were your settings for saving the gif?
  5. I am totally up for this idea! I'd be willing to help out any way that I could (hosting, ideas, etc.) I might even be able to post some of my work (which would be a paid prize to the winner) if the mods allowed it. I think that this is a great idea and we should roll with it! Later, -Chris
  6. I have one. But it's pretty much just to screw around on and learn a little bit about myspace layouts and what not...because people pay for that sort of thing. mine is www.myspace.com/cmgmyr
  7. Very nice, I like it a lot. Good job.
  8. Thanks for the help. What you had messed up a few other things, but what I did was took out the clear in the middle section, and used what you had for the bottom in the css and it worked great. Thanks for the help! -Chris
  9. Hey all, I have a little spacing problem in FF with this menu system. It works fine when it is all by itself but when I put it in the main file it gets all messed up. Here is the css [code]/*** Main CSS ***/ body { background-color:#FFFFFF; margin-top:0px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; background-image:url(../images/bg1.gif); background-repeat:repeat; } a:link { color: #00CCFF; text-decoration: none; background-color:inherit; } a:visited { text-decoration: none; color: #00CCFF; background-color:inherit; } a:hover { text-decoration: none; color: #000000; background-color:inherit; } a:active { text-decoration: none; color: #00CCFF; background-color:inherit; } /*** Layout ***/ #body_wrapper { text-align: left; width:760px; background-color:#FFFFFF; color:#000000; margin-left:auto; margin-right:auto; } #top{ height:24px; width:760px; } #top_lower{ height:47px; width:760px; background-image:url(../images/3.gif); } #top_links{ text-align:right; padding-top:20px; padding-right:50px; } #main_top{ width:760px; height:148px; } #links{ width:760px; height:32px; } #links_bod_sep{ width:760px; height:44px; } /*** Main ***/ #maincontent{ width:760px; background-image:url(../images/main_middle.gif); } #main{ padding-left:40px; padding-right:40px; } #main .title{ color:#000000; background-color:#FFFFFF; font-weight:bold; text-align:center; } #main p{ margin:0px; padding:5px; } .title{ color:#000000; background-color:#FFFFFF; font-weight:bold; } #footer_sep{ width:760px; height:21px; } #footer{ width:760px; height:34px; background-image:url(../images/footer.gif); text-align:center; } #bottom{ width:760px; height:19px; } /*** Other Stuff ***/ img{ border:0px; } .wrong{ color:#FF0000; background-color:inherit; } .correct{ color:#33CC00; background-color:inherit; } .answer{ font-weight:bold; } input { color: #000; background-color: #eaf0da; border: 1px solid #96bd38; } .error{ color:#FF0000; background-color:#FFFFFF; font-weight:bold; } .plate{ width:203px; margin:8.5px; } .plate .top .text{ background-image:url(../images/plate_01.gif); width:137px; height:24px; float:left; font-weight:bold; } .plate .middle{ background-image:url(../images/plate_04.gif); clear:both; } .plate .bottom{ height:8px; }[/code] the live version is http://www.e-resolutions.org/users.php Thanks, -Chris [attachment deleted by admin]
  10. The top nave still needs to come down some. With the left nav the top and bottom rollovers to not match up to the original image, the first on is rounded and the rollover is square. The text on the links should be a little lighter and maybe turn to white or a light grey on the hover. Other then that it looks like its getting there. -Chris
  11. I like it a lot, it looks good to me. The only thing that I noticed is with your top tab buttons. You need to move then down about 5-10px because on the bottom left of all of them you can see the shadow curve which at first glance looks like buttons but the bottoms are cut off. Little icons would work well on both nav areas. -Chris
  12. Thanks obsidian I got it. Here is what I came up with: [code]$users = mysql_query("SELECT DATE_ADD(reg_date, INTERVAL 1 YEAR) AS ex_date, reg_date FROM users WHERE userid = $userid") or die('Query failed: ' . mysql_error()); $reg_date  = mysql_result($users, 0, 'reg_date'); $ex_date  = mysql_result($users, 0, 'ex_date'); $reg_date = date("M-d-Y", strtotime($reg_date)); $ex_date = date("M-d-Y", strtotime($ex_date)); $cdate = date("M-d-Y"); if ($cdate <= $ex_date){ $activity = "<span class=\"correct\">Active</span>"; }else{ $activity = "<span class=\"wrong\">Inactive</span><br /><br /><br />Please renew your membership."; }[/code] Thanks again, -Chris
  13. Hey sorry for this question but I couldn't find anything on it... I have reg_date in my database which is a datetime type. What I want to find out is the same date a year from now and if their account is active. I have it formatted right now as: $reg_date = date("M-d-Y", strtotime($reg_date)); Thanks I'm sure this is easy and right under my nose, but I'm missing it right now. Thanks, -Chris
  14. cmgmyr

    Spacing Problem

    Thanks obsidian that was enough to clue me in. :) I added: #main p{ margin:0px; padding:5px; } and it worked. Thanks!
  15. Please check out www.e-resolutions.org in FF. As you can see there are some spacing problems with the div main and maincontent. I tried setting the top/bottom margins/padding to 0 but it did nothing. Once I put a border around either div, the problem goes away. How do I fix this? Thanks, -Chris
  16. SA...Yes is is illegal in the states...too bad :(
  17. HAHA SA looks like we could have a pretty fun "programming party"...that stuff must be good.
  18. [b]The Problem Solver...[/b] [img]http://chrisgmyr.com/images/pics/5.jpg[/img]
  19. Hey I got some pics together, this is my home office...the one at work I didn't pay for, so it's pretty weak, so I just included my home stuff. This is my main work space. Main computer is an intel duel core, and the monitor is a dell 20.1" widescreen (awesome picture by the way). Next to it is a Win 2000 server, mostly for files. [img]http://chrisgmyr.com/images/pics/1.jpg[/img] This is right next to the first picture, this is the linux workstation with the first section of books. And all those bins are filled with parts and misc computer crap [img]http://chrisgmyr.com/images/pics/2.jpg[/img] These are the other books, mostly outdated, but sometimes a help. And YES there are dummy books in there, but sometimes they are nice to have...just in case. [img]http://chrisgmyr.com/images/pics/3.jpg[/img] This is in the other room, has really nothing to do with programming, but I do like the mini recording setup. [img]http://chrisgmyr.com/images/pics/4.jpg[/img] If you are looking for good speakers the Klipcsh 2.1 THX speakers are awesome (shown on the main computer and the laptop 8)), and you can pick them up at best buy for $129! They will be the best speakers you will ever buy. Feel free to ask about anything else that is in the pics. -Chris
  20. Like this [code]echo "<META HTTP-EQUIV=Refresh CONTENT=\"30; URL=yourpage.php\">";[/code] The 30 is where you put the amount of seconds -Chris
  21. Wow SA you are my new hero! Nice set up! Also great post! I will post again later once I get home and put mine up. *jealously walks out of the room* Later, -Chris
  22. It sounds like a cool project, I think I would do it. You would have to make a bunch of "website templates" and the "user templates" and kinda mesh them together to what they choose and pay for. As far as legal stuff, that is not your issue to worry about. Your only issue is if the site will work right or not. What he does with it after you hand it over to him is up to him. It would be his responsibility to check to see if it legal or not. What I MIGHT do is when the project is completed YOU go and see if it is legal. If it is...you are fine, if not, think about the changes that you would have to make to make the site legal (if any) just so when he comes back and say that you need to change this to make it legal...you already know what needs to be done. So...What is the going price anyways? $1600, $1000, $900, or $650? I think a grand is pretty reasonably for that. This seems like a good "planning" project...make sure you plan everything out first before you jump right in. (but I'm sure you know that) -Chris
  23. I've made a Myspace URL type script where users can have their own URL on the site (site.com/name) and it will then be forwarded to the profile page. .htaccess [code]RewriteEngine  on RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/\.]+)/?$ profile.php?moduser=$1 [L][/code] In my database I have a moduser field where the script searches, then picks up the userid, then uses the id for the rest of the page. Script in profile.php [code]include "connect.php";   global $userid, $moduser;     if(isset($moduser)){ $query = "SELECT * FROM users WHERE moduser = \"$moduser\""; $result = mysql_query($query) or die('Query mod failed: ' . mysql_error()); $countmod = mysql_numrows($result); $userid = mysql_result($result, 0, 'userid'); } if($countmod > 0){   $query2 = "SELECT * FROM users WHERE userid = $userid";   $result2 = mysql_query($query2) or die('Query id failed: ' . mysql_error());   $name = mysql_result($result2, 0, 'name');   $name = stripslashes($name);   $name = $name." on ";   }else{   $query2 = "SELECT * FROM users WHERE userid = $userid";   $result2 = mysql_query($query2) or die('Query id failed: ' . mysql_error());   $name = mysql_result($result2, 0, 'name');   $name = stripslashes($name);   $name = $name." on ";   }[/code] **Don't really pay attention to $name, i just use that as a prefix for the title of the page later on. -Chris
  24. Your latest looks better then your first. Here are a few things: - Top banner - Too dark and you have your 2 top corners with black tips, that doesn't look good at all - Lose the marquee, if you want something like that, do a smoother javascript one. - Your google search section is just kinda floating there and it doesn't look good with the blue background. - Your content section is pretty plane and bland. I didn't go any further then the front page and didn't check your code. -Chris
  25. your top image needs a little work.
×
×
  • 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.