1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342: 343: 344: 345: 346: 347: 348: 349: 350: 351: 352: 353: 354: 355: 356: 357: 358: 359: 360: 361: 362: 363: 364: 365: 366: 367: 368: 369: 370: 371: 372: 373: 374: 375: 376: 377: 378: 379: 380: 381: 382: 383: 384: 385: 386: 387: 388:
<?php
if (!class_exists('Inbound_Upgrade_For_More_Reports')) {
class Inbound_Upgrade_For_More_Reports extends Inbound_Reporting_Templates {
static $range;
static $graph_data;
static $visits;
static $top_visitors;
static $top_sources;
static $start_date;
static $end_date;
static $past_start_date;
static $past_end_date;
public static function define_range() {
if (!isset($_REQUEST['range'])) {
self::$range = 30;
} else {
self::$range = intval($_REQUEST['range']);
}
}
public static function load_template() {
self::print_css();
self::display_promo();
die();
}
public static function display_promo() {
?>
<head>
<script type="text/javascript" src="<?php echo INBOUND_PRO_URLPATH ;?>assets/libraries/echarts/echarts.min.js" /></script>
</head>
<aside class="profile-card">
<header>
</header>
</aside>
<div style="text-align:center;width:100%;">
<img src="<?php echo INBOUND_PRO_URLPATH . 'assets/images/inbound-analytics-promo.jpg'; ?>" width="" height="" style="max-width:700px;opacity:.4">
</div>
<div style="width:100%;position:relative;top:-158px;text-align:center;">
<div style="">
<a href="https://www.inboundnow.com/inbound-analytics/" target="_blank" title="Locked" style="color:#444"><i class="fa fa-lock" aria-hidden="true"></i></a>
</div>
</div>
<div style="text-align:center;width:100%;">
<img src="<?php echo INBOUND_PRO_URLPATH . 'assets/images/inbound-analytics-promo-2.jpg'; ?>" width="" height="" style="max-width:700px;opacity:.4">
</div>
<div style="text-align:center;width:100%;">
<img src="<?php echo INBOUND_PRO_URLPATH . 'assets/images/inbound-analytics-promo-3.jpg'; ?>" width="" height="" style="max-width:700px;opacity:.4">
</div>
<?php
}
public static function print_css() {
?>
<style type="text/css">
body {
font-family: sans-serif;
color:
}
table {
border-spacing: 0;
margin-bottom: 1rem;
border-radius: 0;
font-size: 9px;
width:100%;
}
th {
background-color:
color:
-webkit-user-select: none;
-moz-user-select: none;
-user-select: none;
}
th,
td {
min-width: 70px;
padding: 10px 5px;
text-align:center;
}
tbody tr:nth-child(even) {
background-color:
}
margin-bottom: 10px;
}
display: flex;
margin-top: 5px;
}
margin-left: 5px;
margin-right: 5px;
}
background-color:
border-color:
color: rgba(255, 255, 255, 0.66);
}
.lead-grav-img {
background:
border: 1px solid
-moz-border-radius: 0px;
border-radius: 0px;
}
a {
color:
text-decoration:none;
}
.fa-sort-desc {
position:relative;
top:-2px;
left:2px;
}
@import url(http:
@-webkit-keyframes pulsate {
0% {
-webkit-transform: scale(0.6, 0.6);
transform: scale(0.6, 0.6);
opacity: 0.0;
}
50% {
opacity: 1.0;
}
100% {
-webkit-transform: scale(1, 1);
transform: scale(1, 1);
opacity: 0.0;
}
}
@keyframes pulsate {
0% {
-webkit-transform: scale(0.6, 0.6);
transform: scale(0.6, 0.6);
opacity: 0.0;
}
50% {
opacity: 1.0;
}
100% {
-webkit-transform: scale(1, 1);
transform: scale(1, 1);
opacity: 0.0;
}
}
body {
background-repeat: repeat, no-repeat;
background-size: auto, 100% 100%;
background-attachment: fixed;
margin:0px;
}
.profile-card {
height: 60px;
position: relative;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
background-color:
color:
font-family: "Lato", "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
line-height: 1.5;
font-weight: 300;
width: 100%;
margin-bottom:21px;
}
.profile-card header {
width: 100%;
height: 100%;
text-align: center;
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(0, 0, 0, 0.9)), color-stop(100%, transparent));
background: -webkit-linear-gradient(45deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
background: linear-gradient(45deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc000000', endColorstr='#00000000',GradientType=1 );
}
.profile-card header .profile-img-link {
position: relative;
}
.profile-card header .profile-img-link:before {
content: "";
border: 15px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
height: 90px;
width: 90px;
position: absolute;
left: 0;
bottom: 3px;
-webkit-animation: pulsate 1.6s ease-out;
animation: pulsate 1.6s ease-out;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
opacity: 0.0;
z-index: 99;
}
.profile-card header img {
position: relative;
border-radius: 50%;
height: 90px;
width: 90px;
padding: 0;
margin: 0;
border: 15px solid transparent;
margin-top: 12px;
z-index: 9999;
-webkit-transition: all .3s ease-out;
transition: all .3s ease-out;
}
.profile-card header a:hover img {
-webkit-transform: scale(1.06, 1.06);
transform: scale(1.06, 1.06);
}
.profile-card header a:hover:before {
-webkit-animation: none;
animation: none;
}
.profile-card header h1 {
text-align: center;
font-size: 28px;
opacity: 0.9;
margin-top: 0px;
margin-bottom: 3px;
padding-top:10px;
}
.profile-card header h2 {
font-size: 18px;
margin-top: 0;
opacity: 0.9;
margin-top: 0px;
margin-bottom: 3px;
}
.profile-card header h3 {
font-size: 14px;
margin-top: 0;
opacity: 0.9;
margin-top: 0px;
margin-bottom: 3px;
}
.profile-card .profile-bio {
position: absolute;
bottom: 0;
}
.profile-card .profile-bio p {
margin: 24px;
text-align: center;
opacity: 0.9;
}
.profile-card .profile-social-links {
position: relative;
background-color: white;
margin: 0 auto;
text-align: center;
padding: 6px 0;
}
.profile-card .profile-social-links li {
display: inline-block;
padding: 3px 5px 0;
}
.profile-card .profile-social-links li img {
height: 28px;
opacity: 0.8;
-webkit-transition: all .2s ease-out;
transition: all .2s ease-out;
}
.profile-card .profile-social-links li a:hover img {
opacity: 1;
-webkit-transform: scale(1.1, 1.1);
transform: scale(1.1, 1.1);
}
.profile-card .profile-social-links:after {
bottom: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(255, 255, 255, 0);
border-bottom-color:
border-width: 10px;
margin-left: -10px;
}
.fa-pencil-square-o {
font-size:21px;
}
.fa-hourglass-half {
cursor:default;
color: lightgrey;
}
.flexbox-container {
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
.flexbox-container > div {
width: 50%;
padding: 10px;
}
.flexbox-container > div:first-child {
margin-right: 20px;
}
hr {
margin-top:10px;
margin-left:10px;
margin-right:10px;
pacity:.2;
}
.visitors-stream-view {
margin-left:10px;
margin-right:10px;
margin-bottom:44px;
}
margin-top:10px;
margin-left:auto;
margin-right:auto;
}
.top-ten-viewers td, .top-ten-sources td {
height:40px;
}
</style>
<link rel='stylesheet' id='fontawesome-css' href='<?php echo INBOUNDNOW_SHARED_URLPATH ;?>assets/fonts/fontawesome/css/font-awesome.min.css?ver=4.6.1' type='text/css' media='all' />
<?php
}
}
new Inbound_Upgrade_For_More_Reports;
}