= $topHeight ? $cornerRadius + 2 : $topHeight; $bottomHeight = $cornerRadius >= $bottomHeight ? $cornerRadius + 2 : $bottomHeight; $cornerRadius = $cornerRadius == 1 || $cornerRadius == 3 ? 2 : $cornerRadius; $topImageHeight = 22; //$bgcolor = isset($_GET['bgcolor']) ? $_GET['bgcolor'] : '000000'; // bgcolor of the page... not useful for modules. $mainbg = isset($_GET['mainbg']) ? $_GET['mainbg'] : 'ffffff'; $bgImage = isset($_GET['bgImage']) ? 'url('.$_GET['bgImage'].')' : ''; $bgImageSettings = isset($_GET['bgImageSettings']) ? $_GET['bgImageSettings'] : ''; $bgRepeat = ''; $bgFixed = ''; define('REPEATX', 1); define('REPEATY', 2); define('FIXED', 4); // Helps for including external resources relative to where on the server the app was put. include_once '../includes/utils.php'; // for endsWith() $codePath = preg_replace("/^(.*)\/[^\/]*$/", "$1", $_SERVER['SCRIPT_NAME']); // directory of this file. if(endsWith($codePath, "/")){ $codePath = preg_replace("/^(.*?)\/[^\/]*\/$/", "$1", $codePath); // directory above this file (should be the root of the app). } else { $codePath = preg_replace("/^(.*?)\/[^\/]*$/", "$1", $codePath); // directory above this file (should be the root of the app). } $codePath = str_replace(" ", "%20", $codePath); if( $bgImageSettings != '' ){ if( ($bgImageSettings & REPEATX) && ($bgImageSettings & REPEATY) ){ $bgRepeat = "repeat"; }else if( $bgImageSettings & REPEATX ){ $bgRepeat = "repeat-x"; }else if( $bgImageSettings & REPEATY ){ $bgRepeat = "repeat-y"; }else{ $bgRepeat = "no-repeat"; } if( $bgImageSettings & FIXED ){ $bgFixed = 'fixed'; } } if( $moduleId != '' ){?> { background: # ; } div.module div.left{ float: left; } div.module{ text-align: left; } div.top{ margin-bottom: -3px; } div.top div.title{ height: px; font-size: 11px; font-weight: bold; white-space: nowrap; overflow: hidden; } div.module div.right{ float: right; } div.module div.top, div.module div.top div.left, div.module div.top div.right{ height: px; } div.module div.bottom{ height: px; } div.module div.left, div.module div.right{ width: px; font-size: 0px; line-height: 0px; } * html div.module div.left{ margin-right: -3px; } * html div.module div.right{ margin-left: -3px; } div.module div.contents{ color: #; background-color: #; } div.module div.contents a{ color: #; background-color: inherit; } div.module div.top div.left, div.module div.top div.right{ height: px; } div.module div.bottom div.left, div.module div.bottom div.right{ height: px; } div.module div.filler{ width: px; } div.module div.bottom div.filler{ height: px; background-color: #; color: inherit; } div.module div.corner{ width: px; height: px; } div.module div.bottom div.left div.corner{ background-color: #; color: inherit; background: url(/images/borderimage.php?loc=bl&style=&width=&height=&color=&bgcolor=&bwidth=0&bcolor=000000 ) top left no-repeat; } div.module div.bottom div.right div.corner{ background-color: #; color: inherit; background: url(/images/borderimage.php?loc=br&style=&width=&height=&color=&bgcolor=&bwidth=0&bcolor=000000 ) top right no-repeat; } div.module div.top div.center div.title img{ margin-top: px; margin-right: 5px; float: left; border: 0px; } div.module div.top div.center div.suffix img{ border: 0px; margin-top: px; } div.module div.top div.center div.title { float: left; right: px; padding-left: 7px; position: relative; height: px; margin-right: -100%; } div.module div.top div.center div.suffix { float: right; margin-right: -px; padding-right: 7px; margin-left: -100%; position: relative; } div.module div.top div.center div.suffix a.delete{ font-size: 0px; line-height: 0px; display: none; } div.module div.top a{ color: #; } div.module div.top div.center div.suffix a.edit, div.module div.top div.center div.suffix a.friends_edit{ background-color: #; position: relative; line-height: 16px; /*bottom: px;*/ bottom: 3px; } div.module div.bottom div.center{ color: #; background-color: #; line-height: px; font-size: 0px; height: px; margin-left: px; margin-right: px; } * html div.module div.bottom div.center{ height: px; } div.module div.top div.filler{ height: px; color: inherit; background-color: #; } div.module div.top div.left div.corner{ background-color: #; color: inherit; background: url(/images/borderimage.php?loc=tl&style=&width=&height=&color=&bgcolor=&bwidth=0&bcolor=000000 ) top left no-repeat; } div.module div.top div.right div.corner{ background-color: #; color: inherit; background: url(/images/borderimage.php?loc=tr&style=&width=&height=&color=&bgcolor=&bwidth=0&bcolor=000000 ) top right no-repeat; } div.module div.top div.center{ color: #; line-height: px; height: px; background-color: #; margin-left: px; margin-right: px; } * html div.module div.top div.center, * html div.module div.bottom div.center{ margin-left: 0px; margin-right: 0px; } div.module_wrapper{ width: 100%; display: table; margin-bottom: -6px; } .topColor{ color: # !important; background-color: # !important; } .topColor a, .topColor a:hover, .topColor a:active{ color: # !important; } .topColorBordered{ border-color: # !important; }