Email Activation For Registration Forms

Registration page:

<html>
<body>
<form action="verify.php" method="post" name="register">
Username: <input type="text" name="username" />
Password: <input type="text" name="password" />
Email: <input type="text" name="email" />
<input type="submit" />
</form>
</body>

</html>


Verifying in php:

verify.php


<?php
mysql_connect("localhost", "root", "") or die(mysql_error());

mysql_select_db("test") or die(mysql_error());

if ($_POST['form_submitted'] == '1') {
##User is registering, insert data until we can activate it

$activationKey = mt_rand() . mt_rand() . mt_rand() . mt_rand() . mt_rand();
$username = mysql_real_escape_string($_POST[username]);
$password = mysql_real_escape_string($_POST[password]);

$email = mysql_real_escape_string($_POST[email]);

$sql="INSERT INTO users (username, password, email, activationkey, status) VALUES ('$username', '$password', '$email', '$activationKey', 'verify')";

if (!mysql_query($sql))

{

die('Error: ' . mysql_error());

}

echo "An email has been sent to $_POST[email] with an activation key. Please check your mail to complete registration.";

##Send activation Email

$to = $_POST[email];

$subject = " YOURWEBSITE.com Registration";

$message = "Welcome to our website!\r\rYou, or someone using your email address, has completed registration at YOURWEBSITE.com. You can complete registration by clicking the following link:\rhttp://www.YOURWEBSITE.com/verify.php?$activationKey\r\rIf this is an error, ignore this email and you will be removed from our mailing list.\r\rRegards,\ YOURWEBSITE.com Team";

$headers = 'From: noreply@ YOURWEBSITE.com' . "\r\n" .

'Reply-To: noreply@ YOURWEBSITE.com' . "\r\n" .

'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

} else {

##User isn't registering, check verify code and change activation code to null, status to activated on success

$queryString = $_SERVER['QUERY_STRING'];

$query = "SELECT * FROM users";

$result = mysql_query($query) or die(mysql_error());

while($row = mysql_fetch_array($result)){

if ($queryString == $row["activationkey"]){

echo "Congratulations!" . $row["username"] . " is now the proud new owner of an YOURWEBSITE.com account.";

$sql="UPDATE users SET activationkey = '', status='activated' WHERE (id = $row[id])";

if (!mysql_query($sql))

{

die('Error: ' . mysql_error());

}

}

}

}
?>

Mail script for user & admin at a time

<?php

$yourname = $_POST['yourname'];
$subject = $_POST['subject'];
$email =$_POST['email'];
$comments = $_POST['comments'];
$package = $_POST['package'];
$price= $_POST['price'];

$to="rmonicse@gmail.com";

$subject = "Package Order";

$message = $package."\n".$price."\n".$yourname."\n".$subject."\n".$email."\n".$comments;

$headers = 'From: UPTREND TECHNOLOGIES LTD@ http://www.uptrendgroupbd.com' . "\r\n" .

'Reply-To: noReply@ http://www.uptrendgroupbd.com' . "\r\n" .

'X-Mailer: PHP/' . phpversion();



mail($to, $subject, $message, $headers);



$to=$email;
$subject = "Package Ordering Confirmation";
$message ="Thanks for ordering.We wil contact as soon as possible";
$headers = 'From: UPTREND TECHNOLOGIES LTD@ http://www.uptrendgroupbd.com' . "\r\n" .

'Reply-To: noReply@ http://www.uptrendgroupbd.com' . "\r\n" .

'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
<script>
window.alert('message') ;
</script>
header("Location: http://www.uptrendgroupbd.com/uptrendsoft");
?>

Master Page concept using jquery

Script:

<script type="text/javascript">
$().ready(function() {

$('.unique_id').click(function(e){
var segment = $(this).attr('segment');
$('.content_text').hide();

$.ajax({
url: segment+".html",
dataType: "text",
success: function(data){
$('.content_text').html(data);
eval($(data).filter('script'));
$('.content_text').fadeIn('slow');
}
});
e.preventDefault();
});
});
var $VisualLightBoxParams$ = {autoPlay:true,borderSize:21,enableSlideshow:true,overlayOpacity:0.4,startZoom:true};

</script>


we can apply the class named unique_id in any div. Such as example


<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="index.html" class="panel_text">Home</a></li>
<li class="green"><a href="#" class="unique_id panel_text" segment="convention-program">Convention Program</a></li>
<li> <a href="spech_of_delegates.html" class="panel_text unique_id" segment="spech_of_delegates">Speech of all delegates.</a></li>
<li><a href="#" class="panel_text unique_id" segment="elected_ executive_body_ of_ ieb">Elected Executive body of IEB</a></li>
<li><a href="time_series_list.html" class="unique_id panel_text" segment="time_series_list" >Time-series list of Presidents </a></li>
<li><a href="agm_reports.html" class="unique_id panel_text" segment="agm_reports" >AGM Reports</a></li>
<li><a href="#" class="panel_text">Memorial Lectures</a></li>
<li><a href="bye-laws.html" class="unique_id panel_text" segment="bye-laws" >IEB Constitution/Bye-laws.</a></li>
<li><a href="#" class="panel_text">Prof. Institutions's Introduction</a></li>
<li><a href="#" class="panel_text">Member Database</a> </li>
<li><a href="#" class="panel_text">Fellow Database</a> </li>
<li><a href="#" class="panel_text">IEB welfare scheme </a></li>
<li> <a href="#" class="panel_text">IEB Publications </a></li>
<li> <a href="gallery.html" class="unique_id panel_text" segment="gallery" >Photo Gallery </a></li>
<li> <a href="gallery.html" class="unique_id panel_text" segment="Advertisements of the Sponsors." >Advertisements of the Sponsors. </a></li>
</ul>
</div>

The sub page : its depends on content_text class.


<div class="content_text">
<h1> Bye-laws</h1>
<p class="content_text_shape">

<iframe src="Binder1.pdf" style="width:600px; height:500px;" frameborder="0"></iframe>



</p>
</div>

<div style="clear:both;"></div>
</div>

Good design website

http://www.wts.edu/
http://www.uwm.edu.pl/
http://www.uscupstate.edu/
http://www.bcu.ac.uk/
http://www.css.edu/
http://aut.ac.ir/www/aut/main/
http://www.dote.hu/i
http://www.francis.edu/

http://www.leadertech.com/confirmation_examples
http://www.uoit.ca/
http://www.nsula.edu/
http://www.aubg.bg/
http://www.longwood.edu/
http://www.udesa.edu.ar/
http://www.cabrillo.edu/
http://www.edinboro.edu/
http://www.mc.edu/
http://www.georgefox.edu/
http://www.drexelmed.edu/
http://www.ektf.hu/ujweb/index_en.php
http://top-seo-sem-tips.blogspot.com/
http://www.pol.lublin.pl/
http://www.aum.ed
http://www.iue.edu/
http://www.smsu.edu/
http://www.emu.edu/
http://www.ecsu.edu/

Snag IT:
SnagIT : 7.2
User Name: Mehede
Software Key:0EE433B1DCDEA5766F

SnagIT : 10
ZEN5H-24LZK-TNYET-2EGKJ-MMCE4

Html practice

css:


.clr { clear:both; }
#wrap { width:860px; margin:0 auto; }
#curvy-container { width:253px; float:left; margin-left:10px; margin-top:20px; }
.curvy-container-top {
height:47px;
width:253px;
margin:0;
padding:0;
float:left;
clear:both;
background-image: url(images/help-box_01.jpg);
background-position:top;
background-repeat:no-repeat;
}
.curvy-container-mid { width:253px; background:url(images/img-mid-curvy.jpg) repeat-y; }
.curvy-container-mid ul { list-style:none; margin:0 0 0 10px; padding:0;}
.curvy-container-mid ul li { font-family:Arial, Helvetica, sans-serif; font-size:13px;margin:0;padding:3px;font-weight:normal; }
.curvy-container-mid ul li a{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#000000;
text-decoration:none;}

.curvy-container-mid ul li a:hover{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#0099FF;
text-decoration:none;}

.curvy-container-bottom {
height:25px;
background-image: url(images/img-bottom-curvy.jpg);
background-position:top;
background-repeat:no-repeat;
}
.span_text
{
padding-left:5px;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;


}
.span_text_2

{
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
margin-left:15px;
text-decoration:none;


}
.span_text_3
{
color: #666666;
margin-left:70px;
margin-top:2px;


}
.span_text_more
{

font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color: #0099FF;
text-decoration:none;


}
.break a
{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
text-decoration:none;
font-weight:bold;
margin-left:20px;

}
.break a:hover
{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color: #0099FF;
text-decoration:none;
font-weight:bold;

}

.arrow
{
padding-left:30px;
}
.box_span_text
{
width:253px;
font-size:15px;
font-family:"Trebuchet MS";
font-weight:bold;
color: #FFFFFF;
text-align:center;
line-height:40px;
margin-top:5px;

}





Html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>free</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="wrap">
<div id="curvy-container">
<div class="curvy-container-top">
<div class="box_span_text">Common Sections</div>
</div>
<div class="curvy-container-mid">
<ul>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Home</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>About Us</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Sromobazar Solution</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Contact Us</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Overseas Education</strong></a>
</span>
</li>
<div class="span_text_2">
<p style="margin-left:15px;"><strong class="span_text_more">Countrywise Universities List:</strong></p>
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=1" >Asia</a></span>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=2">India</a></li>
</ul>

</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=28" >Japan</a></span>



<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2"> University Of Tokyo</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2">University Of Tokyo</a></li>

<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2"> University Of Tokyo</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="#" >Africa</a></span>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=140">South Africa</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=2">North America</a></span>
<li class="span_text_3" > <img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=104"> Unitied States</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=96">Canada</a></span>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2v2&ownerId=x2"> Mcgrill University</a></li>
</ul>
</div>

<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=3">South America</a></span>
<li class="span_text_3" > <img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=113"> Argentina</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=4">Europe</a></span>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=90"> United Kingdom</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<span class="break"><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=6">Australia</a></span>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=124">Australia</a></li>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=126">Newzealan</a></li>
</ul>
</div>
</ul>
</div>
<div class="curvy-container-bottom" >

</div>
</div>
<div id="curvy-container">
<div class="curvy-container-top">
<div class="box_span_text">Account Login Sections</div>
</div>
<div class="curvy-container-mid">
<ul>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Create Account</strong></a>
</span>
</li>


<div>
<ul>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=41">Employeer</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=11">Job seeker</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=21">Student</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=51">University Admin</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=13">Corporate Group</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=61">University Agency</a></li>

</ul>
</div>

<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Sign In</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Advance Search</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Job Listing</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Category Wise Job list</strong></a>
</span>
</li>
<div class="span_text_2">
<ul class="span_text_3">
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=job-listing&ID=42&isBidable=1">Accounts/Finance</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=job-listing&ID=57&isBidable=1">IT/Telecommunication</a></li>
</ul>
</div>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Employee Listing</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Job seeker Listing</strong></a>
</span>
</li>

</ul>
</div>
<div class="curvy-container-bottom"></div>

<br />
<div class="curvy-container-top">
<div class="box_span_text">Common Sections</div>
</div>
<div class="curvy-container-mid">
<ul>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>List of Student</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Universities</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>List of Embassy</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Get Widges</strong></a>
</span>
</li>

</ul>
</div>
<div class="curvy-container-bottom"></div>
</div>





<!--help-->
<div id="curvy-container">
<div class="curvy-container-top">
<div class="box_span_text">Help</div>
</div>
<div class="curvy-container-mid">
<ul>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Help and Support</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>FAQ</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Payment Process</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>FAQ</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Searching For jobs</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Registering</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>For Corporate Group</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Keeping Your details Uptodate</strong></a>
</span>
</li>
<li>
<img src="images/arrow2.jpg" />
<span class="span_text">
<a href="http://www.sromobazar.com/index.php"><strong>Technical And Other Help Issue</strong></a>
</span>
</li>

</ul>
</div>
<div class="curvy-container-bottom"></div>
</div>
</div>


</body>
</html>

HTML

Css:
@charset "utf-8";
/* CSS Document */

.main_container
{
width:835px;
margin: 0 auto;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
border:1px solid #0099FF;
padding:10px;
height:auto;


}
.sitemap_left_container
{
width:250px;
float:left;
padding:0px;
margin-left:10px;
height:auto;
}
.sitemap_content
{
width:250px;
-moz-border-radius:5px;
border-radius:5px;
-webkit-border-radius:5px;
border: 1px solid #999999;
margin: 0;
padding:0;
background: url(images/top_bg.jpg) repeat-x top;
background-color:#ffffff;
}
.sitemap_content h1
{
font-size:15px;
font-family:"Trebuchet MS";
font-weight:bold;
color: #FFFFFF;
line-height:20px;
text-align:center;
margin-top:7px;

}
.sitemap_content ul
{
width:auto;
padding:5px;
margin-top:8px;
margin-left:8px;
}
.sitemap_content li
{
width:auto;
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
margin:0;
padding:0;
font-weight:normal;
margin-top:10px;


}
.sitemap_content li a
{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#000000;
text-decoration:none;
}
.sitemap_content li a:hover
{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color: #0099FF;
text-decoration:none;
}
.sitemap_content2 a
{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
text-decoration:none;
font-weight:bold;
}
.sitemap_content2 a:hover
{
list-style:none;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color: #0099FF;
text-decoration:none;
font-weight:bold;
}
.span_text
{
padding-left:5px;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;

}
.span_text_2
{padding-top:3px;
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
margin-left:15px;


}
.span_text_3
{
color: #666666;
margin-left:60px;


}
.span_text_more
{
padding-left:15px;
padding-top:3px;
font-size:12px;
font-family:Arial, Helvetica, sans-serif;

}
.sitemap_middle_container
{
width:250px;
float:left;
padding:0px;
margin-left:10px;
height:auto;

}
.sitemap_right_container
{
width:250px;
float:left;
padding:0px;
margin-left:10px;
height:auto;


}
.break
{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
text-decoration:none;
font-weight:bold;

}

.arrow
{
padding-left:10px;
}
HTML


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="sitemap.css" rel="stylesheet" type="text/css" />

<script src="js/curvycorners.src.js" type="text/javascript">
</script>

</head>

<body>
<div class="main_container">
<div class="sitemap_left_container">
<div class="sitemap_content">
<h1>Common Sections</h1>
<ul>

<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php"><strong>Home</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-about-us.php"><Strong>About Us</Strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-sromobazar-solution.php"><strong>Sromobazar Solution</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-contact-us.php"><strong>Contact Us</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-overseas-education.php"><strong>Overseas Education</strong></a></span></li>
<div class="span_text_2">
<p style="margin-left:15px;"><strong>Countrywise Universities List:</strong></p>
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=1"><span class="break">Asia</span></a>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=2">India</a></li>
</ul>
</div>
<div class="span_text_2">
<ul><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=28"><span class="break">Japan</span></a>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2">University Of Tokyo</a>
</li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2"> University Of Tokyo</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2z2&ownerId=x2">University Of Tokyo</a></li>
</ul>

</div>
<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=5"><span class="break">Africa</span></a>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=140">South Africa</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=2"><span class="break">North America</span></a>
<li class="span_text_3" > <img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=104"> Unitied States</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=96"><span class="break">Canada</span></a>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-detail&ID=w2v2v2&ownerId=x2"> Mcgrill University</a></li>
</ul>
</div>

<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=3"><span class="break">South America</span></a>
<li class="span_text_3" > <img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=113"> Argentina</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=4"><span class="break">Europe</span></a>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=90"> United Kingdom</a></li>
</ul>
</div>
<div class="span_text_2">
<ul>
<a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=continent-university&continent_id=6"><span class="break">Australia</span></a>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=124">Australia</a></li>
<li class="span_text_3" ><img src="images/arrow.jpg" class="arrow" /><a href="http://www.sromobazar.com/index.php?skin=default&area=student&action=university-listing&country_id=126">Newzealand</a></li>
</ul>
</div>
</ul>
</div>
</div>
<div class="sitemap_middle_container">
<div class="sitemap_content">
<h1>Account Login Section</h1>
<ul>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-user-profile-creator.php"><strong>Create Account</strong></a></span></li>
<div>
<ul>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=41">Employeer</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=11">Job seeker</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=21">Student</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=51">University Admin</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=13">Corporate Group</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=user-profile-creator&userTypeID=61">University Agency</a></li>

</ul>
</div>

<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-user-login.php"><strong>Sign In</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-advance-search-form.php"><strong>Advance Search</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=job-listing&recent=yes"><strong>Job Listing</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="#"><strong>Category Wise Job list</strong></a></span></li>
<div class="span_text_2">
<ul class="span_text_3">
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=job-listing&ID=42&isBidable=1">Accounts/Finance</a></li>
<li class="span_text_3"><img src="images/arrow.jpg" class="arrow" /> <a href="http://www.sromobazar.com/index.php?skin=default&area=online&action=job-listing&ID=57&isBidable=1">IT/Telecommunication</a></li>
</ul>
</div>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=employeer&action=employer-listing"><strong>Employee Listing</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=jobseeker&action=jobseeker-listing"><strong>Job seeker Listing</strong></a></span></li>
</ul>
<br />

</div>
<br />
<br />

<div class="sitemap_content">
<h1>Other Links</h1>
<ul>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-student-listing.php"><strong>List of Student</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-university-listing.php"><strong>Universities</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-embassy-listing.php"><strong>List of Embassy</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-widget-listing.php"><strong>Get Widges</strong></a></span></li>
<br />
<br />
<br />
<br />
</ul>

</div>

</div>
<div class="sitemap_right_container">
<div class="sitemap_content">
<h1>Help</h1>
<ul>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/worldwide-job-and-education-help.php"><strong>Help and Support</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=faq"><strong>FAQ</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=payment-process"><strong>Payment Process</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=help-searching-for-jobs"><strong>Searching For jobs</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=registering"><strong>Registering</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=for-corporate-group"><strong>For Corporate Group</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=keeping-your-details-uptodate"><strong>Keeping Your details Uptodate</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.sromobazar.com/index.php?skin=default&area=help&action=technical-and-other-help-issues"><strong>Technical And Other Help Issues</strong></a></span></li>
</ul>
<br />
<br />
<br />
<br />
</div>
<br />


<div class="sitemap_content">
<h1>Sister Sites</h1>
<ul>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.askbangladesh.com/"><strong>Ask Banglades.com Limited</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.itbidding.com/"><strong>itbidding.com</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.loginbd.com/"><strong>loginbd.com</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.itreel.com/"><strong>itReel.com</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.askbazar.com/"><strong>Askbazar.com</strong></a></span></li>
<li><img src="images/arrow2.jpg" /><span class="span_text"><a href="http://www.dressbazar.com/"><strong>Dressbazar.com</strong></a></span></li>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

</ul>
</div>
</div>
<div style="clear:both;"></div>
</div>

</body>
</html>

psd






arrow:

hover effect using css & html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
.btnContinue {
width: 120px;
height: 64px;
line-height:64px;
text-align:center;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#FFFFFF;
display: inline-block;
text-decoration: none;
background-repeat:no-repeat;
background-image: url(images/pp.jpg);
margin:0;
padding:0;
text-decoration:none;
}

.btnContinue:hover {
background-position:bottom right;
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#000000;
}
.btnContinue1 {
width: 145px;
height: 64px;
line-height:64px;
text-align:center;
display: inline-block;
font-size: 10px;
text-decoration: none;
background-repeat:no-repeat;
background-image: url(images/pp1.jpg);
margin:0;
padding:0;
text-decoration:underline;
}

.btnContinue1:hover {
background-position:bottom right;
}

</style>
</head>
<body style="width:1011px; border:1px solid #000000; height:67px; padding:0px; margin:0px;">
<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com">Home</a>
</div>

<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com"> </a>
</div>
<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com"> </a>
</div>
<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com"> </a>
</div>

<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com"> </a>
</div>
<div style="margin-left:0px; float:left;">
<a class="btnContinue1" href="http://learnwebdesignonline.com"> </a>
</div>
<div style="margin-left:0px; float:left;">
<a class="btnContinue" href="http://learnwebdesignonline.com"> </a>
</div>

<div style="margin-left:0px; float:left;">
<a class="btnContinue1" href="http://learnwebdesignonline.com"></a>
</div>



</body>

</html>

jquery menu

menu:
http://www.1stwebdesigner.com/resources/36-eye-catching-jquery-navigation-menus/

Rounded corner / Curved corner divs using CSS 3 in all browsers


<a href="http://www.htmlremix.com/css/curved-corner-border-radius-cross-browser">
Rounded corner / Curved corner divs using CSS 3 in all browsers</a>
<a>

Fireworks & Photoshop online tutorial

Fireworks & Photoshop online tutorial ::


1.http://www.entheosweb.com/fireworks/transparent_text.asp
2.http://www.vineyardesigns.com/tutorials/photoshop/document.shtml
3.http://www.pxleyes.com/blog/2009/09/20-fireworks-tutorials-for-absolute-beginners/
4.http://www.macronimous.com/resources/creating_image_banners_with_fireworksMX2004.htm
5.http://www.modernmorph.com/tutorials/cat/macromedia-fireworks/file/glossy-text/

html & css (part -2)

Css page:

/* CSS Document */


.main_container
{
width:1016px;
margin:0 auto;
border:1px dashed #FF0000;

}
.container
{
width:1016px;
background-image: url(images/bg.jpg);
height:200px;

}
.blue_text
{
font-family:Arial, Helvetica, sans-serif;
font-size:25px;
font-weight:bold;
color:#0099CC;
width:450px;
float:left;
border:1px solid #00FFCC;

}
.blue_text_2
{
font-family:Arial, Helvetica, sans-serif;
font-size:25px;
font-weight:bold;
color:#0099CC;
width:450px;
float:left;
border:1px solid #00FFCC;

text-align:right;

}
.text
{
width:700px;
float:left;

padding:10px;
}
.text2
{
width:155px;
height:157px;
float: left;
border:1px solid #000099;
background-image: url(images/mohila.jpg);
background-repeat:no-repeat;

}


.button_container
{
width:1014px;
border:1px dashed #9999FF;
margin:0 auto;
}



.content
{
width:1016px;
border:1px solid #0033CC;
float:left;
}
.box
{
width:225px;
float:left;
border:1px solid #FF0000;
padding:10px;
}
.icon
{
width:37px;
height:47px;
background-repeat:no-repeat;
background-image: url(images/icon.jpg);
margin-left:50px;
}

.icon_text
{
font:"Courier New", Courier, monospace;
color: #009999;
text-align:center;
}

.button
{
width:195px;
height:48px;
line-height:48px;
background-image: url(images/button.jpg);
background-repeat:no-repeat;
text-align:center;
}
Html page:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>


<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="main_container">
<div class="container">
<div class="blue_text">Rakhi Moni Mitro</div>
<div class="blue_text_2">Rakhi</div>
<div class="content">

<div class="text">ferlgdrlghtljyg[ljk[ylg ferlgdrlghtljyg[ljk[ylg ferlgdrlghtljyg[ljk[ylg</div>
<div class="text2"></div>
<div style="clear:both;"></div>
</div>

</div>




<div style="clear:both;"></div>
</div>
<div class="button_container">
<div class="box">
<div class="icon"></div>
<div class="icon_text">kgdkf hghgjmn mnlmjh</div>
</div>
<div class="box">
<div class="icon"></div>
<div class="icon_text">kgdkf hghgjmn mnlmjh</div>
</div>
<div class="box">
<div class="icon"></div>
<div class="icon_text">kgdkf hghgjmn mnlmjh</div>
</div>
<div class="box">
<div class="button">Start Order Now</div>
</div>

<div style="clear:both;"></div>
</div>

<div style="clear:both;"></div>
</div>
</body>
</html>

HTML & CSS practice




/* CSS Document */

.content
{
width:1014px;
border:1px solid #0033CC;
height:250px;

}
.box
{
width:225px;
height:300px;
float:left;
border:1px solid #FF0000;
padding-top:10px;



}
.icon
{
width:37px;
height:47px;
background-repeat:no-repeat;
background-image: url(images/icon.jpg);
}

.button
{
width:180px;
height:50px;
background-image: url(images/button.jpg);
background-repeat:no-repeat;
margin-top:30px;
}
.myBox {
margin: 0 auto;
border: 0px solid #fff;
color: #9966CC;
width: 25%;
padding: 20px;
text-align: left;
background-color: #f00;
border-top: #FF0000;
border-bottom: #FF0000;

border-left: #fff;
border-right: #fff;
float:left;
margin-left:10px;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
}

.small_logo
{
width:37px;
height:46px;
background-repeat:no-repeat;
background-image: url(images/brwoser.jpg);
float:left;
margin-left:5px;
}

ul#footerlinks {

float:left;

width:250px

}

#footerlinks li {

color:#666;

display:inline;

list-style-type:none;

font:11px Arial, Helvetica, sans-serif;

}

#footerlinks a {

color:#666;

text-decoration:none;

font:11px Arial, Helvetica, sans-serif;

}

#footerlinks a:link, #navlist a:visited {

color:#666;

text-decoration:none;

font:11px Arial, Helvetica, sans-serif;

}

#footerlinks a:hover {

color:#ff9800;

text-decoration:none;

font:11px Arial, Helvetica, sans-serif;

}


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript" src="js/curvycorners.src.js"></script>

</head>

<body>
<div class="content">

<div class="box">
<dd class="icon"></dd></br></br>
<dd>Send the design</dd></br>
<dd>send us your design in any common format</dd>
</div>

<div class="box">
<dd class="icon"></dd></br></br>
<dd>Send the design</dd></br>
<dd>send us your design in
any common format</dd>
</div>

<div class="box">
<dd class="icon"></dd></br></br>
<dd>Send the design</dd></br>
<dd>send us your design in any common format</dd>
</div>

<div class="box">
<dd class="icon"></dd></br></br>
<dd class="button"><span style="line-height:50px; text-align:center; margin-left:70px;">Home</span></dd>
</div>
</div>
<div class="content">
<div class="myBox">
<dd>Welcome to Rakhi</dd>
<dd><h5>{elcome to Rakhi}</h5></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd>Starting form -20$ 90$</dd>
<dd style="text-align:right;">Homepage Innerpage</dd>

</div>

<div class="myBox">
<dd>Welcome to Rakhi</dd>
<dd><h5>{elcome to Rakhi}</h5></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd class="small_logo"></dd>
<dd>Starting form -20$ 90$</dd>
<dd style="text-align:right;">Homepage Innerpage</dd>

</div>
<div class="myBox">

</div>

</div>

<div id="footerlinks">
<ul>
<li><a href="index.html" >Home</a> |</li>

<li><a href="about.html">About</a> |</li>

<li><a href="index.html" >Home</a> |</li>

<li><a href="about.html">About</a> |</li>

<li><a href="index.html" >Home</a> |</li>

<li><a href="about.html">About</a> |</li>

</ul>
</div>

<div class="content">
<dd class="icon"></dd>
<dd style="margin-left:5px; float: inherit;">wetreytyikjl</dd>
</div>
</body>
</html>

Making hover effect in css & html

i use two jpg button for this implimentation.








<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CSS Rollover Trifecta Buttons</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style media="screen" type="text/css">
/* NAVIGATION BUTTONS */
.menu {
height: 44px;
width: 844px;
}
.cssnav {
position:relative;
float: left;
margin: 0;
padding: 0;
font-family: arial, helvetica, sans-serif;
background: url(images/button.jpg) no-repeat;
width: 135px;
height: 49px;
overflow:hidden;/* for ie to hide extra height*/
text-align: center;
line-height:49px;

}
.cssnav a {

color: #000000;
font-size: 11px;
width: 135px;
height: 49px;
float: left;
color: black;
text-decoration: none;
overflow:hidden;/* for ie to hide extra height*/
text-align: center;
}
.cssnav a:hover {
color: #ffffff;
text-align: center;
background-image:url(images/button_hover.jpg);
}





/* END OF NAVIGATION */
</style>

<body>

<!--MAIN NAVIGATION START-->
<div class="menu">
<div class="cssnav"><a href="#" title="Search Engine Optimization">Home</a></div>
<div class="cssnav"><a href="#" title="Search Engine Submission">Search Engine Submission</a></div>

<div class="cssnav"><a href="#" title="Website Design">Website Design</a></div>
<div class="cssnav"><a href="#" title="Website Promotion">Website Promotion</a></div>
<div class="cssnav"><a href="#" title="Website Promotion">Website Promotion</a></div>
<div class="cssnav"><a href="#" title="Website Promotion">Website Promotion</a></div>

</div>
<!--MAIN NAVIGATION END-->


</body>
</html>


Rounded corner using html & css (ie6 supported)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>curvyCorners Demo 6</title>
<script type="text/JavaScript" src="curvycorners.src.js"></script>
<style type="text/css">

.myBox {
margin: 0 auto;
border: 0px solid #fff;
color: #9966CC;
width: 60%;
padding: 20px;
text-align: left;
background-color: #f00;
border-top: #FF0000;
border-bottom: #FF0000;

border-left: #fff;
border-right: #fff;

/* Do rounding (native in Firefox and Safari) */
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
}

html,body{
height: 100%;
text-align: center;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
margin: 0px;

color:#FA0;
}
.style4 {color: #FF}
</style>
</head>

<body>

<h1>curvyCorners Demo 6</h1>

<div class="myBox">

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur mi est, cursus sit amet, pellentesque et, ultricies a, ipsum. Nulla facilisi. Sed quis lacus. Aenean ut risus et lectus blandit gravida. Nam sed nunc. Aliquam non felis non diam aliquam gravida. Phasellus quis sem. Curabitur at velit. Vivamus libero velit, condimentum sit amet, tempus ut, aliquam sit amet, velit. Nunc hendrerit ante. Quisque egestas feugiat erat. Morbi tellus.
<br /><br />
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla ac ante sit amet metus hendrerit euismod. Aenean vestibulum, lectus in eleifend tempor, quam libero iaculis dolor, pellentesque pellentesque lorem nibh ut urna. Nulla rhoncus, ante sit amet tristique interdum, eros nulla nonummy justo, eu dapibus risus quam sit amet metus. Maecenas tristique augue vel enim. Duis blandit euismod pede. Pellentesque facilisis. Fusce dapibus sapien tristique massa. Nunc accumsan. Integer pretium risus et odio. Phasellus tincidunt rhoncus velit. Donec eu neque at massa mollis iaculis. Aliquam pellentesque auctor mi. Cras ante justo, ultricies quis, iaculis eu, tincidunt ac, velit. Etiam nunc erat, tincidunt sit amet, luctus quis, interdum a, nunc. Suspendisse elit.
<br /><br />
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla ac ante sit amet metus hendrerit euismod. Aenean vestibulum, lectus in eleifend tempor, quam libero iaculis dolor, pellentesque pellentesque lorem nibh ut urna. Nulla rhoncus, ante sit amet tristique interdum, eros nulla nonummy justo, eu dapibus risus quam sit amet metus. Maecenas tristique augue vel enim. Duis blandit euismod pede. Pellentesque facilisis. Fusce dapibus sapien tristique massa. Nunc accumsan. Integer pretium risus et odio. Phasellus tincidunt rhoncus velit. Donec eu neque at massa mollis iaculis. Aliquam pellentesque auctor mi. Cras ante justo, ultricies quis, iaculis eu, tincidunt ac, velit. Etiam nunc erat, tincidunt sit amet, luctus quis, interdum a, nunc. Suspendisse elit.

</div>


<span class="style4"></span>
</body>
</html>

logo


Code(KR)

//for user section view


<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<textarea name="newsletterContent" rows="50" cols="100" style="border:1px solid #a2a2a2;">
<?php if(strstr(html_entity_decode($thisDataPaket['NewsletterContent']), "-->"))
{
echo substr(html_entity_decode($thisDataPaket['NewsletterContent']), strrpos(html_entity_decode($thisDataPaket['NewsletterContent']), "-->")+3);
}
else
{
echo html_entity_decode($thisDataPaket['NewsletterContent']);
}
?>
</textarea>
</td>
<td><?php if($newsletterContenttError) {?><span style='color:red;'>*</span> <?php } else { ?> <span style='color:black;'>*</span><?php } ?></td>
</tr>
</table>


//For insert tinymce data

$newsletterContent = "";
if(!empty($_REQUEST['newsletterContent'])) $newsletterContent = $_REQUEST["newsletterContent"];

if($_REQUEST['newsletterContent'] != "")
{
if(get_magic_quotes_gpc())
{
$newsletterContent = stripslashes($_REQUEST['newsletterContent']);
}
}
$newsletterContent = htmlspecialchars($_REQUEST['newsletterContent']);
$newsletterContent = str_replace("'", "\'", $newsletterContent);

Simple Project(part-3d)

editMyprofile.php





<?php
include("connect.php");

// get value of id that sent from address bar
$id=$_REQUEST['id'];



// retrive data from database
$query=mysql_query("select * from create_profile where id='$id'");
$dataPacket=mysql_fetch_array($query);

?>


<form name="userUpdateProfile" method="post"
action="editProfile_action.php">
<center>
<div ><h3>Create Profile</h3>
<div>Name:
<input name="userName" type="text" value="<?php echo $dataPacket['userName']; ?>"id="Name"/>*
</div>

</br>
<div>Father's Name:
<input name="userfatherName" type="text"
value="<?php echo $dataPacket['userfatherName'];?>" id="fatherName">*
</div>

</br>
<div>Occupation:
<input name="userOccupation" type="text"
value="<?php echo $dataPacket['userOccupation']; ?>"
id="Occupation">*
</div>

</br>
<div>Nationality:
<input name="userNationality" type="text"
value="<?php echo $dataPacket['userNationality']; ?>"
id="Nationality">*
</div>
</br>
<div>Religion:
<input name="userReligion"
type="text" value="<?php echo $dataPacket['userReligion']; ?>" id="Religion">*
</div>
</br>

<div>Address:
<textarea rows="10" cols="35" name="userAddress">
</textarea>
</div>
</br>
<div>Designation:
<input name="userDesignation" type="text"
value="<?php echo $dataPacket['userDesignation']; ?>"
id="Designation">*
</div>
</br>
<div>Country:
<?php $query="SELECT COUNTRY_ID, COUNTRY
from countrys where ISACTIVE=1 ORDER BY COUNTRY";
$result=mysql_query($query);

?>

<select name="country" >

<option value="" >Select a country</option>
<?php
while($country =mysql_fetch_array($result))
{
?>
<option value="<?php echo $country['COUNTRY_ID'];?>" <?php if($country['COUNTRY_ID']==$dataPacket['country'])
echo 'selected';?> > <?php echo $country['COUNTRY'];?></option>
<?php
}
?>
</select>

</br>
</br>
<input name="id" type="hidden" id="id" value="<?php echo $dataPacket['id']; ?>">
<input name="update" type="submit" value="update"/>
<input name="Reset" type="Reset" value="Reset"/>
<input name="Cancel" type="button" value="Cancel"/>
</div>

</div>

</center>
</form>




editProfile_action.php



<?php
include("connect.php");
session_start();
//..........................................Variable default section.........................................................

$userName=$_REQUEST['userName'];
$userfatherName =$_REQUEST['userfatherName'];
$userOccupation =$_REQUEST['userOccupation'];
$userNationality =$_REQUEST['userNationality'];
$userReligion=$_REQUEST['userReligion'];
$userAddress=$_REQUEST['userAddress'];
$userDesignation =$_REQUEST['userDesignation'];
$Country=$_REQUEST['country'];
$id=$_REQUEST['id'];



//............................................Update data........................................................................

$query=" Update create_profile set

userName='$userName',
userfatherName='$userfatherName',
userOccupation='$userOccupation',
userNationality='$userNationality',
userReligion='$userReligion',
userAddress='$userAddress',
userDesignation='$userDesignation',
country='$Country' WHERE id=".$id





;
$result=mysql_query($query);
if($result)
{
echo "Ur Profile is updated";
echo "</br>";
?>
<script language="javascript">
window.location="viewMyProfile.php?id=<?php echo $id;?>";
</script>

<?php
}


?>

Simple Project(part 3c)

.....................................................................................

This code is for displaying the profile after insertion.


.....................................................................................



viewMyProfile.php:




<?php
session_start();
?>


<table cellpadding="0" cellspacing="0" bgcolor="#FFDFFF" width="900px;">

<tr>




<?php
include("connect.php");




echo $query="select * from create_profile where userid='{$_SESSION['id']}'";
$result=mysql_query($query);
$dataPacket =mysql_fetch_array($result);



?>


</tr>


</table>
<table cellpadding="3" cellspacing="3" bgcolor="#C9C9C9" width="900px;">
<tr>
<td colspan="4" rowspan="2" valign="middle" height="50px" align="left" style=" font-family:Verdana, Geneva, sans-serif; font-weight:bold; font-size:14px; margin-left:70px; ">My Profile</td>
</tr>
<tr>
<td align="right" style=" font-family:Verdana, Geneva, sans-serif; font-weight:bold; font-size:14px; margin-left:70px; "><a href="editProfile.php?id=<?php echo $dataPacket['id']; ?>">Edit Profile</a></td>
</tr>
<caption style="background-color: #999; color: #FFF; font-size:14px; font-weight:bold;"> Congratulations ! Ur profile is created.</caption>

<tr>
<th width="35%">Name:</th>
<td><?php echo $dataPacket['userName']; ?></td>

</tr>
<tr>
<th>Father's Name:</th>
<td><?php echo $dataPacket['userfatherName']; ?></td>
</tr>
<tr>
<th>Occupation:</th>
<td><?php echo $dataPacket['userOccupation']; ?></td>
</tr>
<tr>
<th>Nationality:</th>
<td><?php echo $dataPacket['userNationality']; ?></td>
</tr>
<tr>
<th>Religion:</th>
<td><?php echo $dataPacket['userReligion']; ?></td>
</tr>
<tr>
<th>Address:</th>
<td><?php echo nl2br($dataPacket['userAddress']); ?></td>
</tr>
<tr>
<th>Designation:</th>
<td><?php echo $dataPacket['userDesignation']; ?></td>
</tr>
<tr>
<th>Country:</th>
<td><?php echo countryName($dataPacket['country']); ?></td>
</tr>


</table>
<?php
function countryName($id)
{
$query="select COUNTRY from countrys where COUNTRY_ID='$id'";
$res=mysql_query($query);
$result=mysql_fetch_array($res);
$result=$result['COUNTRY'];
return $result;
}

?>

Simple Project(part-3b)

.......................................................................................

In this section i create a page for creation for user profile .

.......................................................................................


profile.php



<script language="javascript">
function displayDiv(id)
{
document.getElementById(id).style.display='';
}
function hideDiv()
{
document.getElementById("pofile").style.display='none';
}

</script>

<?php
include("connect.php");
if(isset ($error) && $error==true)

{
?>
<center>
<div style="border:1px solid #F00; background-color:#FFF2FF; width:300px;">
<?php
echo $errorMessage;
?>
</div>
</center>
<?php
}

?>

<?php if(isProfileCreated()==1)
{

?>
<script language="javascript">
window.location="viewMyProfile.php";
</script>
<?php
}

else
{

?>

<a href="javascript:displayDiv('pofile')">Create Profile</a>


<link type="text/css" rel="stylesheet" href="style.css"/>
<div id="pofile" <?php if(!$error) {?> style="display:none;" <?php }?>>
<form name="userCreateProfile" method="post" action="profile_action.php">
<center>
<div ><h3>Create Profile</h3>
<div>Name:
<input name="userName" type="text" value="<?php if(isset($_POST['userName'])) echo $_POST['userName']; ?>"id="Name">*
</div>

</br>
<div>Father's Name:
<input name="userfatherName" type="text" value="<?php if(isset($_POST['userfatherName'])) echo $_POST['userfatherName'];?>" id="fatherName">*
</div>

</br>
<div>Occupation:
<input name="userOccupation" type="text" value="<?php if(isset($_POST['userOccupation'])) echo $_POST['userOccupation']; ?>" id="Occupation">*
</div>

</br>
<div>Nationality:
<input name="userNationality" type="text" value="<?php if(isset($_POST['userNationality'])) echo $_POST['userNationality']; ?>" id="Nationality">*
</div>
</br>
<div>Religion:
<input name="userReligion" type="text" value="<?php if(isset($_POST['userReligion'])) echo $_POST['userReligion']; ?>" id="Religion">*
</div>
</br>

<div>Address:
<textarea rows="10" cols="35" name="userAddress">
</textarea>
</div>
</br>
<div>Designation:
<input name="userDesignation" type="text" value="<?php if(isset($_POST['userDesignation'])) echo $_POST['userDesignation']; ?>" id="Designation">*
</div>
</br>
<div>Country:
<?php $query="SELECT COUNTRY_ID, COUNTRY from countrys where ISACTIVE=1 ORDER BY COUNTRY";
$result=mysql_query($query);

?>

<select name="country" >
<option value="" >Select a country</option>
<?php while($country =mysql_fetch_array($result))
{
?>
<option value="<?php echo $country['COUNTRY_ID'];?>" <?php if($country['COUNTRY_ID']==$_REQUEST['country']) echo 'selected';?> > <?php echo $country['COUNTRY'];?></option>
<?php
}
?>
</select>

</br>
</br>
<input name="Create" type="submit" value="Create"/><input name="Reset" type="Reset" value="Reset"/>
<input name="Cancel" onClick="hideDiv()" type="button" value="Cancel"/>
</div>

</div>

</center>
</form>

</div>
<div id="gallery" style="display:none;">Gallery</div>
<?php
}
function isProfileCreated()
{
$query="select userName from create_profile where userid='{$_SESSION['id']}'";
$result=mysql_query($query);
$val= mysql_num_rows($result);

return $val;
}

?>

..........................................................................................................................................................................

profile_action.php



<?php
session_start();
include("connect.php");

//..........................get values from from.........................................................//

$userName=$_REQUEST['userName'];
$userfatherName = $_REQUEST['userfatherName'];
$userOccupation = $_REQUEST['userOccupation'];
$userNationality = $_REQUEST['userNationality'];
$userReligion = $_REQUEST['userReligion'];
$userAddress = $_REQUEST['userAddress'];
$userDesignation = $_REQUEST['userDesignation'];
$Country=$_REQUEST['country'];

// .......................Error Message................................

$error=false;
$errorMessage="";

if(empty($userName))
{
$error=true;
$userNameError=true;
$errorMessage.="Please provide username.</br>";
}
if(empty($userfatherName))
{
$error=true;
$userfatherNameError=true;
$errorMessage.="Please provide Father's name.</br>";
}
if(empty($userNationality))
{
$error=true;
$userNationalityError=true;
$errorMessage.="Please provide Nationality.</br>";
}
if(empty($userReligion ))
{
$error=true;
$userReligionNameError=true;
$errorMessage.="Please provide Religion.</br>";
}
if(empty($userDesignation))
{
$error=true;
$userDesignationNameError=true;
$errorMessage.="Please provide Designation.</br>";
}
/*if(empty($country))
{
$error=true;
$countryError=true;
$errorMessage.="Please select country</br>";
}*/

//..........................insert data .........................................................//
if($error)

{

include("profile.php");
}
else
{
$sql="
INSERT into create_profile
(
userid,
userName,
userfatherName,
userOccupation,
userNationality,
userReligion,
userAddress,
userDesignation,
country
)
values

('$_SESSION[id]','$userName','$userfatherName','$userOccupation','$userNationality','$userReligion','$userAddress','$userDesignation','$Country')

";
$result=mysql_query($sql);
$id=mysql_insert_id();
if($result)
{


?>
<script language="javascript">
window.location="viewMyProfile.php?id=<?php echo $id;?>";
</script>
<?php
}

}
?>
powered by Blogger | WordPress by Newwpthemes | Converted by BloggerTheme