<?php
// $Id$
//////////////////////////// DO NOT MODIFY /////////////////////////////
include_once dirname(dirname(__FILE__)) . '/lib/DirectAdmin.php';
// Get last modified time of file
$srvModTime = getlastmod();
// exit out of script if cached on client
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
$cliModTime = dateToTimestamp($_SERVER['HTTP_IF_MODIFIED_SINCE']);
if ($srvModTime <= $cliModTime) {
RvsLibs_DirectAdmin::setHeaderDirectAdmin("HTTP/1.x 304 Not Modified");
exit;
}
}
// send default cacheing headers and content type
RvsLibs_DirectAdmin::setHeaderDirectAdmin("HTTP/1.1 200 OK");
RvsLibs_DirectAdmin::setHeaderDirectAdmin("Pragma: cache");
RvsLibs_DirectAdmin::setHeaderDirectAdmin("Cache-Control: public");
RvsLibs_DirectAdmin::setHeaderDirectAdmin("Content-Type: text/css");
// send last modified date of file to client so it will have date for server on next request.
// technically we could just send the current time (as PEAR does) rather than the actual modify
// time of the file since either way would get the correct behavior, but since we already have
// the actual modified time of the file, we'll just use that.
$srvModDate = timestampToDate($srvModTime);
RvsLibs_DirectAdmin::setHeaderDirectAdmin("Last-Modified: $srvModDate");
// get base url for css classes that include images
$path = dirname($_SERVER['PHP_SELF']);
$aPath = explode('/', $path);
$aWithoutBlanks = array_filter($aPath, 'strlen');
array_pop($aWithoutBlanks);
$baseUrl = join('/', $aWithoutBlanks);
if (RvsLibs_DirectAdmin::isDirectAdmin() == true) {
$protocol = (isset($_SERVER['SSL']) && $_SERVER['SSL'] == '1') ? 'https' : 'http';
$baseUrl = $protocol . '://' . $_SERVER['HTTP_HOST'] . ':' . $_SERVER['SERVER_PORT']. '/CMD_PLUGINS/rvsitebuilderinstaller/images';
} else {
$protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
$port = $_SERVER['SERVER_PORT'] ? $_SERVER['SERVER_PORT'] : '80';
$baseUrl = $protocol . '://' . $_SERVER['HTTP_HOST'] . ':' . $port . '/' . $baseUrl;
}
///////////////////////// MODIFY FROM HERE DOWN ////////////////////////
// CSS Substitution Variables
$fontFamily = 'Verdana, Arial, Helvetica, sans-serif';
?>
.txttitle {
PADDING-LEFT: 15px;
FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #477BA2; FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.txthead {
FONT-WEIGHT: bold; FONT-SIZE: 15px; COLOR: #FFAA00; FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.bgtop {
background-image: url(<?php echo $baseUrl; ?>/templates/images/bgtop.gif);
}
.borderleft {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 7px;
border-style: solid;
border-color: #B5C2CC;
font-family: Verdana, Arial, Helvetica, sans-serif;
COLOR: #1D5090;
font-size: 11px;
font-weight: bold;
background-color: #E5F1F5;
padding-top: 2px;
padding-right: 3px;
padding-bottom: 1px;
padding-left: 5px;
}
.bordermenust {
border-top-width: 4px;
border-right-width: 1px;
border-bottom-width: 4px;
border-left-width: 1px;
border-style: solid;
border-color: #A3B7C6;
font-family: Verdana, Arial, Helvetica, sans-serif;
COLOR: #7990A2;
font-size: 11px;
font-weight: bold;
background-color: #F7F9FA;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 1px;
padding-left: 10px;
}
.bordermenuact {
border-top-width: 4px;
border-right-width: 1px;
border-bottom-width: 4px;
border-left-width: 1px;
border-style: solid;
border-color: #A3B7C6;
font-family: Verdana, Arial, Helvetica, sans-serif;
COLOR: #398600;
font-size: 11px;
font-weight: bold;
background-color: #CBF977;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 1px;
padding-left: 10px;
}
.bordermain {
background-color: #F6FBFF;
border: 1px solid #CDD8E1;
margin: 7px;
padding: 7px;
FONT-WEIGHT: normal; FONT-SIZE: 20px;
COLOR: #5C5C5C;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.txtbody {
FONT-WEIGHT: normal; FONT-SIZE: 13px;
}
.head1 {
FONT-WEIGHT: normal;
FONT-SIZE: 15px;
COLOR: #FFAA00;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.topic1{
FONT-WEIGHT: normal;
FONT-SIZE: 12px;
COLOR: #FFAA00;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
TEXTAREA {
BORDER: #D9E1E7 1px solid;
FONT-SIZE: 11px;
BACKGROUND: #FAFBFC;
COLOR: #688092;
LINE-HEIGHT: normal;
FONT-STYLE: normal;
FONT-VARIANT: normal;
TEXT-DECORATION: none;
}
.txtgreen {
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
COLOR: #5DCF00;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.txtred {
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
COLOR: #F93500;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
.fontselect {
font-size: 10px;
background:#EFF0D6;
}
select.options, input.options {
font-size: 8pt;
border: 1px solid #999;
}
.license-form {
float: left;
}
.form-block {
border: 1px solid #cccccc;
background: #E9ECEF;
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
padding-right: 5px;
}
.ctr {
text-align: center;
}
.install-text {
position: relative;
text-align: left;
float: left;
font-size : 11px;
FONT-FAMILY: Arial,"Verdana", Helvetica, sans-serif;
}
table.content {
width: 100%;
}
table.content td {
color : #333333;
font-size: 11px;
width: 60%;
}
h3 {
font-size: 12px;
font-weight: bold;
color: #FF9900;
padding: 10px 10px 4px 0px;
text-align: left;
border-bottom: 1px solid #FF9900;
margin-bottom: 10px;
}
.headinstall{
font-family: verdana,arial,helvetica;
font-size: 11px;
color: #7CABC1;
font-weight:bold;
}
.headsubin{
font-family: verdana,arial,helvetica;
font-size: 11px;
color: #FF740E;
font-weight:bold;
}
.subhead{
font-family: verdana,arial,helvetica;
font-size: 11px;
color: #7CABC1;
font-weight:normal;
}
.subsmall{
font-family: verdana,arial,helvetica;
font-size: 10px;
color: #7CABC1;
font-weight:normal;
}
.subsmalldo{
font-family: verdana,arial,helvetica;
font-size: 10px;
color: #FFB20E;
font-weight:bold;
}
.leftmargin {
padding-left: 20px;
}
.txtmargin{
padding: 1px;
}
#installation {
background-color:#E9ECEF;
border:#A4B8C7 solid 1px;
}
#installation .bdrtable{
border-bottom:#EBEEF1 solid 1px;
border-left:#FFFFFF solid 1px;
border-right:#FFFFFF solid 1px;
background-color:#E9ECEF;
}
#installation .line{
background-image:url(<?php echo $baseUrl; ?>/templates/images/install_line.gif);
background-position:top;
background-repeat:repeat-x;
}
#installation .shadow01{
background-image:url(<?php echo $baseUrl; ?>/templates/images/install_shadow01.gif);
background-position:top;
background-repeat:repeat-x;
background-color:#E9ECEF;
}
#installation .shadow02{
background-image:url(<?php echo $baseUrl; ?>/templates/images/install_shadow02.gif);
background-position:top;
background-repeat:repeat-x;
background-color:#D7DCE0;
}
#installation .paddingtxt01{
padding:2px 5px 15px 0px;
text-align:left;
color:#FB0000;
font-size:14px;
}
#installation .paddingtxt02{
padding:2px 5px 15px 0px;
text-align:left;
color:#4141F7;
font-size:14px;
}
#installation .paddingimg{
padding:3px 5px 10px 12px;
text-align:left;
}
.header01{
color : #333333;
font-size: 11px;
background-color:#D6E4EF;
border-top:#B4C0C8 solid 1px;
border-bottom:#B4C0C8 solid 1px;
border-left:#B4C0C8 solid 1px;
border-right:#B4C0C8 solid 1px;
}
.header02{
color : #333333;
font-size: 11px;
background-color:#D6E4EF;
border-top:#B4C0C8 solid 1px;
border-bottom:#B4C0C8 solid 1px;
border-right:#B4C0C8 solid 1px;
}
.tdyellow01{
background-color:#EFF0D6;
border-top:#DFDED6 solid 1px;
border-bottom:#DFDED6 solid 1px;
border-left:#DFDED6 solid 1px;
}
.tdyellow02{
background-color:#EFF0D6;
border-top:#DFDED6 solid 1px;
border-bottom:#DFDED6 solid 1px;
border-right:#DFDED6 solid 1px;
}
.tdyellowtopleft{
background-color:#EFF0D6;
border-top:#DFDED6 solid 1px;
border-left:#DFDED6 solid 1px;
}
.tdyellowtopright{
background-color:#EFF0D6;
border-top:#DFDED6 solid 1px;
border-right:#DFDED6 solid 1px;
}
.tdyellowbottomleft{
background-color:#EFF0D6;
border-bottom:#DFDED6 solid 1px;
border-left:#DFDED6 solid 1px;
}
.tdyellowbottomright{
background-color:#EFF0D6;
border-bottom:#DFDED6 solid 1px;
border-right:#DFDED6 solid 1px;
}
.bgyellow01{
background-color:#EFF0D6;
border-left:#DFDED6 solid 1px;
}
.bgyellow02{
background-color:#EFF0D6;
border-right:#DFDED6 solid 1px;
}
.colortd_odd{background-color:#D4DCE3;}
.colortd_even{background-color:#F0F2ED;}
<?php
// copied from PEAR HTTP Header.php (comments stripped)
// Author: Wolfram Kriesing <wk@visionp.de>
// Changes: mktime() to gmmktime() to make work in timezones other than GMT
function dateToTimestamp($date)
{
$months = array_flip(array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'));
preg_match('~[^,]*,\s(\d+)\s(\w+)\s(\d+)\s(\d+):(\d+):(\d+).*~', $date, $splitDate);
$timestamp = @gmmktime($splitDate[4], $splitDate[5], $splitDate[6], $months[$splitDate[2]] + 1, $splitDate[1], $splitDate[3]);
return $timestamp;
}
// copied from PEAR HTTP.php Date function (comments stripped)
// Author: Stig Bakken <ssb@fast.no>
function timestampToDate($time)
{
if (ini_get("y2k_compliance") == true) {
return gmdate("D, d M Y H:i:s \G\M\T", $time);
} else {
return gmdate("F, d-D-y H:i:s \G\M\T", $time);
}
}
?>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez