00001 <?php
00002
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
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 }