[ Index ] |
|
Code source de PHP NUKE 7.9 |
1 <?php 2 3 /************************************************************/ 4 /* OpenTable Functions */ 5 /* */ 6 /* Define the tables look&feel for you whole site. For this */ 7 /* we have two options: OpenTable and OpenTable2 functions. */ 8 /* Then we have CloseTable and CloseTable2 function to */ 9 /* properly close our tables. The difference is that */ 10 /* OpenTable has a 100% width and OpenTable2 has a width */ 11 /* according with the table content */ 12 /************************************************************/ 13 14 function OpenTable() { 15 global $bgcolor1, $bgcolor2; 16 echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n"; 17 echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n"; 18 } 19 20 function CloseTable() { 21 echo "</td></tr></table></td></tr></table>\n"; 22 } 23 24 function OpenTable2() { 25 global $bgcolor1, $bgcolor2; 26 echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n"; 27 echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n"; 28 } 29 30 function CloseTable2() { 31 echo "</td></tr></table></td></tr></table>\n"; 32 } 33 34 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 11:11:59 2007 | par Balluche grâce à PHPXref 0.7 |