fellixombc
-
Posts
55 -
Joined
-
Last visited
Never
Posts posted by fellixombc
-
-
Hi, I only made it to the front page but I do have this feedback. You have an ad with the text
Register... It’s FREE! Register to webdevshare.com and you won't regret it! We have forums that is constantly active. You will also be allowed to most download
you made want to correct the grammar...
Register to webdevshare.com and you won't regret it! We have forums that are constantly active. You will also have access to most downloads.
"you MAY want to correct your grammer...
I just typed that up real fast.
-
<frame src="http://siteb.com"> </src>
google frame src, i think you can get rid of the scrolls on the side.
-
too white imo. Buttons are too great either.
-
Made all icons on that page .
was going for the kinda of simple/slick design.
comments .
I will be coding my own blog system kinda and tut submitter.
-
the banner kinda has a crappy drop shadow. The home and the other button is pixely. =/
But your on your way.
-
not html at all. I know how to make a form, I'm asking if they select black, it would show the rs stat sig bg as:
http://rstools.ws/images/sigs/black-range.png
and the url would be
http://rstools.ws/statSig.php?theme=1?name=goku_the_mon
but if they select green, it would show the green image, http://rstools.ws/images/sigs/green-melee.png,
it would show
-
Alright, so I have a form and this is what i got so far:
<form action="statSig.php" method="post"> RS2 Username: <input type="text" class="box_sub" name="name" /> <select> <option>Black</option> <option>Green</option> <option>Steel</option> </select> <input type="submit" class="submit_price" /> <label> </label> </form>
The whole document
<?php include("which.php"); $getname = $_GET['name']; if($getname) { header('Content-type: image/png'); $file = @file('http://hiscore.runescape.com/index_lite.ws?player=' . $getname); $levels = array(); $experience = array(); $ranks = array(); if($file){ foreach($file as $id => $stat){ $skill = explode(',',trim($stat)); array_push($ranks, str_replace("-1", "--", $skill[0])); array_push($levels, str_replace("-1", "--", $skill[1])); if($id < 25){ array_push($experience, str_replace("-1", "--", $skill[2])); } } } $attack = $levels[1]; $defence = $levels[2]; $strength = $levels[3]; $hp = $levels[4]; $prayer = $levels[5]; $ranged = $levels[6]; $magic = $levels[7]; $summoning = $levels[24]; $combatLevel = ceil($defence + $hp + $summoning + floor($prayer / 2)) * 0.25 + 1; $melee = ($attack + $strength) * 0.259; $ranger = floor($ranged * 1.5) * 0.245; $mage = floor($magic * 1.5) * 0.245; $ranger = ceil($ranger); $mage = ceil($mage); $melee = ceil($melee); if ($melee >= $ranger && $melee >= $mage) { $combat = ceil($combatLevel + $melee); } else if ($ranger >= $melee && $ranger >= $mage) { $combat = ceil($combatLevel + $ranger); } else if ($mage >= $melee && $mage >= $ranger) { $combat = ceil($combatLevel + $mage); } $getname = str_replace("_", " ", ucfirst(strtolower($getname))); $imres = imagecreatefrompng("./images/sigs/" . $im); $black = imagecolorallocate($imres, 0, 0, 0); $grey = imagecolorallocate($imres, 62, 62, 62); imagettftext($imres, 16, 0, 260, 22, $black, "arial.ttf", $getname); imagettftext($imres, 16, 0, 262, 22, $grey, "arial.ttf", $getname); imagettftext($imres, 11, 0, 278, 48, $black, "arial.ttf", $levels[0]); imagettftext($imres, 11, 0, 278, 73, $black, "arial.ttf", $combat); imagettftext($imres, 10, 0, 40, 17, $black, "arial.ttf", $levels[1]); imagettftext($imres, 10, 0, 40, 40, $black, "arial.ttf", $levels[2]); imagettftext($imres, 10, 0, 40, 63, $black, "arial.ttf", $levels[3]); imagettftext($imres, 10, 0, 40, 86, $black, "arial.ttf", $levels[4]); imagettftext($imres, 10, 0, 40, 109, $black, "arial.ttf", $levels[5]); imagettftext($imres, 10, 0, 40, 132, $black, "arial.ttf", $levels[6]); imagettftext($imres, 10, 0, 103, 17, $black, "arial.ttf", $levels[7]); imagettftext($imres, 10, 0, 103, 40, $black, "arial.ttf", $levels[8]); imagettftext($imres, 10, 0, 103, 63, $black, "arial.ttf", $levels[9]); imagettftext($imres, 10, 0, 103, 86, $black, "arial.ttf", $levels[10]); imagettftext($imres, 10, 0, 103, 109, $black, "arial.ttf", $levels[11]); imagettftext($imres, 10, 0, 103, 132, $black, "arial.ttf", $levels[12]); imagettftext($imres, 10, 0, 166, 17, $black, "arial.ttf", $levels[13]); imagettftext($imres, 10, 0, 166, 40, $black, "arial.ttf", $levels[14]); imagettftext($imres, 10, 0, 166, 63, $black, "arial.ttf", $levels[15]); imagettftext($imres, 10, 0, 166, 86, $black, "arial.ttf", $levels[16]); imagettftext($imres, 10, 0, 166, 109, $black, "arial.ttf", $levels[17]); imagettftext($imres, 10, 0, 166, 132, $black, "arial.ttf", $levels[18]); imagettftext($imres, 10, 0, 229, 17, $black, "arial.ttf", $levels[19]); imagettftext($imres, 10, 0, 229, 40, $black, "arial.ttf", $levels[20]); imagettftext($imres, 10, 0, 229, 63, $black, "arial.ttf", $levels[21]); imagettftext($imres, 10, 0, 229, 86, $black, "arial.ttf", $levels[22]); imagettftext($imres, 10, 0, 229, 109, $black, "arial.ttf", $levels[23]); imagettftext($imres, 10, 0, 229, 132, $black, "arial.ttf", $levels[24]); imagepng($imres); imagedestroy($imres); } ?> <?php include("top.php"); ?> <?php include("banner_s.php"); ?> <?php include("nav1.php"); ?> </div> <div class="content"><font face="Arial, Helvetica, sans-serif"> <?php if(isset($_POST['name'])) { echo "<img src=\"statSig.php?name=" . $_POST['name'] . "\" /><br />"; echo "Forum Link:<br />"; echo "[img]http://rstools.ws/statSig.php?name=" . $_POST['name']; echo "[/img]"; } else { ?> <form action="statSig.php" method="post"> RS2 Username: <input type="text" class="box_sub" name="name" /> <select> <option>Black</option> <option>Green</option> <option>Steel</option> </select> <input type="submit" class="submit_price" /> <label> </label> </form> </font> <?php } ?> </div> <?php include("nav2.php"); ?> <?php include("copyright.php"); ?>
How do i make it so, when they select "black" and click submit, it won't be http://rstools.ws/statSig.php?name=lite22 but like
http://rstools.ws/statSig.php?name=lite22?=green
what code would do this?
-
register page is nice.
-
Alright, So I need a timer so that they can only send me one email every hour.
I have no idea how to add this, heres my script:
<?php // Contact subject $striptags $subject ="$subject"; // Details $striptags $message="$detail"; // Mail of sender $striptags $mail_from="$customer_mail"; // From $striptags $header="from: $name <$mail_from>"; // Enter your email address $to ='webmaster@rstools.ws'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "We've recived your contact information"; } else { die "ERROR"; } ?>
-
As I said, I wrote the code for the actual site myself, just borrowed design and images from a template.
Fixed:
-When a user tries to go to sub-dir not in the include array, a custom error page is displayed instead of a include() error.
-Removed login/home icons from top.
-Fixed some link CSS issues.
-Changed a few padding values.
oh ic, this is like a coding thing..i gotcha. My bad.
-
The header came from a template, the rest of it I designed myself.
Please be more specific on how the logo/menu/graphic seem out of place. I have tested it in FF, IE, and Opera and it looks fine.
http://www.templatesbox.com/premium-templates/website-templates/template110.htm
thats not designing, all you did is change the body and made it look worse.. =/
sorry i just don't like it when people use templates.
-
Looks alright. Could use a spellcheck on the blog posts... As well as a read through.
lol i quickly wrote that up, its suppose to be a 'fake'
-
Crap, site got messed when i tried setting up a blog =/
-
It's pretty good. The colour scheme's not bad but I'd say a little too much blue. Layout is nice and clean though there are a few slight spacing issues, like for example on the left side content boxes there's a large padding at the bottom of each; but none at the top. In IE (8 BETA I'm using) in the main content area, text from the first block overlaps the next block. The images look a little amateur, especially the picture of a house. Also the footer text looks like you forgot about it.
There are a few things that could be done better as I've said, but on a positive note it's a really good start. Get more content up there!
A
I only tested ie7 and I have 'correct' code, and yes, the house prob looks bad and the color scheme is too blue.
-
-
bright blue + bright red = killing meh eyes.
I mean, trust me, don't be like those web designers who can't decide what color to choose between their favorite colors. It just dosen't blend
-
that green is sooooooooooo ugly...green does not go good with orange.
-
Not eye appealing, you can code, but try working on that visual side.
-
could you provide the actual webpage, it looks really good btw.
-
Is there an onclick function, i would like to click an arrow and it drops down links, how could i do this?
-
http://webdevshare.com/template1/
Forgot about this site for a while, then i remembered it, i made a few sites, etc,. I made this today, july 28, 2008
download it:
-
Not really fond of the design, but im giving some opinions so maybe u can find something to improve.
- The header isnt bad. I kinda like those glowing circles. To add a bit of atmosphere to it, i would add some mode detail. Some glowing rectangles (??), any sketch graphic or some vista-wallpaper-like gradients. There are infinite possibilities to make that header graphic look great. I would loose that glossy look as its extremely overused and not a trend anymore. Oh and the white site title is barely visible there. A little more shadow or a gradient in the back could make it pop out.
- As for the glossy look, that vista-like menu is overused now days. Looks like people aint got ideas any more. It doesnt look bad on your site, but to me its unprofessional and screams lack of creativity.
- Isnt there too much margin between the content and sidebars?
- I would separate a bit the different panels (ie. "updates" and "other links"). The kinda break the flow and make it a bit difficult to distinguish different features.
- Add a footer
The content is still missing so i cant give u good suggestions on that. Generally, try to get some air between content and use different font sizes, bolds and italics as much as u can to tell the user what they really need to read.
Thank you, this site has great C&C unlike other forums.
Yes, I know the header sucks, but I had no idea for a stock image.
-
Well in that case, he didn't answer your question. Read up on include in the php manual.
yeah i noticed when it didn't work.
do you have any idea?
Just what he said You need to use the include function.
include('left_side.php');
There's more in the PHP manual about other things you might find useful.
thank you so much!!! solved btw
-
Well in that case, he didn't answer your question. Read up on include in the php manual.
yeah i noticed when it didn't work.
do you have any idea?
[SOLVED] echoing and array help :(
in PHP Coding Help
Posted
Its echoing out a '1' one the homepage..and every other page..not what the variables say.. website: http://webdevshare.com
here is my script i wrote... please help?