<?php
if ( $this->session->userdata('logd_in'))
{
$usertype = $this->session->userdata('ut');
$user_name = $this->session->userdata('urnm');
$screencolour = $this->session->userdata('colour');
echo $screencolour;
}
else
{
log_message('info', 'checking logged_in');
redirect('archeryc/logout');
$this->form_validation->set_message('verifyUser', 'You are not logged in. Please log in to continue');
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>javascript/jquery/jquery-ui.css"/>
<script type="text/javascript" src="<?php echo base_url(); ?>javascript/jquery/external/jquery/jquery.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>javascript/jquery/external/jquery/jquery-1.11.1.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>javascript/jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.js" ></script>
<link rel="stylesheet" href="http://localhost/archery/css/01.css" type="text/css">
<img class = "head_imgsrc" src="http://localhost/archery/bapole.gif" width="190" height="90" />
<section class="headerright" >
Mail Us: <em <a href="mailto:info@bapostalleague.co.uk">info@bapostalleague.co.uk</a></em>
</section>
<!--<script src="funcacts.js" type ="text/javascript">charset="utf-8"></script>-->
<script type ="text/javascript" charset="utf-8">
function checkValid()
{
alert("in check valid");
switch(document.myform.meeting.value)
{
case '1':
break;
case '2':
break;
case '3':
break;
case '4':
break;
case '5':
break;
default:
alert ("The meeting number is incorrect must be from 1 - 5");
document.myform.meeting.focus();
break;
}
}
function myFocus()
{
document.myform.meeting.focus();
}
function addHrefMeeting(theHref)
{
alert("addhrefmeeting");
location=theHref+document.getElementById("meetingField").value;
return false;
}
function backcolor(color)
{
alert("in backcolor");
document.body.style.backgroundColor = color;
var current = document.getElementById("colouradj");
current.value = color;
}
function toggle_pallette()
{
var colors = document.getElementById("colors");
if (colors.style.visibility=== "visible")
{
colors.style.visibilty="hidden";
}
else
{
colors.style.visibilty="visible";
}
}
function initial_colors()
{
document.getElementById('colors').style.visibilty="hidden";
}
function navWrite(var colour)
{
alert("in navwrite");
document.body.style.backgroundColor = colour;
if (document.miniform.ut.value === 'User')
{
alert("in user");
document.getElementById('adm').visibility = 'hidden';
}
else
{
alert("in admin");
document.getElementById('adm').visibility = "visible";
}
}
</script>
<br />
<br />