PHP Classes

File: content.php

Recommend this page to a friend!
  Classes of Usman Didi Khamdani   Image Banner Class   content.php   Download  
File: content.php
Role: Example script
Content type: text/plain
Description: display image banner on the page
Class: Image Banner Class
Display rotating banners from a MySQL database
Author: By
Last change: notes of author
Date: 13 years ago
Size: 2,019 bytes


Class file image Download

author: usman didi khamdani
author's email:
author's phone: +6287883919293

$banner = new ImageBanner;

<!doctype html">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Edeleweis Art :: Developing and Designing Web</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<table align="center" width="800" cellpadding="3" cellspacing="0" border="1">
    <td style="text-align:center" colspan="3"><?php

= 'top';
$width1 = '800';
$height1 = '125';
$not_found1 = 'images/banner/not_found1.jpg';

    <td style="vertical-align:top;" width="180"><?php

= 'left';
$width2 = '180';
$height2 = '250';
$not_found2 = 'images/banner/not_found2.jpg';

    <td style="vertical-align:top;text-align:justify">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</td>
    <td style="vertical-align:top;" width="180"><?php

= 'right';
$width3 = '180';
$height3 = '500';
$not_found3 = 'images/banner/not_found3.jpg';

    <td colspan="3" style="text-align:center">&copy; 2009 <a title="Developing and Designing Web" href="" target="_blank">Edeleweis Art</a> :: Developing and Designing Web</td>