Angular shaped corners for tables etc.
2.0.x
|
| Price: |
USD 0 |
| Module Type: |
Templates / Skins |
| Version: |
2.0.x |
| Supported?: |
Yes (free) |
|
Module Description:
|
|
|
If someone wants tables with round and angular shaped corner
1. Change for angular shaped corner table_header to table_headerx and table_footer to table_footerx 2.
Put the 4 new gifs for angular shaped corner in to the /templates/default/images folder.
Make your own gifs or mail me for the gifs.
<?php
// phpMyRealty 1.1 // // File Name: tables.php // File Location : ./templates/default/ // // Copyright (c)2007 phpMyRealty.com // // e-mail: support@phpMyRealty.com
//
// COMMON CONTENT TABLE HEADER // - this html code is added to all the content tables // as a header by using echo table_header('Name'); function table_header ( $message )
{
global $cookie_template;
$return = '
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_lt.gif" alt="" height="10" width="10"><br> </td> <td class="line_white_top" colspan="3" width="100%"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_rt.gif" alt="" height="10" width="10"><br> </td> </tr> <tr> <td class="line_white_left"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"> </td> <td colspan="3" valign="top" align="left">
<span class="table_header_text"> ' . $message . '</span>
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%"> <br>
';
return $return;
}
function table_header1 ( $message )
{
global $cookie_template;
$return = '
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_lt.gif" alt="" height="10" width="10"><br> </td> <td class="line_white_top" colspan="3" width="100%"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_rt.gif" alt="" height="10" width="10"><br> </td> </tr> <tr> <td class="line_white_left"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"> </td> <td colspan="3" valign="top" align="left">
<span class="table_header_text"> ' . $message . '</span>
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%"> <br>
';
return $return;
}
// COMMON CONTENT TABLE HEADER // - this html code is added to all the content tables // as a header by using echo table_header('Name')with angular shaped; function table_headerx ( $message )
{
global $cookie_template;
$return = '
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_corn_lt.gif" alt="" height="10" width="10"><br> </td> <td class="line_white_top" colspan="3" width="100%"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_corn_rt.gif" alt="" height="10" width="10"><br> </td> </tr> <tr> <td class="line_white_left"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"> </td> <td colspan="3" valign="top" align="left">
<span class="table_header_text"> ' . $message . '</span>
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%"> <br>
';
return $return;
}
function table_headery ( $message )
{
global $cookie_template;
$return = '
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_corn_lt.gif" alt="" height="10" width="10"><br> </td> <td class="line_white_top" colspan="3" width="100%"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_corn_rt.gif" alt="" height="10" width="10"><br> </td> </tr> <tr> <td class="line_white_left"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"> </td> <td colspan="3" valign="top" align="left">
<span class="table_header_text"> ' . $message . '</span>
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%"> <br>
';
return $return;
} // COMMON CONTENT TABLE FOOTER // - this html code is added to all the content tables // as a footer by using echo table_footer();
function table_footer ( )
{
global $cookie_template;
$return = '
</td> </tr> </table>
</td> <td class="line_white_right"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> </tr> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_lb.gif" alt="" height="10" width="10"><br> </td> <td colspan="3" class="line_white_bottom"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_white_rb.gif" alt="" height="10" width="10"><br> </td> </tr> </table> <br> ';
return $return;
}
// COMMON CONTENT TABLE FOOTER // - this html code is added to all the content tables // as a footer by using echo table_footer() with angular shaped; function table_footerx ( )
{
global $cookie_template;
$return = '
</td> </tr> </table>
</td> <td class="line_white_right"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> </tr> <tr> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_korn_lb.gif" alt="" height="10" width="10"><br> </td> <td colspan="3" class="line_white_bottom"> <img src="' . URL . '/templates/' . $cookie_template . '/images/x.gif" alt="" height="1" width="1"><br> </td> <td> <img src="' . URL . '/templates/' . $cookie_template . '/images/ug_corn_rb.gif" alt="" height="10" width="10"><br> </td> </tr> </table> <br> ';
return $return;
} function table_header2 ( )
{
global $cookie_template;
$return = '
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" align="left" bgcolor="#EAEAEA" style="border : 1px solid #DADADA;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%">
';
return $return;
}
// COMMON CONTENT TABLE FOOTER // - this html code is added to all the content tables // as a footer by using echo table_footer();
function table_footer2 ( )
{
global $cookie_template;
$return = '
</td> </tr> </table> </td> </tr> </table> <br> ';
return $return;
}
?>
|
Downloaded / Viewed: 704
Submission Date: 12-30-2007
Last Update: 11-04-2008
|
|
|
|