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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="verify-v1" content="mHSRzn7QZ7CWlYanFq6iSG4+75l+DuEoP5m43Rmq3PQ=" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="description" content="Safer, more convenient web browsing by revealing the destination of shortened URLs like those of TinyURL.com, bit.ly, is.gd, and more." />
<title><?php echo Glucose::config('site_name', 'template').' '.$GC->template->getTitle();?></title>
<link rel="shortcut icon" href="<?php echo asset_url('/static/images/favicon.ico');?>" />
<?php $GC->template->addCSSFile('reset-min.css', false, true, false);?>
<?php $GC->template->addCSSFile('base-min.css', false, true, false);?>
<?php $GC->template->addCSSFile('fonts-min.css', false, true, false);?>
<?php $GC->template->addCSSFile('styles.css');?>
<?php echo $GC->template->getCSS();?>
</head>
<?php $section = (isset($section)) ? $section:'home';?>
<body class="<?php echo $section;?>">
<div id="header">
<div class="wrapper">
<a class="logo" href="<?php echo site_url('/');?>"><img src="<?php echo asset_url('/static/images/longurl-logo.png');?>" alt="LongURL" /></a>
<div class="ad ad-468x60">
<!-- Use Google Analytics to test different ads -->
<?php
$choice = round(rand(1, 4), 0);
switch($choice):
case 1:
?>
<a href="<?php echo site_url('/donate');?>" class="donate" onClick="javascript: pageTracker._trackPageview('/banner_ad/donate/v1');">
Help us make LongURL better.<br /><span>Donate Today</span>!
</a>
<?php
break;
case 2:
?>
<a href="<?php echo site_url('/donate');?>" class="donate" onClick="javascript: pageTracker._trackPageview('/banner_ad/donate/v2');">
Like LongURL?<br />Support continued development & <span>Donate Today</span>!
</a>
<?php
break;
case 3:
?>
<a href="<?php echo site_url('/donate');?>" class="donate" onClick="javascript: pageTracker._trackPageview('/banner_ad/donate/v3');">
We need your help!<br />Support LongURL by <span>donating</span>.
</a>
<?php
break;
case 4:
?>
<a href="<?php echo site_url('/donate');?>" class="donate" onClick="javascript: pageTracker._trackPageview('/banner_ad/donate/v4');">
We need your support!<br />Please <span>donate</span>.
</a>
<?php endswitch; ?>
</div>
</div>
</div><!-- close #header -->
<div id="nav">
<div class="wrapper">
<ul>
<li<?php echo ($section === 'about') ? ' class="selected"':'';?>><a href="<?php echo site_url('/about');?>" title="About LongURL"><span>About</span></a></li>
<li<?php echo ($section === 'expand') ? ' class="selected"':'';?>><a href="<?php echo site_url('/expand');?>" title="Expand URLs"><span>Expand</span></a></li>
<li<?php echo ($section === 'services') ? ' class="selected"':'';?>><a href="<?php echo site_url('/services');?>" title="URL Shortening Services"><span>Services</span></a></li>
<li<?php echo ($section === 'tools') ? ' class="selected"':'';?>><a href="<?php echo site_url('/tools');?>" title="Browser Extensions & Other Tools"><span>Tools</span></a></li>
</ul>
</div>
</div><!-- close #nav -->
|