
Tato123
-
Posts
150 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Tato123
-
-
Hi guys!
To add a category in mysql i added this to admin form (events_new_form.tpl)
<input type="text" name="category" <?php if(isset($event)) {echo 'value="'.$event['category'].'"';} ?>
the problem is when i submit a new event, the category dosent appear in my database.
What is wrong?
Reggards...
After:
<tr>
<td>Slot Interval (1 minute min)</td>
<td><input type="text" name="interval"
<?php
if(isset($event))
{echo 'value="'.$event['interval'].'"';}
else
{echo 'value="1"';}
?>
></td>
</tr>
i insert this:
<tr>
<td>Category of Event?</td>
<td>
<select name="category">
<option value="Tour">Tour</option>
<option value="Charter">Charter</option>
<option value="Fly-In">Fly-In</option>
<option value="Airline">Airline</option>
<option value="Ivao Tour">Ivao Tour</option>
<option value="Neuroflight">Neuroflight</option>
<option value="Business">Business</option>
<option value="F.E.F">F.E.F</option>
<option value="Eli">Eli</option>
</select>
</td>
</tr>
Remember:
the "category" table in your Dbase must be Varchar
Regards
-
i try
$allhubs = OperationsData::GetAllHubs();
if(!$allhubs) $allhubs = array();
foreach($allhubs as $hub)
{
$this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
$this->set('title', $hub->name);
$this->set('icao', $hub->icao);
$this->set('allawards', AwardsData::GetPilotAwards(Auth::$userinfo->pilotid));
$this->set('allpilots', PilotData::findPilots(array('p.hub'=>$hub->icao)));
$this->set('userinfo', Auth::$userinfo);
$this->render('pilots_list.tpl');
}
$nohub = PilotData::findPilots(array('p.hub'=>''));
if(!$nohub)
{
return;
}
$this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
$this->set('allawards', AwardsData::GetPilotAwards(Auth::$userinfo->pilotid));
$this->set('userinfo', Auth::$userinfo);
$this->set('title', 'No Hub');
$this->set('icao', '');
$this->set('allpilots', $nohub);
$this->render('pilots_list.tpl');
}
public function reports($pilotid='')
{
if($pilotid == '')
{
$this->set('message', 'No pilot specified!');
$this->render('core_error.tpl');
return;
}
$this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
$this->set('userinfo', Auth::$userinfo);
$this->set('allawards', AwardsData::GetPilotAwards(Auth::$userinfo->pilotid));
$this->set('pireps', PIREPData::GetAllReportsForPilot($pilotid));
$this->render('pireps_viewall.tpl');
Now i show the pilot award but for all pilot is the same. I show only my award because i'm logged.
If i enter without pilot i show for all pilot the pilot award logged in the site
Please help me
-
Hello, but if i wont to see the award in pilot list?
-
Hello guys,
I would like to display the award in my pilot list.
I added this code
<?php
if(!$allawards)
{
echo '<center><img src="http://www.voegolv.n...g_recusado.png" border="0" /><br><font face="Trebuchet MS" size="2">Pilota non iscritto al roster online.</font></center>';
}
else
{
/* To show the image:
<img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" />
*/
?>
<?php foreach($allawards as $award){ ?>
<img src="<?php echo $award->image?>" alt="<?php echo $award->name ?> - <?php echo $award->descrip?>" />
<?php } ?>
<?php
}
?>
and in the pilot.php:
public function index()
{
// Get all of our hubs, and list pilots by hub
$allhubs = OperationsData::GetAllHubs();
if(!$allhubs) $allhubs = array();
foreach($allhubs as $hub)
{
$this->set('title', $hub->name);
$this->set('icao', $hub->icao);
$this->set('allawards', AwardsData::GetPilotAwards($userinfo->pilotid));
$this->set('allpilots', PilotData::findPilots(array('p.hub'=>$hub->icao)));
$this->set('allawards', AwardsData::GetPilotAwards($userinfo->pilotid));
$this->render('pilots_list.tpl');
}
$nohub = PilotData::findPilots(array('p.hub'=>''));
if(!$nohub)
{
return;
}
$this->set('allawards', AwardsData::GetPilotAwards($userinfo->pilotid));
$this->set('title', 'No Hub');
$this->set('icao', '');
$this->set('allpilots', $nohub);
$this->render('pilots_list.tpl');
}
I don't show any award.
Anyone can help me?
Thanks
-
Hello to all,
I would like to ask you for help to structure a system of independent ranks.
Let me explain what I want to create.
My virtual company uses a rank refers to kacars but I would also rank reported at an online fly on VATSIM and IVAO.
I have created in the data base "pilots" a field called online hours.
I wish I had the opportunity, when manually increment this field, it is assigned a rank or award.
I tried to duplicate the pilot current rank, but I still see only the rank of totalhours.
when I delete the cache of my site from administration panel, I see the new rank, but I no longer see the original.
I could also solve going to give an award that increases onlinehours referring to, but I do not know how to do.
Does anyone know how to help me?
Thank you in advance
-
Thanks Sir, i solved
-
hello guys
I tried to run the scrip on my site but nothing.
Someone can help me?
i copy the file
jquery.js
jquery.dataTables.js
jquery.dataTables.min.js
in lib/js/
i copy the image in:
in lib/images
This is my core_htmlhead.tpl
?>
<script type="text/javascript">
var baseurl = "<?php echo SITE_URL;?>";
var geourl = "<?php echo GEONAME_URL; ?>";
</script>
<link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" />
<script type="text/javascript" src="http://ajax.googleap...n.js"></script>
<script type="text/javascript" src="http://ajax.googleap...n.js"></script>
<script type="text/javascript" src="http://maps.google.c...true"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery_dataTables.js');?>"></script>
<?php
echo $MODULE_HEAD_INC;
This is my schedule_result.tpl
<script type="text/javascript">
$(document).ready(function() {
$('#tabledlist').dataTable( {
"sPaginationType": "full_numbers"
} );
} );
</script>
<table id="tabledlist" class="display"">
<thead>
<tr>
<th>Flight Info</th>
<th>Info</th>
</tr>
</thead>
<tbody>
<?php
if(!$allroutes)
{
echo '<p align="center">No routes have been found!</p>';
return;
}
?>
<tbody>
<?php
foreach($allroutes as $route)
{
/* Uncomment this code if you want only schedules which are from the last PIREP that
pilot filed */
/*if(Auth::LoggedIn())
{
$search = array(
'p.pilotid' => Auth::$userinfo->pilotid,
'p.accepted' => PIREP_ACCEPTED
);
$reports = PIREPData::findPIREPS($search, 1); // return only one
if(is_object($reports))
{
# IF the arrival airport doesn't match the departure airport
if($reports->arricao != $route->depicao)
{
continue;
}
}
}*/
/*
Skip over a route if it's not for this day of week
Left this here, so it can be omitted if your VA
doesn't use this.
Comment out these two lines if you don't want to.
*/
/* Check if a 7 is being used for Sunday, since PHP
thinks 0 is Sunday */
$route->daysofweek = str_replace('7', '0', $route->daysofweek);
if(strpos($route->daysofweek, date('w')) === false)
continue;
/* END DAY OF WEEK CHECK */
/*
This will skip over a schedule if it's been bid on
This only runs if the below setting is enabled
If you don't want it to skip, then comment out
this code below by adding // in front of each
line until the END DISABLE SCHEDULE comment below
If you do that, and want to show some text when
it's been bid on, see the comment below
*/
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
{
continue;
}
/* END DISABLE SCHEDULE ON BID */
/* Skip any schedules which have aircraft that the pilot
is not rated to fly (according to RANK), only skip them if
they are logged in. */
if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
{
/* This means the aircraft rank level is higher than
what the pilot's ranklevel, so just do "continue"
and move onto the next route in the list
*/
if($route->aircraftlevel > Auth::$userinfo->ranklevel)
{
continue;
}
}
/* THIS BEGINS ONE TABLE ROW */
?>
<tr>
<td><a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo '('.$route->depicao.' - '.$route->arricao.')'?><?php echo $route->code . $route->flightnum?></a></td>
<td nowrap> </td>
</tr>
<tr>
<td><strong>Departure: </strong><?php echo $route->deptime;?> <strong>Arrival: </strong><?php echo $route->arrtime;?></td>
<td nowrap><a href="<?php echo url('/schedules/details/'.$route->id);?>">View Details</a></td>
</tr>
<tr>
<td><strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?></td>
<td nowrap><a href="<?php echo url('/schedules/brief/'.$route->id);?>">Pilot Brief</a></td>
</tr>
<tr>
<td><strong>Days Flown: </strong><?php echo Util::GetDaysCompact($route->daysofweek); ?></td>
<td nowrap><?php
# Don't allow overlapping bids and a bid exists
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
{
?>
<a id="<?php echo $route->id; ?>" class="addbid"
href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a>
<?php
}
else
{
if(Auth::LoggedIn())
{
?>
<a id="<?php echo $route->id; ?>" class="addbid"
href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
<?php
}
}
?></td>
</tr>
<tr>
<td><br />
<?php echo ($route->route=='') ? '' : '<strong>Route: </strong>'.$route->route.'<br />' ?>
<?php echo ($route->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($route->notes).'<br />' ?>
<?php
# Note: this will only show if the above code to
# skip the schedule is commented out
if($route->bidid != 0)
{
echo 'This route has been bid on';
}
?>
</td>
<td nowrap><br />
<br /></td>
</tr>
<?php
/* END OF ONE TABLE ROW */
}
?>
</tbody>
</table>
<hr>
-
You must before create a table in your dbase event named 'category'
You mustadd in the the file:
\core\common\EventsData.class.php
with
public function get_flyin_events()
{
$query = "SELECT * FROM ".TABLE_PREFIX."events
WHERE category = 'Fly-In'
AND date >= NOW()
ORDER BY date ASC";
return DB::get_results($query);
}
where Fly-In is the name of category
You must add in the file:
\core\modules\Events\Events.php
public function get_event_flyin()
{
$id= DB::escape ($_GET[id]);
$this->set('events', EventsData::get_flyin_events());
$this->set('history', EventsData::get_flyin_past_events());
$this->show('events/events_cat.tpl');
}
where get_flyin_events is the name of class definited before in EventsData.class.php
now you must modify a the template file in \core\templates\events\events_cat.tpl
in
?>
<h3><?php echo SITE_NAME; ?> Upcoming Events - Fly - In</h3>
<?php
if(!$events)
{
echo 'No Upcoming Events';
}
else
{
?>
<center>
<table border="1px" width="80%">
<tr>
<td width="10%"><b>Date:</b></td>
<td width="48%"><b>Event:</b></td>
<td width="17%"><b>Category:</b></td>
<td width="25%"><b>Details/Signups</b></td>
</tr>
<?php
foreach($events as $event)
{
if($event->active == '2')
{
continue;
}
echo '<tr><td>'.date('n/j/Y', strtotime($event->date)).'</td>';
echo '<td>'.$event->title.'</td>';
echo '<td>'.$event->category.'</td>';
echo '<td><a href="'.SITE_URL.'/index.php/events/get_event?id='.$event->id.'">Details/Signups</a></td></tr>';
}
?>
</table>
</center>
<?php
}
?>
<h3><?php echo SITE_NAME; ?> Past Events</h3>
<?php
if(!$history)
{
echo 'No Past Events';
}
else
{
?>
<center>
<table border="1px" width="80%">
<tr>
<td width="25%"><b>Date:</b></td>
<td width="60%"><b>Event:</b></td>
<td><b>Details</b></td>
</tr>
<?php
foreach($history as $event)
{
echo '<tr><td>'.date('n/j/Y', strtotime($event->date)).'</td>';
echo '<td>'.$event->title.'</td>';
echo '<td><a href="'.SITE_URL.'/index.php/events/get_past_event?id='.$event->id.'">Details</a></td></tr>';
}
?>
</table>
</center>
<?php
}
?>
<hr />
<a href="<?php echo url('/events/get_rankings'); ?>">Show Pilot Rankings For Events</a>
Regards
-
Hi Parkho, i try to install your fantastic addon, but when i calculate the fuel, i see this error: Estimated enroute time:
Fatal error: Call to undefined method Util::FormatDuration() in /web/htdocs/www.virtualiroma.it/home/newvar/core/templates/result.tpl on line 224/www.virtualiroma.it/home/newvar/core/templates/result.tplon line 224
-
Hi, i need your help for a question.
I need report in my website only one category of staff.
For example, i need to sort my category instructor in a page.
How i do to crate this query?
-
wow good job
-
-
Hi Guys,
i need your help.
I have create in event DB the table category
I need in a template show the event with the category = for example 'Tour'.
I modify the EventsData.class.php and i have insert this:
public function get_category_events($category)
{
$query = "SELECT * FROM ".TABLE_PREFIX."events
WHERE category ='$Tour'
ORDER BY date DESC";
return DB::get_results($query);
}
also i modify the module /events.php in:
public function get_event_category()
{
$id= DB::escape($_GET[id]);
$this->set('event', EventsData::get_category_events($id));
$this->set('signups', EventsData::get_signups($id));
$this->show('events/events_tour.tpl');
and i create the TPL events_tour.tpl whit this code:
?>
<h3><?php echo SITE_NAME; ?> Upcoming Events Tour</h3>
<?php
if(!$events)
{
echo 'No Upcoming Events';
}
else
{
?>
<center>
<table border="1px" width="80%">
<tr>
<td width="10%"><b>Date:</b></td>
<td width="48%"><b>Event:</b></td>
<td width="17%"><b>Category:</b></td>
<td width="25%"><div align="center"><b>Details/Signups</b></div></td>
</tr>
<?php
foreach($events as $event)
{
if($event->active == '2')
{
continue;
}
echo '<tr><td>'.date('n/j/Y', strtotime($event->date)).'</td>';
echo '<td>'.$event->title.'</td>';
echo '<td>'.$event->category.'</td>';
echo '<td><a href="'.SITE_URL.'/index.php/events/get_event?id='.$event->id.'">Details/Signups</a></td></tr>';
}
?>
</table>
</center>
<?php
}
?>
<h3><?php echo SITE_NAME; ?> Past Events</h3>
<?php
if(!$history)
{
echo 'No Past Events';
}
else
{
?>
<center>
<table border="1px" width="80%">
<tr>
<td width="10%"><b>Date:</b></td>
<td width="48%"><b>Event:</b></td>
<td width="17%"><b>Category:</b></td>
<td width="25%"><div align="center"><b>Details</b></div></td>
</tr>
<?php
foreach($history as $event)
{
echo '<tr><td>'.date('n/j/Y', strtotime($event->date)).'</td>';
echo '<td>'.$event->title.'</td>';
echo '<td>'.$event->category.'</td>';
echo '<td><a href="'.SITE_URL.'/index.php/events/get_past_event?id='.$event->id.'">Details</a></td></tr>';
}
?>
</table>
</center>
<?php
}
?>
<hr />
<a href="<?php echo url('/events/get_rankings'); ?>">Show Pilot Rankings For Events</a>
Now, when i open the module my site show the events_tour.tpl but don't show any one record
Can you help me?
-
Yes, you can use the function "get_upcoming_events()" from the EventsData.class.php file and use the returned data array to populate your calendar.
Hi Guys
I need to install a calendar for show the event in my home page
What is the way to create?
Any one help me?
Thank's
-
I'm very interesting for this release
-
Good day guy
i have this problem.
I try to install the phpVMS-AirMail-master.zip
When i try to upload plugin i have this error: Fatal error: Class 'ZipArchive' not found in /web/htdocs/www.virtualiroma.it/home/newvar/admin/modules/Plugins/Plugins.php on line 403
In the folder ..../admin/modules/Plugins/uploads i see the file.zip but i have unsuccesful process
Have you any idea?
Regards
-
where is possible download this template?
-
Thank's sir. Very Good
-
Very nice !! It would be great to have this available
-
I solved, my problem was Internet Explorer 8. Whit chrome o Firefox or IE9 i' don'have a problem
Thanks
-
Hi,
I have installed the Addon but when i click the Submit scenery or admin scenery or Scenary list nothing happens
Please Help me.
-
thank's a lot sir
Alberto
-
Hi, i need help
This is my code for Fleet Table
<h1><?php echo SITE_NAME?>'s Fleet Information</h1>
<table>
<!-- Fleet Table Version 1.1 - fleet_table.tpl -->
<table border="1">
<thead>
<tr>
<td><b>Image</b></td>
<td><b>Type</b></td>
<td><b>Range</b></td>
<td><b>Empty Weight</b></td>
<td><b>Cruise Alt</b></td>
<td><b>Max Pax</b></td>
<td><b>Max Cargo</b></td>
<td><b>Total Hours</b></td>
<td><b>Total Routes Flown</b></td>
<td><b>Location</b></td>
</tr>
</thead>
<tbody>
<?php foreach ($fleet as $aircraft)
{
?>
<tr>
<td><?php echo $aircraft->imagelink; ?></td>
<td><?php echo $aircraft->name; ?> </td>
<td><?php echo $aircraft->range; ?> </td>
<td><?php echo $aircraft->weight; ?></td>
<td><?php echo $aircraft->cruise; ?></td>
<td><?php echo $aircraft->maxpax; ?></td>
<td><?php echo $aircraft->maxcargo; ?></td>
<td><?php echo $aircraft->totaltime; ?></td>
<td><?php echo $aircraft->routesflown; ?></td>
<?php
$params = (array('a.registration'=>$aircraft->registration, 'p.accepted'=>PIREP_ACCEPTED));
$pirep = PIREPData::findPIREPS($params);
$current_location = $pirep[0]->arricao;
$current_location2 = $pirep[0]->arrname;
?>
<td><?php echo $current_location.'-'.$current_location2; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
<p><small><a href="http://forum.phpvms.net/index.php?topic=1665.0">FleetTable 1.1</a></small></p>
In the line
<td><?php echo $aircraft->imagelink; ?></td>
I need see the image and not the link.
Is possible this?
Thanks
-
I try to change all the background-color: bat is the same.
The skin in ObsessBlue
Here my Css code:
/* regular */
body
{
margin: 0px;
padding: 0px;
font-size: 12px;
font-family: Arial;
background-color: #39414F; /***This is the entire site background color**/
}
img
{
border: 0px;
}
.size
{
width: 950px;
margin: 0px auto;
}
/* header */
/***********This is your header area**********/
.header
{
height: 138px;
overflow: hidden;
background-color: #39414F;
border-top-style: solid;
border-right-style:solid;
border-left-style:solid;
border-left-color:white;
border-right-color:white;
border-top-color:white;
border-bottom: solid;
border-bottom-color:white;
}
.header01
{
height: 91px;
overflow: hidden;
}
.mnav
{
height: 39px;
overflow: hidden;
background-image: url(/lib/skins/ObsessBlue/image/img_38.jpg); /***This image is for the main links in above header***/
background-repeat: repeat-x;
margin-left: 10px;
width: 930px;
position: relative;
color: #ffff00;
}
.mnm ul
{
margin: 0px;
padding: 0px;
color: #ffff00;
}
.mnm li
{
float: left;
padding: 0 0px 0 0px;
min-width: 155px;
line-height: 44px;
text-align: center;
color: #ffff00;;
font-family: Arial;
background-image: url(/lib/skins/ObsessBlue/image/3_03.jpg); /***This also is apparently for the links above header***/
background-repeat: no-repeat;
background-position: right center;
list-style: none;
}
.mnm a
{
color: #ffff00;
text-decoration: none;
font-weight: bold;
font-size: 14px;
display: inline-block;
width: 150px;
height: 100%;
}
.mnm a:hover, .mnm a:active
{
background: url(/lib/skins/ObsessBlue/image/3_021.jpg) repeat-x; /***This is for when you hover the mouse pointer over the main links***/
color: #ffff00;
}
.mnimgl
{
position: absolute;
left: 0px;
top: 0px;
color: #ffff00;
}
.mnimgr
{
position: absolute;
right: 0px;
top: 0px;
color: #ffff00;
}
.logo
{
float: left;
padding-top: 11px;
padding-left: 30px;
color: #ffff00;
}
.hright
{
float: right;
width: 422px;
overflow: hidden;
color: #ffff00;
}
.hr01
{
width: 407px;
height: 28px;
background-image: url(/lib/skins/ObsessBlue/image/img_09.jpg); /***This image is the background for the links on top right of site***/
background-repeat: no-repeat;
color: #ffff00;
}
.hr01 div
{
float: left;
line-height: 30px;
font-size: 11px;
color: #ffff00;
}
.hr01 a:link, .hr01 a:visited
{
color: #ffff00;
text-decoration: none;
}
.hr01 a:hover, .hr01 a:active
{
color: #ffff00;
text-decoration: underline;
}
.hr0101
{
padding-left: 52px;
color: #ffff00;
}
.hr0102
{
padding-left: 30px;
color: #ffff00;
}
.hr02
{
text-align: right;
padding-top: 22px;
padding-right: 22px;
color: #ffff00;
}
/* content */
.content
{
background-color: #39414F;
overflow: hidden;
background-color: #39414F;
border-right-style:solid;
border-left-style:solid;
border-left-color:white;
border-right-color:white;
border-top-color:white;
color: #ffff00;
}
.cmainimg
{
margin-left: 10px;
margin-bottom: 8px;
color: #ffff00;
}
.submenu
{
height: 28px;
margin-left: 10px;
width: 930px;
background-image: url(/lib/skins/ObsessBlue/image/img_97.jpg);
background-repeat: repeat-x;
overflow: hidden;
position: relative;
margin-bottom: 11px;
color: #ffff00;
}
.subtext
{
color: #ffff00;
font-size: 11px;
margin-left: 11px;
margin-top: 6px;
float: left;
width: 100px;
}
.subimag
{
float: right;
margin-top: 6px;
margin-right: 30px;
color: #ffff00;
}
.subimag ul, .subimag li
{
padding: 0px;
margin: 0px;
color: #ffff00;
}
.subimag li
{
list-style: none;
float: left;
padding-left: 4px;
color: #ffff00;
}
.subimag a
{
text-decoration: none;
color: #ffff00;
}
.snimgl
{
position: absolute;
left: 0px;
top: 0px;
color: #ffff00;
}
.snimgr
{
position: absolute;
right: 0px;
top: 0px;
color: #ffff00;
background-color: #59616E;
}
.mcontent
{
overflow: hidden;
background-color: #39414F; /****This is all the background space not used****/
/* height: 760px; */
color: #ffff00;
}
.mcleft
{
float: left;
width: 207px;
margin-left: 15px;
/* margin-left: 7px; */
background-color: White;/***This is the space in between all the sidebar boxes****/
color: #ffff00;
background-color: #39414F;
border-top-color:white
border-color:white
}
.mcbox01
{
overflow: hidden;
margin-bottom: 15px;
color: #ffff00;
}
.mc01t
{
height: 37px;
background-image: url(/lib/skins/ObsessBlue/image/img_147.jpg); /**This is the top image for the first sidebar main menu where the links are located*/
background-repeat: no-repeat;
color: #ffff00;
}
.mc01t2
{
height: 24px;
background-image: url(/lib/skins/ObsessBlue/image/img_240.jpg); /****This is the background image for all the sidebar headers***/
background-repeat: no-repeat;
color: #ffff00;
padding-left: 23px;
padding-top: 13px;
background-color: #39414F;
}
.mc01c /**This is the main menu side bar**/
{
border-left: 1px solid #d1d1d1;
border-right: 1px solid #d1d1d1;
width: 205px;
overflow: hidden;
background-color: #59616E; /**This is the background color for the main menu**/
color: #ffff00;
}
.mc01c ul
{
margin: 0px 15px 0px 15px;
padding: 0px;
color: #ffff00;
}
.mc01c li
{
padding-left: 18px;
margin: 0px;
font-weight: bold;
height: 30px;
line-height: 30px;
color: #ffff00;
}
.mc01cc
{
border-left: 1px solid #d1d1d1;
border-right: 1px solid #d1d1d1;
width: 205px;
overflow: hidden;
background-color: #59616E;
color: #ffff00;
}
.mc01cc li
{
list-style-type: square;
font-family: Arial;
font-size: 12px;
padding-top: 15px;
color: #ffff00;
}
.mc01cc a
{
text-decoration: none;
color: #ffff00;
}
.mc01cc a:hover, .mc01cc a:active
{
text-decoration: underline;
}
.mc01b
{
height: 5px;
overflow: hidden;
font-size: 0px;
color: #ffff00;
}
.mcright
{
width: 715px;
overflow: hidden;
float: right;
background-color: #39414F;
color: #ffff00;
}
.mc01
{
overflow: hidden;
margin: 0px auto;
}
.mc0101
{
width: 345px;
height: 82px;
background-color: #59616E;
position: relative;
float: left;
}
.mcr
{
margin-left: 11px;
text-align: left;
color: #ffffff;
}
.mcr01
{
font-size: 19px;
font-family: Arial;
padding-top: 10px;
}
.mcr02
{
padding-top: 13px;
font-size: 11px;
font-family: Arial;
line-height: 16px;
}
.mcl
{
margin-left: 11px;
text-align: left;
color: #ffffff;
}
.mcl01
{
padding-top: 10px;
font-family: Arial;
font-size: 19px;
}
.mcl02
{
padding-top: 13px;
font-size: 11px;
font-family: Arial;
line-height: 16px;
}
.r0101
{
position: absolute;
left: 0px;
top: 0px;
color: #ffff00;
}
.r0102
{
position: absolute;
right: 0px;
top: 0px;
color: #ffff00;
}
.r0103
{
position: absolute;
left: 0px;
bottom: 0px;
color: #ffff00;
}
.r0104
{
position: absolute;
right: 0px;
bottom: 0px;
color: #ffff00;
}
.mc0102
{
margin-left: 14px;
width: 345px;
height: 82px;
background-color: #227ab4;
float: left;
position: relative;
color: #ffff00;
}
.mc01t
{
font-size: 14px;
padding-left: 23px;
padding-top: 11px;
height: 24px;
color: #ffff00;
;
}
.mc01c li
{
list-style: none;
border-bottom: solid 1px #d7d7d7;
color: #ffff00;
}
.mc01c a
{
text-decoration: none;
color: #ffff00;
}
.mc01c a:hover, .mc01c a:active
{
text-decoration: underline;
}
.mc02
{
padding-top: 24px;
overflow: hidden;
background-color: #39414F;
color: #ffff00;
}
.mc0201
{
font-family: Arial;
font-size: 23px;
color: #033759;
float: left;
color: #ffff00;
}
.mc0202
{
padding-right: 18px;
float: right;
color: #ffff00;
}
.mc0203
{
margin-top: 68px;
color: #ffff00;
}
.mc020301
{
font-size: 12px;
color: #494949;
line-height: 18px;
letter-spacing: -0.1px;
width: 700px;
color: #ffff00;
}
.mc020302
{
margin-top: 25px;
margin-bottom: 40px;
margin-left: 65px;
line-height: 25px;
color: #ffff00;
background-color: #39414F;
}
.mc020302 a
{
text-decoration: none;
color: #033759;
font-size: 12px;
font-family: Arial;
color: #ffff00;
background-color: #39414F;
}
.mc020302 a:hover, .mc020302 a:active
{
text-decoration: underline;
color: #ffff00;
background-color: #39414F;
}
.mc020302 li
{
list-style-type: square;
color: #ffff00;
background-color: #39414F;
}
.mc020303
{
color: #494949;
font-size: 12px;
margin-bottom: 151px;
line-height: 18px;
letter-spacing: -0.1px;
color: #ffff00;
background-color: #39414F;
}
/* Tables */
/* tables- default phpvms tables with adjusted color*/
table.tablesorter { width: 100%; }
table.tablesorter input { width: 90%; padding: 3px; border: solid 1px #7094FF; background: #59616E; }
table.tablesorter thead tr th, table.tablesorter tfoot tr th { background-color: #59616E; font-size: 8pt; padding: 4px; } /**adjust the table header color here**/
table.tablesorter thead tr .header { cursor: pointer; }
table.tablesorter tbody td { padding: 6px; vertical-align: top; border-bottom: dashed 1px #333; }
table.tablesorter tbody tr.odd td { background-color: #F0F0F6; }
table.tablesorter thead tr .headerSortUp { background-image: url(images/asc.gif) no-repeat; }
table.tablesorter thead tr .headerSortDown { background-image: url(images/desc.gif) no-repeat; }
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp { background-color: #59616E; }
/* footer */
.footer
{
height: 142px;
overflow: hidden;
background-image: url(/lib/skins/ObsessBlue/image/img_276.jpg);
background-repeat: repeat-x;
position: relative;
line-height: 60px;
font-size: 11px;
color: White;
text-align: center;
clear: both;
width: 100%;
}
.footer a:link, .footer a:visited /**This stuff controls what colors visited links will be for the footer**/
{
color: white;
text-decoration: none;
}
.footer a:hover, .footer a:active
{
color: white;
text-decoration: underline;
}
vStaff - v1.0
in KJRDev Addons
Posted
any suggestion?