Download Web Technology Lab Manual PDF

TitleWeb Technology Lab Manual
TagsCascading Style Sheets Password World Wide Web Technology Home Page
File Size1.7 MB
Total Pages40
Document Text Contents
Page 1

WEB TECHNOLOGIES LAB MANUAL



WEEK – 1:

Aim: Design the following static web pages required for online book store.

1. Home page:- the static home page must contains three pages

2. Top frame:- logo and college name and links to homepage, login page, registration Page,

catalogue page and cart page

3. Left frame:- at least four links for navigation which will display the catalogue of Respective

links

4. Right frame:- the pages to links in the left frame must be loaded here initially it Contains the

description of the website

SOURCE CODE:-

bookstore.html

<frameset rows="18%,*">

<frame src="topframe.html" scrolling="no"/>

<frameset cols="15%,*">

<frame src="leftframe.html" noresize/>

<frame src="rightframe.html" name="rframe"/>

</frameset>

</frameset>

topframe.html

<html>

<head>

<title> Top Frame </title>

</head>

<body bgcolor=#bbffbb>

<table border="1" width="100%">

<tr> <th width="14%"> <img src="book.gif" width=100 height=50/></th>

<th> AMAZON.COM </th>

</tr>

</table>

<table border="1" width="100%">

<tr>

<th><a href="rightframe.html" target="rframe">Home</a></th>

<th><a href="login.html" target="rframe">Login</a></th>

<th><a href="register.html" target="rframe">Register</a></th>

<th><a href="catalogue.html" target="rframe">Catalogue</a></th>

<th><a href="cart.html" target="rframe">Cart</a></th>

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Page 2

WEB TECHNOLOGIES LAB MANUAL



</tr>

</table>

</body> </html>

leftframe.html

<html>

<head>

<title> Left Frame </title>

</head>

<body bgcolor=#ffffcc>

<center>

<h4><a href="cse.html" target="rframe">CSE</a> </h4>

<h4><a href="ece.html" target="rframe">ECE</a> </h4>

<h4><a href="eee.html" target="rframe">EEE</a> </h4>

<h4><a href="it.html" target="rframe">IT</a> </h4>

</center></body> </html>

rightframe.html

<html>

<head>

<title> Right Frame </title>

</head>

<body bgcolor="pink">

</body> </html>

login.html

<html>

<head>

<title> Login </title>

</head>

<body bgcolor="pink">

<center>

<form>

&nbsp;&nbsp;&nbsp;&nbsp;

<b>Login: <input type="text" name="login"/> <br><br>

Password: <input type="password" name="password"/> <br><br>

<input type="submit" value="Submit"/>

<input type="reset" value="Reset"/>

</b>

</form>

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Page 20

WEB TECHNOLOGIES LAB MANUAL



Step-2: Now Choose Add/Remove Windows Components

Step-3: Now check the check box named with Internet Information Services and click on next button

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Page 21

WEB TECHNOLOGIES LAB MANUAL



Step-4: Now select performance and maintenance under the control panel.

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Page 39

WEB TECHNOLOGIES LAB MANUAL



echo"hai this is login page";

?>

<html>

<form action="usercheck.php" method="post">

<fieldset>

<legend>LOG IN PAGE</legend>

username::<input type="text" name="uname"/><br><br>

password::<input type="password" name="pwd"/><br><br>

<input type="submit" value="login"/>

<input type="reset" value="reset"/><br><br>

</fieldset>

</form>

</html>

loginout.php

<?php

echo "logout successfully";

session_unset();

?>

usercheck.php

<?php

include("database.php");

$r="select * from users";

$t=mysql_query($r);

while($u=mysql_fetch_array($t))

{

extract($u);

$x=$uname;

$y=$password;

if($_POST['uname']==$x && $_POST['pwd']==$y)

{

echo"valid user";

include("uservalid.php");

}

else

echo"not a valid user";

}

?>

uservalid.php

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Page 40

WEB TECHNOLOGIES LAB MANUAL



<?php

?>

<form action="goto_catalogue.php">

<input type="submit" value="GOTOCATA"/>

</form>

smartworld.asia smartzworld.com

Specworld.in jntuworld.xyz

Similer Documents