mirror of
https://github.com/gamaio/lobli.git
synced 2024-12-22 11:42:40 +00:00
Moved from windows to linux - Git is acting weird
The files changed totally apparently, even though no actual changes were made
This commit is contained in:
parent
27f70868b3
commit
2692bdf753
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
Website/loader*.htm
|
Website/loader*.htm
|
||||||
Website/testarr.php
|
Website/testarr.php
|
||||||
Website/modal.loader.test.htm
|
Website/modal.loader.test.htm
|
50
README.MD
50
README.MD
@ -1,26 +1,26 @@
|
|||||||
lob.li - Objective Link Shortener
|
lob.li - Objective Link Shortener
|
||||||
==================================
|
==================================
|
||||||
- This is a link shortener, more structured and refined from the UnPS shortener (found https://github.com/UPSolutions/unps.us-Shortener)
|
- This is a link shortener, more structured and refined from the UnPS shortener (found https://github.com/UPSolutions/unps.us-Shortener)
|
||||||
- With more focus towards stability and ease of use.
|
- With more focus towards stability and ease of use.
|
||||||
|
|
||||||
Core code will be based off of Short version 4-2.9 and versions will be determined as follows:
|
Core code will be based off of Short version 4-2.9 and versions will be determined as follows:
|
||||||
|
|
||||||
- First period: Major release version
|
- First period: Major release version
|
||||||
- Second Period: Minor release version
|
- Second Period: Minor release version
|
||||||
- Third Period: Current Stable version
|
- Third Period: Current Stable version
|
||||||
- Fourth Period: Current Testing version
|
- Fourth Period: Current Testing version
|
||||||
- Fifth Period: Current Dev version
|
- Fifth Period: Current Dev version
|
||||||
- Sixth Period: Current commit version (incremented every commit by 1)
|
- Sixth Period: Current commit version (incremented every commit by 1)
|
||||||
|
|
||||||
- So if the version is 1.5.3.6.2.20, it should be read as:
|
- So if the version is 1.5.3.6.2.20, it should be read as:
|
||||||
- Version 1.5 Third Stable release - live at http://lob.li
|
- Version 1.5 Third Stable release - live at http://lob.li
|
||||||
- Version 1.5.3 Sixth Testing (Beta) release - live at http://dev.lob.li
|
- Version 1.5.3 Sixth Testing (Beta) release - live at http://dev.lob.li
|
||||||
- Version 1.5.3.6 Second Developing (Unstable or broken) release - Not live
|
- Version 1.5.3.6 Second Developing (Unstable or broken) release - Not live
|
||||||
- Number of commits since last developing version
|
- Number of commits since last developing version
|
||||||
|
|
||||||
This project will consist of three branches:
|
This project will consist of three branches:
|
||||||
- unstable (dev)
|
- unstable (dev)
|
||||||
- beta
|
- beta
|
||||||
- stable (master)
|
- stable (master)
|
||||||
|
|
||||||
Please only run the stable or beta in live environments, unstable might have bugs or might not even work at all
|
Please only run the stable or beta in live environments, unstable might have bugs or might not even work at all
|
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
$shortdb = new mysqli('localhost', 'short', 'password', 'short'); // Connect to link shortener DB
|
$shortdb = new mysqli('localhost', 'short', 'password', 'short'); // Connect to link shortener DB
|
||||||
if($shortdb->connect_errno > 0) die('Unable to connect to database [' . $shortdb->connect_error . '] - Check dbsettings.php');
|
if($shortdb->connect_errno > 0) die('Unable to connect to database [' . $shortdb->connect_error . '] - Check dbsettings.php');
|
||||||
?>
|
?>
|
@ -1,66 +1,66 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>lob.li - Objective Links | About Us</title>
|
<title>lob.li - Objective Links | About Us</title>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container center-block">
|
<div class="container center-block">
|
||||||
|
|
||||||
<?php include('Include/HTML/navbar.htm') ?>
|
<?php include('Include/HTML/navbar.htm') ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h2 class="form-shorten-heading">About Lob.li</h2>
|
<h2 class="form-shorten-heading">About Lob.li</h2>
|
||||||
<div class="text-success bg-success alert">
|
<div class="text-success bg-success alert">
|
||||||
Lob.li is a link shortener. That's the easiest way to describe what this service does and is about.
|
Lob.li is a link shortener. That's the easiest way to describe what this service does and is about.
|
||||||
Hi, I'm c0de. I developed this website with many hours of work and lots of distractions.
|
Hi, I'm c0de. I developed this website with many hours of work and lots of distractions.
|
||||||
This site is very JavaScript and CSS heavy and unfortunatly breaks on text-only browsers and browsers with JavaScript disabled.
|
This site is very JavaScript and CSS heavy and unfortunatly breaks on text-only browsers and browsers with JavaScript disabled.
|
||||||
|
|
||||||
<h3>A little background on this site...</h3>
|
<h3>A little background on this site...</h3>
|
||||||
The domain lob.li was pretty much an attempt to make a pronounceable and memorable domain
|
The domain lob.li was pretty much an attempt to make a pronounceable and memorable domain
|
||||||
A lot of the backend code is from my older link shortener, <a href="http://unps.us">UnPS</a>.
|
A lot of the backend code is from my older link shortener, <a href="http://unps.us">UnPS</a>.
|
||||||
The base code has gone through many iterations, but only versions 2 through 4-2 are supported.
|
The base code has gone through many iterations, but only versions 2 through 4-2 are supported.
|
||||||
|
|
||||||
<h3>Terms of Service...</h3>
|
<h3>Terms of Service...</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>No already shortened links (bit.li, ad.fly, etc)</li>
|
<li>No already shortened links (bit.li, ad.fly, etc)</li>
|
||||||
<li>No Illegal actions, or websites promoting illegal actions</li>
|
<li>No Illegal actions, or websites promoting illegal actions</li>
|
||||||
<li>No Spam. Nobody likes it, don't use my service to distribute spam</li>
|
<li>No Spam. Nobody likes it, don't use my service to distribute spam</li>
|
||||||
<li>No Linking to viruses and other malware</li>
|
<li>No Linking to viruses and other malware</li>
|
||||||
<li>Anything that I feel would cause harm to this service</li>
|
<li>Anything that I feel would cause harm to this service</li>
|
||||||
</ul>
|
</ul>
|
||||||
NOTE: I clean up the database from time to time and manually inspect links for anything that violates these rules.
|
NOTE: I clean up the database from time to time and manually inspect links for anything that violates these rules.
|
||||||
They will be removed without notice.
|
They will be removed without notice.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
$('#aboutlink').addClass('active');
|
$('#aboutlink').addClass('active');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,162 +1,172 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
// Generate a token on the fly. This should prevent POST spam attacks directly into process.php
|
// Generate a token on the fly. This should prevent POST spam attacks directly into process.php
|
||||||
$token = substr(number_format(time() * mt_rand(),0,'',''),0,10);
|
$token = substr(number_format(time() * mt_rand(),0,'',''),0,10);
|
||||||
$token = base_convert($token, 10, 36);
|
$token = base_convert($token, 10, 36);
|
||||||
$_SESSION['token'] = $token;
|
$_SESSION['token'] = $token;
|
||||||
|
|
||||||
$catchid = substr(number_format(time() * mt_rand(),0,'',''),0,10);
|
$catchid = substr(number_format(time() * mt_rand(),0,'',''),0,10);
|
||||||
$catchVal = hash('sha256', $catchid.mt_rand().time().substr(number_format(time() * mt_rand(),0,'',''),0,10));
|
$catchVal = hash('sha256', $catchid.mt_rand().time().substr(number_format(time() * mt_rand(),0,'',''),0,10));
|
||||||
$catchVal = base_convert($catchVal.$catchid, 10, 36);
|
$catchVal = base_convert($catchVal.$catchid, 10, 36);
|
||||||
$_SESSION['catch'] = $catchid.":".$catchVal;
|
$_SESSION['catch'] = $catchid.":".$catchVal;
|
||||||
|
|
||||||
// exit codes:
|
require('Include/PHP/db.php');
|
||||||
/*
|
|
||||||
exit 0 - Good script
|
function followLink($shortdb, $link){
|
||||||
exit 5 - Link redirection
|
$link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($link))));
|
||||||
|
$link = str_replace('/', '', $link);
|
||||||
10x exit codes
|
|
||||||
exit 11 - Shortener Stats redirection
|
$sql = "SELECT * FROM `tracking` WHERE `id` = '$link' LIMIT 1;"; // Testing to see if the link has been visited before
|
||||||
exit 12 - Shortener Resolver redirection
|
if($result = $shortdb->query($sql)){
|
||||||
exit 13 - Shortener About redirection
|
if($row = $result->fetch_assoc()){
|
||||||
*/
|
$sql = "UPDATE `tracking` SET `clicks` = `clicks` + 1 WHERE `id` = '$link'"; // Yes it has, increment clicks by 1
|
||||||
|
if($result = $shortdb->query($sql)){
|
||||||
require('Include/PHP/db.php');
|
if($result->num_rows == 0){
|
||||||
require('Include/PHP/functions.php');
|
die ($shortdb->error);
|
||||||
|
}
|
||||||
// This has been depreciated. Still here for backwards compatibility with existing links
|
}
|
||||||
if(!empty($_GET['l'])){
|
}
|
||||||
$link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($_GET['l']))));
|
}else{
|
||||||
$link = str_replace('/', '', $link);
|
$sql = "INSERT INTO `tracking` (id, clicks) VALUES ('$link', 1)"; // No it hasn't, add 1 click to the table
|
||||||
$sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;";
|
if($result = $shortdb->query($sql)){
|
||||||
if($result = $shortdb->query($sql)){
|
if($result->num_rows == 0){
|
||||||
if($row = $result->fetch_assoc()){
|
die ($shortdb->error);
|
||||||
tracking($sdb, $link);
|
}
|
||||||
|
}
|
||||||
$link = $row['link'];
|
}
|
||||||
header("location:$link");
|
|
||||||
exit(5); // Stop script execution to save on resources
|
$sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;";
|
||||||
}
|
if($result = $shortdb->query($sql)){
|
||||||
}
|
if($row = $result->fetch_assoc()){
|
||||||
}
|
$link = $row['link'];
|
||||||
|
//header("location:$link");
|
||||||
// New way to check for valid short links, two characters shorter than the if statement above
|
exit(5); // Stop script execution to save on resources
|
||||||
if(!empty($_GET)){
|
}
|
||||||
$key = key($_GET);
|
}
|
||||||
|
}
|
||||||
if($key == "stats"){ header("location:http://s.lob.li"); exit(11); }
|
|
||||||
if($key == "resolv"){ header("location:http://r.lob.li"); exit(12); }
|
// exit codes:
|
||||||
if($key == "about"){ header("location:http://a.lob.li"); exit(13); }
|
/*
|
||||||
|
exit 0 - Good script
|
||||||
$link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($key))));
|
exit 5 - Link redirection
|
||||||
$link = str_replace('/', '', $link);
|
|
||||||
$sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;";
|
10x exit codes
|
||||||
if($result = $shortdb->query($sql)){
|
exit 11 - Shortener Stats redirection
|
||||||
if($row = $result->fetch_assoc()){
|
exit 12 - Shortener Resolver redirection
|
||||||
tracking($sdb, $link);
|
exit 13 - Shortener About redirection
|
||||||
|
*/
|
||||||
$link = $row['link'];
|
|
||||||
header("location:$link");
|
// This has been depreciated. Still here for backwards compatibility with existing links
|
||||||
exit(5); // Stop script execution to save on resources
|
if(!empty($_GET['l'])){
|
||||||
}
|
followLink($shortdb, $_GET['l']);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
?>
|
// New way to check for valid short links, two characters shorter than the if statement above
|
||||||
<!DOCTYPE html>
|
if(!empty($_GET)){
|
||||||
<html lang="en">
|
$key = key($_GET);
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
if($key == "stats"){ header("location:http://s.lob.li"); exit(11); }
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
if($key == "resolv"){ header("location:http://r.lob.li"); exit(12); }
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
if($key == "about"){ header("location:http://a.lob.li"); exit(13); }
|
||||||
<title>lob.li - Objective Links</title>
|
|
||||||
|
followLink($shortdb, $key);
|
||||||
<!-- Bootstrap -->
|
}
|
||||||
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
?>
|
||||||
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<head>
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<meta charset="utf-8">
|
||||||
<!--[if lt IE 9]>
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<title>lob.li - Objective Links</title>
|
||||||
<![endif]-->
|
|
||||||
</head>
|
<!-- Bootstrap -->
|
||||||
<body>
|
<link href="Include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<div class="container center-block">
|
<link href="Include/CSS/style.css?<?php echo time(); ?>" rel="stylesheet">
|
||||||
|
|
||||||
<?php include('Include/HTML/navbar.htm') ?>
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<div class="row">
|
<!--[if lt IE 9]>
|
||||||
<div class="col-md-3"></div>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<div class="col-md-6">
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
<h2 class="form-shorten-heading">Please give me a link to shorten...</h2>
|
<![endif]-->
|
||||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
</head>
|
||||||
<div class="input-group">
|
<body>
|
||||||
<input type="text" class="form-control input-lg" id="link" name="link" placeholder="http://" required autofocus>
|
<div class="container center-block">
|
||||||
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
|
||||||
<span class="input-group-btn">
|
<?php include('Include/HTML/navbar.htm') ?>
|
||||||
<button type="submit" class="btn btn-primary btn-lg submitbtn" id="short-button">
|
|
||||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
<div class="row">
|
||||||
</button>
|
<div class="col-md-3"></div>
|
||||||
</span>
|
<div class="col-md-6">
|
||||||
</div><!-- /input-group -->
|
<h2 class="form-shorten-heading">Please give me a link to shorten...</h2>
|
||||||
</form>
|
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||||
<div id="message">
|
<div class="input-group">
|
||||||
<div id="theLoader">
|
<input type="text" class="form-control input-lg" id="link" name="link" placeholder="http://" required autofocus>
|
||||||
<div class="wrap">
|
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||||
<div class="loading">
|
<span class="input-group-btn">
|
||||||
<span class="title">loading....</span>
|
<button type="submit" class="btn btn-primary btn-lg submitbtn" id="short-button">
|
||||||
<span class="text">Please Wait</span>
|
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||||
</div>
|
</button>
|
||||||
</div>
|
</span>
|
||||||
</div>
|
</div><!-- /input-group -->
|
||||||
</div>
|
</form>
|
||||||
|
<div id="message">
|
||||||
</div>
|
<div id="theLoader">
|
||||||
<div class="col-md-3"></div>
|
<div class="wrap">
|
||||||
</div>
|
<div class="loading">
|
||||||
</div>
|
<span class="title">loading....</span>
|
||||||
|
<span class="text">Please Wait</span>
|
||||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
</div>
|
||||||
<div class="container">
|
</div>
|
||||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
</div>
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<div class="col-md-3"></div>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
</div>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
</div>
|
||||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||||
<script type="text/javascript" language="JavaScript">
|
<div class="container">
|
||||||
jQuery(document).ready(function(){
|
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||||
$('#link').focus();
|
</div>
|
||||||
$('#homelink').addClass('active');
|
</div>
|
||||||
});
|
|
||||||
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
function copyToClipboard(text){
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
}
|
<script src="Include/Bootstrap/js/bootstrap.min.js"></script>
|
||||||
</script>
|
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
// This is our AJAX - Thank you Wizzy <3
|
jQuery(document).ready(function(){
|
||||||
$("#form-shorten").submit(function(event){
|
$('#link').focus();
|
||||||
$("#theLoader").fadeIn("fast");
|
$('#homelink').addClass('active');
|
||||||
event.preventDefault();
|
});
|
||||||
event.stopPropagation();
|
|
||||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
function copyToClipboard(text){
|
||||||
$("#message").hide().html(data).slideDown("fast");
|
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||||
$("#theLoader").hide();
|
}
|
||||||
if($('#danger').length){
|
</script>
|
||||||
$('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
|
<script type="text/javascript" language="JavaScript">
|
||||||
}else if($('#success').length){
|
// This is our AJAX - Thank you Wizzy <3
|
||||||
$('#short-button').removeClass("btn-primary btn-danger btn-warning").addClass("btn-success");
|
$("#form-shorten").submit(function(event){
|
||||||
}else if($('#warning').length){
|
$("#theLoader").fadeIn("fast");
|
||||||
$('#short-button').removeClass("btn-primary btn-success btn-danger").addClass("btn-warning");
|
event.preventDefault();
|
||||||
}
|
event.stopPropagation();
|
||||||
});
|
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||||
});
|
$("#message").hide().html(data).slideDown("fast");
|
||||||
</script>
|
$("#theLoader").hide();
|
||||||
</body>
|
if($('#danger').length){
|
||||||
</html>
|
$('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
|
||||||
|
}else if($('#success').length){
|
||||||
|
$('#short-button').removeClass("btn-primary btn-danger btn-warning").addClass("btn-success");
|
||||||
|
}else if($('#warning').length){
|
||||||
|
$('#short-button').removeClass("btn-primary btn-success btn-danger").addClass("btn-warning");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
@ -1,116 +1,116 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>lob.li - Objective Links | Link Resolver</title>
|
<title>lob.li - Objective Links | Link Resolver</title>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container center-block">
|
<div class="container center-block">
|
||||||
|
|
||||||
<?php include('Include/HTML/navbar.htm') ?>
|
<?php include('Include/HTML/navbar.htm') ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h2 class="form-shorten-heading">Enter lob.li link to resolve below</h2>
|
<h2 class="form-shorten-heading">Enter lob.li link to resolve below</h2>
|
||||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon">http://lob.li/</span>
|
<span class="input-group-addon">http://lob.li/</span>
|
||||||
<input type="text" class="form-control input-lg" id="link" placeholder="id" required autofocus>
|
<input type="text" class="form-control input-lg" id="link" placeholder="id" required autofocus>
|
||||||
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button type="submit" class="btn btn-primary btn-lg submitbtn">
|
<button type="submit" class="btn btn-primary btn-lg submitbtn">
|
||||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div><!-- /input-group -->
|
</div><!-- /input-group -->
|
||||||
</form>
|
</form>
|
||||||
<div id="message">
|
<div id="message">
|
||||||
<div id="theLoader">
|
<div id="theLoader">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="loading">
|
<div class="loading">
|
||||||
<span class="title">loading....</span>
|
<span class="title">loading....</span>
|
||||||
<span class="text">Please Wait</span>
|
<span class="text">Please Wait</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
$('#link').focus();
|
$('#link').focus();
|
||||||
//$('#message').addClass('hide');
|
//$('#message').addClass('hide');
|
||||||
$('#resolink').addClass('active');
|
$('#resolink').addClass('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
function copyToClipboard(text){
|
function copyToClipboard(text){
|
||||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$(".longlink").each(function(i){
|
$(".longlink").each(function(i){
|
||||||
len=$(this).text().length;
|
len=$(this).text().length;
|
||||||
if(len > 47){
|
if(len > 47){
|
||||||
$(this).text($(this).text().substr(0, 47) + '...');
|
$(this).text($(this).text().substr(0, 47) + '...');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$(".longlink2").each(function(i){
|
$(".longlink2").each(function(i){
|
||||||
len=$(this).text().length;
|
len=$(this).text().length;
|
||||||
if(len > 25){
|
if(len > 25){
|
||||||
$(this).text($(this).text().substr(0, 25) + '...');
|
$(this).text($(this).text().substr(0, 25) + '...');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
// This is our AJAX - Thank you Wizzy <3
|
// This is our AJAX - Thank you Wizzy <3
|
||||||
$("#form-shorten").submit(function(event){
|
$("#form-shorten").submit(function(event){
|
||||||
$("#theLoader").fadeIn("fast");
|
$("#theLoader").fadeIn("fast");
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||||
$("#message").hide().slideDown("fast");
|
$("#message").hide().slideDown("fast");
|
||||||
$("#theLoader").hide();
|
$("#theLoader").hide();
|
||||||
if($('#danger').length){
|
if($('#danger').length){
|
||||||
$('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
|
$('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
|
||||||
}else if($('#success').length){
|
}else if($('#success').length){
|
||||||
$('#short-button').removeClass("btn-primary btn-danger btn-warning").addClass("btn-success");
|
$('#short-button').removeClass("btn-primary btn-danger btn-warning").addClass("btn-success");
|
||||||
}else if($('#warning').length){
|
}else if($('#warning').length){
|
||||||
$('#short-button').removeClass("btn-primary btn-success btn-danger").addClass("btn-warning");
|
$('#short-button').removeClass("btn-primary btn-success btn-danger").addClass("btn-warning");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,121 +1,121 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>lob.li - Objective Links | Link Statistics</title>
|
<title>lob.li - Objective Links | Link Statistics</title>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container center-block">
|
<div class="container center-block">
|
||||||
|
|
||||||
<?php include('Include/HTML/navbar.htm') ?>
|
<?php include('Include/HTML/navbar.htm') ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h2 class="form-shorten-heading">Lob.li Link Statistics</h2>
|
<h2 class="form-shorten-heading">Lob.li Link Statistics</h2>
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>LinkID</th>
|
<th>LinkID</th>
|
||||||
<th>Resolved Link</th>
|
<th>Resolved Link</th>
|
||||||
<th>Total Clicks</th>
|
<th>Total Clicks</th>
|
||||||
<th>Date Added</th>
|
<th>Date Added</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
<div id="theLoader" style="padding-left:10%;">
|
<div id="theLoader" style="padding-left:10%;">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="loading">
|
<div class="loading">
|
||||||
<span class="title">loading....</span>
|
<span class="title">loading....</span>
|
||||||
<span class="text">Please Wait</span>
|
<span class="text">Please Wait</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="centertab"><a href="#">1</a></td>
|
<td class="centertab"><a href="#">1</a></td>
|
||||||
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
||||||
<td class="centertab">44444</td>
|
<td class="centertab">44444</td>
|
||||||
<td>00/00/0000</td>
|
<td>00/00/0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="centertab"><a href="#">6</a></td>
|
<td class="centertab"><a href="#">6</a></td>
|
||||||
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
||||||
<td class="centertab">44444</td>
|
<td class="centertab">44444</td>
|
||||||
<td>00/00/0000</td>
|
<td>00/00/0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="centertab"><a href="#">236</a></td>
|
<td class="centertab"><a href="#">236</a></td>
|
||||||
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
||||||
<td class="centertab">44444</td>
|
<td class="centertab">44444</td>
|
||||||
<td>00/00/0000</td>
|
<td>00/00/0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="centertab"><a href="#">f42</a></td>
|
<td class="centertab"><a href="#">f42</a></td>
|
||||||
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
||||||
<td class="centertab">44444</td>
|
<td class="centertab">44444</td>
|
||||||
<td>00/00/0000</td>
|
<td>00/00/0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="success">
|
<tr class="success">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="centertab"><a href="#">tg54<a></td>
|
<td class="centertab"><a href="#">tg54<a></td>
|
||||||
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
|
||||||
<td class="centertab">44444</td>
|
<td class="centertab">44444</td>
|
||||||
<td>00/00/0000</td>
|
<td>00/00/0000</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
$('#statlink').addClass('active');
|
$('#statlink').addClass('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$(".res").each(function(i){
|
$(".res").each(function(i){
|
||||||
len=$(this).text().length;
|
len=$(this).text().length;
|
||||||
if(len > 35){
|
if(len > 35){
|
||||||
$(this).text($(this).text().substr(0, 35) + '...');
|
$(this).text($(this).text().substr(0, 35) + '...');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
108
Website/wpi.php
108
Website/wpi.php
@ -1,54 +1,54 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>lob.li - Objective Links | WPI</title>
|
<title>lob.li - Objective Links | WPI</title>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="include/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
<link href="include/css/style.css?<?php echo time(); ?>" rel="stylesheet">
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container center-block">
|
<div class="container center-block">
|
||||||
|
|
||||||
<?php include('Include/HTML/navbar.htm') ?>
|
<?php include('Include/HTML/navbar.htm') ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h2 class="form-shorten-heading">Lob.li Web Programming Interface</h2>
|
<h2 class="form-shorten-heading">Lob.li Web Programming Interface</h2>
|
||||||
<div class="text-success bg-success alert">
|
<div class="text-success bg-success alert">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"></div>
|
<div class="col-md-3"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
$('#wpilink').addClass('active');
|
$('#wpilink').addClass('active');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user