Files
Testing/wall/index-bak1.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

127 lines
4.1 KiB
PHP

<? require_once('/home/ruidosoweb/public_html/include/Mobile_Detect.php');
include_once($_SERVER["DOCUMENT_ROOT"] . '/include/dbinclude-mysql.php');
function dbconnect2()
{}
$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="Androide";
}
?>
<!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,follow"/>
<title>Ruidoso Web Services</title>
<meta name="description" content="" />
<!--[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='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' />
<!--<![endif]-->
<script src="/js/modernizr.js" id="jsmodernizer"></script>
<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 type="text/javascript">
Modernizr.load([
{
load: ['//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js'
],
complete: function () {
if (!window.jQuery || !window.jQuery.ui) {
if(!window.jQuery){
// Modernizr.load(['/js/jquery.min.js']);
}
if(!window.jQuery.ui)
{
//Modernizr.load(['/js/jquery.min.js']);
}
}
}
},
{
// This will wait for the fallback to load and
// execute if it needs to.
//load: '/js/html5shiv.min.js'
}
]);
</script>
</head>
<body itemscope="itemscope" itemtype="https://schema.org/WebPage">
<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><a href="javascript:donothing();" class="mi-first" style="border:none;">&#9776;</a></li>
<li><a href="javascript:donothing();" class="mi-nth" style="">a</a></li>
<li><a href="javascript:donothing();" class="mi-nth" style="">b</a></li>
<li><a href="javascript:donothing();" class="mi-nth" style="">c</a></li>
</ul>
</nav>
</header>
<main id="content" class="group" role="main">
<div id="content-margin">
<article itemscope="itemscope" itemtype="https://schema.org/CreativeWork">
<h1 style="font-family:'League Gothic'; font-size:1.60em;text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);font-weight:normal;color:#9e8550;line-height:35px;"><img src="/images/sierra-blanca.png" style="float:left;margin-right:5px;" />RUIDOSO WEB SERVICES</h1>
<button id="getp">Get Paragraph Width</button>
<button id="getd">Get Document Width</button>
<button id="getw">Get Window Width</button>
<div>&nbsp;</div>
<p>
Sample paragraph to test width
</p>
<div id="d1">&nbsp;</div>
<script>
function showWidth( ele, w ) {
jQuery( "#d1" ).text( "The width for the " + ele + " is " + w + "px." );
}
jQuery( "#getp" ).click(function() {
showWidth( "paragraph", jQuery( "p" ).width() );
});
jQuery( "#getd" ).click(function() {
showWidth( "document", jQuery( document ).width() );
});
jQuery("#getw").click(function() {
showWidth( "window", jQuery( window ).width() );
});
</script>
</article>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement"></nav>
</footer>
</body>
</html>