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/testarr.php
|
||||
Website/loader*.htm
|
||||
Website/testarr.php
|
||||
Website/modal.loader.test.htm
|
50
README.MD
50
README.MD
@ -1,26 +1,26 @@
|
||||
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)
|
||||
- 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:
|
||||
|
||||
- First period: Major release version
|
||||
- Second Period: Minor release version
|
||||
- Third Period: Current Stable version
|
||||
- Fourth Period: Current Testing version
|
||||
- Fifth Period: Current Dev version
|
||||
- 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:
|
||||
- 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.6 Second Developing (Unstable or broken) release - Not live
|
||||
- Number of commits since last developing version
|
||||
|
||||
This project will consist of three branches:
|
||||
- unstable (dev)
|
||||
- beta
|
||||
- stable (master)
|
||||
|
||||
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)
|
||||
- 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:
|
||||
|
||||
- First period: Major release version
|
||||
- Second Period: Minor release version
|
||||
- Third Period: Current Stable version
|
||||
- Fourth Period: Current Testing version
|
||||
- Fifth Period: Current Dev version
|
||||
- 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:
|
||||
- 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.6 Second Developing (Unstable or broken) release - Not live
|
||||
- Number of commits since last developing version
|
||||
|
||||
This project will consist of three branches:
|
||||
- unstable (dev)
|
||||
- beta
|
||||
- stable (master)
|
||||
|
||||
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
|
||||
$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');
|
||||
<?php
|
||||
$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');
|
||||
?>
|
@ -1,66 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | About Us</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">About Lob.li</h2>
|
||||
<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.
|
||||
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.
|
||||
|
||||
<h3>A little background on this site...</h3>
|
||||
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>.
|
||||
The base code has gone through many iterations, but only versions 2 through 4-2 are supported.
|
||||
|
||||
<h3>Terms of Service...</h3>
|
||||
<ul>
|
||||
<li>No already shortened links (bit.li, ad.fly, etc)</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 Linking to viruses and other malware</li>
|
||||
<li>Anything that I feel would cause harm to this service</li>
|
||||
</ul>
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#aboutlink').addClass('active');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | About Us</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">About Lob.li</h2>
|
||||
<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.
|
||||
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.
|
||||
|
||||
<h3>A little background on this site...</h3>
|
||||
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>.
|
||||
The base code has gone through many iterations, but only versions 2 through 4-2 are supported.
|
||||
|
||||
<h3>Terms of Service...</h3>
|
||||
<ul>
|
||||
<li>No already shortened links (bit.li, ad.fly, etc)</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 Linking to viruses and other malware</li>
|
||||
<li>Anything that I feel would cause harm to this service</li>
|
||||
</ul>
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#aboutlink').addClass('active');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,162 +1,172 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
// 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 = base_convert($token, 10, 36);
|
||||
$_SESSION['token'] = $token;
|
||||
|
||||
$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 = base_convert($catchVal.$catchid, 10, 36);
|
||||
$_SESSION['catch'] = $catchid.":".$catchVal;
|
||||
|
||||
// exit codes:
|
||||
/*
|
||||
exit 0 - Good script
|
||||
exit 5 - Link redirection
|
||||
|
||||
10x exit codes
|
||||
exit 11 - Shortener Stats redirection
|
||||
exit 12 - Shortener Resolver redirection
|
||||
exit 13 - Shortener About redirection
|
||||
*/
|
||||
|
||||
require('Include/PHP/db.php');
|
||||
require('Include/PHP/functions.php');
|
||||
|
||||
// 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']))));
|
||||
$link = str_replace('/', '', $link);
|
||||
$sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;";
|
||||
if($result = $shortdb->query($sql)){
|
||||
if($row = $result->fetch_assoc()){
|
||||
tracking($sdb, $link);
|
||||
|
||||
$link = $row['link'];
|
||||
header("location:$link");
|
||||
exit(5); // Stop script execution to save on resources
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// New way to check for valid short links, two characters shorter than the if statement above
|
||||
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); }
|
||||
if($key == "about"){ header("location:http://a.lob.li"); exit(13); }
|
||||
|
||||
$link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($key))));
|
||||
$link = str_replace('/', '', $link);
|
||||
$sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;";
|
||||
if($result = $shortdb->query($sql)){
|
||||
if($row = $result->fetch_assoc()){
|
||||
tracking($sdb, $link);
|
||||
|
||||
$link = $row['link'];
|
||||
header("location:$link");
|
||||
exit(5); // Stop script execution to save on resources
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Please give me a link to shorten...</h2>
|
||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control input-lg" id="link" name="link" placeholder="http://" required autofocus>
|
||||
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary btn-lg submitbtn" id="short-button">
|
||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</form>
|
||||
<div id="message">
|
||||
<div id="theLoader">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#link').focus();
|
||||
$('#homelink').addClass('active');
|
||||
});
|
||||
|
||||
function copyToClipboard(text){
|
||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
// This is our AJAX - Thank you Wizzy <3
|
||||
$("#form-shorten").submit(function(event){
|
||||
$("#theLoader").fadeIn("fast");
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||
$("#message").hide().html(data).slideDown("fast");
|
||||
$("#theLoader").hide();
|
||||
if($('#danger').length){
|
||||
$('#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>
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
// 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 = base_convert($token, 10, 36);
|
||||
$_SESSION['token'] = $token;
|
||||
|
||||
$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 = base_convert($catchVal.$catchid, 10, 36);
|
||||
$_SESSION['catch'] = $catchid.":".$catchVal;
|
||||
|
||||
require('Include/PHP/db.php');
|
||||
|
||||
function followLink($shortdb, $link){
|
||||
$link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($link))));
|
||||
$link = str_replace('/', '', $link);
|
||||
|
||||
$sql = "SELECT * FROM `tracking` WHERE `id` = '$link' LIMIT 1;"; // Testing to see if the link has been visited before
|
||||
if($result = $shortdb->query($sql)){
|
||||
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)){
|
||||
if($result->num_rows == 0){
|
||||
die ($shortdb->error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}else{
|
||||
$sql = "INSERT INTO `tracking` (id, clicks) VALUES ('$link', 1)"; // No it hasn't, add 1 click to the table
|
||||
if($result = $shortdb->query($sql)){
|
||||
if($result->num_rows == 0){
|
||||
die ($shortdb->error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$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");
|
||||
exit(5); // Stop script execution to save on resources
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// exit codes:
|
||||
/*
|
||||
exit 0 - Good script
|
||||
exit 5 - Link redirection
|
||||
|
||||
10x exit codes
|
||||
exit 11 - Shortener Stats redirection
|
||||
exit 12 - Shortener Resolver redirection
|
||||
exit 13 - Shortener About redirection
|
||||
*/
|
||||
|
||||
// This has been depreciated. Still here for backwards compatibility with existing links
|
||||
if(!empty($_GET['l'])){
|
||||
followLink($shortdb, $_GET['l']);
|
||||
}
|
||||
|
||||
// New way to check for valid short links, two characters shorter than the if statement above
|
||||
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); }
|
||||
if($key == "about"){ header("location:http://a.lob.li"); exit(13); }
|
||||
|
||||
followLink($shortdb, $key);
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="Include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Please give me a link to shorten...</h2>
|
||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control input-lg" id="link" name="link" placeholder="http://" required autofocus>
|
||||
<input type="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary btn-lg submitbtn" id="short-button">
|
||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</form>
|
||||
<div id="message">
|
||||
<div id="theLoader">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="Include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#link').focus();
|
||||
$('#homelink').addClass('active');
|
||||
});
|
||||
|
||||
function copyToClipboard(text){
|
||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
// This is our AJAX - Thank you Wizzy <3
|
||||
$("#form-shorten").submit(function(event){
|
||||
$("#theLoader").fadeIn("fast");
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||
$("#message").hide().html(data).slideDown("fast");
|
||||
$("#theLoader").hide();
|
||||
if($('#danger').length){
|
||||
$('#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>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | Link Resolver</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Enter lob.li link to resolve below</h2>
|
||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||
<div class="input-group">
|
||||
<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="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary btn-lg submitbtn">
|
||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</form>
|
||||
<div id="message">
|
||||
<div id="theLoader">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#link').focus();
|
||||
//$('#message').addClass('hide');
|
||||
$('#resolink').addClass('active');
|
||||
});
|
||||
|
||||
function copyToClipboard(text){
|
||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$(".longlink").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 47){
|
||||
$(this).text($(this).text().substr(0, 47) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$(".longlink2").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 25){
|
||||
$(this).text($(this).text().substr(0, 25) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
// This is our AJAX - Thank you Wizzy <3
|
||||
$("#form-shorten").submit(function(event){
|
||||
$("#theLoader").fadeIn("fast");
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||
$("#message").hide().slideDown("fast");
|
||||
$("#theLoader").hide();
|
||||
if($('#danger').length){
|
||||
$('#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>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | Link Resolver</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Enter lob.li link to resolve below</h2>
|
||||
<form class="form-shorten form-inline" id="form-shorten" role="form">
|
||||
<div class="input-group">
|
||||
<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="hidden" name="<?php echo $catchid; ?>" value="<?php echo $catchVal; ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary btn-lg submitbtn">
|
||||
<span class="glyphicon glyphicon-share-alt icon-rotate"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</form>
|
||||
<div id="message">
|
||||
<div id="theLoader">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#link').focus();
|
||||
//$('#message').addClass('hide');
|
||||
$('#resolink').addClass('active');
|
||||
});
|
||||
|
||||
function copyToClipboard(text){
|
||||
window.prompt ("Copy to clipboard: Ctrl+C, Enter (when closed I will open your link in a new tab)", text);
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$(".longlink").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 47){
|
||||
$(this).text($(this).text().substr(0, 47) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$(".longlink2").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 25){
|
||||
$(this).text($(this).text().substr(0, 25) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
// This is our AJAX - Thank you Wizzy <3
|
||||
$("#form-shorten").submit(function(event){
|
||||
$("#theLoader").fadeIn("fast");
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
|
||||
$("#message").hide().slideDown("fast");
|
||||
$("#theLoader").hide();
|
||||
if($('#danger').length){
|
||||
$('#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,121 +1,121 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | Link Statistics</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Lob.li Link Statistics</h2>
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr class="success">
|
||||
<th></th>
|
||||
<th>LinkID</th>
|
||||
<th>Resolved Link</th>
|
||||
<th>Total Clicks</th>
|
||||
<th>Date Added</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>
|
||||
<div id="theLoader" style="padding-left:10%;">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#statlink').addClass('active');
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$(".res").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 35){
|
||||
$(this).text($(this).text().substr(0, 35) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | Link Statistics</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Lob.li Link Statistics</h2>
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr class="success">
|
||||
<th></th>
|
||||
<th>LinkID</th>
|
||||
<th>Resolved Link</th>
|
||||
<th>Total Clicks</th>
|
||||
<th>Date Added</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>
|
||||
<div id="theLoader" style="padding-left:10%;">
|
||||
<div class="wrap">
|
||||
<div class="loading">
|
||||
<span class="title">loading....</span>
|
||||
<span class="text">Please Wait</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
<tr class="success">
|
||||
<td></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 class="centertab">44444</td>
|
||||
<td>00/00/0000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#statlink').addClass('active');
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$(".res").each(function(i){
|
||||
len=$(this).text().length;
|
||||
if(len > 35){
|
||||
$(this).text($(this).text().substr(0, 35) + '...');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
108
Website/wpi.php
108
Website/wpi.php
@ -1,54 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | WPI</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Lob.li Web Programming Interface</h2>
|
||||
<div class="text-success bg-success alert">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#wpilink').addClass('active');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>lob.li - Objective Links | WPI</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="include/Bootstrap/css/bootstrap.min.css" 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 -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container center-block">
|
||||
|
||||
<?php include('Include/HTML/navbar.htm') ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-6">
|
||||
<h2 class="form-shorten-heading">Lob.li Web Programming Interface</h2>
|
||||
<div class="text-success bg-success alert">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" style="position:absolute;width:100%;bottom:1px;">
|
||||
<div class="container">
|
||||
<p class="text-muted">Copyright © 2014 Unified Programming Solutions - Version: 0.0.1</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<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 -->
|
||||
<script src="include/Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
jQuery(document).ready(function(){
|
||||
$('#wpilink').addClass('active');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user