Main Page   File List   File Members   Related Pages  

style.php

Go to the documentation of this file.
00001 <?php
00002 // $Header: /cvsroot/modphpcms/modphpcms/styles/default/style.php,v 1.1.1.1 2004/04/30 20:27:56 fred87 Exp $
00003 include '../../includes/config.inc.php';
00004 include '../../modules/db_mysql.php';
00005 include '../../includes/modfuncs.inc.php';
00006 
00007 header('Content-type: text/css');
00008 readfile('style.css');
00009 
00010 //{{{Column size adjustments
00011     get_entry('config', 'is_leftcol') == 'y'
00012         ?   $leftcol_size = get_entry('config', 'leftcol_size')
00013         :   $leftcol_size = 0;
00014     get_entry('config', 'is_rightcol') == 'y'
00015         ?   $rightcol_size = get_entry('config', 'rightcol_size')
00016         :   $rightcol_size = 0;
00017     $centrecol_size = 100 - ($leftcol_size + $rightcol_size);
00018 //}}}
00019 ?>
00020 .tl_cell, .ml_cell, .br_cell {
00021         width: <?php echo $leftcol_size; ?>%;
00022 }
00023 .tc_cell, .mc_cell, .bc_cell {
00024         width: <?php echo $centrecol_size; ?>%;
00025 }
00026 .tr_cell, .mr_cell, .br_cell {
00027         width: <?php echo $rightcol_size; ?>%;
00028 }

Generated on Wed Jun 9 03:38:16 2004 for modphpcms by doxygen1.2.18