Another wordpress theme

Free beautiful wordpress theme

Free beautiful wordpress theme


Here is another free beautiful wordpress theme from dynamicguru.com . This theme uses jQuery effects for a nice hover effect on the links in the sidebar.

Download this free WordPress theme

UPDATE 17/06/09

An updated an improved version (1.3) of this theme is now available for download at the official wordpress theme directory :
http://wordpress.org/extend/themes/silver-dreams


To install wordpress theme :

  1. Download and unzip the theme file
  2. Upload the theme directory to “wp-contents/themes” directory
  3. If you do it right, the theme preview will be visible in “Themes”, Click on it to activate and enjoy!

Here are 10 helpful wordpress cheatsheets for designers.

 

PHP contact form script

The most common use of php on the internet is probably to make Contact Forms or mail forms . Here is a free php contact form script that takes input from 5 fields : name,email,url,subject and message. The script also validates the input and checks to see if the name , email and message fields are filled out properly and also checks if the email address provided is valid. the script then sends a mail to the administrator containing the message and the visitor info and also writes (appends) the input to a “contact.log” file . The script is quiet easy to understand and edit as it is commented and well written. Just place the following code in a “contact.php” file and change the value of $admin_mail to your email id. You can style the form to your taste using css.

'
<?php

error_reporting(0);
	//Replace with your email ID
	$admin_mail="mujtaba_91@yahoo.com";
	
if (isset($_POST['button'])) {
	$date=date('l dS \of F Y h:i A e');
	$name=htmlentities($_POST['name']);
	$email=htmlentities($_POST['email']);
	$url=htmlentities($_POST['url']);
	$subject=htmlentities($_POST['subject']);
	$message=htmlentities(stripslashes($_POST['message']));
	//Form Validation
	$errors="";
	if(empty($name)) {
		$errors.="Please enter your name <br />";
	}
	
	if(empty($email) || !strpos($email, "@") || !strpos($email, ".")) {
		$errors.="Please enter a valid email ID <br />";
	}
	
	if(empty($message)) {
		$errors.="Please enter a message <br />";
	}
	
	if(!empty($url) && !strpos($url,"http://")) {
		$url="http://".$url;
	}
	
	
	//Building mail if the input is valid
	
	if ($errors=="") {
	$mail_subject="Message from :".$email;
	 //Required for html formatted mail, do not remove
	$headers  = 'MIME-Version: 1.0' . "\r\n";
	//Required for html formatted mail, do not remove
	$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; 
	$headers .= "To: Admin <".$admin_mail.">" . "\r\n";
	$headers .= "From: ".$name." <".$email.">" . "\r\n";
	
	//The mail
	$mail_message="
	<html>
	<head>
	<title> Message from ".$name." </title>
	</head>
	<body>
	<b>Name</b> :<br /> $name <br />
	<b>Email</b> :<br /> $email <br />
	<b>URL</b> :<br /> <a href="$url">$url</a> <br />
	<b>IP Address</b> : <br/>
	".$_SERVER['REMOTE_ADDR']." <br />
	<b>Date and Time</b> : <br />
	$date <br />
	<b>Message</b> :<br/> ".nl2br($message)."
	</body>
	</html>";
	
	if(mail($admin_mail,$mail_subject,$mail_message,$headers)) {
		$status="Mail Sent Successfully";
		//echo "<div class='success'>$status</div>";
	}
	else {
		$status="Mail Failed to Send";
		//echo "<div class='error'>$status</div>";
	}
	
	//Logging the message to a file
	$file="contact.log";
	$log_message="
	Name : $name\r\n
	Email : $email\r\n
	URL: $url\r\n
	Subject: $subject\r\n
	Time: $date\r\n
	IP Address: ".$_SERVER['REMOTE_ADDR']."\r\n
	Message:
$message\r\n
	Mailing Status: $status\r\n
	_______________________________________________________________________\r\n
	";
	$fh=fopen($file,"a+");
	fwrite($fh,$log_message);
	fclose($fh);
	
	echo "Thanx! i will get back to you soon";
	}
	else {
		echo $errors;
	}

	
}

else {
	echo "
	<form action="contact.php" method="post" id="myform" >
	<input type="text" name="name" /> Name <br />
	<input type="text" name="email" /> Email <br />
	<input type="text" name="url" /> URL <br />
	<input type="text" name="subject" /> Subject <br />
	<textarea cols="30" rows="20" name="message" ></textarea>
	<input type="submit" name="button" value="Submit" />
	</form>";
}
?>
'

 

My first web portfolio

The web portfolio of Mujtaba Ahmed

The web portfolio of Mujtaba Ahmed

Today i’ve launched my new website and my first web portfolio.

You can check it out here: www.dynamicguru.com/mujtaba/ .

The site is one of my best works till date and is the first site of mine to use ajax and is powered by jQuery. The site uses awesome jQuery effects for page transitions. Also it has validated XHTML 1.0 Strict markup. Check it out and tell me in the comments what you think about it?

 

Learning jQuery

jQuery is a comprehensive free javascript library that is a must for every designer and developer. It is extremely powerfull and very easy to learn and use and saves a developer a hell lot of time. It can be used to build powerful interactive User Interfaces and sites.You can take a look at some awesome sites built using jquery at jQueryStyle.com to better understand what this little wonder library is capable of.
The library was first written by John Resig back in 2006. The current realease version at the time of writing is 1.3.2. Due to its DOM centered approach, jQuery is very easy to learn for a person who already has some css and xhtml background.
You can download your copy of jQuery from the homepage of jQuery.com
There are a number of free resources on the web which teach you jQuery right from the start, but i would recommend LearningJQuery as it is well documented and has three separate sections for beginner,intermediate and advanced levels. LearningJQuery is authored by Karl Swedberg and some other authors. it is a good place to start with for people new to jQuery. Also the jQuery Docs is good place to refer to whenever you find yourself stuck with a problem.

 

Why not to rely on free web hosts?

I launched Scrapground.co.cc around an year ago when Orkut enabled html scraps. The site was my first project as i had just taught my self css and php. It featured an online “scrap creating tool” which designed your scrap in 40 different html templates and all you had to do was copy and paste the code given below any template into your friends scrapbook. The site was hosted for free at www.x10hosting.com and had a free .co.cc domain. It worked fine untill i moved to India and stopped logging in into my hosting account frequently, i got suspended a couple of times for inactivity and last week i found out to my surprise that my hosting account had been terminated for inactivity!!! I lost both of my sites as i didnt have a backup of it on my local machine!!! :(

The lesson i learnt were : Never rely on free webhosts and if you cant do without a free host Take regular backup of your site so even if you are kicked off the hosting service you can still quickly switch to another free host.

There are even more reasons as to why free hosts are highly un-reliable, like:

  • Limited or low bandwidth
  • Limited or very less web space
  • Frequent server downtimes
  • No or limited customer support
  • Lack of freedom/ restrictions
  • Search Engines ignore you
 

Creattica – best design inspiration site

Every designer, at the start of his career, needs some inspiration, i mean great ideas dont simply come out of nowhere in a beginners mind. We all have been or are copiers, we need some push in the right direction, some ready examples of great design work really boosts up our own creativity level, this is exactly what inspiration sites do, and www.creattica.com is my most favourite site for inspiration. It features thousands of user submitted photoshop artwork, beatiful web designs and impressive business cards. So if you are one of those looking for some great examples to learn from (not to copy from) then make sure you visit www.creattica.com.

 
2019 All rights reserved | Powered by WordPress
Back to top
Theme by dynamicguru.com