Solution Code:
<?php $header = "Virtual University of Pakistan"; $quicklist = "QUICK LINKS"; $about = "About Us"; $admissions = "Admissions"; $faculties = "Faculties"; $student = "Student"; $campuses = "Virtual Campuses"; $contact_us = "Contact Us"; $intro = "INTRODUCTION"; $content = "Pakistan’s first University based completely on modern Information and Communication Technologies."; $footer = "M.A Jinnah Campus, Defence Road,<br> Off Raiwind Road, Lahore"; ?> <html> <head> <title>Assignment No. 1 (Solution) - Fall 2019</title> </head> <body bgcolor="#CCCCCC"> <table width="1800" border="0" align="center" cellpadding="20" cellspacing="0"> <tr> <td height="200" colspan="2" align="center" valign="middle" bgcolor="#CC6633"><h1><?php echo $header; ?></h1></td> </tr> <tr> <td width="300" rowspan="2" align="center" valign="top" bgcolor="#FF9966"><h3><?php echo $quicklist; ?></h3> <a href="#"><?php echo $about; ?></a><br /><br /> <a href="#"><?php echo $admissions; ?></a><br /><br /> <a href="#"><?php echo $faculties; ?></a><br /><br /> <a href="#"><?php echo $student; ?></a><br /><br /> <a href="#"><?php echo $campuses; ?></a><br /><br /> <a href="#"><?php echo $contact_us; ?></a><br /><br /> </td> <td width="1500" height="50" align="center" valign="top" bgcolor="#FFDECE"><h3><?php echo $intro; ?></h3></td> </tr> <tr> <td height="500" align="left" valign="top" bgcolor="#FFDECE"><p><?php echo $content; ?></p></td> </tr> <tr> <td height="140" colspan="2" align="center" valign="middle" bgcolor="#CC6633"><h4><?php echo $footer; ?></h4></td> </tr> </table> </body> </html>Ideas 2
<?php $header = "Virtual University of Pakistan"; $quicklist = "QUICK LINKS"; $about = "About Us"; $admissions = "Admissions"; $faculties = "Faculties"; $student = "Student"; $campuses = "Virtual Campuses"; $contact_us = "Contact Us"; $intro = "INTRODUCTION"; $content = "Pakistan’s first University based completely on modern Information and Communication Technologies."; $footer = "M.A Jinnah Campus, Defence Road,<br> Off Raiwind Road, Lahore"; ?> <html> <head> <title>Assignment No. 1 (Solution) - Fall 2019</title> </head> <body bgcolor="#CCCCCC"> <table width="1800" border="0" align="center" cellpadding="20" cellspacing="0"> <tr> <td height="200" colspan="2" align="center" valign="middle" bgcolor="#CC6633"><h1><?php echo $header; ?></h1></td> </tr> <tr> <td width="300" rowspan="2" align="center" valign="top" bgcolor="#FF9966"><h3><?php echo $quicklist; ?></h3> <a href="#"><?php echo $about; ?></a><br /><br /> <a href="#"><?php echo $admissions; ?></a><br /><br /> <a href="#"><?php echo $faculties; ?></a><br /><br /> <a href="#"><?php echo $student; ?></a><br /><br /> <a href="#"><?php echo $campuses; ?></a><br /><br /> <a href="#"><?php echo $contact_us; ?></a><br /><br /> </td> <td width="1500" height="50" align="center" valign="top" bgcolor="#FFDECE"><h3><?php echo $intro; ?></h3></td> </tr> <tr> <td height="500" align="left" valign="top" bgcolor="#FFDECE"><p><?php echo $content; ?></p></td> </tr> <tr> <td height="140" colspan="2" align="center" valign="middle" bgcolor="#CC6633"><h4><?php echo $footer; ?></h4></td> </tr> </table> </body> </html>