Jump to content

Help with Obsess Blue


Industrialshadow

Recommended Posts

Hello Friends

I have installed the Obsess Blue Template. Now i beginning the styling to my Airline. Whre can i delete the Both Ticker boxes in the middle of the Content? I dont need this in my Va.

Many thanks for tips or codes

Here is my actually layout.tpl attached

<?php

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page_title; ?></title>
<meta http-equiv="content-type" content="text/html; charset=ISO 8859-15"/>    
   <link href="<?php echo SITE_URL?>/lib/skins/ObsessBlue/StyleSheet.css" rel="stylesheet" type="text/css" />
<?php 
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead; 
?>
<?php /*Any custom Javascript should be placed below this line, after the above call */ ?>
</head>
<body>
<?php
/* This should be the first thing you place after a <body> tag
This is also required by phpVMS */
echo $page_htmlreq;
?>
   <div class="size">
       <div class="header">
           <div class="header01">
               <div class="logo">
                   <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_15.jpg" alt="" />
               </div>
               <div class="hright">
                   <div class="hr01">
                       <div class="hr0101">
                           <a href="<?php echo SITE_URL?>/index.php/Exams">ExamCenter</a></div>
                       <div class="hr0102">
                           <a href="<?php echo url('/schedules/view');?>">Schedules</a></div>
                       <div class="hr0102">
                           <a href="<?php echo url('/Forum'); ?>">Forum</a></div>
                       <div class="hr0102">
                           <a href="<?php echo SITE_URL?>/index.php/contact">Contact Us</a></div>
                   </div>
                   <div class="hr02">
                      <?php 
	/* 
	Quick example of how to see if they're logged in or not

	Only show this login form if they're logged in */
	if(Auth::LoggedIn() == false)
	{ ?>

		<form name="loginform" action="<?php echo url('/login'); ?>" method="post">
			Pilot id or Email<br />
			<input type="text" name="email" value="" onClick="this.value='TVA'" />
			<input type="password" name="password" value="" />
			<input type="hidden" name="remember" value="on" />
			<input type="hidden" name="redir" value="index.php/profile" />
			<input type="hidden" name="action" value="login" />
			<input type="submit" name="submit" value="Log In" />
		</form>

	<?php
	}	
	/* End the Auth::LoggedIn() if */
	else /* else - they're logged in, so show some info about the pilot, and a few links */
	{

		/* Auth::$userinfo has the information about the user currently logged in */

		/* We will use this, this gets their full pilot id, formatted properly */
		$pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
	?>
			<h3>Welcome Back <?php echo Auth::$userinfo->firstname;?> </h3>
	<?php
	} /* End the else */
	?>
                   </div>
               </div>
           </div>
           <div class="mnav">
               <img class="mnimgl" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_37.jpg" alt="" />
               <img class="mnimgr" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_50.jpg" alt="" />
               <div class="mnm">
                   <ul>
                       <li><?php
			Template::Show('core_navigation.tpl');
		?></li>
                   </ul>
               </div>
           </div>
       </div>
       <div class="content">
           <div class="cmainimg">
               <img alt="" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_73.jpg" />
           </div>
           <div class="mcontent">
               <div class="mcleft">
                   <div class="mcbox01">
                       <div class="mc01t">
                         MAIN MENU
                       </div>
                       <div class="mc01c">
                           <ul>
                               <li><?php
			Template::Show('core_navigation.tpl');
		?></li>
                           </ul>
                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
                   <div class="mcbox01">
                       <div class="mc01t2">
                           New Pilots
                       </div>
                       <div class="mc01cc">
                           <ul>
                               <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>
                           </ul>
                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
		<div class="mcbox01">
                       <div class="mc01t2">
                           Latest News
                       </div>
                       <div class="mc01cc">
                           <ul>
                               <?php PopUpNews::PopUpNewsList(5); ?>
                           </ul>
                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
                   <div class="mcbox01">
                       <div class="mc01t2">
                           Latest Flights
                       </div>
                       <div class="mc01cc">
                           <ul>
                               <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?>
                           </ul>
                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
				<div class="mcbox01">
                       <div class="mc01t2">
                           VA Stats
                       </div>
                       <div class="mc01cc">
                           <ul>
						<br />

<strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br />

<strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br />

<strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br />

<strong>Total Cargoschedules: </strong><?php echo StatsData::totalschedules(); ?><br />

<strong>Total Aircraft In Fleet: </strong><?php echo StatsData::TotalAircraftInFleet(); ?><br />

<strong>Total Fuel Burned: </strong><?php echo StatsData::TotalFuelBurned(); ?><br />

<strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br />

<strong>Cargo Carried: </strong><?php echo StatsData::TotalCargoCarried(); ?><br />



<?php
$usersonline = StatsData::UsersOnline();
$guestsonline = StatsData::GuestsOnline();

?>
<h4>Pilots Online</h4>
<?php


      foreach($usersonline as $pilot)	

{

	echo "<p>";
	echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';
	echo "{$pilot->firstname} {$pilot->lastname}<br />"; 
	echo "</p>";

}


?>
<h4>Guests Online</h4>
<p class="txt-red10">Currently
<?php echo count($guestsonline);?>
guest(s) visiting.
</p>
                           </ul>

                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
                   <div class="mcbox01">
                       <div class="mc01t2">
                           LINKS
                       </div>
                       <div class="mc01cc">
                           <ul>
                               <li><a href="http://www.ivao.de">IVAO</a></li>
                               <li><a href="http://www.vatsim.net">Vatsim</a></li>
                               <li><a href="http://www.silent-front.de/">Silent Front</a></li>
                               <li><a href="http://www.navigraph.com">Navigraph</a></li>
			<p></p>
			<align="center"><img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/FSPax.png" alt="" />
			<p></p>
			<align="center"><img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/VAcentral.png" alt="" />
                           </ul>
                       </div>
                       <div class="mc01b">
                           <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" />
                       </div>
                   </div>
               </div>
               <div class="mcright">
                   <div class="mc01">
                       <div class="mc0101" style="left: 0px; top: 0px">
                           <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_150.jpg" alt="" />
                           <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_153.jpg" alt="" />
                           <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_202.jpg" alt="" />
                           <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_205.jpg" alt="" />
                           <div class="mcr">
                               <div class="mcr01">
                                   Board informations
                               </div>
                               <div class="mcr02">
                                   <script type="text/javascript">

// Highlighter Scroller II script- By JavaScript Kit (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit http://www.javascriptkit.com/
// This notice must stay intact

//CONFIGURE MESSAGES AND VARIABLES
var tickercontents=new Array()
tickercontents[0]='New Design'
tickercontents[1]='Realistic Aircraftdata'
tickercontents[2]='Pilot Payment System'
tickercontents[3]='and many more in our Community'

var tickerwidth="300px"
var tickerheight="25px"
var fontcss="font: bold 10px Verdana; color:black"
var tickdelay=4000 //delay btw messages
var highlightspeed=2 //2 pixels at a time.
var highlightcolor="white"
var backdroptextcolor="#E1E1E1"

////Do not edit pass this line////////////////

document.write('<style>#highlighterbg a{color:'+backdroptextcolor+'}</style>')
document.write('<div style="position:relative;left:0px;top:0px; width:'+tickerwidth+'; height:'+tickerheight+';'+fontcss+'">')
document.write('<span id="highlighterbg" style="position:absolute;left:0;top:0;color:'+backdroptextcolor+'; width:'+tickerwidth+'; height:'+tickerheight+';padding: 4px"></span><span id="highlighter" style="position:absolute;left:0;top:0;clip:rect(auto auto auto 0px); background-color:'+highlightcolor+'; width:'+tickerwidth+';height:'+tickerheight+';padding: 4px"></span>')
document.write('</div>')

var currentmessage=0
var clipbottom=1

function changetickercontent(){
msgheight=clipbottom=crosstick.offsetHeight
crosstick.style.clip="rect("+msgheight+"px auto auto 0px)"
crosstickbg.innerHTML=tickercontents[currentmessage]
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}

function highlightmsg(){
//var msgheight=crosstick.offsetHeight
if (clipbottom>0){
clipbottom-=highlightspeed
crosstick.style.clip="rect("+clipbottom+"px auto auto 0px)"
beginclip=setTimeout("highlightmsg()",20)
}
else{
clipbottom=msgheight
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
}

function start_ticking(){
crosstickbg=document.getElementById? document.getElementById("highlighterbg") : document.all.highlighterbg
crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+'px'
else
setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake
changetickercontent()
}

if (document.all || document.getElementById)
window.onload=start_ticking

</script>
                               </div>
                           </div>
                       </div>
                       <div class="mc0102">
                           <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_155.jpg" alt="" />
                           <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_157.jpg" alt="" />
                           <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_207.jpg" alt="" />
                           <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_209.jpg" alt="" />
                           <div class="mcl">
                               <div class="mcl01">
                                   SF Logisitk
                               </div>
                               <div class="mcl02">
                                   Under Construction
                               </div>
                           </div>
                       </div>
                   </div>
                   <div class="mc02">

                       <div class="mc0202" style="width: 18px; height: 15px">
                            
                       </div>
                       <div class="mc0203">
                           <div class="mc020301">
                               <?php
/*	This will insert all of the "meat" of the page in there - the template
	which is generated, depending on which page you're on. To change these
	templates, check out the docs on the site. They're under the /core/templates
	folder, and to change them, copy them into the folder of your skin (the
	folder this file is in right now.
 */

echo $page_content;

?></div>
						<div class="mc020302">
							</div>

                   </div>
               </div>
           </div>
       </div>
       <div class="footer">
	<img class="mnimgl" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_275.jpg" alt="" />
           	<img class="mnimgr" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_291.jpg" alt="" />
	<font color="#ffffff">Copyright 2011 SF Logistik |
       	<!-- By using this template you agree not to remove or edit the copyright & author links below -->
		<a style="color: #ffffff" href="http://www.phpvms.net/" target="_blank">CMS </a> by
		<a style="color: #ffffff" href="http://www.phpvms.net/" target="_blank">PHPVMS</a></font>

</div>
</body>
</html>

Link to comment
Share on other sites

delete all of this...

 <div class="mc01">
                       <div class="mc0101" style="left: 0px; top: 0px">
                           <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_150.jpg" alt="" />
                           <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_153.jpg" alt="" />
                           <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_202.jpg" alt="" />
                           <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_205.jpg" alt="" />
                           <div class="mcr">
                               <div class="mcr01">
                                   Board informations
                               </div>
                               <div class="mcr02">
                                   <script type="text/javascript">

// Highlighter Scroller II script- By JavaScript Kit (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit http://www.javascriptkit.com/
// This notice must stay intact

//CONFIGURE MESSAGES AND VARIABLES
var tickercontents=new Array()
tickercontents[0]='New Design'
tickercontents[1]='Realistic Aircraftdata'
tickercontents[2]='Pilot Payment System'
tickercontents[3]='and many more in our Community'

var tickerwidth="300px"
var tickerheight="25px"
var fontcss="font: bold 10px Verdana; color:black"
var tickdelay=4000 //delay btw messages
var highlightspeed=2 //2 pixels at a time.
var highlightcolor="white"
var backdroptextcolor="#E1E1E1"

////Do not edit pass this line////////////////

document.write('<style>#highlighterbg a{color:'+backdroptextcolor+'}</style>')
document.write('<div style="position:relative;left:0px;top:0px; width:'+tickerwidth+'; height:'+tickerheight+';'+fontcss+'">')
document.write('<span id="highlighterbg" style="position:absolute;left:0;top:0;color:'+backdroptextcolor+'; width:'+tickerwidth+'; height:'+tickerheight+';padding: 4px"></span><span id="highlighter" style="position:absolute;left:0;top:0;clip:rect(auto auto auto 0px); background-color:'+highlightcolor+'; width:'+tickerwidth+';height:'+tickerheight+';padding: 4px"></span>')
document.write('</div>')

var currentmessage=0
var clipbottom=1

function changetickercontent(){
msgheight=clipbottom=crosstick.offsetHeight
crosstick.style.clip="rect("+msgheight+"px auto auto 0px)"
crosstickbg.innerHTML=tickercontents[currentmessage]
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}

function highlightmsg(){
//var msgheight=crosstick.offsetHeight
if (clipbottom>0){
clipbottom-=highlightspeed
crosstick.style.clip="rect("+clipbottom+"px auto auto 0px)"
beginclip=setTimeout("highlightmsg()",20)
}
else{
clipbottom=msgheight
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
}

function start_ticking(){
crosstickbg=document.getElementById? document.getElementById("highlighterbg") : document.all.highlighterbg
crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+'px'
else
setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake
changetickercontent()
}

if (document.all || document.getElementById)
window.onload=start_ticking

</script>
                               </div>
                           </div>
                       </div>
                       <div class="mc0102">
                           <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_155.jpg" alt="" />
                           <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_157.jpg" alt="" />
                           <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_207.jpg" alt="" />
                           <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_209.jpg" alt="" />
                           <div class="mcl">
                               <div class="mcl01">
                                   SF Logisitk
                               </div>
                               <div class="mcl02">
                                   Under Construction
                               </div>
                           </div>
                       </div>
                   </div>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...