Files
Testing/wall/index_bak.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

400 lines
16 KiB
PHP

<? require_once('/home/b8world/public_html/wall/include/Mobile_Detect.php');
require_once('/home/b8world/public_html/wall/include/base.php');
$detect = new Mobile_Detect;
$devicetype="";
$ostype="";
if ( $detect->isMobile() ) {
//echo "mobile";
$devicetype="mobile";
}
// Any tablet device.
if( $detect->isTablet() ){
//echo "tablet";
$devicetype="tablet";
}
// Exclude tablets.
if( $detect->isMobile() && !$detect->isTablet() ){
}
// Check for a specific platform with the help of the magic methods:
if( $detect->isiOS() ){
$ostype="IOS";
}
if( $detect->isAndroidOS() ){
$ostype="Android";
}
?>
<!doctype html>
<html lang="en-US" prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="robots" content="noindex,nofollow,noarchive.noimageindex,nomediaindex"/>
<title></title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="">
<meta name="description" content="" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Wall" />
<meta property="og:url" content="" />
<meta property="og:site_name" content="" />
<meta property="og:description" content="" />
<!--
<meta property="og:image" content="http://www.thebatorblog.com/wp-content/uploads/2015/03/bw-fp-center.gif" />
<meta property="og:image" content="http://www.thebatorblog.com/wp-content/uploads/2015/03/tbs-fp-br.gif" />
//-->
<meta name="twitter:card" content=""/>
<meta name="twitter:title" content=""/>
<meta name="twitter:site" content=""/>
<meta name="twitter:domain" content=""/>
<!--
<meta name="twitter:image:src" content="/wp-content/uploads/2015/03/bw-fp-center.gif"/>
<meta name="twitter:creator" content="@ruidosoweb"/>
//-->
<!--[if lte IE 6]>
<link rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.1.css" media="screen, projection">
<![endif]-->
<!--[if ! lte IE 6]><!-->
<link rel="apple-touch-icon" href="/apple-touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="76x76" href="/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="120x120" href="/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="152x152" href="/touch-icon-ipad-retina.png">
<link rel='stylesheet' id='myers-reset' href='/css/reset.css?ver=2.0' type='text/css' media='all' />
<link rel='stylesheet' id='base-css' href='/css/base.css?ver=2.0' type='text/css' media='all' />
<link rel="stylesheet" type="text/css" src="/css/retina.css" media="only screen and (-webkit-min-device-pixel-ratio:2)" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!--<![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="/js/modernizr.js" id="jsmodernizer"></script>
<script src="/js/base.js" id="basejs"></script>
<script type="text/javascript">
//using modernizer to load jquery delays its availability until page load completes
function show_map(position) {
var latitude = position.coords.latitude;
var longitude = position.coords.longitude;
// let's show a map or do something interesting!
}
function get_location() {
if (Modernizr.geolocation) {
navigator.geolocation.getCurrentPosition(show_map);
} else {
// no native support; maybe try a fallback?
}
}
get_location();
</script>
<style>
.fileinput-button {
position: relative;
overflow: hidden;
}
.fileinput-button input {
position: absolute;
top: 0;
right: 0;
margin: 0;
opacity: 0;
-ms-filter: 'alpha(opacity=0)';
font-size: 200px;
direction: ltr;
cursor: pointer;
}
/* Fixes for IE < 8 */
@media screen\9 {
.fileinput-button input {
filter: alpha(opacity=0);
font-size: 100%;
height: 100%;
}
}
</style>
</head>
<body itemscope="itemscope" itemtype="https://schema.org/WebPage">
<script>
function xyx(){
//$('#i2').css('display','none');
$( "#i2" ).fadeOut( "slow", function() {
$( "#i1" ).fadeIn( "slow" );
});
// $('#i1').css('display','block');
}
$(document).ready(function() {
$.post("https://api.xirsys.com/getIceServers", {
ident: "poremba",
secret: "b579f669-2f3a-4423-b63a-d7d6bd94d97b",
domain: "b8world.com",
application: "default",
room: "default",
secure: 1
},
function(data, status) {
// alert("Data: " + data + "nnStatus: " + status);
console.log("Data: " + data + "nnStatus: " + status);
});
});
</script>
<header role="banner" id="top-of-page">
<nav id="main-nav" class="main_menu" data-selectname="Select a page" role="navigation" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement">
<ul id="login-menu">
<li style=""><a href="javascript:void(null);" class="mi-first" style="border:none;">&#9776;</a></li>
<li><a href="javascript:void(null);" class="mi-nth" style=""><i class="fa fa-home"></i></a></li>
<li><a href="javascript:void(null);" class="mi-nth" style=""><i class="fa fa-facebook"></i></a></li>
<li><a href="javascript:void(null);" class="mi-nth" style=""><i class="fa fa-twitter"></i></a></li>
<li><a href="javascript:void(null);" class="mi-nth" style=""><i class="fa fa-google-plus"></i></a></li>
<li><a href="javascript:xyx();" class="mi-nth" style=""><i class="fa fa-linkedin"></i></a></li>
<li><a href="javascript:loadsection('/include/wall/dashboard.php','s2','/include/wall/css/wall.css')" class="mi-nth" style=""><i class="fa fa-share-alt"></i></a></li>
<li><a href="javascript:loadsection('/include/ads/dashboard.php','s1','/include/ads/css/ads.css')" class="mi-nth">
<i class="fa fa-user-plus"></i></a>
</li>
<li><a href="javascript:void(null);" class="mi-nth" style=""><i class="fa fa-search"></i></a>
<div class="avia-search-tooltip avia-tt" style="top: 116px; left: 160px; display: block; opacity: 1;position: absolute;
z-index: 9999999;
padding: 0;
width: 300px;
top: 105% !important;
margin-left: 10px;
border-radius: 2px;
box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.2);
border-width: 1px;
border-style: solid;"><div class="inner_tooltip"><form action="http://www.thebatorblog.com/" id="searchform" method="get" class="">
<div>
<input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello">
<input type="text" id="s" name="s" value="james" placeholder="Search">
</div>
</form></div><span class="avia-arrow-wrap"><span class="avia-arrow"></span></span></div>
</li>
</ul>
</nav>
</header>
<main id="content" class="group" role="main">
<div id="slider" style="margin-top:100px;">
<ul style="width;100%;">
<li id="i1" style="display:none;"><img src="/images/slider/banner-520x75.gif" width="520" height="75" alt="Slider Screen" /></li>
<li id="i2"><img src="/images/slider/ctp-banner-520x75.jpg" width="520" height="75" alt="Caption This Pic" /></li>
<li>image 3</li>
<li>image 4</li>
<li>image 5</li>
</ul>
</div>
<div id="content-margin">
<article itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
<h1 style="font-family:'Georgia'; font-size:1.70em;text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);letter-spacing:.01em; font-weight:normal;color:#9e8550;line-height:35px;margin-top:7px;" class="clearfix"><span style="background-color:rgba(0,0,0,1.0);display:inline-block;padding:2px 10px 2px 10px;border-radius:32px 0% 0% 33px;"><!--<img src="/images/sierra-blanca.png" style="float:left;margin-right:5px;" width="33" height="35" alt="Sierra Blanca" />//-->Flex 3 Columns</span></h1>
<div contenteditable="false" class="a3col">
<div class="a1row3col">
<p style="padding:20px;"> <span class="btn btn-success fileinput-button">
<i class="glyphicon glyphicon-plus"></i>
<span>Add files...</span>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload" type="file" name="files[]" multiple>
</span>
<br>
<br>
<!-- The global progress bar -->
<div id="progress" class="progress">
<div class="progress-bar progress-bar-success"></div>
</div>
<!-- The container for the uploaded files -->
<div id="files" class="files"></div></p>
</div>
<div class="a1row3col">
<p style="padding:20px;">You made me confess the fears that I have. But I will tell you also what I do not fear. I do not fear to be alone or to be spurned for another or to leave whatever I have to leave. And I am not afraid to make a m0istake, even a great mistake, a lifelong mistake, and perhaps as long as eternity too.</p>
</div>
<div class="a1row3col">
<p style="padding:20px;">You made me confess the fears that I have. But I will tell you also what I do not fear. I do not fear to be alone or to be spurned for another or to leave whatever I have to leave. And I am not afraid to make a mistake, even a great mistake, a lifelong mistake, and perhaps as long as eternity too.</p>
</div>
</div>
<script type="text/javascript">
//width and height properties
//we will want to use ajax to set session variables
var docwidth=jQuery( document ).width();
var winwidth=jQuery( window ).width();
var docheight=jQuery( document ).height();
var winheight=jQuery( window ).height();
var menuheight=$('#top-of-page').height();
if(docwidth > 475){ jQuery( ".mi-nth" ).addClass( "mi-display" );}
jQuery( window ).resize(function() {
docwidth=jQuery( document ).width();
winwidth=jQuery( window ).width();
docheight=jQuery( document ).height();
winheight=jQuery( window ).height();
menuheight=$('#top-of-page').height();
var addclassdisplay=0;
if(jQuery( window ).width() < 475 ){jQuery( ".mi-nth" ).removeClass( "mi-display" );}
else{jQuery( ".mi-nth" ).addClass( "mi-display" );}
});
</script>
</article>
<aside>
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/vendor/jquery.ui.widget.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload.js"></script>
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-validate.js"></script>
<script>
$(function () {
// Change this to the location of your server-side upload handler:
var url = '/include/wall/jQuery-File-Upload-9.9.3/server/php/index.php';
uploadButton = $('<button/>')
.addClass('btn btn-primary')
.prop('disabled', true)
.text('Processing...')
.on('click', function () {
var $this = $(this),
data = $this.data();
$this
.off('click')
.text('Abort')
.on('click', function () {
$this.remove();
data.abort();
});
data.submit().always(function () {
$this.remove();
});
});
$('#fileupload').fileupload({
url: url,
dataType: 'json',
autoUpload: false,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
maxFileSize: 5000000, // 5 MB
// Enable image resizing, except for Android and Opera,
// which actually support image resizing, but fail to
// send Blob objects via XHR requests:
disableImageResize: /Android(?!.*Chrome)|Opera/
.test(window.navigator.userAgent),
previewMaxWidth: 100,
previewMaxHeight: 100,
previewCrop: true
}).on('fileuploadadd', function (e, data) {
data.context = $('<div/>').appendTo('#files');
$.each(data.files, function (index, file) {
var node = $('<p/>')
.append($('<span/>').text(file.name));
if (!index) {
node
.append('<br>')
.append(uploadButton.clone(true).data(data));
}
node.appendTo(data.context);
});
}).on('fileuploadprocessalways', function (e, data) {
var index = data.index,
file = data.files[index],
node = $(data.context.children()[index]);
if (file.preview) {
node
.prepend('<br>')
.prepend(file.preview);
}
if (file.error) {
node
.append('<br>')
.append($('<span class="text-danger"/>').text(file.error));
}
if (index + 1 === data.files.length) {
data.context.find('button')
.text('Upload')
.prop('disabled', !!data.files.error);
}
}).on('fileuploadprogressall', function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
$('#progress .progress-bar').css(
'width',
progress + '%'
);
}).on('fileuploaddone', function (e, data) {
$.each(data.result.files, function (index, file) {
if (file.url) {
var link = $('<a>')
.attr('target', '_blank')
.prop('href', file.url);
$(data.context.children()[index])
.wrap(link);
} else if (file.error) {
var error = $('<span class="text-danger"/>').text(file.error);
$(data.context.children()[index])
.append('<br>')
.append(error);
}
});
}).on('fileuploadfail', function (e, data) {
$.each(data.files, function (index) {
var error = $('<span class="text-danger"/>').text('File upload failed.');
$(data.context.children()[index])
.append('<br>')
.append(error);
});
}).prop('disabled', !$.support.fileInput)
.parent().addClass($.support.fileInput ? undefined : 'disabled');
});
</script>
</aside>
</div>
</main>
<section id="s1" class="fscreen" style="position:absolute;top:0px;left:0px;width:100%;height:100%;background:#f2eadd;display:none;">
<div id="s1d" class="fscont" style="width:100%;">
</div>
</section>
<section id="s2" class="fscreen" style="position:absolute;top:0px;left:0px;width:100%;height:100%;background:#660000;display:none;z-index:4;">
<div id="s2d" class="fscont" style="width:100%;">
</div>
</section>
<section id="s3" class="fscreen"><div id="s3d" class="fscont"></div></section>
<section id="s4" class="fscreen"><div id="s4d" class="fscont"></div></section>
<footer role="contentinfo">
<nav role="navigation" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement"></nav>
</footer>
</body>
</html>